From cubist at aol.com Wed Apr 1 06:35:07 2020 From: cubist at aol.com (Quentin Long) Date: Wed, 1 Apr 2020 10:35:07 +0000 (UTC) Subject: Possible new dev hardware? In-Reply-To: References: Message-ID: <2138566629.207162.1585737307488@mail.yahoo.com> Atari is apparently producing a gizmo they call the "Atari VCS", which?they're positioning primarily as?a video game console. However! According to an email I just got from them, this beast has what they're calling "Atari sandbox mode (install any OS)", and they claim "If you want to develop just for fun or for other platforms, use Sandbox Mode to install any development environment you want."?The relevance to LiveCode is left as an exercise for the reader. The URL to the propaganda website: https://atarivcs.com From andre at andregarzia.com Wed Apr 1 08:22:25 2020 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 1 Apr 2020 13:22:25 +0100 Subject: Notarization Message-ID: Hi Folks, This just appeared on my feed and I thought that some people here who are trying to ship macOS software might benefit from it. https://github.com/akeru-inc/xcnotary/blob/master/README.md This is an ease to use command-line tool for notarizing your app. The linked readme explains more about it. Best Andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From Bernd.Niggemann at uni-wh.de Wed Apr 1 09:28:29 2020 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 1 Apr 2020 13:28:29 +0000 Subject: DataGrid question... Message-ID: This is a modification of Jaque's script to get the row and column of a locked tableField when the user clicks in a cell. Use tableField whose lockText is true. Set its script to ------------------------------------------------------------------------------------ on mouseUp put "Row:" && word 2 of the clickline into tRow put "Col:" && getColumn(the clickH) into tColumn set the itemDelimiter to tab put tRow &cr& tColumn & cr & "ClickH: " & the clickH into field "fRes" end mouseUp function getColumn pClickH put the tabstops of me into tTabs put the num of items in tTabs into tNumStops if tNumStops > 1 then put last item of tTabs - item -2 of tTabs into tTabWidth else put item 1 of tTabs into tTabWidth end if set the itemdel to tab put the num of items in line 1 of me into tColumns if tNumStops < tColumns then -- add missing tabstops repeat with x = tNumStops+1 to tColumns put comma & (tTabWidth * x) after tTabs end repeat end if set the itemdel to comma put the hScroll of me into tHScroll put the borderwidth of me into tBrdr -- tested from 0 to 4 put the leftMargin of me - 3 into tLeftMarg -- tested from 4 to 12 put the left of me + tBrdr into tLeftAndBorder put tLeftAndBorder - tHScroll - tLeftMarg into tLeftOfItem put tLeftAndBorder - tHScroll + tLeftMarg + 1 into tRightOfItem -- + 1 is a fudge put 0 & comma before tTabs repeat with x = 1 to the num of items in tTabs if pClickH > (item x of tTabs) + tLeftOfItem and \ pClickH < (item x+1 of tTabs) + tRightOfItem then return x end if end repeat return empty end getColumn ------------------------------------------------------------------------------------ In my testing it works for changed borderWidth and margins, hscrolls and vScrolls If you want to test it take a regular field, set its name to "tf", set its script to above script and from a button apply this ------------------------------------------------------------------------- on mouseUp put "1,2,3,4,5,6" into tLine put empty into field "tf" replace comma with tab in tLine set the itemDelimiter to tab repeat 6 put tLine & cr after tCollect repeat with i = 1 to 6 add 6 to item i of tLine end repeat end repeat delete last char of tCollect lock screen put tCollect into field "tf" set the hGrid of field "tf" to true set the vGrid of field "tf" to true set the hScrollbar of field "tf" to true set the tabStops of field "tf" to 77 set the lockText of field "tf" to true unlock screen end mouseUp ------------------------------------------------------------------------- Kind regards Bernd From mikedoub at gmail.com Wed Apr 1 11:04:27 2020 From: mikedoub at gmail.com (Mike Doub) Date: Wed, 1 Apr 2020 11:04:27 -0400 Subject: DataGrid question... In-Reply-To: References: Message-ID: <4e98ef45-d82b-4b3d-8634-e8305ffdd2b4@Spark> There is an interesting interaction between the scrolling function, the size of the field, mouseUp or Down. ?For my test, when I click the 6th column, scrolling occurs and the function returns nothing. ?If I size the field such that no scrolling occurs, all works as expected. ? If I change the mouseUp to mouseDown, all works as expected. ? I have not spent the time to figure out what is going on, but these are my observations. -= Mike On Apr 1, 2020, 9:29 AM -0400, Niggemann, Bernd via use-livecode , wrote: > This is a modification of Jaque's script to get the row and column of a locked tableField when the user clicks in a cell. > > Use tableField whose lockText is true. Set its script to > > > ------------------------------------------------------------------------------------ > on mouseUp > put "Row:" && word 2 of the clickline into tRow > put "Col:" && getColumn(the clickH) into tColumn > set the itemDelimiter to tab > put tRow &cr& tColumn & cr & "ClickH: " & the clickH into field "fRes" > end mouseUp > > function getColumn pClickH > put the tabstops of me into tTabs > put the num of items in tTabs into tNumStops > if tNumStops > 1 then > put last item of tTabs - item -2 of tTabs into tTabWidth > else > put item 1 of tTabs into tTabWidth > end if > set the itemdel to tab > put the num of items in line 1 of me into tColumns > if tNumStops < tColumns then -- add missing tabstops > repeat with x = tNumStops+1 to tColumns > put comma & (tTabWidth * x) after tTabs > end repeat > end if > set the itemdel to comma > put the hScroll of me into tHScroll > put the borderwidth of me into tBrdr -- tested from 0 to 4 > put the leftMargin of me - 3 into tLeftMarg -- tested from 4 to 12 > put the left of me + tBrdr into tLeftAndBorder > put tLeftAndBorder - tHScroll - tLeftMarg into tLeftOfItem > put tLeftAndBorder - tHScroll + tLeftMarg + 1 into tRightOfItem -- + 1 is a fudge > put 0 & comma before tTabs > repeat with x = 1 to the num of items in tTabs > if pClickH > (item x of tTabs) + tLeftOfItem and \ > pClickH < (item x+1 of tTabs) + tRightOfItem then > return x > end if > end repeat > return empty > end getColumn > ------------------------------------------------------------------------------------ > > > In my testing it works for changed borderWidth and margins, hscrolls and vScrolls > > If you want to test it take a regular field, set its name to "tf", set its script to above script > > and from a button apply this > > > ------------------------------------------------------------------------- > on mouseUp > put "1,2,3,4,5,6" into tLine > put empty into field "tf" > replace comma with tab in tLine > set the itemDelimiter to tab > repeat 6 > put tLine & cr after tCollect > repeat with i = 1 to 6 > add 6 to item i of tLine > end repeat > end repeat > delete last char of tCollect > lock screen > put tCollect into field "tf" > set the hGrid of field "tf" to true > set the vGrid of field "tf" to true > set the hScrollbar of field "tf" to true > set the tabStops of field "tf" to 77 > set the lockText of field "tf" to true > unlock screen > end mouseUp > > ------------------------------------------------------------------------- > > > > Kind regards > Bernd > > > > _______________________________________________ > 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 andre at andregarzia.com Wed Apr 1 11:07:31 2020 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 1 Apr 2020 16:07:31 +0100 Subject: Possible new dev hardware? In-Reply-To: <2138566629.207162.1585737307488@mail.yahoo.com> References: <2138566629.207162.1585737307488@mail.yahoo.com> Message-ID: It looks like just a PC from the listed hardware specs. Probably running some specialized Linux (my guess). On Wed, 1 Apr 2020 at 11:36, Quentin Long via use-livecode < use-livecode at lists.runrev.com> wrote: > Atari is apparently producing a gizmo they call the "Atari VCS", > which they're positioning primarily as a video game console. However! > According to an email I just got from them, this beast has what they're > calling "Atari sandbox mode (install any OS)", and they claim "If you want > to develop just for fun or for other platforms, use Sandbox Mode to install > any development environment you want." The relevance to LiveCode is left as > an exercise for the reader. > The URL to the propaganda website: > > https://atarivcs.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 > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From Bernd.Niggemann at uni-wh.de Wed Apr 1 11:58:32 2020 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 1 Apr 2020 15:58:32 +0000 Subject: DataGrid question... Message-ID: <62DD1083-BEA6-4DE3-8624-4343D48788F2@uni-wh.de> Hello Mike, I cannot reproduce the scrolling nor the failing of reporting. What I did notice is when I changed the size of the field via the mouse in editMode at times switching back to browse mode via command-option-tab the field did not focus when clicking on it and it did not report anything. Apparently because it is not focused. Make sure the field is focused by e.g. clicking on the card after resizing and then the field. But there is nothing in the code that I can see that would take focus away from the field, nor does the code trigger scrolling. Kind regards Bernd Mike Doub via use-livecode Wed, 01 Apr 2020 08:07:17 -0700 There is an interesting interaction between the scrolling function, the size of the field, mouseUp or Down. For my test, when I click the 6th column, scrolling occurs and the function returns nothing. If I size the field such that no scrolling occurs, all works as expected. If I change the mouseUp to mouseDown, all works as expected. I have not spent the time to figure out what is going on, but these are my observations. -= Mike On Apr 1, 2020, 9:29 AM -0400, Niggemann, Bernd via use-livecode >, wrote: > This is a modification of Jaque's script to get the row and column of a > locked tableField when the user clicks in a cell. > > Use tableField whose lockText is true. Set its script to > > > ------------------------------------------------------------------------------------ > on mouseUp > put "Row:" && word 2 of the clickline into tRow > put "Col:" && getColumn(the clickH) into tColumn > set the itemDelimiter to tab > put tRow &cr& tColumn & cr & "ClickH: " & the clickH into field "fRes" > end mouseUp > > function getColumn pClickH > put the tabstops of me into tTabs > put the num of items in tTabs into tNumStops > if tNumStops > 1 then > put last item of tTabs - item -2 of tTabs into tTabWidth > else > put item 1 of tTabs into tTabWidth > end if > set the itemdel to tab > put the num of items in line 1 of me into tColumns > if tNumStops < tColumns then -- add missing tabstops > repeat with x = tNumStops+1 to tColumns > put comma & (tTabWidth * x) after tTabs > end repeat > end if > set the itemdel to comma > put the hScroll of me into tHScroll > put the borderwidth of me into tBrdr -- tested from 0 to 4 > put the leftMargin of me - 3 into tLeftMarg -- tested from 4 to 12 > put the left of me + tBrdr into tLeftAndBorder > put tLeftAndBorder - tHScroll - tLeftMarg into tLeftOfItem > put tLeftAndBorder - tHScroll + tLeftMarg + 1 into tRightOfItem -- + 1 is a > fudge > put 0 & comma before tTabs > repeat with x = 1 to the num of items in tTabs > if pClickH > (item x of tTabs) + tLeftOfItem and \ > pClickH < (item x+1 of tTabs) + tRightOfItem then > return x > end if > end repeat > return empty > end getColumn > ------------------------------------------------------------------------------------ > > > In my testing it works for changed borderWidth and margins, hscrolls and > vScrolls > > If you want to test it take a regular field, set its name to "tf", set its > script to above script > > and from a button apply this > > > ------------------------------------------------------------------------- > on mouseUp > put "1,2,3,4,5,6" into tLine > put empty into field "tf" > replace comma with tab in tLine > set the itemDelimiter to tab > repeat 6 > put tLine & cr after tCollect > repeat with i = 1 to 6 > add 6 to item i of tLine > end repeat > end repeat > delete last char of tCollect > lock screen > put tCollect into field "tf" > set the hGrid of field "tf" to true > set the vGrid of field "tf" to true > set the hScrollbar of field "tf" to true > set the tabStops of field "tf" to 77 > set the lockText of field "tf" to true > unlock screen > end mouseUp > > ------------------------------------------------------------------------- From bobsneidar at iotecdigital.com Wed Apr 1 13:26:02 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 1 Apr 2020 17:26:02 +0000 Subject: dgIndexOfLine not returning index Message-ID: Hi all. Not sure if this is a bug or expected behavior. In a vertically scrolled data grid I have a mouseUp handler. Ignore the fiddly bits that are irrelevant. The last two lines are the important ones: on mouseUp put the mouseControl into tControl put word 1 of the name of tControl into tType if tType is not "field" then pass mouseUp put the short name of tControl into tName put word 1 of tName into tColumName put 0 + word 2 of tName into tRow put the dgProp ["columns"] of me into tColumns put lineOffset(tColumName, tColumns) into tColumnNum put the dgIndexOfLine [tRow] of me into tIndex put the dgHilitedIndex of me into tHilitedIndex end mouseUp It?s my understanding that the dgIndexOfLine should return the actual index corresponding to the line, but instead it simply returns the line, In my case I am clicking on line 5 of a vertically scrolled data grid. tIndex contains 5, tHilitedIndex contains 55! As far as I can see, the dgIndexOfLine should return the same thing (assuming I am clicking on a control in the hilitedline). Bob S From bobsneidar at iotecdigital.com Wed Apr 1 14:15:20 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 1 Apr 2020 18:15:20 +0000 Subject: DataGrid question... In-Reply-To: <62DD1083-BEA6-4DE3-8624-4343D48788F2@uni-wh.de> References: <62DD1083-BEA6-4DE3-8624-4343D48788F2@uni-wh.de> Message-ID: <3E8C35F8-1DBB-4375-96FB-51C31A87954C@iotecdigital.com> Hi all. I?m not sure I understand the nature of the problem anymore as the thread is so long, but if you are using the data grid, it is very easy to get the actual index and column number of a cell that has been clicked on. If you put this into your data grid script, you can see it at work. If you don?t want the column headers to show just set the dgprop [?show Header?] to false. You will need the header to control column widths though. The dividers are actual lines, so I suspect in a mouseDown handler you can detect that and handle accordingly. on mouseUp put the mouseControl into tControl put word 1 of the name of tControl into tType if tType is "field" then ? otherwise anything goes put getRowAndColumn(tControl) into tRowAndColumn end if pass mouseUp end mouseUp function getRowAndColumn pControl put the short name of pControl into tName put word 1 of tName into tColumName put 0 + word 2 of tName into tRow put the dgProp ["columns"] of me into tColumns put lineOffset(tColumName, tColumns) into tColumnNum /* Workaround for failure of dgIndexOfLine put the dgIndexOfLine [tRow] of me into tIndex */ put the dgHilitedIndex of me into tIndex return tIndex,tColumnNum end getRowAndColumn From paul at researchware.com Wed Apr 1 14:46:17 2020 From: paul at researchware.com (Paul Dupuis) Date: Wed, 1 Apr 2020 14:46:17 -0400 Subject: AW: Answer dialog enhancement... In-Reply-To: <76145c5d-e39f-0a65-b324-67cc6ecb6163@researchware.com> References: <76145c5d-e39f-0a65-b324-67cc6ecb6163@researchware.com> Message-ID: <3370d02e-1f08-a132-a1fa-946b6aabbb41@researchware.com> So I have a working mechanism to add a "Don't Ask Again" check box to the existing standard Answer Dialog on the fly. I offer it up to the community for anyone who needs it and for anyone who may want to improve the code. The scripts are below. There is a sample usage you can place in a clickable button and below that is a BEHAVIOR script that must be in button whose name matches what is used in the clickable button. This is the first time I have really found a use for the "before" and "after" handlers. What a great addition to LiveCode! Essentially, I add a behavior to the card of the standard "Answer Dialog" that positions and cleans up the Don't Ask Again check box AFTER the proOpenCard handler has positioned everything else AND a BEFORE mouseUp handler to trap clicks for changing the checkbox hilite that would otherwise close the dialog and return a clicked button name. I needed to set a number of properties for the checkbox because the preOpenCard treats ANY button in the Answer Dialog like regular buttons and hides those not in use by making them 1px in size and moving them off screen. I may not have needed to change every property I did, but I didn't have the time to go through the Answer Dialog card script to determine exactly what properties those scripts were changing that I needed to reset. I think it would be great in LC, Ltd. could fold this into the standard 'answer' command some how. -- Sent when the mouse is released after clicking -- pMouseButton specifies which mouse button was pressed on mouseUp pMouseButton ? dontaskagain "on" ? answer warning "Some message I may not want to see again." with "Cancel" or "OK" titled "A Message" ? put it into tAnswer ? put dontaskstatus() into tDontAskAgain ? dontaskagain "off" ? -- ? put "Don't Ask is:"&&tDontAskAgain &&"And button clicked is:"&&tAnswer end mouseUp command dontaskagain pActivate ? switch pActivate ??? case "on" ????? set the behavior of cd 1 of stack "Answer Dialog" to the long id of btn "DontAskBehavior" of this cd ????? break ??? case "off" ????? set the behavior of cd 1 of stack "Answer Dialog" to empty ????? delete btn "DontAskAgain" of cd 1 of stack "Answer Dialog" ????? break ? end switch end dontaskagain function dontaskstatus ? if exists(btn "DontAskAgain" of cd 1 of stack "Answer Dialog") then ??? put the hilite of btn "DontAskAgain" of cd 1 of stack "Answer Dialog" into tDontAskAgain ??? return tDontAskAgain ? else ??? return false ? end if end dontaskstatus BEHAVIOR BUTTON SCRIPT after preOpenCard ? if exists(btn "DontAskAgain" of cd 1 of stack "Answer Dialog") then ??? set the style??????? of btn "DontAskAgain" of cd 1 of stack "Answer Dialog" to "checkbox" ??? set the autoHilite?? of btn "DontAskAgain" of cd 1 of stack "Answer Dialog" to false ??? set the opaque?????? of btn "DontAskAgain" of cd 1 of stack "Answer Dialog" to false ??? set the threeD?????? of btn "DontAskAgain" of cd 1 of stack "Answer Dialog" to false ??? set the showBorder?? of btn "DontAskAgain" of cd 1 of stack "Answer Dialog" to false ??? set the hiliteBorder of btn "DontAskAgain" of cd 1 of stack "Answer Dialog" to false ??? set the height?????? of btn "DontAskAgain" of cd 1 of stack "Answer Dialog" to 25 ??? set the width??????? of btn "DontAskAgain" of cd 1 of stack "Answer Dialog" to 120 ??? set the bottomLeft?? of btn "DontAskAgain" of cd 1 of stack "Answer Dialog" to the bottomLeft of cd 1 of stack "Answer Dialog" ? else ??? -- setup the templateButton ??? set the style of the templateButton to "checkbox" ??? set the label of the templateButton to "Don't Ask Again." ??? -- ??? create btn "DontAskAgain" in cd 1 of stack "Answer Dialog" ??? -- ??? reset the templateButton ??? -- ??? set the style??????? of btn "DontAskAgain" of cd 1 of stack "Answer Dialog" to "checkbox" ??? set the autoHilite?? of btn "DontAskAgain" of cd 1 of stack "Answer Dialog" to false ??? set the opaque?????? of btn "DontAskAgain" of cd 1 of stack "Answer Dialog" to false ??? set the threeD?????? of btn "DontAskAgain" of cd 1 of stack "Answer Dialog" to false ??? set the showBorder?? of btn "DontAskAgain" of cd 1 of stack "Answer Dialog" to false ??? set the hiliteBorder of btn "DontAskAgain" of cd 1 of stack "Answer Dialog" to false ??? set the height?????? of btn "DontAskAgain" of cd 1 of stack "Answer Dialog" to 25 ??? set the width??????? of btn "DontAskAgain" of cd 1 of stack "Answer Dialog" to 120 ??? set the bottomLeft?? of btn "DontAskAgain" of cd 1 of stack "Answer Dialog" to the bottomLeft of cd 1 of stack "Answer Dialog" ? end if end preOpenCard before mouseUp pMouseButton ? -- if the target is the check box, check the box and do not pass mouseUp ? if the long ID of the target = the long id of btn "DontAskAgain" of cd 1 of stack "Answer Dialog" then ??? set the hilite of btn "DontAskAgain" of cd 1 of stack "Answer Dialog" to not (the hilite of btn "DontAskAgain" of cd 1 of stack "Answer Dialog") ??? exit to top ? end if end mouseUp From theaford at btinternet.com Wed Apr 1 15:13:00 2020 From: theaford at btinternet.com (Terence Heaford) Date: Wed, 1 Apr 2020 20:13:00 +0100 Subject: Ordering text In-Reply-To: <20B88FE2-DD0D-4F79-8BD7-ADB4DE97E46D@gmail.com> References: <723D6352-4FF0-4DF4-908F-B5942A653EF0@iotecdigital.com> <083B871E-454C-4676-ABDD-46CEDD8163F4@iotecdigital.com> <20B88FE2-DD0D-4F79-8BD7-ADB4DE97E46D@gmail.com> Message-ID: <7AFF72C4-FF5C-4FFF-B86D-299BAEE9F723@btinternet.com> This actually works but is very slow (> 800ms) put merge("SELECT *,SUM (amount) OVER (ORDER BY recID) AS balance FROM myAccountName") into tSQL I have settled on my earlier suggestion Earlier suggestion results in 20ms performance. --------------------------------- I believe it?s sorted (forgive the pun) As the data is stored in an SQLite db I have used the db to sum the values then worked from the top. Like below. This results in approx. 20ms for each sort direction. I have looked into a running total calc using SQLite but the solutions I found seemed rather complicated. Sometimes asking for help then presents a solution. ???????????????? Thanks Terry > On 29 Mar 2020, at 22:24, doc hawk via use-livecode wrote: > > UPDATE theTable SET tBal=tBal(idx -1) + charge WHERE idx > MIN(idx); From ahsoftware at sonic.net Wed Apr 1 15:16:27 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 1 Apr 2020 12:16:27 -0700 Subject: OT: where did this come from? Message-ID: <345ae66a-5a49-7f68-84e2-42c627c3f4f6@sonic.net> https://cs.stackexchange.com/questions/121528/what-is-the-earliest-use-of-the-this-keyword-in-any-programming-language -- Mark Wieder ahsoftware at gmail.com From Bernd.Niggemann at uni-wh.de Wed Apr 1 15:22:24 2020 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 1 Apr 2020 19:22:24 +0000 Subject: How to find the column and row of a basic tableField Message-ID: <6E71305C-4FBF-4FE1-ADE2-92BBAA8C7BC8@uni-wh.de> There was a long thread regarding the dataGrid which somehow touched getting the row and column of a basic tableField. I posted this solution also there. Mike Doub found some problems that turned out to be due to the fact that "cellEdit" was set to true for the table object. If "cellEdit" is true then a front script takes over and creates a temporary field. To post my solution to the problem again I start this new thread for clarity. The script is an elaboration on a sketchy script by Jacque. The basic tableField is a regular field which has the option of "cellEditing". Apart from that it is a field that uses tab-delimited data to display it in a table form. hGrid and vGrid show horizontal and vertical dividers. To get at the column number and the row number to determine the cell the user clicked on when the field's lockText is true here is a script that works well for me. To test this make a regular field, name it "tf" and a second field for the result named "fRes". Make sure that "cellEdit" of the field is set to false (tab "table" in Properties Inspector) set the script of field "tf" to --------------------------------------------------------------- on mouseUp put word 2 of the clickLine into tLine put getColumn(the clickH) into tItem put "Row:" && tLine into tRow put "Col:" && tItem into tColumn set the itemDelimiter to tab if tItem is not empty then put tRow &cr& tColumn & cr & "ClickH: " & the clickH & cr & "content: " & item tItem of line tLine of me & cr into field "fRes" else put "No Item" into tItem put tRow &cr& tColumn & cr & "ClickH: " & the clickH & cr & "content: " & tItem into field "fRes" end if end mouseUp function getColumn pClickH put the tabstops of me into tTabs put the num of items in tTabs into tNumStops if tNumStops > 1 then put last item of tTabs - item -2 of tTabs into tTabWidth else put item 1 of tTabs into tTabWidth end if set the itemdel to tab put the num of items in line 1 of me into tColumns if tNumStops < tColumns then -- add missing tabstops repeat with x = tNumStops+1 to tColumns put comma & (tTabWidth * x) after tTabs end repeat end if set the itemdel to comma put the hScroll of me into tHScroll put the borderwidth of me into tBrdr -- tested from 0 to 4 put the leftMargin of me - 3 into tLeftMarg -- tested from 4 to 12 put the left of me + tBrdr into tLeftAndBorder put tLeftAndBorder - tHScroll - tLeftMarg into tLeftOfItem put tLeftAndBorder - tHScroll + tLeftMarg + 1 into tRightOfItem put 0 & comma before tTabs repeat with x = 1 to the num of items in tTabs if pClickH > (item x of tTabs) + tLeftOfItem and \ pClickH < (item x+1 of tTabs) + tRightOfItem then return x end if end repeat return empty end getColumn -------------------------------------------------------------------------- add a button to the card with the following script for test data -------------------------------------------------------------------------- on mouseUp put "1,2,3,4,5,6" into tLine put empty into field "tf" replace comma with tab in tLine set the itemDelimiter to tab repeat 6 put tLine & cr after tCollect repeat with i = 1 to 6 add 6 to item i of tLine end repeat end repeat delete last char of tCollect lock screen put tCollect into field "tf" set the hGrid of field "tf" to true set the vGrid of field "tf" to true set the vScrollbar of field "tf" to true set the tabStops of field "tf" to 77 set the lockText of field "tf" to true unlock screen end mouseUp -------------------------------------------------------------------------- Kind regards Bernd From bobsneidar at iotecdigital.com Wed Apr 1 15:46:12 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 1 Apr 2020 19:46:12 +0000 Subject: Ordering text In-Reply-To: <7AFF72C4-FF5C-4FFF-B86D-299BAEE9F723@btinternet.com> References: <723D6352-4FF0-4DF4-908F-B5942A653EF0@iotecdigital.com> <083B871E-454C-4676-ABDD-46CEDD8163F4@iotecdigital.com> <20B88FE2-DD0D-4F79-8BD7-ADB4DE97E46D@gmail.com> <7AFF72C4-FF5C-4FFF-B86D-299BAEE9F723@btinternet.com> Message-ID: <0DC415A1-AD63-4A20-8144-923428EB8BE9@iotecdigital.com> So this is a database schema issue. Typically what you will want to do with things like balances is to store the balance in a column as each value in the equation changes. You are asking your SQL server to do all the calculations for all your records all at once. If SLQ only has to calculate when insert/update is performed, you wouldn?t notice. Better yet, do the calculations in Livecode and store the result in the database column. WAAAAY quicker. Bob S On Apr 1, 2020, at 12:13 PM, Terence Heaford via use-livecode > wrote: This actually works but is very slow (> 800ms) put merge("SELECT *,SUM (amount) OVER (ORDER BY recID) AS balance FROM myAccountName") into tSQL I have settled on my earlier suggestion Earlier suggestion results in 20ms performance. From sean at pidigital.co.uk Wed Apr 1 18:52:44 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 1 Apr 2020 23:52:44 +0100 Subject: How to find the column and row of a basic tableField In-Reply-To: <6E71305C-4FBF-4FE1-ADE2-92BBAA8C7BC8@uni-wh.de> References: <6E71305C-4FBF-4FE1-ADE2-92BBAA8C7BC8@uni-wh.de> Message-ID: <6A7E95E0-F39E-4FA9-B1FC-A6EEBD4B6D6C@pidigital.co.uk> Thanks Bernd. This only works if there is already data in the field. If you put empty into the field it produces no results. In those instances you are forced to get an x,y clickLoc and use the tabstops and textHeight to hard code the result. The revTableLibrary was last modified in 2015 from your recommendations and pulls. Notable is the ones in revCalculateCellLoc and revCalculateCellRect. Interestingly in revCalculateCellLoc there is a couple of lines that set cREVTable[?currentxcell?] and [?currentycell?] of the object. Using: Put cRevTable[?currentxcell?],cRevTable[?currentycell?] into tCellIndex Works a charm. To make this work you do need to have cellEdit enabled but to avoid having it actually enable editing the text, in the mouseup just have a ?select nothing? to immediately exit the field. That way you only return the xy index and can use other means to add in or collect cell data. This is far less convoluted and exactly what I was looking for. None of this faffing around with huge lines of code. LiveCode is supposed to be EASY and almost instinctive. This is pretty close. It?s a real shame that these are not visible in the property inspector as standard properties and not even in the customProperties cRevTable until you have clicked into one of the cells in runtime when it populate the custom set. It?s even more of a shame that this is not documented anywhere, in the dictionary, guide, lessons, tutorials. It?s practically lost to obscurity in the forums too only being found if I search for currentxcell specifically. I only found it by hacking through all of the object library code of the IDE stacks. This definitely make the table field object far more useful, though. Sean Cole Pi Digital Productions Ltd From sean at pidigital.co.uk Wed Apr 1 18:58:44 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 1 Apr 2020 23:58:44 +0100 Subject: How to find the column and row of a basic tableField In-Reply-To: <6A7E95E0-F39E-4FA9-B1FC-A6EEBD4B6D6C@pidigital.co.uk> References: <6A7E95E0-F39E-4FA9-B1FC-A6EEBD4B6D6C@pidigital.co.uk> Message-ID: I made two mistakes there. First: Put cRevTable[?currentxcell?],cRevTable[?currentycell?] into tCellIndex Should be: Put the cRevTable[?currentxcell?] of me , the cRevTable[?currentycell?] of me into tCellIndex And: select nothing Should be: select empty Oops Sean Cole Pi Digital Productions From rdimola at evergreeninfo.net Wed Apr 1 20:13:42 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 1 Apr 2020 20:13:42 -0400 Subject: Tar and a gz Archive [OT] In-Reply-To: References: <6A7E95E0-F39E-4FA9-B1FC-A6EEBD4B6D6C@pidigital.co.uk> Message-ID: <006b01d60883$94728740$bd5795c0$@net> I'm under the gun and as with any new program the number of options and their interactions are difficult to comprehend. I've tried a few combinations with limited success. Any help would be appreciated. I need to extract from a .tar.gz archive at the command line using "tar" as follows: 1) Extract the files from a specific folder in the archive into another folder with no recursion keeping the security levels and have the files owned by the destination folder. 2) Same as 1 but to recurs n times. Thanks Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From bobsneidar at iotecdigital.com Wed Apr 1 20:38:50 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 2 Apr 2020 00:38:50 +0000 Subject: Tar and a gz Archive [OT] In-Reply-To: <006b01d60883$94728740$bd5795c0$@net> References: <6A7E95E0-F39E-4FA9-B1FC-A6EEBD4B6D6C@pidigital.co.uk> <006b01d60883$94728740$bd5795c0$@net> Message-ID: Looks like Tar is a Windows 10 only command line utility. I?m sure you know but tar /? should get you the options available. Whether or not you can grok what they actually mean is another thing. There are some powershelgl scripts out there but not with the specificity you need. Bob S On Apr 1, 2020, at 5:13 PM, Ralph DiMola via use-livecode > wrote: I'm under the gun and as with any new program the number of options and their interactions are difficult to comprehend. I've tried a few combinations with limited success. Any help would be appreciated. I need to extract from a .tar.gz archive at the command line using "tar" as follows: 1) Extract the files from a specific folder in the archive into another folder with no recursion keeping the security levels and have the files owned by the destination folder. 2) Same as 1 but to recurs n times. Thanks Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From rdimola at evergreeninfo.net Wed Apr 1 20:58:57 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 1 Apr 2020 20:58:57 -0400 Subject: Tar and a gz Archive [OT] In-Reply-To: References: <6A7E95E0-F39E-4FA9-B1FC-A6EEBD4B6D6C@pidigital.co.uk> <006b01d60883$94728740$bd5795c0$@net> Message-ID: <000001d60889$e6c74890$b455d9b0$@net> I'm sorry... I forgot to mention it's Linux command line via ssh shell. 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, April 01, 2020 8:39 PM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: Tar and a gz Archive [OT] Looks like Tar is a Windows 10 only command line utility. I?m sure you know but tar /? should get you the options available. Whether or not you can grok what they actually mean is another thing. There are some powershelgl scripts out there but not with the specificity you need. Bob S On Apr 1, 2020, at 5:13 PM, Ralph DiMola via use-livecode > wrote: I'm under the gun and as with any new program the number of options and their interactions are difficult to comprehend. I've tried a few combinations with limited success. Any help would be appreciated. I need to extract from a .tar.gz archive at the command line using "tar" as follows: 1) Extract the files from a specific folder in the archive into another folder with no recursion keeping the security levels and have the files owned by the destination folder. 2) Same as 1 but to recurs n times. Thanks Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net _______________________________________________ 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 Apr 1 20:55:58 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 1 Apr 2020 17:55:58 -0700 Subject: Tar and a gz Archive [OT] In-Reply-To: <006b01d60883$94728740$bd5795c0$@net> References: <6A7E95E0-F39E-4FA9-B1FC-A6EEBD4B6D6C@pidigital.co.uk> <006b01d60883$94728740$bd5795c0$@net> Message-ID: On 4/1/20 5:13 PM, Ralph DiMola via use-livecode wrote: > I need to extract from a .tar.gz archive at the command line using "tar" as follows: > 1) Extract the files from a specific folder in the archive into another folder with no recursion keeping the security levels and have the files owned by the destination folder. tar xvf #doesn't do the trick? (after gunzipping of course) > 2) Same as 1 but to recurs n times. I'm not understanding this. Of course, that probably means I'm misunderstanding the whole thing. -- Mark Wieder ahsoftware at gmail.com From sean at pidigital.co.uk Wed Apr 1 22:40:13 2020 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Thu, 2 Apr 2020 03:40:13 +0100 Subject: Tar and a gz Archive [OT] In-Reply-To: <000001d60889$e6c74890$b455d9b0$@net> References: <6A7E95E0-F39E-4FA9-B1FC-A6EEBD4B6D6C@pidigital.co.uk> <006b01d60883$94728740$bd5795c0$@net> <000001d60889$e6c74890$b455d9b0$@net> Message-ID: I'm using *put* shell("unzip -p '" & tZipPath & "'") into tTDProductList -p is because it's password protected. It'll extract all contents recursively. If you don't want it recursive you need to specify either what you do want or don't want extracted. To specify just one file you want to extract just add the subpath to it at the end, eg: 'unzip c:/myfile.zip subdir/subdir2/aFile.txt' To exclude a file use the -x tag: 'unzip -x c:/myfile.zip subdir/subdir2/aFile.txt' use unzip --help or --man to find out other uses. If unzip is not installed (which it should be for Debian, CentOS and Ubuntu) then use: sudo apt install unzip Sean Cole *Pi Digital * On Thu, 2 Apr 2020 at 01:58, Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > I'm sorry... I forgot to mention it's Linux command line via ssh shell. > > 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, April 01, 2020 8:39 PM > To: How to use LiveCode > Cc: Bob Sneidar > Subject: Re: Tar and a gz Archive [OT] > > Looks like Tar is a Windows 10 only command line utility. I?m sure you > know but tar /? should get you the options available. Whether or not you > can grok what they actually mean is another thing. > > There are some powershelgl scripts out there but not with the specificity > you need. > > Bob S > > > > On Apr 1, 2020, at 5:13 PM, Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> > wrote: > > I'm under the gun and as with any new program the number of options and > their interactions are difficult to comprehend. I've tried a few > combinations with limited success. Any help would be appreciated. > > I need to extract from a .tar.gz archive at the command line using "tar" > as follows: > 1) Extract the files from a specific folder in the archive into another > folder with no recursion keeping the security levels and have the files > owned by the destination folder. > 2) Same as 1 but to recurs n times. > > Thanks > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > _______________________________________________ > 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 theaford at btinternet.com Thu Apr 2 04:07:10 2020 From: theaford at btinternet.com (Terence Heaford) Date: Thu, 2 Apr 2020 09:07:10 +0100 Subject: Ordering text In-Reply-To: <0DC415A1-AD63-4A20-8144-923428EB8BE9@iotecdigital.com> References: <723D6352-4FF0-4DF4-908F-B5942A653EF0@iotecdigital.com> <083B871E-454C-4676-ABDD-46CEDD8163F4@iotecdigital.com> <20B88FE2-DD0D-4F79-8BD7-ADB4DE97E46D@gmail.com> <7AFF72C4-FF5C-4FFF-B86D-299BAEE9F723@btinternet.com> <0DC415A1-AD63-4A20-8144-923428EB8BE9@iotecdigital.com> Message-ID: I agree that is why I have concluded to do the calc in LC. However, I can?t store the balance one time in SQL as the balance value changes depending on which records are selected and the sort order(which may be by different columns). So it is not just a schema issue, it started out as a LC issue because LC doing a "put text before? vs a ?put text after? has real performance issues. If you read my solution which is a bit of sqlite (sum) and then do a ?put text after? it sorts out the bottleneck which is actually in LC?s (put text before). I tried put merge("SELECT *,SUM (amount) OVER (ORDER BY recID) AS balance FROM myAccountName") into tSQL in response to a suggestion in this thread and so others do not wander down a dead end posted my result which shows that it has poor performance. Whether that is as a result of LC?s SQLite implementation or just SQLite I do not know. Thanks for your interest and suggestions. Best Regards Terry > On 1 Apr 2020, at 20:46, Bob Sneidar via use-livecode wrote: > > So this is a database schema issue. Typically what you will want to do with things like balances is to store the balance in a column as each value in the equation changes. You are asking your SQL server to do all the calculations for all your records all at once. If SLQ only has to calculate when insert/update is performed, you wouldn?t notice. Better yet, do the calculations in Livecode and store the result in the database column. WAAAAY quicker. > > Bob S > > > On Apr 1, 2020, at 12:13 PM, Terence Heaford via use-livecode >> wrote: > > This actually works but is very slow (> 800ms) > > put merge("SELECT *,SUM (amount) OVER (ORDER BY recID) AS balance FROM myAccountName") into tSQL > > I have settled on my earlier suggestion > > > Earlier suggestion results in 20ms performance. > > _______________________________________________ > 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 Bernd.Niggemann at uni-wh.de Thu Apr 2 05:24:08 2020 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Thu, 2 Apr 2020 09:24:08 +0000 Subject: How to find the column and row of a basic tableField Message-ID: Sean, The idea for the script I posted was to be independent of the Livecode provided tableField. My use case was that tab-delimited data was provided in a _regular_ field and the user clicks on a cell and the developer wants to know which cell was clicked to take action upon that information. That is what modTableField is all about. modTableField has an option for the user to fill/change cells within the provided tab-delimited matrix. http://berndniggemann.on-rev.com/mtf/modTableField.zip To make such a field you use the standard field and set its hGrid and vGrid to true. The revtablelibrary frontscript knows nothing about such a field and keeps out of it. If however you want to use the built-in tableField to let the user enter data (that is what I gather from your comment) be aware that revTableField is not free of bugs. https://quality.livecode.com/show_bug.cgi?id=21679 That bug may be of interest to you if you want to let the user enter information at arbitrary not yet created cells in a revTableField But then again I may not understand your use case. If I can be of help feel free to mail me. Kind regards Bernd From richmondmathewson at gmail.com Thu Apr 2 05:37:53 2020 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 2 Apr 2020 12:37:53 +0300 Subject: How to find the column and row of a basic tableField In-Reply-To: <6A7E95E0-F39E-4FA9-B1FC-A6EEBD4B6D6C@pidigital.co.uk> References: <6E71305C-4FBF-4FE1-ADE2-92BBAA8C7BC8@uni-wh.de> <6A7E95E0-F39E-4FA9-B1FC-A6EEBD4B6D6C@pidigital.co.uk> Message-ID: <8ddbbe88-27f2-ffee-375c-97a60ed97d51@gmail.com> Specialising in missing the point as I do, I've posted something here: http://forums.livecode.com/viewtopic.php?f=7&t=33859 Richmond. On 2.04.20 1:52, Pi Digital via use-livecode wrote: > Thanks Bernd. > > This only works if there is already data in the field. If you put empty into the field it produces no results. In those instances you are forced to get an x,y clickLoc and use the tabstops and textHeight to hard code the result. > > The revTableLibrary was last modified in 2015 from your recommendations and pulls. Notable is the ones in revCalculateCellLoc and revCalculateCellRect. Interestingly in revCalculateCellLoc there is a couple of lines that set cREVTable[?currentxcell?] and [?currentycell?] of the object. > > Using: > Put cRevTable[?currentxcell?],cRevTable[?currentycell?] into tCellIndex > Works a charm. > > To make this work you do need to have cellEdit enabled but to avoid having it actually enable editing the text, in the mouseup just have a ?select nothing? to immediately exit the field. That way you only return the xy index and can use other means to add in or collect cell data. > > This is far less convoluted and exactly what I was looking for. None of this faffing around with huge lines of code. LiveCode is supposed to be EASY and almost instinctive. This is pretty close. > > It?s a real shame that these are not visible in the property inspector as standard properties and not even in the customProperties cRevTable until you have clicked into one of the cells in runtime when it populate the custom set. > > It?s even more of a shame that this is not documented anywhere, in the dictionary, guide, lessons, tutorials. It?s practically lost to obscurity in the forums too only being found if I search for currentxcell specifically. I only found it by hacking through all of the object library code of the IDE stacks. > > This definitely make the table field object far more useful, though. > > Sean Cole > Pi Digital Productions Ltd > _______________________________________________ > 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 heather at livecode.com Thu Apr 2 06:31:25 2020 From: heather at livecode.com (Heather Laine) Date: Thu, 2 Apr 2020 11:31:25 +0100 Subject: Our first Community Zoom Session Message-ID: <780FCCA2-378D-42FE-B96B-6D4F988B6924@livecode.com> Dear list folks, I have now scheduled our first zoom meeting, open to anyone who wishes to discuss LiveCode, share hints and tips and see a friendly face during this period of isolation for many. I will be there in a moderation capacity, to facilitate discussion. Panos will be joining me to help out. The actual debate, discussion, conversation and topics is down to you guys and gals! Come along and bring a topic you'd like to share/learn information on. Just to reiterate, the usual list rules apply: we're talking LiveCode, we're not talking religion or politics, and cheese should be kept to a minimum :) To give us an idea of numbers and how to best manage the meeting, I have turned on registration for this meeting, so you can click on the link below to register. It would be helpful if you can do this in advance. The meeting will be tomorrow, Friday 3rd April, at 4pm UK time, (we've just switched to Summer Time here). To see what time that is for you, please go here: https://www.timeanddate.com/ or just click the registration link and you will be able to specify a timezone to see what time it will be for you. The invitation: You are invited to a Zoom meeting. When: Apr 3, 2020 04:00 PM London Register in advance for this meeting: https://zoom.us/meeting/register/v50kdeGuqjstQaRWOduQAUs31lqtQJOVdA After registering, you will receive a confirmation email containing information about joining the meeting. Warm Regards, and see you tomorrow! Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From richmondmathewson at gmail.com Thu Apr 2 06:42:15 2020 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 2 Apr 2020 13:42:15 +0300 Subject: Our first Community Zoom Session In-Reply-To: <780FCCA2-378D-42FE-B96B-6D4F988B6924@livecode.com> References: <780FCCA2-378D-42FE-B96B-6D4F988B6924@livecode.com> Message-ID: <8a67dab4-8304-ca97-6da8-c2205d09473e@gmail.com> That sounds groovy, and I wish you all the best. However, you will be relieved to find that I will be using Zoom to teach English to Bulgarian children at that time so cannot come and misbehave in my usual way with you. I do hope that all the good folk at LiveCode central are safe and in good fighting fettle. Best wishes, Richmond Mathewson. On 2.04.20 13:31, Heather Laine via use-livecode wrote: > Dear list folks, > > I have now scheduled our first zoom meeting, open to anyone who wishes to discuss LiveCode, share hints and tips and see a friendly face during this period of isolation for many. I will be there in a moderation capacity, to facilitate discussion. Panos will be joining me to help out. The actual debate, discussion, conversation and topics is down to you guys and gals! Come along and bring a topic you'd like to share/learn information on. Just to reiterate, the usual list rules apply: we're talking LiveCode, we're not talking religion or politics, and cheese should be kept to a minimum :) > > To give us an idea of numbers and how to best manage the meeting, I have turned on registration for this meeting, so you can click on the link below to register. It would be helpful if you can do this in advance. The meeting will be tomorrow, Friday 3rd April, at 4pm UK time, (we've just switched to Summer Time here). To see what time that is for you, please go here: > > https://www.timeanddate.com/ > > or just click the registration link and you will be able to specify a timezone to see what time it will be for you. > > The invitation: > > You are invited to a Zoom meeting. > > When: Apr 3, 2020 04:00 PM London > > Register in advance for this meeting: > > https://zoom.us/meeting/register/v50kdeGuqjstQaRWOduQAUs31lqtQJOVdA > > After registering, you will receive a confirmation email containing information about joining the meeting. > > Warm Regards, and see you tomorrow! > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.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 roland.huettmann at gmail.com Thu Apr 2 07:06:04 2020 From: roland.huettmann at gmail.com (R.H.) Date: Thu, 2 Apr 2020 13:06:04 +0200 Subject: DataGrid question: Suggestions for further enhancements Message-ID: @Bernd Niggemann The ModTableField is a great tool when the DG datagrid is an overkill. It works very well for me. Thank you very much for the contribution, dear Bernd. + Selecting columns: What I added was the possibility to also select columns (hilite columns) which is done using an overlay graphic rect that automatically is adjusting to the height of the and width of the column in the table field and sits on top with a certain transparency. Well, of course, it also is a workaround only and requires some scripting if users should be able to also edit cells - mpt as easy as it sounds first. To select more than one column would then require more than just one overlay rectangles. Here it requires using some additional space for a selection handler on top of each column since the current behaviour is to sort columns with mouseDown/Up on column headers. Therefore, I would go by most standards which is clicking on a column header selects the column, and there is an additional icon to allow for sorting. The sorting type depends on the content (column formats). + Dragging and dropping columns and rows It would also be possible to move columns dragging and dropping them with visual feedback. Here the known technique is in taking a screen shot of the row or column, letting it attach to the mouse while moving, and creating an insertion line for a column or row passing over rows/columns allowing users to drop the selection wherever desired in the table field. To also allow this in scrolling fields (letting the field scroll moving the mouse towards the edges of the table field) requires quite some scripting. + Freezing rows and/or columns: The other enhancement, as discussed here before, is to "freeze" 1..n columns or rows. To my mind, this can only be done using separate fields attached to the left or top of the table field. Again, such fields must change size depending on the size of the basic table fields and they must update quickly with changes and be in synchrony with the main table field. + Icons / images Also nicely shown in the ModTableField. It is possible using SVG graphics turned into an image to be used as the image source of a chracter? I think it is, but never tried it yet. + Field display formats Then there is a need to most developers setting the format of rows or columns or individual cell to either text, date/time format, number format, percentage, custom format and whatever. It would be a nice add-on to have this available as a "standard" instead of each developer scripting his own. I actually did this, but of course not in such a general way that it would be using locales, support all international format and usable to everyone. (I personally think that it should be a property of fields in general to allow to set it's display format for text, date, time, number, etc. It would be really great if there is a "display format" and a raw data storage automatically -- no need for custom properties in such case. Since LC is supporting the Android version of Filemaker, that is the property of fields in Filemaker anyway.) So, almost we end up scripting a data grid based on the table field....) Thanks to all contributions. Enjoy ... Roland From roland.huettmann at gmail.com Thu Apr 2 07:35:18 2020 From: roland.huettmann at gmail.com (R.H.) Date: Thu, 2 Apr 2020 13:35:18 +0200 Subject: Cross-platform Bluetooth and Speech to text Message-ID: + STT Speech to Text @ Paul Dupuis ... Thank you very much for your valuable hint regarding the STT (speech to text) link from the work of Trevor https://github.com/trevordevore/lc-pocketsphinx who I admire for his fantastic contributions and skills. I am already looking into this. + Bluetooth on Windows and Android What I am still looking for is if anybody of you knows how to approach the question of using Bluetooth on Windows and Android. (I am no longer an Apple enthusiast I used to be long ago. None in general business is using OSX anyway. Maybe 10% are using iPhones though.) Thanks again, Roland From bvlahos at mac.com Thu Apr 2 10:33:01 2020 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 2 Apr 2020 07:33:01 -0700 Subject: Hide stack change focus not supported 64bit In-Reply-To: <5EFA08A8-B098-4671-A346-FDAA0AA9C3B6@mac.com> References: <5EFA08A8-B098-4671-A346-FDAA0AA9C3B6@mac.com> Message-ID: <6B2DD84A-411B-4666-A07A-C8D496424509@mac.com> Paul, Very nice! I see you have some other useful tools as well. It is working in the IDE but I can?t figure out how to get it into my standalone. Thank you, Bill Vlahos > On Mar 30, 2020, at 9:52 PM, Bill Vlahos via use-livecode wrote: > > Paul, > > Your AppHide/AppUnhide sounds perfect. I will try it. > > Thank you, > Bill Vlahos > >> On Mar 30, 2020, at 7:58 PM, Paul McClernan via use-livecode wrote: >> >> (Sorry, hit send too soon). >> You can easily use AppleScript mixed with LiveCode script to change focus >> to another app: >> >> *do *"tell application "& quote& "PhotoShop"& quote& " to activate"as >> AppleScript >> >> You could also use AppHide / AppUnhide from my LCB Library macOSTools >> to minimize your stack which automatically switches to whatever the next >> running app is. See the test stack, which uses the above AppleScript to >> switch focus back to LiveCode after the AppHide command. >> Download from here: >> https://github.com/PaulMcClernan/LCB_macOSTools From bobsneidar at iotecdigital.com Thu Apr 2 10:35:03 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 2 Apr 2020 14:35:03 +0000 Subject: DataGrid question: Suggestions for further enhancements In-Reply-To: References: Message-ID: <41BAC4FE-42E0-46BC-84CB-0097705D01AC@iotecdigital.com> Not to belabor the point, but why would the data grid be overkill in relation to a table field? In what way? Cell editing actually works great. Double click a cell and edit the contents. Finding and getting data is far easier in a data grid than in a table field. dispatch findIndex to group ?myGrid? with ?firstname?, ?Bob? put the result into tIndex put the dgDataOfIndex [tIndex] of group ?myGrid? into aFoundRecord Or if you MUST search text: put the dgText of group ?myGrid? into tText put lineOffset(?Bob?, tText) into tFoundLine put line tFoundLine of tText into tFoundRecord I?m not understanding how this is more complicated than the hoops you have to jump through with a table field, which is incredibly unwieldy, cannot easily support cell and column text formatting and alignment, has different cell counts per row depending on the last cell you put data in, adds rows you may not want simply because you accidentally clicked the field? As far as I am concerned, datagrids make table fields obsolete. Bob S On Apr 2, 2020, at 4:06 AM, R.H. via use-livecode > wrote: @Bernd Niggemann The ModTableField is a great tool when the DG datagrid is an overkill. It works very well for me. Thank you very much for the contribution, dear Bernd. From paul at researchware.com Thu Apr 2 11:34:31 2020 From: paul at researchware.com (Paul Dupuis) Date: Thu, 2 Apr 2020 11:34:31 -0400 Subject: DataGrid question: Suggestions for further enhancements In-Reply-To: <41BAC4FE-42E0-46BC-84CB-0097705D01AC@iotecdigital.com> References: <41BAC4FE-42E0-46BC-84CB-0097705D01AC@iotecdigital.com> Message-ID: <244a8d30-8aa2-7a33-b271-9e762b341d61@researchware.com> On 4/2/2020 10:35 AM, Bob Sneidar via use-livecode wrote: > As far as I am concerned, datagrids make table fields obsolete. I agree. From dochawk at gmail.com Thu Apr 2 12:34:57 2020 From: dochawk at gmail.com (doc hawk) Date: Thu, 2 Apr 2020 09:34:57 -0700 Subject: Our first Community Zoom Session In-Reply-To: <780FCCA2-378D-42FE-B96B-6D4F988B6924@livecode.com> References: <780FCCA2-378D-42FE-B96B-6D4F988B6924@livecode.com> Message-ID: I think the that?s midnight PST . . . Also, I would ask that you to *not* submit our email address to zoom, but instead send the code to the lit, or by your own servers to our email?it came out in the last couple of days that, just a zoom was nearing a whole week without a new security or privacy sue, that they?d globe email in a way to make them accessible . . . > On Apr 2, 2020, at 3:31 AM, Heather Laine via use-livecode wrote: > > Dear list folks, > > I have now scheduled our first zoom meeting, open to anyone who wishes to discuss LiveCode, share hints and tips and see a friendly face during this period of isolation for many. I will be there in a moderation capacity, to facilitate discussion. Panos will be joining me to help out. The actual debate, discussion, conversation and topics is down to you guys and gals! Come along and bring a topic you'd like to share/learn information on. Just to reiterate, the usual list rules apply: we're talking LiveCode, we're not talking religion or politics, and cheese should be kept to a minimum :) > > To give us an idea of numbers and how to best manage the meeting, I have turned on registration for this meeting, so you can click on the link below to register. It would be helpful if you can do this in advance. The meeting will be tomorrow, Friday 3rd April, at 4pm UK time, (we've just switched to Summer Time here). To see what time that is for you, please go here: > > https://www.timeanddate.com/ > > or just click the registration link and you will be able to specify a timezone to see what time it will be for you. > > The invitation: > > You are invited to a Zoom meeting. > > When: Apr 3, 2020 04:00 PM London > > Register in advance for this meeting: > > https://zoom.us/meeting/register/v50kdeGuqjstQaRWOduQAUs31lqtQJOVdA > > After registering, you will receive a confirmation email containing information about joining the meeting. > > Warm Regards, and see you tomorrow! > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.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 jmac at consensustech.com Thu Apr 2 13:03:59 2020 From: jmac at consensustech.com (Jim MacConnell) Date: Thu, 2 Apr 2020 10:03:59 -0700 Subject: Our first Community Zoom Session In-Reply-To: References: <780FCCA2-378D-42FE-B96B-6D4F988B6924@livecode.com> Message-ID: <536EDF25-7D01-4A71-B64F-3F6B15879FE9@consensustech.com> It goes the other way. We?re earlier in the day in PST?. 8 hours I believe. Jim > On Apr 2, 2020, at 9:34 AM, doc hawk via use-livecode wrote: > > I think the that?s midnight PST . . . > > Also, I would ask that you to *not* submit our email address to zoom, but instead send the code to the lit, or by your own servers to our email?it came out in the last couple of days that, just a zoom was nearing a whole week without a new security or privacy sue, that they?d globe email in a way to make them accessible . . . > > > >> On Apr 2, 2020, at 3:31 AM, Heather Laine via use-livecode wrote: >> >> Dear list folks, >> >> I have now scheduled our first zoom meeting, open to anyone who wishes to discuss LiveCode, share hints and tips and see a friendly face during this period of isolation for many. I will be there in a moderation capacity, to facilitate discussion. Panos will be joining me to help out. The actual debate, discussion, conversation and topics is down to you guys and gals! Come along and bring a topic you'd like to share/learn information on. Just to reiterate, the usual list rules apply: we're talking LiveCode, we're not talking religion or politics, and cheese should be kept to a minimum :) >> >> To give us an idea of numbers and how to best manage the meeting, I have turned on registration for this meeting, so you can click on the link below to register. It would be helpful if you can do this in advance. The meeting will be tomorrow, Friday 3rd April, at 4pm UK time, (we've just switched to Summer Time here). To see what time that is for you, please go here: >> >> https://www.timeanddate.com/ >> >> or just click the registration link and you will be able to specify a timezone to see what time it will be for you. >> >> The invitation: >> >> You are invited to a Zoom meeting. >> >> When: Apr 3, 2020 04:00 PM London >> >> Register in advance for this meeting: >> >> https://zoom.us/meeting/register/v50kdeGuqjstQaRWOduQAUs31lqtQJOVdA >> >> After registering, you will receive a confirmation email containing information about joining the meeting. >> >> Warm Regards, and see you tomorrow! >> >> Heather >> >> Heather Laine >> Customer Services Manager >> LiveCode Ltd >> www.livecode.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 prothero at earthlearningsolutions.org Thu Apr 2 13:08:11 2020 From: prothero at earthlearningsolutions.org (Prothero-earthlearningsol) Date: Thu, 2 Apr 2020 10:08:11 -0700 Subject: Our first Community Zoom Session In-Reply-To: <536EDF25-7D01-4A71-B64F-3F6B15879FE9@consensustech.com> References: <536EDF25-7D01-4A71-B64F-3F6B15879FE9@consensustech.com> Message-ID: Folks, I calculate 8AM at PST time, on Friday. Bill William Prothero http://es.earthednet.org > On Apr 2, 2020, at 10:06 AM, Jim MacConnell via use-livecode wrote: > > ?It goes the other way. We?re earlier in the day in PST?. 8 hours I believe. > Jim > >> On Apr 2, 2020, at 9:34 AM, doc hawk via use-livecode wrote: >> >> I think the that?s midnight PST . . . >> >> Also, I would ask that you to *not* submit our email address to zoom, but instead send the code to the lit, or by your own servers to our email?it came out in the last couple of days that, just a zoom was nearing a whole week without a new security or privacy sue, that they?d globe email in a way to make them accessible . . . >> >> >> >>>> On Apr 2, 2020, at 3:31 AM, Heather Laine via use-livecode wrote: >>> >>> Dear list folks, >>> >>> I have now scheduled our first zoom meeting, open to anyone who wishes to discuss LiveCode, share hints and tips and see a friendly face during this period of isolation for many. I will be there in a moderation capacity, to facilitate discussion. Panos will be joining me to help out. The actual debate, discussion, conversation and topics is down to you guys and gals! Come along and bring a topic you'd like to share/learn information on. Just to reiterate, the usual list rules apply: we're talking LiveCode, we're not talking religion or politics, and cheese should be kept to a minimum :) >>> >>> To give us an idea of numbers and how to best manage the meeting, I have turned on registration for this meeting, so you can click on the link below to register. It would be helpful if you can do this in advance. The meeting will be tomorrow, Friday 3rd April, at 4pm UK time, (we've just switched to Summer Time here). To see what time that is for you, please go here: >>> >>> https://www.timeanddate.com/ >>> >>> or just click the registration link and you will be able to specify a timezone to see what time it will be for you. >>> >>> The invitation: >>> >>> You are invited to a Zoom meeting. >>> >>> When: Apr 3, 2020 04:00 PM London >>> >>> Register in advance for this meeting: >>> >>> https://zoom.us/meeting/register/v50kdeGuqjstQaRWOduQAUs31lqtQJOVdA >>> >>> After registering, you will receive a confirmation email containing information about joining the meeting. >>> >>> Warm Regards, and see you tomorrow! >>> >>> Heather >>> >>> Heather Laine >>> Customer Services Manager >>> LiveCode Ltd >>> www.livecode.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 > > > _______________________________________________ > 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 dochawk at gmail.com Thu Apr 2 13:09:19 2020 From: dochawk at gmail.com (doc hawk) Date: Thu, 2 Apr 2020 10:09:19 -0700 Subject: Our first Community Zoom Session In-Reply-To: <536EDF25-7D01-4A71-B64F-3F6B15879FE9@consensustech.com> References: <780FCCA2-378D-42FE-B96B-6D4F988B6924@livecode.com> <536EDF25-7D01-4A71-B64F-3F6B15879FE9@consensustech.com> Message-ID: <43615A59-0799-43E5-8C67-571B7457C0CF@gmail.com> I think you?re right. I added 5 from London to EST, and 3 more to the et. So (no longer trueing my time math), 8AM PST? Err, and Friday still in PST, right? From ahsoftware at sonic.net Thu Apr 2 13:13:31 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 2 Apr 2020 10:13:31 -0700 Subject: Our first Community Zoom Session In-Reply-To: References: <780FCCA2-378D-42FE-B96B-6D4F988B6924@livecode.com> Message-ID: On 4/2/20 9:34 AM, doc hawk via use-livecode wrote: > Also, I would ask that you to *not* submit our email address to zoom, but instead send the code to the lit, or by your own servers to our email?it came out in the last couple of days that, just a zoom was nearing a whole week without a new security or privacy sue, that they?d globe email in a way to make them accessible . . . Also, for those who haven't yet installed zoom: when you first install you're prompted with the option to opt out of marketing etc. Please do this. There may be an option to do this later, but I haven't found one short of registering for a zoom account on their website, and that's totally unnecessary. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Thu Apr 2 13:22:23 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 Apr 2020 12:22:23 -0500 Subject: Our first Community Zoom Session In-Reply-To: References: <780FCCA2-378D-42FE-B96B-6D4F988B6924@livecode.com> Message-ID: <1713bea4c98.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I've become extremely cautious about Zoom and avoid it if I can. Any guess how long the session will be? I can't make it at the start time but could show up later. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 2, 2020 12:15:21 PM Mark Wieder via use-livecode wrote: > On 4/2/20 9:34 AM, doc hawk via use-livecode wrote: > >> Also, I would ask that you to *not* submit our email address to zoom, but >> instead send the code to the lit, or by your own servers to our email?it >> came out in the last couple of days that, just a zoom was nearing a whole >> week without a new security or privacy sue, that they?d globe email in a >> way to make them accessible . . . > > Also, for those who haven't yet installed zoom: when you first install > you're prompted with the option to opt out of marketing etc. Please do > this. There may be an option to do this later, but I haven't found one > short of registering for a zoom account on their website, and that's > totally unnecessary. > > -- > 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 dochawk at gmail.com Thu Apr 2 13:55:01 2020 From: dochawk at gmail.com (doc hawk) Date: Thu, 2 Apr 2020 10:55:01 -0700 Subject: Our first Community Zoom Session In-Reply-To: References: <780FCCA2-378D-42FE-B96B-6D4F988B6924@livecode.com> Message-ID: I actually create a throwaway user account on my Mac, and run zoom from the .dmg file . . . From curry at pair.com Thu Apr 2 14:13:35 2020 From: curry at pair.com (Curry Kenworthy) Date: Thu, 2 Apr 2020 14:13:35 -0400 Subject: How to find the column and row of a basic tableField In-Reply-To: <8ddbbe88-27f2-ffee-375c-97a60ed97d51@gmail.com> References: <8ddbbe88-27f2-ffee-375c-97a60ed97d51@gmail.com> Message-ID: <111522c6-5bee-6ef4-9bbd-22f86dc3e85c@pair.com> We don't need to confuse people - it DOES cause damage, because readers often trust confident/prolific statements without realizing which ones are flawed, and they act upon bad information. It often falls to consultants and trainers like myself to help individuals fix the resulting problems later. I guess that's good for business, but as an ethical person I also like to prevent headaches for others before they happen. I can't in good conscience let incorrect info slip by unchallenged. Despite a lot of good info posted, there has been also considerable intentional "spin" on this topic in various threads, as well as several outright inaccurate claims, all of which could easily be confusing, so here's an ACCURATE FACTS RECAP (for all related threads) that people who desire real info can easily verify as factually correct and trust as reliable and objective: 1. Can fields display inline images? YES! A large number of images can be displayed. 2. Can fields display checkboxes? Only CUSTOM designed ones, which can work well. 3. Can we figure out which field column was clicked? YES! 4. Have we had this ability (#3) for a long time? YES! Since LC/RR 1.0 at least. 5. Is finding which column something people commonly know or can figure out? Not sure, but SEVERAL people immediately provided sample code. (This was attempted as a strawman claim, it was not my claim, but hilariously backfired.) Actually there are at least THREE different approaches, two of which are generally applicable and the other also valid and interesting but specialized to certain content requirements. I'm not counting additional handy approach(es) that rely on an existing implementation of one of these three. 6. Does finding which column via tabstops require a "convoluted" solution with lots of code? HECK NO; that's rubbish! It has been available as a one-line function call without rolling your own since at least 2012 with SpreadLib. Also available with other libraries. And while rough sample functions have been posted here, some of us specialize in more efficient techniques and have much sleeker code. 7. Does finding which column require using the simple table field setting with cell edit enabled? NO! Not at all. The wording of the subject line might confuse people, but this was later clarified by Bernd regarding his helpful code sample. 8. Is using a datagrid somehow more trouble than setting up a field for desired table features? Depends on the approach, but IRRELEVANT to the original issue of WHETHER finding which column was available on regular fields. (In context of recent discussions, this was another strawman argument introduced to reframe the discussion and walk back previous incorrect claims.) The reality is that multiple solutions are available to choose from, there are precoded solutions and sample code available, and each approach has some pros and cons. Do NOT be confused by "fans" of an approach (usually DG) who exaggerate and cherry-pick (or just make confident assertions) to sway others. They may sound confident, but the actual facts don't change based on who has the time and energy to be more talkative. Datagrids are fairly easy to set up, but the flip side is that they also more complex and subject to the limitations and consequences of that complexity. Those familiar with KISS and optimization will understand such considerations; well-documented in Computer Science. Fields have their pros and cons too. Be aware that you have choices, and which solution is superior depends on your project requirements. Finally, while having a pre-coded solution is nice (and we've had some for years) people shouldn't be misled into thinking this is an extremely difficult problem. The math algorithm is simple to understand. Not rocket science by any stretch of the imagination; in fact, this is much closer to real-world problems encountered thousands of years ago in the Bronze Age or perhaps even earlier in the Neolithic. Literally somewhere between Jericho and Sumer in the level of progress and difficulty. The math is not complicated - it makes a good student learning exercise. If people think this is really hard, society may be in trouble! :) This and other topics with some inaccurate claims have inspired me. When I get caught up, along with other things eventually I'll launch a Facts vs Myths/Fake News web page to help newbies sort out reliable information about LiveCode features. Accuracy is important and must not be lost among all the "politics" and opinions of discussions. Take care, all! Be safe about quality code, accurate info, and virus precautions/social distancing. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Thu Apr 2 14:48:30 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 2 Apr 2020 18:48:30 +0000 Subject: Our first Community Zoom Session In-Reply-To: References: <780FCCA2-378D-42FE-B96B-6D4F988B6924@livecode.com> Message-ID: <888F945C-4D32-4AB2-984C-EBB5F158D838@iotecdigital.com> Just so everyone is aware? https://community.spiceworks.com/topic/2265244-snap-more-zoom-flaws-t-mobile-merger-nasa-launch-delays-rick-and-morty?utm_campaign=community&utm_medium=app&utm_source=app_ui Bob S From sean at pidigital.co.uk Thu Apr 2 14:57:15 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Thu, 2 Apr 2020 19:57:15 +0100 Subject: How to find the column and row of a basic tableField In-Reply-To: <111522c6-5bee-6ef4-9bbd-22f86dc3e85c@pair.com> References: <111522c6-5bee-6ef4-9bbd-22f86dc3e85c@pair.com> Message-ID: <66AFB259-311E-4396-B317-B2628D95B633@pidigital.co.uk> Curry This winds me up a treat! Your point number 6: > It has been available as a one-line function call without rolling your own since at least 2012 with SpreadLib. is totally unreasonable if you are claiming there IS a one line use case but ONLY if we buy into some spreadsheet library. That?s not the same in any way as something available natively. SpreadLib wasn?t mentioned in any previous solutions in these threads. And 3&4: > 3. Can we figure out which field column was clicked? YES! > > 4. Have we had this ability (#3) for a long time? YES! Since LC/RR 1.0 at least. Again, as before in the other thread, you make these statement but give no example code to show it. This is damned infuriating as it keeps us hunting around in the dark. It?s great that you have this wealth of knowledge and information and that you ?like to prevent headaches before they happen?. But making statements with no examples to back them up is only adding to my headache and doesn?t feel particularly ethical overall. It?s just hoarding the knowledge you have without properly educating us pathetic fake news mongers underneath you. Telling us it can be done is no help when we would benefit from your ability to teach practically. Knowledge is power. For with it you can empower others. Many thanks and get well soon. Sean > On 2 Apr 2020, at 19:14, Curry Kenworthy via use-livecode wrote: > > ? > We don't need to confuse people - it DOES cause damage, because readers often trust confident/prolific statements without realizing which ones are flawed, and they act upon bad information. It often falls to consultants and trainers like myself to help individuals fix the resulting problems later. I guess that's good for business, but as an ethical person I also like to prevent headaches for others before they happen. I can't in good conscience let incorrect info slip by unchallenged. > > Despite a lot of good info posted, there has been also considerable intentional "spin" on this topic in various threads, as well as several outright inaccurate claims, all of which could easily be confusing, so here's an ACCURATE FACTS RECAP (for all related threads) that people who desire real info can easily verify as factually correct and trust as reliable and objective: > > 1. Can fields display inline images? YES! A large number of images can be displayed. > > 2. Can fields display checkboxes? Only CUSTOM designed ones, which can work well. > > 3. Can we figure out which field column was clicked? YES! > > 4. Have we had this ability (#3) for a long time? YES! Since LC/RR 1.0 at least. > > 5. Is finding which column something people commonly know or can figure out? Not sure, but SEVERAL people immediately provided sample code. (This was attempted as a strawman claim, it was not my claim, but hilariously backfired.) Actually there are at least THREE different approaches, two of which are generally applicable and the other also valid and interesting but specialized to certain content requirements. I'm not counting additional handy approach(es) that rely on an existing implementation of one of these three. > > 6. Does finding which column via tabstops require a "convoluted" solution with lots of code? HECK NO; that's rubbish! It has been available as a one-line function call without rolling your own since at least 2012 with SpreadLib. Also available with other libraries. And while rough sample functions have been posted here, some of us specialize in more efficient techniques and have much sleeker code. > > 7. Does finding which column require using the simple table field setting with cell edit enabled? NO! Not at all. The wording of the subject line might confuse people, but this was later clarified by Bernd regarding his helpful code sample. > > 8. Is using a datagrid somehow more trouble than setting up a field for desired table features? Depends on the approach, but IRRELEVANT to the original issue of WHETHER finding which column was available on regular fields. (In context of recent discussions, this was another strawman argument introduced to reframe the discussion and walk back previous incorrect claims.) > > The reality is that multiple solutions are available to choose from, there are precoded solutions and sample code available, and each approach has some pros and cons. Do NOT be confused by "fans" of an approach (usually DG) who exaggerate and cherry-pick (or just make confident assertions) to sway others. They may sound confident, but the actual facts don't change based on who has the time and energy to be more talkative. Datagrids are fairly easy to set up, but the flip side is that they also more complex and subject to the limitations and consequences of that complexity. Those familiar with KISS and optimization will understand such considerations; well-documented in Computer Science. Fields have their pros and cons too. Be aware that you have choices, and which solution is superior depends on your project requirements. > > Finally, while having a pre-coded solution is nice (and we've had some for years) people shouldn't be misled into thinking this is an extremely difficult problem. The math algorithm is simple to understand. Not rocket science by any stretch of the imagination; in fact, this is much closer to real-world problems encountered thousands of years ago in the Bronze Age or perhaps even earlier in the Neolithic. Literally somewhere between Jericho and Sumer in the level of progress and difficulty. The math is not complicated - it makes a good student learning exercise. If people think this is really hard, society may be in trouble! :) > > This and other topics with some inaccurate claims have inspired me. When I get caught up, along with other things eventually I'll launch a Facts vs Myths/Fake News web page to help newbies sort out reliable information about LiveCode features. Accuracy is important and must not be lost among all the "politics" and opinions of discussions. Take care, all! Be safe about quality code, accurate info, and virus precautions/social distancing. > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.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 sean at pidigital.co.uk Thu Apr 2 15:05:32 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Thu, 2 Apr 2020 20:05:32 +0100 Subject: Our first Community Zoom Session In-Reply-To: <888F945C-4D32-4AB2-984C-EBB5F158D838@iotecdigital.com> References: <888F945C-4D32-4AB2-984C-EBB5F158D838@iotecdigital.com> Message-ID: <965A8731-D6D2-4EB1-861C-5AB7C7498B63@pidigital.co.uk> Bob That article is based on out of date information. The writers have not done their homework properly. Here?s what they would have found back from Jan this year www.zdnet.com/google-amp/article/zoom-fixes-security-flaw-that-could-have-let-hackers-join-video-conference-calls/ Conversely, www.theverge.com/platform/amp/2020/4/2/21204018/zoom-security-privacy-feature-freeze-200-million-daily-users And www.bbc.co.uk/news/amp/technology-52133349 Always do your research before posting is the Mantra. Sean Cole Pi Digital Productions Ltd eMail Ts & Cs > On 2 Apr 2020, at 19:48, Bob Sneidar via use-livecode wrote: > > ?Just so everyone is aware? > > https://community.spiceworks.com/topic/2265244-snap-more-zoom-flaws-t-mobile-merger-nasa-launch-delays-rick-and-morty?utm_campaign=community&utm_medium=app&utm_source=app_ui > > 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 theaford at btinternet.com Thu Apr 2 15:27:45 2020 From: theaford at btinternet.com (Terence Heaford) Date: Thu, 2 Apr 2020 20:27:45 +0100 Subject: Go to card has become slow Message-ID: I have a project that opens at a particular card. When I go to another card (any card) it?s very snappy. When I return to the original card (from any card) I have noticed a second or two delay before it happens. There would appear to be nothing in any script that would account for this. Can anyone give some insight as to why this has happened? I reinstalled LC to no avail. Community 9.5.1 MacOS 10.15.4 I read something about font changes on the forum but that seemed to relate to iOS not MacOS. I?m at a loss Thanks Terry From curry at pair.com Thu Apr 2 15:42:34 2020 From: curry at pair.com (Curry Kenworthy) Date: Thu, 2 Apr 2020 15:42:34 -0400 Subject: How to find the column and row of a basic tableField In-Reply-To: <66AFB259-311E-4396-B317-B2628D95B633@pidigital.co.uk> References: <66AFB259-311E-4396-B317-B2628D95B633@pidigital.co.uk> Message-ID: <540f6527-206b-e328-1245-50ec34707b3d@pair.com> Pi: > you make these statement but give no example code to show it. This > is damned infuriating as it keeps us hunting around in the dark. On the contrary, as I've mentioned and as you know, "SEVERAL people immediately provided sample code." You were using sarcasm at the time to walk back disproven previous statements, but you never politely asked me for anything that I noticed. Nevertheless you received a ton of code from other helpful souls before I even saw your sarcastic remarks. I think it's clear how you are playing this socially, but that's OK - the facts speak loud and clear. You have many code samples, relieving any actual need for damnation or infuriation, and we also have a listing of correct verifiable facts for those who care about real info and don't want confusion. Putting out a stream of wrong statements never solves anything! I like to do the opposite, because wrong info hurts people. Stay safe. :) Best wishes, Curry K. From bobsneidar at iotecdigital.com Thu Apr 2 15:59:33 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 2 Apr 2020 19:59:33 +0000 Subject: Our first Community Zoom Session In-Reply-To: <965A8731-D6D2-4EB1-861C-5AB7C7498B63@pidigital.co.uk> References: <888F945C-4D32-4AB2-984C-EBB5F158D838@iotecdigital.com> <965A8731-D6D2-4EB1-861C-5AB7C7498B63@pidigital.co.uk> Message-ID: <6748E962-B7EB-40A9-B707-C30B999D8FE7@iotecdigital.com> Ah. Point taken. You would think that the Spiceworks authors would have done the homework so I, the unsuspecting consumer would not have to. :-) One could make the point that if end users must now do all the research, what?s the point of news? Hmmm? Bob S > On Apr 2, 2020, at 12:05 PM, Pi Digital via use-livecode wrote: > > Bob > That article is based on out of date information. The writers have not done their homework properly. Here?s what they would have found back from Jan this year > > www.zdnet.com/google-amp/article/zoom-fixes-security-flaw-that-could-have-let-hackers-join-video-conference-calls/ > > Conversely, > > www.theverge.com/platform/amp/2020/4/2/21204018/zoom-security-privacy-feature-freeze-200-million-daily-users > > And > > www.bbc.co.uk/news/amp/technology-52133349 > > Always do your research before posting is the Mantra. > > Sean Cole > Pi Digital Productions Ltd From paulmcclernan at gmail.com Thu Apr 2 16:06:14 2020 From: paulmcclernan at gmail.com (Paul McClernan) Date: Thu, 2 Apr 2020 16:06:14 -0400 Subject: Hide stack change focus not supported 64bit In-Reply-To: <6B2DD84A-411B-4666-A07A-C8D496424509@mac.com> References: <5EFA08A8-B098-4671-A346-FDAA0AA9C3B6@mac.com> <6B2DD84A-411B-4666-A07A-C8D496424509@mac.com> Message-ID: Glad to hear that someone finds it useful! >>I can?t figure out how to get it into my standalone. You have to include the library it in the standalone settings, in the inclusions tab. If it is greyed-out then go to the "general" tab and click "select inclusions for standalone" On Thu, Apr 2, 2020 at 10:33 AM Bill Vlahos wrote: > Paul, > > Very nice! I see you have some other useful tools as well. > > It is working in the IDE but I can?t figure out how to get it into my > standalone. > > Thank you, > Bill Vlahos > > On Mar 30, 2020, at 9:52 PM, Bill Vlahos via use-livecode < > use-livecode at lists.runrev.com> wrote: > > Paul, > > Your AppHide/AppUnhide sounds perfect. I will try it. > > Thank you, > Bill Vlahos > > On Mar 30, 2020, at 7:58 PM, Paul McClernan via use-livecode < > use-livecode at lists.runrev.com> wrote: > > (Sorry, hit send too soon). > You can easily use AppleScript mixed with LiveCode script to change focus > to another app: > > *do *"tell application "& quote& "PhotoShop"& quote& " to activate"as > AppleScript > > You could also use AppHide / AppUnhide from my LCB Library macOSTools > to minimize your stack which automatically switches to whatever the next > running app is. See the test stack, which uses the above AppleScript to > switch focus back to LiveCode after the AppHide command. > Download from here: > https://github.com/PaulMcClernan/LCB_macOSTools > > > From sean at pidigital.co.uk Thu Apr 2 16:39:51 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Thu, 2 Apr 2020 21:39:51 +0100 Subject: Our first Community Zoom Session In-Reply-To: <6748E962-B7EB-40A9-B707-C30B999D8FE7@iotecdigital.com> References: <6748E962-B7EB-40A9-B707-C30B999D8FE7@iotecdigital.com> Message-ID: <08985822-A767-49B5-B6B8-F6597C41DD4A@pidigital.co.uk> Couldn?t agree more :) Sean Cole Pi Digital > On 2 Apr 2020, at 20:59, Bob Sneidar via use-livecode wrote: > > One could make the point that if end users must now do all the research, what?s the point of news? Hmmm? From sean at pidigital.co.uk Thu Apr 2 16:46:04 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Thu, 2 Apr 2020 21:46:04 +0100 Subject: Go to card has become slow In-Reply-To: References: Message-ID: <3C22BA08-DC23-4C31-9A00-2C99CC477A55@pidigital.co.uk> Hi Terry Are there any big images on the first card? Any layer effects or blend modes? Anything graphic based that could be attributed to the slow down. Sean Cole Pi > On 2 Apr 2020, at 20:27, Terence Heaford via use-livecode wrote: > > ?I have a project that opens at a particular card. > > When I go to another card (any card) it?s very snappy. > > When I return to the original card (from any card) I have noticed a second or two delay before it happens. From bogdanoff at me.com Thu Apr 2 16:49:27 2020 From: bogdanoff at me.com (Peter Bogdanoff) Date: Thu, 2 Apr 2020 13:49:27 -0700 Subject: Go to card has become slow In-Reply-To: <3C22BA08-DC23-4C31-9A00-2C99CC477A55@pidigital.co.uk> References: <3C22BA08-DC23-4C31-9A00-2C99CC477A55@pidigital.co.uk> Message-ID: <6729B78E-D011-4659-8117-EE876CC412E2@me.com> Also, any audio/video files that load? > On Apr 2, 2020, at 1:46 PM, Pi Digital via use-livecode wrote: > > Hi Terry > > Are there any big images on the first card? Any layer effects or blend modes? Anything graphic based that could be attributed to the slow down. > > Sean Cole > Pi > >> On 2 Apr 2020, at 20:27, Terence Heaford via use-livecode wrote: >> >> ?I have a project that opens at a particular card. >> >> When I go to another card (any card) it?s very snappy. >> >> When I return to the original card (from any card) I have noticed a second or two delay before it happens. > _______________________________________________ > 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 sean at pidigital.co.uk Thu Apr 2 16:53:50 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Thu, 2 Apr 2020 21:53:50 +0100 Subject: How to find the column and row of a basic tableField In-Reply-To: <540f6527-206b-e328-1245-50ec34707b3d@pair.com> References: <540f6527-206b-e328-1245-50ec34707b3d@pair.com> Message-ID: <127A39B4-4941-4CCF-B058-4F0B34BB9BEB@pidigital.co.uk> Thank you. I feel so much Better educated. (Sarcasm intended)!! Sean Cole Pi Digital From monte at appisle.net Thu Apr 2 17:29:51 2020 From: monte at appisle.net (Monte Goulding) Date: Fri, 3 Apr 2020 08:29:51 +1100 Subject: Speech on Android In-Reply-To: <3c383fcd-050b-407f-dce0-5f906a59a232@gmail.com> References: <3c383fcd-050b-407f-dce0-5f906a59a232@gmail.com> Message-ID: Hi Jerry > On 31 Mar 2020, at 11:38 pm, JeeJeeStudio via use-livecode wrote: > 1. can you use any available language or must the Android System be set on a language? (i suspect the first) i choose an english and dutch lang, first it worked, later it talked spanish...could be a mistake from me of course. The default voice will be in the user?s chosen locale but the voice locale is in the array returned from speechGetVoices(). If you have a recipe where that?s not the case then please post a bug report. > 2. the list of available voice is filled with unrecoqnizable names like nl-nl-x-lgc-network or nl-nl-x-dma-local, how can we change this like male-female or with names like Hans-Cynthia-Ben-Susan Unfortunately Android does not appear to have any user friendly names for voices. Cheers Monte From devin_asay at byu.edu Thu Apr 2 17:45:55 2020 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 2 Apr 2020 21:45:55 +0000 Subject: Go to card has become slow In-Reply-To: References: Message-ID: <02B224BC-7A2C-4B24-8D27-AAF826214C42@byu.edu> I have seen delays when going to a card containing a large image with Resize Quality set to ?Best?. It was more of an issue on a mobile device, but it?s worth looking into. Devin > On Apr 2, 2020, at 1:27 PM, Terence Heaford via use-livecode wrote: > > I have a project that opens at a particular card. > > When I go to another card (any card) it?s very snappy. > > When I return to the original card (from any card) I have noticed a second or two delay before it happens. > > There would appear to be nothing in any script that would account for this. > > Can anyone give some insight as to why this has happened? > > I reinstalled LC to no avail. > > Community 9.5.1 > > MacOS 10.15.4 > > I read something about font changes on the forum but that seemed to relate to iOS not MacOS. > > I?m at a loss > > > Thanks > > Terry > > > > > > _______________________________________________ > 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 Devin Asay Director Office of Digital Humanities Brigham Young University From bobsneidar at iotecdigital.com Thu Apr 2 17:54:39 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 2 Apr 2020 21:54:39 +0000 Subject: Answer Dialog in Stack now Message-ID: <9B2D5238-27F4-4A24-A018-944041497C21@iotecdigital.com> Hi all. I just created a standalone for a new project for the first time. Now every time I open it, it complains that there is already and answer Dialog stack in memory! What?s worse, any time I use the form Answer Password I can see what I type!!! Livecode Devs, MAKE IT STOP!!! You cannot POSSIBLY expect new users to deal with this. How do I ?purge? my stack of the errant Answer Dialog? Bob S From bobsneidar at iotecdigital.com Thu Apr 2 18:01:34 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 2 Apr 2020 22:01:34 +0000 Subject: Answer Dialog in Stack now In-Reply-To: <9B2D5238-27F4-4A24-A018-944041497C21@iotecdigital.com> References: <9B2D5238-27F4-4A24-A018-944041497C21@iotecdigital.com> Message-ID: <35D3A451-09AE-4C14-B60A-1619676DD15C@iotecdigital.com> Okay crisis temporarily averted. For whatever reason the Standalone Builder copied several Livecode UI stacks as substacks of my Mainstack! THAT?S NOT SUPPOSED TO HAPPEN!!!!! Bob S On Apr 2, 2020, at 2:54 PM, Bob Sneidar via use-livecode > wrote: Hi all. I just created a standalone for a new project for the first time. Now every time I open it, it complains that there is already and answer Dialog stack in memory! What?s worse, any time I use the form Answer Password I can see what I type!!! Livecode Devs, MAKE IT STOP!!! You cannot POSSIBLY expect new users to deal with this. How do I ?purge? my stack of the errant Answer Dialog? Bob S From rdimola at evergreeninfo.net Thu Apr 2 18:10:13 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 2 Apr 2020 18:10:13 -0400 Subject: Speech on Android In-Reply-To: <3c383fcd-050b-407f-dce0-5f906a59a232@gmail.com> References: <3c383fcd-050b-407f-dce0-5f906a59a232@gmail.com> Message-ID: <008501d6093b$7e3b1510$7ab13f30$@net> Jerry, There is a table here ==> cloud.google.com/text-to-speech/docs/voices Not an exact match but you might be able to correlate them to what the Android OS returns. 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 JeeJeeStudio via use-livecode Sent: Tuesday, March 31, 2020 8:38 AM To: How to use LiveCode Cc: JeeJeeStudio Subject: Speech on Android Hi, i have a few questions on speech used on android: 1. can you use any available language or must the Android System be set on a language? (i suspect the first) i choose an english and dutch lang, first it worked, later it talked spanish...could be a mistake from me of course. 2. the list of available voice is filled with unrecoqnizable names like nl-nl-x-lgc-network or nl-nl-x-dma-local, how can we change this like male-female or with names like Hans-Cynthia-Ben-Susan thanks Jerry _______________________________________________ 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 Apr 2 18:15:37 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 2 Apr 2020 22:15:37 +0000 Subject: Answer Dialog in Stack now In-Reply-To: <35D3A451-09AE-4C14-B60A-1619676DD15C@iotecdigital.com> References: <9B2D5238-27F4-4A24-A018-944041497C21@iotecdigital.com> <35D3A451-09AE-4C14-B60A-1619676DD15C@iotecdigital.com> Message-ID: <28D685D7-759D-4406-86CC-4D4BD9C73D83@iotecdigital.com> Also, the standalone builder altered all the paths to my stackFiles as though they were in the same folder as the stack itself. They are not. I?m just going on record here to say the standalone builder at present is completely unusable. I?ll file a support ticket. Bob S On Apr 2, 2020, at 3:01 PM, Bob Sneidar via use-livecode > wrote: Okay crisis temporarily averted. For whatever reason the Standalone Builder copied several Livecode UI stacks as substacks of my Mainstack! THAT?S NOT SUPPOSED TO HAPPEN!!!!! Bob S On Apr 2, 2020, at 2:54 PM, Bob Sneidar via use-livecode > wrote: Hi all. I just created a standalone for a new project for the first time. Now every time I open it, it complains that there is already and answer Dialog stack in memory! What?s worse, any time I use the form Answer Password I can see what I type!!! Livecode Devs, MAKE IT STOP!!! You cannot POSSIBLY expect new users to deal with this. How do I ?purge? my stack of the errant Answer Dialog? Bob S From jacque at hyperactivesw.com Thu Apr 2 20:15:03 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 Apr 2020 19:15:03 -0500 Subject: Our first Community Zoom Session In-Reply-To: <965A8731-D6D2-4EB1-861C-5AB7C7498B63@pidigital.co.uk> References: <888F945C-4D32-4AB2-984C-EBB5F158D838@iotecdigital.com> <965A8731-D6D2-4EB1-861C-5AB7C7498B63@pidigital.co.uk> Message-ID: <1713d641b58.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Your first link describes a different attack, since corrected. The one Bob posted is dated April 2 and the research link it includes is dated April 1. It is new info. You are correct that Zoom has frozen development until these issues are fixed, but for now the vulnerabilities seem to remain. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 2, 2020 2:07:34 PM Pi Digital via use-livecode wrote: > Bob > That article is based on out of date information. The writers have not done > their homework properly. Here?s what they would have found back from Jan > this year > > www.zdnet.com/google-amp/article/zoom-fixes-security-flaw-that-could-have-let-hackers-join-video-conference-calls/ > > Conversely, > > www.theverge.com/platform/amp/2020/4/2/21204018/zoom-security-privacy-feature-freeze-200-million-daily-users > > And > > www.bbc.co.uk/news/amp/technology-52133349 > > Always do your research before posting is the Mantra. > > Sean Cole > Pi Digital Productions Ltd > > > eMail Ts & Cs > > >> On 2 Apr 2020, at 19:48, Bob Sneidar via use-livecode >> wrote: >> >> ?Just so everyone is aware? >> >> https://community.spiceworks.com/topic/2265244-snap-more-zoom-flaws-t-mobile-merger-nasa-launch-delays-rick-and-morty?utm_campaign=community&utm_medium=app&utm_source=app_ui >> >> 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 > _______________________________________________ > 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 dochawk at gmail.com Thu Apr 2 20:19:19 2020 From: dochawk at gmail.com (doc hawk) Date: Thu, 2 Apr 2020 17:19:19 -0700 Subject: Our first Community Zoom Session In-Reply-To: <965A8731-D6D2-4EB1-861C-5AB7C7498B63@pidigital.co.uk> References: <888F945C-4D32-4AB2-984C-EBB5F158D838@iotecdigital.com> <965A8731-D6D2-4EB1-861C-5AB7C7498B63@pidigital.co.uk> Message-ID: On Apr 2, 2020, at 12:05 PM, Pi Digital via use-livecode wrote: > > That article is based on out of date information. Yeah. Zoom has enough recent issues without resorting to the old ones! :_) From ahsoftware at sonic.net Thu Apr 2 20:43:36 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 2 Apr 2020 17:43:36 -0700 Subject: Our first Community Zoom Session In-Reply-To: <1713d641b58.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <888F945C-4D32-4AB2-984C-EBB5F158D838@iotecdigital.com> <965A8731-D6D2-4EB1-861C-5AB7C7498B63@pidigital.co.uk> <1713d641b58.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <273b154c-bedb-f974-5f74-9c5949635639@sonic.net> On 4/2/20 5:15 PM, J. Landman Gay via use-livecode wrote: > Your first link describes a different attack, since corrected. The one > Bob posted is dated April 2 and the research link it includes is dated > April 1. It is new info. Yes but... the new zero-days require physical access to the hardware. I'd be more concerned about this vuln if I were running Windows. Luckily there's a simple group policy or registry fix. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Thu Apr 2 20:45:30 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 2 Apr 2020 17:45:30 -0700 Subject: Our first Community Zoom Session In-Reply-To: <780FCCA2-378D-42FE-B96B-6D4F988B6924@livecode.com> References: <780FCCA2-378D-42FE-B96B-6D4F988B6924@livecode.com> Message-ID: <27bd56d8-2686-9db2-a3b8-93066158382e@sonic.net> Listmom, > I have now scheduled our first zoom meeting Can we have jitsi installed on a livecode server and use that instead for future sessions? -- Mark Wieder ahsoftware at gmail.com From sean at pidigital.co.uk Thu Apr 2 20:48:33 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 3 Apr 2020 01:48:33 +0100 Subject: Our first Community Zoom Session In-Reply-To: <273b154c-bedb-f974-5f74-9c5949635639@sonic.net> References: <273b154c-bedb-f974-5f74-9c5949635639@sonic.net> Message-ID: With self-iso, it?s just not an issue. Unless someone in your household has it in for you enough to exploit your zoom account. Pfft, hehe. Nothing + NewsMedia = something. Sean Cole Pi Digital From sean at pidigital.co.uk Thu Apr 2 21:00:34 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 3 Apr 2020 02:00:34 +0100 Subject: Our first Community Zoom Session In-Reply-To: <27bd56d8-2686-9db2-a3b8-93066158382e@sonic.net> References: <27bd56d8-2686-9db2-a3b8-93066158382e@sonic.net> Message-ID: Freeconferencecall.com Always free and by a great bunch of guys who have been going since 2001 and have always put security at the top of its agenda. Look it up for scams and security issues. It?s clean. 1 downside is that you can?t output audio from a video playback during screen share straight from the system or software output. You only get it from the speakers into the mic. Other than that it has a whole bunch of cool features. You can upload a video and have it playback on broadcast instead. Highly recommended. And did I mention, it?s free. No time limit. 1000 participants on Mac, Pc, linux, Android, iOS. Admin control. No account needed for participants. Simple meeting login. Sean Cole Pi Digital > On 3 Apr 2020, at 01:46, Mark Wieder via use-livecode wrote: > > ?Listmom, > >> I have now scheduled our first zoom meeting > > Can we have jitsi installed on a livecode server and use that instead for future sessions? > > -- > 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 bvlahos at mac.com Fri Apr 3 00:33:43 2020 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 2 Apr 2020 21:33:43 -0700 Subject: Hide stack change focus not supported 64bit In-Reply-To: References: <5EFA08A8-B098-4671-A346-FDAA0AA9C3B6@mac.com> <6B2DD84A-411B-4666-A07A-C8D496424509@mac.com> Message-ID: <7808B0D7-334E-49B2-AFB0-CD12BAE195EE@mac.com> I don?t see it in the inclusions tab. How do I install your library? Thanks, Bill > On Apr 2, 2020, at 1:06 PM, Paul McClernan wrote: > > Glad to hear that someone finds it useful! > > >>I can?t figure out how to get it into my standalone. > > You have to include the library it in the standalone settings, in the inclusions tab. If it is greyed-out then go to the "general" tab and click "select inclusions for standalone" From hakan at exformedia.se Fri Apr 3 02:42:05 2020 From: hakan at exformedia.se (hakan at exformedia.se) Date: Fri, 3 Apr 2020 08:42:05 +0200 Subject: How to find the column and row of a basic tableField In-Reply-To: <6E71305C-4FBF-4FE1-ADE2-92BBAA8C7BC8@uni-wh.de> References: <6E71305C-4FBF-4FE1-ADE2-92BBAA8C7BC8@uni-wh.de> Message-ID: <684ed4f0-c017-4b79-8f2b-0997832f8fd3@Spark> With risk of going slightly off-topic, but also showing yet another code example. I had exactly this problem some time ago and came up with the following solution: getProp clickedRowCol ? ?# calc Row => TODO: Handle row with variable row heights ? ?put the clickV - the top of me - the borderWidth of me - the effective topMargin of me + 5 into tY ? ?put tY div the effective textHeight of me + 1 into tLine ? ?#Calc column : TODO : Handle other text aligns ? ?put the tabstops of me into tTabs ? ?put the number of items in tTabs into tNumCols ? ?put item -1 of tTabs into tLastTab ? ?put tLastTab - item -2 of tTabs into tTabWidth ? ?put the left of me + the borderWidth of me +the effective leftMargin of me - 2 into tLeft ? ?if (the ClickH - tleft) > tLastTab then ? ? ? # Click right of last column ? ? ? return tLine, (the ClickH - tLastTab - tLeft) div tTabWidth + tNumCols + 1 ? ?else ? ? ? put the ClickH - tLeft into tClickPos ? ? ? put "," & tClickPos after tTabs ? ? ? sort items of tTabs numeric ascending ? ? ? return tLine, itemOffset(tClickPos, tTabs) ? ?end if end clickedRowCol You can try it by adding the following mouseUp code: on mouseUp ? ?answer "You clicked at " & the clickH, the clickV && "= (Row,Col)" && the clickedRowCol of me end mouseUp It works for tables with or without date but doesn?t handle tables with variable row heights as that was not the case at the moment. To get it pixel-perfect I needed to compensate the row calculation with 5 pixels and the column with -2 as you can see in my code. Does anyone know why? Is it the same reason that if you set the margins of a field to 0 you often get the first line clipped? Keep Safe! :-H?kan From theaford at btinternet.com Fri Apr 3 04:25:10 2020 From: theaford at btinternet.com (Terence Heaford) Date: Fri, 3 Apr 2020 09:25:10 +0100 Subject: Go to card has become slow In-Reply-To: <02B224BC-7A2C-4B24-8D27-AAF826214C42@byu.edu> References: <02B224BC-7A2C-4B24-8D27-AAF826214C42@byu.edu> Message-ID: <07AC22BB-F5CE-4263-BE69-3FF211AE999E@btinternet.com> Fortunately I have Time Machine running on my mac. I have gone back to a previous copy from the 01 April 2020 and this project is running at full speed. I have made no modifications to the underlying functionality of this project other than some modifications to SQLite scripts to improve performance. I will make those adjustments again and report on the outcome. I do not believe it?s anything I have done. I believe (no proof) that something within LC has corrupted the project. I have looked at copying the old project into a new project but that within LC seems to be a nightmare scenario. If that was easy and it worked it would be a future solution or if there was a livecode maintenance type project that could do this sort of thing that would be good. All the best for now. Will report back Thanks Terry > On 2 Apr 2020, at 22:45, Devin Asay via use-livecode wrote: > > I have seen delays when going to a card containing a large image with Resize Quality set to ?Best?. It was more of an issue on a mobile device, but it?s worth looking into. > > Devin > >> On Apr 2, 2020, at 1:27 PM, Terence Heaford via use-livecode wrote: >> >> I have a project that opens at a particular card. >> >> When I go to another card (any card) it?s very snappy. >> >> When I return to the original card (from any card) I have noticed a second or two delay before it happens. >> >> There would appear to be nothing in any script that would account for this. >> >> Can anyone give some insight as to why this has happened? >> >> I reinstalled LC to no avail. >> >> Community 9.5.1 >> >> MacOS 10.15.4 >> >> I read something about font changes on the forum but that seemed to relate to iOS not MacOS. >> >> I?m at a loss >> >> >> Thanks >> >> Terry >> >> >> >> >> >> _______________________________________________ >> 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 > > Devin Asay > Director > Office of Digital Humanities > Brigham Young University > > _______________________________________________ > 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 mark at livecode.com Fri Apr 3 04:42:33 2020 From: mark at livecode.com (Mark Waddingham) Date: Fri, 03 Apr 2020 09:42:33 +0100 Subject: Go to card has become slow In-Reply-To: <07AC22BB-F5CE-4263-BE69-3FF211AE999E@btinternet.com> References: <02B224BC-7A2C-4B24-8D27-AAF826214C42@byu.edu> <07AC22BB-F5CE-4263-BE69-3FF211AE999E@btinternet.com> Message-ID: On 2020-04-03 09:25, Terence Heaford via use-livecode wrote: > Fortunately I have Time Machine running on my mac. > > I have gone back to a previous copy from the 01 April 2020 and this > project is running at full speed. > > I have made no modifications to the underlying functionality of this > project other than some modifications to SQLite > scripts to improve performance. > > I will make those adjustments again and report on the outcome. > > I do not believe it?s anything I have done. I'd humbly suggest that modifications to SQLite scripts constitute modifications ;) Have you modified the SQLite database in any way? Like most db's SQLite is heavily dependent on indices to prevent operations being slow - if some have been removed which existing queries relied upon, or one hasn't been added to support a new/modified query then that could cause a heavy performance loss. Similarly, SQLite is transactional, so if you do lots of mutation queries outside of one each individual query will take a lot longer (as each will be under its own transaction requiring a OS disk flush/sync after each) - if you've tweaked how you are doing such queries and not taken into account transactions that could also cause a heavy performance loss. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From roland.huettmann at gmail.com Fri Apr 3 06:11:45 2020 From: roland.huettmann at gmail.com (R.H.) Date: Fri, 3 Apr 2020 12:11:45 +0200 Subject: DataGrid question: Suggestions for further enhancements (Bob Sneidar) Message-ID: @ Bob S Sure, you are right that the DG data grid supports most of what users might wish to have. My point was that there is a nice enhancement to the table field from Bernd Niggemann and that it could even be further enhanced -- without arguing about DG vs table field. Even if that would only be an exercise. Would yor argument not also mean that you simple could skip the table field? I still use it. For a long time I have been using Filemaker as a database and application tool. The ease of use in just dragging all kinds of objects to the portal (similar to the data grid row template) is compelling in terms of user friendliness. But there is a DataGrid helper... by https://www.aslugontheroad.com/ So, maybe we could then argue about how the DG could be improved? ) Roland From e.beugelaar at me.com Fri Apr 3 06:40:38 2020 From: e.beugelaar at me.com (Erik Beugelaar) Date: Fri, 3 Apr 2020 12:40:38 +0200 Subject: Answer Dialog in Stack now In-Reply-To: <28D685D7-759D-4406-86CC-4D4BD9C73D83@iotecdigital.com> References: <9B2D5238-27F4-4A24-A018-944041497C21@iotecdigital.com> <35D3A451-09AE-4C14-B60A-1619676DD15C@iotecdigital.com> <28D685D7-759D-4406-86CC-4D4BD9C73D83@iotecdigital.com> Message-ID: <008101d609a4$51e83fb0$f5b8bf10$@me.com> Hi Bob, Did you take into account the release notes (LiveCode 9.4) about Standalone Building? StandaloneBuilding The standalone builder has always needed to close the stacks it builds for reasons pretty deeplyin grained 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 openingstacks for standalone builds has been removed. This means that where previously mainstacks would not receive any of the (pre)open* and close* messages (e.g. preOpenStack, openStack, openCard, closeStack etc) during standalone build, they now do. If this causes problems for your stack, you can exit from the handler if standalone building is inprogress: on closeStack if the environment is "development" and \ there is a stack "revStandaloneProgress" and \ the mode of stack "revStandaloneProgress" > 0 then exit closeStack end if end closeStack LiveCode 9.0.4 Release Notes 5/10/192 Maybe this will help. Kind regards, Erik -----Original Message----- From: use-livecode On Behalf Of Bob Sneidar via use-livecode Sent: vrijdag 3 april 2020 00:16 To: How to use LiveCode Cc: Bob Sneidar Subject: Re: Answer Dialog in Stack now Also, the standalone builder altered all the paths to my stackFiles as though they were in the same folder as the stack itself. They are not. I?m just going on record here to say the standalone builder at present is completely unusable. I?ll file a support ticket. Bob S On Apr 2, 2020, at 3:01 PM, Bob Sneidar via use-livecode > wrote: Okay crisis temporarily averted. For whatever reason the Standalone Builder copied several Livecode UI stacks as substacks of my Mainstack! THAT?S NOT SUPPOSED TO HAPPEN!!!!! Bob S On Apr 2, 2020, at 2:54 PM, Bob Sneidar via use-livecode > wrote: Hi all. I just created a standalone for a new project for the first time. Now every time I open it, it complains that there is already and answer Dialog stack in memory! What?s worse, any time I use the form Answer Password I can see what I type!!! Livecode Devs, MAKE IT STOP!!! You cannot POSSIBLY expect new users to deal with this. How do I ?purge? my stack of the errant Answer Dialog? 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 theaford at btinternet.com Fri Apr 3 08:54:54 2020 From: theaford at btinternet.com (Terence Heaford) Date: Fri, 3 Apr 2020 13:54:54 +0100 Subject: Go to card has become slow In-Reply-To: References: <02B224BC-7A2C-4B24-8D27-AAF826214C42@byu.edu> <07AC22BB-F5CE-4263-BE69-3FF211AE999E@btinternet.com> Message-ID: I have now copied the modified scripts from the project version that was slow and reapplied them to the previous version which was running fast. Applying the modified scripts has not resulted in any slowdown of the version they have been applied to. So, I cannot understand why the project slowed down in the first place but? all is now well until it happens again. Thanks Terry > On 3 Apr 2020, at 09:42, Mark Waddingham via use-livecode wrote: > > On 2020-04-03 09:25, Terence Heaford via use-livecode wrote: >> Fortunately I have Time Machine running on my mac. >> I have gone back to a previous copy from the 01 April 2020 and this >> project is running at full speed. >> I have made no modifications to the underlying functionality of this >> project other than some modifications to SQLite >> scripts to improve performance. >> I will make those adjustments again and report on the outcome. >> I do not believe it?s anything I have done. > > I'd humbly suggest that modifications to SQLite scripts constitute modifications ;) > > Have you modified the SQLite database in any way? > > Like most db's SQLite is heavily dependent on indices to prevent operations being slow - if some have been removed which existing queries relied upon, or one hasn't been added to support a new/modified query then that could cause a heavy performance loss. > > Similarly, SQLite is transactional, so if you do lots of mutation queries outside of one each individual query will take a lot longer (as each will be under its own transaction requiring a OS disk flush/sync after each) - if you've tweaked how you are doing such queries and not taken into account transactions that could also cause a heavy performance loss. > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > 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 Fri Apr 3 09:22:22 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 3 Apr 2020 09:22:22 -0400 Subject: Go to card has become slow In-Reply-To: References: <02B224BC-7A2C-4B24-8D27-AAF826214C42@byu.edu> <07AC22BB-F5CE-4263-BE69-3FF211AE999E@btinternet.com> Message-ID: <000b01d609ba$eb6f1120$c24d3360$@net> On Windows I have seen a slow down on some but not all cards when the SE is open. Close the SE and everything speeds back up. 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 Terence Heaford via use-livecode Sent: Friday, April 03, 2020 8:55 AM To: How to use LiveCode Cc: Terence Heaford Subject: Re: Go to card has become slow I have now copied the modified scripts from the project version that was slow and reapplied them to the previous version which was running fast. Applying the modified scripts has not resulted in any slowdown of the version they have been applied to. So, I cannot understand why the project slowed down in the first place but? all is now well until it happens again. Thanks Terry > On 3 Apr 2020, at 09:42, Mark Waddingham via use-livecode wrote: > > On 2020-04-03 09:25, Terence Heaford via use-livecode wrote: >> Fortunately I have Time Machine running on my mac. >> I have gone back to a previous copy from the 01 April 2020 and this >> project is running at full speed. >> I have made no modifications to the underlying functionality of this >> project other than some modifications to SQLite scripts to improve >> performance. >> I will make those adjustments again and report on the outcome. >> I do not believe it?s anything I have done. > > I'd humbly suggest that modifications to SQLite scripts constitute > modifications ;) > > Have you modified the SQLite database in any way? > > Like most db's SQLite is heavily dependent on indices to prevent operations being slow - if some have been removed which existing queries relied upon, or one hasn't been added to support a new/modified query then that could cause a heavy performance loss. > > Similarly, SQLite is transactional, so if you do lots of mutation queries outside of one each individual query will take a lot longer (as each will be under its own transaction requiring a OS disk flush/sync after each) - if you've tweaked how you are doing such queries and not taken into account transactions that could also cause a heavy performance loss. > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > 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 Fri Apr 3 11:13:13 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 Apr 2020 15:13:13 +0000 Subject: Hide stack change focus not supported 64bit In-Reply-To: <7808B0D7-334E-49B2-AFB0-CD12BAE195EE@mac.com> References: <5EFA08A8-B098-4671-A346-FDAA0AA9C3B6@mac.com> <6B2DD84A-411B-4666-A07A-C8D496424509@mac.com> <7808B0D7-334E-49B2-AFB0-CD12BAE195EE@mac.com> Message-ID: <6B15F759-78B6-432C-8149-082AC2AD8269@iotecdigital.com> Open Stack Properties, add to the stackfiles. Also in the standalone builder you can add other files and folders that are not stack files. Bob S On Apr 2, 2020, at 9:33 PM, Bill Vlahos via use-livecode > wrote: I don?t see it in the inclusions tab. How do I install your library? Thanks, Bill From bobsneidar at iotecdigital.com Fri Apr 3 11:14:43 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 Apr 2020 15:14:43 +0000 Subject: How to find the column and row of a basic tableField In-Reply-To: <684ed4f0-c017-4b79-8f2b-0997832f8fd3@Spark> References: <6E71305C-4FBF-4FE1-ADE2-92BBAA8C7BC8@uni-wh.de> <684ed4f0-c017-4b79-8f2b-0997832f8fd3@Spark> Message-ID: Probably has to do with margins. Bob S On Apr 2, 2020, at 11:42 PM, H?kan Liljegren via use-livecode > wrote: It works for tables with or without date but doesn?t handle tables with variable row heights as that was not the case at the moment. To get it pixel-perfect I needed to compensate the row calculation with 5 pixels and the column with -2 as you can see in my code. Does anyone know why? Is it the same reason that if you set the margins of a field to 0 you often get the first line clipped? Keep Safe! :-H?kan From livfoss at mac.com Fri Apr 3 11:18:10 2020 From: livfoss at mac.com (Graham Samuel) Date: Fri, 3 Apr 2020 17:18:10 +0200 Subject: Getting started with geographical coordinates Message-ID: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> Hi I am reviving my LiveCode skills in these troubled times, and I want to do something that involves the location of a device using GPS. A very rapid (obviously too rapid) search of the documentation finds commands like iphoneStartTrackingLocation, but no link to a description of how one reads the actual geographical coordinates or what form they take. There is a reference to CoreLocation, but that hasn?t got a dictionary entry. Can anyone point me in the right direction. Sorry if it?s obvious. Thanks in advance Graham From ahsoftware at sonic.net Fri Apr 3 11:28:16 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 3 Apr 2020 08:28:16 -0700 Subject: Our first Community Zoom Session In-Reply-To: References: <780FCCA2-378D-42FE-B96B-6D4F988B6924@livecode.com> Message-ID: <17ec5620-64d4-dd96-e6e8-b19afce1c5a7@sonic.net> On 4/2/20 9:34 AM, doc hawk via use-livecode wrote: > I think the that?s midnight PST . . . > > Also, I would ask that you to *not* submit our email address to zoom, but instead send the code to the lit, or by your own servers to our email?it came out in the last couple of days that, just a zoom was nearing a whole week without a new security or privacy sue, that they?d globe email in a way to make them accessible . . . Register with a disposable email address / use a pen name. https://10minutemail.com/ -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Fri Apr 3 11:38:16 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 Apr 2020 15:38:16 +0000 Subject: DataGrid question: Suggestions for further enhancements (Bob Sneidar) In-Reply-To: References: Message-ID: <537631C3-3D02-4F26-BF85-5A6AAC09434D@iotecdigital.com> :-) I wasn?t arguing, just pointing out that before the data grid, the community was practically begging RunRev for some kind of robust table object, BECAUSE the table field was so unwieldy. That others have found ways in the interim to enhance the table field is nothing short of astounding, and is a testament to both the robust nature of Livecode?s language, and the ingenuity of the developers who use it. Just the other day I attempted to use a table field to display one row of columns from a database, and a second row of values. The columns and their respective values needed to be added or deleted based on a user selecting or deselecting the column from another list field, and added column/values always appended to the end of the list. I also wanted the user to be able to edit the values, but NOT the column names. After about two hours of trying to get it to work, and running into all kinds of problems jumping through hoops and running into more problems, I scrapped it and used a data grid instead. Within half an hour I got it working. If all you want is to display tabular data without much formatting needed and little to no editing, a table field is just what you need. If you want to format, edit, store and retrieve that data in a database, sort, filter, etc. then it?s my opinion that using a table field is going to cause more headache than it?s worth. Bob S On Apr 3, 2020, at 3:11 AM, R.H. via use-livecode > wrote: @ Bob S Sure, you are right that the DG data grid supports most of what users might wish to have. My point was that there is a nice enhancement to the table field from Bernd Niggemann and that it could even be further enhanced -- without arguing about DG vs table field. Even if that would only be an exercise. Would yor argument not also mean that you simple could skip the table field? I still use it. For a long time I have been using Filemaker as a database and application tool. The ease of use in just dragging all kinds of objects to the portal (similar to the data grid row template) is compelling in terms of user friendliness. But there is a DataGrid helper... by https://www.aslugontheroad.com/ So, maybe we could then argue about how the DG could be improved? ) Roland From devin_asay at byu.edu Fri Apr 3 11:42:38 2020 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 3 Apr 2020 15:42:38 +0000 Subject: Getting started with geographical coordinates In-Reply-To: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> References: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> Message-ID: <665F146C-DD5D-44F5-B1BB-3AA279BD15C2@byu.edu> Hi Graham, As fate would have it I just created a video tutorial for my students on reading mobile device sensors. http://livecode.byu.edu/mobile/devicesensors-index.php Hope you find these useful. Devin On Apr 3, 2020, at 9:18 AM, Graham Samuel via use-livecode > wrote: Hi I am reviving my LiveCode skills in these troubled times, and I want to do something that involves the location of a device using GPS. A very rapid (obviously too rapid) search of the documentation finds commands like iphoneStartTrackingLocation, but no link to a description of how one reads the actual geographical coordinates or what form they take. There is a reference to CoreLocation, but that hasn?t got a dictionary entry. Can anyone point me in the right direction. Sorry if it?s obvious. Thanks in advance Graham _______________________________________________ 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 Apr 3 11:57:31 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 Apr 2020 15:57:31 +0000 Subject: Go to card has become slow In-Reply-To: <07AC22BB-F5CE-4263-BE69-3FF211AE999E@btinternet.com> References: <02B224BC-7A2C-4B24-8D27-AAF826214C42@byu.edu> <07AC22BB-F5CE-4263-BE69-3FF211AE999E@btinternet.com> Message-ID: <9FF7AD24-3DAF-421D-9DCD-A891450C7D5F@iotecdigital.com> What may help in the future to eliminate possible script issues, is to use a text editor that has the capability of comparing two scripts and showing you the difference. Most of the code editors have addams that will do this. Bob S On Apr 3, 2020, at 1:25 AM, Terence Heaford via use-livecode > wrote: Fortunately I have Time Machine running on my mac. I have gone back to a previous copy from the 01 April 2020 and this project is running at full speed. I have made no modifications to the underlying functionality of this project other than some modifications to SQLite scripts to improve performance. I will make those adjustments again and report on the outcome. I do not believe it?s anything I have done. I believe (no proof) that something within LC has corrupted the project. I have looked at copying the old project into a new project but that within LC seems to be a nightmare scenario. If that was easy and it worked it would be a future solution or if there was a livecode maintenance type project that could do this sort of thing that would be good. All the best for now. Will report back Thanks Terry From bobsneidar at iotecdigital.com Fri Apr 3 12:00:04 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 Apr 2020 16:00:04 +0000 Subject: Go to card has become slow In-Reply-To: References: <02B224BC-7A2C-4B24-8D27-AAF826214C42@byu.edu> <07AC22BB-F5CE-4263-BE69-3FF211AE999E@btinternet.com> Message-ID: <7954002B-2407-4180-90DB-03B00E5C8C99@iotecdigital.com> Mark, you may have answered why it is my Forms Generator app is running so slow on Windows. I don?t use transactions and I make multiple queries for most transactions. Bob S On Apr 3, 2020, at 1:42 AM, Mark Waddingham via use-livecode > wrote: On 2020-04-03 09:25, Terence Heaford via use-livecode wrote: Fortunately I have Time Machine running on my mac. I have gone back to a previous copy from the 01 April 2020 and this project is running at full speed. I have made no modifications to the underlying functionality of this project other than some modifications to SQLite scripts to improve performance. I will make those adjustments again and report on the outcome. I do not believe it?s anything I have done. I'd humbly suggest that modifications to SQLite scripts constitute modifications ;) Have you modified the SQLite database in any way? Like most db's SQLite is heavily dependent on indices to prevent operations being slow - if some have been removed which existing queries relied upon, or one hasn't been added to support a new/modified query then that could cause a heavy performance loss. Similarly, SQLite is transactional, so if you do lots of mutation queries outside of one each individual query will take a lot longer (as each will be under its own transaction requiring a OS disk flush/sync after each) - if you've tweaked how you are doing such queries and not taken into account transactions that could also cause a heavy performance loss. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From rdimola at evergreeninfo.net Fri Apr 3 12:14:30 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 3 Apr 2020 12:14:30 -0400 Subject: Getting started with geographical coordinates In-Reply-To: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> References: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> Message-ID: <003901d609d2$f798d9a0$e6ca8ce0$@net> mobileLocationAuthorizationStatus() will tell you if the OS app setting will allow location tracking mobileSensorAvailable("location") will tell you if there is a location sensor mobileStartTrackingSensor "Location", [true|false] will start the tracking. mobileSensorReading("location", [true|false]) will return an array of the current location. If the latitude or longitude is zero then the GPS is not yet locked 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 Graham Samuel via use-livecode Sent: Friday, April 03, 2020 11:18 AM To: How to use LiveCode Cc: Graham Samuel Subject: Getting started with geographical coordinates Hi I am reviving my LiveCode skills in these troubled times, and I want to do something that involves the location of a device using GPS. A very rapid (obviously too rapid) search of the documentation finds commands like iphoneStartTrackingLocation, but no link to a description of how one reads the actual geographical coordinates or what form they take. There is a reference to CoreLocation, but that hasn?t got a dictionary entry. Can anyone point me in the right direction. Sorry if it?s obvious. Thanks in advance Graham _______________________________________________ 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 Apr 3 12:14:40 2020 From: tom at makeshyft.com (Tom Glod) Date: Fri, 3 Apr 2020 12:14:40 -0400 Subject: Our first Community Zoom Session In-Reply-To: <17ec5620-64d4-dd96-e6e8-b19afce1c5a7@sonic.net> References: <780FCCA2-378D-42FE-B96B-6D4F988B6924@livecode.com> <17ec5620-64d4-dd96-e6e8-b19afce1c5a7@sonic.net> Message-ID: Is it already over ? its only 12:20 EST and its saying the start is at 11 AM... if I am the host I should log in.... Am I crazy to expect "Meeting is over"..... if its over? On Fri, Apr 3, 2020 at 11:29 AM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 4/2/20 9:34 AM, doc hawk via use-livecode wrote: > > I think the that?s midnight PST . . . > > > > Also, I would ask that you to *not* submit our email address to zoom, > but instead send the code to the lit, or by your own servers to our > email?it came out in the last couple of days that, just a zoom was nearing > a whole week without a new security or privacy sue, that they?d globe > email in a way to make them accessible . . . > > Register with a disposable email address / use a pen name. > https://10minutemail.com/ > > -- > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From heather at livecode.com Fri Apr 3 12:20:10 2020 From: heather at livecode.com (Heather Laine) Date: Fri, 3 Apr 2020 17:20:10 +0100 Subject: Our first Community Zoom Session In-Reply-To: References: <780FCCA2-378D-42FE-B96B-6D4F988B6924@livecode.com> <17ec5620-64d4-dd96-e6e8-b19afce1c5a7@sonic.net> Message-ID: <6F1A32DD-D3B2-4DA4-8C1C-50032368F002@livecode.com> Hmm. Think maybe some timezone confusion? We started at 4pm UK time, its now 5.19pm... Best Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 3 Apr 2020, at 17:14, Tom Glod via use-livecode wrote: > > Is it already over ? its only 12:20 EST and its saying the start is at 11 > AM... if I am the host I should log in.... > > Am I crazy to expect "Meeting is over"..... if its over? > > On Fri, Apr 3, 2020 at 11:29 AM Mark Wieder via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 4/2/20 9:34 AM, doc hawk via use-livecode wrote: >>> I think the that?s midnight PST . . . >>> >>> Also, I would ask that you to *not* submit our email address to zoom, >> but instead send the code to the lit, or by your own servers to our >> email?it came out in the last couple of days that, just a zoom was nearing >> a whole week without a new security or privacy sue, that they?d globe >> email in a way to make them accessible . . . >> >> Register with a disposable email address / use a pen name. >> https://10minutemail.com/ >> >> -- >> 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 >> > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > _______________________________________________ > 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 bdrunrev at gmail.com Fri Apr 3 14:20:26 2020 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 3 Apr 2020 19:20:26 +0100 Subject: DataGrid question... In-Reply-To: References: Message-ID: Hi Bernd Your modTableField is very impressive. Reminds me of the work of the late, great Eric Chatonet (author of many works on Hypercard). I see only one slight problem: after I click into a cell a trace of the I beam is left behind on leaving the cell (this becomes visible on selecting another row). I guess this is a LC bug. If I click away (e.g. on the "examples" tabbed button) the trace vanishes. If I click on the column header to sort and re-sort, the I beam trace is still there in the field in which I clicked. If I click in the output field that also does not remove the I beam vestige. But apart from that visual vestige, in 20 minutes of playing with mTF I was very impressed. BTW, in case you have not seen this yourself, this vestige was visible for me with LC 9.5.1 on Windows 10. Regards, Bernard On Mon, Mar 30, 2020 at 10:44 PM Niggemann, Bernd via use-livecode < use-livecode at lists.runrev.com> wrote: > > >Peter Bogdanoff wrote: > > >Does anyone have a link to obtain Bernd's modTableField ? > > Here is a link to the latest version of modifiedTableField > > berndniggemann.on-rev.com/mtf/modTableField.zip< > http://berndniggemann.on-rev.com/mtf/modTableField.zip> > > there is a zip of a demo stack with a helper stack and a .rtf document > with the API > > Use the demo stack to explore modTableField. Have a little patience to > explore. It shows many options. Please have a look at the API document to > get a feeling how to address and query modTableField. > > If you want to use modTableField in a project copy the group > "modTableField 1" from the demo stack to your stack and use the API to work > with it. > > This version is HTML5 safe. There was a superfluous wait in former > versions. Hermann used tinyDict with his HTML5 demo of an IDE. > > tinyDictionary uses modTableField > > There are a couple of users that seem quite content with modTableField > (thanks Jerry for mentioning it) > > I would be happy to know if anybody uses modTableField in a project. > (aside from the people that mailed me before). > > If you have questions please feel free to email me. > > Kind regards > Bernd > > > _______________________________________________ > 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 skiplondon at gmail.com Fri Apr 3 14:50:06 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Fri, 3 Apr 2020 14:50:06 -0400 Subject: Strange times, amazing projects Message-ID: Good afternoon LC'ers (evening to some), Enjoyed the Zoom chat today and it was good to see all of your faces again. It has been way too long. Over the past couple of years I have been sidetracked from LC as I have not had the need to be as hands on as I once was. Now, however, I am forced to pull out skill sets and take on projects / challenges that I have not done in quite some time. Actually, it is quite exhilarating. I won't get into details about the project as a whole right now (but I can't wait to share it with you all when it is done) but I have a challenge that involves mapping and coordinates and I am trying to wrap my head around how to accomplish it. I have delivery zones built in Google Earth and I have delivery addresses. I need to run through the list of delivery addresses to determine which delivery zone they fall in. Sounds simple (or maybe not) but I can't figure out how to work out the coordinates of the address and filter it within the perimeter coordinates of the zone. Hopefully I explained this clearly. I realize I will probably have to first run the delivery addresses against some database that will give me GPS coordinates which I can then use against my delivery zone kml data. Has anybody done this before? Any suggestions? As always, your input is GREATLY appreciated :) Best regards, SKIP KIMPEL From Bernd.Niggemann at uni-wh.de Fri Apr 3 15:18:57 2020 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Fri, 3 Apr 2020 19:18:57 +0000 Subject: DataGrid question... Message-ID: <1C35B3B3-E0A9-4A0D-8DE1-9447A47AE3F3@uni-wh.de> > Bernard Devlin via use-livecode Fri, 03 Apr 2020 11:23:08 -0700 > Reminds me of the work of the late great Eric Chatonet Thanks Bernhard for your kind words. But Eric is in my memory such a super coder and his code was crystal clear. Whereas my code is, um, less so. > I see only one slight problem: after I click into a cell a trace of the I beam is left behind on leaving the cell (this becomes visible on selecting another row). I guess this is a LC bug. If I click away (e.g. on the "examples" tabbed button) the trace vanishes. If I click on the column header to sort and re-sort, the I beam trace is still there in the field in which I clicked. If I click in the output field that also does not remove the I beam vestige. I am only using a Mac and I have never seen this. This must be something Windows 10 related. I do not have access to Windows 10. I wonder if anyone has seen this on Windows 10? Kind regards Bernd From livfoss at mac.com Fri Apr 3 15:23:56 2020 From: livfoss at mac.com (Graham Samuel) Date: Fri, 3 Apr 2020 21:23:56 +0200 Subject: Getting started with geographical coordinates In-Reply-To: <665F146C-DD5D-44F5-B1BB-3AA279BD15C2@byu.edu> References: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> <665F146C-DD5D-44F5-B1BB-3AA279BD15C2@byu.edu> Message-ID: <10FE4A60-5E8A-40C1-A5A5-42278A1F1ED9@mac.com> Wow, Devin, that is luck! I shall look at it instantly. I have got a little further on my own but am rather disturbed that there seem to be iOS functions with no Android equivalent, e.g. mergCLDistanceBetween - but I am still totally ignorant really. Thanks Graham > On 3 Apr 2020, at 17:42, Devin Asay via use-livecode wrote: > > Hi Graham, > > As fate would have it I just created a video tutorial for my students on reading mobile device sensors. > > http://livecode.byu.edu/mobile/devicesensors-index.php > > Hope you find these useful. > > Devin > > > On Apr 3, 2020, at 9:18 AM, Graham Samuel via use-livecode > wrote: > > Hi > > I am reviving my LiveCode skills in these troubled times, and I want to do something that involves the location of a device using GPS. A very rapid (obviously too rapid) search of the documentation finds commands like iphoneStartTrackingLocation, but no link to a description of how one reads the actual geographical coordinates or what form they take. There is a reference to CoreLocation, but that hasn?t got a dictionary entry. > > Can anyone point me in the right direction. Sorry if it?s obvious. > > Thanks in advance > > Graham > _______________________________________________ > 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 livfoss at mac.com Fri Apr 3 15:25:05 2020 From: livfoss at mac.com (Graham Samuel) Date: Fri, 3 Apr 2020 21:25:05 +0200 Subject: Getting started with geographical coordinates In-Reply-To: <003901d609d2$f798d9a0$e6ca8ce0$@net> References: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> <003901d609d2$f798d9a0$e6ca8ce0$@net> Message-ID: <095B4477-5D2B-4C7A-B465-C4B4A3FAFB44@mac.com> Thanks Ralph, that really helps, along with Devin?s tutorial as well I should be able to make progress. Graham > On 3 Apr 2020, at 18:14, Ralph DiMola via use-livecode wrote: > > > mobileLocationAuthorizationStatus() will tell you if the OS app setting will allow location tracking > mobileSensorAvailable("location") will tell you if there is a location sensor > mobileStartTrackingSensor "Location", [true|false] will start the tracking. > > mobileSensorReading("location", [true|false]) will return an array of the current location. If the latitude or longitude is zero then the GPS is not yet locked > > 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 Graham Samuel via use-livecode > Sent: Friday, April 03, 2020 11:18 AM > To: How to use LiveCode > Cc: Graham Samuel > Subject: Getting started with geographical coordinates > > Hi > > I am reviving my LiveCode skills in these troubled times, and I want to do something that involves the location of a device using GPS. A very rapid (obviously too rapid) search of the documentation finds commands like iphoneStartTrackingLocation, but no link to a description of how one reads the actual geographical coordinates or what form they take. There is a reference to CoreLocation, but that hasn?t got a dictionary entry. > > Can anyone point me in the right direction. Sorry if it?s obvious. > > Thanks in advance > > Graham > _______________________________________________ > 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 Bernd.Niggemann at uni-wh.de Fri Apr 3 15:43:23 2020 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Fri, 3 Apr 2020 19:43:23 +0000 Subject: DataGrid question: Suggestions for further enhancements Message-ID: <8034FD4A-0D30-405A-891C-354278183B59@uni-wh.de> Roland wrote Thu, 02 Apr 2020 04:08:51 -0700: Thank you Roland for your detailed list of possible improvements to modTableField > + Selecting columns: > > marking selected columns I will have to think about that > + Dragging and dropping columns and rows presently it is possible to drag line = rows if you set put true into pBool dispatch "mtfAllowLineDragging" to group "modTableField 1" with pBool Or set it from the helper stack tab "data" You have to press the optionKey while dragging Whereas you can extract columns from the data field but you can not set them nor drag them. Again I will have to experiment to see how to eventually implement this. > + Freezing rows and/or columns: I am not sure what that is. Are you talking about a spreadsheet like behavior with fixed left column and top row? > + Field display formats For sorting you can specify the sort. However until now I felt that the developer is in control of the format of the data. A predetermined format for a column would mean a lot of error checking on data input. I am not sure if it is not better to leave that to the developer. If you plan to use modTableField in a project feel free to email me and I can see if we can work out some modification. Kind regards Bernd From livfoss at mac.com Fri Apr 3 15:49:19 2020 From: livfoss at mac.com (Graham Samuel) Date: Fri, 3 Apr 2020 21:49:19 +0200 Subject: Getting started with geographical coordinates In-Reply-To: <095B4477-5D2B-4C7A-B465-C4B4A3FAFB44@mac.com> References: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> <003901d609d2$f798d9a0$e6ca8ce0$@net> <095B4477-5D2B-4C7A-B465-C4B4A3FAFB44@mac.com> Message-ID: <1A5D1D18-7394-43D3-9F32-5B8767115830@mac.com> This is cheeky but I can?t run up my mobile simulation today - can someone tell me the format of the geographical coordinates produced by mobileSensorReading et al. I mean, is say latitude just one integer showing seconds, or is it deg, min, sec - and are fractional seconds returned (so, floating point)? I shall find out for myself eventually but it would help a little to know now. AFAIKS there?s nothing in the LC documentation about it. Graham From devin_asay at byu.edu Fri Apr 3 16:28:29 2020 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 3 Apr 2020 20:28:29 +0000 Subject: Getting started with geographical coordinates In-Reply-To: <1A5D1D18-7394-43D3-9F32-5B8767115830@mac.com> References: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> <003901d609d2$f798d9a0$e6ca8ce0$@net> <095B4477-5D2B-4C7A-B465-C4B4A3FAFB44@mac.com> <1A5D1D18-7394-43D3-9F32-5B8767115830@mac.com> Message-ID: <79564CFA-8D0B-46A4-9576-FDB766AE306F@byu.edu> Graham, You get back lat and long in degrees and fractions of degrees, as a decimal numeral. For instance, I get latitude: 40.248676 and longitude: -111.651062, and for good measure altitude in meters at 1398.380493. Wow, now you all know exactly where I am! Devin > On Apr 3, 2020, at 1:49 PM, Graham Samuel via use-livecode wrote: > > This is cheeky but I can?t run up my mobile simulation today - can someone tell me the format of the geographical coordinates produced by mobileSensorReading et al. I mean, is say latitude just one integer showing seconds, or is it deg, min, sec - and are fractional seconds returned (so, floating point)? I shall find out for myself eventually but it would help a little to know now. AFAIKS there?s nothing in the LC documentation about it. > > Graham > > _______________________________________________ > 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 Devin Asay Director Office of Digital Humanities Brigham Young University From hakan at exformedia.se Fri Apr 3 16:30:45 2020 From: hakan at exformedia.se (hakan at exformedia.se) Date: Fri, 3 Apr 2020 22:30:45 +0200 Subject: Getting started with geographical coordinates In-Reply-To: <1A5D1D18-7394-43D3-9F32-5B8767115830@mac.com> References: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> <003901d609d2$f798d9a0$e6ca8ce0$@net> <095B4477-5D2B-4C7A-B465-C4B4A3FAFB44@mac.com> <1A5D1D18-7394-43D3-9F32-5B8767115830@mac.com> Message-ID: <1c3dc0bc-0862-4a7d-8cf9-0d203c042928@Spark> Most of the mobileSomething are wrappers around the system functions so you can learn a lot by reading the ios developer documentation as most of the functions started there. And reading the docs I can see that you probably get a CLLocationCoordinate2D from the system and that is in turn two doubles in the WGS 84 system. I.e. you get a float for longitude and latitude. I have code for distance calculation somewhere, that I built for a Quiz walk app, that I made for my sons birthday party several years ago. If you are interested I can dig it up. I remember that the biggest problem was not calculating the distance it was translating lat long to some meaningful x,y coordinate. H?kan On 3 Apr 2020, 21:50 +0200, Graham Samuel via use-livecode , wrote: > This is cheeky but I can?t run up my mobile simulation today - can someone tell me the format of the geographical coordinates produced by mobileSensorReading et al. I mean, is say latitude just one integer showing seconds, or is it deg, min, sec - and are fractional seconds returned (so, floating point)? I shall find out for myself eventually but it would help a little to know now. AFAIKS there?s nothing in the LC documentation about it. > > Graham > > _______________________________________________ > 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 dochawk at gmail.com Fri Apr 3 16:37:43 2020 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 3 Apr 2020 13:37:43 -0700 Subject: Ready to go In-Reply-To: References: <8F201D7E-2E08-446E-BAA0-D06996C05D72@livecode.com> <96BD5841-8BD4-45BE-AF79-1043C4E887B7@pidigital.co.uk> Message-ID: <322611B7-7E3E-460D-AD6C-1DDBC80E8AA2@gmail.com> On Mar 31, 2020, at 12:13 PM, Tom Glod via use-livecode wrote: > > I know you guys just had a 30% sale to start the year...but Christmas > killed us with customer missing in action .... so I couldn't do it at the > time. :( > They don?t have much left to sell me but a lifetime upgrade from indy to business . . . ? Richard E. Hawkins, Esq. The Hawkins Law Firm 3430 E. Flamingo Rd. Suite 232 Las Vegas, NV 89121 (702) 508-8462 From devin_asay at byu.edu Fri Apr 3 16:44:21 2020 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 3 Apr 2020 20:44:21 +0000 Subject: Strange times, amazing projects In-Reply-To: References: Message-ID: <57564AB5-D658-4A8E-AC09-DB051C9E10F9@byu.edu> Skip, have you tried the Google geocoding web service? Give it an address or landmark, and get back latitude/longitude coordinates. https://developers.google.com/maps/documentation/geocoding/start Fairly simple to get into, a snap to implement in LiveCode, and free until you exceed a certain number of accesses. Devin On Apr 3, 2020, at 12:50 PM, Skip Kimpel via use-livecode > wrote: Good afternoon LC'ers (evening to some), Enjoyed the Zoom chat today and it was good to see all of your faces again. It has been way too long. Over the past couple of years I have been sidetracked from LC as I have not had the need to be as hands on as I once was. Now, however, I am forced to pull out skill sets and take on projects / challenges that I have not done in quite some time. Actually, it is quite exhilarating. I won't get into details about the project as a whole right now (but I can't wait to share it with you all when it is done) but I have a challenge that involves mapping and coordinates and I am trying to wrap my head around how to accomplish it. I have delivery zones built in Google Earth and I have delivery addresses. I need to run through the list of delivery addresses to determine which delivery zone they fall in. Sounds simple (or maybe not) but I can't figure out how to work out the coordinates of the address and filter it within the perimeter coordinates of the zone. Hopefully I explained this clearly. I realize I will probably have to first run the delivery addresses against some database that will give me GPS coordinates which I can then use against my delivery zone kml data. Has anybody done this before? Any suggestions? As always, your input is GREATLY appreciated :) Best regards, SKIP KIMPEL _______________________________________________ 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 Devin Asay Director Office of Digital Humanities Brigham Young University From rdimola at evergreeninfo.net Fri Apr 3 17:12:25 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 3 Apr 2020 17:12:25 -0400 Subject: Getting started with geographical coordinates In-Reply-To: <1A5D1D18-7394-43D3-9F32-5B8767115830@mac.com> References: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> <003901d609d2$f798d9a0$e6ca8ce0$@net> <095B4477-5D2B-4C7A-B465-C4B4A3FAFB44@mac.com> <1A5D1D18-7394-43D3-9F32-5B8767115830@mac.com> Message-ID: <004301d609fc$95e88320$c1b98960$@net> Graham, If Detailed is specified then an array with these 8 keys are returned. Example values are actual from an Android device. "Altitude" integer in annoying meters. Ex: 88 "course" floating point in degrees Ex: 321.5 (I was walking due north) "horizontal accuracy" integer also in annoying meters Ex: 12.136 "latitude" floating point in deg.fractionalDegrees Ex: 44.28052 "longitude floating point in deg.fractionalDegrees Ex: -74.681128 "Speed" in equally annoying KPH Ex: 1.28 "Timestamp" floating point in seconds Ex: 1585948616.576009 "Vertical accuracy" in ? but I would guess meters(cough) ex: 0 I don't believe this number. I don't know if this a limitation of Android, this device or Livecode. Hope this helps. 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 Graham Samuel via use-livecode Sent: Friday, April 03, 2020 3:49 PM To: How to use LiveCode Cc: Graham Samuel Subject: Re: Getting started with geographical coordinates This is cheeky but I can?t run up my mobile simulation today - can someone tell me the format of the geographical coordinates produced by mobileSensorReading et al. I mean, is say latitude just one integer showing seconds, or is it deg, min, sec - and are fractional seconds returned (so, floating point)? I shall find out for myself eventually but it would help a little to know now. AFAIKS there?s nothing in the LC documentation about it. Graham _______________________________________________ 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 Fri Apr 3 17:27:26 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 3 Apr 2020 17:27:26 -0400 Subject: No subject In-Reply-To: <1A5D1D18-7394-43D3-9F32-5B8767115830@mac.com> References: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> <003901d609d2$f798d9a0$e6ca8ce0$@net> <095B4477-5D2B-4C7A-B465-C4B4A3FAFB44@mac.com> <1A5D1D18-7394-43D3-9F32-5B8767115830@mac.com> Message-ID: <004401d609fe$ae84a4c0$0b8dee40$@net> Graham, This my distance calculation for what it's worth. Function distance lat1, lon1, lat2, lon2, unit -- Calculate Distance between to points -- --lat1, lon1, lat2, lon2 are in deg.fractionalDegrees -- Unit -- if empty then miles -- K = kilometers -- N = nautical miles local theta local dist Put lon1 - lon2 into theta put Sin(deg2rad(lat1)) * Sin(deg2rad(lat2)) + Cos(deg2rad(lat1)) * Cos(deg2rad(lat2)) * Cos(deg2rad(theta)) into dist put Acos(dist) into dist put rad2deg(dist) into dist put dist * 60 * 1.1515 into dist switch unit case "K" put dist * 1.609344 into dist case "N" put dist * 0.8684 into dist end switch Return dist End distance Function rad2deg rad Return rad / PI * 180.0 end rad2deg 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 Graham Samuel via use-livecode Sent: Friday, April 03, 2020 3:49 PM To: How to use LiveCode Cc: Graham Samuel Subject: Re: Getting started with geographical coordinates This is cheeky but I can?t run up my mobile simulation today - can someone tell me the format of the geographical coordinates produced by mobileSensorReading et al. I mean, is say latitude just one integer showing seconds, or is it deg, min, sec - and are fractional seconds returned (so, floating point)? I shall find out for myself eventually but it would help a little to know now. AFAIKS there?s nothing in the LC documentation about it. Graham _______________________________________________ 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 Apr 3 17:30:31 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 3 Apr 2020 21:30:31 +0000 Subject: No subject In-Reply-To: <004401d609fe$ae84a4c0$0b8dee40$@net> References: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> <003901d609d2$f798d9a0$e6ca8ce0$@net> <095B4477-5D2B-4C7A-B465-C4B4A3FAFB44@mac.com> <1A5D1D18-7394-43D3-9F32-5B8767115830@mac.com> <004401d609fe$ae84a4c0$0b8dee40$@net> Message-ID: <860038C0-CA32-41BF-A8E1-1866E239D5C3@iotecdigital.com> Ralph, this is brilliant. I remember trying to do something similar years ago, and giving up because I didn't know how to do the math. I suck at math, or rather I am too lazy and impatient to work the problem. Bob S > On Apr 3, 2020, at 14:27 , Ralph DiMola via use-livecode wrote: > > Graham, > > This my distance calculation for what it's worth. > > Function distance lat1, lon1, lat2, lon2, unit > -- Calculate Distance between to points > -- > --lat1, lon1, lat2, lon2 are in deg.fractionalDegrees > -- Unit > -- if empty then miles > -- K = kilometers > -- N = nautical miles > local theta > local dist > > Put lon1 - lon2 into theta > put Sin(deg2rad(lat1)) * Sin(deg2rad(lat2)) + Cos(deg2rad(lat1)) * Cos(deg2rad(lat2)) * Cos(deg2rad(theta)) into dist > > put Acos(dist) into dist > put rad2deg(dist) into dist > put dist * 60 * 1.1515 into dist > > switch unit > case "K" > put dist * 1.609344 into dist > case "N" > put dist * 0.8684 into dist > end switch > > Return dist > > End distance > > > Function rad2deg rad > Return rad / PI * 180.0 > end rad2deg > > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net From rdimola at evergreeninfo.net Fri Apr 3 17:45:22 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 3 Apr 2020 17:45:22 -0400 Subject: Getting started with geographical coordinates In-Reply-To: <860038C0-CA32-41BF-A8E1-1866E239D5C3@iotecdigital.com> References: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> <003901d609d2$f798d9a0$e6ca8ce0$@net> <095B4477-5D2B-4C7A-B465-C4B4A3FAFB44@mac.com> <1A5D1D18-7394-43D3-9F32-5B8767115830@mac.com> <004401d609fe$ae84a4c0$0b8dee40$@net> <860038C0-CA32-41BF-A8E1-1866E239D5C3@iotecdigital.com> Message-ID: <004b01d60a01$30166f30$90434d90$@net> Thanks Bob. Whoops... I forgot to include this: Function deg2rad deg Return (deg * PI / 180.0) end deg2rad 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: Friday, April 03, 2020 5:31 PM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: Ralph, this is brilliant. I remember trying to do something similar years ago, and giving up because I didn't know how to do the math. I suck at math, or rather I am too lazy and impatient to work the problem. Bob S > On Apr 3, 2020, at 14:27 , Ralph DiMola via use-livecode wrote: > > Graham, > > This my distance calculation for what it's worth. > > Function distance lat1, lon1, lat2, lon2, unit > -- Calculate Distance between to points > -- > --lat1, lon1, lat2, lon2 are in deg.fractionalDegrees > -- Unit > -- if empty then miles > -- K = kilometers > -- N = nautical miles > local theta > local dist > > Put lon1 - lon2 into theta > put Sin(deg2rad(lat1)) * Sin(deg2rad(lat2)) + Cos(deg2rad(lat1)) * Cos(deg2rad(lat2)) * Cos(deg2rad(theta)) into dist > > put Acos(dist) into dist > put rad2deg(dist) into dist > put dist * 60 * 1.1515 into dist > > switch unit > case "K" > put dist * 1.609344 into dist > case "N" > put dist * 0.8684 into dist > end switch > > Return dist > > End distance > > > Function rad2deg rad > Return rad / PI * 180.0 > end rad2deg > > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net _______________________________________________ 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 livfoss at mac.com Fri Apr 3 17:57:41 2020 From: livfoss at mac.com (Graham Samuel) Date: Fri, 3 Apr 2020 23:57:41 +0200 Subject: No subject In-Reply-To: <004401d609fe$ae84a4c0$0b8dee40$@net> References: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> <003901d609d2$f798d9a0$e6ca8ce0$@net> <095B4477-5D2B-4C7A-B465-C4B4A3FAFB44@mac.com> <1A5D1D18-7394-43D3-9F32-5B8767115830@mac.com> <004401d609fe$ae84a4c0$0b8dee40$@net> Message-ID: <005FEE20-9128-4604-B313-70A7845D992F@mac.com> Ralph, thanks very much. It?s late here, but this will get my full attention shortly! Graham > On 3 Apr 2020, at 23:27, Ralph DiMola via use-livecode wrote: > > Graham, > > This my distance calculation for what it's worth. > > Function distance lat1, lon1, lat2, lon2, unit > -- Calculate Distance between to points > -- > --lat1, lon1, lat2, lon2 are in deg.fractionalDegrees > -- Unit > -- if empty then miles > -- K = kilometers > -- N = nautical miles > local theta > local dist > > Put lon1 - lon2 into theta > put Sin(deg2rad(lat1)) * Sin(deg2rad(lat2)) + Cos(deg2rad(lat1)) * Cos(deg2rad(lat2)) * Cos(deg2rad(theta)) into dist > > put Acos(dist) into dist > put rad2deg(dist) into dist > put dist * 60 * 1.1515 into dist > > switch unit > case "K" > put dist * 1.609344 into dist > case "N" > put dist * 0.8684 into dist > end switch > > Return dist > > End distance > > > Function rad2deg rad > Return rad / PI * 180.0 > end rad2deg > > > 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 Graham Samuel via use-livecode > Sent: Friday, April 03, 2020 3:49 PM > To: How to use LiveCode > Cc: Graham Samuel > Subject: Re: Getting started with geographical coordinates > > This is cheeky but I can?t run up my mobile simulation today - can someone tell me the format of the geographical coordinates produced by mobileSensorReading et al. I mean, is say latitude just one integer showing seconds, or is it deg, min, sec - and are fractional seconds returned (so, floating point)? I shall find out for myself eventually but it would help a little to know now. AFAIKS there?s nothing in the LC documentation about it. > > Graham > > _______________________________________________ > 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 livfoss at mac.com Fri Apr 3 18:07:29 2020 From: livfoss at mac.com (Graham Samuel) Date: Sat, 4 Apr 2020 00:07:29 +0200 Subject: Getting started with geographical coordinates In-Reply-To: <79564CFA-8D0B-46A4-9576-FDB766AE306F@byu.edu> References: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> <003901d609d2$f798d9a0$e6ca8ce0$@net> <095B4477-5D2B-4C7A-B465-C4B4A3FAFB44@mac.com> <1A5D1D18-7394-43D3-9F32-5B8767115830@mac.com> <79564CFA-8D0B-46A4-9576-FDB766AE306F@byu.edu> Message-ID: A long way from me at 43?16?43?N?2?09?36?E - and much higher (I?m about 130m). Sorry not to be quite so accurate! Thanks Graham > On 3 Apr 2020, at 22:28, Devin Asay via use-livecode wrote: > > Graham, > > You get back lat and long in degrees and fractions of degrees, as a decimal numeral. For instance, I get latitude: 40.248676 and longitude: -111.651062, and for good measure altitude in meters at 1398.380493. Wow, now you all know exactly where I am! > > Devin > > > >> On Apr 3, 2020, at 1:49 PM, Graham Samuel via use-livecode wrote: >> >> This is cheeky but I can?t run up my mobile simulation today - can someone tell me the format of the geographical coordinates produced by mobileSensorReading et al. I mean, is say latitude just one integer showing seconds, or is it deg, min, sec - and are fractional seconds returned (so, floating point)? I shall find out for myself eventually but it would help a little to know now. AFAIKS there?s nothing in the LC documentation about it. >> >> Graham >> >> _______________________________________________ >> 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 > > Devin Asay > Director > Office of Digital Humanities > Brigham Young University > > _______________________________________________ > 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 Fri Apr 3 18:43:14 2020 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Fri, 3 Apr 2020 18:43:14 -0400 Subject: Getting started with geographical coordinates In-Reply-To: References: Message-ID: <9ED7D9E4-4F86-487E-B686-DB10A7E69844@midwestcoastmedia.com> I feel that Calculate Distance script has been shared before, because it looks strikingly similar to one that I use in my mobile app (and is WAY better written than I ever could have done), so thank you. Recently I was tasked by my cousin to come up with a delivery system for his brewery since they can only serve carryout during COVID. I did this using LiveCode server (https://midwestcoastmedia.com/beta_ltd/delivery.html ) with Google Maps (and Untappd) APIs. Your post made me realize that I can update my current basic mobileLocation usage from just the ?you are this far away? model to a ?here?s how to get here? system. So thanks EVERYONE on this refresher! Here is the relevant code if anyone else finds it of interest. I was using $_POST values from an HTML form but you could easily modify the origin and destination to a number of formats: ## https://developers.google.com/maps/documentation/directions/start put urlEncode("12365 N Dumont Way, Littleton, CO 80125, USA") into tOrigin // his brewery put "https://maps.googleapis.com/maps/api/directions/json?origin=" & tOrigin & "&destination=" into tAPIurl put urlEncode(tAddress1 & COMMA && tCity & COMMA && "CO" && tZip & COMMA && "USA") into tDestination put tDestination after tAPIurl put "&key=WHATEVERYOURAPIKEYISGOESHERE" after tAPIurl put url tAPIurl into tJSON ?Andrew Bell > > Ralph, this is brilliant. I remember trying to do something similar years ago, and giving up because I didn't know how to do the math. I suck at math, or rather I am too lazy and impatient to work the problem. > > Bob S > >> On Apr 3, 2020, at 14:27 , Ralph DiMola via use-livecode wrote: >> >> Graham, >> >> This my distance calculation for what it's worth. >> >> Function distance lat1, lon1, lat2, lon2, unit >> -- Calculate Distance between to points >> -- >> --lat1, lon1, lat2, lon2 are in deg.fractionalDegrees >> -- Unit >> -- if empty then miles >> -- K = kilometers >> -- N = nautical miles >> local theta >> local dist >> >> Put lon1 - lon2 into theta >> put Sin(deg2rad(lat1)) * Sin(deg2rad(lat2)) + Cos(deg2rad(lat1)) * Cos(deg2rad(lat2)) * Cos(deg2rad(theta)) into dist >> >> put Acos(dist) into dist >> put rad2deg(dist) into dist >> put dist * 60 * 1.1515 into dist >> >> switch unit >> case "K" >> put dist * 1.609344 into dist >> case "N" >> put dist * 0.8684 into dist >> end switch >> >> Return dist >> >> End distance >> >> >> Function rad2deg rad >> Return rad / PI * 180.0 >> end rad2deg >> >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net > > > From bvlahos at mac.com Fri Apr 3 18:59:22 2020 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 3 Apr 2020 15:59:22 -0700 Subject: Hide stack change focus not supported 64bit In-Reply-To: <6B15F759-78B6-432C-8149-082AC2AD8269@iotecdigital.com> References: <5EFA08A8-B098-4671-A346-FDAA0AA9C3B6@mac.com> <6B2DD84A-411B-4666-A07A-C8D496424509@mac.com> <7808B0D7-334E-49B2-AFB0-CD12BAE195EE@mac.com> <6B15F759-78B6-432C-8149-082AC2AD8269@iotecdigital.com> Message-ID: Bob, What file(s) do I need to add? When I try adding to Stack Properties it won?t let me select macOStools.lcb. I can add other files in the standalone builder I still don?t see macOStools.lcb in the Inclusions and it doesn?t hide. I think I need more complete instructions. Thank you, Bill > On Apr 3, 2020, at 8:13 AM, Bob Sneidar via use-livecode wrote: > > Open Stack Properties, add to the stackfiles. Also in the standalone builder you can add other files and folders that are not stack files. > > Bob S > > > On Apr 2, 2020, at 9:33 PM, Bill Vlahos via use-livecode > wrote: > > I don?t see it in the inclusions tab. > > How do I install your library? > > Thanks, From alex at tweedly.net Fri Apr 3 20:49:10 2020 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 4 Apr 2020 01:49:10 +0100 Subject: Getting started with geographical coordinates In-Reply-To: References: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> <003901d609d2$f798d9a0$e6ca8ce0$@net> <095B4477-5D2B-4C7A-B465-C4B4A3FAFB44@mac.com> <1A5D1D18-7394-43D3-9F32-5B8767115830@mac.com> <79564CFA-8D0B-46A4-9576-FDB766AE306F@byu.edu> Message-ID: <87a116b0-ff4b-f14d-1542-afe7136b3442@tweedly.net> And I'm at plump.magpie.tightest (sorry, no calculated height available, not even in annoying feet - but I'd guess somewhere around 2 or 3 metres). Alex. On 03/04/2020 23:07, Graham Samuel via use-livecode wrote: > A long way from me at 43?16?43?N?2?09?36?E - and much higher (I?m about 130m). Sorry not to be quite so accurate! > > Thanks > > Graham >> On 3 Apr 2020, at 22:28, Devin Asay via use-livecode wrote: >> >> Graham, >> >> You get back lat and long in degrees and fractions of degrees, as a decimal numeral. For instance, I get latitude: 40.248676 and longitude: -111.651062, and for good measure altitude in meters at 1398.380493. Wow, now you all know exactly where I am! >> >> Devin >> >> >> >>> On Apr 3, 2020, at 1:49 PM, Graham Samuel via use-livecode wrote: >>> >>> This is cheeky but I can?t run up my mobile simulation today - can someone tell me the format of the geographical coordinates produced by mobileSensorReading et al. I mean, is say latitude just one integer showing seconds, or is it deg, min, sec - and are fractional seconds returned (so, floating point)? I shall find out for myself eventually but it would help a little to know now. AFAIKS there?s nothing in the LC documentation about it. >>> >>> Graham >>> >>> _______________________________________________ >>> 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 >> Devin Asay >> Director >> Office of Digital Humanities >> Brigham Young University >> >> _______________________________________________ >> 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 Fri Apr 3 22:44:10 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 3 Apr 2020 19:44:10 -0700 Subject: Our first Community Zoom Session In-Reply-To: <273b154c-bedb-f974-5f74-9c5949635639@sonic.net> References: <888F945C-4D32-4AB2-984C-EBB5F158D838@iotecdigital.com> <965A8731-D6D2-4EB1-861C-5AB7C7498B63@pidigital.co.uk> <1713d641b58.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <273b154c-bedb-f974-5f74-9c5949635639@sonic.net> Message-ID: On 4/2/20 5:43 PM, Mark Wieder via use-livecode wrote: > I'd be more concerned about this vuln if I were running Windows. > Luckily there's a simple group policy or registry fix. > > > I'm *very* impressed with Zoom's engineering team, rolling out a new version to quash this vulnerability asap. I got prompted to install the new version this morning. Upgrading was painless. Not only is Zoom being super-responsive about this (and given the publicity lately it stands to reason that they would) but they're being upfront about the issues and backtracking and patching in public in real time. You don't often see companies with this size a customer base turn on a dime like this. -- Mark Wieder ahsoftware at gmail.com From sean at pidigital.co.uk Fri Apr 3 22:55:43 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Sat, 4 Apr 2020 03:55:43 +0100 Subject: Our first Community Zoom Session In-Reply-To: References: Message-ID: The proper security fixes come on April 5th I?m told. Today?s fixes were just a whole bunch of usability and feature fixes. But, even so, it ?is? very quick. I?m guessing their super happy people hooked onto them over the last two weeks. To the point that people everywhere are using Zoom as a verb in place of Skype. Almost to the same level as google! Sean Cole Pi Digital > On 4 Apr 2020, at 03:45, Mark Wieder via use-livecode wrote: > > ?On 4/2/20 5:43 PM, Mark Wieder via use-livecode wrote: > >> I'd be more concerned about this vuln if I were running Windows. >> Luckily there's a simple group policy or registry fix. >> > > I'm *very* impressed with Zoom's engineering team, rolling out a new version to quash this vulnerability asap. I got prompted to install the new version this morning. Upgrading was painless. Not only is Zoom being super-responsive about this (and given the publicity lately it stands to reason that they would) but they're being upfront about the issues and backtracking and patching in public in real time. You don't often see companies with this size a customer base turn on a dime like this. > > -- > 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 ambassador at fourthworld.com Sat Apr 4 01:27:24 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 3 Apr 2020 22:27:24 -0700 Subject: Our first Community Zoom Session In-Reply-To: References: Message-ID: <25b6a4dc-7f1a-3d52-8f4b-b0a943bf1090@fourthworld.com> Mark Wieder wrote: > I'm *very* impressed with Zoom's engineering team, rolling out a new > version to quash this vulnerability asap. I got prompted to install > the new version this morning. Upgrading was painless. Not only is > Zoom being super-responsive about this (and given the publicity lately > it stands to reason that they would) but they're being upfront about > the issues and backtracking and patching in public in real time. You > don't often see companies with this size a customer base turn on a > dime like this. +1 I knew nothing about Zoom until a few weeks ago, but everything I've read since is impressive. And as both technologists and citizens, in addition to what Zoom is, also valuable is what they're not: not Google Hangouts, not Apple FaceTime, not Microsoft Teams, etc. A startup this successful outside the Big Five is helpful for everyone, and devs in particular. Developers thrive in diverse and fluid ecosystems. And did you notice Zoom's API docs? https://marketplace.zoom.us/docs/guides/tools-resources/zoom-apis I've only started reading them, but the functionality seems like a very empowering compliment to LC's GUI capabilities, esp. for integrating with other services an organization may need. -- 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 livfoss at mac.com Sat Apr 4 04:38:39 2020 From: livfoss at mac.com (Graham Samuel) Date: Sat, 4 Apr 2020 10:38:39 +0200 Subject: Old Fossil seeks fast track assistance Message-ID: <1B5FE27E-88F3-4AEE-A696-DF8C658DB3A1@mac.com> Hi All - sorry this is a bit long, but I need help. I?m a long term LC developer who more or less retired from development a couple of years ago, but I?ve kept on lurking in this list and trying rather hopelessly to remain up to date. My experience has been mostly on desktop apps, with a little iOS work. I haven?t ever done much on Android. I have just about retained my credentials as an Apple developer. Now I find I really want to develop a mobile app at speed, and deploy it. I don?t anticipate all that much difficulty in creating my app in the sense of designing and coding it - this can call on my own quite extensive experience of the past, the LC documentation and this invaluable list. I can reasonable hope to create a prototype in a few days. However there is a massive gap: testing and deployment. I don?t have access to my most recent development machine (it?s in another country and I?m self-isolating), so I am working with an iMac that can only run MacOS High Sierra (and Windows 10 via Parallels, but I was hoping not to go there for this project). Now, I clearly need to organise the right version of XCode and the right SDK for my iOS development, and I need to do the equivalent thing for Android - and I don?t know how to do it. For iOS, I THINK I need XCode 10.2, which I?m trying to download to replace the copy of 9.2 already on my machine. I obviously need to work with a compatible SDK. For Android, I don?t know where to start, so for now I am putting this on the back burner, but I will have to return to it eventually. Even when I?ve lined all this up (if indeed it?s feasible), I then need to remind myself how to test via simulators (I used to be good at this, so maybe that is not so scary, but I am not at all up to date) and then I need to get the app onto real hardware - starting with iPhones, as I?ve got a few of these. I really don?t know how to do this for testing, and more so I don?t know how to distribute a test version to a small population of testers, although I know this is feasible. The whole project may crash and burn at this beta testing stage, so actually getting it into the App Store can wait a bit. Obviously I am not expecting people on this list to hold my hand at every step. My main concern is to be guided through the body of LC notes etc to get absolutely practical advice and recipes as to what to do at each stage. If I study the LC stuff long enough, I will get there, but I would dearly love help to fast-track it all. Thanks Graham From jeejeestudio at gmail.com Sat Apr 4 07:14:24 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sat, 4 Apr 2020 13:14:24 +0200 Subject: Speech on Android In-Reply-To: <008501d6093b$7e3b1510$7ab13f30$@net> References: <3c383fcd-050b-407f-dce0-5f906a59a232@gmail.com> <008501d6093b$7e3b1510$7ab13f30$@net> Message-ID: <63f5c5f1-537e-8551-9f41-648436b348a3@gmail.com> Thank you Ralph. I noticed that the Language on the Android system must be set to use the correct language. Else you get funny/strange results. I only have Dutch and English set. And when i set either of them on the first top place in system then my app talks correct. So to me it's also strange why it suddenly talked spanish. First i used my own wav samples, but i like this speech enigine very much. I will take a look at the lik you've provided. Ciao! Jerry Op 3-4-2020 om 00:10 schreef Ralph DiMola via use-livecode: > Jerry, > > There is a table here ==> cloud.google.com/text-to-speech/docs/voices > > Not an exact match but you might be able to correlate them to what the > Android OS returns. > > 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 JeeJeeStudio via use-livecode > Sent: Tuesday, March 31, 2020 8:38 AM > To: How to use LiveCode > Cc: JeeJeeStudio > Subject: Speech on Android > > Hi, > > > i have a few questions on speech used on android: > > > 1. can you use any available language or must the Android System be set on a > language? (i suspect the first) i choose an english and dutch lang, first it > worked, later it talked spanish...could be a mistake from me of course. > > 2. the list of available voice is filled with unrecoqnizable names like > nl-nl-x-lgc-network or nl-nl-x-dma-local, how can we change this like > male-female or with names like Hans-Cynthia-Ben-Susan > > > thanks > > Jerry > > > > _______________________________________________ > 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 david.bovill at gmail.com Sat Apr 4 07:20:06 2020 From: david.bovill at gmail.com (David Bovill) Date: Sat, 4 Apr 2020 12:20:06 +0100 Subject: Our first Community Zoom Session In-Reply-To: <25b6a4dc-7f1a-3d52-8f4b-b0a943bf1090@fourthworld.com> References: <25b6a4dc-7f1a-3d52-8f4b-b0a943bf1090@fourthworld.com> Message-ID: <249d6237-01c9-43c8-a950-35a002d2ca22@Spark> I?ve spent some time yesterday working on an open source Livecode library for the Zoom API. I?m hoping a few of us could start collaborating on that as an outcome of the Zoom today? Will try to get that on Github by the meeting. It?s a script only stack. Anyone else working with API?s and Livecode want to join? On 4 Apr 2020, 06:28 +0100, Richard Gaskin via use-livecode , wrote: > Mark Wieder wrote: > > > I'm *very* impressed with Zoom's engineering team, rolling out a new > > version to quash this vulnerability asap. I got prompted to install > > the new version this morning. Upgrading was painless. Not only is > > Zoom being super-responsive about this (and given the publicity lately > > it stands to reason that they would) but they're being upfront about > > the issues and backtracking and patching in public in real time. You > > don't often see companies with this size a customer base turn on a > > dime like this. > > +1 > > I knew nothing about Zoom until a few weeks ago, but everything I've > read since is impressive. > > And as both technologists and citizens, in addition to what Zoom is, > also valuable is what they're not: not Google Hangouts, not Apple > FaceTime, not Microsoft Teams, etc. A startup this successful outside > the Big Five is helpful for everyone, and devs in particular. Developers > thrive in diverse and fluid ecosystems. > > And did you notice Zoom's API docs? > https://marketplace.zoom.us/docs/guides/tools-resources/zoom-apis > > I've only started reading them, but the functionality seems like a very > empowering compliment to LC's GUI capabilities, esp. for integrating > with other services an organization may need. > > -- > 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 david.bovill at gmail.com Sat Apr 4 07:28:59 2020 From: david.bovill at gmail.com (David Bovill) Date: Sat, 4 Apr 2020 12:28:59 +0100 Subject: Our first Community Zoom Session In-Reply-To: <249d6237-01c9-43c8-a950-35a002d2ca22@Spark> References: <25b6a4dc-7f1a-3d52-8f4b-b0a943bf1090@fourthworld.com> <249d6237-01c9-43c8-a950-35a002d2ca22@Spark> Message-ID: Except of course I missed the meeting :) Is the recording available yet? On 4 Apr 2020, 12:20 +0100, David Bovill , wrote: > I?ve spent some time yesterday working on an open source Livecode library for the Zoom API. I?m hoping a few of us could start collaborating on that as an outcome of the Zoom today? > > Will try to get that on Github by the meeting. It?s a script only stack. Anyone else working with API?s and Livecode want to join? > On 4 Apr 2020, 06:28 +0100, Richard Gaskin via use-livecode , wrote: > > Mark Wieder wrote: > > > > > I'm *very* impressed with Zoom's engineering team, rolling out a new > > > version to quash this vulnerability asap. I got prompted to install > > > the new version this morning. Upgrading was painless. Not only is > > > Zoom being super-responsive about this (and given the publicity lately > > > it stands to reason that they would) but they're being upfront about > > > the issues and backtracking and patching in public in real time. You > > > don't often see companies with this size a customer base turn on a > > > dime like this. > > > > +1 > > > > I knew nothing about Zoom until a few weeks ago, but everything I've > > read since is impressive. > > > > And as both technologists and citizens, in addition to what Zoom is, > > also valuable is what they're not: not Google Hangouts, not Apple > > FaceTime, not Microsoft Teams, etc. A startup this successful outside > > the Big Five is helpful for everyone, and devs in particular. Developers > > thrive in diverse and fluid ecosystems. > > > > And did you notice Zoom's API docs? > > https://marketplace.zoom.us/docs/guides/tools-resources/zoom-apis > > > > I've only started reading them, but the functionality seems like a very > > empowering compliment to LC's GUI capabilities, esp. for integrating > > with other services an organization may need. > > > > -- > > 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 jeejeestudio at gmail.com Sat Apr 4 07:42:11 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sat, 4 Apr 2020 13:42:11 +0200 Subject: Speech on Android In-Reply-To: References: <3c383fcd-050b-407f-dce0-5f906a59a232@gmail.com> Message-ID: Hi Monte, thanks for your answers. I also checked on stackOverflow, it seems more people have trouble with it, to simplify the names for it's users. The names also differ per country/language it seems. Probably there will some kind of logic, but we don't see it yet. I have no a recipe for the wrong language, but it has to do with how i programmed it. to be able to check what system language the user had set. I cleared that part of the script so i don't have it anymore unfortunately. Kind regards, Jerry Op 2-4-2020 om 23:29 schreef Monte Goulding via use-livecode: > Hi Jerry > >> On 31 Mar 2020, at 11:38 pm, JeeJeeStudio via use-livecode wrote: >> 1. can you use any available language or must the Android System be set on a language? (i suspect the first) i choose an english and dutch lang, first it worked, later it talked spanish...could be a mistake from me of course. > The default voice will be in the user?s chosen locale but the voice locale is in the array returned from speechGetVoices(). If you have a recipe where that?s not the case then please post a bug report. > >> 2. the list of available voice is filled with unrecoqnizable names like nl-nl-x-lgc-network or nl-nl-x-dma-local, how can we change this like male-female or with names like Hans-Cynthia-Ben-Susan > Unfortunately Android does not appear to have any user friendly names for voices. > > 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 rdimola at evergreeninfo.net Sat Apr 4 10:47:46 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 4 Apr 2020 10:47:46 -0400 Subject: Getting started with geographical coordinates In-Reply-To: <860038C0-CA32-41BF-A8E1-1866E239D5C3@iotecdigital.com> References: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> <003901d609d2$f798d9a0$e6ca8ce0$@net> <095B4477-5D2B-4C7A-B465-C4B4A3FAFB44@mac.com> <1A5D1D18-7394-43D3-9F32-5B8767115830@mac.com> <004401d609fe$ae84a4c0$0b8dee40$@net> <860038C0-CA32-41BF-A8E1-1866E239D5C3@iotecdigital.com> Message-ID: <000701d60a90$04555d40$0d0017c0$@net> A friend of mine turned me on to this 10 years ago. This is the Haversine formula. It assumes that the earth is sphere and is not very accurate for very small distances. I have not tried to use the Vincenty's formula that does better. For general purposes the HF should be sufficient. Just give me the credit for LC implementation of a friends of mines routine. Although I understand how it works the real credit goes to Don Josef de Mendoza y Rios in 1796. The girls and boys doing math in that period really set the stage. This brought me back to my CGI days when I was patting myself on the back when I self learned(with a friends help after reading the Kreyszig) how to move points in space and calculate lighting. I then self reflected and realized that I was just putting together the pieces of math that these folks created out of thin air. I still felt like I accomplished something but very much smaller the scheme of things. 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: Friday, April 03, 2020 5:31 PM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: Ralph, this is brilliant. I remember trying to do something similar years ago, and giving up because I didn't know how to do the math. I suck at math, or rather I am too lazy and impatient to work the problem. Bob S > On Apr 3, 2020, at 14:27 , Ralph DiMola via use-livecode wrote: > > Graham, > > This my distance calculation for what it's worth. > > Function distance lat1, lon1, lat2, lon2, unit > -- Calculate Distance between to points > -- > --lat1, lon1, lat2, lon2 are in deg.fractionalDegrees > -- Unit > -- if empty then miles > -- K = kilometers > -- N = nautical miles > local theta > local dist > > Put lon1 - lon2 into theta > put Sin(deg2rad(lat1)) * Sin(deg2rad(lat2)) + Cos(deg2rad(lat1)) * Cos(deg2rad(lat2)) * Cos(deg2rad(theta)) into dist > > put Acos(dist) into dist > put rad2deg(dist) into dist > put dist * 60 * 1.1515 into dist > > switch unit > case "K" > put dist * 1.609344 into dist > case "N" > put dist * 0.8684 into dist > end switch > > Return dist > > End distance > > > Function rad2deg rad > Return rad / PI * 180.0 > end rad2deg > > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net _______________________________________________ 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 Sat Apr 4 10:45:07 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 4 Apr 2020 07:45:07 -0700 Subject: Our first Community Zoom Session In-Reply-To: <25b6a4dc-7f1a-3d52-8f4b-b0a943bf1090@fourthworld.com> References: <25b6a4dc-7f1a-3d52-8f4b-b0a943bf1090@fourthworld.com> Message-ID: On 4/3/20 10:27 PM, Richard Gaskin via use-livecode wrote: > And as both technologists and citizens, in addition to what Zoom is, > also valuable is what they're not: not Google Hangouts, not Apple > FaceTime, not Microsoft Teams, etc.? A startup this successful outside > the Big Five is helpful for everyone, and devs in particular. Developers > thrive in diverse and fluid ecosystems. Well, zoom is hardly a startup any more. I've been using zoom for some... er... seven or eight years now. Was nice when I was working around the corner from their office and we could walk over and complain about a feature. They've got enough servers to handle the throughput of the sudden surge in volume of new users. Which makes it even more impressive that they've declared a 90-day moratorium on new features to work on bug fixes. Would be great if other companies would do the same in this break from normal. -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Sat Apr 4 11:10:50 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 4 Apr 2020 15:10:50 +0000 Subject: Our first Community Zoom Session In-Reply-To: <25b6a4dc-7f1a-3d52-8f4b-b0a943bf1090@fourthworld.com> References: <25b6a4dc-7f1a-3d52-8f4b-b0a943bf1090@fourthworld.com> Message-ID: Richard, Without going into the details of the API, do you think a kind of Customer Support portal could be built into LC? Bob S On Apr 3, 2020, at 10:27 PM, Richard Gaskin via use-livecode > wrote: Mark Wieder wrote: > I'm *very* impressed with Zoom's engineering team, rolling out a new > version to quash this vulnerability asap. I got prompted to install > the new version this morning. Upgrading was painless. Not only is > Zoom being super-responsive about this (and given the publicity lately > it stands to reason that they would) but they're being upfront about > the issues and backtracking and patching in public in real time. You > don't often see companies with this size a customer base turn on a > dime like this. +1 I knew nothing about Zoom until a few weeks ago, but everything I've read since is impressive. And as both technologists and citizens, in addition to what Zoom is, also valuable is what they're not: not Google Hangouts, not Apple FaceTime, not Microsoft Teams, etc. A startup this successful outside the Big Five is helpful for everyone, and devs in particular. Developers thrive in diverse and fluid ecosystems. And did you notice Zoom's API docs? https://marketplace.zoom.us/docs/guides/tools-resources/zoom-apis I've only started reading them, but the functionality seems like a very empowering compliment to LC's GUI capabilities, esp. for integrating with other services an organization may need. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web From prothero at earthlearningsolutions.org Sat Apr 4 11:31:22 2020 From: prothero at earthlearningsolutions.org (Prothero-earthlearningsol) Date: Sat, 4 Apr 2020 08:31:22 -0700 Subject: Our first Community Zoom Session In-Reply-To: References: Message-ID: Folks, I could see a Zoom feature that supports an online class. One pedagogical approach would be for a teacher to present a short overview of a subject, students are put into small video chat groups of 3 or 4 to work out an answer, then they present it to the class as a whole. There are many ways that livecode could provide support, with Zoom on the side. Like managing group membership, providing hints, leading questions, a displayable receptacle for their group?s findings, suggested links to explore for content, the list goes on and on. Just thinking out loud. Best, Bill William Prothero http://es.earthednet.org > On Apr 4, 2020, at 8:11 AM, Bob Sneidar via use-livecode wrote: > > ?Richard, > > Without going into the details of the API, do you think a kind of Customer Support portal could be built into LC? > > Bob S > > >> On Apr 3, 2020, at 10:27 PM, Richard Gaskin via use-livecode > wrote: >> >> Mark Wieder wrote: >> >> I'm *very* impressed with Zoom's engineering team, rolling out a new >> version to quash this vulnerability asap. I got prompted to install >> the new version this morning. Upgrading was painless. Not only is >> Zoom being super-responsive about this (and given the publicity lately >> it stands to reason that they would) but they're being upfront about >> the issues and backtracking and patching in public in real time. You >> don't often see companies with this size a customer base turn on a >> dime like this. > > +1 > > I knew nothing about Zoom until a few weeks ago, but everything I've read since is impressive. > > And as both technologists and citizens, in addition to what Zoom is, also valuable is what they're not: not Google Hangouts, not Apple FaceTime, not Microsoft Teams, etc. A startup this successful outside the Big Five is helpful for everyone, and devs in particular. Developers thrive in diverse and fluid ecosystems. > > And did you notice Zoom's API docs? > https://marketplace.zoom.us/docs/guides/tools-resources/zoom-apis > > I've only started reading them, but the functionality seems like a very empowering compliment to LC's GUI capabilities, esp. for integrating with other services an organization may need. > > -- > 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 danoldboy at gmail.com Sat Apr 4 11:33:01 2020 From: danoldboy at gmail.com (Dan Brown) Date: Sat, 4 Apr 2020 16:33:01 +0100 Subject: Our first Community Zoom Session In-Reply-To: References: <25b6a4dc-7f1a-3d52-8f4b-b0a943bf1090@fourthworld.com> <249d6237-01c9-43c8-a950-35a002d2ca22@Spark> Message-ID: Definitely not a startup, they employ 700 developers in China. In fact your data is passing through China, and being passed on to facebook also. https://jitsi.org/ is a great open source Zoom alternative On Sat, 4 Apr 2020, 12:30 David Bovill via use-livecode, < use-livecode at lists.runrev.com> wrote: > Except of course I missed the meeting :) > > Is the recording available yet? > > On 4 Apr 2020, 12:20 +0100, David Bovill , wrote: > > I?ve spent some time yesterday working on an open source Livecode > library for the Zoom API. I?m hoping a few of us could start collaborating > on that as an outcome of the Zoom today? > > > > Will try to get that on Github by the meeting. It?s a script only stack. > Anyone else working with API?s and Livecode want to join? > > On 4 Apr 2020, 06:28 +0100, Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com>, wrote: > > > Mark Wieder wrote: > > > > > > > I'm *very* impressed with Zoom's engineering team, rolling out a new > > > > version to quash this vulnerability asap. I got prompted to install > > > > the new version this morning. Upgrading was painless. Not only is > > > > Zoom being super-responsive about this (and given the publicity > lately > > > > it stands to reason that they would) but they're being upfront about > > > > the issues and backtracking and patching in public in real time. You > > > > don't often see companies with this size a customer base turn on a > > > > dime like this. > > > > > > +1 > > > > > > I knew nothing about Zoom until a few weeks ago, but everything I've > > > read since is impressive. > > > > > > And as both technologists and citizens, in addition to what Zoom is, > > > also valuable is what they're not: not Google Hangouts, not Apple > > > FaceTime, not Microsoft Teams, etc. A startup this successful outside > > > the Big Five is helpful for everyone, and devs in particular. > Developers > > > thrive in diverse and fluid ecosystems. > > > > > > And did you notice Zoom's API docs? > > > https://marketplace.zoom.us/docs/guides/tools-resources/zoom-apis > > > > > > I've only started reading them, but the functionality seems like a very > > > empowering compliment to LC's GUI capabilities, esp. for integrating > > > with other services an organization may need. > > > > > > -- > > > 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 > _______________________________________________ > 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 Sat Apr 4 11:37:35 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 4 Apr 2020 15:37:35 +0000 Subject: Getting started with geographical coordinates In-Reply-To: <000701d60a90$04555d40$0d0017c0$@net> References: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> <003901d609d2$f798d9a0$e6ca8ce0$@net> <095B4477-5D2B-4C7A-B465-C4B4A3FAFB44@mac.com> <1A5D1D18-7394-43D3-9F32-5B8767115830@mac.com> <004401d609fe$ae84a4c0$0b8dee40$@net> <860038C0-CA32-41BF-A8E1-1866E239D5C3@iotecdigital.com> <000701d60a90$04555d40$0d0017c0$@net> Message-ID: <25F05DCC-39D4-41F9-BA59-21CE4CAB9D76@iotecdigital.com> [ALERT: Waxing Philosophical] I wholeheartedly agree. These people UNDERSTOOD Mathematics. This was a big problem for me as a child. I failed 6th grade math and had to go to summer school to pass, partly because I was lazy and wouldn?t do my home work, but also because I would sit in class and try to figure the nature of a problem, rather than just memorize the formulas. All the teachers wanted us to do was memorize things and pass quizzes. When I got to Algebra however, I got 2 Bs, a C+ and the rest As, mainly because I had an AWESOME teacher who would take the time during and after class to explain to us the nature of what we were learning. Geometry, pretty much the same. As a radar technician in the navy, some degree of Calculus became essential. Once I caught on, I realized that Mathematics was really a kind of numerical language for defining aspects of this 3 dimensional nature we call The Universe. If you have enough time, you can use Mathematics to define anything that exists, at least to whatever degree of resolution is required. That made sense to me, and I could see how it could be applied to great effect in any number of ways, so that got me hooked. The problems I had with Mathematics still plagues me with Software Development. I fall into a trap sometimes of trying to see the whole picture, when what I really need to do at that moment is focus on a single aspect of what I am doing. It?s gotten a lot better though with time. I?ve learned to push aside that nagging urge to step back and work out the entire problem, and instead just get done what i?m presently on. Mathematics, like Software Development, is exacting. Get any part of the equation wrong, and the result will be wrong. C.S. Lewis applies this principle to understanding why it is we sometimes need to think again about our world view. Once we see that the way we thought about some important aspect life was incorrect or misguided, it won?t do to continue on, simply because we want to continue to "make progress.? He writes that while on a journey, once you have discovered you have taken a wrong turn, it isn?t progress at all to continue on the path you are on. You will never get to your desired destination. There?s nothing for it but to turn around and go back to where you went wrong, and begin again. Bob S On Apr 4, 2020, at 7:47 AM, Ralph DiMola via use-livecode > wrote: The girls and boys doing math in that period really set the stage. This brought me back to my CGI days when I was patting myself on the back when I self learned(with a friends help after reading the Kreyszig) how to move points in space and calculate lighting. I then self reflected and realized that I was just putting together the pieces of math that these folks created out of thin air. I still felt like I accomplished something but very much smaller the scheme of things. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From ahsoftware at sonic.net Sat Apr 4 12:20:58 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 4 Apr 2020 09:20:58 -0700 Subject: Getting started with geographical coordinates In-Reply-To: <25F05DCC-39D4-41F9-BA59-21CE4CAB9D76@iotecdigital.com> References: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> <003901d609d2$f798d9a0$e6ca8ce0$@net> <095B4477-5D2B-4C7A-B465-C4B4A3FAFB44@mac.com> <1A5D1D18-7394-43D3-9F32-5B8767115830@mac.com> <004401d609fe$ae84a4c0$0b8dee40$@net> <860038C0-CA32-41BF-A8E1-1866E239D5C3@iotecdigital.com> <000701d60a90$04555d40$0d0017c0$@net> <25F05DCC-39D4-41F9-BA59-21CE4CAB9D76@iotecdigital.com> Message-ID: <584ad097-9ac2-56df-bbff-da4285598a1c@sonic.net> On 4/4/20 8:37 AM, Bob Sneidar via use-livecode wrote: > Once I caught on, I realized that Mathematics was really a kind of numerical language for defining aspects of this 3 dimensional nature we call The Universe. You're still stuck in 3? Try 10. https://www.youtube.com/watch?v=0ca4miMMaCE -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Sat Apr 4 12:56:31 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 4 Apr 2020 16:56:31 +0000 Subject: Script Only Stack Properties Message-ID: Hi all. I just discovered an interesting aspect of script only stacks. They CAN have Custom Properties? but ONLY while in memory! Once closed, the properties disappear. Seems like a slight mod would be able to save these properties as a separate file so that they can remain persistent. Gonna hafta look into this! Bob S From jacque at hyperactivesw.com Sat Apr 4 13:20:56 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 04 Apr 2020 12:20:56 -0500 Subject: Script Only Stack Properties In-Reply-To: References: Message-ID: <1714635b0c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> When a script only stack is opened, LC creates a temporary stack and plops the script into it. At that point its just like any other library stack. You could add images, controls, other scripts, custom props, anything. The only difference is that when the stack closes, the text of the stack script is written back to the file and everything else is lost. I suppose you could put custom properties at the top of the stack script inside a comment block, and set them up normally by script when the stack opens. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 4, 2020 11:58:33 AM Bob Sneidar via use-livecode wrote: > Hi all. > > I just discovered an interesting aspect of script only stacks. They CAN > have Custom Properties? but ONLY while in memory! Once closed, the > properties disappear. Seems like a slight mod would be able to save these > properties as a separate file so that they can remain persistent. > > Gonna hafta look into this! > > 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 Sat Apr 4 13:23:15 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 4 Apr 2020 17:23:15 +0000 Subject: Getting started with geographical coordinates In-Reply-To: <584ad097-9ac2-56df-bbff-da4285598a1c@sonic.net> References: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> <003901d609d2$f798d9a0$e6ca8ce0$@net> <095B4477-5D2B-4C7A-B465-C4B4A3FAFB44@mac.com> <1A5D1D18-7394-43D3-9F32-5B8767115830@mac.com> <004401d609fe$ae84a4c0$0b8dee40$@net> <860038C0-CA32-41BF-A8E1-1866E239D5C3@iotecdigital.com> <000701d60a90$04555d40$0d0017c0$@net> <25F05DCC-39D4-41F9-BA59-21CE4CAB9D76@iotecdigital.com> <584ad097-9ac2-56df-bbff-da4285598a1c@sonic.net> Message-ID: <08EFA98D-0AFC-4B06-A9DC-7BF6839C27F3@iotecdigital.com> I see where people get confused. When we talk about dimensions, for most people the ?Physical? in ?Physical Dimensions? is implied, just like when Dad says, ?Hand me the map?, what he really means is, ?Hand me the plastic coated street and highway map of the state of California that we just purchased at the 7-11 10 minutes ago". We use these abbreviated forms of implicit communication because being absolutely specific about aspect of every object or idea we wish to convey would be impossible. Put another way, a chemist might say, ?when I heat water to 212 degrees Farenheight, the water boils.? Implicit in that statement is the fact that he is at sea level, that the water is pure, that he is on the planet earth, that the air pressure is at or near a certain level, etc. Every such statement contains the unspoken, ?All other things being equal? clause we always unconsciously take for granted. So when physicists call Time (or anything else) another dimension, they are pulling a kind of, "bait and switch?. They stop talking about ?Physical? dimensions, and begin talking about something else, but they never warn us of this transition! Here?s why I do not believe there are any more dimensions in the classical sense. If I alter one of the dimensions of a 3D object, I do not affect the other two dimensions. But if a alter time itself, I alter ALL of the other 3 dimensions. Time is more like a modifier of the physical dimensions. (One could also argue that spacial dimension creates the effect of time.) Think of it this way. If I could make time infinitely short, everything would be reduced to an infinitely small point, because for there to be anything else, an object could theoretically be at one point in space and not another, implying that at another time it could be at another and not the original point. This is an effect bantied about when discussing traveling at near light speeds. Not only does time compress (it is thought) but so does matter. The implication is that if you could get everywhere infinitely fast you would already be there and so there would be no time. And no space for that matter. Bob S On Apr 4, 2020, at 9:20 AM, Mark Wieder via use-livecode > wrote: On 4/4/20 8:37 AM, Bob Sneidar via use-livecode wrote: Once I caught on, I realized that Mathematics was really a kind of numerical language for defining aspects of this 3 dimensional nature we call The Universe. You're still stuck in 3? Try 10. https://www.youtube.com/watch?v=0ca4miMMaCE -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Sat Apr 4 13:27:21 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 4 Apr 2020 17:27:21 +0000 Subject: Script Only Stack Properties In-Reply-To: <1714635b0c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1714635b0c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hmmm? If that is the case then theoretically, on closeStack the new properties could be arrayEncoded and saved to disk, and then on openStack they could be read and then arrayDecoded and reset again. Bob S On Apr 4, 2020, at 10:20 AM, J. Landman Gay via use-livecode > wrote: When a script only stack is opened, LC creates a temporary stack and plops the script into it. At that point its just like any other library stack. You could add images, controls, other scripts, custom props, anything. The only difference is that when the stack closes, the text of the stack script is written back to the file and everything else is lost. I suppose you could put custom properties at the top of the stack script inside a comment block, and set them up normally by script when the stack opens. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Apr 4 13:59:44 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 04 Apr 2020 12:59:44 -0500 Subject: Getting started with geographical coordinates In-Reply-To: <08EFA98D-0AFC-4B06-A9DC-7BF6839C27F3@iotecdigital.com> References: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> <003901d609d2$f798d9a0$e6ca8ce0$@net> <095B4477-5D2B-4C7A-B465-C4B4A3FAFB44@mac.com> <1A5D1D18-7394-43D3-9F32-5B8767115830@mac.com> <004401d609fe$ae84a4c0$0b8dee40$@net> <860038C0-CA32-41BF-A8E1-1866E239D5C3@iotecdigital.com> <000701d60a90$04555d40$0d0017c0$@net> <25F05DCC-39D4-41F9-BA59-21CE4CAB9D76@iotecdigital.com> <584ad097-9ac2-56df-bbff-da4285598a1c@sonic.net> <08EFA98D-0AFC-4B06-A9DC-7BF6839C27F3@iotecdigital.com> Message-ID: <17146593680.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> A quip from my college days: Time is what keeps everything from happening all at once. Space is what keeps everything from happening to YOU. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 4, 2020 12:25:14 PM Bob Sneidar via use-livecode wrote: > I see where people get confused. When we talk about dimensions, for most > people the ?Physical? in ?Physical Dimensions? is implied, just like when > Dad says, ?Hand me the map?, what he really means is, ?Hand me the plastic > coated street and highway map of the state of California that we just > purchased at the 7-11 10 minutes ago". We use these abbreviated forms of > implicit communication because being absolutely specific about aspect of > every object or idea we wish to convey would be impossible. > > Put another way, a chemist might say, ?when I heat water to 212 degrees > Farenheight, the water boils.? Implicit in that statement is the fact that > he is at sea level, that the water is pure, that he is on the planet earth, > that the air pressure is at or near a certain level, etc. Every such > statement contains the unspoken, ?All other things being equal? clause we > always unconsciously take for granted. > > So when physicists call Time (or anything else) another dimension, they are > pulling a kind of, "bait and switch?. They stop talking about ?Physical? > dimensions, and begin talking about something else, but they never warn us > of this transition! Here?s why I do not believe there are any more > dimensions in the classical sense. > > If I alter one of the dimensions of a 3D object, I do not affect the other > two dimensions. But if a alter time itself, I alter ALL of the other 3 > dimensions. Time is more like a modifier of the physical dimensions. (One > could also argue that spacial dimension creates the effect of time.) > > Think of it this way. If I could make time infinitely short, everything > would be reduced to an infinitely small point, because for there to be > anything else, an object could theoretically be at one point in space and > not another, implying that at another time it could be at another and not > the original point. > > This is an effect bantied about when discussing traveling at near light > speeds. Not only does time compress (it is thought) but so does matter. The > implication is that if you could get everywhere infinitely fast you would > already be there and so there would be no time. And no space for that matter. > > Bob S > > > On Apr 4, 2020, at 9:20 AM, Mark Wieder via use-livecode > > wrote: > > On 4/4/20 8:37 AM, Bob Sneidar via use-livecode wrote: > > Once I caught on, I realized that Mathematics was really a kind of > numerical language for defining aspects of this 3 dimensional nature we > call The Universe. > > You're still stuck in 3? Try 10. > > https://www.youtube.com/watch?v=0ca4miMMaCE > > -- > 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 ambassador at fourthworld.com Sat Apr 4 14:14:40 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 4 Apr 2020 11:14:40 -0700 Subject: Script Only Stack Properties In-Reply-To: References: Message-ID: Bob Sneidar wrote: > I just discovered an interesting aspect of script only stacks. They > CAN have Custom Properties? but ONLY while in memory! Once closed, the > properties disappear. Seems like a slight mod would be able to save > these properties as a separate file so that they can remain > persistent. Yep. So much of the difficulty folks have had using SoS come from just over-thinking them. A stack is a stack is a stack. With script-only stacks there is one distinction: the storage format contains only the stack script, and optionally a behavior reference. That's it. Everything else you can do with a stack at runtime can be done with any stack, regardless of its storage format. Indeed, nearly everything we see in the IDE these days are SoS. -- 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 Sat Apr 4 14:17:55 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 4 Apr 2020 11:17:55 -0700 Subject: Script Only Stack Properties In-Reply-To: References: Message-ID: <6213d8c4-81e5-c4c9-0b88-c046cee77e7c@fourthworld.com> Bob Sneidar wrote: > Hmmm? If that is the case then theoretically, on closeStack the new > properties could be arrayEncoded and saved to disk, and then on > openStack they could be read and then arrayDecoded and reset again. Stacks can also contain controls, each of which can be expressed as an array of properties. You could craft an array-based format to allow storage and recreation of even complex GUI stacks. What you'd have is a binary file dependent on a lot of scripted code. Meanwhile, we already have a binary format handled robustly in the compiled object code of the engine. :) -- 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 Sat Apr 4 14:23:23 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 4 Apr 2020 18:23:23 +0000 Subject: Script Only Stack Properties In-Reply-To: <6213d8c4-81e5-c4c9-0b88-c046cee77e7c@fourthworld.com> References: <6213d8c4-81e5-c4c9-0b88-c046cee77e7c@fourthworld.com> Message-ID: True, but with properties, I can envision a use case for persistent values between sessions. This is quite separate from GUI objects. By saving and reloading properties of a script only stack, everything is still text file only based. Bob S On Apr 4, 2020, at 11:17 AM, Richard Gaskin via use-livecode > wrote: Bob Sneidar wrote: > Hmmm? If that is the case then theoretically, on closeStack the new > properties could be arrayEncoded and saved to disk, and then on > openStack they could be read and then arrayDecoded and reset again. Stacks can also contain controls, each of which can be expressed as an array of properties. You could craft an array-based format to allow storage and recreation of even complex GUI stacks. What you'd have is a binary file dependent on a lot of scripted code. Meanwhile, we already have a binary format handled robustly in the compiled object code of the engine. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web From ambassador at fourthworld.com Sat Apr 4 14:28:58 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 4 Apr 2020 11:28:58 -0700 Subject: Our first Community Zoom Session In-Reply-To: References: Message-ID: Bob Sneidar worte: > Richard wrote: >> And did you notice Zoom's API docs? >> https://marketplace.zoom.us/docs/guides/tools-resources/zoom-apis >> >> I've only started reading them, but the functionality seems like >> a very empowering compliment to LC's GUI capabilities, esp. for >> integrating with other services an organization may need. > > > Richard, > > Without going into the details of the API, do you think a kind of > Customer Support portal could be built into LC? Why not? And imagine what can be done integrating the workflow with other services useful to an organization, including perhaps an issue tracker, project management, contacts, content management, any of the great tools in Nextcloud, or MS Teams, or as Bill Prothero suggests, a learning management system. The ways in which cloud services can be made even more useful by mixing and matching them to fit the unique needs of an organization are nearly limitless. LiveCode can be used to provide attractive, feature-rich UIs that turn disparate services into a cohesive workflow. I believe that this painfully disruptive moment in history provides all of us with thousands of ways yet to be discovered that we can lend our talents and interests to helping organizations get through this transition with less difficulty. -- 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 Sat Apr 4 14:38:15 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 4 Apr 2020 11:38:15 -0700 Subject: Script Only Stack Properties In-Reply-To: References: Message-ID: Bob Sneidar wrote: > True, but with properties, I can envision a use case for persistent > values between sessions. Persistence is essential in many contexts. But is it necessary that data be bound to code? Sometimes it is. When it is, is it necessary that the file format be text? > This is quite separate from GUI objects. Is it? What are objects but a type declaration followed by a set of properties? > By saving and reloading properties of a script only stack, everything > is still text file only based. Encoding the array would be the simplest, fastest, and most robust option. LSON is to LC what JSON is to JS, the most with-the-grain serialization method for the scripting engine it was designed for. But in one respect LSON is more akin to MondgoDB's BSON: it's more efficient than JSON because the format is binary, requiring fewer steps to de-serialize. So if your circumstance requires you to be working exclusively with text files, LSON is a non-starter. Then you can choose among JSON, YAML, XML, ISHI, or any number of other plain-text serialization formats. When I need to combine code with data, I usually use stack files. If I need data alone, I often use LSON. If the project requires that the storage format be interoperable, then I look at other options. -- 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 Sat Apr 4 14:43:17 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 4 Apr 2020 11:43:17 -0700 Subject: Our first Community Zoom Session In-Reply-To: References: Message-ID: <900083eb-f19a-03c1-32bb-c5052a8e89ce@fourthworld.com> Dan Brown wrote: > Definitely not a startup, they employ 700 developers in China. True, "startup" was a bad word choice on my part. I was grasping for a word that distinguishes them from The Big Five that currently control nearly everything on the Internet. In a system as vast and important as the net, it benefits all of humanity to have its control broader than the number of people who can fit in a golf cart. > In fact your data is passing through China, and being passed on to > facebook also. I had heard about the FB thing, but had thought that was opt-in. If not requiring explicit opt-in, I don't think the word "evil" is entirely out of bounds. Psychosocial profiling derived from mass data collection is something we should all be wary of. > https://jitsi.org/ is a great open source Zoom alternative Excellent - thanks! I'll look it up and see what it takes to set up a VPS with 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 david.bovill at gmail.com Sat Apr 4 15:01:20 2020 From: david.bovill at gmail.com (David Bovill) Date: Sat, 4 Apr 2020 20:01:20 +0100 Subject: Our first Community Zoom Session In-Reply-To: References: Message-ID: We have some experience for running learning groups and breakouts in Zoom. Would love to help trial that at the next Zoom? On 4 Apr 2020, 19:29 +0100, Richard Gaskin via use-livecode , wrote: > Bob Sneidar worte: > > > Richard wrote: > > > And did you notice Zoom's API docs? > > > https://marketplace.zoom.us/docs/guides/tools-resources/zoom-apis > > > > > > I've only started reading them, but the functionality seems like > > > a very empowering compliment to LC's GUI capabilities, esp. for > > > integrating with other services an organization may need. > > > > > > Richard, > > > > Without going into the details of the API, do you think a kind of > > Customer Support portal could be built into LC? > > Why not? > > And imagine what can be done integrating the workflow with other > services useful to an organization, including perhaps an issue tracker, > project management, contacts, content management, any of the great tools > in Nextcloud, or MS Teams, or as Bill Prothero suggests, a learning > management system. > > The ways in which cloud services can be made even more useful by mixing > and matching them to fit the unique needs of an organization are nearly > limitless. > > LiveCode can be used to provide attractive, feature-rich UIs that turn > disparate services into a cohesive workflow. > > I believe that this painfully disruptive moment in history provides all > of us with thousands of ways yet to be discovered that we can lend our > talents and interests to helping organizations get through this > transition with less difficulty. > > -- > 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 Sat Apr 4 15:29:08 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 4 Apr 2020 12:29:08 -0700 Subject: Our first Community Zoom Session In-Reply-To: References: <25b6a4dc-7f1a-3d52-8f4b-b0a943bf1090@fourthworld.com> <249d6237-01c9-43c8-a950-35a002d2ca22@Spark> Message-ID: <2917fa8e-9439-6c69-fab0-854a7bf2f8ec@sonic.net> On 4/4/20 8:33 AM, Dan Brown via use-livecode wrote: > https://jitsi.org/ is a great open source Zoom alternative Jitsi looks very impressive *if* you're running your own server. Everything is encrypted from end to end *except* on the server itself, so you probably don't want to use their cloud server if you're looking for security. ...and as long as you're not running linux. I gave it two attempts and decided they're not quite ready for the big leagues yet. Too many unmet java dependencies. All I got launching from a commandline was pages of java errors and a hung application. Launching from the menu after installation was worse - just a hung app that had to be kill -9ed. Seemed to work fine on OSX though, once I figured out that the prefs panel was hidden behind the main window. But I like the idea a lot, especially in terms of low latency - it's basically a passthrough that supports encrypted communications. -- Mark Wieder ahsoftware at gmail.com From curry at pair.com Sat Apr 4 15:30:39 2020 From: curry at pair.com (Curry Kenworthy) Date: Sat, 4 Apr 2020 15:30:39 -0400 Subject: How to find the column and row of a basic tableField In-Reply-To: References: Message-ID: <1f6cf5f7-f563-f67c-f23e-dcd6d3b0f1d9@pair.com> PS - Here are two word problems to view this type of algorithm in a bigger context beyond just software UI. Not too scary or difficult; our ancestors could solve similar problems, and so can kids in school. Older problem: You are in charge of preparing animal enclosures for a market. The marketplace has several pens that respectively hold 20, 15, 30, and 25 goats and will be filled in that order. If 42 goats are expected, how many of the pens will be needed? Newer problem: Your app has a field with tabWidths of 200, 150, 300, and 250 (or the equivalent tabStops). The user's clickH minus left edge of the field and margin is 420. Assuming field hScroll is 0 and standard borders, which column did the user click? (Then write an LC function to solve for any clickH and tabStops.) Great exercise for an intermediate LC student to solve WITHOUT having previously seen solution source code! I'm fond of this type of problem. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From jacque at hyperactivesw.com Sat Apr 4 15:30:51 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 4 Apr 2020 14:30:51 -0500 Subject: HilitedItem of a navbar Message-ID: I can't set this to 0? I need to. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From david.bovill at gmail.com Sat Apr 4 16:15:41 2020 From: david.bovill at gmail.com (David Bovill) Date: Sat, 4 Apr 2020 21:15:41 +0100 Subject: Our first Community Zoom Session In-Reply-To: <2917fa8e-9439-6c69-fab0-854a7bf2f8ec@sonic.net> References: <25b6a4dc-7f1a-3d52-8f4b-b0a943bf1090@fourthworld.com> <249d6237-01c9-43c8-a950-35a002d2ca22@Spark> <2917fa8e-9439-6c69-fab0-854a7bf2f8ec@sonic.net> Message-ID: Would be great to get that up and running. Matrix plays well with Jitsi, and is a great decentralised chat platform. On 4 Apr 2020, 20:30 +0100, Mark Wieder via use-livecode , wrote: > On 4/4/20 8:33 AM, Dan Brown via use-livecode wrote: > > > https://jitsi.org/ is a great open source Zoom alternative > > Jitsi looks very impressive *if* you're running your own server. > Everything is encrypted from end to end *except* on the server itself, > so you probably don't want to use their cloud server if you're looking > for security. > > ...and as long as you're not running linux. I gave it two attempts and > decided they're not quite ready for the big leagues yet. Too many unmet > java dependencies. All I got launching from a commandline was pages of > java errors and a hung application. Launching from the menu after > installation was worse - just a hung app that had to be kill -9ed. > Seemed to work fine on OSX though, once I figured out that the prefs > panel was hidden behind the main window. > > But I like the idea a lot, especially in terms of low latency - it's > basically a passthrough that supports encrypted communications. > > -- > 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 Sat Apr 4 16:16:33 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 4 Apr 2020 20:16:33 +0000 Subject: Getting started with geographical coordinates In-Reply-To: <17146593680.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> <003901d609d2$f798d9a0$e6ca8ce0$@net> <095B4477-5D2B-4C7A-B465-C4B4A3FAFB44@mac.com> <1A5D1D18-7394-43D3-9F32-5B8767115830@mac.com> <004401d609fe$ae84a4c0$0b8dee40$@net> <860038C0-CA32-41BF-A8E1-1866E239D5C3@iotecdigital.com> <000701d60a90$04555d40$0d0017c0$@net> <25F05DCC-39D4-41F9-BA59-21CE4CAB9D76@iotecdigital.com> <584ad097-9ac2-56df-bbff-da4285598a1c@sonic.net> <08EFA98D-0AFC-4B06-A9DC-7BF6839C27F3@iotecdigital.com> <17146593680.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <3C179730-4448-44E6-B2D2-4BBE6F228140@iotecdigital.com> Exactly. :-) Bob S On Apr 4, 2020, at 10:59 AM, J. Landman Gay via use-livecode > wrote: A quip from my college days: Time is what keeps everything from happening all at once. Space is what keeps everything from happening to YOU. -- Jacqueline Landman Gay | jacque at hyperactivesw.com From bobsneidar at iotecdigital.com Sat Apr 4 16:19:15 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 4 Apr 2020 20:19:15 +0000 Subject: HilitedItem of a navbar In-Reply-To: References: Message-ID: <03CF3134-9984-4FF9-976F-EB4219D4D454@iotecdigital.com> Try empty Bob S On Apr 4, 2020, at 12:30 PM, J. Landman Gay via use-livecode > wrote: I can't set this to 0? I need to. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From david.bovill at gmail.com Sat Apr 4 16:20:14 2020 From: david.bovill at gmail.com (David Bovill) Date: Sat, 4 Apr 2020 21:20:14 +0100 Subject: Script Only Stack Properties In-Reply-To: References: Message-ID: <28dc8fe3-c77e-4a66-a0be-0c156c14a85a@Spark> The approach I take is to use getorop and set prop handlers for this. The data is then seperated from the code and Ibuse one standardised technique for accessing a model: out the model_Data of stack stackName into someData On 4 Apr 2020, 19:39 +0100, How to use LiveCode , wrote: > > ? > > What are objects but a type declaration followed by a set of properties From jeejeestudio at gmail.com Sat Apr 4 17:12:18 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sat, 4 Apr 2020 23:12:18 +0200 Subject: Old Fossil seeks fast track assistance In-Reply-To: <1B5FE27E-88F3-4AEE-A696-DF8C658DB3A1@mac.com> References: <1B5FE27E-88F3-4AEE-A696-DF8C658DB3A1@mac.com> Message-ID: <24d05648-d42a-9a28-64c6-02a4d4c4b2a9@gmail.com> For Android: Install Oracle Java SDK 1.8.x Install Android Studio (or the command line version as you only need the sdk and some tools) but easier is Android Studio. Then in Android Studio download sdk for Android 4.1.2 and 9 or so. And perhaps an emulator. But there are lessons for it a lessons.livecode.com so you can see what to select exactly. In LC you need to find the Android SDK in the mobile settings, then if succeeded it will also auto- select the correct Java JDK. Create a test app. you can set the where you want it to be deployed for test under the development tab in LC. On a real phone, you can set to developer mode by going into setting and then About phone, and if i;m correct on the Build Number you need to tap 7x then it will start developer mode. Now connect it to your mac and the phone will ask something, just trust and accept. And now you can test on a real phone. For iOs i thought you can read i the Notes at every LC vesion which Xcode version is supported and you need to create Provisioning Profiles per project in Xcode. Regards, Jerry Op 4-4-2020 om 10:38 schreef Graham Samuel via use-livecode: > Hi All - sorry this is a bit long, but I need help. > > I?m a long term LC developer who more or less retired from development a couple of years ago, but I?ve kept on lurking in this list and trying rather hopelessly to remain up to date. My experience has been mostly on desktop apps, with a little iOS work. I haven?t ever done much on Android. I have just about retained my credentials as an Apple developer. > > Now I find I really want to develop a mobile app at speed, and deploy it. > > I don?t anticipate all that much difficulty in creating my app in the sense of designing and coding it - this can call on my own quite extensive experience of the past, the LC documentation and this invaluable list. I can reasonable hope to create a prototype in a few days. However there is a massive gap: testing and deployment. > > I don?t have access to my most recent development machine (it?s in another country and I?m self-isolating), so I am working with an iMac that can only run MacOS High Sierra (and Windows 10 via Parallels, but I was hoping not to go there for this project). Now, I clearly need to organise the right version of XCode and the right SDK for my iOS development, and I need to do the equivalent thing for Android - and I don?t know how to do it. > > For iOS, I THINK I need XCode 10.2, which I?m trying to download to replace the copy of 9.2 already on my machine. I obviously need to work with a compatible SDK. For Android, I don?t know where to start, so for now I am putting this on the back burner, but I will have to return to it eventually. Even when I?ve lined all this up (if indeed it?s feasible), I then need to remind myself how to test via simulators (I used to be good at this, so maybe that is not so scary, but I am not at all up to date) and then I need to get the app onto real hardware - starting with iPhones, as I?ve got a few of these. I really don?t know how to do this for testing, and more so I don?t know how to distribute a test version to a small population of testers, although I know this is feasible. The whole project may crash and burn at this beta testing stage, so actually getting it into the App Store can wait a bit. > > Obviously I am not expecting people on this list to hold my hand at every step. My main concern is to be guided through the body of LC notes etc to get absolutely practical advice and recipes as to what to do at each stage. If I study the LC stuff long enough, I will get there, but I would dearly love help to fast-track it all. > > Thanks > > Graham > _______________________________________________ > 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 Sat Apr 4 18:11:25 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 4 Apr 2020 18:11:25 -0400 Subject: HilitedItem of a navbar In-Reply-To: References: Message-ID: <000801d60acd$fe7014e0$fb503ea0$@net> I have a version that will let you set it to zero and also if the label is a single space the icon will expand to the full height. I can send it to you is you like. 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 J. Landman Gay via use-livecode Sent: Saturday, April 04, 2020 3:31 PM To: LiveCode Mailing List Cc: J. Landman Gay Subject: HilitedItem of a navbar I can't set this to 0? I need to. -- 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 brian at milby7.com Sat Apr 4 19:36:57 2020 From: brian at milby7.com (Brian Milby) Date: Sat, 4 Apr 2020 19:36:57 -0400 Subject: HilitedItem of a navbar In-Reply-To: References: Message-ID: I have a PR that supports this (setting 0 will highlight nothing): https://github.com/livecode/livecode/pull/6404 It is vulcan reviewed, but not merged. A push may get it into the next DP. Thanks, Brian On Sat, Apr 4, 2020 at 3:31 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > I can't set this to 0? I need to. > > > -- > 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 Sun Apr 5 01:16:11 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 5 Apr 2020 00:16:11 -0500 Subject: Maximum field height? Message-ID: I have a field that reports a formattedheight of 125396. I want to extend it to full height for use inside an enclosing scrolling group. But when I try to set the height to the formattedHeight, I get an error: Value is not a number. If I try to set its height in the property inspector, it reverts to 9,040. Does it exceed some maximum? If I set a scrollbar on the field, it scrolls fine and includes all the text. But it won't expand to its full height for use inside a scrolling group, which I need for smooth scrolling on mobile. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Apr 5 02:04:27 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 5 Apr 2020 01:04:27 -0500 Subject: HilitedItem of a navbar In-Reply-To: References: Message-ID: Oh good. See if you can push it. On 4/4/20 6:36 PM, Brian Milby via use-livecode wrote: > I have a PR that supports this (setting 0 will highlight nothing): > https://github.com/livecode/livecode/pull/6404 > > It is vulcan reviewed, but not merged. A push may get it into the next DP. > > Thanks, > Brian > > On Sat, Apr 4, 2020 at 3:31 PM J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I can't set this to 0? I need to. >> >> >> -- >> 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 theaford at btinternet.com Sun Apr 5 03:07:33 2020 From: theaford at btinternet.com (Terence Heaford) Date: Sun, 5 Apr 2020 08:07:33 +0100 Subject: Go to card has become slow In-Reply-To: <7954002B-2407-4180-90DB-03B00E5C8C99@iotecdigital.com> References: <02B224BC-7A2C-4B24-8D27-AAF826214C42@byu.edu> <07AC22BB-F5CE-4263-BE69-3FF211AE999E@btinternet.com> <7954002B-2407-4180-90DB-03B00E5C8C99@iotecdigital.com> Message-ID: There is an interesting debate here as to whether it is necessary or not to wrap select statements in transactions for optimisation: https://stackoverflow.com/questions/7349189/optimizing-select-with-transaction-under-sqlite-3 I think there is probably widespread debate about this subject. I don?t know the answer? Best regards Terry > On 3 Apr 2020, at 17:00, Bob Sneidar via use-livecode wrote: > > Mark, you may have answered why it is my Forms Generator app is running so slow on Windows. I don?t use transactions and I make multiple queries for most transactions. > > Bob S > From matthias_livecode_150811 at m-r-d.de Sun Apr 5 04:56:26 2020 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 5 Apr 2020 10:56:26 +0200 Subject: HilitedItem of a navbar In-Reply-To: <000801d60acd$fe7014e0$fb503ea0$@net> References: <000801d60acd$fe7014e0$fb503ea0$@net> Message-ID: <386AB67A-ADE0-4071-8980-4D5FC2F0897D@m-r-d.de> Hi Ralph, Iteould be really great, if you could share it not only with Jacque. ;) I am also very interested in your version. Matthias Von meinem iPhone gesendet > Am 05.04.2020 um 00:08 schrieb Ralph DiMola via use-livecode : > > ?I have a version that will let you set it to zero and also if the label is a > single space the icon will expand to the full height. I can send it to you > is you like. > > 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 J. Landman Gay via use-livecode > Sent: Saturday, April 04, 2020 3:31 PM > To: LiveCode Mailing List > Cc: J. Landman Gay > Subject: HilitedItem of a navbar > > I can't set this to 0? I need to. > > > -- > 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 scott at elementarysoftware.com Sun Apr 5 05:59:31 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sun, 5 Apr 2020 02:59:31 -0700 Subject: DWrite.dll Message-ID: Recently I was building a 32 bit Windows standalone and on several of my VMs (not on Windows 10) ran into this error message when trying to launch the exe. "This application has failed to start because DWrite.dll was not found.? Is this something I might be doing wrong? Livecode standalones that I created a while back all continue to run without this message. I?ve tried building the standalone from both Mac ( LC 9.0.5 & 9.6.0 dp3 Business) and Windows 10 ( LC 9.6.0 dp3 Business) -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-800-615-0867 ------------------------------------------------------ From matthias_livecode_150811 at m-r-d.de Sun Apr 5 08:08:28 2020 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 5 Apr 2020 14:08:28 +0200 Subject: DWrite.dll In-Reply-To: References: Message-ID: <40CC6BBA-33FF-4F43-8EA6-5BB3013B97B6@m-r-d.de> Scott, ??ve searched for dwrite.dll and some of the search results showed that dwrite is needed/used or whatever for font rendering or so. Is your standalone doing anything with fonts or did you set something in the standalonesettings? Just a shot in the dark.... Matthias Von meinem iPad gesendet > Am 05.04.2020 um 12:00 schrieb scott--- via use-livecode : > > ?Recently I was building a 32 bit Windows standalone and on several of my VMs (not on Windows 10) ran into this error message when trying to launch the exe. > > "This application has failed to start because DWrite.dll was not found.? > > Is this something I might be doing wrong? Livecode standalones that I created a while back all continue to run without this message. > > I?ve tried building the standalone from both Mac ( LC 9.0.5 & 9.6.0 dp3 Business) and Windows 10 ( LC 9.6.0 dp3 Business) > > > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-800-615-0867 > ------------------------------------------------------ > > > > > > > > > _______________________________________________ > 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 paul at researchware.com Sun Apr 5 09:33:38 2020 From: paul at researchware.com (Paul Dupuis) Date: Sun, 5 Apr 2020 09:33:38 -0400 Subject: Maximum field height? In-Reply-To: References: Message-ID: On 4/5/2020 1:16 AM, J. Landman Gay via use-livecode wrote: > I have a field that reports a formattedheight of 125396. I want to > extend it to full height for use inside an enclosing scrolling group. > But when I try to set the height to the formattedHeight, I get an > error: Value is not a number. > > If I try to set its height in the property inspector, it reverts to > 9,040. > > Does it exceed some maximum? If I set a scrollbar on the field, it > scrolls fine and includes all the text. But it won't expand to its > full height for use inside a scrolling group, which I need for smooth > scrolling on mobile. > I thought objects in LC still were limited to 32000px (or perhaps -32000 to +32000 in coordinates) from the ancient QuickDraw days From rdimola at evergreeninfo.net Sun Apr 5 09:44:32 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 5 Apr 2020 09:44:32 -0400 Subject: HilitedItem of a navbar In-Reply-To: <386AB67A-ADE0-4071-8980-4D5FC2F0897D@m-r-d.de> References: <000801d60acd$fe7014e0$fb503ea0$@net> <386AB67A-ADE0-4071-8980-4D5FC2F0897D@m-r-d.de> Message-ID: <000401d60b50$58e63760$0ab2a620$@net> Matts, No problem brother. I shared this with the list on January 10th. I was warned that changing default behaviors is a Bozo no no. Here it is again: I made 4 changes to the navbar widget. 1) The hiliteditem can be set to zero so no item is hilited 2) The default is no item hilited (hiliteditem = 0) 3) The inspector allows you to decrement the select item index to zero. 4) If the label of an item is a single space then the icon is centered vertically. I will see how to add this feature more elegantly as a property. If you need any of these features the link to the lcb source file is here ==> https://www.dropbox.com/s/3emxyjx487xp9j2/navbar.lcb?dl=0 The compiled version is here ==> https://www.dropbox.com/s/bp6bg2zjn5x9kks/navbar.zip?dl=0 rename the original files in the bundle(mac) or program files(windows) to a save folder and move these in. 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 Matthias Rebbe via use-livecode Sent: Sunday, April 05, 2020 4:56 AM To: How to use LiveCode Cc: Matthias Rebbe Subject: Re: HilitedItem of a navbar Hi Ralph, Iteould be really great, if you could share it not only with Jacque. ;) I am also very interested in your version. Matthias Von meinem iPhone gesendet > Am 05.04.2020 um 00:08 schrieb Ralph DiMola via use-livecode : > > ?I have a version that will let you set it to zero and also if the > label is a single space the icon will expand to the full height. I can > send it to you is you like. > > 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 J. Landman Gay via use-livecode > Sent: Saturday, April 04, 2020 3:31 PM > To: LiveCode Mailing List > Cc: J. Landman Gay > Subject: HilitedItem of a navbar > > I can't set this to 0? I need to. > > > -- > 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 _______________________________________________ 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 Sun Apr 5 10:13:21 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 5 Apr 2020 07:13:21 -0700 Subject: Maximum field height? In-Reply-To: References: Message-ID: <21b54e0f-66c1-111c-7207-4191ca221319@fourthworld.com> J. Landman Gay wrote: > I have a field that reports a formattedheight of 125396. I want to > extend it to full height for use inside an enclosing scrolling group. I see that method used in the Lesson on using a scroller for text as well, but I've never understood why. What is the advantage of putting the field inside of a group rather than using the scroller with the field directly? > But when I try to set the height to the formattedHeight, I get an > error: Value is not a number. I think Paul has the answer there: groups have limit of 32,767px on either axis. That's about 30' on desktop systems so generally useful, but when using them to contain a field sized for long text it can easily be exceeded. -- 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 Sun Apr 5 11:52:28 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 5 Apr 2020 15:52:28 +0000 Subject: Go to card has become slow In-Reply-To: References: <02B224BC-7A2C-4B24-8D27-AAF826214C42@byu.edu> <07AC22BB-F5CE-4263-BE69-3FF211AE999E@btinternet.com> <7954002B-2407-4180-90DB-03B00E5C8C99@iotecdigital.com> Message-ID: <9EBB7CAB-1383-43B4-A2D2-E5688151CBA6@iotecdigital.com> Thanks Terry I did the same thing. The focus is on server performance, not client. What I gleaned is that for an individual transaction, the difference between a transactional select statement and non is indistinguishable to the end user. Also, filtering out any save operations (including those occurring in plugins) increased performance on Windows by an astounding amount. While queries still take 3 to 4 times as long on Windows as they do on Mac, the lag has become acceptable and comparable to other apps doing similar operations. I have always wondered why Windows apps that access databases seem to take so long to start up. I think I know now. Bob S > On Apr 5, 2020, at 12:07 AM, Terence Heaford via use-livecode wrote: > > There is an interesting debate here as to whether it is necessary or not to wrap select statements in transactions for optimisation: > > https://stackoverflow.com/questions/7349189/optimizing-select-with-transaction-under-sqlite-3 > > I think there is probably widespread debate about this subject. > > I don?t know the answer? > > Best regards > > Terry > > > >> On 3 Apr 2020, at 17:00, Bob Sneidar via use-livecode wrote: >> >> Mark, you may have answered why it is my Forms Generator app is running so slow on Windows. I don?t use transactions and I make multiple queries for most transactions. >> >> 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 jacque at hyperactivesw.com Sun Apr 5 12:35:09 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 05 Apr 2020 11:35:09 -0500 Subject: Maximum field height? In-Reply-To: <21b54e0f-66c1-111c-7207-4191ca221319@fourthworld.com> References: <21b54e0f-66c1-111c-7207-4191ca221319@fourthworld.com> Message-ID: <1714b322248.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Thanks guys. I did remember there was a limit but for some reason thought it was only for the width of a line. I've switched over to trying a group set as a container and setting the field itself to scrolling layermode. I haven't tried it yet on mobile but we'll see. @Richard, when developing for desktop you don't need the enclosing group, but on mobile you do because acceleratedRendering only applies to groups. Without it you can't achieve smooth scrolling. I wish we could just set a field to scrolling layermode, it would sure make layout and resizing easier. I think the new container layermode is supposed to help with this stuff. I haven't had to use it until now. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 5, 2020 9:15:24 AM Richard Gaskin via use-livecode wrote: > J. Landman Gay wrote: > > > I have a field that reports a formattedheight of 125396. I want to > > extend it to full height for use inside an enclosing scrolling group. > > I see that method used in the Lesson on using a scroller for text as > well, but I've never understood why. What is the advantage of putting > the field inside of a group rather than using the scroller with the > field directly? > > > > But when I try to set the height to the formattedHeight, I get an > > error: Value is not a number. > > I think Paul has the answer there: groups have limit of 32,767px on > either axis. That's about 30' on desktop systems so generally useful, > but when using them to contain a field sized for long text it can easily > be exceeded. > > -- > 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 Sun Apr 5 13:30:24 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 5 Apr 2020 10:30:24 -0700 Subject: Go to card has become slow In-Reply-To: <9EBB7CAB-1383-43B4-A2D2-E5688151CBA6@iotecdigital.com> References: <9EBB7CAB-1383-43B4-A2D2-E5688151CBA6@iotecdigital.com> Message-ID: Bob Sneidar wrote: > Thanks Terry I did the same thing. The focus is on server performance, > not client. What I gleaned is that for an individual transaction, the > difference between a transactional select statement and non is > indistinguishable to the end user. The rubric I was given back in the day is that transactions benefit writes but not reads. Thanks for confirming. > Also, filtering out any save operations (including those occurring in > plugins) increased performance on Windows by an astounding amount. > While queries still take 3 to 4 times as long on Windows as they do on > Mac, the lag has become acceptable and comparable to other apps doing > similar operations. I've been trying to sort through several reports about write speeds on Windows, but most examples I've seen conflate several different tasks. For example, the latest I came across had a mix of JSON translation and array manipulation in addition to writes, so diligent analysis would require pulling that example stack apart into three different tests to pinpoint the actual bottleneck. It may be that there's something about the APIs LC uses on Win which are less than optimal, or perhaps something inherent in NTFS. But I so often see speedy writes on Win in LC that I haven't yet pinned down a recipe that exposes a write issue specific to LC on Windows. Does anyone have a clue to the question that comes up in various forms here lately: what factors could make writes from LC slower on Windows than on Mac or 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 ambassador at fourthworld.com Sun Apr 5 13:44:16 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 5 Apr 2020 10:44:16 -0700 Subject: Maximum field height? In-Reply-To: <1714b322248.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1714b322248.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <6e543a5e-41ab-cee0-24ac-08e8d5fd381c@fourthworld.com> J. Landman Gay wrote: > @Richard, when developing for desktop you don't need the enclosing > group, but on mobile you do because acceleratedRendering only applies > to groups. Without it you can't achieve smooth scrolling. I wish we > could just set a field to scrolling layermode, it would sure make > layout and resizing easier. My own mobiles apps haven't yet displayed text longer than a few dozen pages, but I was impressed with the smoothness. I'd always taken LC's field excellent field buffering for granted, given that their text engine is internal and used on all platforms. I've had such good luck so far with using scrollers directly on fields that it never occurred to me that accelerated rendering would be useful for field objects. Maybe Mark Waddingham could explain the relationship between LC's field buffering and the non-text buffering the engine does with groups? -- 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 jacque at hyperactivesw.com Sun Apr 5 13:57:39 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 05 Apr 2020 12:57:39 -0500 Subject: Maximum field height? In-Reply-To: <6e543a5e-41ab-cee0-24ac-08e8d5fd381c@fourthworld.com> References: <1714b322248.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <6e543a5e-41ab-cee0-24ac-08e8d5fd381c@fourthworld.com> Message-ID: <1714b7daa38.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On April 5, 2020 12:46:19 PM Richard Gaskin via use-livecode wrote: > > I've had such good luck so far with using scrollers directly on fields > that it never occurred to me that accelerated rendering would be useful > for field objects. If you're using a vScrollbar then no problem. But for swipe scrolling without a scrollbar, which is what mobile users expect, it's a different story. Android isn't as bad as iOS but there's a noticeable stutter on both. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Sun Apr 5 14:00:15 2020 From: dochawk at gmail.com (doc hawk) Date: Sun, 5 Apr 2020 11:00:15 -0700 Subject: Go to card has become slow In-Reply-To: <9EBB7CAB-1383-43B4-A2D2-E5688151CBA6@iotecdigital.com> References: <02B224BC-7A2C-4B24-8D27-AAF826214C42@byu.edu> <07AC22BB-F5CE-4263-BE69-3FF211AE999E@btinternet.com> <7954002B-2407-4180-90DB-03B00E5C8C99@iotecdigital.com> <9EBB7CAB-1383-43B4-A2D2-E5688151CBA6@iotecdigital.com> Message-ID: <03C6991C-1001-449A-9334-95FA0EAF7768@gmail.com> If server performance is at all an issue, SQLite may be the wrong choice. It has a kind of, very reluctant, simultaneous access that the developers warn you not to use. They suggest PostgreSQL for heavy loads. I use SQLite within the application (the in-memory access is blindingly fast), and an external Postgres server (where I basically stash the statements to create the sqlite records, and update). I tried mysql first, but LiveCode doesn?t support multiple statement transactions on it (or at least didn?t at the time), resulting in hundreds of transactions where I could have used one From ambassador at fourthworld.com Sun Apr 5 14:12:33 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 5 Apr 2020 11:12:33 -0700 Subject: Maximum field height? In-Reply-To: <1714b7daa38.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1714b7daa38.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <218424c4-569c-178d-442b-e92114307726@fourthworld.com> J. Landman Gay wrote: > On April 5, 2020 12:46:19 PM Richard Gaskin wrote: > >> I've had such good luck so far with using scrollers directly on >> fields that it never occurred to me that accelerated rendering >> would be useful for field objects. > > If you're using a vScrollbar then no problem. But for swipe scrolling > without a scrollbar, which is what mobile users expect, it's a > different story. Android isn't as bad as iOS but there's a noticeable > stutter on both. I've been too lazy and much too enamored with The xTalk Way for any of that: Once I saw that the scroller works well on the field content I've been working with, I added a routine to my mobile lib that automatically removes the vScrollbar from any non-editable field that has one, and instantiates a matching scroller over it. So yes, I'm using the field directly with no enclosing group, but no, I don't use the desktop scrollbar on mobile; the scroller overlay does a good job of tracking the user interaction, with the appropriate endpoint indication and all, and scrolling the field in response to the scroller's messages has worked well. But then again, I haven't used really long text with that. I'll explore that soon, and in the meantime I look forward to what you learn with this experiment from your earlier post: > I've switched over to trying a group set as a container and setting > the field itself to scrolling layermode. I haven't tried it yet on > mobile but we'll see. While you're at it, it may be worthwhile turning the scrollbar of the field off and having your scrollerDidScroll set the scroll of the field directly, with no enclosing group at all. If it works as well for you as it's been doing for me, it saves me another test and gives confidence to others that actually development with LiveCode isn't nearly as cumbersome as that Lesson on scrolling fields suggests. -- 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 Sun Apr 5 14:18:30 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 5 Apr 2020 18:18:30 +0000 Subject: Go to card has become slow In-Reply-To: <03C6991C-1001-449A-9334-95FA0EAF7768@gmail.com> References: <02B224BC-7A2C-4B24-8D27-AAF826214C42@byu.edu> <07AC22BB-F5CE-4263-BE69-3FF211AE999E@btinternet.com> <7954002B-2407-4180-90DB-03B00E5C8C99@iotecdigital.com> <9EBB7CAB-1383-43B4-A2D2-E5688151CBA6@iotecdigital.com> <03C6991C-1001-449A-9334-95FA0EAF7768@gmail.com> Message-ID: <6AA64BD1-A118-48B1-B720-F5EF16857A4E@iotecdigital.com> I don?t think LC accepts multiple statement transactions at all, does it? Bob S On Apr 5, 2020, at 11:00 AM, doc hawk via use-livecode > wrote: If server performance is at all an issue, SQLite may be the wrong choice. It has a kind of, very reluctant, simultaneous access that the developers warn you not to use. They suggest PostgreSQL for heavy loads. I use SQLite within the application (the in-memory access is blindingly fast), and an external Postgres server (where I basically stash the statements to create the sqlite records, and update). I tried mysql first, but LiveCode doesn?t support multiple statement transactions on it (or at least didn?t at the time), resulting in hundreds of transactions where I could have used one From bobsneidar at iotecdigital.com Sun Apr 5 14:22:13 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 5 Apr 2020 18:22:13 +0000 Subject: Socket Help Message-ID: <019888B1-2AA5-448C-A35C-4726C5D9226B@iotecdigital.com> Hi all. I am creating a client/server socket based app and I am trying to develop both the client and server on the same workstation, and I am having difficulty. I *think* the issue is that the client and server cannot both be on the same system, but I?m not entirely sure. I?m asking the system to listen and also talk on the same port. Anyone have any insight into this? Bob S From jacque at hyperactivesw.com Sun Apr 5 14:52:52 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 5 Apr 2020 13:52:52 -0500 Subject: Maximum field height? In-Reply-To: <218424c4-569c-178d-442b-e92114307726@fourthworld.com> References: <1714b7daa38.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <218424c4-569c-178d-442b-e92114307726@fourthworld.com> Message-ID: On 4/5/20 1:12 PM, Richard Gaskin via use-livecode wrote: > Once I saw that the scroller works well on the field content I've been working with, I added a > routine to my mobile lib that automatically removes the vScrollbar from any non-editable field > that has one, and instantiates a matching scroller over it. That's my standard procedure too, unless I'm using a pseudo-scrolling handler that allows pushing up or down on the field on desktop. It's basically a simulation, but for quick access during development it's faster to just use the built-in scrollbar. > So yes, I'm using the field directly with no enclosing group, but no, I don't use the desktop > scrollbar on mobile; the scroller overlay does a good job of tracking the user interaction, > with the appropriate endpoint indication and all, and scrolling the field in response to the > scroller's messages has worked well. I just released an app using this method and on iOS the stutter is quite noticeable, as well as on Android devices with slower CPUs. It's okay for short text, sort of (though there's a brief jerk) but for anything longer it fails. Up until LC 9 it was possible to set the field to use a scrolling layermode in the property inspector, but that's been removed. You can still set it by script, but it has no effect (and probably never did) and the engine defaults to dynamic layermode instead. > While you're at it, it may be worthwhile turning the scrollbar of the field off and having your > scrollerDidScroll set the scroll of the field directly, with no enclosing group at all. As above, that's what my previous app did. I'm going to change that for the next update, as it looks unprofessional. > If it works as well for you as it's been doing for me, it saves me another test and gives > confidence to others that actually development with LiveCode isn't nearly as cumbersome as that > Lesson on scrolling fields suggests. Well, basically the lesson is correct. I wish it weren't so. But if you only use a few fields with short content, your easier method is probably passable. My previous app has a field whose content is almost always less than the field height, but only extends beyond that for a few lines occasionally. For something like that, I'd probably skip the group. If you feel like experimenting, try a field sized to a mobile screenrect with 50+ lines of wrapped text. Do it on iOS if you have one of those phones; the simulator won't give you the same response. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kee.nethery at elloco.com Sun Apr 5 14:55:48 2020 From: kee.nethery at elloco.com (Kee Nethery) Date: Sun, 5 Apr 2020 11:55:48 -0700 Subject: Socket Help In-Reply-To: <019888B1-2AA5-448C-A35C-4726C5D9226B@iotecdigital.com> References: <019888B1-2AA5-448C-A35C-4726C5D9226B@iotecdigital.com> Message-ID: <2AEBFD8D-0639-447B-9D91-B4EABF601BE4@elloco.com> Here?s how this should work. Server has an IP and port number that it listens on. Client sends a packet from the same IP and some random port. Computer routes the packet and it doesn?t have to send the packet out on the net. It goes out the client port and back in to the server port. Server replies from its port to the client port (client is waiting for a reply). Try talking to your server with a browser on your computer and see what the server response looks like. Kee Nethery > On Apr 5, 2020, at 11:22 AM, Bob Sneidar via use-livecode wrote: > > Hi all. > > I am creating a client/server socket based app and I am trying to develop both the client and server on the same workstation, and I am having difficulty. I *think* the issue is that the client and server cannot both be on the same system, but I?m not entirely sure. I?m asking the system to listen and also talk on the same port. > > Anyone have any insight into this? > > 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 jacque at hyperactivesw.com Sun Apr 5 14:56:10 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 5 Apr 2020 13:56:10 -0500 Subject: Maximum field height? In-Reply-To: <218424c4-569c-178d-442b-e92114307726@fourthworld.com> References: <1714b7daa38.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <218424c4-569c-178d-442b-e92114307726@fourthworld.com> Message-ID: <6757f5fd-e311-7f90-834b-8477dd3e88bf@hyperactivesw.com> What I wrote here originally: > >? I've switched over to trying a group set as a container and setting > > the field itself to scrolling layermode. I haven't tried it yet on > > mobile but we'll see. is wrong, the field inside the container group uses dynamic layermode. Scrolling layermode doesn't get applied to fields. We'll see if this works when I'm far enough along to build a test app. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Sun Apr 5 15:43:34 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 5 Apr 2020 19:43:34 +0000 Subject: Speech Synthesis Message-ID: <834283CA-4DAB-405E-B3BA-B2B1392F5B4C@hindu.org> Given the arrival of the Speech Library.... Something I played with 30 years ago on hypercard.... manually entering phonemes, to get the computer talk was a fascinating thing. Today, with AI all around us, Speech Sythesis is "everywhere" and very advanced, When we initialize speechLibraryInitialized pSuccess? Do we have gain control of the International Phonetic Alphabet? English is a "creole/polyglot" language, and depending across what language/culture "adjacencies" (English-Tamil, English-French, English-Spanish) that the discourse it in, X number of words come into play that are understand, and pronounced correctly, but both parties. And the polyglot is increasing monthly! I don't know how AI will ever keep up. Above is background. What I want is: to have "Fred" (or "Junior" or "Deranaged") pronounce "Satchinananda" perfectly. Or put another way: having access to com.apple.speech.synthesis.voice.Deranged Does Deranged have command over any combination of phonemes? I can't imagine we have to start from ground zero on this. Has anyone else done work in this area. BR From bobsneidar at iotecdigital.com Sun Apr 5 15:51:08 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 5 Apr 2020 19:51:08 +0000 Subject: Socket Help In-Reply-To: <2AEBFD8D-0639-447B-9D91-B4EABF601BE4@elloco.com> References: <019888B1-2AA5-448C-A35C-4726C5D9226B@iotecdigital.com> <2AEBFD8D-0639-447B-9D91-B4EABF601BE4@elloco.com> Message-ID: <6106AFCD-76DB-4C7E-AF5C-6204302E977F@iotecdigital.com> Hi Kee. Thanks for the response. I decided to go ahead and bypass the issue of the client and server being on the same device. I got my laptop out and created the server app there. I got it working as advertised. [Technical stuff] One thing I am doing is encrypting the data before sending it. The thing is, I needed a delimiter of some kind when reading the data back, because the data will be variable in length, and the end char will also be variable. So what I did is I appended a termination character after the encrypted data before sending it, then stripped the termination on the server side before decrypting it. I do the same thing when sending data back. This has the effect of making any intercepted data in transit impossible to decrypt without knowing that there IS a terminator, what the terminator is, the encryption key and the seed! Even a brute force method would fail to decrypt the data. I could get even fancier by sending two transmissions each way, the first being the randomized position and "poison pill" character that will be inserted into the encrypted data (itself encrypted), and a second the actual encrypted data. Even if the client and server stacks aren't password protected, there would be no way to anticipate what the poison pill character and position was. I suppose I could use a web server with SSL certs, but first, I don?t know how, and second I would be adding the lag time for the web server to respond. Right now it's taking a little over 300 milliseconds for a simple string to return on a local area network My goal is to create a client/server agent that I can securely send database queries to and get results back from. Bob S On Apr 5, 2020, at 11:55 AM, Kee Nethery via use-livecode > wrote: Here?s how this should work. Server has an IP and port number that it listens on. Client sends a packet from the same IP and some random port. Computer routes the packet and it doesn?t have to send the packet out on the net. It goes out the client port and back in to the server port. Server replies from its port to the client port (client is waiting for a reply). Try talking to your server with a browser on your computer and see what the server response looks like. Kee Nethery On Apr 5, 2020, at 11:22 AM, Bob Sneidar via use-livecode > wrote: Hi all. I am creating a client/server socket based app and I am trying to develop both the client and server on the same workstation, and I am having difficulty. I *think* the issue is that the client and server cannot both be on the same system, but I?m not entirely sure. I?m asking the system to listen and also talk on the same port. Anyone have any insight into this? 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 hakan at exformedia.se Sun Apr 5 15:55:06 2020 From: hakan at exformedia.se (hakan at exformedia.se) Date: Sun, 5 Apr 2020 21:55:06 +0200 Subject: Socket Help In-Reply-To: <019888B1-2AA5-448C-A35C-4726C5D9226B@iotecdigital.com> References: <019888B1-2AA5-448C-A35C-4726C5D9226B@iotecdigital.com> Message-ID: There is no problem running the server and client on the same machine. I've used it for doing elevated services. There is a demo stack for a chat server and client that you can download. I know that helped me a lot when doing my first client server. :-H?kan On 5 Apr 2020, 20:23 +0200, Bob Sneidar via use-livecode , wrote: > Hi all. > > I am creating a client/server socket based app and I am trying to develop both the client and server on the same workstation, and I am having difficulty. I *think* the issue is that the client and server cannot both be on the same system, but I?m not entirely sure. I?m asking the system to listen and also talk on the same port. > > Anyone have any insight into this? > > 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 ambassador at fourthworld.com Sun Apr 5 15:55:53 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 5 Apr 2020 12:55:53 -0700 Subject: Socket Help In-Reply-To: <019888B1-2AA5-448C-A35C-4726C5D9226B@iotecdigital.com> References: <019888B1-2AA5-448C-A35C-4726C5D9226B@iotecdigital.com> Message-ID: <6f6d3ef7-8595-6509-59b5-dfce8cc7351c@fourthworld.com> Bob Sneidar wrote: > I am creating a client/server socket based app and I am trying to > develop both the client and server on the same workstation, and I > am having difficulty. I *think* the issue is that the client and > server cannot both be on the same system, but I?m not entirely sure. > I?m asking the system to listen and also talk on the same port. > > Anyone have any insight into this? Hard to say without seeing the code, but my-go recommendation is, when in doubt review this excellent sockets example: http://lessons.livecode.com/m/4071/l/12924-how-to-communicate-with-other-applications-using-sockets -- 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 livfoss at mac.com Sun Apr 5 16:03:48 2020 From: livfoss at mac.com (Graham Samuel) Date: Sun, 5 Apr 2020 22:03:48 +0200 Subject: Getting started with geographical coordinates In-Reply-To: <000701d60a90$04555d40$0d0017c0$@net> References: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> <003901d609d2$f798d9a0$e6ca8ce0$@net> <095B4477-5D2B-4C7A-B465-C4B4A3FAFB44@mac.com> <1A5D1D18-7394-43D3-9F32-5B8767115830@mac.com> <004401d609fe$ae84a4c0$0b8dee40$@net> <860038C0-CA32-41BF-A8E1-1866E239D5C3@iotecdigital.com> <000701d60a90$04555d40$0d0017c0$@net> Message-ID: I?ve been trying these formulae out, and I?ve been using the info on https://www.movable-type.co.uk/scripts/latlong.html - for my purposes (distances from say 100 metres to up to a few kilometers) I think this works as well as haversine, but maybe not for every kind of measurement. The function gives a result in kilometres starting from coordinates in degrees. Seems to work, but I need to do a bit more work on the (real) ground to convince myself. function distanceslc lat1,lon1,lat2,lon2 constant k1 = 0.017453 -- that's pi/180 -- This implements the spherical law of cosines, from movable-type.co.uk. Confirmed with his javascript version return acos(sin(lat1*k1) * sin(lat2*k1) + cos(lat1*k1)*cos(lat2*k1)*cos(lon2*k1-lon1*k1))*6371 end distanceslc Graham > On 4 Apr 2020, at 16:47, Ralph DiMola via use-livecode wrote: > > A friend of mine turned me on to this 10 years ago. This is the Haversine > formula. It assumes that the earth is sphere and is not very accurate for > very small distances. I have not tried to use the Vincenty's formula that > does better. For general purposes the HF should be sufficient. > > Just give me the credit for LC implementation of a friends of mines routine. > Although I understand how it works the real credit goes to Don Josef de > Mendoza y Rios in 1796. > > The girls and boys doing math in that period really set the stage. This > brought me back to my CGI days when I was patting myself on the back when I > self learned(with a friends help after reading the Kreyszig) how to move > points in space and calculate lighting. I then self reflected and realized > that I was just putting together the pieces of math that these folks created > out of thin air. I still felt like I accomplished something but very much > smaller the scheme of things. > > 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: Friday, April 03, 2020 5:31 PM > To: How to use LiveCode > Cc: Bob Sneidar > Subject: Re: > > Ralph, this is brilliant. I remember trying to do something similar years > ago, and giving up because I didn't know how to do the math. I suck at math, > or rather I am too lazy and impatient to work the problem. > > Bob S > >> On Apr 3, 2020, at 14:27 , Ralph DiMola via use-livecode > wrote: >> >> Graham, >> >> This my distance calculation for what it's worth. >> >> Function distance lat1, lon1, lat2, lon2, unit >> -- Calculate Distance between to points >> -- >> --lat1, lon1, lat2, lon2 are in deg.fractionalDegrees >> -- Unit >> -- if empty then miles >> -- K = kilometers >> -- N = nautical miles >> local theta >> local dist >> >> Put lon1 - lon2 into theta >> put Sin(deg2rad(lat1)) * Sin(deg2rad(lat2)) + Cos(deg2rad(lat1)) * > Cos(deg2rad(lat2)) * Cos(deg2rad(theta)) into dist >> >> put Acos(dist) into dist >> put rad2deg(dist) into dist >> put dist * 60 * 1.1515 into dist >> >> switch unit >> case "K" >> put dist * 1.609344 into dist >> case "N" >> put dist * 0.8684 into dist >> end switch >> >> Return dist >> >> End distance >> >> >> Function rad2deg rad >> Return rad / PI * 180.0 >> end rad2deg >> >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net > > > _______________________________________________ > 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 Sun Apr 5 16:22:24 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 5 Apr 2020 13:22:24 -0700 Subject: Maximum field height? In-Reply-To: References: Message-ID: <60a7fa2c-2499-4c31-fc6a-d280678937fe@fourthworld.com> J. Landman Gay wrote: > On 4/5/20 1:12 PM, Richard Gaskin via use-livecode wrote: > >> Once I saw that the scroller works well on the field content I've >> been working with, I added a routine to my mobile lib that >> automatically removes the vScrollbar from any non-editable field >> that has one, and instantiates a matching scroller over it. > > That's my standard procedure too, unless I'm using a pseudo-scrolling > handler that allows pushing up or down on the field on desktop. It's > basically a simulation, but for quick access during development it's > faster to just use the built-in scrollbar. Exactly. Reducing the differences between runtime and development is a cornerstone of The xTalk Way. Dropping a field on a card works. If we want it scrollable, we click a checkbox. Once clicked, it works everywhere, adapting to the UI conventions of the host platform. Why should that not work on a phone? A generic solution REALLY SHOULD BE IN THE ENGINE (is that loud enough? Good), but in the dismaying absence of that feature completion some ten years later, being able to work around it by having a generic solution in a library is acceptable. That is, if it works: >> So yes, I'm using the field directly with no enclosing group, but no, >> I don't use the desktop scrollbar on mobile; the scroller overlay >> does a good job of tracking the user interaction, with the >> appropriate endpoint indication and all, and scrolling the field in >> response to the scroller's messages has worked well. > > I just released an app using this method and on iOS the stutter is > quite noticeable, as well as on Android devices with slower CPUs. > It's okay for short text, sort of (though there's a brief > jerk) but for anything longer it fails. Good to know. Thanks. It's a good thing for the more sensitive readers of this list that I have a busy Sunday planned, because my ALL CAPS portion above is just a small sample of the "When Keeping It Real Goes Wrong" episode I would otherwise drop on this list like a truckload of customer advocacy bricks. Suffice to say politely and succinctly: a decade later, LC for mobile remains half-baked compared to what it could be, compared to The xTalk Way that rests at the heart of its origins. There, I said it. Someone had to. And it's too bad, because on the desktop it absolutely rocks beyond just about any other option on the planet. It doesn't need to be this way. Software is eating the world, The xTalk Way is supremely productive, and LiveCode is the most powerful xTalk ever. LiveCode should be eating the planet. That it isn't is a function of the customer experience. If we don't soberly own that, there is no meaningful growth path forward. > Up until LC 9 it was possible to set the field to use a scrolling > layermode in the property inspector, but that's been removed. You > can still set it by script, but it has no effect (and probably never > did) and the engine defaults to dynamic layermode instead. If a scrolling field can't be scrolled on mobile with checkbox ease for the developer and well-met expectations for the user, that would be a bug. Let's not lower the bar. Let's complete the implementation. Let's deliver excellence, and enjoy excellent growth. The world is hungry for highly productive software development solutions, right now more than ever. Can we feed them? -- 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 curry at pair.com Sun Apr 5 16:53:45 2020 From: curry at pair.com (Curry Kenworthy) Date: Sun, 5 Apr 2020 16:53:45 -0400 Subject: Maximum field height? In-Reply-To: <60a7fa2c-2499-4c31-fc6a-d280678937fe@fourthworld.com> References: <60a7fa2c-2499-4c31-fc6a-d280678937fe@fourthworld.com> Message-ID: Richard: > Exactly. Reducing the differences between runtime and development > is a cornerstone of The xTalk Way. [...] > Suffice to say politely and succinctly: a decade later, LC for > mobile remains half-baked compared to what it could be, compared > to The xTalk Way that rests at the heart of its origins. > There, I said it. Someone had to. Agreed!!! I had grown weary of endless arguments previously pushing back against most LC critiques while the wagons were circled, so very glad to see this frankly discussed now. "Live" Code. Meaning: WYSIWYG between dev and runtime, no edit-compile-run cycle, much more efficient. Remember the marketing? For us the Users, it wasn't just marketing. It was real, and it was the reason and the empowerment. We lived it and used it. Still do on desktop. But LC has never been "Live" Code on mobile platforms. A big fail. Not just the UI, but also the mobileBlahBlah keywords that must be placed in if/then branches to avoid runtime errors on desktop whereas they should have been designed pan-platform. When these first appeared I was hoping they were temporary. Instead they've grown and multiplied, setting an arguably bad trend for the future. That was a huge design flaw or design mistake/bad decision for a product called "Live" Code. LC Ltd needs to understand and embrace some key characteristics of its own product. It's not just marketing, and it's not a HyperCard "Boomer" fad that will (or should) die out demographically with younger coders. It's valid, there's a reason, and it's so important. How's that for a "second"? :) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From skiplondon at gmail.com Sun Apr 5 17:25:12 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Sun, 5 Apr 2020 17:25:12 -0400 Subject: Problems locating Android SDK Message-ID: I am relatively new to Mac so if this is an easy fix, sorry for asking. I have installed Android Studio and the SDK is located in my user/library directory. I figured out how to reveal the library folder using Finder but when I try to browse to the SDK location in Livecode settings, I am not able to get there. Can anybody help? This is driving me nuts because I know it is a quick fix. Thanks, SKIP From colinholgate at gmail.com Sun Apr 5 17:46:50 2020 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 5 Apr 2020 15:46:50 -0600 Subject: Problems locating Android SDK In-Reply-To: References: Message-ID: <9E3F822E-4A63-45DB-BCF7-DBCAFACA1F71@gmail.com> In Finder there is a Go menu, in which you can Go to Folder? Then you type in the path to the hidden user library to get there. The same thing works in open dialogs. When you are pointing LiveCode to the Android SDK, type command-shift-g, and put in: ~/Library/Android/sdk/ That path isn?t exactly right I?m sure, LiveCode doesn?t recognize it as valid Android SDK root. It?s been a few years since I had to set that path. > On Apr 5, 2020, at 3:25 PM, Skip Kimpel via use-livecode wrote: > > I am relatively new to Mac so if this is an easy fix, sorry for asking. I > have installed Android Studio and the SDK is located in my user/library > directory. I figured out how to reveal the library folder using Finder but > when I try to browse to the SDK location in Livecode settings, I am not > able to get there. > > Can anybody help? This is driving me nuts because I know it is a quick > fix. > > Thanks, > > SKIP > _______________________________________________ > 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 skiplondon at gmail.com Sun Apr 5 17:55:32 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Sun, 5 Apr 2020 17:55:32 -0400 Subject: Problems locating Android SDK In-Reply-To: <9E3F822E-4A63-45DB-BCF7-DBCAFACA1F71@gmail.com> References: <9E3F822E-4A63-45DB-BCF7-DBCAFACA1F71@gmail.com> Message-ID: Very helpful, thank you Colin..... and I knew it would not be that easy. Now I get a message that says "The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support for 9.0 (api 28). I went back into Android Studio and verified the path was correct and that I had checked the box for version 9.0, which I had. Any other suggestions for this new phase I am stuck at? SKIP On Sun, Apr 5, 2020 at 5:47 PM Colin Holgate via use-livecode < use-livecode at lists.runrev.com> wrote: > In Finder there is a Go menu, in which you can Go to Folder? Then you type > in the path to the hidden user library to get there. The same thing works > in open dialogs. When you are pointing LiveCode to the Android SDK, type > command-shift-g, and put in: > > ~/Library/Android/sdk/ > > That path isn?t exactly right I?m sure, LiveCode doesn?t recognize it as > valid Android SDK root. It?s been a few years since I had to set that path. > > > > On Apr 5, 2020, at 3:25 PM, Skip Kimpel via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I am relatively new to Mac so if this is an easy fix, sorry for asking. > I > > have installed Android Studio and the SDK is located in my user/library > > directory. I figured out how to reveal the library folder using Finder > but > > when I try to browse to the SDK location in Livecode settings, I am not > > able to get there. > > > > Can anybody help? This is driving me nuts because I know it is a quick > > fix. > > > > Thanks, > > > > SKIP > > _______________________________________________ > > 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 matthias_livecode_150811 at m-r-d.de Sun Apr 5 18:09:12 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 6 Apr 2020 00:09:12 +0200 Subject: Problems locating Android SDK In-Reply-To: References: <9E3F822E-4A63-45DB-BCF7-DBCAFACA1F71@gmail.com> Message-ID: Hi Skip, the problem is that Android Studio 3.6.x does not install Android command line tools by default. this is an excerpt of the update LC lesson http://lessons.livecode.com/m/2571/l/625198-livecode-and-android-studio Update: Android Studio 3.6 has stopped to install the android command line tools by default. These tools were stored in the /Users/youruser/Library/Android/sdk/tools folder, and contained some necessary jar files that are needed to build for Android. You can still force Android Studio 3.6 to download these tools: - Launch Android Studio and go to Configure -> "SDK Manager" - In the new window open "System Settings -> Android SDK". - From there pick the tab "SDK Tools". - Uncheck the "Hide Obsolete Packages" option in the bottom of the window. - Now there should appear a new option: "Android SDK Tools (Obsolete)" - check that, hit "Apply" - it will download the files and "Tools" folder will appear in the /Users/youruser/Library/Android/sdk/ folder: HTH, - Matthias Rebbe Life Is Too Short For Boring Code > Am 05.04.2020 um 23:55 schrieb Skip Kimpel via use-livecode : > > Very helpful, thank you Colin..... and I knew it would not be that easy. > Now I get a message that says "The chosen folder is not a valid Android > SDK. Please ensure you have installed it correctly, and enabled support > for 9.0 (api 28). I went back into Android Studio and verified the path > was correct and that I had checked the box for version 9.0, which I had. > Any other suggestions for this new phase I am stuck at? > > SKIP > > On Sun, Apr 5, 2020 at 5:47 PM Colin Holgate via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> In Finder there is a Go menu, in which you can Go to Folder? Then you type >> in the path to the hidden user library to get there. The same thing works >> in open dialogs. When you are pointing LiveCode to the Android SDK, type >> command-shift-g, and put in: >> >> ~/Library/Android/sdk/ >> >> That path isn?t exactly right I?m sure, LiveCode doesn?t recognize it as >> valid Android SDK root. It?s been a few years since I had to set that path. >> >> >>> On Apr 5, 2020, at 3:25 PM, Skip Kimpel via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> I am relatively new to Mac so if this is an easy fix, sorry for asking. >> I >>> have installed Android Studio and the SDK is located in my user/library >>> directory. I figured out how to reveal the library folder using Finder >> but >>> when I try to browse to the SDK location in Livecode settings, I am not >>> able to get there. >>> >>> Can anybody help? This is driving me nuts because I know it is a quick >>> fix. >>> >>> Thanks, >>> >>> SKIP >>> _______________________________________________ >>> 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 skiplondon at gmail.com Sun Apr 5 18:15:16 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Sun, 5 Apr 2020 18:15:16 -0400 Subject: Problems locating Android SDK In-Reply-To: References: <9E3F822E-4A63-45DB-BCF7-DBCAFACA1F71@gmail.com> Message-ID: Thank you Matthias, however, I had done that already. Unfortunately, the problem still persists. SKIP On Sun, Apr 5, 2020 at 6:10 PM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Skip, > > the problem is that Android Studio 3.6.x does not install Android command > line tools by default. > > this is an excerpt of the update LC lesson > http://lessons.livecode.com/m/2571/l/625198-livecode-and-android-studio > > > > Update: Android Studio 3.6 has stopped to install the android command line > tools by default. These tools were stored in the > /Users/youruser/Library/Android/sdk/tools folder, and contained some > necessary jar files that are needed to build for Android. > > You can still force Android Studio 3.6 to download these tools: > > - Launch Android Studio and go to Configure -> "SDK Manager" > > - In the new window open "System Settings -> Android SDK". > > - From there pick the tab "SDK Tools". > > - Uncheck the "Hide Obsolete Packages" option in the bottom of the window. > > - Now there should appear a new option: "Android SDK Tools (Obsolete)" - > check that, hit "Apply" - it will download the files and "Tools" folder > will appear in the /Users/youruser/Library/Android/sdk/ folder: > > > > > > HTH, > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > > Am 05.04.2020 um 23:55 schrieb Skip Kimpel via use-livecode < > use-livecode at lists.runrev.com>: > > > > Very helpful, thank you Colin..... and I knew it would not be that easy. > > Now I get a message that says "The chosen folder is not a valid Android > > SDK. Please ensure you have installed it correctly, and enabled support > > for 9.0 (api 28). I went back into Android Studio and verified the path > > was correct and that I had checked the box for version 9.0, which I had. > > Any other suggestions for this new phase I am stuck at? > > > > SKIP > > > > On Sun, Apr 5, 2020 at 5:47 PM Colin Holgate via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> In Finder there is a Go menu, in which you can Go to Folder? Then you > type > >> in the path to the hidden user library to get there. The same thing > works > >> in open dialogs. When you are pointing LiveCode to the Android SDK, type > >> command-shift-g, and put in: > >> > >> ~/Library/Android/sdk/ > >> > >> That path isn?t exactly right I?m sure, LiveCode doesn?t recognize it as > >> valid Android SDK root. It?s been a few years since I had to set that > path. > >> > >> > >>> On Apr 5, 2020, at 3:25 PM, Skip Kimpel via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >>> > >>> I am relatively new to Mac so if this is an easy fix, sorry for asking. > >> I > >>> have installed Android Studio and the SDK is located in my user/library > >>> directory. I figured out how to reveal the library folder using Finder > >> but > >>> when I try to browse to the SDK location in Livecode settings, I am not > >>> able to get there. > >>> > >>> Can anybody help? This is driving me nuts because I know it is a > quick > >>> fix. > >>> > >>> Thanks, > >>> > >>> SKIP > >>> _______________________________________________ > >>> 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 > > _______________________________________________ > 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 Sun Apr 5 18:27:14 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 5 Apr 2020 15:27:14 -0700 Subject: Getting started with geographical coordinates In-Reply-To: References: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> <003901d609d2$f798d9a0$e6ca8ce0$@net> <095B4477-5D2B-4C7A-B465-C4B4A3FAFB44@mac.com> <1A5D1D18-7394-43D3-9F32-5B8767115830@mac.com> <004401d609fe$ae84a4c0$0b8dee40$@net> <860038C0-CA32-41BF-A8E1-1866E239D5C3@iotecdigital.com> <000701d60a90$04555d40$0d0017c0$@net> Message-ID: <4a524d95-3ba8-7a08-36c1-2dc55043866f@sonic.net> On 4/5/20 1:03 PM, Graham Samuel via use-livecode wrote: > constant k1 = 0.017453 -- that's pi/180 We're 20 years into the 21st century. Isn't it about time we could type constant k1 = pi/180 -- Mark Wieder ahsoftware at gmail.com From colinholgate at gmail.com Sun Apr 5 18:28:38 2020 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 5 Apr 2020 16:28:38 -0600 Subject: Problems locating Android SDK In-Reply-To: References: <9E3F822E-4A63-45DB-BCF7-DBCAFACA1F71@gmail.com> Message-ID: I manually downloaded Tools from here: https://developer.android.com/studio And put it into the SDK folder. LiveCode is still not happy. > On Apr 5, 2020, at 4:09 PM, matthias rebbe via use-livecode wrote: > > Hi Skip, > > the problem is that Android Studio 3.6.x does not install Android command line tools by default. > > this is an excerpt of the update LC lesson http://lessons.livecode.com/m/2571/l/625198-livecode-and-android-studio > > > > Update: Android Studio 3.6 has stopped to install the android command line tools by default. These tools were stored in the /Users/youruser/Library/Android/sdk/tools folder, and contained some necessary jar files that are needed to build for Android. > > You can still force Android Studio 3.6 to download these tools: > > - Launch Android Studio and go to Configure -> "SDK Manager" > > - In the new window open "System Settings -> Android SDK". > > - From there pick the tab "SDK Tools". > > - Uncheck the "Hide Obsolete Packages" option in the bottom of the window. > > - Now there should appear a new option: "Android SDK Tools (Obsolete)" - check that, hit "Apply" - it will download the files and "Tools" folder will appear in the /Users/youruser/Library/Android/sdk/ folder: > > > > > > HTH, > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 05.04.2020 um 23:55 schrieb Skip Kimpel via use-livecode : >> >> Very helpful, thank you Colin..... and I knew it would not be that easy. >> Now I get a message that says "The chosen folder is not a valid Android >> SDK. Please ensure you have installed it correctly, and enabled support >> for 9.0 (api 28). I went back into Android Studio and verified the path >> was correct and that I had checked the box for version 9.0, which I had. >> Any other suggestions for this new phase I am stuck at? >> >> SKIP >> >> On Sun, Apr 5, 2020 at 5:47 PM Colin Holgate via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> In Finder there is a Go menu, in which you can Go to Folder? Then you type >>> in the path to the hidden user library to get there. The same thing works >>> in open dialogs. When you are pointing LiveCode to the Android SDK, type >>> command-shift-g, and put in: >>> >>> ~/Library/Android/sdk/ >>> >>> That path isn?t exactly right I?m sure, LiveCode doesn?t recognize it as >>> valid Android SDK root. It?s been a few years since I had to set that path. >>> >>> >>>> On Apr 5, 2020, at 3:25 PM, Skip Kimpel via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> >>>> I am relatively new to Mac so if this is an easy fix, sorry for asking. >>> I >>>> have installed Android Studio and the SDK is located in my user/library >>>> directory. I figured out how to reveal the library folder using Finder >>> but >>>> when I try to browse to the SDK location in Livecode settings, I am not >>>> able to get there. >>>> >>>> Can anybody help? This is driving me nuts because I know it is a quick >>>> fix. >>>> >>>> Thanks, >>>> >>>> SKIP >>>> _______________________________________________ >>>> 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 > > _______________________________________________ > 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 skiplondon at gmail.com Sun Apr 5 18:45:20 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Sun, 5 Apr 2020 18:45:20 -0400 Subject: Problems locating Android SDK In-Reply-To: References: <9E3F822E-4A63-45DB-BCF7-DBCAFACA1F71@gmail.com> Message-ID: okay, glad it is not just me then. SKIP On Sun, Apr 5, 2020 at 6:29 PM Colin Holgate via use-livecode < use-livecode at lists.runrev.com> wrote: > I manually downloaded Tools from here: > > https://developer.android.com/studio > > And put it into the SDK folder. LiveCode is still not happy. > > > > On Apr 5, 2020, at 4:09 PM, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi Skip, > > > > the problem is that Android Studio 3.6.x does not install Android > command line tools by default. > > > > this is an excerpt of the update LC lesson > http://lessons.livecode.com/m/2571/l/625198-livecode-and-android-studio > > > > > > > > Update: Android Studio 3.6 has stopped to install the android command > line tools by default. These tools were stored in the > /Users/youruser/Library/Android/sdk/tools folder, and contained some > necessary jar files that are needed to build for Android. > > > > You can still force Android Studio 3.6 to download these tools: > > > > - Launch Android Studio and go to Configure -> "SDK Manager" > > > > - In the new window open "System Settings -> Android SDK". > > > > - From there pick the tab "SDK Tools". > > > > - Uncheck the "Hide Obsolete Packages" option in the bottom of the > window. > > > > - Now there should appear a new option: "Android SDK Tools (Obsolete)" - > check that, hit "Apply" - it will download the files and "Tools" folder > will appear in the /Users/youruser/Library/Android/sdk/ folder: > > > > > > > > > > > > HTH, > > > > - > > Matthias Rebbe > > Life Is Too Short For Boring Code > > > >> Am 05.04.2020 um 23:55 schrieb Skip Kimpel via use-livecode < > use-livecode at lists.runrev.com>: > >> > >> Very helpful, thank you Colin..... and I knew it would not be that easy. > >> Now I get a message that says "The chosen folder is not a valid Android > >> SDK. Please ensure you have installed it correctly, and enabled support > >> for 9.0 (api 28). I went back into Android Studio and verified the > path > >> was correct and that I had checked the box for version 9.0, which I had. > >> Any other suggestions for this new phase I am stuck at? > >> > >> SKIP > >> > >> On Sun, Apr 5, 2020 at 5:47 PM Colin Holgate via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >>> In Finder there is a Go menu, in which you can Go to Folder? Then you > type > >>> in the path to the hidden user library to get there. The same thing > works > >>> in open dialogs. When you are pointing LiveCode to the Android SDK, > type > >>> command-shift-g, and put in: > >>> > >>> ~/Library/Android/sdk/ > >>> > >>> That path isn?t exactly right I?m sure, LiveCode doesn?t recognize it > as > >>> valid Android SDK root. It?s been a few years since I had to set that > path. > >>> > >>> > >>>> On Apr 5, 2020, at 3:25 PM, Skip Kimpel via use-livecode < > >>> use-livecode at lists.runrev.com> wrote: > >>>> > >>>> I am relatively new to Mac so if this is an easy fix, sorry for > asking. > >>> I > >>>> have installed Android Studio and the SDK is located in my > user/library > >>>> directory. I figured out how to reveal the library folder using > Finder > >>> but > >>>> when I try to browse to the SDK location in Livecode settings, I am > not > >>>> able to get there. > >>>> > >>>> Can anybody help? This is driving me nuts because I know it is a > quick > >>>> fix. > >>>> > >>>> Thanks, > >>>> > >>>> SKIP > >>>> _______________________________________________ > >>>> 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 > > > > _______________________________________________ > > 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 Sun Apr 5 20:36:53 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 6 Apr 2020 00:36:53 +0000 Subject: Problems locating Android SDK In-Reply-To: References: <9E3F822E-4A63-45DB-BCF7-DBCAFACA1F71@gmail.com> Message-ID: <65E0B853-4548-4BE3-A14C-DE8937DD9129@hindu.org> Mine is working, I'm wondering if I can put it a dropbox for you. (4.6 GB) Or does it put your "machine signature" on it when you install it. I remember having to "down grade it" to build-tools 29.0.01 to get it to be seen by LC, BR ?On 4/5/20, 12:46 PM, "use-livecode on behalf of Skip Kimpel via use-livecode" wrote: okay, glad it is not just me then. SKIP From colinholgate at gmail.com Sun Apr 5 20:43:43 2020 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 5 Apr 2020 18:43:43 -0600 Subject: Problems locating Android SDK In-Reply-To: <65E0B853-4548-4BE3-A14C-DE8937DD9129@hindu.org> References: <9E3F822E-4A63-45DB-BCF7-DBCAFACA1F71@gmail.com> <65E0B853-4548-4BE3-A14C-DE8937DD9129@hindu.org> Message-ID: <553FEDE9-E5BF-4B5F-98BD-AD73C19B16A3@gmail.com> You could give the path that you are using. Also, did you have to set up any virtual machines? Long ago LiveCode was only happy if you had an Android 2.2 virtual device. > On Apr 5, 2020, at 6:36 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > > Mine is working, I'm wondering if I can put it a dropbox for you. (4.6 GB) Or does it put your "machine signature" on it when you install it. I remember having to "down grade it" to build-tools 29.0.01 to get it to be seen by LC, > > BR > > > > > > ?On 4/5/20, 12:46 PM, "use-livecode on behalf of Skip Kimpel via use-livecode" wrote: > > okay, glad it is not just me then. > > SKIP > > > > _______________________________________________ > 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 Sun Apr 5 20:54:40 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 6 Apr 2020 00:54:40 +0000 Subject: Problems locating Android SDK In-Reply-To: <553FEDE9-E5BF-4B5F-98BD-AD73C19B16A3@gmail.com> References: <9E3F822E-4A63-45DB-BCF7-DBCAFACA1F71@gmail.com> <65E0B853-4548-4BE3-A14C-DE8937DD9129@hindu.org> <553FEDE9-E5BF-4B5F-98BD-AD73C19B16A3@gmail.com> Message-ID: ~/Library/Android/sdk/ I don't use virtual machines... I just use my MotoG6 on WiFi without a SIM card...USB... it is really fast to build and take one variable out of the equation. (I don't trust the VMs... call me superstitious...) When I an "happy" .... I put the SivaSiva.ipk on our web server and have good beta tester in four different countries. All with very different Android phones/Bandwidth ?On 4/5/20, 2:44 PM, "use-livecode on behalf of Colin Holgate via use-livecode" wrote: You could give the path that you are using. Also, did you have to set up any virtual machines? Long ago LiveCode was only happy if you had an Android 2.2 virtual device. From skiplondon at gmail.com Sun Apr 5 21:24:02 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Sun, 5 Apr 2020 21:24:02 -0400 Subject: Problems locating Android SDK In-Reply-To: References: <9E3F822E-4A63-45DB-BCF7-DBCAFACA1F71@gmail.com> <65E0B853-4548-4BE3-A14C-DE8937DD9129@hindu.org> <553FEDE9-E5BF-4B5F-98BD-AD73C19B16A3@gmail.com> Message-ID: I did an uninstall of the Android Studio and re-installed it. After that, it worked. Go figure! SKIP On Sun, Apr 5, 2020 at 8:55 PM Sannyasin Brahmanathaswami via use-livecode < use-livecode at lists.runrev.com> wrote: > ~/Library/Android/sdk/ > > I don't use virtual machines... I just use my MotoG6 on WiFi without a SIM > card...USB... it is really fast to build and take one variable out of the > equation. (I don't trust the VMs... call me superstitious...) > > When I an "happy" .... I put the SivaSiva.ipk on our web server and have > good beta tester in four different countries. All with very different > Android phones/Bandwidth > > > > ?On 4/5/20, 2:44 PM, "use-livecode on behalf of Colin Holgate via > use-livecode" use-livecode at lists.runrev.com> wrote: > > You could give the path that you are using. Also, did you have to set > up any virtual machines? Long ago LiveCode was only happy if you had an > Android 2.2 virtual device. > > _______________________________________________ > 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 alex at tweedly.net Sun Apr 5 21:37:03 2020 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 6 Apr 2020 02:37:03 +0100 Subject: Maximum field height? In-Reply-To: References: <60a7fa2c-2499-4c31-fc6a-d280678937fe@fourthworld.com> Message-ID: <82b76e4c-ce26-c852-d710-e35ae6ddde18@tweedly.net> As I see it, there are 4 broad areas of problem for LC on mobile OSes. The first two have been well described earlier in the thread and should just be fixed. 1. xTalk features just don't work, or work totally inadequately (e.g. scrolling fields). 2. Failure in cross-platform equivalence. The other two are, I suspect, not truly solvable. 3. It's not "Live"Code. Developing for Mobile gets you back into the horrible edit - compile (i.e. build a standalone) - test cycle. 4. You still need to deal with the ugly issues of the SDKs and the app-store? requirements. So, for me personally, even if LC Ltd. could fix (1) and (2), I would still not even bother trying to build a mobile app; it's just not worth the hassle or the learning curve. OK - that's an easy decision for me - I don't do this for a living, I do it for fun. And right now Mobile development is no fun. The downside is, I've all but run out of reasons to develop in LC. I used to write little (but useful) apps/games/utilities for myself, or my family, or sometimes for friends. I don't think my wife's laptop has been switched on this year - she uses her tablet and/or phone almost exclusively. And others in the family are much the same. So I think the right solution is for LC Ltd is to add *another* target platform - PWAs. (This has the advantage that it also tackles the inadequacy of the HTML platform). LC Ltd should just pick a set of PWA components (I don't know which - maybe Angular, Polymer, etc. I *really* don't know which - but just pick one for me !!). Then they should identify a *subset* of LC script/UI features that can be readily mapped to JS and a LC/JS library, and implement that. Given the ability to re-load JS it should be feasible to be (fairly) "Live"Code, without a full stand-alone build step.? It should produce fast-loading, small "apps" that would allow many fairly straightforward apps to be developed easily - bringing Mobile development back into the realm where new / naive users (that includes me) can readily develop apps and run them on the devices we all use these days. And I'd get to stick to LC :-) Alex. On 05/04/2020 21:53, Curry Kenworthy via use-livecode wrote: > > Agreed!!! I had grown weary of endless arguments previously pushing > back against most LC critiques while the wagons were circled, so very > glad to see this frankly discussed now. > > "Live" Code. Meaning: WYSIWYG between dev and runtime, no > edit-compile-run cycle, much more efficient. Remember the marketing? > For us the Users, it wasn't just marketing. It was real, and it was > the reason and the empowerment. We lived it and used it. Still do on > desktop. > > But LC has never been "Live" Code on mobile platforms. A big fail. Not > just the UI, but also the mobileBlahBlah keywords that must be placed > in if/then branches to avoid runtime errors on desktop whereas they > should have been designed pan-platform. When these first appeared I > was hoping they were temporary. Instead they've grown and multiplied, > setting an arguably bad trend for the future. > > That was a huge design flaw or design mistake/bad decision for a > product called "Live" Code. LC Ltd needs to understand and embrace > some key characteristics of its own product. It's not just marketing, > and it's not a HyperCard "Boomer" fad that will (or should) die out > demographically with younger coders. It's valid, there's a reason, and > it's so important. > > How's that for a "second"? :) > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.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 sundown at pacifier.com Sun Apr 5 22:48:11 2020 From: sundown at pacifier.com (JB) Date: Sun, 5 Apr 2020 19:48:11 -0700 Subject: Maximum field height? In-Reply-To: <82b76e4c-ce26-c852-d710-e35ae6ddde18@tweedly.net> References: <60a7fa2c-2499-4c31-fc6a-d280678937fe@fourthworld.com> <82b76e4c-ce26-c852-d710-e35ae6ddde18@tweedly.net> Message-ID: <1ED431AD-A59B-4514-935A-B6A0267AC150@pacifier.com> It seems if Apple made the iOS compatible with the desktop it would solve a lot of problems. The question is why don?t they make them compatible? Is their some kind of FCC regulation that prevents Apple from using phone apps on the desktop? Back in the HyperCard days there was hyperDialer and I really liked it a lot but I think the company was blocked from using it by the phone companies or something like that. Anyway there are no replacements and I haven?t seen any others that survived so there is a reason the desktop does not have simple phone capabilities. JB > On Apr 5, 2020, at 6:37 PM, Alex Tweedly via use-livecode wrote: > > As I see it, there are 4 broad areas of problem for LC on mobile OSes. > > The first two have been well described earlier in the thread and should just be fixed. > > 1. xTalk features just don't work, or work totally inadequately (e.g. scrolling fields). > > 2. Failure in cross-platform equivalence. > > The other two are, I suspect, not truly solvable. > > 3. It's not "Live"Code. Developing for Mobile gets you back into the horrible edit - compile (i.e. build a standalone) - test cycle. > > 4. You still need to deal with the ugly issues of the SDKs and the app-store requirements. > > So, for me personally, even if LC Ltd. could fix (1) and (2), I would still not even bother trying to build a mobile app; it's just not worth the hassle or the learning curve. > > OK - that's an easy decision for me - I don't do this for a living, I do it for fun. And right now Mobile development is no fun. > > The downside is, I've all but run out of reasons to develop in LC. I used to write little (but useful) apps/games/utilities for myself, or my family, or sometimes for friends. I don't think my wife's laptop has been switched on this year - she uses her tablet and/or phone almost exclusively. And others in the family are much the same. > > So I think the right solution is for LC Ltd is to add *another* target platform - PWAs. (This has the advantage that it also tackles the inadequacy of the HTML platform). > > LC Ltd should just pick a set of PWA components (I don't know which - maybe Angular, Polymer, etc. I *really* don't know which - but just pick one for me !!). Then they should identify a *subset* of LC script/UI features that can be readily mapped to JS and a LC/JS library, and implement that. > > Given the ability to re-load JS it should be feasible to be (fairly) "Live"Code, without a full stand-alone build step. It should produce fast-loading, small "apps" that would allow many fairly straightforward apps to be developed easily - bringing Mobile development back into the realm where new / naive users (that includes me) can readily develop apps and run them on the devices we all use these days. > > And I'd get to stick to LC :-) > > Alex. > > On 05/04/2020 21:53, Curry Kenworthy via use-livecode wrote: >> >> Agreed!!! I had grown weary of endless arguments previously pushing back against most LC critiques while the wagons were circled, so very glad to see this frankly discussed now. >> >> "Live" Code. Meaning: WYSIWYG between dev and runtime, no edit-compile-run cycle, much more efficient. Remember the marketing? For us the Users, it wasn't just marketing. It was real, and it was the reason and the empowerment. We lived it and used it. Still do on desktop. >> >> But LC has never been "Live" Code on mobile platforms. A big fail. Not just the UI, but also the mobileBlahBlah keywords that must be placed in if/then branches to avoid runtime errors on desktop whereas they should have been designed pan-platform. When these first appeared I was hoping they were temporary. Instead they've grown and multiplied, setting an arguably bad trend for the future. >> >> That was a huge design flaw or design mistake/bad decision for a product called "Live" Code. LC Ltd needs to understand and embrace some key characteristics of its own product. It's not just marketing, and it's not a HyperCard "Boomer" fad that will (or should) die out demographically with younger coders. It's valid, there's a reason, and it's so important. >> >> How's that for a "second"? :) >> >> Best wishes, >> >> Curry Kenworthy >> >> Custom Software Development >> "Better Methods, Better Results" >> LiveCode Training and Consulting >> http://livecodeconsulting.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 scott at elementarysoftware.com Sun Apr 5 22:55:44 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sun, 5 Apr 2020 19:55:44 -0700 Subject: Mobile Wondering Message-ID: <49CC55D1-9EDD-474B-92F9-CC7E6572F868@elementarysoftware.com> > 1. xTalk features just don't work, or work totally inadequately (e.g. scrolling fields). I feel this is overly harsh. Livecode fields (and the creation of native UIText fields) do work on mobile. I think the issue is that the use of some objects (like fields) on mobile is not as drag ?n' drop simple as it is on desktop. No argument there. And the fact that mobile-specific commands each need to be wrapped inside an environment-check to keep from throwing an error in the IDE. > 3. It's not "Live"Code. Developing for Mobile gets you back into the horrible edit - compile (i.e. build a standalone) - test cycle. I agree that there is much more of this needed for mobile since the IDE doesn?t allow us to build directly on mobile (I?m not sure that is a bad thing.) I have found simulators to be a good intermediary but it absolutely does require this frequent build cycle for some aspects of development. > 4. You still need to deal with the ugly issues of the SDKs and the app-store requirements. I suspect that jumping the security hoops like certificates and store portals are a big reasons why even if "everyone can code? not everyone can see their mobile creation made available to others. Learning how to navigate these added security restrictions is time consuming and confusing (at least to me). Several people like Trevore DeVore and Matthias Rebbe have been helping ease these complications for desktop. I?m not sure what the answer is for mobile, though. ? Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-800-615-0867 ------------------------------------------------------ > On Apr 5, 2020, at 6:37 PM, Alex Tweedly via use-livecode wrote: > > As I see it, there are 4 broad areas of problem for LC on mobile OSes. > > The first two have been well described earlier in the thread and should just be fixed. > > 1. xTalk features just don't work, or work totally inadequately (e.g. scrolling fields). > > 2. Failure in cross-platform equivalence. > > The other two are, I suspect, not truly solvable. > > 3. It's not "Live"Code. Developing for Mobile gets you back into the horrible edit - compile (i.e. build a standalone) - test cycle. > > 4. You still need to deal with the ugly issues of the SDKs and the app-store requirements. > > So, for me personally, even if LC Ltd. could fix (1) and (2), I would still not even bother trying to build a mobile app; it's just not worth the hassle or the learning curve. > > OK - that's an easy decision for me - I don't do this for a living, I do it for fun. And right now Mobile development is no fun. > > The downside is, I've all but run out of reasons to develop in LC. I used to write little (but useful) apps/games/utilities for myself, or my family, or sometimes for friends. I don't think my wife's laptop has been switched on this year - she uses her tablet and/or phone almost exclusively. And others in the family are much the same. > > So I think the right solution is for LC Ltd is to add *another* target platform - PWAs. (This has the advantage that it also tackles the inadequacy of the HTML platform). > > LC Ltd should just pick a set of PWA components (I don't know which - maybe Angular, Polymer, etc. I *really* don't know which - but just pick one for me !!). Then they should identify a *subset* of LC script/UI features that can be readily mapped to JS and a LC/JS library, and implement that. > > Given the ability to re-load JS it should be feasible to be (fairly) "Live"Code, without a full stand-alone build step. It should produce fast-loading, small "apps" that would allow many fairly straightforward apps to be developed easily - bringing Mobile development back into the realm where new / naive users (that includes me) can readily develop apps and run them on the devices we all use these days. > > And I'd get to stick to LC :-) > > Alex. > > On 05/04/2020 21:53, Curry Kenworthy via use-livecode wrote: >> >> Agreed!!! I had grown weary of endless arguments previously pushing back against most LC critiques while the wagons were circled, so very glad to see this frankly discussed now. >> >> "Live" Code. Meaning: WYSIWYG between dev and runtime, no edit-compile-run cycle, much more efficient. Remember the marketing? For us the Users, it wasn't just marketing. It was real, and it was the reason and the empowerment. We lived it and used it. Still do on desktop. >> >> But LC has never been "Live" Code on mobile platforms. A big fail. Not just the UI, but also the mobileBlahBlah keywords that must be placed in if/then branches to avoid runtime errors on desktop whereas they should have been designed pan-platform. When these first appeared I was hoping they were temporary. Instead they've grown and multiplied, setting an arguably bad trend for the future. >> >> That was a huge design flaw or design mistake/bad decision for a product called "Live" Code. LC Ltd needs to understand and embrace some key characteristics of its own product. It's not just marketing, and it's not a HyperCard "Boomer" fad that will (or should) die out demographically with younger coders. It's valid, there's a reason, and it's so important. >> >> How's that for a "second"? :) >> >> Best wishes, >> >> Curry Kenworthy >> >> Custom Software Development >> "Better Methods, Better Results" >> LiveCode Training and Consulting >> http://livecodeconsulting.com/ From jacque at hyperactivesw.com Mon Apr 6 00:20:29 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 05 Apr 2020 23:20:29 -0500 Subject: Maximum field height? In-Reply-To: <82b76e4c-ce26-c852-d710-e35ae6ddde18@tweedly.net> References: <60a7fa2c-2499-4c31-fc6a-d280678937fe@fourthworld.com> <82b76e4c-ce26-c852-d710-e35ae6ddde18@tweedly.net> Message-ID: <1714db7e2c8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On April 5, 2020 8:39:15 PM Alex Tweedly via use-livecode wrote: > 1. xTalk features just don't work, or work totally inadequately (e.g. > scrolling fields). Somewhat true. LC made a start by adding widgets you can drop onto the stack to create native mobile buttons and fields, but I'd like to see regular LC controls magically change to native mobile controls much as the Mac, Windows, and (sort of) Linux appearances do. That would make a world of difference. But there are features on mobile that don't exist on desktop. LC has provided for things like Android toasts and iOS popups. These things are one reason the language can't be entirely universal; mobile requires a different feature set. But it would be great if a scrolling field would just be a scrolling field everywhere. On the other hand, mobile lets you scroll all sorts of things (images, carousels, etc.) so we'd still need our mobile scroller anyway. I agree it could be easier, but it isn't impossible. But parity wherever possible would be my first choice in what I'd like to see improved. > > 2. Failure in cross-platform equivalence. If you mean mobile equivalence, Android is catching up quickly, in part because of the FM initiative. I appreciate that. iOS is pretty well covered for the most part. Some folks mentioned the issue of branching for different mobile platforms but that doesn't bother me much. We have to do that sometimes for the three desktop platforms already. The features that both iOS and Android do have in common use the same code and syntax. > The other two are, I suspect, not truly solvable. > > 3. It's not "Live"Code. Developing for Mobile gets you back into the > horrible edit - compile (i.e. build a standalone) - test cycle. Yeah, this is a pain. I'm not sure there's any way around it but the addition of remote debugging has made it far easier. For a long time I felt like I was back in 1998 where I had to sprinkle "answer" dialogs all over the place just to know what my variable values were. There are some tricks though that help. I created a generic launcher app that loads my working stack so there's no actual compile required. I can't do this for complex apps, but I can do it for testing pieces and bits that will eventually go into the main app later. For simpler apps, the entire stack can be tested pretty easily this way. > > 4. You still need to deal with the ugly issues of the SDKs and the > app-store requirements. For me this is the hardest part, way worse than developing the app itself. It's also why I'd much rather deal with Android than Apple. Google is pretty easy to deal with. Apple is a constantly moving target with a rollercoaster of requirements, not to mention the profiles and certificates and what seems to me to be an unnecessarily complex review process. However, if you are just developing for yourself or a few other people, you don't have to mess with either app store. Android apps can be freely distributed to anyone by any method and you don't even need a Google account. iOS apps can be distributed to a few people as "testers" without going through their byzantine submission process, though you do still need to mess with their account, certificates and profiles. I'm thankful that the LC team keeps up with Apple's constantly changing requirements. Apple doesn't seem to value their developers much. > > So, for me personally, even if LC Ltd. could fix (1) and (2), I would > still not even bother trying to build a mobile app; it's just not worth > the hassle or the learning curve. It isn't such a steep learning curve as you'd think. One test app will probably get you going. If I were starting over, I'd start with Android because it's so much more flexible. The hardest part there is just making sure you download the right SDK and Java version. > OK - that's an easy decision for me - I don't do this for a living, I do > it for fun. And right now Mobile development is no fun. It could be improved, but it isn't not-fun. It's just software development like anything else. As you say, I don't have much choice. I haven't really done a desktop app for a couple of years now, clients want mobile and mobile only. Desktop apps are going away. My main client deals in university software and half the students don't even own a computer any more, they do everything on their tablets or phones. I found that LC Android apps also run pretty well on Chromebooks, even though LC doesn't officially support those, and if students own a laptop at all, it's likely to be a Chromebook these days. They're cheap and fast and essentially immune to malware. When we only distributed desktop apps, students complained that they had to go to the school's computer lab because they didn't have a laptop. > > The downside is, I've all but run out of reasons to develop in LC. That would be a shame. You already have the skills, and aside from a few, but not all, mobile controls, the rest of it is pretty much what you already know. The bulk of your scripts won't be any different from a desktop app. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From phil at pdslabs.net Mon Apr 6 02:25:25 2020 From: phil at pdslabs.net (Phil Davis) Date: Sun, 5 Apr 2020 23:25:25 -0700 Subject: Socket Help In-Reply-To: <6106AFCD-76DB-4C7E-AF5C-6204302E977F@iotecdigital.com> References: <019888B1-2AA5-448C-A35C-4726C5D9226B@iotecdigital.com> <2AEBFD8D-0639-447B-9D91-B4EABF601BE4@elloco.com> <6106AFCD-76DB-4C7E-AF5C-6204302E977F@iotecdigital.com> Message-ID: <023c09bd-28d7-b308-fa9a-5030837835a5@pdslabs.net> Hi Bob, I created a client-server business system for a client some years ago. It too uses data encryption. What I did on the server side was prep the data for net transfer (base64Encode it as the final prep step, I think), then transfer length(data) & CR & data. On the client side, the app reads from the socket for 1 line (which goes into a variable, say "X"), then read from socket for X bytes. This keeps it simple - no need for special terminators etc - and seems to always work. Phil Davis On 4/5/20 12:51 PM, Bob Sneidar via use-livecode wrote: > Hi Kee. Thanks for the response. > > I decided to go ahead and bypass the issue of the client and server being on the same device. I got my laptop out and created the server app there. I got it working as advertised. > > [Technical stuff] > One thing I am doing is encrypting the data before sending it. The thing is, I needed a delimiter of some kind when reading the data back, because the data will be variable in length, and the end char will also be variable. > > So what I did is I appended a termination character after the encrypted data before sending it, then stripped the termination on the server side before decrypting it. I do the same thing when sending data back. This has the effect of making any intercepted data in transit impossible to decrypt without knowing that there IS a terminator, what the terminator is, the encryption key and the seed! Even a brute force method would fail to decrypt the data. > > I could get even fancier by sending two transmissions each way, the first being the randomized position and "poison pill" character that will be inserted into the encrypted data (itself encrypted), and a second the actual encrypted data. Even if the client and server stacks aren't password protected, there would be no way to anticipate what the poison pill character and position was. > > I suppose I could use a web server with SSL certs, but first, I don?t know how, and second I would be adding the lag time for the web server to respond. Right now it's taking a little over 300 milliseconds for a simple string to return on a local area network > > My goal is to create a client/server agent that I can securely send database queries to and get results back from. > > Bob S > > > On Apr 5, 2020, at 11:55 AM, Kee Nethery via use-livecode > wrote: > > Here?s how this should work. > > Server has an IP and port number that it listens on. Client sends a packet from the same IP and some random port. > > Computer routes the packet and it doesn?t have to send the packet out on the net. It goes out the client port and back in to the server port. > > Server replies from its port to the client port (client is waiting for a reply). > > Try talking to your server with a browser on your computer and see what the server response looks like. > > Kee Nethery > > On Apr 5, 2020, at 11:22 AM, Bob Sneidar via use-livecode > wrote: > > Hi all. > > I am creating a client/server socket based app and I am trying to develop both the client and server on the same workstation, and I am having difficulty. I *think* the issue is that the client and server cannot both be on the same system, but I?m not entirely sure. I?m asking the system to listen and also talk on the same port. > > Anyone have any insight into this? > > 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 > > > > _______________________________________________ > 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 andre at andregarzia.com Mon Apr 6 06:39:07 2020 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 6 Apr 2020 11:39:07 +0100 Subject: Our first Community Zoom Session In-Reply-To: <780FCCA2-378D-42FE-B96B-6D4F988B6924@livecode.com> References: <780FCCA2-378D-42FE-B96B-6D4F988B6924@livecode.com> Message-ID: Hi Folks, I missed the meeting, is there a recording available? Best A. On Thu, 2 Apr 2020 at 11:31, Heather Laine via use-livecode < use-livecode at lists.runrev.com> wrote: > Dear list folks, > > I have now scheduled our first zoom meeting, open to anyone who wishes to > discuss LiveCode, share hints and tips and see a friendly face during this > period of isolation for many. I will be there in a moderation capacity, to > facilitate discussion. Panos will be joining me to help out. The actual > debate, discussion, conversation and topics is down to you guys and gals! > Come along and bring a topic you'd like to share/learn information on. Just > to reiterate, the usual list rules apply: we're talking LiveCode, we're not > talking religion or politics, and cheese should be kept to a minimum :) > > To give us an idea of numbers and how to best manage the meeting, I have > turned on registration for this meeting, so you can click on the link below > to register. It would be helpful if you can do this in advance. The meeting > will be tomorrow, Friday 3rd April, at 4pm UK time, (we've just switched to > Summer Time here). To see what time that is for you, please go here: > > https://www.timeanddate.com/ > > or just click the registration link and you will be able to specify a > timezone to see what time it will be for you. > > The invitation: > > You are invited to a Zoom meeting. > > When: Apr 3, 2020 04:00 PM London > > Register in advance for this meeting: > > https://zoom.us/meeting/register/v50kdeGuqjstQaRWOduQAUs31lqtQJOVdA > > After registering, you will receive a confirmation email containing > information about joining the meeting. > > Warm Regards, and see you tomorrow! > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.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 > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From paul at researchware.com Mon Apr 6 09:37:59 2020 From: paul at researchware.com (Paul Dupuis) Date: Mon, 6 Apr 2020 09:37:59 -0400 Subject: Maximum field height? In-Reply-To: <1ED431AD-A59B-4514-935A-B6A0267AC150@pacifier.com> References: <60a7fa2c-2499-4c31-fc6a-d280678937fe@fourthworld.com> <82b76e4c-ce26-c852-d710-e35ae6ddde18@tweedly.net> <1ED431AD-A59B-4514-935A-B6A0267AC150@pacifier.com> Message-ID: On 4/5/2020 10:48 PM, JB via use-livecode wrote: > The question is why don?t they make them compatible? Is their some > kind of FCC regulation that prevents Apple from using phone apps on > the desktop? Back in the HyperCard days there was hyperDialer and > I really liked it a lot but I think the company was blocked from using it > by the phone companies or something like that. Anyway there are no > replacements and I haven?t seen any others that survived so there is > a reason the desktop does not have simple phone capabilities. Apple is absolutely working towards iOS and macOS being highly similar. However, if you're hoping that brings increased simplicity of application development to iOS, that isn't Apple's aim. The value to them of unification is to get macOS app into the same exclusivity an app store as iOS. Currently deployment of macOS apps can be through the macOS App store or outside of it. iOS app must be through the App store. Apple wants to gradually migrate the macOS base to the point where they can say macOS apps will only be available through the App store as well. Then they can drive the same developer changes on OSX that they do on iOS and take their same 30% cut. From bobsneidar at iotecdigital.com Mon Apr 6 10:49:09 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Apr 2020 14:49:09 +0000 Subject: Socket Help In-Reply-To: <023c09bd-28d7-b308-fa9a-5030837835a5@pdslabs.net> References: <019888B1-2AA5-448C-A35C-4726C5D9226B@iotecdigital.com> <2AEBFD8D-0639-447B-9D91-B4EABF601BE4@elloco.com> <6106AFCD-76DB-4C7E-AF5C-6204302E977F@iotecdigital.com> <023c09bd-28d7-b308-fa9a-5030837835a5@pdslabs.net> Message-ID: <5E6AEAA4-D06F-4EEE-BF88-3BADD8A73CD5@iotecdigital.com> Hi Phil. Thanks for the reply. I?m curious how this client server method handles multiple simultaneous connections? I had the idea of having a listener agent spawn an SQL Agent stack the first time a client connected, that would then listen on a random port. The listener agent would return the random port to the client which would then in the future communicate with the random SQL agent directly. A kind of passive connection if you will. I?m not sure all that is necessary though. I kept waking up all night thinking of ways to implement the encryption so that even a person with time to decipher the method would not be able to use it in subsequent captures. Of course, nothing is uncrackable, even Fort Knox, given the time, resources and resolve. The trick to encryption is to make the process of foreign decryption so tedious and time consuming that it isn?t worth the effort. And of course the reward for the foreign agent has to be considered when determining the level of complexity. There is no hacker in the Ukraine poring over the encrypted packets of my SQL transactions to access my data, so I don?t think I need go to extreme measures! I simply need to be able to reassure the principles of my company that their data is secure in transit. One more note, to secure passwords that I store in SQL, I encrypt those separately with a different key and seed before creating the SQL. That way, even if someone got physical access to the database, they couldn?t decipher the passwords. Bob S On Apr 5, 2020, at 11:25 PM, Phil Davis via use-livecode > wrote: Hi Bob, I created a client-server business system for a client some years ago. It too uses data encryption. What I did on the server side was prep the data for net transfer (base64Encode it as the final prep step, I think), then transfer length(data) & CR & data. On the client side, the app reads from the socket for 1 line (which goes into a variable, say "X"), then read from socket for X bytes. This keeps it simple - no need for special terminators etc - and seems to always work. Phil Davis From devin_asay at byu.edu Mon Apr 6 10:55:29 2020 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 6 Apr 2020 14:55:29 +0000 Subject: Old Fossil seeks fast track assistance In-Reply-To: <1B5FE27E-88F3-4AEE-A696-DF8C658DB3A1@mac.com> References: <1B5FE27E-88F3-4AEE-A696-DF8C658DB3A1@mac.com> Message-ID: Graham, I?ve just been through this gauntlet with my students. I provided some links and lessons for them at http://livecode.byu.edu/mobile/test-deploy-links.php. I found the process for setting up Android a little fraught with pitfalls, so I created an expanded instruction sheet for Android setup, linked to that page. I?m staying with the latest Stable version of LiveCode for my class, 9.5.1. I?m running on Mac OS 10.14 Mojave. With this setup I have to use Xcode 10.1. As a refresher, on developer.apple.com, you need to create your iOS developer certificate, register all of the UDIDs for your iOS devices, then create a wildcard provisioning profile for testing your apps. The provisioning profile must include all devices you want to test on. A collection of links of instructions for distributing mobile apps: http://livecode.byu.edu/mobile/mobileAppDistribution.php. I hope this will all help jog your memory. I find mine needs to be jogged every time I come back to this mobile stuff after a long time away. Cheers, Devin On Apr 4, 2020, at 2:38 AM, Graham Samuel via use-livecode > wrote: Hi All - sorry this is a bit long, but I need help. I?m a long term LC developer who more or less retired from development a couple of years ago, but I?ve kept on lurking in this list and trying rather hopelessly to remain up to date. My experience has been mostly on desktop apps, with a little iOS work. I haven?t ever done much on Android. I have just about retained my credentials as an Apple developer. Now I find I really want to develop a mobile app at speed, and deploy it. I don?t anticipate all that much difficulty in creating my app in the sense of designing and coding it - this can call on my own quite extensive experience of the past, the LC documentation and this invaluable list. I can reasonable hope to create a prototype in a few days. However there is a massive gap: testing and deployment. I don?t have access to my most recent development machine (it?s in another country and I?m self-isolating), so I am working with an iMac that can only run MacOS High Sierra (and Windows 10 via Parallels, but I was hoping not to go there for this project). Now, I clearly need to organise the right version of XCode and the right SDK for my iOS development, and I need to do the equivalent thing for Android - and I don?t know how to do it. For iOS, I THINK I need XCode 10.2, which I?m trying to download to replace the copy of 9.2 already on my machine. I obviously need to work with a compatible SDK. For Android, I don?t know where to start, so for now I am putting this on the back burner, but I will have to return to it eventually. Even when I?ve lined all this up (if indeed it?s feasible), I then need to remind myself how to test via simulators (I used to be good at this, so maybe that is not so scary, but I am not at all up to date) and then I need to get the app onto real hardware - starting with iPhones, as I?ve got a few of these. I really don?t know how to do this for testing, and more so I don?t know how to distribute a test version to a small population of testers, although I know this is feasible. The whole project may crash and burn at this beta testing stage, so actually getting it into the App Store can wait a bit. Obviously I am not expecting people on this list to hold my hand at every step. My main concern is to be guided through the body of LC notes etc to get absolutely practical advice and recipes as to what to do at each stage. If I study the LC stuff long enough, I will get there, but I would dearly love help to fast-track it all. Thanks Graham _______________________________________________ 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 Apr 6 11:00:11 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Apr 2020 15:00:11 +0000 Subject: Maximum field height? In-Reply-To: <1714db7e2c8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <60a7fa2c-2499-4c31-fc6a-d280678937fe@fourthworld.com> <82b76e4c-ce26-c852-d710-e35ae6ddde18@tweedly.net> <1714db7e2c8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: There?s the rub I think. For RunRev (is the company still called that?) to make what mobile objects they can universal, and leave the others as is would then create a situation where developers would have to know what controls were universal, and which were Mobile/Desktop only. It just adds another layer of complexity. I?m curious though if a library could be created so that a handler for a mobile message (let?s say a touch message) could ?translate? into a desktop message? In this way, the app on the mobile would send a mouseUp message to the target. Seems crazy I know. I?m just Pea Brain Storming. Bob S On Apr 5, 2020, at 9:20 PM, J. Landman Gay via use-livecode > wrote: But there are features on mobile that don't exist on desktop. LC has provided for things like Android toasts and iOS popups. These things are one reason the language can't be entirely universal; mobile requires a different feature set. But it would be great if a scrolling field would just be a scrolling field everywhere. On the other hand, mobile lets you scroll all sorts of things (images, carousels, etc.) so we'd still need our mobile scroller anyway. From bobsneidar at iotecdigital.com Mon Apr 6 11:01:27 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Apr 2020 15:01:27 +0000 Subject: Maximum field height? In-Reply-To: References: <60a7fa2c-2499-4c31-fc6a-d280678937fe@fourthworld.com> <82b76e4c-ce26-c852-d710-e35ae6ddde18@tweedly.net> <1ED431AD-A59B-4514-935A-B6A0267AC150@pacifier.com> Message-ID: <0106D896-B8FB-4120-B403-9059BE9DD156@iotecdigital.com> I think that would kill the Apple Desktop OS. Bob S On Apr 6, 2020, at 6:37 AM, Paul Dupuis via use-livecode > wrote: Apple is absolutely working towards iOS and macOS being highly similar. However, if you're hoping that brings increased simplicity of application development to iOS, that isn't Apple's aim. The value to them of unification is to get macOS app into the same exclusivity an app store as iOS. Currently deployment of macOS apps can be through the macOS App store or outside of it. iOS app must be through the App store. Apple wants to gradually migrate the macOS base to the point where they can say macOS apps will only be available through the App store as well. Then they can drive the same developer changes on OSX that they do on iOS and take their same 30% cut. From alex at tweedly.net Mon Apr 6 11:12:35 2020 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 6 Apr 2020 16:12:35 +0100 Subject: Mobile Wondering In-Reply-To: <49CC55D1-9EDD-474B-92F9-CC7E6572F868@elementarysoftware.com> References: <49CC55D1-9EDD-474B-92F9-CC7E6572F868@elementarysoftware.com> Message-ID: <79144dcc-6d11-f5ad-7ccd-e5dc5f4ba0c0@tweedly.net> On 06/04/2020 03:55, scott--- via use-livecode wrote: >> 1. xTalk features just don't work, or work totally inadequately (e.g. scrolling fields). > I feel this is overly harsh. Livecode fields (and the creation of native UIText fields) do work on mobile. I think the issue is that the use of some objects (like fields) on mobile is not as drag ?n' drop simple as it is on desktop. No argument there. Yes, it was harsh - but sometimes a little bit of hyperbole helps, if only the mood of the speaker :-) And, thinking about your and Jacque's responses, maybe my experience is a bit out of date; I should try again. But, afaik, it's not just scrolling fields; aren't there also issues with keyboard input requiring you to scroll / move the field to remain visible, or > And the fact that mobile-specific commands each need to be wrapped inside an environment-check to keep from throwing an error in the IDE. Yes, that's the kind of thing I meant in my item (2) "equivalence". Many of the mobileXXX function have no desktop equivalent - but could still be better named, and provide some empty response to ease development on the desktop. But others are actually useful features - and I see no reason why LC shouldn't implement those as widgets for desktop (where feasible). Why not have a mobilePick that works on desktop ?? Or "pickDate", or "pickContact" ? Or mobileCompose???mail ? That way we'd be maintaining "platform equivalence" - and maybe even giving desktop developers features that make LC an even better choice. > >> 3. It's not "Live"Code. Developing for Mobile gets you back into the horrible edit - compile (i.e. build a standalone) - test cycle. > I agree that there is much more of this needed for mobile since the IDE doesn?t allow us to build directly on mobile (I?m not sure that is a bad thing.) I have found simulators to be a good intermediary but it absolutely does require this frequent build cycle for some aspects of development. I found simulators completely useless. Though that may be because it was a few years ago. And even then, you have the clumsiness of wiating for a build/download/test cycle. >> 4. You still need to deal with the ugly issues of the SDKs and the app-store requirements. > I suspect that jumping the security hoops like certificates and store portals are a big reasons why even if "everyone can code? not everyone can see their mobile creation made available to others. Learning how to navigate these added security restrictions is time consuming and confusing (at least to me). Several people like Trevore DeVore and Matthias Rebbe have been helping ease these complications for desktop. I?m not sure what the answer is for mobile, though. I should have made those two separate points. 4A. SDKs and the build environment. Just horrible; when I tried this a few years ago (for Android) it took me days of frustration and guesswork to get a working SDK, and get it connected to LC, and to try to get a simulator to work properly. Including choosing (I think it "device type") from a long drop-down list of devices I didn't own. I picked at random - and was told either that it was "unavailable" or "will be slow - suggest you try a different device". Well - they were right about that - the simulator was S...L...O...W. I never did get round to trying for IOS, because everyone said how much harder it was than Android :-) 4B. App store issues. Never got that far - though it sounds like it's pretty annoying. Build for a few people (and sidestep the store) - seems to be possible, but not clear how easy it is. Thanks for the reply - it has stiffened my resolve to have another go !! -- Alex. From bobsneidar at iotecdigital.com Mon Apr 6 11:13:46 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Apr 2020 15:13:46 +0000 Subject: Go to card has become slow In-Reply-To: References: <9EBB7CAB-1383-43B4-A2D2-E5688151CBA6@iotecdigital.com> Message-ID: Hi Richard. In review, I tested saving stacks on a standalone Windows Workstation, a VMWARE VM on a very robust server host, a Parallels VM on a workstation and my Mac. As I am saving the stack, I am watching the folder the stack is in. I see the tilde version pop up and go away. On Mac it?s almost instantaneous. On Windows it can be 3 to 4 seconds. I do the same thing for SQL queries, querying the exact same data on each device I tested on. There are seven individual queries performed for each ?transaction? in the Main Form. On my Mac, it takes about 1 to 2 seconds. On any of the Windows systems above, it takes 5 to 6 seconds, and one of the systems is the ACTUAL mySQL SERVER itself. I am using sqlYoga to make the queries, but I?ve compared the time it takes to query using sqlYoga to mySQL Workbench, and the lag is very minimal (once I commented out the statements in libsqlYoga that saved the parent stack every time a query was run!) I disabled Kaspersky during these tests to eliminate that possibility, and Defender is disabled domain wide by Group Policy. My conclusion remains the same. Networking and File Operations on Windows is generally slower than on a Mac, or let?s call it *nix. I can throw together a test app for you if you care to check my numbers. Bob S On Apr 5, 2020, at 10:30 AM, Richard Gaskin via use-livecode > wrote: I've been trying to sort through several reports about write speeds on Windows, but most examples I've seen conflate several different tasks. For example, the latest I came across had a mix of JSON translation and array manipulation in addition to writes, so diligent analysis would require pulling that example stack apart into three different tests to pinpoint the actual bottleneck. From david.bovill at gmail.com Mon Apr 6 11:17:28 2020 From: david.bovill at gmail.com (David Bovill) Date: Mon, 6 Apr 2020 16:17:28 +0100 Subject: Our first Community Zoom Session In-Reply-To: References: <780FCCA2-378D-42FE-B96B-6D4F988B6924@livecode.com> Message-ID: <3c753732-23ce-4e56-b2a3-c3ec4a15da91@Spark> Me too! On 6 Apr 2020, 11:40 +0100, Andre Garzia via use-livecode , wrote: > Hi Folks, > > I missed the meeting, is there a recording available? > > Best > A. From jacque at hyperactivesw.com Mon Apr 6 11:34:56 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 Apr 2020 10:34:56 -0500 Subject: Maximum field height? In-Reply-To: References: <60a7fa2c-2499-4c31-fc6a-d280678937fe@fourthworld.com> <82b76e4c-ce26-c852-d710-e35ae6ddde18@tweedly.net> <1714db7e2c8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <17150215d00.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Touch messages already send duplicate mouse messages. In fact, unless you need two-finger zooming, you don't need touch handlers at all. I only use standard mouse handlers generally because they wotk on both mobile and desktop. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 6, 2020 10:02:19 AM Bob Sneidar via use-livecode wrote: > There?s the rub I think. For RunRev (is the company still called that?) to > make what mobile objects they can universal, and leave the others as is > would then create a situation where developers would have to know what > controls were universal, and which were Mobile/Desktop only. It just adds > another layer of complexity. > > I?m curious though if a library could be created so that a handler for a > mobile message (let?s say a touch message) could ?translate? into a desktop > message? In this way, the app on the mobile would send a mouseUp message to > the target. > > Seems crazy I know. I?m just Pea Brain Storming. > > Bob S > > > On Apr 5, 2020, at 9:20 PM, J. Landman Gay via use-livecode > > wrote: > > But there are features on mobile that don't exist on desktop. LC has > provided for things like Android toasts and iOS popups. These things are > one reason the language can't be entirely universal; mobile requires a > different feature set. But it would be great if a scrolling field would > just be a scrolling field everywhere. On the other hand, mobile lets you > scroll all sorts of things (images, carousels, etc.) so we'd still need our > mobile scroller anyway. > > _______________________________________________ > 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 Mon Apr 6 12:14:21 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 6 Apr 2020 09:14:21 -0700 Subject: Problems locating Android SDK In-Reply-To: References: Message-ID: <5df1a7f6-292e-1f26-41d8-2b38472e2e92@fourthworld.com> I'm setting up a new machine for Android development. Where is the one-page list of steps on the livecode.com site that reliably guides a new user through this for all supported platforms (Mac, Win, Linux)? This one fails: http://lessons.livecode.com/m/2571/l/625198-livecode-and-android-studio #CriticalDocumentationBugsThatTurnOffNewUsers -- 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 Mon Apr 6 12:16:39 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 6 Apr 2020 09:16:39 -0700 Subject: Maximum field height? In-Reply-To: References: Message-ID: Bob Sneidar wrote: > I?m curious though if a library could be created so that a handler for > a mobile message (let?s say a touch message) could ?translate? into a > desktop message? In this way, the app on the mobile would send a > mouseUp message to the target. Why not? Most developers I know do exactly that. We all rewrite the same library, over and over, because it isn't in the box. Newcomers will not know to do this, or how. -- 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 Mon Apr 6 12:10:32 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 6 Apr 2020 09:10:32 -0700 Subject: Socket Help In-Reply-To: <5E6AEAA4-D06F-4EEE-BF88-3BADD8A73CD5@iotecdigital.com> References: <5E6AEAA4-D06F-4EEE-BF88-3BADD8A73CD5@iotecdigital.com> Message-ID: <751bc1cf-3367-dcea-2937-a6663192d454@fourthworld.com> Bob Sneidar wrote: > I?m curious how this client server method handles multiple > simultaneous connections? I had the idea of having a listener agent > spawn an SQL Agent stack the first time a client connected, that would > then listen on a random port. The listener agent would return the > random port to the client which would then in the future communicate > with the random SQL agent directly. A kind of passive connection if > you will. I?m not sure all that is necessary though. > > I kept waking up all night thinking of ways to implement the > encryption so that even a person with time to decipher the method > would not be able to use it in subsequent captures. Two rubrics that have saved me much time, effort, and unrest: 1. Unless you have a specific reason why another protocol is truly necessary, use HTTP. Tooling, documentation, simplicity, extensibility - it's all there, ready to use, right now. 2. Never roll your own security. Consider all the hours spent developing, testing, refining, reporting, revising, packaging, documenting. No single human will ever replicate even a corner of that in an entire lifetime. And there's no need, since most of the best security options are Free and open. -- 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 panos.merakos at livecode.com Mon Apr 6 12:18:18 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 6 Apr 2020 19:18:18 +0300 Subject: [ANN] This Week in LiveCode 220 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 #220 here: https://bit.ly/2XdS03z 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 dochawk at gmail.com Mon Apr 6 12:25:12 2020 From: dochawk at gmail.com (doc hawk) Date: Mon, 6 Apr 2020 09:25:12 -0700 Subject: Go to card has become slow In-Reply-To: <6AA64BD1-A118-48B1-B720-F5EF16857A4E@iotecdigital.com> References: <02B224BC-7A2C-4B24-8D27-AAF826214C42@byu.edu> <07AC22BB-F5CE-4263-BE69-3FF211AE999E@btinternet.com> <7954002B-2407-4180-90DB-03B00E5C8C99@iotecdigital.com> <9EBB7CAB-1383-43B4-A2D2-E5688151CBA6@iotecdigital.com> <03C6991C-1001-449A-9334-95FA0EAF7768@gmail.com> <6AA64BD1-A118-48B1-B720-F5EF16857A4E@iotecdigital.com> Message-ID: <0DE68EFA-1E96-4669-B49D-AA4211452758@gmail.com> On Apr 5, 2020, at 11:18 AM, Bob Sneidar via use-livecode wrote: > > I don?t think LC accepts multiple statement transactions at all, does it? I?d be dead int the water if it didn?t. ;) I?m flat out *dependent* on these?opening a debtor in my software requires several hundred entries to be pulled, and at event few milliseconds of latency, this would be brutal. I had an old version running with livecode?s mySQL version several years ago, and even after coming back for it to finish loading, the overhead from latenciy for repeated transactions made it simply unusable ( I think this was before I was stashing in a memory SQLite. [I started with a file-bases SQLITE and an array of internal variables, and with a couple of intermediate steps, ended up with :memory: SQLite, and asynchronously tapping Postgres every 30 seconds or so with updates. From ambassador at fourthworld.com Mon Apr 6 12:28:02 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 6 Apr 2020 09:28:02 -0700 Subject: Go to card has become slow In-Reply-To: References: Message-ID: <387e29ef-5b4d-8cb8-b4e7-7d9719486109@fourthworld.com> Bob Sneidar wrote: > In review, I tested saving stacks on a standalone Windows Workstation, > a VMWARE VM on a very robust server host, a Parallels VM on a > workstation and my Mac. As I am saving the stack, I am watching the > folder the stack is in. I see the tilde version pop up and go away. On > Mac it?s almost instantaneous. On Windows it can be 3 to 4 seconds. My messages don't seem to be getting through, because each time this observation method of measuring write throughput comes up I post the same reply, yet it keeps coming up. Please confirm if you can see this: Your application writing data to disk is a very different thing from Windows Desktop Explorer automatically refreshing a directory view. Any GUI file manager on any OS will use some form of timer/polling for the refresh, and the refresh rate for macOS' Finder is much shorter than the one in Windows Desktop Explorer. Observing those GUI file managers only tells us the refresh rate of that GUI, not the write speed for the app saving a file. To measure write speed from LC it would be better to measure within LC itself, e.g.: on mouseUp put the long seconds into t write "somedata" to url ("file:whatever") if the result is not empty then answer "Couldn't write file (" &sysError()&")" exit to top end if put the long seconds - t end mouseUp When run on similarly-configured iron, is there a significant difference between macOS and Windows? When I isolate write speeds in this manner, I don't see a difference larger than could be explained by differences in hardware. But given the frequent notes about perceived differences, it would be great if we could pin down the source of those disparities with some sort of test isolating the cause. -- 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 colinholgate at gmail.com Mon Apr 6 12:42:01 2020 From: colinholgate at gmail.com (Colin Holgate) Date: Mon, 6 Apr 2020 10:42:01 -0600 Subject: Problems locating Android SDK In-Reply-To: <5df1a7f6-292e-1f26-41d8-2b38472e2e92@fourthworld.com> References: <5df1a7f6-292e-1f26-41d8-2b38472e2e92@fourthworld.com> Message-ID: <7368C3EB-D243-4825-859F-8539E9677F4E@gmail.com> That link does work, and helps to solve the problem. The current Android Studio comes with Android 10 installed, and LiveCode needs Android 9. > On Apr 6, 2020, at 10:14 AM, Richard Gaskin via use-livecode wrote: > > I'm setting up a new machine for Android development. > > Where is the one-page list of steps on the livecode.com site that reliably guides a new user through this for all supported platforms (Mac, Win, Linux)? > > This one fails: > http://lessons.livecode.com/m/2571/l/625198-livecode-and-android-studio > > > #CriticalDocumentationBugsThatTurnOffNewUsers > > -- > 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 Mon Apr 6 13:13:01 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 6 Apr 2020 10:13:01 -0700 Subject: Mobile Wondering In-Reply-To: <79144dcc-6d11-f5ad-7ccd-e5dc5f4ba0c0@tweedly.net> References: <79144dcc-6d11-f5ad-7ccd-e5dc5f4ba0c0@tweedly.net> Message-ID: <638f1fe7-93f7-511e-5a38-060e086c253d@fourthworld.com> Alex Tweedly wrote: > On 06/04/2020 03:55, scott--- via use-livecode wrote: >>> 1. xTalk features just don't work, or work totally inadequately >>> (e.g. scrolling fields). >> I feel this is overly harsh. Livecode fields (and the creation of >> native UIText fields) do work on mobile. I think the issue is that >> the use of some objects (like fields) on mobile is not as drag ?n' >> drop simple as it is on desktop. No argument there. > > Yes, it was harsh - but sometimes a little bit of hyperbole helps, if > only the mood of the speaker :-) And for purposes of new-user advocacy. Which could (and arguably should) be read as "conversion rates", or more directly, "making money". Mobile fields are a subset of the excellent LiveCode-native field. If things were the other way around that would pose a problem. But as they are, the LC field object is so flippin' awesome it certainly doesn't hurt us at all to simply use a subset of its rich features for mobile development. Of course mobile editing UI is not directly supported in the LC field object. It does a wonderful job on the desktop, and it would be super-awesome to see the object extended to support the other 55% of where users spend time. But at least we have the option to script our way to an OS-native mobile field. But why would we do that? This is an xTalk. The benefit of The xTalk Way is at the heart of all GUIs, direct manipulation of objects. It may seem perfectly reasonable to a C++ programmer to type out every little thing, but it doesn't reflect the charm, allure, and productivity advantage of The xTalk Way. Thankfully, LC is also super-flexible, so it's not all that hard to write a library that on preOpenCard looks for all editable fields, hides them, and creates matching OS-native fields over them. Extra bonus points for re-routing messages for OS-native mobile fields to traditional LC fields - even dispatching them directly to the field object the library used as the basis for the mobile field. This does two things: 1. We type less. LC is a GUI app development tool, the world's most powerful example of The xTalk Way. We type only when we need to. And we don't need to type out definitions for something as basic as a field. 2. We test on-device less. The joy of The xTalk Way is that we code and run and code and run interchangeably, interleaved, in a seamless continuum of creative flow. "We don't need no stinking compile-runtime cycle." Sure, when you want to test OS-specific features, you need to test on the specific OS. If you want to see how your AppleScript works, you test on your Mac. If you want to check your registry settings, you test on Windows. If you want to see how incomplete the player object is, you test on Linux. Same with mobile - test your OS-specific features where they exclusively live. But think about how much of a drag LC would be if every time you changed one line of code you had to stop everything you're doing, walk through a number of steps to move the app out of where you can already see it right in front of you, to go look at the same controls on a different screen. So just don't do that. Design the workflow to reflect the joyful productivity which is the reason you're reading this now, the reason we choose LiveCode. Code and run seamlessly interleaved right where you are as much as possible. When we maximize use of LC-native controls, and automate instantiation of mobile-native controls based on those LC-native controls, we get to spend more time where time is best spent, right in the IDE. Data entry, navigation, server connectivity, graphics manipulation, and many other things apps do are equally available on desktop and mobile OSes. So if you set up a workflow that requires on-device testing of things that can be tested in the IDE, you're choosing to slow down development and reduce the joy of coding. LiveCode is a wonderful environment, a rich thriving forest of development treats. Let's spend as much time in that lush world as we can, minimizing the sometimes-necessary ventures into the desert of a handheld device foraging desperately for scraps of debugging info. Let's live well. Let's live The xTalk Way. This discussion on editable fields is just one way to streamline LC into a joyful experience. Other controls can be similarly mapped, and even moving the stack to the device for testing can be radically streamlined. And the IDE itself is ripe for refinement of some of its GUI elements to provide better guidance with a simpler appearance. We can explore all of that after we resolve the question that gave rise to this thread: What is the simplest way Jacque can accomplish the most basic task of gracefully displaying a block of scrolling text? Money-making hint: if it requires creating a separate container object just to handle a deficiency in field buffering, that would most wisely be seen as a bug. -- 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 Mon Apr 6 13:32:00 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 6 Apr 2020 10:32:00 -0700 Subject: Problems locating Android SDK In-Reply-To: <7368C3EB-D243-4825-859F-8539E9677F4E@gmail.com> References: <7368C3EB-D243-4825-859F-8539E9677F4E@gmail.com> Message-ID: <8bd5da00-ec4c-67a1-4f94-c8c56d498099@fourthworld.com> Colin Holgate wrote: > On Apr 6, 2020, at 10:14 AM, Richard Gaskin wrote: >> >> I'm setting up a new machine for Android development. >> >> Where is the one-page list of steps on the livecode.com site that >> reliably guides a new user through this for all supported platforms >> (Mac, Win, Linux)? >> >> This one fails: >> http://lessons.livecode.com/m/2571/l/625198-livecode-and-android-studio > > That link does work, and helps to solve the problem. The current > Android Studio comes with Android 10 installed, and LiveCode needs > Android 9. The link itself works, in that it goes to a page. :) But I have followed its instructions to install Android 9, and pointed my LC prefs to the folder shown in the screen shot, and LC reports: The chosen folder is not a valid Android SDK. Please ensure that you have installed it correctly, and enabled support for 9.0 (API 28) When I run Android Studio it all seems to work. But LC says it doesn't. What did I miss? -- 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 Mon Apr 6 13:32:12 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Apr 2020 17:32:12 +0000 Subject: Socket Help In-Reply-To: <751bc1cf-3367-dcea-2937-a6663192d454@fourthworld.com> References: <5E6AEAA4-D06F-4EEE-BF88-3BADD8A73CD5@iotecdigital.com> <751bc1cf-3367-dcea-2937-a6663192d454@fourthworld.com> Message-ID: <4260B0B4-58F7-40E5-B90D-EE1109A21524@iotecdigital.com> I was a big believer that SSL was never going to be compromised? until it was. The retooling of industry security standards over the last 6 years or so has taught me the opposite: NEVER rely on out of the box security if you can help it. Asking a web server to get data and return it introduces a lag time which I am already struggling with. And if I DID use a web server, I would still have to go through extraordinary measures to secure THAT! By ?rolling my own? (I?m not really, I?m using LC?s built in AES encryption with a twist) I am ensuring that even if someone were able to grok my poison pill approach, and then brute force the hash, it would only work for that one instance. THEY STILL would have to brute force any password data in the instance, and they would have to do the same process all over again with the next intercepted next transmission. Bob S On Apr 6, 2020, at 9:10 AM, Richard Gaskin via use-livecode > wrote: Two rubrics that have saved me much time, effort, and unrest: 1. Unless you have a specific reason why another protocol is truly necessary, use HTTP. Tooling, documentation, simplicity, extensibility - it's all there, ready to use, right now. 2. Never roll your own security. Consider all the hours spent developing, testing, refining, reporting, revising, packaging, documenting. No single human will ever replicate even a corner of that in an entire lifetime. And there's no need, since most of the best security options are Free and open. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web From bobsneidar at iotecdigital.com Mon Apr 6 13:33:50 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Apr 2020 17:33:50 +0000 Subject: Go to card has become slow In-Reply-To: <387e29ef-5b4d-8cb8-b4e7-7d9719486109@fourthworld.com> References: <387e29ef-5b4d-8cb8-b4e7-7d9719486109@fourthworld.com> Message-ID: Control doesn?t return to the application until the tilde version goes away. On Apr 6, 2020, at 9:28 AM, Richard Gaskin via use-livecode > wrote: Your application writing data to disk is a very different thing from Windows Desktop Explorer automatically refreshing a directory view. From bobsneidar at iotecdigital.com Mon Apr 6 13:35:24 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Apr 2020 17:35:24 +0000 Subject: Go to card has become slow In-Reply-To: <387e29ef-5b4d-8cb8-b4e7-7d9719486109@fourthworld.com> References: <387e29ef-5b4d-8cb8-b4e7-7d9719486109@fourthworld.com> Message-ID: You are testing low level file operations. I am testing the saving of a Livecode stack. I don?t think this test applies. Bob S On Apr 6, 2020, at 9:28 AM, Richard Gaskin via use-livecode > wrote: on mouseUp put the long seconds into t write "somedata" to url ("file:whatever") if the result is not empty then answer "Couldn't write file (" &sysError()&")" exit to top end if put the long seconds - t end mouseUp From colinholgate at gmail.com Mon Apr 6 13:46:20 2020 From: colinholgate at gmail.com (Colin Holgate) Date: Mon, 6 Apr 2020 11:46:20 -0600 Subject: Problems locating Android SDK In-Reply-To: <8bd5da00-ec4c-67a1-4f94-c8c56d498099@fourthworld.com> References: <7368C3EB-D243-4825-859F-8539E9677F4E@gmail.com> <8bd5da00-ec4c-67a1-4f94-c8c56d498099@fourthworld.com> Message-ID: <9BABD3EF-9A65-4226-BCA2-47AF0813F355@gmail.com> You may have read the path where tools are as being where you need to point LiveCode to. Point LiveCode to ~/Library/Android/SDK, and not ~/Library/Android/SDK/Tools > On Apr 6, 2020, at 11:32 AM, Richard Gaskin via use-livecode wrote: > > Colin Holgate wrote: > > > On Apr 6, 2020, at 10:14 AM, Richard Gaskin wrote: > >> > >> I'm setting up a new machine for Android development. > >> > >> Where is the one-page list of steps on the livecode.com site that > >> reliably guides a new user through this for all supported platforms > >> (Mac, Win, Linux)? > >> > >> This one fails: > >> http://lessons.livecode.com/m/2571/l/625198-livecode-and-android-studio > > > > That link does work, and helps to solve the problem. The current > > Android Studio comes with Android 10 installed, and LiveCode needs > > Android 9. > > The link itself works, in that it goes to a page. :) > > But I have followed its instructions to install Android 9, and pointed my LC prefs to the folder shown in the screen shot, and LC reports: > > The chosen folder is not a valid Android SDK. Please > ensure that you have installed it correctly, and enabled > support for 9.0 (API 28) > > > When I run Android Studio it all seems to work. But LC says it doesn't. > > What did I miss? > > -- > 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 neville.smythe at optusnet.com.au Mon Apr 6 13:50:27 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Tue, 7 Apr 2020 03:50:27 +1000 Subject: Mobile Wondering Message-ID: I had been wondering when the third-class status of mobile platforms in the LC world, particularly in relation to scrolling fields and groups, would crop up here. Some time ago I looked at converting an iOS project to LC, and was appalled at the crude 1984-style appearance of scroll bars. I presume they look that way to inhibit their use, since the scrolling idiom on mobile platforms iOS is quite different from the desktop. But I reckon the native-scroller thingy which you had to use in its place seemed an awful hack: its appearance in a different layer meant other objects got overwritten in a completely unacceptable way (has that changed?); and the separation of the testing regime from the IDE turned back the clock on the development process, again to 1984 when you developed on the Lisa, tested on the Mac. (Yes, I was there!) So I developed a custom scrollbar which worked on both desktop and iOS. It is doable, with a modicum of fiddly stuff. You need 1. An installer stack or widget. When you drag a scrollbar template onto a field (or group), it registers the field id with the scrollbar, snaps the scrollbar to fit the field dimensions with the desired vertical or horizontal orientation, and adjusts the thumb to match the field content. It also installs a backscript and frontscript in the stack. 2. The front script captures mouse events/ drag touch gestures intended for the field, filters for scrolling events and diverts those to the appropriate custom scrollbar. For 2-dimensional scrolling I used two separate scrollbars which needed some cross-mediation of gesture directions; a combined double-scrollbar would have been better. 3. The backscript catches changes to the field affecting content, position or dimensions which need to be reflected in the scrollbars. I had it working pretty well, to the point of a mostly complete examples / installer stack . You can customise all sorts of things, such as the appearance of the thumb and scrollbar background, whether the thumb length should reflect field content proportionally or not, visible-on-demand or as-needed or hidden thumb, the number of thumb positions - for example you could have a stepper with just 5 positions and a custom image as thumb - and even have left side or top mounted scrollbars. You could even have a desktop look and feel if you wanted, and why not if Apple can flout their own UI guidelines? The iOS project lapsed, running the maze of Apple distribution requirements became discouraging and I lost interest. But it can be done. Neville From jacque at hyperactivesw.com Mon Apr 6 13:53:45 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 6 Apr 2020 12:53:45 -0500 Subject: Mobile Wondering In-Reply-To: <79144dcc-6d11-f5ad-7ccd-e5dc5f4ba0c0@tweedly.net> References: <49CC55D1-9EDD-474B-92F9-CC7E6572F868@elementarysoftware.com> <79144dcc-6d11-f5ad-7ccd-e5dc5f4ba0c0@tweedly.net> Message-ID: <1fa517d8-b592-08e5-b45a-473a7a340cf4@hyperactivesw.com> On 4/6/20 10:12 AM, Alex Tweedly via use-livecode wrote: > But, afaik, it's not just scrolling fields; aren't there also issues with keyboard input > requiring you to scroll / move the field to remain visible, That was fixed recently with mobileSetKeyboardDisplay. Also, besides mouse events working on both mobile and desktop, there is automatic conversion of option buttons to native mobile equivalents and cross-platform equivalence for browser widgets. Other widgets like navigation bars and segmented controls can change between mobile platforms by altering some of their properties, and the switch button has a handy "theme" property that lets you do that with a single property setting. I wish they all had that. We also have Android native fields, and iOS native fields and buttons (where's my Android button?) which can be dropped onto the stack, though on desktop they are placeholders. > And the fact that mobile-specific commands each need to be wrapped inside an environment-check to keep from throwing an error in the IDE. That's easy to fix. I have standard library handlers that create scrollers, input fields, etc. and at the top of each one I put "if the environment <> "mobile" then exit thisHandler". That way I can script everything normally and if I'm not on mobile the command is ignored so the scripts don't need to branch for things like that. On the other hand, a frequent request has been for the LC engine to ignore mobile commands if we're in the IDE. So there's that. > 4A. SDKs and the build environment. Just horrible; when I tried this a few years ago (for Android) it took me days of frustration and guesswork to get a working SDK, and get it connected to LC, and to try to get a simulator to work properly. Including choosing (I think it "device type") from a long drop-down list of devices I didn't own. I picked at random - and was told either that it was "unavailable" or "will be slow - suggest you try a different device". Well - they were right about that - the simulator was S...L...O...W. You're right, the Android emulator is horrible. I stopped using it early on. LC recently added support for x86-64bit specifically so we could use the faster version, but I found it much easier to just cable my phone to my Mac and use the real thing. It's quick and painless. >> I never did get round to trying for IOS, because everyone said how much harder it was than Android :-) I've found the iOS simulator to be very good, on the other hand. It accurately represents what will happen on a real device, including all the bugs I introduce. It does require a bit of setup -- downloading gigabytes of XCode is a time suck -- but once set up it performs well. However, I've found switching between different versions of XCode/LC to be cumbersome. I'd like it if LC could make the process easier, maybe by issuing shell commands behind the scenes so I don't have to. > 4B. App store issues. Never got that far - though it sounds like it's pretty annoying. > Build for a few people (and sidestep the store) - seems to be possible, but not clear how easy it is. Apple makes it painful to submit to their store, but if all you want is to generate some certificates and profiles so you can distribute to a few people, more than half the pain is avoided. Private Android distribution is a piece of cake. Build the app, send it to someone. The only caveat is that the user must enable a setting on their phone that allows them to accept apps that are not downloaded from the Play Store. Newer Android devices will ask the user if they want to do that, older ones require the user to go into Settings to flip a switch. > Thanks for the reply - it has stiffened my resolve to have another go !! I'm so glad to hear that. :) Ask us if you get stuck. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From skiplondon at gmail.com Mon Apr 6 14:06:29 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Mon, 6 Apr 2020 14:06:29 -0400 Subject: Problems locating Android SDK In-Reply-To: <9BABD3EF-9A65-4226-BCA2-47AF0813F355@gmail.com> References: <7368C3EB-D243-4825-859F-8539E9677F4E@gmail.com> <8bd5da00-ec4c-67a1-4f94-c8c56d498099@fourthworld.com> <9BABD3EF-9A65-4226-BCA2-47AF0813F355@gmail.com> Message-ID: Richard, It took me two attempts at the Android Studio install. I realized during the first attempt that I had cut it short before it had finished everything. After re-installing, it worked just fine. SKIP On Mon, Apr 6, 2020 at 1:47 PM Colin Holgate via use-livecode < use-livecode at lists.runrev.com> wrote: > You may have read the path where tools are as being where you need to > point LiveCode to. Point LiveCode to ~/Library/Android/SDK, and not > ~/Library/Android/SDK/Tools > > > > On Apr 6, 2020, at 11:32 AM, Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Colin Holgate wrote: > > > > > On Apr 6, 2020, at 10:14 AM, Richard Gaskin wrote: > > >> > > >> I'm setting up a new machine for Android development. > > >> > > >> Where is the one-page list of steps on the livecode.com site that > > >> reliably guides a new user through this for all supported platforms > > >> (Mac, Win, Linux)? > > >> > > >> This one fails: > > >> > http://lessons.livecode.com/m/2571/l/625198-livecode-and-android-studio > > > > > > That link does work, and helps to solve the problem. The current > > > Android Studio comes with Android 10 installed, and LiveCode needs > > > Android 9. > > > > The link itself works, in that it goes to a page. :) > > > > But I have followed its instructions to install Android 9, and pointed > my LC prefs to the folder shown in the screen shot, and LC reports: > > > > The chosen folder is not a valid Android SDK. Please > > ensure that you have installed it correctly, and enabled > > support for 9.0 (API 28) > > > > > > When I run Android Studio it all seems to work. But LC says it doesn't. > > > > What did I miss? > > > > -- > > 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 > > _______________________________________________ > 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 Mon Apr 6 14:07:44 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 6 Apr 2020 11:07:44 -0700 Subject: Go to card has become slow In-Reply-To: References: Message-ID: <7bc2ecc5-f475-45ed-3ac2-b4b3ea4bcfe5@fourthworld.com> Bob Sneidar wrote: > On Apr 6, 2020, at 9:28 AM, Richard Gaskin wrote: > >> Your application writing data to disk is a very different thing from >> Windows Desktop Explorer automatically refreshing a directory view. > > Control doesn?t return to the application until the tilde version goes > away. True, but LC is done with that tilde file and deletes it LONG before the separate process of the Windows File Explorer polls and redraws the graphical illustration of the deletion that has already happened. > On Apr 6, 2020, at 9:28 AM, Richard Gaskin wrote: > >> on mouseUp >> put the long seconds into t >> write "somedata" to url ("file:whatever") >> if the result is not empty then >> answer "Couldn't write file (" &sysError()&")" >> exit to top >> end if >> put the long seconds - t >> end mouseUp > > You are testing low level file operations. I am testing the saving of > a Livecode stack. I don?t think this test applies. Comforting to know that there is no perceived difference in generic file writes between Mac and Win, and that we can focus exclusively on the small handful of additional steps LC takes when saving a stack file. This is my understanding of the steps LC takes to save a stack file (hopefully Mark Waddingham will chime in if any of this is incorrect or incomplete), where "*" denotes steps unique to stack files not taken with other files: * 1. Serialize stack data * 2. If file exists, rename it with tilde 3. Open the file 4. Write the data to disk 5. Close the file * 6. Delete the tilde'd file This test will measure that: on mouseUp put the long seconds into t save this stack put the long seconds - t end mouseUp If the stack contains little data, as with other benchmarking you may need to put the task in a loop in between the timing statements to have a duration long enough to be meaningfully measurable, e.g.: on mouseUp put the long seconds into t repeat 100 save this stack end repeat put the long seconds - t end mouseUp Run that on similar Mac and Win iron and let us know how it goes. -- 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 Mon Apr 6 14:08:42 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 6 Apr 2020 11:08:42 -0700 Subject: ANN: glx2 script editor 4.0 Message-ID: I posted this to the web forum last night and figured I should put it in the list as well... so here's something to help with working in isolation. Whew! It's been a long time since I've updated this. I really thought I had made my peace with the built-in script editor, but I recently had to look at this thing again and make some long-needed adjustments. Refactored it so much that it really needs a new major version to reflect all the changes. So this is the official release of the glx2 script editor 4.0 new features: Integration of the status bar with Fourth World's devolution (http://fourthworld.com/products/devolution/index.html) Refactored code folding Status bar colors match LiveCode license version colors Fixed block comment folding inside handlers Refactored code folding yet again for speed Renamed stack for ease of editing in Project Browser Fixed "end try" tab formatting Removed most dependence on stack naming convention Some rework for compatibility with Refactor stack Folding block comments. Extended pattern matching to "()[]{}" Line numbers. Yes, finally. Pressing enter on a compiled script closes the tab ala the built-in editor. I never thought that was a thing. control-tab and shift-control tab move among the open script editor tabs. Click in line number field to toggle ghost breakpoints on and off. Line numbering and ghost breakpoints adjust properly to cut/paste/edit. There is now a proper license file. GLX2 has always been licensed under the MIT license, but there was no external notice of this, only a custom property (uRIP["EULA"]) of the mainstack. The "red dot" breakpoints are now functional, with or without PowerDebug. This is a Big Deal, because the dot positions are recalculated when you compile so that the actual breakpoints stay in sync with the visual indicators. To toggle a breakpoint for a given line, right-click on the line and select the option from the pop-up menu. Note that the ghost breakpoints are not persistent, i.e., they only exist for the current session. NOTE: If you use breakpoints without PowerDebug in the system, you will end up launching the IDE's script editor on hitting a breakpoint. The IDE's debugger is intimately intertwined with the IDE's script editor. The default font size preference is now 12 point. bugs fixed: Ghost breakpoints coexist with code folding. Compilation errors weren't highlighting the error line properly. Right-clicking the handler panel was only selecting the folders popup. Some code folding wasn't working properly. Reformatting could lose code if collapsed. Removed lots of unused legacy custom properties (see note about deleting prefs file) Command-w (control-w) closes the current tab. OSX problem with toggling GLX2 on and off Ghost breakpoints weren't correctly responding to cut/paste Refactored for speed Folding case statements inside switch contructs works properly now. It was previously collapsing all the way down to the 'end switch' statement. Line numbering could get out of sync on opening a new tab. Reopening the script editor after closing wasn't properly noticing previously-open tabs. Hacked around LC8.1 interaction with reloading/rewriting revTools. Lots of little things I had time to fix up while waiting. For one thing, the splitter bar between the handlers and script panels is more accessible now. The properties were never included in clairvoyance completion Fixed miscellaneous problems with glx2 plugin handler code Preferences weren't being loaded properly Multiple problems solved with handler folders Several things that were previously working were fixed until they broke, then refactored until they worked again. The cursor was being positioned improperly for new commands and functions Two folding structures problems fixed "else if" was folding in the middle the combination of folding structures and block comments could lose text Re-enabled live colorization Bernd Niggeman contributed live colorization fixes Fixed the cursor flickering problem Broke and fixed clairvoyance Frontscript was interfering with text/icons display in the IDE's dock known issues: Line wrapping doesn't change the line numbering. If you turn on line wrapping, the line numbers after a line wraps will be wrong. I don't currently know any way of telling when a line is being wrapped. I'd treat this as experimental and not enable it. Still some problems recognizing that text inside a block comment is not actionable. Swapping back and forth between glx2 and the IDE's script editor can get a bit wonky. Very little testing has been done on any Windows platform. If it works, it works. Spuriously recognizes "the" as a library handler. NOTE: the glx2Plugins.txt file should be placed in the same user plugins folder as glx2 itself. If you have an older "glx2 Plugins.txt" file you can get rid of it. I renamed the new file to eliminate the embedded space, and the older naming convention will just be ignored. Current plugin integrations are lcTaskList and PowerDebug. Also, it's probably best practice to delete any existing "GLX2 Code Prefs.txt" preference file before installing the new version. Some preferences have changed and the discrepancy may cause some confusion. -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Mon Apr 6 14:09:21 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 6 Apr 2020 11:09:21 -0700 Subject: Problems locating Android SDK In-Reply-To: <9BABD3EF-9A65-4226-BCA2-47AF0813F355@gmail.com> References: <9BABD3EF-9A65-4226-BCA2-47AF0813F355@gmail.com> Message-ID: <154e9a61-efba-fd5c-6b76-37197ad5307b@fourthworld.com> Colin Holgate wrote: > You may have read the path where tools are as being where you need to > point LiveCode to. Point LiveCode to ~/Library/Android/SDK, and not > ~/Library/Android/SDK/Tools Thank you, Colin. ~/Android/SDK/ is where I pointed it (Ubuntu 18.04). -- 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 Mon Apr 6 14:12:03 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 6 Apr 2020 11:12:03 -0700 Subject: Problems locating Android SDK In-Reply-To: References: Message-ID: <99f94970-376a-954b-26db-2dad17b1c658@fourthworld.com> Skip Kimpel wrote: > Richard, > > It took me two attempts at the Android Studio install. I realized > during the first attempt that I had cut it short before it had > finished everything. After re-installing, it worked just fine. Thank you, Skip (and good to see you back on this list, BTW). Well, turning it off and then turning it back on again is the universal IT fix, so I'll do a resinstall and see how it goes. -- 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 Mon Apr 6 14:18:50 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 6 Apr 2020 11:18:50 -0700 Subject: Mobile Wondering In-Reply-To: References: Message-ID: <68ffabe6-0cca-93e9-dd56-086e617d1485@fourthworld.com> When a desktop theme manager isn't available, LC reverts to its built-in emulated Motif, hence the odd appearance (which is awesome if you love NeXT, and horribly confusing to literally every newcomer if they're not ancient enough to remember the old Unix UI and know the intricacies of MetaCard's history, or even what MetaCard was). For mobile, LC suggests hand-scripting a overlay object to handle the user interation and graphical feedback for scrollable controls like fields and groups. In practice, most devs I know don't type those manually, but have written their own routines that automatically instantiate mobile scrollers by examining controls on preOpenCard and setting up the scrollers as needed. I do not know why this is impossible for the engine to do, but it's easy enough to work around in a script. -- Richard Gaskin Fourth World Systems > > Mobile Wondering > Neville Smythe neville.smythe at optusnet.com.au > Mon Apr 6 13:50:27 EDT 2020 > > Previous message (by thread): Mobile Wondering > Next message (by thread): [ANN] This Week in LiveCode 220 > Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] > > I had been wondering when the third-class status of mobile platforms in the LC world, particularly in relation to scrolling fields and groups, would crop up here. > > Some time ago I looked at converting an iOS project to LC, and was appalled at the crude 1984-style appearance of scroll bars. I presume they look that way to inhibit their use, since the scrolling idiom on mobile platforms iOS is quite different from the desktop. But I reckon the native-scroller thingy which you had to use in its place seemed an awful hack: its appearance in a different layer meant other objects got overwritten in a completely unacceptable way (has that changed?); and the separation of the testing regime from the IDE turned back the clock on the development process, again to 1984 when you developed on the Lisa, tested on the Mac. (Yes, I was there!) > > So I developed a custom scrollbar which worked on both desktop and iOS. It is doable, with a modicum of fiddly stuff. > You need > > 1. An installer stack or widget. When you drag a scrollbar template onto a field (or group), it registers the field id with the scrollbar, snaps the scrollbar to fit the field dimensions with the desired vertical or horizontal orientation, and adjusts the thumb to match the field content. It also installs a backscript and frontscript in the stack. > > 2. The front script captures mouse events/ drag touch gestures intended for the field, filters for scrolling events and diverts those to the appropriate custom scrollbar. For 2-dimensional scrolling I used two separate scrollbars which needed some cross-mediation of gesture directions; a combined double-scrollbar would have been better. > > 3. The backscript catches changes to the field affecting content, position or dimensions which need to be reflected in the scrollbars. > > I had it working pretty well, to the point of a mostly complete examples / installer stack . You can customise all sorts of things, such as the appearance of the thumb and scrollbar background, whether the thumb length should reflect field content proportionally or not, visible-on-demand or as-needed or hidden thumb, the number of thumb positions - for example you could have a stepper with just 5 positions and a custom image as thumb - and even have left side or top mounted scrollbars. You could even have a desktop look and feel if you wanted, and why not if Apple can flout their own UI guidelines? > > The iOS project lapsed, running the maze of Apple distribution requirements became discouraging and I lost interest. But it can be done. > > Neville > > Previous message (by thread): Mobile Wondering > Next message (by thread): [ANN] This Week in LiveCode 220 > Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] > > More information about the use-livecode mailing list From ambassador at fourthworld.com Mon Apr 6 14:38:54 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 6 Apr 2020 11:38:54 -0700 Subject: Socket Help In-Reply-To: <4260B0B4-58F7-40E5-B90D-EE1109A21524@iotecdigital.com> References: <4260B0B4-58F7-40E5-B90D-EE1109A21524@iotecdigital.com> Message-ID: <27db178f-1832-0833-c55b-a4cc026efb24@fourthworld.com> Bob Sneidar wrote: > I was a big believer that SSL was never going to be compromised? until > it was. The retooling of industry security standards over the last 6 > years or so has taught me the opposite: NEVER rely on out of the box > security if you can help it. After acknowledging how bugs can creep into even widely-used and critical code, do you really want to try to outdo hundreds of security specialists single-handedly? Heartbleed is an excellent case in point, as the maintainer was a single person, and though the code was open everyone using it just took it for granted. The amazing thing is that nothing worse happened - that one fella was pretty good, just one single error added during an uncommonly hectic day. After that there are now two assigned maintainers, and an large number of code reviews with every build from staff in orgs dependent on it. I hold no security certifications. But I pass along the rubric of "never write your own security" from literally everyone I know who does. Your code, your call, of course. > Asking a web server to get data and return it introduces a lag time > which I am already struggling with. What is the lag time of an already-resident Apache process (or Lighttpd, or NGinX) in compiled object code optimized for that one task by specialists, vs a scripted implementation in LiveCode? Might be worth measuring before replicating. > And if I DID use a web server, I would still have to go through > extraordinary measures to secure THAT! What steps are needed to secure a standard web server that are not needed for equivalent security in a custom server? I'm not arguing here. Heck, I sometimes even write my own database engines, so I'm certainly not trying to talk you out of having a good time scripting. But the older I get the more I like to have my fun where the fun happens, in the business logic of the system I'm delivering, rather than reinventing generic infrastructure. -- 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 jacque at hyperactivesw.com Mon Apr 6 14:39:05 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 6 Apr 2020 13:39:05 -0500 Subject: Who else doesn't want auto-select when opening a card? Message-ID: <32c479de-1f05-70da-d9d9-e34a1bd33f29@hyperactivesw.com> This makes me crazy. I almost never want the first field selected when I go to a card, particularly on mobile. And god forbid the first field is a list field, where the first line is hilited whenever the stack resumes focus, even if the hilitedline was 0. The workaround is tedious: on preOpenCard, set traversalOn to false, send a message to turn it back on after the card is displayed, include a handler that will catch the message and do the deed. I want a property or setting that lets me turn off this default behavior. It's annoying and disruptive, and has been there since day one. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mark at canelasoftware.com Mon Apr 6 14:49:05 2020 From: mark at canelasoftware.com (Mark Talluto) Date: Mon, 6 Apr 2020 11:49:05 -0700 Subject: ANN: glx2 script editor 4.0 In-Reply-To: References: Message-ID: <5D8F3BD7-3862-47F3-A49C-A8E555C99779@canelasoftware.com> On Apr 6, 2020, at 11:08 AM, Mark Wieder via use-livecode wrote: > > I posted this to the web forum last night and figured I should put it in the list as well... so here's something to help with working in isolation. Nice work Mark. I am giving it a try right now. I am interested in to seeing how it goes. Quick question: I am interested in using the ?Chalkboard Motiff?. When I select it I do not see a change in the look. Same when I close the prefs. What am I missing? The same is true for changing the font size. I changed the font to ?Source Code Pro? if that matters. Thanks again for this update. Best regards, Mark Talluto livecloud.io nursenotes.net canelasoftware.com From bobsneidar at iotecdigital.com Mon Apr 6 14:52:06 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Apr 2020 18:52:06 +0000 Subject: Socket Help In-Reply-To: <4260B0B4-58F7-40E5-B90D-EE1109A21524@iotecdigital.com> References: <5E6AEAA4-D06F-4EEE-BF88-3BADD8A73CD5@iotecdigital.com> <751bc1cf-3367-dcea-2937-a6663192d454@fourthworld.com> <4260B0B4-58F7-40E5-B90D-EE1109A21524@iotecdigital.com> Message-ID: <0524E92E-5806-4BC0-8744-F307964BC789@iotecdigital.com> Hi Richard. Just to be absolutely certain I excluded any other factors, I tested retrieving data from mySQL from a Mac and from a PC using only the Message Box (no UI). Since I am out of the office, I can only test my Mac remotely. I can however remote into the mySQL server at work which is running LC. Both are v9.5.1 Community. With the Mac I am getting as low as 295 milliseconds to query my entire database of customers and retrieve it as an array. On the actual server where the mySQL database resides, I am getting over 1000 milliseconds. Querying for only 1 record from the same database, I?m getting 123 and 865 respectively. To ensure I wasn?t encountering DNS lag I set the server host to localhost. I cannot get much more local than that. Even with the added latency of the Internet from the Mac, and the advantage of the PC being the very computer the SQL server is on, I am getting a difference of roughly 7 times slower. No UI updating is involved. It?s a straight up message box script: put the milliseconds into tStart put sqlquery_createObject("customers") into qObject sqlquery_set qObject, "limit", 1 put dbQuery(qObject, "array") into aData put the milliseconds into tEnd put tEnd - tStart I think this is pretty conclusive. Either Windows networking is for whatever reason, considerably slower, at least for this kind of operation, than Mac, or else the Windows LC engine is the bottleneck. Bob S From mark at canelasoftware.com Mon Apr 6 14:58:42 2020 From: mark at canelasoftware.com (Mark Talluto) Date: Mon, 6 Apr 2020 11:58:42 -0700 Subject: Who else doesn't want auto-select when opening a card? In-Reply-To: <32c479de-1f05-70da-d9d9-e34a1bd33f29@hyperactivesw.com> References: <32c479de-1f05-70da-d9d9-e34a1bd33f29@hyperactivesw.com> Message-ID: <1DC9E843-2131-458C-81BC-06630354577A@canelasoftware.com> On Apr 6, 2020, at 11:39 AM, J. Landman Gay via use-livecode wrote: > > This makes me crazy. I almost never want the first field selected when I go to a card, particularly on mobile. And god forbid the first field is a list field, where the first line is hilited whenever the stack resumes focus, even if the hilitedline was 0. > > The workaround is tedious: on preOpenCard, set traversalOn to false, send a message to turn it back on after the card is displayed, include a handler that will catch the message and do the deed. > > I want a property or setting that lets me turn off this default behavior. It's annoying and disruptive, and has been there since day one. Agreed. It is much easier for us to focus on a field if wanted this on a preOpenCard. Best regards, Mark Talluto livecloud.io nursenotes.net canelasoftware.com From phil at pdslabs.net Mon Apr 6 14:50:06 2020 From: phil at pdslabs.net (Phil Davis) Date: Mon, 6 Apr 2020 11:50:06 -0700 Subject: Socket Help In-Reply-To: <5E6AEAA4-D06F-4EEE-BF88-3BADD8A73CD5@iotecdigital.com> References: <019888B1-2AA5-448C-A35C-4726C5D9226B@iotecdigital.com> <2AEBFD8D-0639-447B-9D91-B4EABF601BE4@elloco.com> <6106AFCD-76DB-4C7E-AF5C-6204302E977F@iotecdigital.com> <023c09bd-28d7-b308-fa9a-5030837835a5@pdslabs.net> <5E6AEAA4-D06F-4EEE-BF88-3BADD8A73CD5@iotecdigital.com> Message-ID: Hi Bob, I'm realizing now that your system connects client and server via the internet. Mine connects them via LAN. Big security difference! In another system I wrote that connects client & server over the internet, the server does this upon receiving a request: does a 'wait flag' (temp file) exist for this data source? ?? - no: ????? - is this an update request? ???????? - no: select/assemble data & put it ???????? - yes: set a 'wait flag', do the update, delete the wait flag, put the response ?? - yes: put 'busy'? (client tries again in a few ticks, up to x attempts) In the case of this system, the traffic is low enough so this approach has worked fine for years. In a higher volume system you might want to see if any other CGI transactions are in progress against the requested data source before you start changing data. That's all I got. I realize it probably isn't new news. Phil On 4/6/20 7:49 AM, Bob Sneidar via use-livecode wrote: > Hi Phil. Thanks for the reply. > > I?m curious how this client server method handles multiple simultaneous connections? I had the idea of having a listener agent spawn an SQL Agent stack the first time a client connected, that would then listen on a random port. The listener agent would return the random port to the client which would then in the future communicate with the random SQL agent directly. A kind of passive connection if you will. I?m not sure all that is necessary though. > > I kept waking up all night thinking of ways to implement the encryption so that even a person with time to decipher the method would not be able to use it in subsequent captures. > > Of course, nothing is uncrackable, even Fort Knox, given the time, resources and resolve. The trick to encryption is to make the process of foreign decryption so tedious and time consuming that it isn?t worth the effort. > > And of course the reward for the foreign agent has to be considered when determining the level of complexity. There is no hacker in the Ukraine poring over the encrypted packets of my SQL transactions to access my data, so I don?t think I need go to extreme measures! I simply need to be able to reassure the principles of my company that their data is secure in transit. > > One more note, to secure passwords that I store in SQL, I encrypt those separately with a different key and seed before creating the SQL. That way, even if someone got physical access to the database, they couldn?t decipher the passwords. > > Bob S > > On Apr 5, 2020, at 11:25 PM, Phil Davis via use-livecode > wrote: > > Hi Bob, > > I created a client-server business system for a client some years ago. It too uses data encryption. What I did on the server side was prep the data for net transfer (base64Encode it as the final prep step, I think), then transfer length(data) & CR & data. > > On the client side, the app reads from the socket for 1 line (which goes into a variable, say "X"), then read from socket for X bytes. This keeps it simple - no need for special terminators etc - and seems to always work. > > Phil Davis > > _______________________________________________ > 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 Mon Apr 6 15:02:44 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 6 Apr 2020 12:02:44 -0700 Subject: Who else doesn't want auto-select when opening a card? In-Reply-To: <32c479de-1f05-70da-d9d9-e34a1bd33f29@hyperactivesw.com> References: <32c479de-1f05-70da-d9d9-e34a1bd33f29@hyperactivesw.com> Message-ID: J. Landman Gay wrote: > I want a property or setting that lets me turn off this default > behavior. It's annoying and disruptive, and has been there since > day one. I lost count of how many times I've seen that come up in the forums over the years. What you propose seems reasonable and useful. And because it involves NOT doing something, it would seem relatively easy to implement. Anyone here up for the task of implementing 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 bobsneidar at iotecdigital.com Mon Apr 6 15:03:38 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Apr 2020 19:03:38 +0000 Subject: ANN: glx2 script editor 4.0 In-Reply-To: <5D8F3BD7-3862-47F3-A49C-A8E555C99779@canelasoftware.com> References: <5D8F3BD7-3862-47F3-A49C-A8E555C99779@canelasoftware.com> Message-ID: <53E13198-F3FA-4758-8CC2-2F045D31511E@iotecdigital.com> Whoa! Quite a bit smaller! I?ll check it out. Really excited! I loved GLX2 but the code loss on OS X when switching GLX2 on and off was killing me! I will back things up and check for that. Bob S From ambassador at fourthworld.com Mon Apr 6 15:06:50 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 6 Apr 2020 12:06:50 -0700 Subject: Socket Help In-Reply-To: <0524E92E-5806-4BC0-8744-F307964BC789@iotecdigital.com> References: <0524E92E-5806-4BC0-8744-F307964BC789@iotecdigital.com> Message-ID: Thanks for the example, Bob. Yes, it does seem very conclusive. Do you know if there's an existing bug report for this? I've seen a few other Win-specific reports, but the ones I recall were mostly about file I/O, and I don't recall one for network I/O. -- Richard Gaskin Fourth World Systems Bob Sneidar wrote: > Hi Richard. > > Just to be absolutely certain I excluded any other factors, I tested > retrieving data from mySQL from a Mac and from a PC using only the > Message Box (no UI). > > Since I am out of the office, I can only test my Mac remotely. I can > however remote into the mySQL server at work which is running LC. Both > are v9.5.1 Community. > > With the Mac I am getting as low as 295 milliseconds to query my > entire database of customers and retrieve it as an array. On the > actual server where the mySQL database resides, I am getting over 1000 > milliseconds. > > Querying for only 1 record from the same database, I?m getting 123 and > 865 respectively. To ensure I wasn?t encountering DNS lag I set the > server host to localhost. I cannot get much more local than that. > > Even with the added latency of the Internet from the Mac, and the > advantage of the PC being the very computer the SQL server is on, I am > getting a difference of roughly 7 times slower. No UI updating is > involved. It?s a straight up message box script: > > put the milliseconds into tStart > put sqlquery_createObject("customers") into qObject > sqlquery_set qObject, "limit", 1 > put dbQuery(qObject, "array") into aData > put the milliseconds into tEnd > put tEnd - tStart > > I think this is pretty conclusive. Either Windows networking is for > whatever reason, considerably slower, at least for this kind of > operation, than Mac, or else the Windows LC engine is the bottleneck. From ahsoftware at sonic.net Mon Apr 6 15:08:55 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 6 Apr 2020 12:08:55 -0700 Subject: ANN: glx2 script editor 4.0 In-Reply-To: <5D8F3BD7-3862-47F3-A49C-A8E555C99779@canelasoftware.com> References: <5D8F3BD7-3862-47F3-A49C-A8E555C99779@canelasoftware.com> Message-ID: <8df116c6-9e3d-bce2-a8f1-423c6b81aa59@sonic.net> On 4/6/20 11:49 AM, Mark Talluto via use-livecode wrote: > Quick question: I am interested in using the ?Chalkboard Motiff?. When I select it I do not see a change in the look. Same when I close the prefs. What am I missing? > The same is true for changing the font size. I changed the font to ?Source Code Pro? if that matters. The motif isn't changing on the fly for some reason. It's something I need to look into. But the next time you launch the IDE it will have the new motif. -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Mon Apr 6 15:09:41 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Apr 2020 19:09:41 +0000 Subject: Socket Help In-Reply-To: References: <019888B1-2AA5-448C-A35C-4726C5D9226B@iotecdigital.com> <2AEBFD8D-0639-447B-9D91-B4EABF601BE4@elloco.com> <6106AFCD-76DB-4C7E-AF5C-6204302E977F@iotecdigital.com> <023c09bd-28d7-b308-fa9a-5030837835a5@pdslabs.net> <5E6AEAA4-D06F-4EEE-BF88-3BADD8A73CD5@iotecdigital.com> Message-ID: Both. The Windows lag is present on the LAN and Internet. The Internet does not seem to be introducing any lag, or so little it?s not detectable. On Apr 6, 2020, at 11:50 AM, Phil Davis via use-livecode > wrote: Hi Bob, I'm realizing now that your system connects client and server via the internet. Mine connects them via LAN. Big security difference! From mark at canelasoftware.com Mon Apr 6 15:20:20 2020 From: mark at canelasoftware.com (Mark Talluto) Date: Mon, 6 Apr 2020 12:20:20 -0700 Subject: ANN: glx2 script editor 4.0 In-Reply-To: <8df116c6-9e3d-bce2-a8f1-423c6b81aa59@sonic.net> References: <5D8F3BD7-3862-47F3-A49C-A8E555C99779@canelasoftware.com> <8df116c6-9e3d-bce2-a8f1-423c6b81aa59@sonic.net> Message-ID: > > On Apr 6, 2020, at 12:08 PM, Mark Wieder via use-livecode wrote: > > On 4/6/20 11:49 AM, Mark Talluto via use-livecode wrote: > >> Quick question: I am interested in using the ?Chalkboard Motiff?. When I select it I do not see a change in the look. Same when I close the prefs. What am I missing? >> The same is true for changing the font size. I changed the font to ?Source Code Pro? if that matters. > > The motif isn't changing on the fly for some reason. It's something I need to look into. But the next time you launch the IDE it will have the new motif. I should have mentioned that I tested restarting and that did not do it either. :( My bigger problem is that GLX keeps switching back to LC?s script editor. I turn it back to GLX and I loose all my code changes in GLX. I took every plugin out of my plugins to rule them out. My plugins folder is just GLX2 Code.rev and glx2Plugins.txt. We can take this offline where we can discuss this in more detail. Best regards, Mark Talluto livecloud.io nursenotes.net canelasoftware.com From ahsoftware at sonic.net Mon Apr 6 15:32:16 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 6 Apr 2020 12:32:16 -0700 Subject: ANN: glx2 script editor 4.0 In-Reply-To: References: Message-ID: <7b338127-1df3-ad5b-5cce-730a1fe40b90@sonic.net> Ack! Bernd just hipped me to the fact that I uploaded the wrong version. It *should* identify itself as version 4.0.1 if you've got the right one. If not, download it again - I *think* I've got the right one uploaded to bitbucket now. -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Mon Apr 6 15:36:57 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Apr 2020 19:36:57 +0000 Subject: ANN: glx2 script editor 4.0 In-Reply-To: References: <5D8F3BD7-3862-47F3-A49C-A8E555C99779@canelasoftware.com> <8df116c6-9e3d-bce2-a8f1-423c6b81aa59@sonic.net> Message-ID: <10C417DF-DC00-456C-AA14-1F6E249C245E@iotecdigital.com> This may be fixed in 4.0.1. I?ll check. OK I verified that if I make a change in GLX2, then switch to the Native SE, I see the change. If however I make a change in the Native SE, then switch to GLX2, it does NOT reflect the change. If however I SAVE the stack, THEN GLX2 sees the code change. It must be that GLX2 is maintaining it?s own in memory version of the code, and the switching is not synching in one of the directions. This is likely where the code loss seemed to happen, but seeing this I do not think there was actual code loss. Maybe a preference to save stack on compile? Bob S On Apr 6, 2020, at 12:20 PM, Mark Talluto via use-livecode > wrote: I should have mentioned that I tested restarting and that did not do it either. :( My bigger problem is that GLX keeps switching back to LC?s script editor. I turn it back to GLX and I loose all my code changes in GLX. I took every plugin out of my plugins to rule them out. My plugins folder is just GLX2 Code.rev and glx2Plugins.txt. We can take this offline where we can discuss this in more detail. Best regards, Mark Talluto From bobsneidar at iotecdigital.com Mon Apr 6 15:38:26 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Apr 2020 19:38:26 +0000 Subject: Who else doesn't want auto-select when opening a card? In-Reply-To: <32c479de-1f05-70da-d9d9-e34a1bd33f29@hyperactivesw.com> References: <32c479de-1f05-70da-d9d9-e34a1bd33f29@hyperactivesw.com> Message-ID: <5B73D06B-56FA-4A9D-AEC2-9C153607F897@iotecdigital.com> I ALWAYS want that. Nevertheless, have you tried select nothing in after OpenCard? Bob S On Apr 6, 2020, at 11:39 AM, J. Landman Gay via use-livecode > wrote: This makes me crazy. I almost never want the first field selected when I go to a card, particularly on mobile. And god forbid the first field is a list field, where the first line is hilited whenever the stack resumes focus, even if the hilitedline was 0. The workaround is tedious: on preOpenCard, set traversalOn to false, send a message to turn it back on after the card is displayed, include a handler that will catch the message and do the deed. I want a property or setting that lets me turn off this default behavior. It's annoying and disruptive, and has been there since day one. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ahsoftware at sonic.net Mon Apr 6 15:43:01 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 6 Apr 2020 12:43:01 -0700 Subject: ANN: glx2 script editor 4.0 In-Reply-To: <10C417DF-DC00-456C-AA14-1F6E249C245E@iotecdigital.com> References: <5D8F3BD7-3862-47F3-A49C-A8E555C99779@canelasoftware.com> <8df116c6-9e3d-bce2-a8f1-423c6b81aa59@sonic.net> <10C417DF-DC00-456C-AA14-1F6E249C245E@iotecdigital.com> Message-ID: On 4/6/20 12:36 PM, Bob Sneidar via use-livecode wrote: > This may be fixed in 4.0.1. I?ll check. > > OK I verified that if I make a change in GLX2, then switch to the Native SE, I see the change. If however I make a change in the Native SE, then switch to GLX2, it does NOT reflect the change. > > If however I SAVE the stack, THEN GLX2 sees the code change. It must be that GLX2 is maintaining it?s own in memory version of the code, and the switching is not synching in one of the directions. This is likely where the code loss seemed to happen, but seeing this I do not think there was actual code loss. > > Maybe a preference to save stack on compile? So... I'm confused... you want to change the builtin script editor to save after compiling so that it's compatible with the glx2 editor? -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Mon Apr 6 16:00:43 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Apr 2020 20:00:43 +0000 Subject: ANN: glx2 script editor 4.0 In-Reply-To: References: <5D8F3BD7-3862-47F3-A49C-A8E555C99779@canelasoftware.com> <8df116c6-9e3d-bce2-a8f1-423c6b81aa59@sonic.net> <10C417DF-DC00-456C-AA14-1F6E249C245E@iotecdigital.com> Message-ID: Normally I wouldn?t, but in the past for one reason or another I turned off GLX2 to get to the script editor, and somewhere in the process of turning it off and on, a lot of new coding disappeared. That was long ago though, and I may not even be looking at the same problem. It seems that once the stack is saved, everything is in sync. One other thing, when I enable GLX2, it?s menu becomes the system menu, even if the pointer tool is selected. Is this the desired behavior? No worries if it is. I?ll probably end up living in GLX2 from now on. Bob S On Apr 6, 2020, at 12:43 PM, Mark Wieder via use-livecode > wrote: On 4/6/20 12:36 PM, Bob Sneidar via use-livecode wrote: This may be fixed in 4.0.1. I?ll check. OK I verified that if I make a change in GLX2, then switch to the Native SE, I see the change. If however I make a change in the Native SE, then switch to GLX2, it does NOT reflect the change. If however I SAVE the stack, THEN GLX2 sees the code change. It must be that GLX2 is maintaining it?s own in memory version of the code, and the switching is not synching in one of the directions. This is likely where the code loss seemed to happen, but seeing this I do not think there was actual code loss. Maybe a preference to save stack on compile? So... I'm confused... you want to change the builtin script editor to save after compiling so that it's compatible with the glx2 editor? -- Mark Wieder ahsoftware at gmail.com From matthias_livecode_150811 at m-r-d.de Mon Apr 6 16:38:24 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 6 Apr 2020 22:38:24 +0200 Subject: ANN: glx2 script editor 4.0 In-Reply-To: References: Message-ID: <6B14AB4C-45D8-4A14-BD2B-F628C574C4C0@m-r-d.de> Mark, where do you want feedback? I place it here for now. Tested now with LC 9.5.1, 9.6.0DP3 on Mac OS 10.14.6 with two displays. 1. the GLX2 bar is not under the LC menubar. It?s placed on the right of the screen see https://livecode.dermattes.de/screenshots/glx2_bar.png And it seems that GLX does not write back the preferences or maybe some of them back to the prefs file. 2. tried to set to chalkboard, but that was not saved. I had to change the GLX2 Code Prefs.txt file in an editor while LC is not running to get Chalkboard working 3. setting the font size does also not work even after changing the size manually in the editor (while LC is not running) does not work. I need also to open the GLX preferences once in LC and then the font size changes in GLX 4. when GLX2 is first opened then a menu is visible in GLX see https://livecode.dermattes.de/screenshots/glx2_menu_visible.png when i click onto any of the menu items then the menu disappears see https://livecode.dermattes.de/screenshots/glx2_menu_hidden.png Matthias - Matthias Rebbe Life Is Too Short For Boring Code > From matthias_livecode_150811 at m-r-d.de Mon Apr 6 16:40:47 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 6 Apr 2020 22:40:47 +0200 Subject: ANN: glx2 script editor 4.0 In-Reply-To: <6B14AB4C-45D8-4A14-BD2B-F628C574C4C0@m-r-d.de> References: <6B14AB4C-45D8-4A14-BD2B-F628C574C4C0@m-r-d.de> Message-ID: regard 3. I meant ...changing the size manually in AN editor (while LC is not running).... - Matthias Rebbe Life Is Too Short For Boring Code > Am 06.04.2020 um 22:38 schrieb matthias rebbe via use-livecode : > > Mark, > where do you want feedback? I place it here for now. > > > Tested now with LC 9.5.1, 9.6.0DP3 on Mac OS 10.14.6 with two displays. > > 1. the GLX2 bar is not under the LC menubar. It?s placed on the right of the screen > see https://livecode.dermattes.de/screenshots/glx2_bar.png > > > And it seems that GLX does not write back the preferences or maybe some of them back to the prefs file. > > 2. tried to set to chalkboard, but that was not saved. I had to change the GLX2 Code Prefs.txt file in an editor while LC is not running to get Chalkboard working > > 3. setting the font size does also not work > even after changing the size manually in the editor (while LC is not running) does not work. I need also to open the GLX preferences once in LC and then the font size changes in GLX > > 4. when GLX2 is first opened then a menu is visible in GLX > see https://livecode.dermattes.de/screenshots/glx2_menu_visible.png > > when i click onto any of the menu items then the menu disappears > see https://livecode.dermattes.de/screenshots/glx2_menu_hidden.png > > > Matthias > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> > > > _______________________________________________ > 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 Apr 6 16:49:09 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Apr 2020 20:49:09 +0000 Subject: ANN: glx2 script editor 4.0 In-Reply-To: <6B14AB4C-45D8-4A14-BD2B-F628C574C4C0@m-r-d.de> References: <6B14AB4C-45D8-4A14-BD2B-F628C574C4C0@m-r-d.de> Message-ID: seeing some of the same things. There was an issue where the GLX2 menu under certain conditions would become the custom menu of the open GLX2 SE, and the system menu would revert back to the default. If the GLX2 menu becomes the System Menu you cannot access the default System Manu at all. Bob S > On Apr 6, 2020, at 1:38 PM, matthias rebbe via use-livecode wrote: > > Mark, > where do you want feedback? I place it here for now. > > > Tested now with LC 9.5.1, 9.6.0DP3 on Mac OS 10.14.6 with two displays. > > 1. the GLX2 bar is not under the LC menubar. It?s placed on the right of the screen > see https://livecode.dermattes.de/screenshots/glx2_bar.png > > > And it seems that GLX does not write back the preferences or maybe some of them back to the prefs file. > > 2. tried to set to chalkboard, but that was not saved. I had to change the GLX2 Code Prefs.txt file in an editor while LC is not running to get Chalkboard working > > 3. setting the font size does also not work > even after changing the size manually in the editor (while LC is not running) does not work. I need also to open the GLX preferences once in LC and then the font size changes in GLX > > 4. when GLX2 is first opened then a menu is visible in GLX > see https://livecode.dermattes.de/screenshots/glx2_menu_visible.png > > when i click onto any of the menu items then the menu disappears > see https://livecode.dermattes.de/screenshots/glx2_menu_hidden.png > > > Matthias > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> > > > _______________________________________________ > 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 Apr 6 16:50:53 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Apr 2020 20:50:53 +0000 Subject: ANN: glx2 script editor 4.0 In-Reply-To: References: <6B14AB4C-45D8-4A14-BD2B-F628C574C4C0@m-r-d.de> Message-ID: <170720C3-DD7F-452A-AAFF-4FA81CE267AD@iotecdigital.com> I suspect the repeated LC SE reversion is the same issue as prefs not sticking. Bob S On Apr 6, 2020, at 1:49 PM, Bob Sneidar > wrote: seeing some of the same things. There was an issue where the GLX2 menu under certain conditions would become the custom menu of the open GLX2 SE, and the system menu would revert back to the default. If the GLX2 menu becomes the System Menu you cannot access the default System Manu at all. Bob S From scott at elementarysoftware.com Mon Apr 6 16:51:20 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Mon, 6 Apr 2020 13:51:20 -0700 Subject: Mobile Wondering In-Reply-To: <1fa517d8-b592-08e5-b45a-473a7a340cf4@hyperactivesw.com> References: <49CC55D1-9EDD-474B-92F9-CC7E6572F868@elementarysoftware.com> <79144dcc-6d11-f5ad-7ccd-e5dc5f4ba0c0@tweedly.net> <1fa517d8-b592-08e5-b45a-473a7a340cf4@hyperactivesw.com> Message-ID: <7FF07D41-FAA0-4838-B53C-81590E1A29AA@elementarysoftware.com> That was my experience too? until LC added native support for other Android processors. Now I find the Android emulator to be very usable! ? Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-800-615-0867 ------------------------------------------------------ > On Apr 6, 2020, at 10:53 AM, J. Landman Gay via use-livecode wrote: > >> Well - they were right about that - the simulator was S...L...O...W. > > You're right, the Android emulator is horrible. I stopped using it early on. LC recently added support for x86-64bit specifically so we could use the faster version, but I found it much easier to just cable my phone to my Mac and use the real thing. It's quick and painless. From scott at elementarysoftware.com Mon Apr 6 16:53:09 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Mon, 6 Apr 2020 13:53:09 -0700 Subject: Old Fossil seeks fast track assistance In-Reply-To: References: <1B5FE27E-88F3-4AEE-A696-DF8C658DB3A1@mac.com> Message-ID: <9B3C1FC5-C683-49C9-A1E2-8A3A9539160D@elementarysoftware.com> Thanks for these links! -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-800-615-0867 ------------------------------------------------------ > On Apr 6, 2020, at 7:55 AM, Devin Asay via use-livecode wrote: > > Graham, > > I?ve just been through this gauntlet with my students. I provided some links and lessons for them at http://livecode.byu.edu/mobile/test-deploy-links.php. I found the process for setting up Android a little fraught with pitfalls, so I created an expanded instruction sheet for Android setup, linked to that page. > > I?m staying with the latest Stable version of LiveCode for my class, 9.5.1. I?m running on Mac OS 10.14 Mojave. With this setup I have to use Xcode 10.1. > > As a refresher, on developer.apple.com, you need to create your iOS developer certificate, register all of the UDIDs for your iOS devices, then create a wildcard provisioning profile for testing your apps. The provisioning profile must include all devices you want to test on. > > A collection of links of instructions for distributing mobile apps: http://livecode.byu.edu/mobile/mobileAppDistribution.php. > > I hope this will all help jog your memory. I find mine needs to be jogged every time I come back to this mobile stuff after a long time away. > > Cheers, > > Devin > > > > On Apr 4, 2020, at 2:38 AM, Graham Samuel via use-livecode > wrote: > > Hi All - sorry this is a bit long, but I need help. > > I?m a long term LC developer who more or less retired from development a couple of years ago, but I?ve kept on lurking in this list and trying rather hopelessly to remain up to date. My experience has been mostly on desktop apps, with a little iOS work. I haven?t ever done much on Android. I have just about retained my credentials as an Apple developer. > > Now I find I really want to develop a mobile app at speed, and deploy it. > > I don?t anticipate all that much difficulty in creating my app in the sense of designing and coding it - this can call on my own quite extensive experience of the past, the LC documentation and this invaluable list. I can reasonable hope to create a prototype in a few days. However there is a massive gap: testing and deployment. > > I don?t have access to my most recent development machine (it?s in another country and I?m self-isolating), so I am working with an iMac that can only run MacOS High Sierra (and Windows 10 via Parallels, but I was hoping not to go there for this project). Now, I clearly need to organise the right version of XCode and the right SDK for my iOS development, and I need to do the equivalent thing for Android - and I don?t know how to do it. > > For iOS, I THINK I need XCode 10.2, which I?m trying to download to replace the copy of 9.2 already on my machine. I obviously need to work with a compatible SDK. For Android, I don?t know where to start, so for now I am putting this on the back burner, but I will have to return to it eventually. Even when I?ve lined all this up (if indeed it?s feasible), I then need to remind myself how to test via simulators (I used to be good at this, so maybe that is not so scary, but I am not at all up to date) and then I need to get the app onto real hardware - starting with iPhones, as I?ve got a few of these. I really don?t know how to do this for testing, and more so I don?t know how to distribute a test version to a small population of testers, although I know this is feasible. The whole project may crash and burn at this beta testing stage, so actually getting it into the App Store can wait a bit. > > Obviously I am not expecting people on this list to hold my hand at every step. My main concern is to be guided through the body of LC notes etc to get absolutely practical advice and recipes as to what to do at each stage. If I study the LC stuff long enough, I will get there, but I would dearly love help to fast-track it all. > > Thanks > > Graham > _______________________________________________ > 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 alex at tweedly.net Mon Apr 6 19:34:23 2020 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 7 Apr 2020 00:34:23 +0100 Subject: Maximum field height? In-Reply-To: <1714db7e2c8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <60a7fa2c-2499-4c31-fc6a-d280678937fe@fourthworld.com> <82b76e4c-ce26-c852-d710-e35ae6ddde18@tweedly.net> <1714db7e2c8.2749.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hi Jacque, Scott made many of the same good points as you did - so I won't replicate my replies here. On 06/04/2020 05:20, J. Landman Gay via use-livecode wrote: > On April 5, 2020 8:39:15 PM Alex Tweedly via use-livecode > wrote: > >> 1. xTalk features just don't work, or work totally inadequately (e.g. >> scrolling fields). > > Somewhat true. LC made a start by adding widgets you can drop onto the > stack to create native mobile buttons and fields, but I'd like to see > regular LC controls magically change to native mobile controls much as > the Mac, Windows, and (sort of) Linux appearances do. That would make > a world of difference. Yes !! > > But there are features on mobile that don't exist on desktop. LC has > provided for things like Android toasts and iOS popups. These things > are one reason the language can't be entirely universal; mobile > requires a different feature set. But it would be great if a scrolling > field would just be a scrolling field everywhere. On the other hand, > mobile lets you scroll all sorts of things (images, carousels, etc.) > so we'd still need our mobile scroller anyway. Same response to that as I have to mobilePick, mobilePickDate, etc. Why shouldn't they exist on desktop - if they're useful features for a good UI, why would LC not want to add them for desktop. > > > I agree it could be easier, but it isn't impossible. But parity > wherever possible would be my first choice in what I'd like to see > improved. > >> >> 2. Failure in cross-platform equivalence. > > If you mean mobile equivalence, Android is catching up quickly, in > part because of the FM initiative. I appreciate that. iOS is pretty > well covered for the most part. Some folks mentioned the issue of > branching for different mobile platforms but that doesn't bother me > much. We have to do that sometimes for the three desktop platforms > already. The features that both iOS and Android do have in common use > the same code and syntax. I mean that, but for all platforms. If there is a common piece of UI functionality (e.g. pick a date) then abstract that out to a library function (in the box - not one we each create separately and slightly differently), and have it use the appropriate platform method. And if that means we finally get a pickDate widget on desktop then I'd say "about time" (and ask for a pickTime function as well :-) > >> The other two are, I suspect, not truly solvable. >> >> 3. It's not "Live"Code. Developing for Mobile gets you back into the >> horrible edit - compile (i.e. build a standalone) - test cycle. > > Yeah, this is a pain. I'm not sure there's any way around it but the > addition of remote debugging has made it far easier. For a long time I > felt like I was back in 1998 where I had to sprinkle "answer" dialogs > all over the place just to know what my variable values were. There > are some tricks though that help. I created a generic launcher app > that loads my working stack so there's no actual compile required. I > can't do this for complex apps, but I can do it for testing pieces and > bits that will eventually go into the main app later. For simpler > apps, the entire stack can be tested pretty easily this way. > Great. Now why didn't LC create a Launcher app like that so that everyone (esp new users) can use it,? one that runs in a standard way so we can easily communicate about it - and is documented. >> >> 4. You still need to deal with the ugly issues of the SDKs and the >> app-store? requirements. > > For me this is the hardest part, way worse than developing the app > itself. It's also why I'd much rather deal with Android than Apple. > Google is pretty easy to deal with. Apple is a constantly moving > target with a rollercoaster of requirements, not to mention the > profiles and certificates and what seems to me to be an unnecessarily > complex review process. Yes, but even getting the Android SDK seems to be (still) troublesome. I know it took me (literally) days way back when - it does seem to be better documented now, but apparently not quite straightforward. > > However, if you are just developing for yourself or a few other > people, you don't have to mess with either app store. Android apps can > be freely distributed to anyone by any method and you don't even need > a Google account. iOS apps can be distributed to a few people as > "testers" without going through their byzantine submission process, > though you do still need to mess with their account, certificates and > profiles. > > I'm thankful that the LC team keeps up with Apple's constantly > changing requirements. Apple doesn't seem to value their developers much. > >> >> So, for me personally, even if LC Ltd. could fix (1) and (2), I would >> still not even bother trying to build a mobile app; it's just not worth >> the hassle or the learning curve. > > It isn't such a steep learning curve as you'd think. One test app will > probably get you going. If I were starting over, I'd start with > Android because it's so much more flexible. The hardest part there is > just making sure you download the right SDK and Java version. I did do a test app on Android. Hmmm- I've just checked and I'm horrified to find it was in 2013. So I really am basing my opinions on ancient history / versions. I'll update (and probably apologize a bit) when I've retired with something ore current. Alex. From dsc at swcp.com Mon Apr 6 19:41:01 2020 From: dsc at swcp.com (Dar Scott Consulting) Date: Mon, 6 Apr 2020 17:41:01 -0600 Subject: Apps to fight COVID-19 Message-ID: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> Hi, everybody! I apologize for the drive-by email. And I miss everybody on the list. Been busy all that. I am a strong believer in contact tracing as an implortant part of COVID-19 containment. There are several teams out there working on voluntary privacy-protecting contact tracing apps to deploy before Big Brother mandates some central DB app usage. Those include COVID Watch, CoEpi, Private Watch Safe Paths, and others. Most have already started and are using swift and kotlin. Only Safe Paths has something out. However, there might be some room in creating some instant apps in LiveCode or in supporting in other ways. Also, some teams are just getting started and need something fast. I think we need some education apps done quickly. Also, 4Catalyzer is making a home test and needs some app development. For myself, I am on on the COVID Watch team. If you want to do something, take a look around at privacy preserving contact tracing projects. And also look specifically I the ones I mentioned. I might be rehashing what has already been discussed. Sorry. Like I said, "Drive by email". And remember what the Beatles said, "You wanna wash your ha-a-ands!" Dar Scott I am using Private Watch: Safe Paths on my iPhone to fight COVID-19.. From andre at andregarzia.com Mon Apr 6 19:48:10 2020 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 7 Apr 2020 00:48:10 +0100 Subject: ANN: glx2 script editor 4.0 In-Reply-To: <6B14AB4C-45D8-4A14-BD2B-F628C574C4C0@m-r-d.de> References: <6B14AB4C-45D8-4A14-BD2B-F628C574C4C0@m-r-d.de> Message-ID: I'm also experiencing some oddities with GLX2 4.0.1 here. I've uploaded a screenshot to: http://andregarzia.com/img/shots/glx2/glx2-strange.png * The GLX2 bar is misplaced and even though it moves when I move the main LC menu, it moves to the wrong location. * The menubar in the GLX2 script editor has wrong colors and can't be read. * The handler columns is too small. Those are the main issues I noted so far. Best Andre On Mon, 6 Apr 2020 at 21:39, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Mark, > where do you want feedback? I place it here for now. > > > Tested now with LC 9.5.1, 9.6.0DP3 on Mac OS 10.14.6 with two displays. > > 1. the GLX2 bar is not under the LC menubar. It?s placed on the right of > the screen > see https://livecode.dermattes.de/screenshots/glx2_bar.png > > > And it seems that GLX does not write back the preferences or maybe some > of them back to the prefs file. > > 2. tried to set to chalkboard, but that was not saved. I had to change the > GLX2 Code Prefs.txt file in an editor while LC is not running to get > Chalkboard working > > 3. setting the font size does also not work > even after changing the size manually in the editor (while LC is not > running) does not work. I need also to open the GLX preferences once in LC > and then the font size changes in GLX > > 4. when GLX2 is first opened then a menu is visible in GLX > see https://livecode.dermattes.de/screenshots/glx2_menu_visible.png > > when i click onto any of the menu items then the menu disappears > see https://livecode.dermattes.de/screenshots/glx2_menu_hidden.png > > > Matthias > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > > > > > _______________________________________________ > 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 > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From bobsneidar at iotecdigital.com Mon Apr 6 19:50:08 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 6 Apr 2020 23:50:08 +0000 Subject: ANN: glx2 script editor 4.0 In-Reply-To: References: <6B14AB4C-45D8-4A14-BD2B-F628C574C4C0@m-r-d.de> Message-ID: <91C9DD18-C3CF-43B0-83CD-EB4ABA315E38@iotecdigital.com> Mark has identified some anomalies and is presently working on it. Bob S On Apr 6, 2020, at 4:48 PM, Andre Garzia via use-livecode > wrote: I'm also experiencing some oddities with GLX2 4.0.1 here. I've uploaded a screenshot to: http://andregarzia.com/img/shots/glx2/glx2-strange.png * The GLX2 bar is misplaced and even though it moves when I move the main LC menu, it moves to the wrong location. * The menubar in the GLX2 script editor has wrong colors and can't be read. * The handler columns is too small. Those are the main issues I noted so far. Best Andre From andre at andregarzia.com Mon Apr 6 19:50:15 2020 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 7 Apr 2020 00:50:15 +0100 Subject: Devolution bug Message-ID: Hi Folks, I just reinstalled LC and Devolution here but every time I try opening any of the panes, it does an audible chime. Trying to click any of the tabs in the first pane (the one with about, check for updates, etc) just sounds the chime and doesn't change anything. It feels like there is a modal somewhere offscreen and I can't click it. Best Andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From ambassador at fourthworld.com Mon Apr 6 21:13:07 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 6 Apr 2020 18:13:07 -0700 Subject: Devolution bug In-Reply-To: References: Message-ID: Andre Garzia wrote: > I just reinstalled LC and Devolution here but every time I try opening > any of the panes, it does an audible chime. Trying to click any of the > tabs in the first pane (the one with about, check for updates, etc) > just sounds the chime and doesn't change anything. It feels like there > is a modal somewhere offscreen and I can't click it. I've seen reports in the forums about dialogs opening behind palettes in recent versions of LC, unrelated to devolution. Devo rarely does anything modal, but if perhaps you clicked something that opens a file picker, if you're seeing the same LC bug others have seen in other contexts, it may be the getfile dialog is opening behind the pane. Just a hunch. Haven't seen this yet, but if you can tell which OS you're on I'll see if it's possible to reproduce it here. -- 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 neville.smythe at optusnet.com.au Mon Apr 6 22:21:27 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Tue, 7 Apr 2020 12:21:27 +1000 Subject: Go to card has become slow In-Reply-To: References: Message-ID: Richard wrote > Bob Sneidar wrote: > >> In review, I tested saving stacks on a standalone Windows Workstation, >> a VMWARE VM on a very robust server host, a Parallels VM on a >> workstation and my Mac. As I am saving the stack, I am watching the >> folder the stack is in. I see the tilde version pop up and go away. On >> Mac it?s almost instantaneous. On Windows it can be 3 to 4 seconds. > > My messages don't seem to be getting through, because each time this > observation method of measuring write throughput comes up I post the > same reply, yet it keeps coming up. Please confirm if you can see this: Yes we see this. But as you know in 2018 I reported this slow saving of stacks under Windows10, using LC timing of just the save handler rather than the visual perception of the screen update, and it has been confirmed as a bug. bug 21305 The time to save is extreme for large stacks. It took some time for QualityControl to confirm, because apparently it doesn?t seem happen on every Windows 10 installation - just every one that I or my users have tried. It has not been fixed since 2018. Regards Neville From livfoss at mac.com Tue Apr 7 06:57:03 2020 From: livfoss at mac.com (Graham Samuel) Date: Tue, 7 Apr 2020 12:57:03 +0200 Subject: Getting started with geographical coordinates In-Reply-To: References: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> <003901d609d2$f798d9a0$e6ca8ce0$@net> <095B4477-5D2B-4C7A-B465-C4B4A3FAFB44@mac.com> <1A5D1D18-7394-43D3-9F32-5B8767115830@mac.com> <004401d609fe$ae84a4c0$0b8dee40$@net> <860038C0-CA32-41BF-A8E1-1866E239D5C3@iotecdigital.com> <000701d60a90$04555d40$0d0017c0$@net> Message-ID: <5FFE8695-D529-49F1-81C7-A7C8351CEA5A@mac.com> Thanks for everyone who has helped with this so far. I have now looked at and tested LC scripts for three different functions for finding the distance - I left one well-known one out (Vincenty) as it?s very complex (it even includes iteration) and I think not justified by what I?m trying to do. As I?m concerned with relatively small distances (up to a few kilometres), I can include a Pythagoras calculation (officially called "Equirectangular approximation?), which doesn?t take account of the curvature of the Earth. My tests have involved real coordinates of places I?ve visited, so can be verified using local maps etc. What I have found is that the different methods are all good for my purposes, but for me the very simple Pythagoras calculation which involves only two maths functions, gives results which are consistently less than one percent different from the far more complex Haversine and even Vincenty calculations. Incidentally I get differences in Haversine between my implementation (based on Ralph?s, thanks) and Chris Veness?s (movable-type) Javascript version - I?m pretty sure this is due to differences in precision in the underlying maths functions, but I don?t plan to look any further into that! Just FYI, here?s the Pythagoras method. The inputs are assumed to be numerical GPS-style coordinates, which is what one gets from interrogating a GPS-aware device in LC. The result is in kilometres. constant R=6371 -- the radius of the earth in kilometres constant k1 = 0.01745329 -- that's pi/180 function distancePythag lat1,lon1,lat2,lon2 -- Calculate Distance between to points using Equirectangular approximation -- Assuming a (local) flat surface, using Pythagoras. Won't work when Earth's curvature is significant local x,y put k1*lat1 into lat1 put k1*lat2 into lat2 put k1*lon1 into lon1 put k1*lon2 into lon2 put (lon2-lon1) * cos((lat1+lat2)/2) into x put (lat2 - lat1) into y return sqrt(x*x+y*y)*R end distancePythag Graham > On 5 Apr 2020, at 22:03, Graham Samuel via use-livecode wrote: > > I?ve been trying these formulae out, and I?ve been using the info on https://www.movable-type.co.uk/scripts/latlong.html - for my purposes (distances from say 100 metres to up to a few kilometers) I think this works as well as haversine, but maybe not for every kind of measurement. The function gives a result in kilometres starting from coordinates in degrees. Seems to work, but I need to do a bit more work on the (real) ground to convince myself. > > function distanceslc lat1,lon1,lat2,lon2 > > constant k1 = 0.017453 -- that's pi/180 > > -- This implements the spherical law of cosines, from movable-type.co.uk. Confirmed with his javascript version > > return acos(sin(lat1*k1) * sin(lat2*k1) + cos(lat1*k1)*cos(lat2*k1)*cos(lon2*k1-lon1*k1))*6371 > > end distanceslc > > > Graham > >> On 4 Apr 2020, at 16:47, Ralph DiMola via use-livecode wrote: >> >> A friend of mine turned me on to this 10 years ago. This is the Haversine >> formula. It assumes that the earth is sphere and is not very accurate for >> very small distances. I have not tried to use the Vincenty's formula that >> does better. For general purposes the HF should be sufficient. >> >> Just give me the credit for LC implementation of a friends of mines routine. >> Although I understand how it works the real credit goes to Don Josef de >> Mendoza y Rios in 1796. >> >> The girls and boys doing math in that period really set the stage. This >> brought me back to my CGI days when I was patting myself on the back when I >> self learned(with a friends help after reading the Kreyszig) how to move >> points in space and calculate lighting. I then self reflected and realized >> that I was just putting together the pieces of math that these folks created >> out of thin air. I still felt like I accomplished something but very much >> smaller the scheme of things. >> >> 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: Friday, April 03, 2020 5:31 PM >> To: How to use LiveCode >> Cc: Bob Sneidar >> Subject: Re: >> >> Ralph, this is brilliant. I remember trying to do something similar years >> ago, and giving up because I didn't know how to do the math. I suck at math, >> or rather I am too lazy and impatient to work the problem. >> >> Bob S >> >>> On Apr 3, 2020, at 14:27 , Ralph DiMola via use-livecode >> wrote: >>> >>> Graham, >>> >>> This my distance calculation for what it's worth. >>> >>> Function distance lat1, lon1, lat2, lon2, unit >>> -- Calculate Distance between to points >>> -- >>> --lat1, lon1, lat2, lon2 are in deg.fractionalDegrees >>> -- Unit >>> -- if empty then miles >>> -- K = kilometers >>> -- N = nautical miles >>> local theta >>> local dist >>> >>> Put lon1 - lon2 into theta >>> put Sin(deg2rad(lat1)) * Sin(deg2rad(lat2)) + Cos(deg2rad(lat1)) * >> Cos(deg2rad(lat2)) * Cos(deg2rad(theta)) into dist >>> >>> put Acos(dist) into dist >>> put rad2deg(dist) into dist >>> put dist * 60 * 1.1515 into dist >>> >>> switch unit >>> case "K" >>> put dist * 1.609344 into dist >>> case "N" >>> put dist * 0.8684 into dist >>> end switch >>> >>> Return dist >>> >>> End distance >>> >>> >>> Function rad2deg rad >>> Return rad / PI * 180.0 >>> end rad2deg >>> >>> >>> Ralph DiMola >>> IT Director >>> Evergreen Information Services >>> rdimola at evergreeninfo.net >> >> >> _______________________________________________ >> 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 benr_mc at cogapp.com Tue Apr 7 11:57:37 2020 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 7 Apr 2020 16:57:37 +0100 Subject: Getting started with geographical coordinates In-Reply-To: <87a116b0-ff4b-f14d-1542-afe7136b3442@tweedly.net> References: <01601CFF-4E22-4701-880D-037CD4C36084@mac.com> <003901d609d2$f798d9a0$e6ca8ce0$@net> <095B4477-5D2B-4C7A-B465-C4B4A3FAFB44@mac.com> <1A5D1D18-7394-43D3-9F32-5B8767115830@mac.com> <79564CFA-8D0B-46A4-9576-FDB766AE306F@byu.edu> <87a116b0-ff4b-f14d-1542-afe7136b3442@tweedly.net> Message-ID: <5d8d4743-c453-ff82-6954-e3d3e670e37e@cogapp.com> What a beautiful view you have! Interesting that Google Maps doesn't accept what3words yet - possibly viewed as a competitor. On 04/04/2020 01:49, Alex Tweedly via use-livecode wrote: > And I'm at plump.magpie.tightest (sorry, no calculated height available, not > even in annoying feet - but I'd guess somewhere around 2 or 3 metres). > > Alex. > > On 03/04/2020 23:07, Graham Samuel via use-livecode wrote: >> A long way from me at 43?16?43?N?2?09?36?E >> >> - and much higher (I?m about 130m). Sorry not to be quite so accurate! >> >> Thanks >> >> Graham >>> On 3 Apr 2020, at 22:28, Devin Asay via use-livecode >>> wrote: >>> >>> Graham, >>> >>> You get back lat and long in degrees and fractions of degrees, as a decimal >>> numeral. For instance, I get latitude: 40.248676 and longitude: >>> -111.651062, and for good measure altitude in meters at 1398.380493. Wow, >>> now you all know exactly where I am! >>> >>> Devin >>> >>> >>> >>>> On Apr 3, 2020, at 1:49 PM, Graham Samuel via use-livecode >>>> wrote: >>>> >>>> This is cheeky but I can?t run up my mobile simulation today - can someone >>>> tell me the format of the geographical coordinates produced by >>>> mobileSensorReading et al. I mean, is say latitude just one integer >>>> showing seconds, or is it deg, min, sec - and are fractional seconds >>>> returned (so, floating point)? I shall find out for myself eventually but >>>> it would help a little to know now. AFAIKS there?s nothing in the LC >>>> documentation about it. >>>> >>>> Graham From ambassador at fourthworld.com Tue Apr 7 13:18:47 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 7 Apr 2020 10:18:47 -0700 Subject: Go to card has become slow In-Reply-To: References: Message-ID: Neville Smythe wrote: > Richard wrote >> Bob Sneidar wrote: >> >>> In review, I tested saving stacks on a standalone Windows >>> Workstation, a VMWARE VM on a very robust server host, a >>> Parallels VM on a workstation and my Mac. As I am saving >>> the stack, I am watching the folder the stack is in. I see >>> the tilde version pop up and go away. On Mac it?s almost >>> instantaneous. On Windows it can be 3 to 4 seconds. >> >> My messages don't seem to be getting through, because each time this >> observation method of measuring write throughput comes up I post the >> same reply, yet it keeps coming up. Please confirm if you can see >> this: > > Yes we see this. But as you know in 2018 I reported this slow saving > of stacks under Windows10, using LC timing of just the save handler > rather than the visual perception of the screen update, and it has > been confirmed as a bug. bug 21305 /show_bug.cgi?id=21305> The time to save is extreme for large stacks. > It took some time for QualityControl to confirm, because apparently > it doesn?t seem happen on every Windows 10 installation - just every > one that I or my users have tried. It has not been fixed since 2018. Thank you for the link to that report, Nevile. While I have been a subscriber to it I also follow many reports, so your link is very helpful. I was eager to run the test stack there, but discovered there isn't one. I don't mind creating one, but it would be helpful to know what's required. Have you seen any difference between a stack with little content but a large number of objects vs one with a small number of objects but a lot of text or images? Once I can reproduce the test, I'll modify it to isolate the time devoted to stack files separately from other file I/O for equivalently-sized files. -- 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 Tue Apr 7 13:42:01 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 7 Apr 2020 17:42:01 +0000 Subject: Go to card has become slow In-Reply-To: References: Message-ID: <4722FA07-0DA2-48DB-B960-BDF5EF9823AB@iotecdigital.com> Richard, I can verify that my mainStack is pretty big in terms of objects and code. When I create a standalone for Windows however, it breaks out all the substacks into individual stacks, and the saving just the mainStack in a Windows standalone still takes longer than saving the entire Mainstack with Substacks on the Mac. As a countermeasure, I suppose I can work on getting all the scripts I can moved into script only behaviors. I still make extensive use of Datagrids however which have a lot of objects. Most of my substacks have multiple grids and the main stack has 7. I will also say that I have seen a considerable speed difference between Mac and Windows when expanding a fairly large zip file contains lots of individual files and folders (copier firmware to be exact), so I do not thing the issue is with the LC engine, or at least not entirely. It?s so prevalent that I don?t even use windows to expand these files anymore. Bob S > > Yes we see this. But as you know in 2018 I reported this slow saving > > of stacks under Windows10, using LC timing of just the save handler > > rather than the visual perception of the screen update, and it has > > been confirmed as a bug. bug 21305 > /show_bug.cgi?id=21305> The time to save is extreme for large stacks. > > It took some time for QualityControl to confirm, because apparently > > it doesn?t seem happen on every Windows 10 installation - just every > > one that I or my users have tried. It has not been fixed since 2018. > > Thank you for the link to that report, Nevile. While I have been a subscriber to it I also follow many reports, so your link is very helpful. > > I was eager to run the test stack there, but discovered there isn't one. I don't mind creating one, but it would be helpful to know what's required. > > Have you seen any difference between a stack with little content but a large number of objects vs one with a small number of objects but a lot of text or images? > > Once I can reproduce the test, I'll modify it to isolate the time devoted to stack files separately from other file I/O for equivalently-sized files. > > -- > 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 brian at milby7.com Tue Apr 7 13:43:58 2020 From: brian at milby7.com (Brian Milby) Date: Tue, 7 Apr 2020 13:43:58 -0400 Subject: HilitedItem of a navbar In-Reply-To: <000401d60b50$58e63760$0ab2a620$@net> References: <000801d60acd$fe7014e0$fb503ea0$@net> <386AB67A-ADE0-4071-8980-4D5FC2F0897D@m-r-d.de> <000401d60b50$58e63760$0ab2a620$@net> Message-ID: <63990bf2-320e-48e1-a8ca-b3b857e766bc@Spark> The PR is now merged into develop and will be in the next DP. ?It only adds the option of selecting nothing but does not make it the default. ?We could now work up a PR for the other piece, but I?m not sure about how that one works without downloading and testing (sounds like an option to hide the label on some of the items and shift the icon down). Thanks, Brian On Apr 5, 2020, 9:41 AM -0400, Ralph DiMola via use-livecode , wrote: > Matts, > No problem brother. I shared this with the list on January 10th. I was warned that changing default behaviors is a Bozo no no. Here it is again: > > I made 4 changes to the navbar widget. > > 1) The hiliteditem can be set to zero so no item is hilited > 2) The default is no item hilited (hiliteditem = 0) > 3) The inspector allows you to decrement the select item index to zero. > 4) If the label of an item is a single space then the icon is centered vertically. I will see how to add this feature more elegantly as a property. > > If you need any of these features the link to the lcb source file is here ==> https://www.dropbox.com/s/3emxyjx487xp9j2/navbar.lcb?dl=0 > The compiled version is here ==> https://www.dropbox.com/s/bp6bg2zjn5x9kks/navbar.zip?dl=0 rename the original files in the bundle(mac) or program files(windows) to a save folder and move these in. > > 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 Matthias Rebbe via use-livecode > Sent: Sunday, April 05, 2020 4:56 AM > To: How to use LiveCode > Cc: Matthias Rebbe > Subject: Re: HilitedItem of a navbar > > Hi Ralph, > > Iteould be really great, if you could share it not only with Jacque. ;) > > I am also very interested in your version. > > Matthias > > Von meinem iPhone gesendet > > > Am 05.04.2020 um 00:08 schrieb Ralph DiMola via use-livecode : > > > > I have a version that will let you set it to zero and also if the > > label is a single space the icon will expand to the full height. I can > > send it to you is you like. > > > > 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 J. Landman Gay via use-livecode > > Sent: Saturday, April 04, 2020 3:31 PM > > To: LiveCode Mailing List > > Cc: J. Landman Gay > > Subject: HilitedItem of a navbar > > > > I can't set this to 0? I need to. > > > > > > -- > > 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 > > > _______________________________________________ > 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 Tue Apr 7 15:04:34 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 7 Apr 2020 15:04:34 -0400 Subject: HilitedItem of a navbar In-Reply-To: <63990bf2-320e-48e1-a8ca-b3b857e766bc@Spark> References: <000801d60acd$fe7014e0$fb503ea0$@net> <386AB67A-ADE0-4071-8980-4D5FC2F0897D@m-r-d.de> <000401d60b50$58e63760$0ab2a620$@net> <63990bf2-320e-48e1-a8ca-b3b857e766bc@Spark> Message-ID: <002b01d60d0f$631ca320$2955e960$@net> I have changed my version to leave the selected it default to 1. This will not change the original behavior but allow you to set it to 0 by script or in the PI. Of course one can set it to zero in a preopencard handler so it initially displays with no item selected. I added a property call iconFill that is defaulted to off so the widget will still retain the original behavior. If this property is set to true by script or ticked in the PI then the icon will fill the height of the widget if the label is set to empty. So... 1) The hiliteditem can be set to zero so no item is highlighted 2) The default hiliteditem has not been changed. 3) The PI allows you to decrement the select item index to zero. 4) If the label of an item is empty and the iconFill property is set to true then the icon is centered vertically and fills the height the same as when "icon only" is selected. New version is available for evaluation at: Source: https://www.dropbox.com/s/3emxyjx487xp9j2/navbar.lcb?dl=0 Compiled: https://www.dropbox.com/s/bp6bg2zjn5x9kks/navbar.zip?dl=0 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 Brian Milby via use-livecode Sent: Tuesday, April 07, 2020 1:44 PM To: How to use LiveCode Cc: Brian Milby Subject: RE: HilitedItem of a navbar The PR is now merged into develop and will be in the next DP. It only adds the option of selecting nothing but does not make it the default. We could now work up a PR for the other piece, but I?m not sure about how that one works without downloading and testing (sounds like an option to hide the label on some of the items and shift the icon down). Thanks, Brian On Apr 5, 2020, 9:41 AM -0400, Ralph DiMola via use-livecode , wrote: > Matts, > No problem brother. I shared this with the list on January 10th. I was warned that changing default behaviors is a Bozo no no. Here it is again: > > I made 4 changes to the navbar widget. > > 1) The hiliteditem can be set to zero so no item is hilited > 2) The default is no item hilited (hiliteditem = 0) > 3) The inspector allows you to decrement the select item index to zero. > 4) If the label of an item is a single space then the icon is centered vertically. I will see how to add this feature more elegantly as a property. > > If you need any of these features the link to the lcb source file is > here ==> https://www.dropbox.com/s/3emxyjx487xp9j2/navbar.lcb?dl=0 > The compiled version is here ==> https://www.dropbox.com/s/bp6bg2zjn5x9kks/navbar.zip?dl=0 rename the original files in the bundle(mac) or program files(windows) to a save folder and move these in. > > 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 Matthias Rebbe via use-livecode > Sent: Sunday, April 05, 2020 4:56 AM > To: How to use LiveCode > Cc: Matthias Rebbe > Subject: Re: HilitedItem of a navbar > > Hi Ralph, > > Iteould be really great, if you could share it not only with Jacque. > ;) > > I am also very interested in your version. > > Matthias > > Von meinem iPhone gesendet > > > Am 05.04.2020 um 00:08 schrieb Ralph DiMola via use-livecode : > > > > I have a version that will let you set it to zero and also if the > > label is a single space the icon will expand to the full height. I > > can send it to you is you like. > > > > 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 J. Landman Gay via use-livecode > > Sent: Saturday, April 04, 2020 3:31 PM > > To: LiveCode Mailing List > > Cc: J. Landman Gay > > Subject: HilitedItem of a navbar > > > > I can't set this to 0? I need to. > > > > > > -- > > 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 > > > _______________________________________________ > 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 matthias_livecode_150811 at m-r-d.de Tue Apr 7 15:11:53 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Tue, 7 Apr 2020 21:11:53 +0200 Subject: HilitedItem of a navbar In-Reply-To: <000401d60b50$58e63760$0ab2a620$@net> References: <000801d60acd$fe7014e0$fb503ea0$@net> <386AB67A-ADE0-4071-8980-4D5FC2F0897D@m-r-d.de> <000401d60b50$58e63760$0ab2a620$@net> Message-ID: <12A96633-26DC-4C67-82FC-A6F5909D428F@m-r-d.de> Thank you very much! Matthias > Am 05.04.2020 um 15:44 schrieb Ralph DiMola via use-livecode : > > Matts, > No problem brother. I shared this with the list on January 10th. I was warned that changing default behaviors is a Bozo no no. Here it is again: > > I made 4 changes to the navbar widget. > > 1) The hiliteditem can be set to zero so no item is hilited > 2) The default is no item hilited (hiliteditem = 0) > 3) The inspector allows you to decrement the select item index to zero. > 4) If the label of an item is a single space then the icon is centered vertically. I will see how to add this feature more elegantly as a property. > > If you need any of these features the link to the lcb source file is here ==> https://www.dropbox.com/s/3emxyjx487xp9j2/navbar.lcb?dl=0 > The compiled version is here ==> https://www.dropbox.com/s/bp6bg2zjn5x9kks/navbar.zip?dl=0 rename the original files in the bundle(mac) or program files(windows) to a save folder and move these in. > > 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 Matthias Rebbe via use-livecode > Sent: Sunday, April 05, 2020 4:56 AM > To: How to use LiveCode > Cc: Matthias Rebbe > Subject: Re: HilitedItem of a navbar > > Hi Ralph, > > Iteould be really great, if you could share it not only with Jacque. ;) > > I am also very interested in your version. > > Matthias > > Von meinem iPhone gesendet > >> Am 05.04.2020 um 00:08 schrieb Ralph DiMola via use-livecode : >> >> ?I have a version that will let you set it to zero and also if the >> label is a single space the icon will expand to the full height. I can >> send it to you is you like. >> >> 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 J. Landman Gay via use-livecode >> Sent: Saturday, April 04, 2020 3:31 PM >> To: LiveCode Mailing List >> Cc: J. Landman Gay >> Subject: HilitedItem of a navbar >> >> I can't set this to 0? I need to. >> >> >> -- >> 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 > > > _______________________________________________ > 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 - Matthias Rebbe Life Is Too Short For Boring Code From livfoss at mac.com Tue Apr 7 15:21:50 2020 From: livfoss at mac.com (Graham Samuel) Date: Tue, 7 Apr 2020 21:21:50 +0200 Subject: Old Fossil seeks fast track assistance In-Reply-To: References: <1B5FE27E-88F3-4AEE-A696-DF8C658DB3A1@mac.com> Message-ID: <6F3292A6-9964-4C53-9E57-94E1FBB40FFE@mac.com> Devin I am overdue to thank you for this. Up to now, apart from the numerous tasks involved in just keeping going, I have been looking at the functionality of my proposed app - I have already used some of your material on location tracking! However for the deployment side, your links are gold dust to me. Thanks so much. Graham > On 6 Apr 2020, at 16:55, Devin Asay via use-livecode wrote: > > Graham, > > I?ve just been through this gauntlet with my students. I provided some links and lessons for them at http://livecode.byu.edu/mobile/test-deploy-links.php. I found the process for setting up Android a little fraught with pitfalls, so I created an expanded instruction sheet for Android setup, linked to that page. > > I?m staying with the latest Stable version of LiveCode for my class, 9.5.1. I?m running on Mac OS 10.14 Mojave. With this setup I have to use Xcode 10.1. > > As a refresher, on developer.apple.com, you need to create your iOS developer certificate, register all of the UDIDs for your iOS devices, then create a wildcard provisioning profile for testing your apps. The provisioning profile must include all devices you want to test on. > > A collection of links of instructions for distributing mobile apps: http://livecode.byu.edu/mobile/mobileAppDistribution.php. > > I hope this will all help jog your memory. I find mine needs to be jogged every time I come back to this mobile stuff after a long time away. > > Cheers, > > Devin > > > > On Apr 4, 2020, at 2:38 AM, Graham Samuel via use-livecode > wrote: > > Hi All - sorry this is a bit long, but I need help. > > I?m a long term LC developer who more or less retired from development a couple of years ago, but I?ve kept on lurking in this list and trying rather hopelessly to remain up to date. My experience has been mostly on desktop apps, with a little iOS work. I haven?t ever done much on Android. I have just about retained my credentials as an Apple developer. > > Now I find I really want to develop a mobile app at speed, and deploy it. > > I don?t anticipate all that much difficulty in creating my app in the sense of designing and coding it - this can call on my own quite extensive experience of the past, the LC documentation and this invaluable list. I can reasonable hope to create a prototype in a few days. However there is a massive gap: testing and deployment. > > I don?t have access to my most recent development machine (it?s in another country and I?m self-isolating), so I am working with an iMac that can only run MacOS High Sierra (and Windows 10 via Parallels, but I was hoping not to go there for this project). Now, I clearly need to organise the right version of XCode and the right SDK for my iOS development, and I need to do the equivalent thing for Android - and I don?t know how to do it. > > For iOS, I THINK I need XCode 10.2, which I?m trying to download to replace the copy of 9.2 already on my machine. I obviously need to work with a compatible SDK. For Android, I don?t know where to start, so for now I am putting this on the back burner, but I will have to return to it eventually. Even when I?ve lined all this up (if indeed it?s feasible), I then need to remind myself how to test via simulators (I used to be good at this, so maybe that is not so scary, but I am not at all up to date) and then I need to get the app onto real hardware - starting with iPhones, as I?ve got a few of these. I really don?t know how to do this for testing, and more so I don?t know how to distribute a test version to a small population of testers, although I know this is feasible. The whole project may crash and burn at this beta testing stage, so actually getting it into the App Store can wait a bit. > > Obviously I am not expecting people on this list to hold my hand at every step. My main concern is to be guided through the body of LC notes etc to get absolutely practical advice and recipes as to what to do at each stage. If I study the LC stuff long enough, I will get there, but I would dearly love help to fast-track it all. > > Thanks > > Graham > _______________________________________________ > 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 irog at mac.com Tue Apr 7 15:24:36 2020 From: irog at mac.com (Roger Guay) Date: Tue, 7 Apr 2020 12:24:36 -0700 Subject: Building a Board Game Message-ID: <870117C8-657A-490A-8D0B-1FE65AC5BA00@mac.com> Hi all, I know there must be a simple way to do this but it is escaping me at the moment. How can I move an object (grab me on mouseDown) and have it snap to a grid (square on a board game) on mouseUp? Thanks much, Roger From rdimola at evergreeninfo.net Tue Apr 7 15:37:15 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 7 Apr 2020 15:37:15 -0400 Subject: HilitedItem of a navbar In-Reply-To: <63990bf2-320e-48e1-a8ca-b3b857e766bc@Spark> References: <000801d60acd$fe7014e0$fb503ea0$@net> <386AB67A-ADE0-4071-8980-4D5FC2F0897D@m-r-d.de> <000401d60b50$58e63760$0ab2a620$@net> <63990bf2-320e-48e1-a8ca-b3b857e766bc@Spark> Message-ID: <003801d60d13$f3cf5800$db6e0800$@net> Brian, Thanks for getting that into the next release! I will put in a pull request after the release for adding the iconFill property now that is does not change the default behavior. I know it's been asked and answered but... How do I get started to do a PR? If I could get this procedure nailed down I would like to try and address some of the simpler outstanding bugs/enhancements. 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 Brian Milby via use-livecode Sent: Tuesday, April 07, 2020 1:44 PM To: How to use LiveCode Cc: Brian Milby Subject: RE: HilitedItem of a navbar The PR is now merged into develop and will be in the next DP. It only adds the option of selecting nothing but does not make it the default. We could now work up a PR for the other piece, but I?m not sure about how that one works without downloading and testing (sounds like an option to hide the label on some of the items and shift the icon down). Thanks, Brian On Apr 5, 2020, 9:41 AM -0400, Ralph DiMola via use-livecode , wrote: > Matts, > No problem brother. I shared this with the list on January 10th. I was warned that changing default behaviors is a Bozo no no. Here it is again: > > I made 4 changes to the navbar widget. > > 1) The hiliteditem can be set to zero so no item is hilited > 2) The default is no item hilited (hiliteditem = 0) > 3) The inspector allows you to decrement the select item index to zero. > 4) If the label of an item is a single space then the icon is centered vertically. I will see how to add this feature more elegantly as a property. > > If you need any of these features the link to the lcb source file is > here ==> https://www.dropbox.com/s/3emxyjx487xp9j2/navbar.lcb?dl=0 > The compiled version is here ==> https://www.dropbox.com/s/bp6bg2zjn5x9kks/navbar.zip?dl=0 rename the original files in the bundle(mac) or program files(windows) to a save folder and move these in. > > 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 Matthias Rebbe via use-livecode > Sent: Sunday, April 05, 2020 4:56 AM > To: How to use LiveCode > Cc: Matthias Rebbe > Subject: Re: HilitedItem of a navbar > > Hi Ralph, > > Iteould be really great, if you could share it not only with Jacque. > ;) > > I am also very interested in your version. > > Matthias > > Von meinem iPhone gesendet > > > Am 05.04.2020 um 00:08 schrieb Ralph DiMola via use-livecode : > > > > I have a version that will let you set it to zero and also if the > > label is a single space the icon will expand to the full height. I > > can send it to you is you like. > > > > 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 J. Landman Gay via use-livecode > > Sent: Saturday, April 04, 2020 3:31 PM > > To: LiveCode Mailing List > > Cc: J. Landman Gay > > Subject: HilitedItem of a navbar > > > > I can't set this to 0? I need to. > > > > > > -- > > 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 > > > _______________________________________________ > 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 tore.nilsen at me.com Tue Apr 7 15:33:47 2020 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 7 Apr 2020 21:33:47 +0200 Subject: Building a Board Game In-Reply-To: <870117C8-657A-490A-8D0B-1FE65AC5BA00@mac.com> References: <870117C8-657A-490A-8D0B-1FE65AC5BA00@mac.com> Message-ID: What I do is to make a grid of named rectangles (they may or may not be visible). I put the names of these into a variable or an array. On mouseUp I traverse the variabel/array to check if the mouseLoc is within any of the rectangles. When there is a match I set the loc of the grabbed control to the loc of the matching rectangle. Regards Tore Nilsen > 7. apr. 2020 kl. 21:24 skrev Roger Guay via use-livecode : > > Hi all, > > I know there must be a simple way to do this but it is escaping me at the moment. How can I move an object (grab me on mouseDown) and have it snap to a grid (square on a board game) on mouseUp? > > Thanks much, > > Roger > _______________________________________________ > 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 Apr 7 15:36:38 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 7 Apr 2020 19:36:38 +0000 Subject: Building a Board Game In-Reply-To: <870117C8-657A-490A-8D0B-1FE65AC5BA00@mac.com> References: <870117C8-657A-490A-8D0B-1FE65AC5BA00@mac.com> Message-ID: Just brainstorming, you would have to intercept mouseMove and then have a tolerance of points to your grid. Say three points. Assuming your grid starts at the top left of the window, you would div the top of the object with the vertical grid width, check for tolerance above and below, then set the object?s top to the nearest gridline. You will also need to set the mouseLoc by the same amount, or else capture the mouseLoc on mouseDown, record the distance from the top left of the object, then after setting the top left of the object, opined the mouseLoc to the object again. Do the same with left, and also with bottom and right if need be. Bob S > On Apr 7, 2020, at 12:24 PM, Roger Guay via use-livecode wrote: > > Hi all, > > I know there must be a simple way to do this but it is escaping me at the moment. How can I move an object (grab me on mouseDown) and have it snap to a grid (square on a board game) on mouseUp? > > Thanks much, > > Roger From devin_asay at byu.edu Tue Apr 7 15:48:16 2020 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 7 Apr 2020 19:48:16 +0000 Subject: Building a Board Game In-Reply-To: <870117C8-657A-490A-8D0B-1FE65AC5BA00@mac.com> References: <870117C8-657A-490A-8D0B-1FE65AC5BA00@mac.com> Message-ID: <74D5B613-DEEF-4BBC-BE24-4EEFD5F67239@byu.edu> Roger, Rather than moving an object, think about using button icons. This is the basic process: - on mouseDown: check the icon of the target, set the icon of a hidden, moving button to the same icon, set the icon of the target to 0, set a flag?isDragging--to true, show the hidden button - on mouseMove: if isDragging is true, set the loc of the moving button to the mouseLoc - on mouseUp: figure out which square you?re over, set the icon of that button to the icon of the moving button, hide moving button, set isDragging to false. I made a rudimentary chess game that uses this technique, check it out here: http://dight310.byu.edu/lesson_materials/07-arrays/chessGame-final-key.livecode Click the Clear Board and Setup Game buttons first to set up the game board array. Game state handlers are in the card script; game piece moving handlers are in the game board group script. Hope this helps. Devin On Apr 7, 2020, at 1:24 PM, Roger Guay via use-livecode > wrote: Hi all, I know there must be a simple way to do this but it is escaping me at the moment. How can I move an object (grab me on mouseDown) and have it snap to a grid (square on a board game) on mouseUp? Thanks much, Roger _______________________________________________ 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 Devin Asay Director Office of Digital Humanities Brigham Young University From alex at tweedly.net Tue Apr 7 16:13:28 2020 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 7 Apr 2020 21:13:28 +0100 Subject: Getting started with geographical coordinates In-Reply-To: <5d8d4743-c453-ff82-6954-e3d3e670e37e@cogapp.com> References: <5d8d4743-c453-ff82-6954-e3d3e670e37e@cogapp.com> Message-ID: <5DA7374B-2285-4D03-81F9-04248701649D@tweedly.net> Thanks. Can?t think of a better place to be locked in! I?m sure Google thinks of what3words as a competitor, but also I suspect w3w keeps their mapping very close to their chest as a proprietary asset. Alex . Sent from my iPad > On 7 Apr 2020, at 16:58, Ben Rubinstein via use-livecode wrote: > > ?What a beautiful view you have! Interesting that Google Maps doesn't accept what3words yet - possibly viewed as a competitor. > >> On 04/04/2020 01:49, Alex Tweedly via use-livecode wrote: >> And I'm at plump.magpie.tightest (sorry, no calculated height available, not even in annoying feet - but I'd guess somewhere around 2 or 3 metres). >> Alex. >>> On 03/04/2020 23:07, Graham Samuel via use-livecode wrote: >>> A long way from me at 43?16?43?N 2?09?36?E - and much higher (I?m about 130m). Sorry not to be quite so accurate! >>> >>> Thanks >>> >>> Graham >>>> On 3 Apr 2020, at 22:28, Devin Asay via use-livecode wrote: >>>> >>>> Graham, >>>> >>>> You get back lat and long in degrees and fractions of degrees, as a decimal numeral. For instance, I get latitude: 40.248676 and longitude: -111.651062, and for good measure altitude in meters at 1398.380493. Wow, now you all know exactly where I am! >>>> >>>> Devin >>>> >>>> >>>> >>>>> On Apr 3, 2020, at 1:49 PM, Graham Samuel via use-livecode wrote: >>>>> >>>>> This is cheeky but I can?t run up my mobile simulation today - can someone tell me the format of the geographical coordinates produced by mobileSensorReading et al. I mean, is say latitude just one integer showing seconds, or is it deg, min, sec - and are fractional seconds returned (so, floating point)? I shall find out for myself eventually but it would help a little to know now. AFAIKS there?s nothing in the LC documentation about it. >>>>> >>>>> Graham > > _______________________________________________ > 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 irog at mac.com Tue Apr 7 17:03:04 2020 From: irog at mac.com (Roger Guay) Date: Tue, 7 Apr 2020 14:03:04 -0700 Subject: Building a Board Game In-Reply-To: <870117C8-657A-490A-8D0B-1FE65AC5BA00@mac.com> References: <870117C8-657A-490A-8D0B-1FE65AC5BA00@mac.com> Message-ID: Thanks to Tore, Bob and Devin for your suggestions. You have pushed back my frontiers of ignorance! Cheers, Roger > On Apr 7, 2020, at 12:24 PM, Roger Guay via use-livecode wrote: > > Hi all, > > I know there must be a simple way to do this but it is escaping me at the moment. How can I move an object (grab me on mouseDown) and have it snap to a grid (square on a board game) on mouseUp? > > Thanks much, > > Roger > _______________________________________________ > 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 Apr 7 18:53:39 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 7 Apr 2020 17:53:39 -0500 Subject: Who else doesn't want auto-select when opening a card? In-Reply-To: <5B73D06B-56FA-4A9D-AEC2-9C153607F897@iotecdigital.com> References: <32c479de-1f05-70da-d9d9-e34a1bd33f29@hyperactivesw.com> <5B73D06B-56FA-4A9D-AEC2-9C153607F897@iotecdigital.com> Message-ID: I have workarounds, I just don't want to have to use them. Selecting nothing or setting the hilitedline, either one, you still have to set up some handlers to do it. They don't work in an openCard handler, you have to reset after that. On 4/6/20 2:38 PM, Bob Sneidar via use-livecode wrote: > I ALWAYS want that. Nevertheless, have you tried select nothing in after OpenCard? > > Bob S > > > On Apr 6, 2020, at 11:39 AM, J. Landman Gay via use-livecode > wrote: > > This makes me crazy. I almost never want the first field selected when I go to a card, particularly on mobile. And god forbid the first field is a list field, where the first line is hilited whenever the stack resumes focus, even if the hilitedline was 0. > > The workaround is tedious: on preOpenCard, set traversalOn to false, send a message to turn it back on after the card is displayed, include a handler that will catch the message and do the deed. > > I want a property or setting that lets me turn off this default behavior. It's annoying and disruptive, and has been there since day one. > > -- > 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Tue Apr 7 18:58:42 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 7 Apr 2020 22:58:42 +0000 Subject: Who else doesn't want auto-select when opening a card? In-Reply-To: References: <32c479de-1f05-70da-d9d9-e34a1bd33f29@hyperactivesw.com> <5B73D06B-56FA-4A9D-AEC2-9C153607F897@iotecdigital.com> Message-ID: <9C5501A6-F232-47BC-92DE-F19963ED4833@iotecdigital.com> I think about 30% of my coding is one workaround or another. :-) Bob S > On Apr 7, 2020, at 3:53 PM, J. Landman Gay via use-livecode wrote: > > I have workarounds, I just don't want to have to use them. Selecting nothing or setting the hilitedline, either one, you still have to set up some handlers to do it. They don't work in an openCard handler, you have to reset after that. From lists at mangomultimedia.com Tue Apr 7 19:14:35 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 7 Apr 2020 18:14:35 -0500 Subject: Who else doesn't want auto-select when opening a card? In-Reply-To: <32c479de-1f05-70da-d9d9-e34a1bd33f29@hyperactivesw.com> References: <32c479de-1f05-70da-d9d9-e34a1bd33f29@hyperactivesw.com> Message-ID: On Mon, Apr 6, 2020 at 1:39 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > This makes me crazy. I almost never want the first field selected when I > go to a card, > particularly on mobile. And god forbid the first field is a list field, > where the first line is > hilited whenever the stack resumes focus, even if the hilitedline was 0. Agreed. Focusing on a field if you need to is simple and can be achieved using one line of code. Plus, by coding it you don?t have to worry about the wrong field obtaining focus if you change the layering order of controls later on. - - Trevor DeVore ScreenSteps > From brahma at hindu.org Tue Apr 7 21:48:16 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 8 Apr 2020 01:48:16 +0000 Subject: Problems locating Android SDK In-Reply-To: <99f94970-376a-954b-26db-2dad17b1c658@fourthworld.com> References: <99f94970-376a-954b-26db-2dad17b1c658@fourthworld.com> Message-ID: Well, second, related problem. Android appears installed On OSX Catalina, I am having trouble getting my device to appear... /Library/Android/sdk/build-tools/29.0.1 Android -- from terminal, appear normal % ./adb %./adb kill-server %./adb start-server * daemon started successfully % ./adb devices List of devices attached [nothing,"nada"] But I have not gotten my MotoG6 to device to appear...(developer enabled, USB debugging enabled) it did last week, not these past few days.... I tried everything, reboot my Mac, restarting the phone, connecting directly into the computer instead of a dongle...Nothing works BR ? Richard Gaskin wrote: Well, turning it off and then turning it back on again is the universal IT fix, so I'll do a resinstall and see how it goes. From neville.smythe at optusnet.com.au Tue Apr 7 23:17:09 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Wed, 8 Apr 2020 13:17:09 +1000 Subject: Go to card has become slow Message-ID: Richard Here is a link to the test stack for testing the speed of save stack https://www.dropbox.com/sh/cb2r9jbohxqv6bp/AAAQ1weLLlzrKYQ21yn1apf9a?dl=0 I don?t know why the test stacks I supplied disappeared from the QC bug report. You need the SlowSave.livecode and the data.livecode stacks. They are both small, but SlowSave creates a large stack with 300 cards and the lorem ipsum text data to build an 8 MB stack, and displays the timing for saving. On my MacBook Air it takes 0.13 seconds to save; on Windows 10 installations I have seen times from 3 seconds to 10 seconds. In this test, the stack has just 300 cards, 1 field on each, and lots of ascii text (so there should be no problems converting to utf-8 before saving in the unlikely event that is happening, and in any case would happen on all platforms). I haven?t tested stacks with large numbers of controls or large images rather than large text data. Other apps on Windows 10 certainly don?t display this behaviour, which indicates it is a LC problem not a Windows problem. Antivirus software and Defender were off during the test. I was under the impression that saving files from LC, rather than stacks, was not slower than normal, but Bob?s recently experience with saving data to a database may contradict that. Some people have had trouble verifying my observations (other LC Forum users have confirmed). QC originally could not confirm the bug until they tried it ?on an older PC?. However one of my users recently updated to a *very* fast HP box; it cut the save time down significantly but was still at least 20 times slower than on a typical Mac, ie almost usable. So maybe it has something to do with the Windows installation, though the ones I used were stock standard. I can?t see how fonts could be involved, for example. Neville From mailkeliko01 at gmail.com Tue Apr 7 23:34:05 2020 From: mailkeliko01 at gmail.com (Riko Abadi) Date: Wed, 8 Apr 2020 10:34:05 +0700 Subject: Make video call Message-ID: Hello, in theory is it possible we can make a video call application like zoom with livecode? thanks From ambassador at fourthworld.com Wed Apr 8 01:56:55 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 7 Apr 2020 22:56:55 -0700 Subject: Go to card has become slow In-Reply-To: References: Message-ID: <26aa5142-a560-7a0f-c1ed-fc727acd1bf3@fourthworld.com> Great test set, Neville. Thanks for posting that link. The hardware on my Linux and Win boxes is so different I don't have a strong opinion there. But I did modify your main test script to see what I might learn from isolating the file I/O from the stack serialization: on mouseUp put word 2 of the long name of stack "data" into fName replace quote with "" in fName if the shiftKey is "up" then put the long seconds into t0 save stack "data" put the long seconds - t0 into t1 put "saving data took " && t1 && "seconds" into fld "timeInfo" put 0.000001*(the length of URL ("file:" & fName)) && "MB" into fld "lengthInfo" else put url ("binfile:"&fName) into tData put the long seconds into t put tData into url ("binfile:"& fName) put the long seconds - t end if end mouseUp So I ran your tool, making a stack with 300 cards, which produces a file a bit over 8MB. These are my times: Ubuntu 18.04 w/SSD Stack: 0.097182 File: 0.008475 Windows 10 w/HDD Stack: 8.183708 File: 0.014 Even with the differences in the hardware, it looks like the bottleneck is in the stack serialization, and the file I/O seems good. Anyone here in a position to run Neville's test with this modification on similarly-configured systems but different OSes? -- Richard Gaskin Fourth World Systems Neville Smythe wrote: > Richard > > Here is a link to the test stack for testing the speed of save stack > > https://www.dropbox.com/sh/cb2r9jbohxqv6bp/AAAQ1weLLlzrKYQ21yn1apf9a?dl=0 > > I don?t know why the test stacks I supplied disappeared from the QC bug report. > > You need the SlowSave.livecode and the data.livecode stacks. They are both small, but SlowSave creates a large stack with 300 cards and the lorem ipsum text data to build an 8 MB stack, and displays the timing for saving. On my MacBook Air it takes 0.13 seconds to save; on Windows 10 installations I have seen times from 3 seconds to 10 seconds. > > In this test, the stack has just 300 cards, 1 field on each, and lots of ascii text (so there should be no problems converting to utf-8 before saving in the unlikely event that is happening, and in any case would happen on all platforms). I haven?t tested stacks with large numbers of controls or large images rather than large text data. > > Other apps on Windows 10 certainly don?t display this behaviour, which indicates it is a LC problem not a Windows problem. Antivirus software and Defender were off during the test. I was under the impression that saving files from LC, rather than stacks, was not slower than normal, but Bob?s recently experience with saving data to a database may contradict that. > > Some people have had trouble verifying my observations (other LC Forum users have confirmed). QC originally could not confirm the bug until they tried it ?on an older PC?. However one of my users recently updated to a *very* fast HP box; it cut the save time down significantly but was still at least 20 times slower than on a typical Mac, ie almost usable. So maybe it has something to do with the Windows installation, though the ones I used were stock standard. I can?t see how fonts could be involved, for example. > > Neville From richmondmathewson at gmail.com Wed Apr 8 02:26:00 2020 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 8 Apr 2020 09:26:00 +0300 Subject: Building a Board Game In-Reply-To: <870117C8-657A-490A-8D0B-1FE65AC5BA00@mac.com> References: <870117C8-657A-490A-8D0B-1FE65AC5BA00@mac.com> Message-ID: <52be26e2-7881-4a9a-5c64-a2ab3b6636c1@gmail.com> Um . . . http://forums.livecode.com/viewtopic.php?f=7&t=33886 Rough morning! Best, Richmond. On 7.04.20 22:24, Roger Guay via use-livecode wrote: > Hi all, > > I know there must be a simple way to do this but it is escaping me at the moment. How can I move an object (grab me on mouseDown) and have it snap to a grid (square on a board game) on mouseUp? > > Thanks much, > > Roger > _______________________________________________ > 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 Apr 8 04:47:17 2020 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 8 Apr 2020 11:47:17 +0300 Subject: Building a Board Game In-Reply-To: <870117C8-657A-490A-8D0B-1FE65AC5BA00@mac.com> References: <870117C8-657A-490A-8D0B-1FE65AC5BA00@mac.com> Message-ID: That could be a hexagon instead of a square. On 7.04.20 22:24, Roger Guay via use-livecode wrote: > Hi all, > > I know there must be a simple way to do this but it is escaping me at the moment. How can I move an object (grab me on mouseDown) and have it snap to a grid (square on a board game) on mouseUp? > > Thanks much, > > Roger > _______________________________________________ > 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 Apr 8 10:04:58 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 8 Apr 2020 14:04:58 +0000 Subject: Go to card has become slow In-Reply-To: <26aa5142-a560-7a0f-c1ed-fc727acd1bf3@fourthworld.com> References: <26aa5142-a560-7a0f-c1ed-fc727acd1bf3@fourthworld.com> Message-ID: <73168A52-53B5-4C9D-B18A-F20353270918@iotecdigital.com> Interesting results Richard. I hope the mothership is monitoring this thread. I?ll give the test a go later today. I have to go out (believe it or not) to some customers this morning and early afternoon. Bob S > On Apr 7, 2020, at 10:56 PM, Richard Gaskin via use-livecode wrote: > > Great test set, Neville. Thanks for posting that link. > > The hardware on my Linux and Win boxes is so different I don't have a strong opinion there. But I did modify your main test script to see what I might learn from isolating the file I/O from the stack serialization: > > on mouseUp > put word 2 of the long name of stack "data" into fName > replace quote with "" in fName > if the shiftKey is "up" then > put the long seconds into t0 > save stack "data" > put the long seconds - t0 into t1 > put "saving data took " && t1 && "seconds" into fld "timeInfo" > put 0.000001*(the length of URL ("file:" & fName)) && "MB" into fld "lengthInfo" > else > put url ("binfile:"&fName) into tData > put the long seconds into t > put tData into url ("binfile:"& fName) > put the long seconds - t > end if > end mouseUp > > So I ran your tool, making a stack with 300 cards, which produces a file a bit over 8MB. These are my times: > > Ubuntu 18.04 w/SSD > Stack: 0.097182 > File: 0.008475 > > Windows 10 w/HDD > Stack: 8.183708 > File: 0.014 > > Even with the differences in the hardware, it looks like the bottleneck is in the stack serialization, and the file I/O seems good. > > Anyone here in a position to run Neville's test with this modification on similarly-configured systems but different OSes? > > -- > Richard Gaskin > Fourth World Systems > > > Neville Smythe wrote: > >> Richard >> Here is a link to the test stack for testing the speed of save stack >> https://www.dropbox.com/sh/cb2r9jbohxqv6bp/AAAQ1weLLlzrKYQ21yn1apf9a?dl=0 >> I don?t know why the test stacks I supplied disappeared from the QC bug report. >> You need the SlowSave.livecode and the data.livecode stacks. They are both small, but SlowSave creates a large stack with 300 cards and the lorem ipsum text data to build an 8 MB stack, and displays the timing for saving. On my MacBook Air it takes 0.13 seconds to save; on Windows 10 installations I have seen times from 3 seconds to 10 seconds. >> In this test, the stack has just 300 cards, 1 field on each, and lots of ascii text (so there should be no problems converting to utf-8 before saving in the unlikely event that is happening, and in any case would happen on all platforms). I haven?t tested stacks with large numbers of controls or large images rather than large text data. >> Other apps on Windows 10 certainly don?t display this behaviour, which indicates it is a LC problem not a Windows problem. Antivirus software and Defender were off during the test. I was under the impression that saving files from LC, rather than stacks, was not slower than normal, but Bob?s recently experience with saving data to a database may contradict that. >> Some people have had trouble verifying my observations (other LC Forum users have confirmed). QC originally could not confirm the bug until they tried it ?on an older PC?. However one of my users recently updated to a *very* fast HP box; it cut the save time down significantly but was still at least 20 times slower than on a typical Mac, ie almost usable. So maybe it has something to do with the Windows installation, though the ones I used were stock standard. I can?t see how fonts could be involved, for example. Neville > > > _______________________________________________ > 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 Apr 8 10:10:05 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 8 Apr 2020 14:10:05 +0000 Subject: Building a Board Game In-Reply-To: References: <870117C8-657A-490A-8D0B-1FE65AC5BA00@mac.com> Message-ID: I was also thinking that hiding the object and using the dragImage might be better, because if a the player drops a piece on an illegal position, you could simply cancel the drag operation and show the original object. Bob S > On Apr 7, 2020, at 12:36 PM, Bob Sneidar wrote: > > Just brainstorming, you would have to intercept mouseMove and then have a tolerance of points to your grid. Say three points. Assuming your grid starts at the top left of the window, you would div the top of the object with the vertical grid width, check for tolerance above and below, then set the object?s top to the nearest gridline. You will also need to set the mouseLoc by the same amount, or else capture the mouseLoc on mouseDown, record the distance from the top left of the object, then after setting the top left of the object, opined the mouseLoc to the object again. Do the same with left, and also with bottom and right if need be. > > Bob S From bobsneidar at iotecdigital.com Wed Apr 8 10:16:13 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 8 Apr 2020 14:16:13 +0000 Subject: Make video call In-Reply-To: References: Message-ID: In theory anything is possible. That said, the trick will be accessing the camera and then streaming the captured video. Livecode to my knowledge does not provide a means for that, so some kind of external would be necessary. Beyond that is the security aspects. The stream is probably going to need to be encrypted, and doing that at a high level using Livecode would be very impractical, especially considering Livecode engine only uses one processor thread. I would say it would be much easier to tap an external for that. Bob S > On Apr 7, 2020, at 8:34 PM, Riko Abadi via use-livecode wrote: > > Hello, > > in theory is it possible we can make a video call application like zoom > with livecode? thanks From david.bovill at gmail.com Wed Apr 8 10:17:56 2020 From: david.bovill at gmail.com (David Bovill) Date: Wed, 8 Apr 2020 15:17:56 +0100 Subject: Apps to fight COVID-19 In-Reply-To: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> References: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> Message-ID: I?d be interested in volunteering to make a Livecode app for this. Anyone else? On 7 Apr 2020, 00:41 +0100, Dar Scott Consulting via use-livecode , wrote: > Hi, everybody! > > I apologize for the drive-by email. > > And I miss everybody on the list. Been busy all that. > > I am a strong believer in contact tracing as an implortant part of COVID-19 containment. > > There are several teams out there working on voluntary privacy-protecting contact tracing apps to deploy before Big Brother mandates some central DB app usage. Those include COVID Watch, CoEpi, Private Watch Safe Paths, and others. Most have already started and are using swift and kotlin. Only Safe Paths has something out. However, there might be some room in creating some instant apps in LiveCode or in supporting in other ways. Also, some teams are just getting started and need something fast. I think we need some education apps done quickly. > > Also, 4Catalyzer is making a home test and needs some app development. > > For myself, I am on on the COVID Watch team. > > If you want to do something, take a look around at privacy preserving contact tracing projects. And also look specifically I the ones I mentioned. > > I might be rehashing what has already been discussed. Sorry. Like I said, "Drive by email". > > And remember what the Beatles said, "You wanna wash your ha-a-ands!" > > Dar Scott > > I am using Private Watch: Safe Paths on my iPhone to fight COVID-19.. > > _______________________________________________ > 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 irog at mac.com Wed Apr 8 10:22:20 2020 From: irog at mac.com (Roger Guay) Date: Wed, 8 Apr 2020 07:22:20 -0700 Subject: Building a Board Game In-Reply-To: References: <870117C8-657A-490A-8D0B-1FE65AC5BA00@mac.com> Message-ID: I like it! Thanks!! Roger > On Apr 8, 2020, at 7:10 AM, Bob Sneidar via use-livecode wrote: > > I was also thinking that hiding the object and using the dragImage might be better, because if a the player drops a piece on an illegal position, you could simply cancel the drag operation and show the original object. > > Bob S > > >> On Apr 7, 2020, at 12:36 PM, Bob Sneidar wrote: >> >> Just brainstorming, you would have to intercept mouseMove and then have a tolerance of points to your grid. Say three points. Assuming your grid starts at the top left of the window, you would div the top of the object with the vertical grid width, check for tolerance above and below, then set the object?s top to the nearest gridline. You will also need to set the mouseLoc by the same amount, or else capture the mouseLoc on mouseDown, record the distance from the top left of the object, then after setting the top left of the object, opined the mouseLoc to the object again. Do the same with left, and also with bottom and right if need be. >> >> 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 Wed Apr 8 10:29:19 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 8 Apr 2020 14:29:19 +0000 Subject: Building a Board Game In-Reply-To: References: <870117C8-657A-490A-8D0B-1FE65AC5BA00@mac.com> Message-ID: <69E8C014-431F-48ED-B71B-F7022C728B8C@iotecdigital.com> If you decide on that method, check out dragImageOffset. Bob S > On Apr 8, 2020, at 7:22 AM, Roger Guay via use-livecode wrote: > > I like it! Thanks!! > > Roger > > From andre at andregarzia.com Wed Apr 8 11:09:24 2020 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 8 Apr 2020 16:09:24 +0100 Subject: LC Android deployment working on Windows 10 under ARM64 Message-ID: So, my main machine these days is a Surface Pro X which is a Microsoft computer that runs Windows 10 with an ARM64 CPU (aka Windows on ARM, aka WoA). Machines running Windows 10 on ARM64 can run Windows 10 applications compiled to ARM64 and also run Windows 10 applications compiled for x86 32bits through a built in emulation system. It can't run x86 64bits applications unfortunately. Thankfully LC for Windows is still compiled for 32 bits, so I can run it on this machine even though I'd rather have a native arm64 version someday. I got tired of always switching to a Mac, or my older Surface Go, when I need to do something with LC and Android and decided to try setting it up today. I begun by following the instructions at: http://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio Which led me to download Android Studio for Windows 10 32bits. I've installed it and downloaded SDKs for Android 10, 9 and 8. Also downloaded the obsolete SDK tools as described. Downloaded a 32bits JDK from Oracle. Installed everything and setup LC correctly. While I was trying to deploy an Android app, it would start compile things and then fail with: "Could not encode class bundle" Which is a useless message and doesn't tell me anything. I went searching and found this thread: http://runtime-revolution.278305.n4.nabble.com/could-not-encode-class-bundle-td4711848.html Which led me to a very helpful message by Panos that contains this wonderful nugget of wisdom: > On Jan 22, 2017, at 8:42 AM, panagiotis merakos via use-livecode <[hidden email] > wrote: > > My guess is that this error is related to the Android SDK. Which version of > Android SDK Build Tools have you installed? > > To find the exact error, you can do the following: > > 1. Type in the msg box "edit the script of stack revsaveasandroidstandalone" > 2. In the script editor window that just opened, search for "Could not > encode class bundle" (should be around line 638) > 3. Add "answer the result" just before the "Could not encode class bundle" > line. > 4. Click apply to (temporarily) save this change > 5. Build an android standalone. Now, why the hell doesn't the default error message contains "the result"? That would have saved me a lot of time! I changed that to output to the message box, and this is what it was saying: ----- This version of C:\Users\andre\AppData\Local\Android\Sdk\tools\lib\find_java64.exe is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher. ERROR: No suitable Java found. In order to properly use the Android Developer Tools, you need a suitable version of Java JDK installed on your system. We recommend that you install the JDK version of JavaSE, available here: http://www.oracle.com/technetwork/java/javase/downloads If you already have Java installed, you can define the JAVA_HOME environment variable in Control Panel / System / Avanced System Settings to point to the JDK folder. You can find the complete Android SDK requirements here: http://developer.android.com/sdk/requirements.html ----- Which makes total sense because my computer can't actually run 64bits binaries. I don't know which function in LC calls that command, it is not in the revsaveandroidstandalone, but I noticed that in that folder there was also a "find_java32.exe", I simply made a copy of it, renamed it "find_java64.exe" and from then onwards, everything worked and I could deploy and test things on Android. So yes, LiveCode compiled for Windows 10 running under 32bits emulation on an ARM64 computer, compiling for an ARM7 Android, all working fine. PS: You can't do this kind of crazy stunts on a mac.... -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From dsc at swcp.com Wed Apr 8 11:13:56 2020 From: dsc at swcp.com (Dar Scott Consulting) Date: Wed, 8 Apr 2020 09:13:56 -0600 Subject: Apps to fight COVID-19 In-Reply-To: References: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> Message-ID: <565DA108-756B-4431-A451-76EE9D794659@swcp.com> :) > On Apr 8, 2020, at 8:17 AM, David Bovill via use-livecode wrote: > > I?d be interested in volunteering to make a Livecode app for this. Anyone else? > On 7 Apr 2020, 00:41 +0100, Dar Scott Consulting via use-livecode , wrote: >> Hi, everybody! >> >> I apologize for the drive-by email. >> >> And I miss everybody on the list. Been busy all that. >> >> I am a strong believer in contact tracing as an implortant part of COVID-19 containment. >> >> There are several teams out there working on voluntary privacy-protecting contact tracing apps to deploy before Big Brother mandates some central DB app usage. Those include COVID Watch, CoEpi, Private Watch Safe Paths, and others. Most have already started and are using swift and kotlin. Only Safe Paths has something out. However, there might be some room in creating some instant apps in LiveCode or in supporting in other ways. Also, some teams are just getting started and need something fast. I think we need some education apps done quickly. >> >> Also, 4Catalyzer is making a home test and needs some app development. >> >> For myself, I am on on the COVID Watch team. >> >> If you want to do something, take a look around at privacy preserving contact tracing projects. And also look specifically I the ones I mentioned. >> >> I might be rehashing what has already been discussed. Sorry. Like I said, "Drive by email". >> >> And remember what the Beatles said, "You wanna wash your ha-a-ands!" >> >> Dar Scott >> >> I am using Private Watch: Safe Paths on my iPhone to fight COVID-19.. >> >> _______________________________________________ >> 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 matthias_livecode_150811 at m-r-d.de Wed Apr 8 11:14:59 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 8 Apr 2020 17:14:59 +0200 Subject: LC Android deployment working on Windows 10 under ARM64 In-Reply-To: References: Message-ID: <9E728493-C871-400B-8508-0FD075280144@m-r-d.de> > ARM7 Android, all working fine. > > PS: You can't do this kind of crazy stunts on a mac.... Why should i want to? My Mac OS can run 64bit apps. ;) - Matthias Rebbe Life Is Too Short For Boring Code From andre at andregarzia.com Wed Apr 8 11:20:46 2020 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 8 Apr 2020 16:20:46 +0100 Subject: LC Android deployment working on Windows 10 under ARM64 In-Reply-To: <9E728493-C871-400B-8508-0FD075280144@m-r-d.de> References: <9E728493-C871-400B-8508-0FD075280144@m-r-d.de> Message-ID: > Why should i want to? My Mac OS can run 64bit apps. ;) Now try running a 32bits one... rsrsrs what I mean is that Windows machines have a lot of retrocompatibility and interoperability among themselves, something that is no longer true for the mac. The fact that I'm running all these 32bits apps that were compiled for a completely different ISA on my computer without even noticing they are not native is quite an achievement. They say 64bits emulation will come at the end of the year. All I want to be honest is native arm64 binaries but companies are slow to port. On Wed, 8 Apr 2020 at 16:16, matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > > > ARM7 Android, all working fine. > > > > PS: You can't do this kind of crazy stunts on a mac.... > > Why should i want to? My Mac OS can run 64bit apps. ;) > > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > > _______________________________________________ > 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 > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From matthias_livecode_150811 at m-r-d.de Wed Apr 8 11:28:20 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 8 Apr 2020 17:28:20 +0200 Subject: LC Android deployment working on Windows 10 under ARM64 In-Reply-To: References: <9E728493-C871-400B-8508-0FD075280144@m-r-d.de> Message-ID: <5807696B-3458-4339-9F0A-209E4F7493AD@m-r-d.de> - Matthias Rebbe Life Is Too Short For Boring Code > Am 08.04.2020 um 17:20 schrieb Andre Garzia via use-livecode : > >> Why should i want to? My Mac OS can run 64bit apps. ;) > > Now try running a 32bits one... > I am running 10.14.6 so i can still run 32bit. > rsrsrs what I mean is that Windows machines have a lot of > retrocompatibility and interoperability among themselves, something that is > no longer true for the mac. The fact that I'm running all these 32bits apps > that were compiled for a completely different ISA on my computer without > even noticing they are not native is quite an achievement. They say 64bits > emulation will come at the end of the year. All I want to be honest is > native arm64 binaries but companies are slow to port. > I know what you?ve meant. I just wanted to make a joke.... ;) > > On Wed, 8 Apr 2020 at 16:16, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> >>> ARM7 Android, all working fine. >>> >>> PS: You can't do this kind of crazy stunts on a mac.... >> >> Why should i want to? My Mac OS can run 64bit apps. ;) >> >> >> >> >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >> >> >> _______________________________________________ >> 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 >> > > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > 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 Apr 8 11:41:34 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 8 Apr 2020 15:41:34 +0000 Subject: LC Android deployment working on Windows 10 under ARM64 In-Reply-To: References: <9E728493-C871-400B-8508-0FD075280144@m-r-d.de> Message-ID: <020E943D-AD36-4C29-932A-F6113813B9B7@iotecdigital.com> Again, why would one want to? :-) 32 bit only apps are apps that are not maintained, and have likely not been maintained for quite some time. Win XP 64 bit was released in April 2005. 15 YEARS ago. The die was cast way back then. Anyone who refused or were unable to update their apps to 64 bit are likely not in the business of software development and support, or else are not very serious about. Try running apps for Windows ME or OS 9. It?s only a matter of degrees. Bob S > On Apr 8, 2020, at 8:20 AM, Andre Garzia via use-livecode wrote: > >> Why should i want to? My Mac OS can run 64bit apps. ;) > > Now try running a 32bits one... From andre at andregarzia.com Wed Apr 8 11:58:37 2020 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 8 Apr 2020 16:58:37 +0100 Subject: LC Android deployment working on Windows 10 under ARM64 In-Reply-To: <020E943D-AD36-4C29-932A-F6113813B9B7@iotecdigital.com> References: <9E728493-C871-400B-8508-0FD075280144@m-r-d.de> <020E943D-AD36-4C29-932A-F6113813B9B7@iotecdigital.com> Message-ID: Bob, I can still run apps for Windows 3.11 if I want. Windows ME is even easier. I can even still run DOS 16bit stuff. > 32 bit only apps are apps that are not maintained, and have likely not been maintained for quite some time. Win XP 64 bit was released in April 2005. 15 YEARS ago. The die was cast way back then. Anyone who refused or were unable to update their apps to 64 > bit are likely not in the business of software development and support, or else are not very serious about. This is completely false. There are many hardware peripherals that require 32bits drivers for example. It is very common to have industrial stuff running with 32bits. Also, all windows machines can run 32bits apps, so many windows apps are still 32bits as it doesn't make sense to update them to 64bits and risk it not running on some machines as in the case of windows, things change very little between 32bits and 64bits. Stuff such as video editors and multimedia apps benefit a lot from being 64bits and those are the ones that I most see with only 64bits available. A good example of the trainwreck that Apple did with the 32bits fiasco is that many gamers collected a huge gaming library over the years on things like Steam. Many of those games are 32bits games because that is what gets you most compatibility with hardware out there, now all of those games, which run fine up to one update ago, are not running anymore. My best friend has this problem for example, from the 219 games in his Steam library, only 69 run on Catalina. Many offices can no longer print as the driver is 32bits... None of this is happening because the people who developed all those products are not serious. With LC it is easy to compile to many different architectures but with a lot of code it is not that simple. Specially low level C code might change a lot between 32bits and 64bits. On Wed, 8 Apr 2020 at 16:42, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Again, why would one want to? :-) > > 32 bit only apps are apps that are not maintained, and have likely not > been maintained for quite some time. Win XP 64 bit was released in April > 2005. 15 YEARS ago. The die was cast way back then. Anyone who refused or > were unable to update their apps to 64 bit are likely not in the business > of software development and support, or else are not very serious about. > > Try running apps for Windows ME or OS 9. It?s only a matter of degrees. > > Bob S > > > > On Apr 8, 2020, at 8:20 AM, Andre Garzia via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > >> Why should i want to? My Mac OS can run 64bit apps. ;) > > > > Now try running a 32bits one... > > _______________________________________________ > 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 > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From rdimola at evergreeninfo.net Wed Apr 8 12:37:14 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 8 Apr 2020 12:37:14 -0400 Subject: Go to card has become slow In-Reply-To: References: Message-ID: <001e01d60dc3$f8796f20$e96c4d60$@net> LC 9.5.1 Win 10 Hyper-V VM with 8 processors assigned Stack and data on smb served by VM host. Host ==> i7 6700 3.40Ghz 16 Gig saving data took 38.46 seconds 8.183708 MB LC 9.5.1 MacBook Pro Early 2011 OSX 10.13.1 16 Gig Stack and data on smb served by the aforementioned Win 10 VM host. saving data took 0.400926 seconds 8.183708 MB 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 Neville Smythe via use-livecode Sent: Tuesday, April 07, 2020 11:17 PM To: use-livecode at lists.runrev.com Cc: Neville Smythe Subject: Re: Go to card has become slow Richard Here is a link to the test stack for testing the speed of save stack https://www.dropbox.com/sh/cb2r9jbohxqv6bp/AAAQ1weLLlzrKYQ21yn1apf9a?dl=0 I don?t know why the test stacks I supplied disappeared from the QC bug report. You need the SlowSave.livecode and the data.livecode stacks. They are both small, but SlowSave creates a large stack with 300 cards and the lorem ipsum text data to build an 8 MB stack, and displays the timing for saving. On my MacBook Air it takes 0.13 seconds to save; on Windows 10 installations I have seen times from 3 seconds to 10 seconds. In this test, the stack has just 300 cards, 1 field on each, and lots of ascii text (so there should be no problems converting to utf-8 before saving in the unlikely event that is happening, and in any case would happen on all platforms). I haven?t tested stacks with large numbers of controls or large images rather than large text data. Other apps on Windows 10 certainly don?t display this behaviour, which indicates it is a LC problem not a Windows problem. Antivirus software and Defender were off during the test. I was under the impression that saving files from LC, rather than stacks, was not slower than normal, but Bob?s recently experience with saving data to a database may contradict that. Some people have had trouble verifying my observations (other LC Forum users have confirmed). QC originally could not confirm the bug until they tried it ?on an older PC?. However one of my users recently updated to a *very* fast HP box; it cut the save time down significantly but was still at least 20 times slower than on a typical Mac, ie almost usable. So maybe it has something to do with the Windows installation, though the ones I used were stock standard. I can?t see how fonts could be involved, for example. Neville _______________________________________________ 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 Apr 8 13:45:53 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 8 Apr 2020 10:45:53 -0700 Subject: Go to card has become slow In-Reply-To: <001e01d60dc3$f8796f20$e96c4d60$@net> References: <001e01d60dc3$f8796f20$e96c4d60$@net> Message-ID: <8417612f-62a1-2199-ffa1-da4d680692b5@fourthworld.com> Ralph DiMola wrote: > LC 9.5.1 > Win 10 Hyper-V VM with 8 processors assigned > Stack and data on smb served by VM host. > Host ==> i7 6700 3.40Ghz 16 Gig > > saving data took 38.46 seconds > 8.183708 MB > > > > LC 9.5.1 > MacBook Pro Early 2011 OSX 10.13.1 16 Gig > Stack and data on smb served by the aforementioned Win 10 VM host. > > saving data took 0.400926 seconds > 8.183708 MB Thanks for testing that, Ralph. If you use this script, what do you get with a second run with the Shift key down to measure only a straight write, separate from the "save stack" routine?: on mouseUp put word 2 of the long name of stack "data" into fName replace quote with "" in fName if the shiftKey is "up" then put the long seconds into t0 save stack "data" put the long seconds - t0 into t1 put "saving data took " && t1 && "seconds" into fld "timeInfo" put 0.000001*(the length of URL ("file:" & fName)) && "MB" into fld "lengthInfo" else put url ("binfile:"&fName) into tData put the long seconds into t put tData into url ("binfile:"& fName) put the long seconds - t end if end mouseUp -- 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 rdimola at evergreeninfo.net Wed Apr 8 15:01:26 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 8 Apr 2020 15:01:26 -0400 Subject: Go to card has become slow In-Reply-To: <8417612f-62a1-2199-ffa1-da4d680692b5@fourthworld.com> References: <001e01d60dc3$f8796f20$e96c4d60$@net> <8417612f-62a1-2199-ffa1-da4d680692b5@fourthworld.com> Message-ID: <002901d60dd8$1da9e9a0$58fdbce0$@net> 0.033 shift key down 28-30 seconds shift key up. 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 Richard Gaskin via use-livecode Sent: Wednesday, April 08, 2020 1:46 PM To: use-livecode at lists.runrev.com Cc: Richard Gaskin Subject: Re: Go to card has become slow Ralph DiMola wrote: > LC 9.5.1 > Win 10 Hyper-V VM with 8 processors assigned Stack and data on smb > served by VM host. > Host ==> i7 6700 3.40Ghz 16 Gig > > saving data took 38.46 seconds > 8.183708 MB > > > > LC 9.5.1 > MacBook Pro Early 2011 OSX 10.13.1 16 Gig Stack and data on smb served > by the aforementioned Win 10 VM host. > > saving data took 0.400926 seconds > 8.183708 MB Thanks for testing that, Ralph. If you use this script, what do you get with a second run with the Shift key down to measure only a straight write, separate from the "save stack" routine?: on mouseUp put word 2 of the long name of stack "data" into fName replace quote with "" in fName if the shiftKey is "up" then put the long seconds into t0 save stack "data" put the long seconds - t0 into t1 put "saving data took " && t1 && "seconds" into fld "timeInfo" put 0.000001*(the length of URL ("file:" & fName)) && "MB" into fld "lengthInfo" else put url ("binfile:"&fName) into tData put the long seconds into t put tData into url ("binfile:"& fName) put the long seconds - t end if end mouseUp -- 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 Apr 8 15:08:17 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 8 Apr 2020 12:08:17 -0700 Subject: Go to card has become slow In-Reply-To: <002901d60dd8$1da9e9a0$58fdbce0$@net> References: <002901d60dd8$1da9e9a0$58fdbce0$@net> Message-ID: <280a301c-0938-c743-05b2-cf784a81205f@fourthworld.com> Ralph DiMola wrote: > 0.033 shift key down > 28-30 seconds shift key up. It's almost like the stack file takes longer, if only the difference were more clearly evident. :) I'll include your results with the test data I'll add to the report. Thanks for running that. -- 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 Bernd.Niggemann at uni-wh.de Wed Apr 8 15:16:12 2020 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Wed, 8 Apr 2020 19:16:12 +0000 Subject: Go to card has become slow Message-ID: Saving the 300 cards 8.x MB stack on a 2017 MacBook Pro SSD: 0.127276 seconds Same stack saving as binfile: 0.013656 seconds Kind regards Bernd From brian at milby7.com Wed Apr 8 17:07:05 2020 From: brian at milby7.com (Brian Milby) Date: Wed, 8 Apr 2020 17:07:05 -0400 Subject: Go to card has become slow In-Reply-To: References: Message-ID: On my Win10 Dell (i5): 6.154 to 6.806 without shift 0.036 to 0.15 with shift This is measuring a difference in doing a bulk 8MB write with a streamed write of the stack to the file piece by piece. Internally, each object is serialized and written to the file buffer in turn. So the question then becomes how much of the difference is due to writing the file in pieces compared to the process of serializing the data. Brian From jacque at hyperactivesw.com Wed Apr 8 17:37:17 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 8 Apr 2020 16:37:17 -0500 Subject: HilitedItem of a navbar In-Reply-To: <63990bf2-320e-48e1-a8ca-b3b857e766bc@Spark> References: <000801d60acd$fe7014e0$fb503ea0$@net> <386AB67A-ADE0-4071-8980-4D5FC2F0897D@m-r-d.de> <000401d60b50$58e63760$0ab2a620$@net> <63990bf2-320e-48e1-a8ca-b3b857e766bc@Spark> Message-ID: On 4/7/20 12:43 PM, Brian Milby via use-livecode wrote: > The PR is now merged into develop and will be in the next DP. ?It only adds the option of selecting nothing but does not make it the default. I now have the same problem with a segmented control, which I'm using as a vertical popup menu for the "More" overflow navbar item. It retains the last selection and sends no messages if the user needs to click the same selection again. I want it to appear without a hilite. How can I clear it? It errors if I set the hilitedItem to 0. Maybe someone could fix this too? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From neville.smythe at optusnet.com.au Wed Apr 8 18:19:25 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Thu, 9 Apr 2020 08:19:25 +1000 Subject: Go to card has become slow Message-ID: <291A0308-9554-4777-A604-BB70F168226B@optusnet.com.au> Richard: OK, so my impression, that LC saving a (binary) file on Windows 10 is not the problem, is correct, as you deduce it lies in the serialisation of the stack. Now why would that be platform, indeed OS, dependent? Could the LC cache/virtual memory settings be different for Windows 10 from those for MacOS or Linux? But if that were the case you would expect to see a slow down in other parts of LC, such as perhaps script editing in the IDE, and that doesn?t happen, does it (!!) Neville From brian at milby7.com Wed Apr 8 18:54:57 2020 From: brian at milby7.com (Brian Milby) Date: Wed, 8 Apr 2020 18:54:57 -0400 Subject: HilitedItem of a navbar In-Reply-To: References: <000801d60acd$fe7014e0$fb503ea0$@net> <386AB67A-ADE0-4071-8980-4D5FC2F0897D@m-r-d.de> <000401d60b50$58e63760$0ab2a620$@net> <63990bf2-320e-48e1-a8ca-b3b857e766bc@Spark> Message-ID: <0df3bf10-9564-421b-8c1d-7b5ad8a77c62@Spark> Use empty instead of 0 and it should work. Thanks, Brian On Apr 8, 2020, 5:38 PM -0400, J. Landman Gay via use-livecode , wrote: > On 4/7/20 12:43 PM, Brian Milby via use-livecode wrote: > > The PR is now merged into develop and will be in the next DP. ?It only adds the option of selecting nothing but does not make it the default. > > I now have the same problem with a segmented control, which I'm using as a vertical popup menu > for the "More" overflow navbar item. It retains the last selection and sends no messages if the > user needs to click the same selection again. I want it to appear without a hilite. > > How can I clear it? It errors if I set the hilitedItem to 0. Maybe someone could fix this too? > > -- > 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 bobsneidar at iotecdigital.com Wed Apr 8 19:01:37 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 8 Apr 2020 23:01:37 +0000 Subject: HilitedItem of a navbar In-Reply-To: <0df3bf10-9564-421b-8c1d-7b5ad8a77c62@Spark> References: <000801d60acd$fe7014e0$fb503ea0$@net> <386AB67A-ADE0-4071-8980-4D5FC2F0897D@m-r-d.de> <000401d60b50$58e63760$0ab2a620$@net> <63990bf2-320e-48e1-a8ca-b3b857e766bc@Spark> <0df3bf10-9564-421b-8c1d-7b5ad8a77c62@Spark> Message-ID: That's what I said! I thought people were ignoring me because that wouldn't work. Bob S > On Apr 8, 2020, at 15:54 , Brian Milby via use-livecode wrote: > > Use empty instead of 0 and it should work. > > Thanks, > Brian > On Apr 8, 2020, 5:38 PM -0400, J. Landman Gay via use-livecode , wrote: >> On 4/7/20 12:43 PM, Brian Milby via use-livecode wrote: >>> The PR is now merged into develop and will be in the next DP. It only adds the option of selecting nothing but does not make it the default. >> >> I now have the same problem with a segmented control, which I'm using as a vertical popup menu >> for the "More" overflow navbar item. It retains the last selection and sends no messages if the >> user needs to click the same selection again. I want it to appear without a hilite. >> >> How can I clear it? It errors if I set the hilitedItem to 0. Maybe someone could fix this too? >> >> -- >> 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 bobsneidar at iotecdigital.com Wed Apr 8 19:04:08 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 8 Apr 2020 23:04:08 +0000 Subject: HilitedItem of a navbar In-Reply-To: References: <000801d60acd$fe7014e0$fb503ea0$@net> <386AB67A-ADE0-4071-8980-4D5FC2F0897D@m-r-d.de> <000401d60b50$58e63760$0ab2a620$@net> <63990bf2-320e-48e1-a8ca-b3b857e766bc@Spark> <0df3bf10-9564-421b-8c1d-7b5ad8a77c62@Spark> Message-ID: <56AF154E-1D5D-4274-BC7C-7FEEFB034502@iotecdigital.com> Yeah no work. Must be an integer Bob S > On Apr 8, 2020, at 16:01 , Bob Sneidar via use-livecode wrote: > > That's what I said! I thought people were ignoring me because that wouldn't work. > > Bob S > > >> On Apr 8, 2020, at 15:54 , Brian Milby via use-livecode wrote: >> >> Use empty instead of 0 and it should work. >> >> Thanks, >> Brian From jacque at hyperactivesw.com Wed Apr 8 19:10:53 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 8 Apr 2020 18:10:53 -0500 Subject: Video format for mobile Message-ID: <5ab573cc-af17-4b58-73f5-adb0a51907f2@hyperactivesw.com> I asked this before, looking for the best format for video files on both Android and iOS. Colin suggested H.264 as the codec, and MP4 as the file format. I have a video with those specs but it won't play in the LC player, and the Mac wants to open it with QuickTime. VLC will play it. Get Info shows the codec as H.264, AAC. The file extension is mp4. Is AAC the problem (that's the audio format, right?) What should it be? I haven't tried it on mobile yet, but if it needs QT I'm pretty sure it won't work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brian at milby7.com Wed Apr 8 19:12:47 2020 From: brian at milby7.com (Brian Milby) Date: Wed, 8 Apr 2020 19:12:47 -0400 Subject: HilitedItem of a navbar In-Reply-To: <56AF154E-1D5D-4274-BC7C-7FEEFB034502@iotecdigital.com> References: <000801d60acd$fe7014e0$fb503ea0$@net> <386AB67A-ADE0-4071-8980-4D5FC2F0897D@m-r-d.de> <000401d60b50$58e63760$0ab2a620$@net> <63990bf2-320e-48e1-a8ca-b3b857e766bc@Spark> <0df3bf10-9564-421b-8c1d-7b5ad8a77c62@Spark> <56AF154E-1D5D-4274-BC7C-7FEEFB034502@iotecdigital.com> Message-ID: <95fcb559-94d4-4af5-a3dc-d90751ca3c8a@Spark> For the segmented control widget, the hilitedItems property (with an s) expects a comma separated list of positive integers. ?It can be empty to have nothing selected. For the navigation bar widget, the hilitedItem must be a positive integer. ?In the next DP it will also allow 0 to indicate nothing is selected. Thanks, Brian On Apr 8, 2020, 7:05 PM -0400, Bob Sneidar via use-livecode , wrote: > Yeah no work. Must be an integer > > Bob S > > > > On Apr 8, 2020, at 16:01 , Bob Sneidar via use-livecode wrote: > > > > That's what I said! I thought people were ignoring me because that wouldn't work. > > > > Bob S > > > > > > > On Apr 8, 2020, at 15:54 , Brian Milby via use-livecode wrote: > > > > > > Use empty instead of 0 and it should work. > > > > > > Thanks, > > > 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 bobsneidar at iotecdigital.com Wed Apr 8 19:15:12 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 8 Apr 2020 23:15:12 +0000 Subject: HilitedItem of a navbar In-Reply-To: <95fcb559-94d4-4af5-a3dc-d90751ca3c8a@Spark> References: <000801d60acd$fe7014e0$fb503ea0$@net> <386AB67A-ADE0-4071-8980-4D5FC2F0897D@m-r-d.de> <000401d60b50$58e63760$0ab2a620$@net> <63990bf2-320e-48e1-a8ca-b3b857e766bc@Spark> <0df3bf10-9564-421b-8c1d-7b5ad8a77c62@Spark> <56AF154E-1D5D-4274-BC7C-7FEEFB034502@iotecdigital.com> <95fcb559-94d4-4af5-a3dc-d90751ca3c8a@Spark> Message-ID: Ah! I read the subject, not the body. :-) Bob S > On Apr 8, 2020, at 16:12 , Brian Milby via use-livecode wrote: > > For the segmented control widget, the hilitedItems property (with an s) expects a comma separated list of positive integers. It can be empty to have nothing selected. > > For the navigation bar widget, the hilitedItem must be a positive integer. In the next DP it will also allow 0 to indicate nothing is selected. > > Thanks, > Brian From jacque at hyperactivesw.com Wed Apr 8 19:15:14 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 8 Apr 2020 18:15:14 -0500 Subject: HilitedItem of a navbar In-Reply-To: References: <000801d60acd$fe7014e0$fb503ea0$@net> <386AB67A-ADE0-4071-8980-4D5FC2F0897D@m-r-d.de> <000401d60b50$58e63760$0ab2a620$@net> <63990bf2-320e-48e1-a8ca-b3b857e766bc@Spark> <0df3bf10-9564-421b-8c1d-7b5ad8a77c62@Spark> Message-ID: I would never ignore you. ;) We were talking about navbars that time, and I'd already tried empty. But it does seem to work with segmented controls. On 4/8/20 6:01 PM, Bob Sneidar via use-livecode wrote: > That's what I said! I thought people were ignoring me because that wouldn't work. > > Bob S > > >> On Apr 8, 2020, at 15:54 , Brian Milby via use-livecode wrote: >> >> Use empty instead of 0 and it should work. >> >> Thanks, >> Brian >> On Apr 8, 2020, 5:38 PM -0400, J. Landman Gay via use-livecode , wrote: >>> On 4/7/20 12:43 PM, Brian Milby via use-livecode wrote: >>>> The PR is now merged into develop and will be in the next DP. It only adds the option of selecting nothing but does not make it the default. >>> >>> I now have the same problem with a segmented control, which I'm using as a vertical popup menu >>> for the "More" overflow navbar item. It retains the last selection and sends no messages if the >>> user needs to click the same selection again. I want it to appear without a hilite. >>> >>> How can I clear it? It errors if I set the hilitedItem to 0. Maybe someone could fix this too? >>> >>> -- >>> 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 > > > _______________________________________________ > 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 Wed Apr 8 19:18:18 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 8 Apr 2020 18:18:18 -0500 Subject: HilitedItem of a navbar In-Reply-To: <0df3bf10-9564-421b-8c1d-7b5ad8a77c62@Spark> References: <000801d60acd$fe7014e0$fb503ea0$@net> <386AB67A-ADE0-4071-8980-4D5FC2F0897D@m-r-d.de> <000401d60b50$58e63760$0ab2a620$@net> <63990bf2-320e-48e1-a8ca-b3b857e766bc@Spark> <0df3bf10-9564-421b-8c1d-7b5ad8a77c62@Spark> Message-ID: <0d196961-eae8-721d-1296-e2e3798a5599@hyperactivesw.com> Thank you! I didn't think to try that. I think I tried everything else. On 4/8/20 5:54 PM, Brian Milby via use-livecode wrote: > Use empty instead of 0 and it should work. > > Thanks, > Brian > On Apr 8, 2020, 5:38 PM -0400, J. Landman Gay via use-livecode , wrote: >> On 4/7/20 12:43 PM, Brian Milby via use-livecode wrote: >>> The PR is now merged into develop and will be in the next DP. ?It only adds the option of selecting nothing but does not make it the default. >> >> I now have the same problem with a segmented control, which I'm using as a vertical popup menu >> for the "More" overflow navbar item. It retains the last selection and sends no messages if the >> user needs to click the same selection again. I want it to appear without a hilite. >> >> How can I clear it? It errors if I set the hilitedItem to 0. Maybe someone could fix this too? >> >> -- >> 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 colinholgate at gmail.com Wed Apr 8 20:49:40 2020 From: colinholgate at gmail.com (Colin Holgate) Date: Wed, 8 Apr 2020 18:49:40 -0600 Subject: Video format for mobile In-Reply-To: <5ab573cc-af17-4b58-73f5-adb0a51907f2@hyperactivesw.com> References: <5ab573cc-af17-4b58-73f5-adb0a51907f2@hyperactivesw.com> Message-ID: <070A2670-A829-4310-ACB4-2F6A38F8B1D2@gmail.com> QuickTime Player can play it, but it doesn?t need QuickTime. I?m not sure what player LiveCode uses on Android, but it is highly likely to be able to cope. Is the LC Player an existing Android app? > On Apr 8, 2020, at 5:10 PM, J. Landman Gay via use-livecode wrote: > > I asked this before, looking for the best format for video files on both Android and iOS. Colin suggested H.264 as the codec, and MP4 as the file format. I have a video with those specs but it won't play in the LC player, and the Mac wants to open it with QuickTime. VLC will play it. > > Get Info shows the codec as H.264, AAC. The file extension is mp4. Is AAC the problem (that's the audio format, right?) What should it be? > > I haven't tried it on mobile yet, but if it needs QT I'm pretty sure it won't work. > > -- > 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 jerry at jhjensen.com Wed Apr 8 22:46:47 2020 From: jerry at jhjensen.com (Jerry Jensen) Date: Wed, 8 Apr 2020 19:46:47 -0700 Subject: Video format for mobile In-Reply-To: <5ab573cc-af17-4b58-73f5-adb0a51907f2@hyperactivesw.com> References: <5ab573cc-af17-4b58-73f5-adb0a51907f2@hyperactivesw.com> Message-ID: <9DCE0A50-EBDA-405B-BBFA-783B5F37413B@jhjensen.com> Hi J, AAC is Advanced Audio Compression - successor to MP3. https://fileinfo.com/extension/aac Hope this will help you figure out how to play it. .Jerry > On Apr 8, 2020, at 4:10 PM, J. Landman Gay via use-livecode wrote: > > I asked this before, looking for the best format for video files on both Android and iOS. Colin suggested H.264 as the codec, and MP4 as the file format. I have a video with those specs but it won't play in the LC player, and the Mac wants to open it with QuickTime. VLC will play it. > > Get Info shows the codec as H.264, AAC. The file extension is mp4. Is AAC the problem (that's the audio format, right?) What should it be? > > I haven't tried it on mobile yet, but if it needs QT I'm pretty sure it won't work. > > -- > 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 Thu Apr 9 00:11:38 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Apr 2020 23:11:38 -0500 Subject: Video format for mobile In-Reply-To: <9DCE0A50-EBDA-405B-BBFA-783B5F37413B@jhjensen.com> References: <5ab573cc-af17-4b58-73f5-adb0a51907f2@hyperactivesw.com> <9DCE0A50-EBDA-405B-BBFA-783B5F37413B@jhjensen.com> Message-ID: <1715d22dc90.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Thanks. The Mac won't play it, which is odd (usually in Finder a media thumbnail will play) and the Mac suggests QT as a default app, wbich is no longer supported officially. I will try it on mobile when I get farther along, but for now I'd like to debug on Mac during development. The LC player is blank when I set the filename, presumably because it doesn't support QT either. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 8, 2020 9:48:52 PM Jerry Jensen via use-livecode wrote: > Hi J, > AAC is Advanced Audio Compression - successor to MP3. > https://fileinfo.com/extension/aac > Hope this will help you figure out how to play it. > .Jerry > >> On Apr 8, 2020, at 4:10 PM, J. Landman Gay via use-livecode >> wrote: >> >> I asked this before, looking for the best format for video files on both >> Android and iOS. Colin suggested H.264 as the codec, and MP4 as the file >> format. I have a video with those specs but it won't play in the LC player, >> and the Mac wants to open it with QuickTime. VLC will play it. >> >> Get Info shows the codec as H.264, AAC. The file extension is mp4. Is AAC >> the problem (that's the audio format, right?) What should it be? >> >> I haven't tried it on mobile yet, but if it needs QT I'm pretty sure it >> won't work. >> >> -- >> 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 tom at makeshyft.com Thu Apr 9 00:17:15 2020 From: tom at makeshyft.com (Tom Glod) Date: Thu, 9 Apr 2020 00:17:15 -0400 Subject: Video format for mobile In-Reply-To: <1715d22dc90.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <5ab573cc-af17-4b58-73f5-adb0a51907f2@hyperactivesw.com> <9DCE0A50-EBDA-405B-BBFA-783B5F37413B@jhjensen.com> <1715d22dc90.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: my guess is the LC player does not have h264 codec..... its a codec that carries a license fee and agreement. I hope one day it can be included in an indy license and maybe the CEF can be built with the h264 codec. That would be really good for business. CHeers Tom On Thu, Apr 9, 2020 at 12:12 AM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks. The Mac won't play it, which is odd (usually in Finder a media > thumbnail will play) and the Mac suggests QT as a default app, wbich is no > longer supported officially. > > I will try it on mobile when I get farther along, but for now I'd like to > debug on Mac during development. The LC player is blank when I set the > filename, presumably because it doesn't support QT either. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 8, 2020 9:48:52 PM Jerry Jensen via use-livecode > wrote: > > > Hi J, > > AAC is Advanced Audio Compression - successor to MP3. > > https://fileinfo.com/extension/aac > > Hope this will help you figure out how to play it. > > .Jerry > > > >> On Apr 8, 2020, at 4:10 PM, J. Landman Gay via use-livecode > >> wrote: > >> > >> I asked this before, looking for the best format for video files on > both > >> Android and iOS. Colin suggested H.264 as the codec, and MP4 as the > file > >> format. I have a video with those specs but it won't play in the LC > player, > >> and the Mac wants to open it with QuickTime. VLC will play it. > >> > >> Get Info shows the codec as H.264, AAC. The file extension is mp4. Is > AAC > >> the problem (that's the audio format, right?) What should it be? > >> > >> I haven't tried it on mobile yet, but if it needs QT I'm pretty sure it > >> won't work. > >> > >> -- > >> 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 > > > > > _______________________________________________ > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From neville.smythe at optusnet.com.au Thu Apr 9 01:07:51 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Thu, 9 Apr 2020 15:07:51 +1000 Subject: Go to card has become slow Message-ID: <43620E14-B809-4DB3-92E6-20032E1FA699@optusnet.com.au> I have updated the SlowSave test stack with Richard's enhancement to also show the time to save the binary data (no need to use the shift button) https://www.dropbox.com/sh/cb2r9jbohxqv6bp/AAAQ1weLLlzrKYQ21yn1apf9a?dl=0 Pleased to see everyone is seeing the problem at last, it doesn?t seem to be related to the particular Windows 10 installation. But 38 seconds for 8 MB!! Neville From jacque at hyperactivesw.com Thu Apr 9 01:16:39 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 9 Apr 2020 00:16:39 -0500 Subject: Video format for mobile In-Reply-To: References: <5ab573cc-af17-4b58-73f5-adb0a51907f2@hyperactivesw.com> <9DCE0A50-EBDA-405B-BBFA-783B5F37413B@jhjensen.com> <1715d22dc90.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <3eac5a59-8561-3198-5887-899b587e396d@hyperactivesw.com> If that's true, I'm in trouble. There are a lot of these videos. I just made a quick test app and ran it on Android. I get a blank mobile player displaying a completely black rectangle. The script loads the URL from my server, waits for a playerPropertyAvailable "duration" property to be received, and then starts to play. The video is about a minute and a half long, the duration is never received, and after about a 30 second wait I get the playerFinished message. A quick web search verifies what Colin said, an .mp4 with H.264 and AAC is pretty much standard these days. Not sure where to go from here but I need a solution. On 4/8/20 11:17 PM, Tom Glod via use-livecode wrote: > my guess is the LC player does not have h264 codec..... its a codec that > carries a license fee and agreement. I hope one day it can be included in > an indy license and maybe the CEF can be built with the h264 codec. > > That would be really good for business. > > CHeers > > Tom > > On Thu, Apr 9, 2020 at 12:12 AM J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Thanks. The Mac won't play it, which is odd (usually in Finder a media >> thumbnail will play) and the Mac suggests QT as a default app, wbich is no >> longer supported officially. >> >> I will try it on mobile when I get farther along, but for now I'd like to >> debug on Mac during development. The LC player is blank when I set the >> filename, presumably because it doesn't support QT either. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On April 8, 2020 9:48:52 PM Jerry Jensen via use-livecode >> wrote: >> >>> Hi J, >>> AAC is Advanced Audio Compression - successor to MP3. >>> https://fileinfo.com/extension/aac >>> Hope this will help you figure out how to play it. >>> .Jerry >>> >>>> On Apr 8, 2020, at 4:10 PM, J. Landman Gay via use-livecode >>>> wrote: >>>> >>>> I asked this before, looking for the best format for video files on >> both >>>> Android and iOS. Colin suggested H.264 as the codec, and MP4 as the >> file >>>> format. I have a video with those specs but it won't play in the LC >> player, >>>> and the Mac wants to open it with QuickTime. VLC will play it. >>>> >>>> Get Info shows the codec as H.264, AAC. The file extension is mp4. Is >> AAC >>>> the problem (that's the audio format, right?) What should it be? >>>> >>>> I haven't tried it on mobile yet, but if it needs QT I'm pretty sure it >>>> won't work. >>>> >>>> -- >>>> 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 >> >> >> >> >> _______________________________________________ >> 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 Thu Apr 9 01:21:07 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 9 Apr 2020 00:21:07 -0500 Subject: Video format for mobile In-Reply-To: <070A2670-A829-4310-ACB4-2F6A38F8B1D2@gmail.com> References: <5ab573cc-af17-4b58-73f5-adb0a51907f2@hyperactivesw.com> <070A2670-A829-4310-ACB4-2F6A38F8B1D2@gmail.com> Message-ID: Not sure what you mean by "an existing app" but my test app uses mobileControlCreate to set up a mobile player. When it accesses the video from my server, it's all black with no video or audio, and the nonexistent playback quits a few seconds in. I'm not sure whether these videos were created with streaming in mind. I vaguely remember we used to need to set a "streaming" checkbox when creating a video. Is that still required? On 4/8/20 7:49 PM, Colin Holgate via use-livecode wrote: > QuickTime Player can play it, but it doesn?t need QuickTime. > > I?m not sure what player LiveCode uses on Android, but it is highly likely to be able to cope. > > Is the LC Player an existing Android app? > >> On Apr 8, 2020, at 5:10 PM, J. Landman Gay via use-livecode wrote: >> >> I asked this before, looking for the best format for video files on both Android and iOS. Colin suggested H.264 as the codec, and MP4 as the file format. I have a video with those specs but it won't play in the LC player, and the Mac wants to open it with QuickTime. VLC will play it. >> >> Get Info shows the codec as H.264, AAC. The file extension is mp4. Is AAC the problem (that's the audio format, right?) What should it be? >> >> I haven't tried it on mobile yet, but if it needs QT I'm pretty sure it won't work. >> >> -- >> 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 Thu Apr 9 02:16:57 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 8 Apr 2020 23:16:57 -0700 Subject: Go to card has become slow In-Reply-To: <43620E14-B809-4DB3-92E6-20032E1FA699@optusnet.com.au> References: <43620E14-B809-4DB3-92E6-20032E1FA699@optusnet.com.au> Message-ID: <21ede7f7-7527-d7e4-217c-a53b759a92c7@fourthworld.com> Neville Smythe wrote: > I have updated the SlowSave test stack with Richard's enhancement to > also show the time to save the binary data (no need to use the shift > button) > > https://www.dropbox.com/sh/cb2r9jbohxqv6bp/AAAQ1weLLlzrKYQ21yn1apf9a?dl=0 > > Pleased to see everyone is seeing the problem at last, it doesn?t seem > to be related to the particular Windows 10 installation. But 38 > seconds for 8 MB!! Yes, the difference is quite pronounced. Thank you for updating the stack. Brian Milby's comment was most illuminating: Internally, each object is serialized and written to the file buffer in turn. So the question then becomes how much of the difference is due to writing the file in pieces compared to the process of serializing the data. I just did a search at DuckDuckGo for "difference in write speed windows vs mac programming": https://stackoverflow.com/questions/48356177/c-program-runs-much-slower-on-windows-vs-linux-when-doing-file-operations Among the first results was this discussion from stack overflow, where the problem is described as: When you execute a build operation with ChatScript, it scans all the script files that comprise your chat-bot. In my case, that's hundreds of files. This process takes nearly 30 times longer on Windows 8.1 than it does on Ubuntu 16.04. Therefore I do use Linux for much of my work, but there is a part of my work that I have to do on Windows because of certain associated tools, so I would like to modify the code base so that Windows ChatScript compiles are as fast as on Linux. Can anyone think of a reason the code would run so much slower on Windows vs. Linux? Are there some C++ file operation codes (read/write/etc.) that are known to be much slower on Windows compared to Linux due to variances in the C++ run-time libraries running on each platform? Sounds kinda like us, no? But it gets better. The first reply suggests a few common things to speed up disk I/O, like defragging and double-checking compiler options, but then he kinda gives up and says, "But doing all those things for me has never got the Windows compile to be quicker than on linux using equivalent disk hardware, not once." Better still, see the last comment on that page. :) It kinda fits Brian's observation about how the stack file is written in a series of small writes, one per object. -- 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 Apr 9 02:24:36 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 8 Apr 2020 23:24:36 -0700 Subject: Go to card has become slow In-Reply-To: <21ede7f7-7527-d7e4-217c-a53b759a92c7@fourthworld.com> References: <21ede7f7-7527-d7e4-217c-a53b759a92c7@fourthworld.com> Message-ID: The speed difference with stack files seems to be that there's high overhead for each write on Windows 10, and stack files are written on a series of small writes. Given this, which would make more sense?: a) Serialize objects to one buffer in memory and flush to disk in one write (changes current behavior, but I can't think of why anyone would mind) b) Extend the "save file" command with a flag to tell the engine to flush in one write (keeps current default behavior, allowing the single-flush method as an option) -- 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 marksmithhfx at gmail.com Thu Apr 9 06:46:03 2020 From: marksmithhfx at gmail.com (Mark Smith) Date: Thu, 9 Apr 2020 11:46:03 +0100 Subject: Apps to fight COVID-19 In-Reply-To: References: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> Message-ID: <7331236A-5F3D-44F0-8584-B813C6C9868B@gmail.com> Happy to contribute as well. > On Apr 8, 2020, at 3:17 PM, David Bovill via use-livecode wrote: > > I?d be interested in volunteering to make a Livecode app for this. Anyone else? > On 7 Apr 2020, 00:41 +0100, Dar Scott Consulting via use-livecode , wrote: >> Hi, everybody! >> >> I apologize for the drive-by email. >> >> And I miss everybody on the list. Been busy all that. >> >> I am a strong believer in contact tracing as an implortant part of COVID-19 containment. >> >> There are several teams out there working on voluntary privacy-protecting contact tracing apps to deploy before Big Brother mandates some central DB app usage. Those include COVID Watch, CoEpi, Private Watch Safe Paths, and others. Most have already started and are using swift and kotlin. Only Safe Paths has something out. However, there might be some room in creating some instant apps in LiveCode or in supporting in other ways. Also, some teams are just getting started and need something fast. I think we need some education apps done quickly. >> >> Also, 4Catalyzer is making a home test and needs some app development. >> >> For myself, I am on on the COVID Watch team. >> >> If you want to do something, take a look around at privacy preserving contact tracing projects. And also look specifically I the ones I mentioned. >> >> I might be rehashing what has already been discussed. Sorry. Like I said, "Drive by email". >> >> And remember what the Beatles said, "You wanna wash your ha-a-ands!" >> >> Dar Scott >> >> I am using Private Watch: Safe Paths on my iPhone to fight COVID-19.. >> >> _______________________________________________ >> 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 Thu Apr 9 08:27:40 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 9 Apr 2020 08:27:40 -0400 Subject: Go to card has become slow In-Reply-To: <43620E14-B809-4DB3-92E6-20032E1FA699@optusnet.com.au> References: <43620E14-B809-4DB3-92E6-20032E1FA699@optusnet.com.au> Message-ID: <000601d60e6a$467f7a10$d37e6e30$@net> Why would saving be so much faster on a Mac than Windows when writing to the same a SMB served by a Win 10 PC? I looks like the Windows problem is at higher abstraction layer than SMB. 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 Neville Smythe via use-livecode Sent: Thursday, April 09, 2020 1:08 AM To: use-livecode at lists.runrev.com Cc: Neville Smythe Subject: Re: Go to card has become slow I have updated the SlowSave test stack with Richard's enhancement to also show the time to save the binary data (no need to use the shift button) https://www.dropbox.com/sh/cb2r9jbohxqv6bp/AAAQ1weLLlzrKYQ21yn1apf9a?dl=0 Pleased to see everyone is seeing the problem at last, it doesn?t seem to be related to the particular Windows 10 installation. But 38 seconds for 8 MB!! Neville _______________________________________________ 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 klaus at major-k.de Thu Apr 9 09:05:58 2020 From: klaus at major-k.de (Klaus major-k) Date: Thu, 9 Apr 2020 15:05:58 +0200 Subject: Umlauts (again) and arraytojson Message-ID: Hi friends, this just came up in the german LC forum, obviously "arraytojson" does not like UMLUATS in the keynames!? This: ---------------------- on mouseUp put "eins" into tArray["?ns"] put "zwei" into tArray["zw?i"] put arraytojson(tArray) end mouseUp ---------------------- gives -> {} Is this correct/desired behaviour? Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From tom at makeshyft.com Thu Apr 9 10:08:22 2020 From: tom at makeshyft.com (Tom Glod) Date: Thu, 9 Apr 2020 10:08:22 -0400 Subject: Umlauts (again) and arraytojson In-Reply-To: References: Message-ID: definitely not correct. On Thu, Apr 9, 2020 at 9:06 AM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi friends, > > this just came up in the german LC forum, obviously "arraytojson" > does not like UMLUATS in the keynames!? > > This: > ---------------------- > on mouseUp > put "eins" into tArray["?ns"] > put "zwei" into tArray["zw?i"] > put arraytojson(tArray) > end mouseUp > ---------------------- > gives -> {} > > Is this correct/desired behaviour? > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From mark at canelasoftware.com Thu Apr 9 10:20:20 2020 From: mark at canelasoftware.com (Mark Talluto) Date: Thu, 9 Apr 2020 07:20:20 -0700 Subject: Video format for mobile In-Reply-To: References: <5ab573cc-af17-4b58-73f5-adb0a51907f2@hyperactivesw.com> <070A2670-A829-4310-ACB4-2F6A38F8B1D2@gmail.com> Message-ID: What happens if you play the file locally on each device? -Mark On Wed, Apr 8, 2020 at 10:22 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > Not sure what you mean by "an existing app" but my test app uses > mobileControlCreate to set up > a mobile player. When it accesses the video from my server, it's all black > with no video or > audio, and the nonexistent playback quits a few seconds in. > > I'm not sure whether these videos were created with streaming in mind. I > vaguely remember we > used to need to set a "streaming" checkbox when creating a video. Is that > still required? > > >> -- > >> Jacqueline Landman Gay | jacque at hyperactivesw.com > >> HyperActive Software | http://www.hyperactivesw.com > >> > From lists at mangomultimedia.com Thu Apr 9 10:25:01 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 9 Apr 2020 09:25:01 -0500 Subject: Umlauts (again) and arraytojson In-Reply-To: References: Message-ID: On Thu, Apr 9, 2020 at 8:06 AM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi friends, > > this just came up in the german LC forum, obviously "arraytojson" > does not like UMLUATS in the keynames!? > > This: > ---------------------- > on mouseUp > put "eins" into tArray["?ns"] > put "zwei" into tArray["zw?i"] > put arraytojson(tArray) > end mouseUp > ---------------------- > gives -> {} > > Is this correct/desired behaviour? Correct? Yes. The data and keys are not UTF-8 encoded. Desired? No. Try encoding the keys and data as UTF-8 before passing to arraytojson. Arraytojson() uses the mergJSON external and requires UTF-8 data. ---------------------- on mouseUp put textEncode("eins", "utf8") into tArray[textEncode("?ns", "utf8")] put textEncode("zwei", "utf8") into tArray[textEncode("zw?i", "utf8")] put arraytojson(tArray) end mouseUp --------------------? You can refer to the following report I filed on the current state of JSON in LiveCode (which is not good). In my work I use both the JSON Library and mergJSON as described in the report. https://quality.livecode.com/show_bug.cgi?id=22478 -- Trevor DeVore ScreenSteps > From bobsneidar at iotecdigital.com Thu Apr 9 10:44:36 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 9 Apr 2020 14:44:36 +0000 Subject: Go to card has become slow In-Reply-To: <21ede7f7-7527-d7e4-217c-a53b759a92c7@fourthworld.com> References: <43620E14-B809-4DB3-92E6-20032E1FA699@optusnet.com.au> <21ede7f7-7527-d7e4-217c-a53b759a92c7@fourthworld.com> Message-ID: <226CF74C-E02C-4579-8220-C221CCD3F50D@iotecdigital.com> Yes, but I have saved stacks with both Defender and Kaspersky disabled. In our case I do not think that is the entire issue. Bob S > On Apr 8, 2020, at 11:16 PM, Richard Gaskin via use-livecode wrote: > > Better still, see the last comment on that page. :) > > It kinda fits Brian's observation about how the stack file is written in a series of small writes, one per object. > > -- > Richard Gaskin From bobsneidar at iotecdigital.com Thu Apr 9 10:47:07 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 9 Apr 2020 14:47:07 +0000 Subject: Video format for mobile In-Reply-To: <9DCE0A50-EBDA-405B-BBFA-783B5F37413B@jhjensen.com> References: <5ab573cc-af17-4b58-73f5-adb0a51907f2@hyperactivesw.com> <9DCE0A50-EBDA-405B-BBFA-783B5F37413B@jhjensen.com> Message-ID: <9D63AD00-82E5-41C3-A6E4-8EFDE7221FB2@iotecdigital.com> As I recall, it is lossless, yes? Bob S > On Apr 8, 2020, at 7:46 PM, Jerry Jensen via use-livecode wrote: > > Hi J, > AAC is Advanced Audio Compression - successor to MP3. > https://fileinfo.com/extension/aac > Hope this will help you figure out how to play it. > .Jerry From bryan at exnihilo-media.com Thu Apr 9 10:53:12 2020 From: bryan at exnihilo-media.com (Bryan Anderson) Date: Thu, 9 Apr 2020 10:53:12 -0400 Subject: Video format for mobile Message-ID: <11FDA074-AE2A-4DF9-96B6-10864C7DF8A8@exnihilo-media.com> The .mp4 file spec allows for 3 different audio formats. AAC, MPEG1-Layer1 and MPEG1-Layer2. AAC is by far the most often used audio codec. I just made a quick video using each audio codec, and the only one that plays audio in LC is the AAC version (MacOS, LC 9.5.0). To make sure you?re video is the right format, download the sample stack in the bug report at https://quality.livecode.com/show_bug.cgi?id=21278 . I know that video works, at least on Mac. On MacOS. Quicktime is the default player on the Mac still today, but it?s not the same QuickTime from years ago that LC depended on. If ?About QuickTime Player? shows version 10.5, you?re on the new one. QuickTime Player 7 uses the deprecated APIs. Bryan Anderson Exnihilo Media https://exnihilo-media.com/ From livfoss at mac.com Thu Apr 9 11:23:05 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 9 Apr 2020 17:23:05 +0200 Subject: Old Fossil seeks fast track assistance In-Reply-To: References: <1B5FE27E-88F3-4AEE-A696-DF8C658DB3A1@mac.com> Message-ID: <84635384-6F4A-4E06-8085-08200668D802@mac.com> Devin. I was too optimistic in thinking things would now go smoothly! I would very much appreciated your advice on the following: Following your advice to your students, I have downloaded and installed the latest XCode I can use on my Mac, which is 10.1. I have set the mobile preferences of my LiveCode 9.5.1 Indy to point to the developer section in the XCode app as you instruct (to be certain, I deleted the default and input the info afresh). I can open a simulator for any of my target iPhones - but when I try to set the Standalone settings for my current project, I am unable to select iOS as an option, and indeed I don?t see a detailed set of parameters but just a simpler window. (I think it?s called the General Settings) In fact I find that I can?t add or subtract any platform, although I notice that Mac, Windows and Linux all have a green checkmark, which I don?t want! There is supposed to be a Mode Selector accessed by the top left button on this screen, but I am not seeing it. I suppose there must be something wrong with my project, which is at an early stage, but features an iPhone shaped card with some buttons on it, at least! I suppose the answer is very very simple, but I have not been able to find it. I just can?t see what I?m doing wrong, and if there?s anything in the LC documentation about this, it is not obvious, nor do the LC preferences settings help. Sorry for the interruption - I hope you (or someone else on the list) can help as I am now completely stuck as far as proper testing goes. Graham > On 6 Apr 2020, at 16:55, Devin Asay via use-livecode > wrote: > > Graham, > > I?ve just been through this gauntlet with my students. I provided some links and lessons for them at http://livecode.byu.edu/mobile/test-deploy-links.php . I found the process for setting up Android a little fraught with pitfalls, so I created an expanded instruction sheet for Android setup, linked to that page. > > I?m staying with the latest Stable version of LiveCode for my class, 9.5.1. I?m running on Mac OS 10.14 Mojave. With this setup I have to use Xcode 10.1. > > As a refresher, on developer.apple.com >, you need to create your iOS developer certificate, register all of the UDIDs for your iOS devices, then create a wildcard provisioning profile for testing your apps. The provisioning profile must include all devices you want to test on. > > A collection of links of instructions for distributing mobile apps: http://livecode.byu.edu/mobile/mobileAppDistribution.php . > > I hope this will all help jog your memory. I find mine needs to be jogged every time I come back to this mobile stuff after a long time away. > > Cheers, > > Devin From bobsneidar at iotecdigital.com Thu Apr 9 11:14:29 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 9 Apr 2020 15:14:29 +0000 Subject: Go to card has become slow In-Reply-To: <73168A52-53B5-4C9D-B18A-F20353270918@iotecdigital.com> References: <26aa5142-a560-7a0f-c1ed-fc727acd1bf3@fourthworld.com> <73168A52-53B5-4C9D-B18A-F20353270918@iotecdigital.com> Message-ID: <5E547C59-6D8E-4B78-9339-80B28854D6BE@iotecdigital.com> Are we saying we can use binFile to save stacks as opposed to the normal way? With no side effects?? Bob S > On Apr 8, 2020, at 7:04 AM, Bob Sneidar wrote: > >> put url ("binfile:"&fName) into tData >> put the long seconds into t >> put tData into url ("binfile:"& fName) >> put the long seconds - t From klaus at major-k.de Thu Apr 9 11:28:30 2020 From: klaus at major-k.de (Klaus major-k) Date: Thu, 9 Apr 2020 17:28:30 +0200 Subject: Video format for mobile In-Reply-To: <11FDA074-AE2A-4DF9-96B6-10864C7DF8A8@exnihilo-media.com> References: <11FDA074-AE2A-4DF9-96B6-10864C7DF8A8@exnihilo-media.com> Message-ID: <67A0DBFA-4217-47F6-AC3C-40328A0A2102@major-k.de> Hi all, > Am 09.04.2020 um 16:53 schrieb Bryan Anderson via use-livecode : > > The .mp4 file spec allows for 3 different audio formats. AAC, MPEG1-Layer1 and MPEG1-Layer2. AAC is by far the most often used audio codec. yes, even my (not so smart) TV can play MP4 with AAc directly from an USB attached harddisk. > I just made a quick video using each audio codec, and the only one that plays audio in LC is the AAC version (MacOS, LC 9.5.0). To make sure you?re video is the right format, download the sample stack in the bug report at https://quality.livecode.com/show_bug.cgi?id=21278 . I know that video works, at least on Mac. > > On MacOS. Quicktime is the default player on the Mac still today, but it?s not the same QuickTime from years ago that LC depended on. If ?About QuickTime Player? shows version 10.5, you?re on the new one. QuickTime Player 7 uses the deprecated APIs. Well, no idea why they keep the name "QuickTime", since the current framework is the macOS AV-Framework and no QuickTIme anymore. However I still run Mojave, so I can use the old QT Player (PRO, I once bought a license a million years ago) and can use it to export audio/video to a variety of other codecs. > Bryan Anderson > Exnihilo Media > https://exnihilo-media.com/ Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From livfoss at mac.com Thu Apr 9 11:38:03 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 9 Apr 2020 17:38:03 +0200 Subject: Mobile screen sizes - another naive question Message-ID: <81522F65-606C-490F-9B55-25DB75D8B606@mac.com> Folks, yet again I don?t know where to look for an answer in the LC documentation. The issue is the enormous variety of screen sizes on smart phones. For example the iPhone XS Max has 1242 pixels width, the iPhone 5 has 640. And there are many many more before we even get to tablets? The question is, how do most of you tackle this, and does LC help? Obviously an object taking up a fixed number of pixels on one phone will look absurdly large or small on another one, or of course may not fit on the screen at all. Not all objects can be vector drawings, and the ones that are still have to be resized according to device Is there anything better than the obvious trick of resizing everything in sight when the app is being initialised, including substituting the more sensitive graphics from a library of appropriate sizes? Seems tedious. Graham From mkoob at rogers.com Thu Apr 9 11:51:21 2020 From: mkoob at rogers.com (Martin Koob) Date: Thu, 9 Apr 2020 11:51:21 -0400 Subject: [OT] Banks, Governments looking for COBOL programmers In-Reply-To: <11FDA074-AE2A-4DF9-96B6-10864C7DF8A8@exnihilo-media.com> References: <11FDA074-AE2A-4DF9-96B6-10864C7DF8A8@exnihilo-media.com> Message-ID: <41BA58AF-91C2-44FF-BBA7-6D633B08A006@rogers.com> Hi all Just an OT comment with a tangential link to LiveCode. At the end of the community zoom session there was a comment about old programming languages and I had made a comment that Canadian banks are still looking for FORTRAN programmers. I was wrong it is COBOL programmers. I found an article from last year around the time when I must have read about this. https://www.thestar.com/business/technology/2018/09/21/do-you-know-cobol-if-so-there-might-be-a-job-for-you.html That search was sparked by an article I just saw today saying that the shortage of COBOL programmers it is an issue for US government agencies in the midst of the COVID-19 pandemic. https://www.cnn.com/2020/04/08/business/coronavirus-cobol-programmers-new-jersey-trnd/?iid=ob_lockedrail_topeditorial I don?t know COBOL but it was interesting as to the reason many programmers did not like it. From the Star article "Detractors say Cobol isn?t versatile and results in reams of code, because it is partly written in actual English words.? And it is not just in North America that having a lot of legacy code in COBOL is an issue. I found this article on the website. https://www.dw.com/en/fail-by-design-bankings-legacy-of-dark-code/a-43645522 The article quotes a retired COBOL programmer who takes issue with the negative view of COBOL above. "People who are conversant in terse languages, like C, do not like COBOL because it's very wordy. You say things out in plain English sentences and before you even get down to doing anything you have to describe all of your data in a very elaborate structure," says retired COBOL programmer, Jay Moseley. That can have its advantages. "I like COBOL in that it's self-documenting. You can pick up something that somebody wrote 40 years ago and figure out pretty much what they were doing and why they were doing it," says Moseley. I found interesting that some of the strengths of LiveCode, being in written with English words in more or less English sentences, and the ability to be self documenting, were something that existed in one of the first programming languages. Any way sorry for the distraction, now back to work. Martin From ambassador at fourthworld.com Thu Apr 9 12:03:50 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 9 Apr 2020 09:03:50 -0700 Subject: Go to card has become slow In-Reply-To: <226CF74C-E02C-4579-8220-C221CCD3F50D@iotecdigital.com> References: <226CF74C-E02C-4579-8220-C221CCD3F50D@iotecdigital.com> Message-ID: Bob Sneidar wrote: >> On Apr 8, 2020, at 11:16 PM, Richard Gaskin wrote: >> >> Better still, see the last comment on that page. :) >> >> It kinda fits Brian's observation about how the stack file is >> written in a series of small writes, one per object. > > Yes, but I have saved stacks with both Defender and Kaspersky > disabled. In our case I do not think that is the entire issue. Probably not exclusively. But to assess the contributory effect, what are your measurements using Neville's test with and without those AV packages active? -- 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 Apr 9 12:09:15 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 9 Apr 2020 09:09:15 -0700 Subject: [OT] Banks, Governments looking for COBOL programmers In-Reply-To: <41BA58AF-91C2-44FF-BBA7-6D633B08A006@rogers.com> References: <41BA58AF-91C2-44FF-BBA7-6D633B08A006@rogers.com> Message-ID: <44758ae2-743c-7f0a-9d30-8696efcc3573@fourthworld.com> Martin Koob wrote: ... > Just an OT comment with a tangential link to LiveCode. ... > "People who are conversant in terse languages, like C, do not like > COBOL because it's very wordy. You say things out in plain English > sentences and before you even get down to doing anything you have > to describe all of your data in a very elaborate structure," says > retired COBOL programmer, Jay Moseley. I have no opinion on COBOL, but when we see complains of "verbosity" with LiveCode it makes me laugh: The view stems from a focus on individual statements, somehow never noticing that there are dramatically fewer statements overall. Moral: Measure chars-per-task, not chars-per-statement. -- 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 rdimola at evergreeninfo.net Thu Apr 9 12:26:08 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 9 Apr 2020 12:26:08 -0400 Subject: Another Apple iOS Deadline In-Reply-To: <44758ae2-743c-7f0a-9d30-8696efcc3573@fourthworld.com> References: <41BA58AF-91C2-44FF-BBA7-6D633B08A006@rogers.com> <44758ae2-743c-7f0a-9d30-8696efcc3573@fourthworld.com> Message-ID: <002b01d60e8b$960102e0$c20308a0$@net> >From App developer email I just received: Please note that all apps that authenticate or set up user accounts must support Sign in with Apple if required by guideline 4.8 of the App Store Review Guidelines. New apps must follow guideline 4.8 and Human Interface Guidelines on Sign in with Apple starting April 30, 2020. App updates must follow these guidelines starting June 30, 2020. Can we do this? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From ambassador at fourthworld.com Thu Apr 9 12:47:21 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 9 Apr 2020 09:47:21 -0700 Subject: Mobile screen sizes - another naive question In-Reply-To: <81522F65-606C-490F-9B55-25DB75D8B606@mac.com> References: <81522F65-606C-490F-9B55-25DB75D8B606@mac.com> Message-ID: Graham Samuel wrote: > Folks, yet again I don?t know where to look for an answer in the LC > documentation. > > The issue is the enormous variety of screen sizes on smart phones. For > example the iPhone XS Max has 1242 pixels width, the iPhone 5 has 640. > And there are many many more before we even get to tablets? > > The question is, how do most of you tackle this, and does LC help? > Obviously an object taking up a fixed number of pixels on one phone > will look absurdly large or small on another one, or of course may not > fit on the screen at all. Not all objects can be vector drawings, and > the ones that are still have to be resized according to device > > Is there anything better than the obvious trick of resizing everything > in sight when the app is being initialised, including substituting the > more sensitive graphics from a library of appropriate sizes? Seems > tedious. Is it all that tedious? Computers have had resizable windows since Mac 1.0, and even HyperCard stacks could be resize after its first version. True, in the very olden days we all enjoyed the simplicity of knowing we never had to accommodate any screen size other than 512x342. Ah, those were the days! :) But 640x480 came along not long after, and it caused much concern among developers. Suddenly we had to become aware of screen metrics, and rearrange our layouts to make good use of the available space. Then 1024x768 came along, and then we had THREE(!) screen sizes to contend with. Oh the humanity! :) Then by the early 90s we got over it. Anticipating multiple screen sizes became the norm, new tools like SuperCard, OMO, and MetaCard came along offering true resizable windows, and we learned to respond to notification that the window had resized so we can adjust our interior contents nicely. Flash forward to 2010: iPhone comes out, with the presumption that one size will satisfy all tastes. That didn't last long. History doesn't always repeat itself, but it often rhymes. :) ---- As with desktop software, I find it instructive to observe how the best apps on mobile behave, and then - because those establish user expectations - do what they do. And what we see is not all that different from how designers handle resizable windows on the desktop: some objects stay where they are, those that make sense to enlarge enlarge, those that make sense to remain adjacent to something next to them remain adjacent to something next to them, etc. If you've written resizeStack handlers at any point in the last 28 years since MC premiered, you've already learned most of what you need to know to handle a resizeStack message on a mobile device. The specifics of how this plays out in your layout will of course depend entirely on your layout. But I have found a few things that have greatly simplified my UI work, chiefly: - Use Groups Smartly Relatively recently (a few years ago) the engine now sends a resizeControl message to groups whenever they're resized by any means, either user interaction with the pointer tool (as had always been the case) or via script (the new addition). This allows us to work with our UIs very cleanly, recognizing that an app is ultimately a set of rows, and that some rows are divided into blocks. When we group controls by their location/purpose logically, we get to take advantage of a wonderfully simplifying cascading effect with regard to resizing, which allows us to keep control adjustments local to their containing group. Imagine a simple message form, where the rows are: - Icons for navigating to different screens - Message, which includes three rows: - Subject field - Body field - Send button With that, our card script need only bother itself with the general placement of the two main goups: on resizeStack x,y set the rect of grp "Nav" to 0,0,x,40 set the rect of grp "Message" to 0,40,x,y end resizeStack And because the groups will get a resizeControl message when that card script adjust them, each can contain its own handler to take care of its interior contents. This might be the script for the Message group: on resizeControl set the rect of fld "Subject" to the left of me, the top of me, \ the right of me, the top of me + 40 set the rect of fld "Body" to the left of me, 40, the right of me, \ the bottom of me - 60 set the bottomRight of btn "Send" to x-20, y-10 end resizeControl Encapsulating resizing within the group not only keeps the logic simple and tidy, but by using the group bounds as its basis rather than the card (e.g., "the left of me") the group is maintainable and even portable - the card script that sets its rect can change at any time, and the group's resizeControl handler will continue to work well. There are probably other tips and tricks worth considering, but none have radically streamlined the process of delivering the UI I want my user to enjoy as much as using groups as containers for logically/geometrically related controls. As you explore these and other ideas in the crafting of your UI, drop back in here with questions. There are always many ways to skin cats in LC, and the diversity of experience on this list can help solve anything. -- 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 Apr 9 12:51:23 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 9 Apr 2020 09:51:23 -0700 Subject: Another Apple iOS Deadline In-Reply-To: <002b01d60e8b$960102e0$c20308a0$@net> References: <002b01d60e8b$960102e0$c20308a0$@net> Message-ID: <064b28f4-b2f9-14c4-bf21-f9e0d345b1d2@fourthworld.com> Ralph DiMola wrote: From App developer email I just received: > > Please note that all apps that authenticate or set up user accounts > must support Sign in with Apple if required by guideline 4.8 of the > App Store Review Guidelines. New apps must follow guideline 4.8 and > Human Interface Guidelines on Sign in with Apple starting April 30, > 2020. App updates must follow these guidelines starting June 30, 2020. > > Can we do this? Or would we want to? I'm hoping I misunderstand that, because it sounds like the most onerous and invasive thing I've ever read from that powerful controlling entity, far worse than even their demand a few years ago to control the file format of every Mac app's prefs settings. Do you have a link where we can learn more? -- 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 matthias_livecode_150811 at m-r-d.de Thu Apr 9 12:52:27 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 9 Apr 2020 18:52:27 +0200 Subject: Another Apple iOS Deadline In-Reply-To: <002b01d60e8b$960102e0$c20308a0$@net> References: <41BA58AF-91C2-44FF-BBA7-6D633B08A006@rogers.com> <44758ae2-743c-7f0a-9d30-8696efcc3573@fourthworld.com> <002b01d60e8b$960102e0$c20308a0$@net> Message-ID: I was briefly shocked when i read your post. I am currently developing a service app, which allows to authenticate using already existing online shop login data. That login data is used not only for the online shop, but also to authenticate to webservices to download price data, fetch shipment information and so on. The new app was planned as a mobile companion which allows to use all the web services in a more convenient way on a smartphone. So in general the guidlines would mean that i cannot use the shop login data to authentication in the app. But fortunately the guidelines make exceptions: >>> Sign in with Apple is not required if: Your app exclusively uses your company?s own account setup and sign-in systems. Your app is an education, enterprise, or business app that requires the user to sign in with an existing education or enterprise account. Your app uses a government or industry-backed citizen identification system or electronic ID to authenticate users. Your app is a client for a specific third-party service and users are required to sign in to their mail, social media, or other third-party account directly to access their content. <<< So the first one allows us to use the shop login data. Phew.. - Matthias Rebbe Life Is Too Short For Boring Code > Am 09.04.2020 um 18:26 schrieb Ralph DiMola via use-livecode : > > From App developer email I just received: > > Please note that all apps that authenticate or set up user accounts must > support Sign in with Apple if required by guideline 4.8 of the App Store > Review Guidelines. New apps must follow guideline 4.8 and Human Interface > Guidelines on Sign in with Apple starting April 30, 2020. App updates must > follow these guidelines starting June 30, 2020. > > Can we do this? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > 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 matthias_livecode_150811 at m-r-d.de Thu Apr 9 12:53:19 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 9 Apr 2020 18:53:19 +0200 Subject: Another Apple iOS Deadline In-Reply-To: <064b28f4-b2f9-14c4-bf21-f9e0d345b1d2@fourthworld.com> References: <002b01d60e8b$960102e0$c20308a0$@net> <064b28f4-b2f9-14c4-bf21-f9e0d345b1d2@fourthworld.com> Message-ID: <5ACD051D-06F3-4FC9-9837-A33901CB8C43@m-r-d.de> https://developer.apple.com/app-store/review/guidelines/ - Matthias Rebbe Life Is Too Short For Boring Code > Am 09.04.2020 um 18:51 schrieb Richard Gaskin via use-livecode : > > Ralph DiMola wrote: > > From App developer email I just received: > > > > Please note that all apps that authenticate or set up user accounts > > must support Sign in with Apple if required by guideline 4.8 of the > > App Store Review Guidelines. New apps must follow guideline 4.8 and > > Human Interface Guidelines on Sign in with Apple starting April 30, > > 2020. App updates must follow these guidelines starting June 30, 2020. > > > > Can we do this? > > Or would we want to? > > I'm hoping I misunderstand that, because it sounds like the most onerous and invasive thing I've ever read from that powerful controlling entity, far worse than even their demand a few years ago to control the file format of every Mac app's prefs settings. > > Do you have a link where we can learn more? > > -- > 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 jacque at hyperactivesw.com Thu Apr 9 13:56:02 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 9 Apr 2020 12:56:02 -0500 Subject: Video format for mobile In-Reply-To: References: <5ab573cc-af17-4b58-73f5-adb0a51907f2@hyperactivesw.com> <070A2670-A829-4310-ACB4-2F6A38F8B1D2@gmail.com> Message-ID: <04cbe6c3-ca37-0155-bc27-d01fbf95e532@hyperactivesw.com> They're kind of huge (like 400 MB) so I didn't copy them to my phone, but they play okay on Mac using Firefox and on Android using Chrome browser. I guess that doesn't tell us much. Swami suggested to me privately that he uses a browser widget to play videos so I will try that next. On 4/9/20 9:20 AM, Mark Talluto via use-livecode wrote: > What happens if you play the file locally on each device? > > -Mark > > On Wed, Apr 8, 2020 at 10:22 PM J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Not sure what you mean by "an existing app" but my test app uses >> mobileControlCreate to set up >> a mobile player. When it accesses the video from my server, it's all black >> with no video or >> audio, and the nonexistent playback quits a few seconds in. >> >> I'm not sure whether these videos were created with streaming in mind. I >> vaguely remember we >> used to need to set a "streaming" checkbox when creating a video. Is that >> still required? >> >>>> -- >>>> 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tom at makeshyft.com Thu Apr 9 14:01:52 2020 From: tom at makeshyft.com (Tom Glod) Date: Thu, 9 Apr 2020 14:01:52 -0400 Subject: Video format for mobile In-Reply-To: <04cbe6c3-ca37-0155-bc27-d01fbf95e532@hyperactivesw.com> References: <5ab573cc-af17-4b58-73f5-adb0a51907f2@hyperactivesw.com> <070A2670-A829-4310-ACB4-2F6A38F8B1D2@gmail.com> <04cbe6c3-ca37-0155-bc27-d01fbf95e532@hyperactivesw.com> Message-ID: I'm sorry to be the bearer of bad news here. :( if its h264 the browser widget won't play it. If you saw video but no audio then thats one thing.....but no video means the video codec is also absent. On Thu, Apr 9, 2020 at 1:57 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > They're kind of huge (like 400 MB) so I didn't copy them to my phone, but > they play okay on Mac > using Firefox and on Android using Chrome browser. I guess that doesn't > tell us much. > > Swami suggested to me privately that he uses a browser widget to play > videos so I will try that > next. > > On 4/9/20 9:20 AM, Mark Talluto via use-livecode wrote: > > What happens if you play the file locally on each device? > > > > -Mark > > > > On Wed, Apr 8, 2020 at 10:22 PM J. Landman Gay via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Not sure what you mean by "an existing app" but my test app uses > >> mobileControlCreate to set up > >> a mobile player. When it accesses the video from my server, it's all > black > >> with no video or > >> audio, and the nonexistent playback quits a few seconds in. > >> > >> I'm not sure whether these videos were created with streaming in mind. I > >> vaguely remember we > >> used to need to set a "streaming" checkbox when creating a video. Is > that > >> still required? > >> > >>>> -- > >>>> 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 > > > > > -- > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From jacque at hyperactivesw.com Thu Apr 9 14:03:26 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 9 Apr 2020 13:03:26 -0500 Subject: Video format for mobile In-Reply-To: <11FDA074-AE2A-4DF9-96B6-10864C7DF8A8@exnihilo-media.com> References: <11FDA074-AE2A-4DF9-96B6-10864C7DF8A8@exnihilo-media.com> Message-ID: <95049c61-8ec2-dbf4-ce23-62f22b2a9509@hyperactivesw.com> On 4/9/20 9:53 AM, Bryan Anderson via use-livecode wrote: > The .mp4 file spec allows for 3 different audio formats. AAC, MPEG1-Layer1 and MPEG1-Layer2. AAC is by far the most often used audio codec. > > I just made a quick video using each audio codec, and the only one that plays audio in LC is the AAC version (MacOS, LC 9.5.0). To make sure you?re video is the right format, download the sample stack in the bug report at https://quality.livecode.com/show_bug.cgi?id=21278 . I know that video works, at least on Mac. > > On MacOS. Quicktime is the default player on the Mac still today, but it?s not the same QuickTime from years ago that LC depended on. If ?About QuickTime Player? shows version 10.5, you?re on the new one. QuickTime Player 7 uses the deprecated APIs. I have QT 10.5 and it plays the video. Firefox does too. On Android, Chrome plays it. So it looks like LC mobile player could be the problem. I downloaded the file from your bug report, set a LC player to the filepath on my Mac, and got the same empty black screen. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tom at makeshyft.com Thu Apr 9 14:07:40 2020 From: tom at makeshyft.com (Tom Glod) Date: Thu, 9 Apr 2020 14:07:40 -0400 Subject: Video format for mobile In-Reply-To: <95049c61-8ec2-dbf4-ce23-62f22b2a9509@hyperactivesw.com> References: <11FDA074-AE2A-4DF9-96B6-10864C7DF8A8@exnihilo-media.com> <95049c61-8ec2-dbf4-ce23-62f22b2a9509@hyperactivesw.com> Message-ID: There is cisco's openh264 codec which they open sourced. So that is a potential solution that would have to include the livecode team. https://github.com/cisco/openh264 On Thu, Apr 9, 2020 at 2:04 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 4/9/20 9:53 AM, Bryan Anderson via use-livecode wrote: > > The .mp4 file spec allows for 3 different audio formats. AAC, > MPEG1-Layer1 and MPEG1-Layer2. AAC is by far the most often used audio > codec. > > > > I just made a quick video using each audio codec, and the only one that > plays audio in LC is the AAC version (MacOS, LC 9.5.0). To make sure you?re > video is the right format, download the sample stack in the bug report at > https://quality.livecode.com/show_bug.cgi?id=21278 < > https://quality.livecode.com/show_bug.cgi?id=21278>. I know that video > works, at least on Mac. > > > > On MacOS. Quicktime is the default player on the Mac still today, but > it?s not the same QuickTime from years ago that LC depended on. If ?About > QuickTime Player? shows version 10.5, you?re on the new one. QuickTime > Player 7 uses the deprecated APIs. > > I have QT 10.5 and it plays the video. Firefox does too. On Android, > Chrome plays it. So it > looks like LC mobile player could be the problem. > > I downloaded the file from your bug report, set a LC player to the > filepath on my Mac, and got > the same empty black screen. > > -- > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From jacque at hyperactivesw.com Thu Apr 9 14:09:17 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 9 Apr 2020 13:09:17 -0500 Subject: Mobile screen sizes - another naive question In-Reply-To: References: <81522F65-606C-490F-9B55-25DB75D8B606@mac.com> Message-ID: <3f49d25b-cd15-b068-6220-65ebd69a4372@hyperactivesw.com> On 4/9/20 11:47 AM, Richard Gaskin via use-livecode wrote: > Graham Samuel wrote: > > > Folks, yet again I don?t know where to look for an answer in the LC > > documentation. > > > > The issue is the enormous variety of screen sizes on smart phones. For > > example the iPhone XS Max has 1242 pixels width, the iPhone 5 has 640. > > And there are many many more before we even get to tablets? > > > > The question is, how do most of you tackle this, and does LC help? > > Obviously an object taking up a fixed number of pixels on one phone > > will look absurdly large or small on another one, or of course may not > > fit on the screen at all. Not all objects can be vector drawings, and > > the ones that are still have to be resized according to device > > > > Is there anything better than the obvious trick of resizing everything > > in sight when the app is being initialised, including substituting the > > more sensitive graphics from a library of appropriate sizes? Seems > > tedious. > > Is it all that tedious? Yes, unless you have a simple stack with only a few controls. If you have hundreds of objects, dealing with each of them individually, even if it's only one line that calls a handler, is a tedious time sink. Graham, experiment with fullscreenMode, which automates most of the process. It isn't perfect and you'll need to make a few adjustments for different screen sizes, but it's much easier than trying to adjust for every possible screen ratio. LC implemented this specifically to take away the pain as much as possible. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Apr 9 14:10:00 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 9 Apr 2020 13:10:00 -0500 Subject: Another Apple iOS Deadline In-Reply-To: References: <41BA58AF-91C2-44FF-BBA7-6D633B08A006@rogers.com> <44758ae2-743c-7f0a-9d30-8696efcc3573@fourthworld.com> <002b01d60e8b$960102e0$c20308a0$@net> Message-ID: On 4/9/20 11:52 AM, matthias rebbe via use-livecode wrote: > But fortunately the guidelines make exceptions: > > Sign in with Apple is not required if: > Your app exclusively uses your company?s own account setup and sign-in systems. Thank God. I almost had a heart attack. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Thu Apr 9 14:10:55 2020 From: klaus at major-k.de (Klaus major-k) Date: Thu, 9 Apr 2020 20:10:55 +0200 Subject: Video format for mobile In-Reply-To: <95049c61-8ec2-dbf4-ce23-62f22b2a9509@hyperactivesw.com> References: <11FDA074-AE2A-4DF9-96B6-10864C7DF8A8@exnihilo-media.com> <95049c61-8ec2-dbf4-ce23-62f22b2a9509@hyperactivesw.com> Message-ID: Hi Jaques, > Am 09.04.2020 um 20:03 schrieb J. Landman Gay via use-livecode : > > On 4/9/20 9:53 AM, Bryan Anderson via use-livecode wrote: >> The .mp4 file spec allows for 3 different audio formats. AAC, MPEG1-Layer1 and MPEG1-Layer2. AAC is by far the most often used audio codec. >> I just made a quick video using each audio codec, and the only one that plays audio in LC is the AAC version (MacOS, LC 9.5.0). To make sure you?re video is the right format, download the sample stack in the bug report at https://quality.livecode.com/show_bug.cgi?id=21278 . I know that video works, at least on Mac. >> On MacOS. Quicktime is the default player on the Mac still today, but it?s not the same QuickTime from years ago that LC depended on. If ?About QuickTime Player? shows version 10.5, you?re on the new one. QuickTime Player 7 uses the deprecated APIs. > > I have QT 10.5 and it plays the video. Firefox does too. On Android, Chrome plays it. So it looks like LC mobile player could be the problem. > > I downloaded the file from your bug report, set a LC player to the filepath on my Mac, and got the same empty black screen. I did the same and the video played fine in a player object, same in a browser widget! macOS 10.14.6, LC 9.5.1 The codec of that video is AVC (Advanced Video Codec), which is not very common. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From brian at milby7.com Thu Apr 9 14:14:00 2020 From: brian at milby7.com (Brian Milby) Date: Thu, 9 Apr 2020 14:14:00 -0400 Subject: Another Apple iOS Deadline In-Reply-To: References: <41BA58AF-91C2-44FF-BBA7-6D633B08A006@rogers.com> <44758ae2-743c-7f0a-9d30-8696efcc3573@fourthworld.com> <002b01d60e8b$960102e0$c20308a0$@net> Message-ID: <8ebd463c-cb9d-43e8-8d6d-d2bda8ac497e@Spark> This is for parity... if you allow Facebook or Google federated authentication then you need to add Apple as an option. Thanks, Brian On Apr 9, 2020, 2:10 PM -0400, J. Landman Gay via use-livecode , wrote: > On 4/9/20 11:52 AM, matthias rebbe via use-livecode wrote: > > But fortunately the guidelines make exceptions: > > > > Sign in with Apple is not required if: > > Your app exclusively uses your company?s own account setup and sign-in systems. > > Thank God. I almost had a heart attack. > > -- > 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 matthias_livecode_150811 at m-r-d.de Thu Apr 9 14:15:52 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 9 Apr 2020 20:15:52 +0200 Subject: Another Apple iOS Deadline In-Reply-To: References: <41BA58AF-91C2-44FF-BBA7-6D633B08A006@rogers.com> <44758ae2-743c-7f0a-9d30-8696efcc3573@fourthworld.com> <002b01d60e8b$960102e0$c20308a0$@net> Message-ID: > Am 09.04.2020 um 20:10 schrieb J. Landman Gay via use-livecode : > > On 4/9/20 11:52 AM, matthias rebbe via use-livecode wrote: >> But fortunately the guidelines make exceptions: >> Sign in with Apple is not required if: >> Your app exclusively uses your company?s own account setup and sign-in systems. > > Thank God. I almost had a heart attack. Same here. I was really shocked, but thought i should have closer look at the guidelines. So let us keep our fingers crossed that Apple does not change the exceptions. - Matthias Rebbe Life Is Too Short For Boring Code > > -- > 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 Thu Apr 9 14:23:11 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 9 Apr 2020 11:23:11 -0700 Subject: Another Apple iOS Deadline In-Reply-To: References: Message-ID: <69ea3b01-2cb9-b1c1-e691-512cd999ad2d@fourthworld.com> Matthias Rebbe wrote: > So let us keep our fingers crossed that Apple does not change the > exceptions. The debacle around iOS SDK v4.0 Section 3.3.1 in 2010 reminds us to remain wary of such things at all times... -- 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 Apr 9 14:17:00 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 9 Apr 2020 11:17:00 -0700 Subject: Video format for mobile In-Reply-To: References: Message-ID: Tom Glod wrote: > There is cisco's openh264 codec which they open sourced. So that is a > potential solution that would have to include the livecode team. > > https://github.com/cisco/openh264 Super-cool, Tom. Thanks for posting that. It's an impressive work, both technically for its breadth of support and with its license, the permissive MIT-like BSD 2-Clause "Simplified" License. Curious about how they were able to pull that off without triggering the patent wrath of the MPEG-LA consortium, it seems Cisco wrote a large check and is absorbing the cost internally, not passing that cost on to users of the component: https://blog.mozilla.org/blog/2013/10/30/video-interoperability-on-the-web-gets-a-boost-from-ciscos-h-264-codec/ This is how we can watch Netflix in Firefox, and many other things with proprietary and DRM content. Thanks, Cisco! -- 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 bvlahos at mac.com Thu Apr 9 14:27:10 2020 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 9 Apr 2020 11:27:10 -0700 Subject: Hide stack change focus not supported 64bit In-Reply-To: References: <5EFA08A8-B098-4671-A346-FDAA0AA9C3B6@mac.com> <6B2DD84A-411B-4666-A07A-C8D496424509@mac.com> <7808B0D7-334E-49B2-AFB0-CD12BAE195EE@mac.com> <6B15F759-78B6-432C-8149-082AC2AD8269@iotecdigital.com> Message-ID: <339A04C1-25D1-453F-9958-BAAEF17E1102@mac.com> Just to let everyone know I got it working and it is working great. Thanks, Bill > On Apr 3, 2020, at 3:59 PM, Bill Vlahos via use-livecode wrote: > > Bob, > > What file(s) do I need to add? > > When I try adding to Stack Properties it won?t let me select macOStools.lcb. > > I can add other files in the standalone builder I still don?t see macOStools.lcb in the Inclusions and it doesn?t hide. > > I think I need more complete instructions. > > Thank you, > Bill > > >> On Apr 3, 2020, at 8:13 AM, Bob Sneidar via use-livecode wrote: >> >> Open Stack Properties, add to the stackfiles. Also in the standalone builder you can add other files and folders that are not stack files. >> >> Bob S >> >> >> On Apr 2, 2020, at 9:33 PM, Bill Vlahos via use-livecode > wrote: >> >> I don?t see it in the inclusions tab. >> >> How do I install your library? >> >> Thanks, > > _______________________________________________ > 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 matthias_livecode_150811 at m-r-d.de Thu Apr 9 14:33:34 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 9 Apr 2020 20:33:34 +0200 Subject: Another Apple iOS Deadline In-Reply-To: <69ea3b01-2cb9-b1c1-e691-512cd999ad2d@fourthworld.com> References: <69ea3b01-2cb9-b1c1-e691-512cd999ad2d@fourthworld.com> Message-ID: Don?t remind me to that.. If such thing ever happens again i will stop developing for iOS. And if Apple ever cancels the possibility to publish outside of the Mac Appstore then i will stop developing for Mac. I mainly develop for Windows, but as i am developing on a Mac i used the opportunity to develop also for iOS and Mac OS. But fortunately my business does not depend on iOS/Mac development. - Matthias Rebbe Life Is Too Short For Boring Code > Am 09.04.2020 um 20:23 schrieb Richard Gaskin via use-livecode : > > Matthias Rebbe wrote: > > So let us keep our fingers crossed that Apple does not change the > > exceptions. > > The debacle around iOS SDK v4.0 Section 3.3.1 in 2010 reminds us to remain wary of such things at all times... > > -- > 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 tom at makeshyft.com Thu Apr 9 14:34:34 2020 From: tom at makeshyft.com (Tom Glod) Date: Thu, 9 Apr 2020 14:34:34 -0400 Subject: Video format for mobile In-Reply-To: References: Message-ID: Hi Richard, thats exactly what they did. Now if only would could get a LC and CEF build with that. Do you think it would be a lot of work to add the codec to LC player and a build of CEF to go with it? I got the licensing documents 2 years ago from MPEG-LA...... and had I started to read them then...I would have just finished. The good part is the MPEG-LA gives you 100,000 licenses free of charge, and after that its also very cheap / user. On Thu, Apr 9, 2020 at 2:27 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Tom Glod wrote: > > There is cisco's openh264 codec which they open sourced. So that is a > > potential solution that would have to include the livecode team. > > > > https://github.com/cisco/openh264 > > Super-cool, Tom. Thanks for posting that. > > It's an impressive work, both technically for its breadth of support and > with its license, the permissive MIT-like BSD 2-Clause "Simplified" > License. > > Curious about how they were able to pull that off without triggering the > patent wrath of the MPEG-LA consortium, it seems Cisco wrote a large > check and is absorbing the cost internally, not passing that cost on to > users of the component: > > https://blog.mozilla.org/blog/2013/10/30/video-interoperability-on-the-web-gets-a-boost-from-ciscos-h-264-codec/ > > This is how we can watch Netflix in Firefox, and many other things with > proprietary and DRM content. > > Thanks, Cisco! > > -- > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From klaus at major-k.de Thu Apr 9 14:46:04 2020 From: klaus at major-k.de (Klaus major-k) Date: Thu, 9 Apr 2020 20:46:04 +0200 Subject: Video format for mobile In-Reply-To: References: Message-ID: Hi Tom, > Am 09.04.2020 um 20:34 schrieb Tom Glod via use-livecode : > > Hi Richard, thats exactly what they did. > > Now if only would could get a LC and CEF build with that. Do you think it > would be a lot of work to add the codec to LC player and a build of CEF to > go with it? the x264 codec is 100% compatible to the h264 codec! Almost all of my videos are encoded with HANDBRAKE which uses the x264 codec, been ripping my own DVDs some years ago, and all of them play fine on my (not so ) smart TV, in a player object and a browser widget in LC. Or do you mean LC should implement that codec right into the engine? Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From jerry at jhjensen.com Thu Apr 9 14:47:45 2020 From: jerry at jhjensen.com (Jerry Jensen) Date: Thu, 9 Apr 2020 11:47:45 -0700 Subject: Video format for mobile In-Reply-To: <9D63AD00-82E5-41C3-A6E4-8EFDE7221FB2@iotecdigital.com> References: <5ab573cc-af17-4b58-73f5-adb0a51907f2@hyperactivesw.com> <9DCE0A50-EBDA-405B-BBFA-783B5F37413B@jhjensen.com> <9D63AD00-82E5-41C3-A6E4-8EFDE7221FB2@iotecdigital.com> Message-ID: <6B8472AA-4F60-4027-804D-0D68DCE12C74@jhjensen.com> Nope. AAC is lossy but better than MP3. You may be thinking of ALAC - Apple Lossless Audio Codec. Just to add to the confusion, here?s a clip from a good Wikipedia article: "Apple Lossless data is frequently stored within an MP4 container with the filename extension .m4a. This extension is also used by Apple for lossy AAC audio data in an MP4 container (same container, different audio encoding). However, Apple Lossless is not a variant of AAC (which is a lossy format), but rather a distinct lossless format that uses linear prediction similar to other lossless codecs.? .Jerry > On Apr 9, 2020, at 7:47 AM, Bob Sneidar via use-livecode wrote: > > As I recall, it is lossless, yes? > > Bob S > > >> On Apr 8, 2020, at 7:46 PM, Jerry Jensen via use-livecode wrote: >> >> Hi J, >> AAC is Advanced Audio Compression - successor to MP3. >> https://fileinfo.com/extension/aac >> Hope this will help you figure out how to play it. >> .Jerry From dev at porta.ca Thu Apr 9 14:47:49 2020 From: dev at porta.ca (Dev) Date: Thu, 9 Apr 2020 12:47:49 -0600 Subject: Another Apple iOS Deadline In-Reply-To: <8ebd463c-cb9d-43e8-8d6d-d2bda8ac497e@Spark> References: <8ebd463c-cb9d-43e8-8d6d-d2bda8ac497e@Spark> Message-ID: <30F3D432-78AB-46BE-90B6-42C364AAA480@porta.ca> This IS for parity. When Apple announced this at WWDC last year, the pitch was that IF you chose to allow Google or Facebook signin THEN you had to add Apple signin on the top of the other two logos. If you didn?t have any preferential signin then you didn?t need to change anything. As a user, I would NOT use Google or Facebook signin because of tracking issues. I LOVE signing in securely and anonymously via Apple. To me, this is a good thing that I really approve of. Kelly Sent from the iPad > On Apr 9, 2020, at 12:15 PM, Brian Milby via use-livecode wrote: > > ?This is for parity... if you allow Facebook or Google federated authentication then you need to add Apple as an option. > > Thanks, > Brian >> On Apr 9, 2020, 2:10 PM -0400, J. Landman Gay via use-livecode , wrote: >>> On 4/9/20 11:52 AM, matthias rebbe via use-livecode wrote: >>> But fortunately the guidelines make exceptions: >>> >>> Sign in with Apple is not required if: >>> Your app exclusively uses your company?s own account setup and sign-in systems. >> >> Thank God. I almost had a heart attack. >> >> -- >> 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 tom at makeshyft.com Thu Apr 9 14:49:41 2020 From: tom at makeshyft.com (Tom Glod) Date: Thu, 9 Apr 2020 14:49:41 -0400 Subject: Video format for mobile In-Reply-To: References: Message-ID: Hi Klaus, My experience with this issue was trying to view "youtube live" using the browser widget, which uses h264...its how I found out that CEF needs to be built with "-proprietary codec" flag in order to be able to play h264 videos from youtube or vimeo. It would make sense that its the same reason why LC player does not play anything with h264. Yes that is what I was implying, building LC and CEF (Chrome Browser in a widget) with the codecs. On Thu, Apr 9, 2020 at 2:46 PM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Tom, > > > Am 09.04.2020 um 20:34 schrieb Tom Glod via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hi Richard, thats exactly what they did. > > > > Now if only would could get a LC and CEF build with that. Do you think it > > would be a lot of work to add the codec to LC player and a build of CEF > to > > go with it? > > the x264 codec is 100% compatible to the h264 codec! > > Almost all of my videos are encoded with HANDBRAKE which uses the x264 > codec, > been ripping my own DVDs some years ago, and all of them play fine on my > (not so ) > smart TV, in a player object and a browser widget in LC. > > Or do you mean LC should implement that codec right into the engine? > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From devin_asay at byu.edu Thu Apr 9 14:53:48 2020 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 9 Apr 2020 18:53:48 +0000 Subject: Old Fossil seeks fast track assistance In-Reply-To: <84635384-6F4A-4E06-8085-08200668D802@mac.com> References: <1B5FE27E-88F3-4AEE-A696-DF8C658DB3A1@mac.com> <84635384-6F4A-4E06-8085-08200668D802@mac.com> Message-ID: <4D54BD8A-A891-4093-B440-DEBD18AE4AE8@byu.edu> Graham, Not really visualizing what you?re seeing. When you choose Xcode from your LiveCode mobile support preference pane, all you should have to do is navigate to Xcode using the Add Entry button, choose Xcode, and the square next to the iOS section should turn green. If you see the green square you should be good to go to do Test deploys to the iOS Simulator. It?s all about the Green Square! Devin > On Apr 9, 2020, at 9:23 AM, Graham Samuel via use-livecode wrote: > > Devin. I was too optimistic in thinking things would now go smoothly! I would very much appreciated your advice on the following: > > Following your advice to your students, I have downloaded and installed the latest XCode I can use on my Mac, which is 10.1. I have set the mobile preferences of my LiveCode 9.5.1 Indy to point to the developer section in the XCode app as you instruct (to be certain, I deleted the default and input the info afresh). I can open a simulator for any of my target iPhones - but when I try to set the Standalone settings for my current project, I am unable to select iOS as an option, and indeed I don?t see a detailed set of parameters but just a simpler window. (I think it?s called the General Settings) In fact I find that I can?t add or subtract any platform, although I notice that Mac, Windows and Linux all have a green checkmark, which I don?t want! There is supposed to be a Mode Selector accessed by the top left button on this screen, but I am not seeing it. > > I suppose there must be something wrong with my project, which is at an early stage, but features an iPhone shaped card with some buttons on it, at least! > > I suppose the answer is very very simple, but I have not been able to find it. I just can?t see what I?m doing wrong, and if there?s anything in the LC documentation about this, it is not obvious, nor do the LC preferences settings help. > > Sorry for the interruption - I hope you (or someone else on the list) can help as I am now completely stuck as far as proper testing goes. > > Graham > > >> On 6 Apr 2020, at 16:55, Devin Asay via use-livecode > wrote: >> >> Graham, >> >> I?ve just been through this gauntlet with my students. I provided some links and lessons for them at http://livecode.byu.edu/mobile/test-deploy-links.php . I found the process for setting up Android a little fraught with pitfalls, so I created an expanded instruction sheet for Android setup, linked to that page. >> >> I?m staying with the latest Stable version of LiveCode for my class, 9.5.1. I?m running on Mac OS 10.14 Mojave. With this setup I have to use Xcode 10.1. >> >> As a refresher, on developer.apple.com >, you need to create your iOS developer certificate, register all of the UDIDs for your iOS devices, then create a wildcard provisioning profile for testing your apps. The provisioning profile must include all devices you want to test on. >> >> A collection of links of instructions for distributing mobile apps: http://livecode.byu.edu/mobile/mobileAppDistribution.php . >> >> I hope this will all help jog your memory. I find mine needs to be jogged every time I come back to this mobile stuff after a long time away. >> >> Cheers, >> >> Devin > > _______________________________________________ > 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 klaus at major-k.de Thu Apr 9 14:55:02 2020 From: klaus at major-k.de (Klaus major-k) Date: Thu, 9 Apr 2020 20:55:02 +0200 Subject: Video format for mobile In-Reply-To: References: Message-ID: <8FF0E98A-EF76-4F0F-B1E6-3E1B57E6F417@major-k.de> Hi Tom, > Am 09.04.2020 um 20:49 schrieb Tom Glod via use-livecode : > > Hi Klaus, > > My experience with this issue was trying to view "youtube live" using the > browser widget, which uses h264...its how I found out that CEF needs to be > built with "-proprietary codec" flag in order to be able to play h264 > videos from youtube or vimeo. oh, did not know that. > It would make sense that its the same reason why LC player does not play > anything with h264. I have some h264 encoded videos, downloaded from YouTube, and they play fine in a player object! Just downloaded and played another video from YT and works fine! > Yes that is what I was implying, building LC and CEF (Chrome Browser in a > widget) with the codecs. Aha, thank you for the info. Yep, that would be a nice addition! > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From tom at makeshyft.com Thu Apr 9 15:03:30 2020 From: tom at makeshyft.com (Tom Glod) Date: Thu, 9 Apr 2020 15:03:30 -0400 Subject: Video format for mobile In-Reply-To: <8FF0E98A-EF76-4F0F-B1E6-3E1B57E6F417@major-k.de> References: <8FF0E98A-EF76-4F0F-B1E6-3E1B57E6F417@major-k.de> Message-ID: YT uses different codecs for 'live' and uploaded videos. After a period of time, the re-encode the live videos as archived videos and then they can be viewed normally like you say. Indeed, I play youtube videos all the time in my toolbox that runs the cef browser widget..... but ya..... nothing live. I hope this gets solved sometime. On Thu, Apr 9, 2020 at 2:55 PM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Tom, > > > Am 09.04.2020 um 20:49 schrieb Tom Glod via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hi Klaus, > > > > My experience with this issue was trying to view "youtube live" using the > > browser widget, which uses h264...its how I found out that CEF needs to > be > > built with "-proprietary codec" flag in order to be able to play h264 > > videos from youtube or vimeo. > > oh, did not know that. > > > It would make sense that its the same reason why LC player does not play > > anything with h264. > > I have some h264 encoded videos, downloaded from YouTube, and they play > fine > in a player object! Just downloaded and played another video from YT and > works fine! > > > Yes that is what I was implying, building LC and CEF (Chrome Browser in a > > widget) with the codecs. > > Aha, thank you for the info. > Yep, that would be a nice addition! > > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com) > > Mobile:647.562.9411 > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From tom at makeshyft.com Thu Apr 9 15:04:19 2020 From: tom at makeshyft.com (Tom Glod) Date: Thu, 9 Apr 2020 15:04:19 -0400 Subject: Video format for mobile In-Reply-To: References: <8FF0E98A-EF76-4F0F-B1E6-3E1B57E6F417@major-k.de> Message-ID: i am not sure of the difference between the codec your files used ...and the YT live codec.... but surely there is one. On Thu, Apr 9, 2020 at 3:03 PM Tom Glod wrote: > YT uses different codecs for 'live' and uploaded videos. After a period > of time, the re-encode the live videos as archived videos and then they can > be viewed normally like you say. > > Indeed, I play youtube videos all the time in my toolbox that runs the cef > browser widget..... but ya..... nothing live. > > I hope this gets solved sometime. > > On Thu, Apr 9, 2020 at 2:55 PM Klaus major-k via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi Tom, >> >> > Am 09.04.2020 um 20:49 schrieb Tom Glod via use-livecode < >> use-livecode at lists.runrev.com>: >> > >> > Hi Klaus, >> > >> > My experience with this issue was trying to view "youtube live" using >> the >> > browser widget, which uses h264...its how I found out that CEF needs to >> be >> > built with "-proprietary codec" flag in order to be able to play h264 >> > videos from youtube or vimeo. >> >> oh, did not know that. >> >> > It would make sense that its the same reason why LC player does not play >> > anything with h264. >> >> I have some h264 encoded videos, downloaded from YouTube, and they play >> fine >> in a player object! Just downloaded and played another video from YT and >> works fine! >> >> > Yes that is what I was implying, building LC and CEF (Chrome Browser in >> a >> > widget) with the codecs. >> >> Aha, thank you for the info. >> Yep, that would be a nice addition! >> >> > -- >> > Tom Glod >> > Founder & Developer >> > MakeShyft R.D.A (www.makeshyft.com) >> > Mobile:647.562.9411 >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> klaus at major-k.de >> >> >> _______________________________________________ >> 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 >> > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Mobile:647.562.9411 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From klaus at major-k.de Thu Apr 9 15:05:57 2020 From: klaus at major-k.de (Klaus major-k) Date: Thu, 9 Apr 2020 21:05:57 +0200 Subject: Video format for mobile In-Reply-To: References: <8FF0E98A-EF76-4F0F-B1E6-3E1B57E6F417@major-k.de> Message-ID: > Am 09.04.2020 um 21:04 schrieb Tom Glod via use-livecode : > > i am not sure of the difference between the codec your files used ...and > the YT live codec.... but surely there is one. QT Player info gave me h264 as the video codec. -- Klaus Major https://www.major-k.de klaus at major-k.de From tom at makeshyft.com Thu Apr 9 15:13:02 2020 From: tom at makeshyft.com (Tom Glod) Date: Thu, 9 Apr 2020 15:13:02 -0400 Subject: Video format for mobile In-Reply-To: References: <8FF0E98A-EF76-4F0F-B1E6-3E1B57E6F417@major-k.de> Message-ID: hmmm.....i'm going to do some testing on this to try to nail down the details on this. Visiting this page in the browser gives a lot of info. https://tools.woolyss.com/html5-audio-video-tester/ I've never used the built in player maybe it uses the OS's installed codecs? On Thu, Apr 9, 2020 at 3:06 PM Klaus major-k via use-livecode < use-livecode at lists.runrev.com> wrote: > > > > Am 09.04.2020 um 21:04 schrieb Tom Glod via use-livecode < > use-livecode at lists.runrev.com>: > > > > i am not sure of the difference between the codec your files used ...and > > the YT live codec.... but surely there is one. > > QT Player info gave me h264 as the video codec. > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > 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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From curry at pair.com Thu Apr 9 15:25:09 2020 From: curry at pair.com (Curry Kenworthy) Date: Thu, 9 Apr 2020 15:25:09 -0400 Subject: Old Fossil seeks fast track assistance In-Reply-To: <4D54BD8A-A891-4093-B440-DEBD18AE4AE8@byu.edu> References: <4D54BD8A-A891-4093-B440-DEBD18AE4AE8@byu.edu> Message-ID: <79d2eac3-147f-6179-d051-56c2e482bec3@pair.com> Howdy Graham, This particular problem is ideally suited to a screen-sharing video conference tutoring session, talking you through the process and solving obstacles while you are hands-on. That could get you running in minutes to a couple of hours, rather than days to weeks. I would normally very humbly recommend myself (I'm the best) :) but my breathing is still affected and I'm temporarily not up to holding a conversation since being sick. So if you don't solve it extremely soon by yourself, I suggest you find someone (who is not hors de combat) to help you in a "live" session with this, it won't take long, then you can move forward with your project! Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From jacque at hyperactivesw.com Thu Apr 9 15:30:46 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 9 Apr 2020 14:30:46 -0500 Subject: Video format for mobile In-Reply-To: References: <5ab573cc-af17-4b58-73f5-adb0a51907f2@hyperactivesw.com> <070A2670-A829-4310-ACB4-2F6A38F8B1D2@gmail.com> <04cbe6c3-ca37-0155-bc27-d01fbf95e532@hyperactivesw.com> Message-ID: I tried the browser widget: no audio, no video, white screen, no browser outline on Android. I tried a mobile browser (mobileControlCreate): audio plays, no video, white screen. So yeah, it looks like there's no codec. The widget on desktop doesn't play it either. If I ask the client to re-do the videos, what codec should I ask for? I was told that we had to use their existing videos, so I'm not even sure they will re-do them. On 4/9/20 1:01 PM, Tom Glod via use-livecode wrote: > I'm sorry to be the bearer of bad news here. :( > > if its h264 the browser widget won't play it. If you saw video but no audio > then thats one thing.....but no video means the video codec is also absent. > > On Thu, Apr 9, 2020 at 1:57 PM J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> They're kind of huge (like 400 MB) so I didn't copy them to my phone, but >> they play okay on Mac >> using Firefox and on Android using Chrome browser. I guess that doesn't >> tell us much. >> >> Swami suggested to me privately that he uses a browser widget to play >> videos so I will try that >> next. >> >> On 4/9/20 9:20 AM, Mark Talluto via use-livecode wrote: >>> What happens if you play the file locally on each device? >>> >>> -Mark >>> >>> On Wed, Apr 8, 2020 at 10:22 PM J. Landman Gay via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Not sure what you mean by "an existing app" but my test app uses >>>> mobileControlCreate to set up >>>> a mobile player. When it accesses the video from my server, it's all >> black >>>> with no video or >>>> audio, and the nonexistent playback quits a few seconds in. >>>> >>>> I'm not sure whether these videos were created with streaming in mind. I >>>> vaguely remember we >>>> used to need to set a "streaming" checkbox when creating a video. Is >> that >>>> still required? >>>> >>>>>> -- >>>>>> 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 >>> >> >> >> -- >> 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 >> > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mark at livecode.com Thu Apr 9 16:36:31 2020 From: mark at livecode.com (Mark Waddingham) Date: Thu, 9 Apr 2020 21:36:31 +0100 Subject: Video format for mobile In-Reply-To: References: Message-ID: <9E730E77-41D8-434F-A6BE-72D54F2C3FC9@livecode.com> This sounds like a bug we are currently fixing (hopefully in time for 9.6-DP-4) - the android player doesn?t currently play nicely with accelerated rendering... Turning that off should mean things play properly. We use the system player object so MP4 should be fine. Warmest Regards, Mark. Sent from my iPhone > On 9 Apr 2020, at 20:31, J. Landman Gay via use-livecode wrote: > > ?I tried the browser widget: no audio, no video, white screen, no browser outline on Android. > > I tried a mobile browser (mobileControlCreate): audio plays, no video, white screen. > > So yeah, it looks like there's no codec. The widget on desktop doesn't play it either. If I ask the client to re-do the videos, what codec should I ask for? I was told that we had to use their existing videos, so I'm not even sure they will re-do them. > >> On 4/9/20 1:01 PM, Tom Glod via use-livecode wrote: >> I'm sorry to be the bearer of bad news here. :( >> if its h264 the browser widget won't play it. If you saw video but no audio >> then thats one thing.....but no video means the video codec is also absent. >>> On Thu, Apr 9, 2020 at 1:57 PM J. Landman Gay via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> They're kind of huge (like 400 MB) so I didn't copy them to my phone, but >>> they play okay on Mac >>> using Firefox and on Android using Chrome browser. I guess that doesn't >>> tell us much. >>> >>> Swami suggested to me privately that he uses a browser widget to play >>> videos so I will try that >>> next. >>> >>> On 4/9/20 9:20 AM, Mark Talluto via use-livecode wrote: >>>> What happens if you play the file locally on each device? >>>> >>>> -Mark >>>> >>>> On Wed, Apr 8, 2020 at 10:22 PM J. Landman Gay via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> Not sure what you mean by "an existing app" but my test app uses >>>>> mobileControlCreate to set up >>>>> a mobile player. When it accesses the video from my server, it's all >>> black >>>>> with no video or >>>>> audio, and the nonexistent playback quits a few seconds in. >>>>> >>>>> I'm not sure whether these videos were created with streaming in mind. I >>>>> vaguely remember we >>>>> used to need to set a "streaming" checkbox when creating a video. Is >>> that >>>>> still required? >>>>> >>>>>>> -- >>>>>>> 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 >>>> >>> >>> >>> -- >>> 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 >>> > > > -- > 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 colinholgate at gmail.com Thu Apr 9 16:41:22 2020 From: colinholgate at gmail.com (Colin Holgate) Date: Thu, 9 Apr 2020 14:41:22 -0600 Subject: Video format for mobile In-Reply-To: <9E730E77-41D8-434F-A6BE-72D54F2C3FC9@livecode.com> References: <9E730E77-41D8-434F-A6BE-72D54F2C3FC9@livecode.com> Message-ID: A long time ago it was possible to work around hardware acceleration issues by playing the video at a different size. That is, a 1920x1080 playback would fail and a 1920x1081 would work. It was just a trick to force the player to use software instead of hardware. > On Apr 9, 2020, at 2:36 PM, Mark Waddingham via use-livecode wrote: > > This sounds like a bug we are currently fixing (hopefully in time for 9.6-DP-4) - the android player doesn?t currently play nicely with accelerated rendering... Turning that off should mean things play properly. > > We use the system player object so MP4 should be fine. > > Warmest Regards, > > Mark. > > Sent from my iPhone > >> On 9 Apr 2020, at 20:31, J. Landman Gay via use-livecode wrote: >> >> ?I tried the browser widget: no audio, no video, white screen, no browser outline on Android. >> >> I tried a mobile browser (mobileControlCreate): audio plays, no video, white screen. >> >> So yeah, it looks like there's no codec. The widget on desktop doesn't play it either. If I ask the client to re-do the videos, what codec should I ask for? I was told that we had to use their existing videos, so I'm not even sure they will re-do them. >> >>> On 4/9/20 1:01 PM, Tom Glod via use-livecode wrote: >>> I'm sorry to be the bearer of bad news here. :( >>> if its h264 the browser widget won't play it. If you saw video but no audio >>> then thats one thing.....but no video means the video codec is also absent. >>>> On Thu, Apr 9, 2020 at 1:57 PM J. Landman Gay via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> They're kind of huge (like 400 MB) so I didn't copy them to my phone, but >>>> they play okay on Mac >>>> using Firefox and on Android using Chrome browser. I guess that doesn't >>>> tell us much. >>>> >>>> Swami suggested to me privately that he uses a browser widget to play >>>> videos so I will try that >>>> next. >>>> >>>> On 4/9/20 9:20 AM, Mark Talluto via use-livecode wrote: >>>>> What happens if you play the file locally on each device? >>>>> >>>>> -Mark >>>>> >>>>> On Wed, Apr 8, 2020 at 10:22 PM J. Landman Gay via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>>> Not sure what you mean by "an existing app" but my test app uses >>>>>> mobileControlCreate to set up >>>>>> a mobile player. When it accesses the video from my server, it's all >>>> black >>>>>> with no video or >>>>>> audio, and the nonexistent playback quits a few seconds in. >>>>>> >>>>>> I'm not sure whether these videos were created with streaming in mind. I >>>>>> vaguely remember we >>>>>> used to need to set a "streaming" checkbox when creating a video. Is >>>> that >>>>>> still required? >>>>>> >>>>>>>> -- >>>>>>>> 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 >>>>> >>>> >>>> >>>> -- >>>> 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 >>>> >> >> >> -- >> 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 dan at clearvisiontech.com Thu Apr 9 16:51:01 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Thu, 9 Apr 2020 20:51:01 +0000 Subject: mobileControlGet and htmlText Message-ID: <797A6AB3-AF9D-4048-8E26-354AE138D290@clearvisiontech.com> Greetings! Is it possible to get the htmlText (the content of the current HTML document) of a native browser? On desktop, I can do this easily with: revBrowserGet(tBrowserId,"htmlText"). Is there a mobile equivalent? -Dan From livfoss at mac.com Thu Apr 9 17:49:42 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 9 Apr 2020 23:49:42 +0200 Subject: Old Fossil seeks fast track assistance In-Reply-To: <79d2eac3-147f-6179-d051-56c2e482bec3@pair.com> References: <4D54BD8A-A891-4093-B440-DEBD18AE4AE8@byu.edu> <79d2eac3-147f-6179-d051-56c2e482bec3@pair.com> Message-ID: <8564C361-F127-48E2-9B85-BBE8DE320F41@mac.com> Curry that?s a wonderful idea. However you need to get well. Perhaps I can find someone to help me in the way you say. I am getting very used to Zoom and other similar tools as I?m isolation myself and I?m doing a lot of visual communication. Keep safe Best wishes Graham > On 9 Apr 2020, at 21:25, Curry Kenworthy via use-livecode wrote: > > > Howdy Graham, > > This particular problem is ideally suited to a screen-sharing video conference tutoring session, talking you through the process and solving obstacles while you are hands-on. That could get you running in minutes to a couple of hours, rather than days to weeks. > > I would normally very humbly recommend myself (I'm the best) :) but my breathing is still affected and I'm temporarily not up to holding a conversation since being sick. > > So if you don't solve it extremely soon by yourself, I suggest you find someone (who is not hors de combat) to help you in a "live" session with this, it won't take long, then you can move forward with your project! > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.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 Thu Apr 9 18:05:30 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 9 Apr 2020 17:05:30 -0500 Subject: Video format for mobile In-Reply-To: <9E730E77-41D8-434F-A6BE-72D54F2C3FC9@livecode.com> References: <9E730E77-41D8-434F-A6BE-72D54F2C3FC9@livecode.com> Message-ID: <0b027d27-0057-38f2-5d8d-9926576bff7e@hyperactivesw.com> My test stack didn't set accelerated rendering at all, so I think there's more to it than that. On 4/9/20 3:36 PM, Mark Waddingham via use-livecode wrote: > This sounds like a bug we are currently fixing (hopefully in time for 9.6-DP-4) - the android player doesn?t currently play nicely with accelerated rendering... Turning that off should mean things play properly. > > We use the system player object so MP4 should be fine. > > Warmest Regards, > > Mark. > > Sent from my iPhone > >> On 9 Apr 2020, at 20:31, J. Landman Gay via use-livecode wrote: >> >> ?I tried the browser widget: no audio, no video, white screen, no browser outline on Android. >> >> I tried a mobile browser (mobileControlCreate): audio plays, no video, white screen. >> >> So yeah, it looks like there's no codec. The widget on desktop doesn't play it either. If I ask the client to re-do the videos, what codec should I ask for? I was told that we had to use their existing videos, so I'm not even sure they will re-do them. >> >>> On 4/9/20 1:01 PM, Tom Glod via use-livecode wrote: >>> I'm sorry to be the bearer of bad news here. :( >>> if its h264 the browser widget won't play it. If you saw video but no audio >>> then thats one thing.....but no video means the video codec is also absent. >>>> On Thu, Apr 9, 2020 at 1:57 PM J. Landman Gay via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> They're kind of huge (like 400 MB) so I didn't copy them to my phone, but >>>> they play okay on Mac >>>> using Firefox and on Android using Chrome browser. I guess that doesn't >>>> tell us much. >>>> >>>> Swami suggested to me privately that he uses a browser widget to play >>>> videos so I will try that >>>> next. >>>> >>>> On 4/9/20 9:20 AM, Mark Talluto via use-livecode wrote: >>>>> What happens if you play the file locally on each device? >>>>> >>>>> -Mark >>>>> >>>>> On Wed, Apr 8, 2020 at 10:22 PM J. Landman Gay via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>>> Not sure what you mean by "an existing app" but my test app uses >>>>>> mobileControlCreate to set up >>>>>> a mobile player. When it accesses the video from my server, it's all >>>> black >>>>>> with no video or >>>>>> audio, and the nonexistent playback quits a few seconds in. >>>>>> >>>>>> I'm not sure whether these videos were created with streaming in mind. I >>>>>> vaguely remember we >>>>>> used to need to set a "streaming" checkbox when creating a video. Is >>>> that >>>>>> still required? >>>>>> >>>>>>>> -- >>>>>>>> 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 >>>>> >>>> >>>> >>>> -- >>>> 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 >>>> >> >> >> -- >> 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 jacque at hyperactivesw.com Thu Apr 9 18:08:31 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 9 Apr 2020 17:08:31 -0500 Subject: Video format for mobile In-Reply-To: References: <9E730E77-41D8-434F-A6BE-72D54F2C3FC9@livecode.com> Message-ID: The videos are, in fact, 1920x1080. I set the size of both the widget or the mobile scripted browser (whichever I was testing) to the card size but it still didn't play. Wish it worked, it would have been a nice trick. On 4/9/20 3:41 PM, Colin Holgate via use-livecode wrote: > A long time ago it was possible to work around hardware acceleration issues by playing the video at a different size. That is, a 1920x1080 playback would fail and a 1920x1081 would work. It was just a trick to force the player to use software instead of hardware. > > >> On Apr 9, 2020, at 2:36 PM, Mark Waddingham via use-livecode wrote: >> >> This sounds like a bug we are currently fixing (hopefully in time for 9.6-DP-4) - the android player doesn?t currently play nicely with accelerated rendering... Turning that off should mean things play properly. >> >> We use the system player object so MP4 should be fine. >> >> Warmest Regards, >> >> Mark. >> >> Sent from my iPhone >> >>> On 9 Apr 2020, at 20:31, J. Landman Gay via use-livecode wrote: >>> >>> ?I tried the browser widget: no audio, no video, white screen, no browser outline on Android. >>> >>> I tried a mobile browser (mobileControlCreate): audio plays, no video, white screen. >>> >>> So yeah, it looks like there's no codec. The widget on desktop doesn't play it either. If I ask the client to re-do the videos, what codec should I ask for? I was told that we had to use their existing videos, so I'm not even sure they will re-do them. >>> >>>> On 4/9/20 1:01 PM, Tom Glod via use-livecode wrote: >>>> I'm sorry to be the bearer of bad news here. :( >>>> if its h264 the browser widget won't play it. If you saw video but no audio >>>> then thats one thing.....but no video means the video codec is also absent. >>>>> On Thu, Apr 9, 2020 at 1:57 PM J. Landman Gay via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>> They're kind of huge (like 400 MB) so I didn't copy them to my phone, but >>>>> they play okay on Mac >>>>> using Firefox and on Android using Chrome browser. I guess that doesn't >>>>> tell us much. >>>>> >>>>> Swami suggested to me privately that he uses a browser widget to play >>>>> videos so I will try that >>>>> next. >>>>> >>>>> On 4/9/20 9:20 AM, Mark Talluto via use-livecode wrote: >>>>>> What happens if you play the file locally on each device? >>>>>> >>>>>> -Mark >>>>>> >>>>>> On Wed, Apr 8, 2020 at 10:22 PM J. Landman Gay via use-livecode < >>>>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>>> Not sure what you mean by "an existing app" but my test app uses >>>>>>> mobileControlCreate to set up >>>>>>> a mobile player. When it accesses the video from my server, it's all >>>>> black >>>>>>> with no video or >>>>>>> audio, and the nonexistent playback quits a few seconds in. >>>>>>> >>>>>>> I'm not sure whether these videos were created with streaming in mind. I >>>>>>> vaguely remember we >>>>>>> used to need to set a "streaming" checkbox when creating a video. Is >>>>> that >>>>>>> still required? >>>>>>> >>>>>>>>> -- >>>>>>>>> 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 >>>>>> >>>>> >>>>> >>>>> -- >>>>> 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 >>>>> >>> >>> >>> -- >>> 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 > > > _______________________________________________ > 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 Thu Apr 9 18:10:06 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 9 Apr 2020 17:10:06 -0500 Subject: Video format for mobile In-Reply-To: References: <9E730E77-41D8-434F-A6BE-72D54F2C3FC9@livecode.com> Message-ID: <12827bb8-cdaf-bba1-3dd1-c9219ba93516@hyperactivesw.com> On 4/9/20 3:41 PM, Colin Holgate via use-livecode wrote: > A long time ago it was possible to work around hardware acceleration issues by playing the video at a different size. That is, a 1920x1080 playback would fail and a 1920x1081 would work. It was just a trick to force the player to use software instead of hardware. I have a hard deadline in a short time. If necessary we'll have to convert at least a few of the videos to something else if the problem isn't resolved by dp4. What codec is acceptable? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From colinholgate at gmail.com Thu Apr 9 18:34:38 2020 From: colinholgate at gmail.com (Colin Holgate) Date: Thu, 9 Apr 2020 16:34:38 -0600 Subject: Video format for mobile In-Reply-To: <12827bb8-cdaf-bba1-3dd1-c9219ba93516@hyperactivesw.com> References: <9E730E77-41D8-434F-A6BE-72D54F2C3FC9@livecode.com> <12827bb8-cdaf-bba1-3dd1-c9219ba93516@hyperactivesw.com> Message-ID: <8C91582F-31EF-4266-9CAC-24E980A58FE6@gmail.com> Only H.264/AAC is acceptable! Have you tried setting hardware acceleration rendering to be on? Have you tried including a small video file in the app, to help rule out security issues? > On Apr 9, 2020, at 4:10 PM, J. Landman Gay via use-livecode wrote: > > On 4/9/20 3:41 PM, Colin Holgate via use-livecode wrote: >> A long time ago it was possible to work around hardware acceleration issues by playing the video at a different size. That is, a 1920x1080 playback would fail and a 1920x1081 would work. It was just a trick to force the player to use software instead of hardware. > > > I have a hard deadline in a short time. If necessary we'll have to convert at least a few of the videos to something else if the problem isn't resolved by dp4. > > What codec is acceptable? > > -- > 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 Thu Apr 9 18:41:17 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 9 Apr 2020 17:41:17 -0500 Subject: File paths truncated Message-ID: <1dda2727-34f4-d88f-3cd4-75d6e2cef989@hyperactivesw.com> It seems I'm running into obstacles at every turn. A scripted file path to set an image reference will not work unless it is relative. This fails: specialFolderPath("resources") & "/folder/file" It has to be "folder/file". The property inspector truncates it automatically if you use its file picker. Why? Now I have to write a handler to do the truncation? I'm using dp3 because I need the fixes, but there's a whole lot wrong and I'm on a very short deadline. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Apr 9 19:34:49 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 9 Apr 2020 18:34:49 -0500 Subject: File paths truncated In-Reply-To: <1dda2727-34f4-d88f-3cd4-75d6e2cef989@hyperactivesw.com> References: <1dda2727-34f4-d88f-3cd4-75d6e2cef989@hyperactivesw.com> Message-ID: On 4/9/20 5:41 PM, J. Landman Gay via use-livecode wrote: > It seems I'm running into obstacles at every turn. A scripted file path to set an image > reference will not work unless it is relative. > > This fails: > specialFolderPath("resources") & "/folder/file" > > It has to be "folder/file". The property inspector truncates it automatically if you use its > file picker. Why? Now I have to write a handler to do the truncation? Oh, never mind. Stupid typo error. I've been at this way too long today. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From skiplondon at gmail.com Thu Apr 9 22:09:57 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Thu, 9 Apr 2020 22:09:57 -0400 Subject: Livecode and AWS Sql Message-ID: Any trick to connecting to an AWS Sql instance? I am using some of my old scripts that always hooked up properly to a local Sql server. Wondering if I might be a trick for AWS or heck, my method might be old and there is a better way to do it. *put revOpenDatabase("ODBC","DRIVER=SQL Server;SERVER="&myServerAddress&";DATABASE="&myDB&";UID="&tDatabaseUser&";PWD="&tDatabasePassword&"") into gConnID* SKIP From dsc at swcp.com Thu Apr 9 23:03:24 2020 From: dsc at swcp.com (Dar Scott Consulting) Date: Thu, 9 Apr 2020 21:03:24 -0600 Subject: Apps to fight COVID-19 In-Reply-To: <7331236A-5F3D-44F0-8584-B813C6C9868B@gmail.com> References: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> <7331236A-5F3D-44F0-8584-B813C6C9868B@gmail.com> Message-ID: <4D8A15A3-FD9D-4DB1-8AA2-52949B0DEB71@swcp.com> Hi, David! Hi, Mark! Hi, Everybody! There are several teams that need help in a variety of ways. Several teams are in the TCN Coalition . These teams respect privacy and use the TCN Protocol. COVID Watch is there with help from around the world, but with a USA focus. You can see a list with links on that very simple page. Volunteers might want to seek out those whose location, philosophy or neediness seem to be appealing. Other organizations include Private Kit: Safe Paths (GPS) and "Eastcoast" PACT out of MIT. You can probably find more. If you have a direction or need you want to focus on, I can try to help. A group in Europe is forming around DT-3T, triggered by work by Carmela Troncoso of EPFL and folks at ETHZ. (Even though DT-3T is considered to be under the umbrella of PEPPPT, the later group includes teams whose methods that require trusted servers. DT-3T does not.) This project has some nice features. https://github.com/DP-3T Artist/explainer Nicky Case has created a comic in a phone format that explains contact tracing. The details look a little more like DT-3T than what COVID Watch is doing, but one tweaked for COVID Watch is in the works. You can incorporate this into your current apps or make a new education app. The education app might remind people how they downloaded that app and how to download the kind of app described in the comic. You can run with this on your own. https://ncase.me/contact-tracing/ Everybody should look at that comic anyway. It explains a lot in just a few minutes. There is a need for both phone and desktop apps used by healthcare providers to validate "I'm sick" reports. Many organizations need some means of making sure there are few false reports. Maybe some sort of cryptographic signature or something. While groups are focusing on the user app, the hospital apps are seeing less work. And then there are the servers. Maybe Firebase will work but I suspect that there might have to be more, depending on the team. Server? Look at the Nicky Case comic. I have some for a containment game that includes contact tracing. I can give it to somebody and even (in my copious spare time) provide some handwaving. One problem is that auntie does not know how to download apps. Encouraging friends showing friends how to download is a good thing. Rapid adoption will become important. And even education about contact tracing in general. You might be coming up with ideas I didn't even think about. Contact me if you need any help. Dar > On Apr 9, 2020, at 4:46 AM, Mark Smith via use-livecode wrote: > > Happy to contribute as well. > >> On Apr 8, 2020, at 3:17 PM, David Bovill via use-livecode wrote: >> >> I?d be interested in volunteering to make a Livecode app for this. Anyone else? >> On 7 Apr 2020, 00:41 +0100, Dar Scott Consulting via use-livecode , wrote: >>> Hi, everybody! >>> >>> I apologize for the drive-by email. >>> >>> And I miss everybody on the list. Been busy all that. >>> >>> I am a strong believer in contact tracing as an implortant part of COVID-19 containment. >>> >>> There are several teams out there working on voluntary privacy-protecting contact tracing apps to deploy before Big Brother mandates some central DB app usage. Those include COVID Watch, CoEpi, Private Watch Safe Paths, and others. Most have already started and are using swift and kotlin. Only Safe Paths has something out. However, there might be some room in creating some instant apps in LiveCode or in supporting in other ways. Also, some teams are just getting started and need something fast. I think we need some education apps done quickly. >>> >>> Also, 4Catalyzer is making a home test and needs some app development. >>> >>> For myself, I am on on the COVID Watch team. >>> >>> If you want to do something, take a look around at privacy preserving contact tracing projects. And also look specifically I the ones I mentioned. >>> >>> I might be rehashing what has already been discussed. Sorry. Like I said, "Drive by email". >>> >>> And remember what the Beatles said, "You wanna wash your ha-a-ands!" >>> >>> Dar Scott >>> >>> I am using Private Watch: Safe Paths on my iPhone to fight COVID-19.. >>> >>> _______________________________________________ >>> 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 ambassador at fourthworld.com Thu Apr 9 23:58:55 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 9 Apr 2020 20:58:55 -0700 Subject: Go to card has become slow In-Reply-To: References: Message-ID: Earlier I wrote: > Bob Sneidar wrote: > > >> On Apr 8, 2020, at 11:16 PM, Richard Gaskin wrote: > >> > >> Better still, see the last comment on that page. :) > >> > >> It kinda fits Brian's observation about how the stack file is > >> written in a series of small writes, one per object. > > > > Yes, but I have saved stacks with both Defender and Kaspersky > > disabled. In our case I do not think that is the entire issue. > > Probably not exclusively. But to assess the contributory effect, what > are your measurements using Neville's test with and without those AV > packages active? It may not be worth the trouble. When I run Neville's stack saving test here with Windows Defender's RTP on the 8MB stack save takes a little over 8 seconds. And when I turn RTP off it takes a bit over 7 seconds. So while RTP is a clear conributor, it doesn't account for most of the speed loss on stack saves. @Brian Milby: When you were looking up the stack serialization in the code, did you see anything which might explain why this slowdown is only evident on Windows but not Mac or 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 david.bovill at gmail.com Fri Apr 10 04:58:33 2020 From: david.bovill at gmail.com (David Bovill) Date: Fri, 10 Apr 2020 09:58:33 +0100 Subject: Apps to fight COVID-19 In-Reply-To: <4D8A15A3-FD9D-4DB1-8AA2-52949B0DEB71@swcp.com> References: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> <7331236A-5F3D-44F0-8584-B813C6C9868B@gmail.com> <4D8A15A3-FD9D-4DB1-8AA2-52949B0DEB71@swcp.com> Message-ID: <1f020fd7-9162-4e5f-bfba-eb78067a56fd@Spark> Thanks for all the info Dar - that?s a great start. I think creating a hospital / care-worker privacy respecting contact tracing app would be a great Livecode project. This is what I?m thinking: ? Some of gather some material / research - maybe a few Livecode experiments not he topic ? We prepare a video conference call - like the Livecode Zoom one I missed ? We invite a few people ? We follow up the video conference with a week long online sprint - some coding, some writing, some design / cartoons ? We showcase the results at a wrap up event I?m working with a handful of volunteers - mainly on the video / media / Zoom / research / facilitation end of things, but we?re getting pretty good at organising small and larger scale interactive video conferences and editing together the footage for feedback documentation. Mostly Livecode novices but interested to learn.?So we could set up the event - most probably in Zoom - but could be Jitsi. To make it work, I think we?d need a few Livecode tutors, and interest from the community - in the end it should be something that the folks on this list would like to take part in, so when we onboard other people the party is not empty. I?d propose we do this on Earth Day - Wednesday 22nd April - in the evening Europe time, after midday US time. Any thoughts / takers? On 10 Apr 2020, 04:04 +0100, Dar Scott Consulting via use-livecode , wrote: > > Hi, David! Hi, Mark! Hi, Everybody! > > There are several teams that need help in a variety of ways. > > Several teams are in the TCN Coalition . These teams respect privacy and use the TCN Protocol. COVID Watch is there with help from around the world, but with a USA focus. You can see a list with links on that very simple page. Volunteers might want to seek out those whose location, philosophy or neediness seem to be appealing. > > Other organizations include Private Kit: Safe Paths (GPS) and "Eastcoast" PACT out of MIT. You can probably find more. If you have a direction or need you want to focus on, I can try to help. > > A group in Europe is forming around DT-3T, triggered by work by Carmela Troncoso of EPFL and folks at ETHZ. (Even though DT-3T is considered to be under the umbrella of PEPPPT, the later group includes teams whose methods that require trusted servers. DT-3T does not.) This project has some nice features. > https://github.com/DP-3T > > Artist/explainer Nicky Case has created a comic in a phone format that explains contact tracing. The details look a little more like DT-3T than what COVID Watch is doing, but one tweaked for COVID Watch is in the works. You can incorporate this into your current apps or make a new education app. The education app might remind people how they downloaded that app and how to download the kind of app described in the comic. You can run with this on your own. > https://ncase.me/contact-tracing/ > > Everybody should look at that comic anyway. It explains a lot in just a few minutes. > > There is a need for both phone and desktop apps used by healthcare providers to validate "I'm sick" reports. Many organizations need some means of making sure there are few false reports. Maybe some sort of cryptographic signature or something. While groups are focusing on the user app, the hospital apps are seeing less work. > > And then there are the servers. Maybe Firebase will work but I suspect that there might have to be more, depending on the team. Server? Look at the Nicky Case comic. > > I have some for a containment game that includes contact tracing. I can give it to somebody and even (in my copious spare time) provide some handwaving. > > One problem is that auntie does not know how to download apps. Encouraging friends showing friends how to download is a good thing. Rapid adoption will become important. And even education about contact tracing in general. > > You might be coming up with ideas I didn't even think about. > > Contact me if you need any help. > > Dar > > > > > > > On Apr 9, 2020, at 4:46 AM, Mark Smith via use-livecode wrote: > > > > Happy to contribute as well. > > > > > On Apr 8, 2020, at 3:17 PM, David Bovill via use-livecode wrote: > > > > > > I?d be interested in volunteering to make a Livecode app for this. Anyone else? > > > On 7 Apr 2020, 00:41 +0100, Dar Scott Consulting via use-livecode , wrote: > > > > Hi, everybody! > > > > > > > > I apologize for the drive-by email. > > > > > > > > And I miss everybody on the list. Been busy all that. > > > > > > > > I am a strong believer in contact tracing as an implortant part of COVID-19 containment. > > > > > > > > There are several teams out there working on voluntary privacy-protecting contact tracing apps to deploy before Big Brother mandates some central DB app usage. Those include COVID Watch, CoEpi, Private Watch Safe Paths, and others. Most have already started and are using swift and kotlin. Only Safe Paths has something out. However, there might be some room in creating some instant apps in LiveCode or in supporting in other ways. Also, some teams are just getting started and need something fast. I think we need some education apps done quickly. > > > > > > > > Also, 4Catalyzer is making a home test and needs some app development. > > > > > > > > For myself, I am on on the COVID Watch team. > > > > > > > > If you want to do something, take a look around at privacy preserving contact tracing projects. And also look specifically I the ones I mentioned. > > > > > > > > I might be rehashing what has already been discussed. Sorry. Like I said, "Drive by email". > > > > > > > > And remember what the Beatles said, "You wanna wash your ha-a-ands!" > > > > > > > > Dar Scott > > > > > > > > I am using Private Watch: Safe Paths on my iPhone to fight COVID-19.. > > > > > > > > _______________________________________________ > > > > 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 > > > > _______________________________________________ > 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 livfoss at mac.com Fri Apr 10 06:29:25 2020 From: livfoss at mac.com (Graham Samuel) Date: Fri, 10 Apr 2020 12:29:25 +0200 Subject: Mobile screen sizes - another naive question In-Reply-To: References: <81522F65-606C-490F-9B55-25DB75D8B606@mac.com> Message-ID: <71A14CD0-60A4-4319-87BA-8706E3CC4F0D@mac.com> Thanks Richard, for that typically useful reply! I have indeed written many a resize handler, but getting back into this stuff I was struck by how messy it can get. Right now I don?t even know if say a field with 12 point type in it has to be changed to a smaller or larger rectangle with smaller or larger type in it, but obviously as soon as I can start doing simulations (I have a totally different problem there!) I can experiment. I do like the idea of sending resizeControl to groups - I have used similar techniques for other purposes in the past. Powerful and encapsulated. As to graphics, I can presumably start with the highest possible resolution and resize at startup according to the actual screen size, or do what I said before, have a little library of different versions tweaked for different screen sizes. Or possibly use SVG, but I have not yet made that work - I know almost nothing about SVG, although I have seen some sexy examples that look almost like photos etc. Wouldn?t work for say a Google Maps image though - again I need to see what happens if the grid of pixels available to display a map varies by a factor of say three. Well, I am trying to learn, and I am grateful for all that you?ve said. Graham > On 9 Apr 2020, at 18:47, Richard Gaskin via use-livecode wrote: > > Graham Samuel wrote: > > > Folks, yet again I don?t know where to look for an answer in the LC > > documentation. > > > > The issue is the enormous variety of screen sizes on smart phones. For > > example the iPhone XS Max has 1242 pixels width, the iPhone 5 has 640. > > And there are many many more before we even get to tablets? > > > > The question is, how do most of you tackle this, and does LC help? > > Obviously an object taking up a fixed number of pixels on one phone > > will look absurdly large or small on another one, or of course may not > > fit on the screen at all. Not all objects can be vector drawings, and > > the ones that are still have to be resized according to device > > > > Is there anything better than the obvious trick of resizing everything > > in sight when the app is being initialised, including substituting the > > more sensitive graphics from a library of appropriate sizes? Seems > > tedious. > > Is it all that tedious? > > Computers have had resizable windows since Mac 1.0, and even HyperCard stacks could be resize after its first version. > > True, in the very olden days we all enjoyed the simplicity of knowing we never had to accommodate any screen size other than 512x342. Ah, those were the days! :) > > But 640x480 came along not long after, and it caused much concern among developers. Suddenly we had to become aware of screen metrics, and rearrange our layouts to make good use of the available space. > > Then 1024x768 came along, and then we had THREE(!) screen sizes to contend with. Oh the humanity! :) > > Then by the early 90s we got over it. Anticipating multiple screen sizes became the norm, new tools like SuperCard, OMO, and MetaCard came along offering true resizable windows, and we learned to respond to notification that the window had resized so we can adjust our interior contents nicely. > > Flash forward to 2010: iPhone comes out, with the presumption that one size will satisfy all tastes. That didn't last long. History doesn't always repeat itself, but it often rhymes. :) > > ---- > > As with desktop software, I find it instructive to observe how the best apps on mobile behave, and then - because those establish user expectations - do what they do. > > And what we see is not all that different from how designers handle resizable windows on the desktop: some objects stay where they are, those that make sense to enlarge enlarge, those that make sense to remain adjacent to something next to them remain adjacent to something next to them, etc. > > If you've written resizeStack handlers at any point in the last 28 years since MC premiered, you've already learned most of what you need to know to handle a resizeStack message on a mobile device. > > The specifics of how this plays out in your layout will of course depend entirely on your layout. But I have found a few things that have greatly simplified my UI work, chiefly: > > - Use Groups Smartly > > Relatively recently (a few years ago) the engine now sends a resizeControl message to groups whenever they're resized by any means, either user interaction with the pointer tool (as had always been the case) or via script (the new addition). > > This allows us to work with our UIs very cleanly, recognizing that an app is ultimately a set of rows, and that some rows are divided into blocks. When we group controls by their location/purpose logically, we get to take advantage of a wonderfully simplifying cascading effect with regard to resizing, which allows us to keep control adjustments local to their containing group. > > Imagine a simple message form, where the rows are: > > - Icons for navigating to different screens > > - Message, which includes three rows: > - Subject field > - Body field > - Send button > > With that, our card script need only bother itself with the general placement of the two main goups: > > on resizeStack x,y > set the rect of grp "Nav" to 0,0,x,40 > set the rect of grp "Message" to 0,40,x,y > end resizeStack > > And because the groups will get a resizeControl message when that card script adjust them, each can contain its own handler to take care of its interior contents. This might be the script for the Message group: > > on resizeControl > set the rect of fld "Subject" to the left of me, the top of me, \ > the right of me, the top of me + 40 > set the rect of fld "Body" to the left of me, 40, the right of me, \ > the bottom of me - 60 > set the bottomRight of btn "Send" to x-20, y-10 > end resizeControl > > > Encapsulating resizing within the group not only keeps the logic simple and tidy, but by using the group bounds as its basis rather than the card (e.g., "the left of me") the group is maintainable and even portable - the card script that sets its rect can change at any time, and the group's resizeControl handler will continue to work well. > > > There are probably other tips and tricks worth considering, but none have radically streamlined the process of delivering the UI I want my user to enjoy as much as using groups as containers for logically/geometrically related controls. > > As you explore these and other ideas in the crafting of your UI, drop back in here with questions. There are always many ways to skin cats in LC, and the diversity of experience on this list can help solve anything. > > -- > 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 livfoss at mac.com Fri Apr 10 06:30:59 2020 From: livfoss at mac.com (Graham Samuel) Date: Fri, 10 Apr 2020 12:30:59 +0200 Subject: Mobile screen sizes - another naive question In-Reply-To: <3f49d25b-cd15-b068-6220-65ebd69a4372@hyperactivesw.com> References: <81522F65-606C-490F-9B55-25DB75D8B606@mac.com> <3f49d25b-cd15-b068-6220-65ebd69a4372@hyperactivesw.com> Message-ID: <89D0F959-E00B-4728-A818-495E245436A0@mac.com> Thanks Jacque - sounds very practical. fullScreenMode, here I come! Cheers Graham > On 9 Apr 2020, at 20:09, J. Landman Gay via use-livecode wrote: > > On 4/9/20 11:47 AM, Richard Gaskin via use-livecode wrote: >> Graham Samuel wrote: >> > Folks, yet again I don?t know where to look for an answer in the LC >> > documentation. >> > >> > The issue is the enormous variety of screen sizes on smart phones. For >> > example the iPhone XS Max has 1242 pixels width, the iPhone 5 has 640. >> > And there are many many more before we even get to tablets? >> > >> > The question is, how do most of you tackle this, and does LC help? >> > Obviously an object taking up a fixed number of pixels on one phone >> > will look absurdly large or small on another one, or of course may not >> > fit on the screen at all. Not all objects can be vector drawings, and >> > the ones that are still have to be resized according to device >> > >> > Is there anything better than the obvious trick of resizing everything >> > in sight when the app is being initialised, including substituting the >> > more sensitive graphics from a library of appropriate sizes? Seems >> > tedious. >> Is it all that tedious? > > Yes, unless you have a simple stack with only a few controls. If you have hundreds of objects, dealing with each of them individually, even if it's only one line that calls a handler, is a tedious time sink. > > Graham, experiment with fullscreenMode, which automates most of the process. It isn't perfect and you'll need to make a few adjustments for different screen sizes, but it's much easier than trying to adjust for every possible screen ratio. LC implemented this specifically to take away the pain as much as possible. > > -- > 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 skiplondon at gmail.com Fri Apr 10 07:36:47 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Fri, 10 Apr 2020 07:36:47 -0400 Subject: Livecode and AWS Sql In-Reply-To: References: Message-ID: I forgot to mention that I am on a Mac... also very new to me. This might also have something to do with how the SQL connection script is written. SKIP On Thu, Apr 9, 2020 at 10:09 PM Skip Kimpel wrote: > Any trick to connecting to an AWS Sql instance? I am using some of my old > scripts that always hooked up properly to a local Sql server. Wondering if > I might be a trick for AWS or heck, my method might be old and there is a > better way to do it. > > *put revOpenDatabase("ODBC","DRIVER=SQL > Server;SERVER="&myServerAddress&";DATABASE="&myDB&";UID="&tDatabaseUser&";PWD="&tDatabasePassword&"") > into gConnID* > > > SKIP > From rdimola at evergreeninfo.net Fri Apr 10 08:47:34 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 10 Apr 2020 08:47:34 -0400 Subject: Livecode and AWS Sql In-Reply-To: References: Message-ID: <000801d60f36$37c7cd20$a7576760$@net> Firewall port? Ralph DiMola IT Director Evergreen Information Services -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Skip Kimpel via use-livecode Sent: Thursday, April 09, 2020 10:10 PM To: How to use LiveCode Cc: Skip Kimpel Subject: Livecode and AWS Sql Any trick to connecting to an AWS Sql instance? I am using some of my old scripts that always hooked up properly to a local Sql server. Wondering if I might be a trick for AWS or heck, my method might be old and there is a better way to do it. *put revOpenDatabase("ODBC","DRIVER=SQL Server;SERVER="&myServerAddress&";DATABASE="&myDB&";UID="&tDatabaseUser&";PW D="&tDatabasePassword&"") into gConnID* SKIP _______________________________________________ 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 Fri Apr 10 09:18:02 2020 From: brian at milby7.com (Brian Milby) Date: Fri, 10 Apr 2020 09:18:02 -0400 Subject: Mobile screen sizes - another naive question In-Reply-To: <89D0F959-E00B-4728-A818-495E245436A0@mac.com> References: <81522F65-606C-490F-9B55-25DB75D8B606@mac.com> <3f49d25b-cd15-b068-6220-65ebd69a4372@hyperactivesw.com> <89D0F959-E00B-4728-A818-495E245436A0@mac.com> Message-ID: Take a look at my mobileDemo repo: https://github.com/bwmilby/mobileDemo It lets you play around with showing how a stack developed at different sizes looks when presented on a device using the different FullScreenModes. I have not updated it for the new iPhoneX aspect ratios, but probably should do that (it has an option for "device max" resolution, so it should work fine on the new devices). I can't see anyone developing for that ratio though, it would look terrible on other devices (margins on left/right). There is also some code in there where I resize a graphic to the actual screen size when using a fullScreenMode that could be used to size a background image or to place something outside of the stack bounds but still be visible (I don't think any of the area outside of the stack rect will receive events, but I have not specifically tested that). I also built a stack last year to show how much space is not used when using different modes. I'll see if I can locate that and make it available. Thanks, Brian On Fri, Apr 10, 2020 at 6:32 AM Graham Samuel via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks Jacque - sounds very practical. fullScreenMode, here I come! > > Cheers > > Graham > > > On 9 Apr 2020, at 20:09, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > On 4/9/20 11:47 AM, Richard Gaskin via use-livecode wrote: > >> Graham Samuel wrote: > >> > Folks, yet again I don?t know where to look for an answer in the LC > >> > documentation. > >> > > >> > The issue is the enormous variety of screen sizes on smart phones. For > >> > example the iPhone XS Max has 1242 pixels width, the iPhone 5 has 640. > >> > And there are many many more before we even get to tablets? > >> > > >> > The question is, how do most of you tackle this, and does LC help? > >> > Obviously an object taking up a fixed number of pixels on one phone > >> > will look absurdly large or small on another one, or of course may not > >> > fit on the screen at all. Not all objects can be vector drawings, and > >> > the ones that are still have to be resized according to device > >> > > >> > Is there anything better than the obvious trick of resizing everything > >> > in sight when the app is being initialised, including substituting the > >> > more sensitive graphics from a library of appropriate sizes? Seems > >> > tedious. > >> Is it all that tedious? > > > > Yes, unless you have a simple stack with only a few controls. If you > have hundreds of objects, dealing with each of them individually, even if > it's only one line that calls a handler, is a tedious time sink. > > > > Graham, experiment with fullscreenMode, which automates most of the > process. It isn't perfect and you'll need to make a few adjustments for > different screen sizes, but it's much easier than trying to adjust for > every possible screen ratio. LC implemented this specifically to take away > the pain as much as possible. > > > > -- > > 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 skiplondon at gmail.com Fri Apr 10 09:44:03 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Fri, 10 Apr 2020 09:44:03 -0400 Subject: Livecode and AWS Sql In-Reply-To: <000801d60f36$37c7cd20$a7576760$@net> References: <000801d60f36$37c7cd20$a7576760$@net> Message-ID: Nope... am able to connect via other programs..... SKIP On Fri, Apr 10, 2020 at 8:44 AM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Firewall port? > > Ralph DiMola > IT Director > Evergreen Information Services > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Skip Kimpel via use-livecode > Sent: Thursday, April 09, 2020 10:10 PM > To: How to use LiveCode > Cc: Skip Kimpel > Subject: Livecode and AWS Sql > > Any trick to connecting to an AWS Sql instance? I am using some of my old > scripts that always hooked up properly to a local Sql server. Wondering if > I might be a trick for AWS or heck, my method might be old and there is a > better way to do it. > > *put revOpenDatabase("ODBC","DRIVER=SQL > > Server;SERVER="&myServerAddress&";DATABASE="&myDB&";UID="&tDatabaseUser&";PW > D="&tDatabasePassword&"") > into gConnID* > > > SKIP > _______________________________________________ > 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 livfoss at mac.com Fri Apr 10 09:47:49 2020 From: livfoss at mac.com (Graham Samuel) Date: Fri, 10 Apr 2020 15:47:49 +0200 Subject: Old Fossil seeks fast track assistance In-Reply-To: <4D54BD8A-A891-4093-B440-DEBD18AE4AE8@byu.edu> References: <1B5FE27E-88F3-4AEE-A696-DF8C658DB3A1@mac.com> <84635384-6F4A-4E06-8085-08200668D802@mac.com> <4D54BD8A-A891-4093-B440-DEBD18AE4AE8@byu.edu> Message-ID: <8F138DD3-A35B-452A-AEF2-267558D57FDA@mac.com> Thanks for the quick reply. I have the green square! I remember when it turned from red to green. But sadly my standalone settings window remains stubbornly inactive - not frozen: something happens when I click on General, Stacks, Copy files etc, but the next five icons to the right which let you decide what platform(s) you want to build for simply don?t react to mouse clicks. The last two (HTML5 and Bugs) do react. It?s as if I was not allowed to choose the platform. Is it something to do with my licence? I suppose I could ask the mother ship, though it?s Lockdown and Easter which might cause a bit of delay! Thanks again Graham > On 9 Apr 2020, at 20:53, Devin Asay via use-livecode wrote: > > Graham, > > Not really visualizing what you?re seeing. When you choose Xcode from your LiveCode mobile support preference pane, all you should have to do is navigate to Xcode using the Add Entry button, choose Xcode, and the square next to the iOS section should turn green. If you see the green square you should be good to go to do Test deploys to the iOS Simulator. > > It?s all about the Green Square! > > Devin > >> On Apr 9, 2020, at 9:23 AM, Graham Samuel via use-livecode wrote: >> >> Devin. I was too optimistic in thinking things would now go smoothly! I would very much appreciated your advice on the following: >> >> Following your advice to your students, I have downloaded and installed the latest XCode I can use on my Mac, which is 10.1. I have set the mobile preferences of my LiveCode 9.5.1 Indy to point to the developer section in the XCode app as you instruct (to be certain, I deleted the default and input the info afresh). I can open a simulator for any of my target iPhones - but when I try to set the Standalone settings for my current project, I am unable to select iOS as an option, and indeed I don?t see a detailed set of parameters but just a simpler window. (I think it?s called the General Settings) In fact I find that I can?t add or subtract any platform, although I notice that Mac, Windows and Linux all have a green checkmark, which I don?t want! There is supposed to be a Mode Selector accessed by the top left button on this screen, but I am not seeing it. >> >> I suppose there must be something wrong with my project, which is at an early stage, but features an iPhone shaped card with some buttons on it, at least! >> >> I suppose the answer is very very simple, but I have not been able to find it. I just can?t see what I?m doing wrong, and if there?s anything in the LC documentation about this, it is not obvious, nor do the LC preferences settings help. >> >> Sorry for the interruption - I hope you (or someone else on the list) can help as I am now completely stuck as far as proper testing goes. >> >> Graham >> >> >>> On 6 Apr 2020, at 16:55, Devin Asay via use-livecode > wrote: >>> >>> Graham, >>> >>> I?ve just been through this gauntlet with my students. I provided some links and lessons for them at http://livecode.byu.edu/mobile/test-deploy-links.php . I found the process for setting up Android a little fraught with pitfalls, so I created an expanded instruction sheet for Android setup, linked to that page. >>> >>> I?m staying with the latest Stable version of LiveCode for my class, 9.5.1. I?m running on Mac OS 10.14 Mojave. With this setup I have to use Xcode 10.1. >>> >>> As a refresher, on developer.apple.com >, you need to create your iOS developer certificate, register all of the UDIDs for your iOS devices, then create a wildcard provisioning profile for testing your apps. The provisioning profile must include all devices you want to test on. >>> >>> A collection of links of instructions for distributing mobile apps: http://livecode.byu.edu/mobile/mobileAppDistribution.php . >>> >>> I hope this will all help jog your memory. I find mine needs to be jogged every time I come back to this mobile stuff after a long time away. >>> >>> Cheers, >>> >>> Devin >> >> _______________________________________________ >> 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 Fri Apr 10 09:48:00 2020 From: brian at milby7.com (Brian Milby) Date: Fri, 10 Apr 2020 09:48:00 -0400 Subject: Go to card has become slow In-Reply-To: References: Message-ID: That's a good question. It has been over a year since I looked at that code, but I can't think of anything in the serialization piece that would be an issue. That code is all common (writing to a file buffer). I did not look at the actual platform file code though - could be something there. In this example, there is a good bit of text that is being serialized. It may be a good test to generate a file the same size but with binary data (images) to see if it has anything to do with text serialization. On Fri, Apr 10, 2020 at 12:00 AM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Earlier I wrote: > > Bob Sneidar wrote: > > > > >> On Apr 8, 2020, at 11:16 PM, Richard Gaskin wrote: > > >> > > >> Better still, see the last comment on that page. :) > > >> > > >> It kinda fits Brian's observation about how the stack file is > > >> written in a series of small writes, one per object. > > > > > > Yes, but I have saved stacks with both Defender and Kaspersky > > > disabled. In our case I do not think that is the entire issue. > > > > Probably not exclusively. But to assess the contributory effect, what > > are your measurements using Neville's test with and without those AV > > packages active? > > It may not be worth the trouble. > > When I run Neville's stack saving test here with Windows Defender's RTP > on the 8MB stack save takes a little over 8 seconds. > > And when I turn RTP off it takes a bit over 7 seconds. > > So while RTP is a clear conributor, it doesn't account for most of the > speed loss on stack saves. > > > @Brian Milby: When you were looking up the stack serialization in the > code, did you see anything which might explain why this slowdown is only > evident on Windows but not Mac or 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 skiplondon at gmail.com Fri Apr 10 10:19:16 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Fri, 10 Apr 2020 10:19:16 -0400 Subject: Livecode and AWS Sql In-Reply-To: References: <000801d60f36$37c7cd20$a7576760$@net> Message-ID: I am so used to running in the Windows world that I don't think I have a SQL ODBC driver installed on my MAC. I googled it a little bit and did not find too much help. Anybody have suggestions on this piece? SKIP On Fri, Apr 10, 2020 at 9:44 AM Skip Kimpel wrote: > Nope... am able to connect via other programs..... > > SKIP > > On Fri, Apr 10, 2020 at 8:44 AM Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Firewall port? >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf >> Of Skip Kimpel via use-livecode >> Sent: Thursday, April 09, 2020 10:10 PM >> To: How to use LiveCode >> Cc: Skip Kimpel >> Subject: Livecode and AWS Sql >> >> Any trick to connecting to an AWS Sql instance? I am using some of my old >> scripts that always hooked up properly to a local Sql server. Wondering >> if >> I might be a trick for AWS or heck, my method might be old and there is a >> better way to do it. >> >> *put revOpenDatabase("ODBC","DRIVER=SQL >> >> Server;SERVER="&myServerAddress&";DATABASE="&myDB&";UID="&tDatabaseUser&";PW >> D="&tDatabasePassword&"") >> into gConnID* >> >> >> SKIP >> _______________________________________________ >> 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 Fri Apr 10 10:31:36 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 10 Apr 2020 10:31:36 -0400 Subject: Livecode and AWS Sql In-Reply-To: References: <000801d60f36$37c7cd20$a7576760$@net> Message-ID: <002401d60f44$c04fb410$40ef1c30$@net> https://www.microsoft.com/en-us/download/details.aspx?id=56567 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net Phone: 518-636-3998 Ex:11 Cell: 518-796-9332 From: Skip Kimpel [mailto:skiplondon at gmail.com] Sent: Friday, April 10, 2020 10:19 AM To: How to use LiveCode Cc: Ralph DiMola Subject: Re: Livecode and AWS Sql I am so used to running in the Windows world that I don't think I have a SQL ODBC driver installed on my MAC. I googled it a little bit and did not find too much help. Anybody have suggestions on this piece? SKIP On Fri, Apr 10, 2020 at 9:44 AM Skip Kimpel wrote: Nope... am able to connect via other programs..... SKIP On Fri, Apr 10, 2020 at 8:44 AM Ralph DiMola via use-livecode wrote: Firewall port? Ralph DiMola IT Director Evergreen Information Services -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Skip Kimpel via use-livecode Sent: Thursday, April 09, 2020 10:10 PM To: How to use LiveCode Cc: Skip Kimpel Subject: Livecode and AWS Sql Any trick to connecting to an AWS Sql instance? I am using some of my old scripts that always hooked up properly to a local Sql server. Wondering if I might be a trick for AWS or heck, my method might be old and there is a better way to do it. *put revOpenDatabase("ODBC","DRIVER=SQL Server;SERVER="&myServerAddress&";DATABASE="&myDB&";UID="&tDatabaseUser&";PW D="&tDatabasePassword&"") into gConnID* SKIP _______________________________________________ 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 skiplondon at gmail.com Fri Apr 10 10:35:27 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Fri, 10 Apr 2020 10:35:27 -0400 Subject: Livecode and AWS Sql In-Reply-To: <002401d60f44$c04fb410$40ef1c30$@net> References: <000801d60f36$37c7cd20$a7576760$@net> <002401d60f44$c04fb410$40ef1c30$@net> Message-ID: Unfortunately, I don't think it is that straight forward. I went down this path already. The files that you can download are Windows MSI installation files. You can run it manually by using the following commands: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release brew update HOMEBREW_NO_ENV_FILTERING=1 ACCEPT_EULA=Y brew install msodbcsql17 mssql-tools However, when I run the last command, I get: Error: Your Xcode (10.1) is too outdated. Please update to Xcode 11.4 (or delete it). Xcode can be updated from the App Store. Do I really need Xcode in order to install SQL? I also thought I read that I needed to Xcode 10.1 in order to be compatible with the latest version of LC. Maybe I am wrong here. SKIP On Fri, Apr 10, 2020 at 10:28 AM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > https://www.microsoft.com/en-us/download/details.aspx?id=56567 > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > Phone: 518-636-3998 Ex:11 > > Cell: 518-796-9332 > > > > From: Skip Kimpel [mailto:skiplondon at gmail.com] > Sent: Friday, April 10, 2020 10:19 AM > To: How to use LiveCode > Cc: Ralph DiMola > Subject: Re: Livecode and AWS Sql > > > > I am so used to running in the Windows world that I don't think I have a > SQL ODBC driver installed on my MAC. I googled it a little bit and did not > find too much help. Anybody have suggestions on this piece? > > SKIP > > > > On Fri, Apr 10, 2020 at 9:44 AM Skip Kimpel wrote: > > Nope... am able to connect via other programs..... > > > > SKIP > > > > On Fri, Apr 10, 2020 at 8:44 AM Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > > Firewall port? > > Ralph DiMola > IT Director > Evergreen Information Services > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Skip Kimpel via use-livecode > Sent: Thursday, April 09, 2020 10:10 PM > To: How to use LiveCode > Cc: Skip Kimpel > Subject: Livecode and AWS Sql > > Any trick to connecting to an AWS Sql instance? I am using some of my old > scripts that always hooked up properly to a local Sql server. Wondering if > I might be a trick for AWS or heck, my method might be old and there is a > better way to do it. > > *put revOpenDatabase("ODBC","DRIVER=SQL > > Server;SERVER="&myServerAddress&";DATABASE="&myDB&";UID="&tDatabaseUser&";PW > D="&tDatabasePassword&"") > into gConnID* > > > SKIP > _______________________________________________ > 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 rdimola at evergreeninfo.net Fri Apr 10 10:56:11 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 10 Apr 2020 10:56:11 -0400 Subject: Livecode and AWS Sql In-Reply-To: References: <000801d60f36$37c7cd20$a7576760$@net> <002401d60f44$c04fb410$40ef1c30$@net> Message-ID: <002c01d60f48$2f7d4890$8e77d9b0$@net> >From what I can see you will either need to install Xcode 11.4 or use a previous version of the ODBC SW. But I?m starting to get out of my comfort zone now. I do some Mac dev but I?m mainly a Windows developer. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From: Skip Kimpel [mailto:skiplondon at gmail.com] Sent: Friday, April 10, 2020 10:35 AM To: How to use LiveCode Cc: Ralph DiMola Subject: Re: Livecode and AWS Sql Unfortunately, I don't think it is that straight forward. I went down this path already. The files that you can download are Windows MSI installation files. You can run it manually by using the following commands: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release brew update HOMEBREW_NO_ENV_FILTERING=1 ACCEPT_EULA=Y brew install msodbcsql17 mssql-tools However, when I run the last command, I get: Error: Your Xcode (10.1) is too outdated. Please update to Xcode 11.4 (or delete it). Xcode can be updated from the App Store. Do I really need Xcode in order to install SQL? I also thought I read that I needed to Xcode 10.1 in order to be compatible with the latest version of LC. Maybe I am wrong here. SKIP On Fri, Apr 10, 2020 at 10:28 AM Ralph DiMola via use-livecode wrote: https://www.microsoft.com/en-us/download/details.aspx?id=56567 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net Phone: 518-636-3998 Ex:11 Cell: 518-796-9332 From: Skip Kimpel [mailto:skiplondon at gmail.com] Sent: Friday, April 10, 2020 10:19 AM To: How to use LiveCode Cc: Ralph DiMola Subject: Re: Livecode and AWS Sql I am so used to running in the Windows world that I don't think I have a SQL ODBC driver installed on my MAC. I googled it a little bit and did not find too much help. Anybody have suggestions on this piece? SKIP On Fri, Apr 10, 2020 at 9:44 AM Skip Kimpel wrote: Nope... am able to connect via other programs..... SKIP On Fri, Apr 10, 2020 at 8:44 AM Ralph DiMola via use-livecode wrote: Firewall port? Ralph DiMola IT Director Evergreen Information Services -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Skip Kimpel via use-livecode Sent: Thursday, April 09, 2020 10:10 PM To: How to use LiveCode Cc: Skip Kimpel Subject: Livecode and AWS Sql Any trick to connecting to an AWS Sql instance? I am using some of my old scripts that always hooked up properly to a local Sql server. Wondering if I might be a trick for AWS or heck, my method might be old and there is a better way to do it. *put revOpenDatabase("ODBC","DRIVER=SQL Server;SERVER="&myServerAddress&";DATABASE="&myDB&";UID="&tDatabaseUser&";PW D="&tDatabasePassword&"") into gConnID* SKIP _______________________________________________ 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 skiplondon at gmail.com Fri Apr 10 10:56:46 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Fri, 10 Apr 2020 10:56:46 -0400 Subject: Livecode and AWS Sql In-Reply-To: <002c01d60f48$2f7d4890$8e77d9b0$@net> References: <000801d60f36$37c7cd20$a7576760$@net> <002401d60f44$c04fb410$40ef1c30$@net> <002c01d60f48$2f7d4890$8e77d9b0$@net> Message-ID: I do appreciate your help, Ralph. You and I are in the same boat in regards to their comfort level having primarily worked in a Windows environment in the past. SKIP On Fri, Apr 10, 2020 at 10:53 AM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > From what I can see you will either need to install Xcode 11.4 or use a > previous version of the ODBC SW. But I?m starting to get out of my comfort > zone now. I do some Mac dev but I?m mainly a Windows developer. > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > > > From: Skip Kimpel [mailto:skiplondon at gmail.com] > Sent: Friday, April 10, 2020 10:35 AM > To: How to use LiveCode > Cc: Ralph DiMola > Subject: Re: Livecode and AWS Sql > > > > Unfortunately, I don't think it is that straight forward. I went down > this path already. The files that you can download are Windows MSI > installation files. You can run it manually by using the following > commands: > > > > /usr/bin/ruby -e "$(curl -fsSL > https://raw.githubusercontent.com/Homebrew/install/master/install)" > > brew tap microsoft/mssql-release > https://github.com/Microsoft/homebrew-mssql-release > > brew update > > HOMEBREW_NO_ENV_FILTERING=1 ACCEPT_EULA=Y brew install msodbcsql17 > mssql-tools > > > > However, when I run the last command, I get: > > Error: Your Xcode (10.1) is too outdated. > > Please update to Xcode 11.4 (or delete it). > > Xcode can be updated from the App Store. > > > > Do I really need Xcode in order to install SQL? I also thought I read > that I needed to Xcode 10.1 in order to be compatible with the latest > version of LC. Maybe I am wrong here. > > > > > > SKIP > > > > On Fri, Apr 10, 2020 at 10:28 AM Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > > https://www.microsoft.com/en-us/download/details.aspx?id=56567 > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > Phone: 518-636-3998 Ex:11 > > Cell: 518-796-9332 > > > > From: Skip Kimpel [mailto:skiplondon at gmail.com] > Sent: Friday, April 10, 2020 10:19 AM > To: How to use LiveCode > Cc: Ralph DiMola > Subject: Re: Livecode and AWS Sql > > > > I am so used to running in the Windows world that I don't think I have a > SQL ODBC driver installed on my MAC. I googled it a little bit and did not > find too much help. Anybody have suggestions on this piece? > > SKIP > > > > On Fri, Apr 10, 2020 at 9:44 AM Skip Kimpel wrote: > > Nope... am able to connect via other programs..... > > > > SKIP > > > > On Fri, Apr 10, 2020 at 8:44 AM Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > > Firewall port? > > Ralph DiMola > IT Director > Evergreen Information Services > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Skip Kimpel via use-livecode > Sent: Thursday, April 09, 2020 10:10 PM > To: How to use LiveCode > Cc: Skip Kimpel > Subject: Livecode and AWS Sql > > Any trick to connecting to an AWS Sql instance? I am using some of my old > scripts that always hooked up properly to a local Sql server. Wondering if > I might be a trick for AWS or heck, my method might be old and there is a > better way to do it. > > *put revOpenDatabase("ODBC","DRIVER=SQL > > Server;SERVER="&myServerAddress&";DATABASE="&myDB&";UID="&tDatabaseUser&";PW > D="&tDatabasePassword&"") > into gConnID* > > > SKIP > _______________________________________________ > 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 > > _______________________________________________ > 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 dsc at swcp.com Fri Apr 10 11:12:40 2020 From: dsc at swcp.com (dsc at swcp.com) Date: Fri, 10 Apr 2020 09:12:40 -0600 Subject: Apps to fight COVID-19 In-Reply-To: <1f020fd7-9162-4e5f-bfba-eb78067a56fd@Spark> References: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> <7331236A-5F3D-44F0-8584-B813C6C9868B@gmail.com> <4D8A15A3-FD9D-4DB1-8AA2-52949B0DEB71@swcp.com> <1f020fd7-9162-4e5f-bfba-eb78067a56fd@Spark> Message-ID: <54D073BD-51E2-4652-8FFC-1FFA98C25A2A@swcp.com> It is good to see some leadership here. Thanks, David. Jeff Schwaber on COVID Watch leadership team welcomes LiveCode programmers. His initial interest is in making the Bluetooth and TCN libraries available within the LiveCode environment. He suggests joining a couple channels at COVID Watch Slack. Those libraries are moving to the TCN Coalition and so are applicable to a wide range of contact tracing apps. This enables LiveCoders to create test apps, explore ideas and even make "competing" apps. COVID Watch does not have any desktop apps. One approach might be to convert Android Kotlin to Native Kotlin. Another is to move to LiveCode. I'm a Slack noob and I am not sure of the process of onboarding here. I will try to find out. Anybody here know typical Slack etiquette? Dar team COVID Watch > On Apr 10, 2020, at 2:58 AM, David Bovill via use-livecode wrote: > > Thanks for all the info Dar - that?s a great start. > > I think creating a hospital / care-worker privacy respecting contact tracing app would be a great Livecode project. > > This is what I?m thinking: > > ? Some of gather some material / research - maybe a few Livecode experiments not he topic > ? We prepare a video conference call - like the Livecode Zoom one I missed > ? We invite a few people > ? We follow up the video conference with a week long online sprint - some coding, some writing, some design / cartoons > ? We showcase the results at a wrap up event > > I?m working with a handful of volunteers - mainly on the video / media / Zoom / research / facilitation end of things, but we?re getting pretty good at organising small and larger scale interactive video conferences and editing together the footage for feedback documentation. Mostly Livecode novices but interested to learn. So we could set up the event - most probably in Zoom - but could be Jitsi. > > To make it work, I think we?d need a few Livecode tutors, and interest from the community - in the end it should be something that the folks on this list would like to take part in, so when we onboard other people the party is not empty. > > I?d propose we do this on Earth Day - Wednesday 22nd April - in the evening Europe time, after midday US time. > > Any thoughts / takers? > > On 10 Apr 2020, 04:04 +0100, Dar Scott Consulting via use-livecode , wrote: >> >> Hi, David! Hi, Mark! Hi, Everybody! >> >> There are several teams that need help in a variety of ways. >> >> Several teams are in the TCN Coalition . These teams respect privacy and use the TCN Protocol. COVID Watch is there with help from around the world, but with a USA focus. You can see a list with links on that very simple page. Volunteers might want to seek out those whose location, philosophy or neediness seem to be appealing. >> >> Other organizations include Private Kit: Safe Paths (GPS) and "Eastcoast" PACT out of MIT. You can probably find more. If you have a direction or need you want to focus on, I can try to help. >> >> A group in Europe is forming around DT-3T, triggered by work by Carmela Troncoso of EPFL and folks at ETHZ. (Even though DT-3T is considered to be under the umbrella of PEPPPT, the later group includes teams whose methods that require trusted servers. DT-3T does not.) This project has some nice features. >> https://github.com/DP-3T >> >> Artist/explainer Nicky Case has created a comic in a phone format that explains contact tracing. The details look a little more like DT-3T than what COVID Watch is doing, but one tweaked for COVID Watch is in the works. You can incorporate this into your current apps or make a new education app. The education app might remind people how they downloaded that app and how to download the kind of app described in the comic. You can run with this on your own. >> https://ncase.me/contact-tracing/ >> >> Everybody should look at that comic anyway. It explains a lot in just a few minutes. >> >> There is a need for both phone and desktop apps used by healthcare providers to validate "I'm sick" reports. Many organizations need some means of making sure there are few false reports. Maybe some sort of cryptographic signature or something. While groups are focusing on the user app, the hospital apps are seeing less work. >> >> And then there are the servers. Maybe Firebase will work but I suspect that there might have to be more, depending on the team. Server? Look at the Nicky Case comic. >> >> I have some for a containment game that includes contact tracing. I can give it to somebody and even (in my copious spare time) provide some handwaving. >> >> One problem is that auntie does not know how to download apps. Encouraging friends showing friends how to download is a good thing. Rapid adoption will become important. And even education about contact tracing in general. >> >> You might be coming up with ideas I didn't even think about. >> >> Contact me if you need any help. >> >> Dar >> >> >> >> >> >>> On Apr 9, 2020, at 4:46 AM, Mark Smith via use-livecode wrote: >>> >>> Happy to contribute as well. >>> >>>> On Apr 8, 2020, at 3:17 PM, David Bovill via use-livecode wrote: >>>> >>>> I?d be interested in volunteering to make a Livecode app for this. Anyone else? >>>> On 7 Apr 2020, 00:41 +0100, Dar Scott Consulting via use-livecode , wrote: >>>>> Hi, everybody! >>>>> >>>>> I apologize for the drive-by email. >>>>> >>>>> And I miss everybody on the list. Been busy all that. >>>>> >>>>> I am a strong believer in contact tracing as an implortant part of COVID-19 containment. >>>>> >>>>> There are several teams out there working on voluntary privacy-protecting contact tracing apps to deploy before Big Brother mandates some central DB app usage. Those include COVID Watch, CoEpi, Private Watch Safe Paths, and others. Most have already started and are using swift and kotlin. Only Safe Paths has something out. However, there might be some room in creating some instant apps in LiveCode or in supporting in other ways. Also, some teams are just getting started and need something fast. I think we need some education apps done quickly. >>>>> >>>>> Also, 4Catalyzer is making a home test and needs some app development. >>>>> >>>>> For myself, I am on on the COVID Watch team. >>>>> >>>>> If you want to do something, take a look around at privacy preserving contact tracing projects. And also look specifically I the ones I mentioned. >>>>> >>>>> I might be rehashing what has already been discussed. Sorry. Like I said, "Drive by email". >>>>> >>>>> And remember what the Beatles said, "You wanna wash your ha-a-ands!" >>>>> >>>>> Dar Scott >>>>> >>>>> I am using Private Watch: Safe Paths on my iPhone to fight COVID-19.. >>>>> >>>>> _______________________________________________ >>>>> 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 >>> >> >> _______________________________________________ >> 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 Fri Apr 10 11:46:08 2020 From: brian at milby7.com (Brian Milby) Date: Fri, 10 Apr 2020 11:46:08 -0400 Subject: Go to card has become slow In-Reply-To: References: Message-ID: I'm going to be that guy who replies to himself... I just imported a 500kb image to the card, removed the text from the field, created 300 cards. 0.756 seconds normal (171MB). 1.124 from a variable. (image instead of text) 8.311 seconds normal (8.2MB). 0.047 from a variable. (original text) I'll need to clean this up with a better image (something I can share) and try on my Mac for comparison when I get off today, but this points squarely at the serialization of the field object being the difference. Thanks, Brian On Fri, Apr 10, 2020 at 9:48 AM Brian Milby wrote: > That's a good question. It has been over a year since I looked at that > code, but I can't think of anything in the serialization piece that would > be an issue. That code is all common (writing to a file buffer). I did > not look at the actual platform file code though - could be something > there. In this example, there is a good bit of text that is being > serialized. It may be a good test to generate a file the same size but > with binary data (images) to see if it has anything to do with text > serialization. > > On Fri, Apr 10, 2020 at 12:00 AM Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Earlier I wrote: >> > Bob Sneidar wrote: >> > >> > >> On Apr 8, 2020, at 11:16 PM, Richard Gaskin wrote: >> > >> >> > >> Better still, see the last comment on that page. :) >> > >> >> > >> It kinda fits Brian's observation about how the stack file is >> > >> written in a series of small writes, one per object. >> > > >> > > Yes, but I have saved stacks with both Defender and Kaspersky >> > > disabled. In our case I do not think that is the entire issue. >> > >> > Probably not exclusively. But to assess the contributory effect, what >> > are your measurements using Neville's test with and without those AV >> > packages active? >> >> It may not be worth the trouble. >> >> When I run Neville's stack saving test here with Windows Defender's RTP >> on the 8MB stack save takes a little over 8 seconds. >> >> And when I turn RTP off it takes a bit over 7 seconds. >> >> So while RTP is a clear conributor, it doesn't account for most of the >> speed loss on stack saves. >> >> >> @Brian Milby: When you were looking up the stack serialization in the >> code, did you see anything which might explain why this slowdown is only >> evident on Windows but not Mac or 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 jacque at hyperactivesw.com Fri Apr 10 12:18:32 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Apr 2020 11:18:32 -0500 Subject: Old Fossil seeks fast track assistance In-Reply-To: <8F138DD3-A35B-452A-AEF2-267558D57FDA@mac.com> References: <1B5FE27E-88F3-4AEE-A696-DF8C658DB3A1@mac.com> <84635384-6F4A-4E06-8085-08200668D802@mac.com> <4D54BD8A-A891-4093-B440-DEBD18AE4AE8@byu.edu> <8F138DD3-A35B-452A-AEF2-267558D57FDA@mac.com> Message-ID: <17164e2b7c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> The three desktop platforms are on by default. You should be able to turn those off. They are incompatible with mobile so they all need to be off before you can select either of the mobile ones. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 10, 2020 8:49:44 AM Graham Samuel via use-livecode wrote: > Thanks for the quick reply. I have the green square! I remember when it > turned from red to green. But sadly my standalone settings window remains > stubbornly inactive - not frozen: something happens when I click on > General, Stacks, Copy files etc, but the next five icons to the right which > let you decide what platform(s) you want to build for simply don?t react to > mouse clicks. The last two (HTML5 and Bugs) do react. It?s as if I was not > allowed to choose the platform. Is it something to do with my licence? I > suppose I could ask the mother ship, though it?s Lockdown and Easter which > might cause a bit of delay! > > Thanks again > > Graham > > >> On 9 Apr 2020, at 20:53, Devin Asay via use-livecode >> wrote: >> >> Graham, >> >> Not really visualizing what you?re seeing. When you choose Xcode from your >> LiveCode mobile support preference pane, all you should have to do is >> navigate to Xcode using the Add Entry button, choose Xcode, and the square >> next to the iOS section should turn green. If you see the green square you >> should be good to go to do Test deploys to the iOS Simulator. >> >> It?s all about the Green Square! >> >> Devin >> >>> On Apr 9, 2020, at 9:23 AM, Graham Samuel via use-livecode >>> wrote: >>> >>> Devin. I was too optimistic in thinking things would now go smoothly! I >>> would very much appreciated your advice on the following: >>> >>> Following your advice to your students, I have downloaded and installed the >>> latest XCode I can use on my Mac, which is 10.1. I have set the mobile >>> preferences of my LiveCode 9.5.1 Indy to point to the developer section in >>> the XCode app as you instruct (to be certain, I deleted the default and >>> input the info afresh). I can open a simulator for any of my target iPhones >>> - but when I try to set the Standalone settings for my current project, I >>> am unable to select iOS as an option, and indeed I don?t see a detailed set >>> of parameters but just a simpler window. (I think it?s called the General >>> Settings) In fact I find that I can?t add or subtract any platform, >>> although I notice that Mac, Windows and Linux all have a green checkmark, >>> which I don?t want! There is supposed to be a Mode Selector accessed by the >>> top left button on this screen, but I am not seeing it. >>> >>> I suppose there must be something wrong with my project, which is at an >>> early stage, but features an iPhone shaped card with some buttons on it, at >>> least! >>> >>> I suppose the answer is very very simple, but I have not been able to find >>> it. I just can?t see what I?m doing wrong, and if there?s anything in the >>> LC documentation about this, it is not obvious, nor do the LC preferences >>> settings help. >>> >>> Sorry for the interruption - I hope you (or someone else on the list) can >>> help as I am now completely stuck as far as proper testing goes. >>> >>> Graham >>> >>> >>>> On 6 Apr 2020, at 16:55, Devin Asay via use-livecode >>>> > wrote: >>>> >>>> Graham, >>>> >>>> I?ve just been through this gauntlet with my students. I provided some >>>> links and lessons for them at >>>> http://livecode.byu.edu/mobile/test-deploy-links.php >>>> . I found the process >>>> for setting up Android a little fraught with pitfalls, so I created an >>>> expanded instruction sheet for Android setup, linked to that page. >>>> >>>> I?m staying with the latest Stable version of LiveCode for my class, 9.5.1. >>>> I?m running on Mac OS 10.14 Mojave. With this setup I have to use Xcode 10.1. >>>> >>>> As a refresher, on developer.apple.com >>>> >>> >, you need to create your iOS developer >>>> certificate, register all of the UDIDs for your iOS devices, then create a >>>> wildcard provisioning profile for testing your apps. The provisioning >>>> profile must include all devices you want to test on. >>>> >>>> A collection of links of instructions for distributing mobile apps: >>>> http://livecode.byu.edu/mobile/mobileAppDistribution.php >>>> . >>>> >>>> I hope this will all help jog your memory. I find mine needs to be jogged >>>> every time I come back to this mobile stuff after a long time away. >>>> >>>> Cheers, >>>> >>>> Devin >>> >>> _______________________________________________ >>> 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 dsc at swcp.com Fri Apr 10 13:04:19 2020 From: dsc at swcp.com (dsc at swcp.com) Date: Fri, 10 Apr 2020 11:04:19 -0600 Subject: Apps to fight COVID-19 In-Reply-To: <54D073BD-51E2-4652-8FFC-1FFA98C25A2A@swcp.com> References: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> <7331236A-5F3D-44F0-8584-B813C6C9868B@gmail.com> <4D8A15A3-FD9D-4DB1-8AA2-52949B0DEB71@swcp.com> <1f020fd7-9162-4e5f-bfba-eb78067a56fd@Spark> <54D073BD-51E2-4652-8FFC-1FFA98C25A2A@swcp.com> Message-ID: <80B0BC53-7BD8-4E77-AD56-46CFC47C44FE@swcp.com> And it doesn't have to be just contact tracing related. Jonathan Rothberg's team is working on a simple test at home that needs an app. Cov19 at 4Catalyzer.com Anybody want to talk about a containment game? Or take the concept and go in one's own direction? Nicky Case's phone size comic is now available in several languages, so if you include that in _anything_ you do, can localize a little. Dar team COVID Watch > On Apr 10, 2020, at 9:12 AM, dsc--- via use-livecode wrote: > > It is good to see some leadership here. Thanks, David. > > Jeff Schwaber on COVID Watch leadership team welcomes LiveCode programmers. His initial interest is in making the Bluetooth and TCN libraries available within the LiveCode environment. He suggests joining a couple channels at COVID Watch Slack. > > Those libraries are moving to the TCN Coalition and so are applicable to a wide range of contact tracing apps. This enables LiveCoders to create test apps, explore ideas and even make "competing" apps. > > COVID Watch does not have any desktop apps. One approach might be to convert Android Kotlin to Native Kotlin. Another is to move to LiveCode. > > I'm a Slack noob and I am not sure of the process of onboarding here. I will try to find out. Anybody here know typical Slack etiquette? > > Dar > team COVID Watch > > >> On Apr 10, 2020, at 2:58 AM, David Bovill via use-livecode wrote: >> >> Thanks for all the info Dar - that?s a great start. >> >> I think creating a hospital / care-worker privacy respecting contact tracing app would be a great Livecode project. >> >> This is what I?m thinking: >> >> ? Some of gather some material / research - maybe a few Livecode experiments not he topic >> ? We prepare a video conference call - like the Livecode Zoom one I missed >> ? We invite a few people >> ? We follow up the video conference with a week long online sprint - some coding, some writing, some design / cartoons >> ? We showcase the results at a wrap up event >> >> I?m working with a handful of volunteers - mainly on the video / media / Zoom / research / facilitation end of things, but we?re getting pretty good at organising small and larger scale interactive video conferences and editing together the footage for feedback documentation. Mostly Livecode novices but interested to learn. So we could set up the event - most probably in Zoom - but could be Jitsi. >> >> To make it work, I think we?d need a few Livecode tutors, and interest from the community - in the end it should be something that the folks on this list would like to take part in, so when we onboard other people the party is not empty. >> >> I?d propose we do this on Earth Day - Wednesday 22nd April - in the evening Europe time, after midday US time. >> >> Any thoughts / takers? >> >> On 10 Apr 2020, 04:04 +0100, Dar Scott Consulting via use-livecode , wrote: >>> >>> Hi, David! Hi, Mark! Hi, Everybody! >>> >>> There are several teams that need help in a variety of ways. >>> >>> Several teams are in the TCN Coalition . These teams respect privacy and use the TCN Protocol. COVID Watch is there with help from around the world, but with a USA focus. You can see a list with links on that very simple page. Volunteers might want to seek out those whose location, philosophy or neediness seem to be appealing. >>> >>> Other organizations include Private Kit: Safe Paths (GPS) and "Eastcoast" PACT out of MIT. You can probably find more. If you have a direction or need you want to focus on, I can try to help. >>> >>> A group in Europe is forming around DT-3T, triggered by work by Carmela Troncoso of EPFL and folks at ETHZ. (Even though DT-3T is considered to be under the umbrella of PEPPPT, the later group includes teams whose methods that require trusted servers. DT-3T does not.) This project has some nice features. >>> https://github.com/DP-3T >>> >>> Artist/explainer Nicky Case has created a comic in a phone format that explains contact tracing. The details look a little more like DT-3T than what COVID Watch is doing, but one tweaked for COVID Watch is in the works. You can incorporate this into your current apps or make a new education app. The education app might remind people how they downloaded that app and how to download the kind of app described in the comic. You can run with this on your own. >>> https://ncase.me/contact-tracing/ >>> >>> Everybody should look at that comic anyway. It explains a lot in just a few minutes. >>> >>> There is a need for both phone and desktop apps used by healthcare providers to validate "I'm sick" reports. Many organizations need some means of making sure there are few false reports. Maybe some sort of cryptographic signature or something. While groups are focusing on the user app, the hospital apps are seeing less work. >>> >>> And then there are the servers. Maybe Firebase will work but I suspect that there might have to be more, depending on the team. Server? Look at the Nicky Case comic. >>> >>> I have some for a containment game that includes contact tracing. I can give it to somebody and even (in my copious spare time) provide some handwaving. >>> >>> One problem is that auntie does not know how to download apps. Encouraging friends showing friends how to download is a good thing. Rapid adoption will become important. And even education about contact tracing in general. >>> >>> You might be coming up with ideas I didn't even think about. >>> >>> Contact me if you need any help. >>> >>> Dar >>> >>> >>> >>> >>> >>>> On Apr 9, 2020, at 4:46 AM, Mark Smith via use-livecode wrote: >>>> >>>> Happy to contribute as well. >>>> >>>>> On Apr 8, 2020, at 3:17 PM, David Bovill via use-livecode wrote: >>>>> >>>>> I?d be interested in volunteering to make a Livecode app for this. Anyone else? >>>>> On 7 Apr 2020, 00:41 +0100, Dar Scott Consulting via use-livecode , wrote: >>>>>> Hi, everybody! >>>>>> >>>>>> I apologize for the drive-by email. >>>>>> >>>>>> And I miss everybody on the list. Been busy all that. >>>>>> >>>>>> I am a strong believer in contact tracing as an implortant part of COVID-19 containment. >>>>>> >>>>>> There are several teams out there working on voluntary privacy-protecting contact tracing apps to deploy before Big Brother mandates some central DB app usage. Those include COVID Watch, CoEpi, Private Watch Safe Paths, and others. Most have already started and are using swift and kotlin. Only Safe Paths has something out. However, there might be some room in creating some instant apps in LiveCode or in supporting in other ways. Also, some teams are just getting started and need something fast. I think we need some education apps done quickly. >>>>>> >>>>>> Also, 4Catalyzer is making a home test and needs some app development. >>>>>> >>>>>> For myself, I am on on the COVID Watch team. >>>>>> >>>>>> If you want to do something, take a look around at privacy preserving contact tracing projects. And also look specifically I the ones I mentioned. >>>>>> >>>>>> I might be rehashing what has already been discussed. Sorry. Like I said, "Drive by email". >>>>>> >>>>>> And remember what the Beatles said, "You wanna wash your ha-a-ands!" >>>>>> >>>>>> Dar Scott >>>>>> >>>>>> I am using Private Watch: Safe Paths on my iPhone to fight COVID-19.. >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>>> >>> >>> _______________________________________________ >>> 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 skiplondon at gmail.com Fri Apr 10 13:08:13 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Fri, 10 Apr 2020 13:08:13 -0400 Subject: Livecode and AWS Sql In-Reply-To: References: <000801d60f36$37c7cd20$a7576760$@net> <002401d60f44$c04fb410$40ef1c30$@net> <002c01d60f48$2f7d4890$8e77d9b0$@net> Message-ID: Just a as follow up, I installed that Xcode 11.4, ran the previous script and it looks like it installed properly. HOWEVER, I still cannot connect to my SQL database. Also, by doing that, my Mac mobile development environment disappeared. I have since uninstalled 11.4 and went back to 10.1. Beyond frustrating... I must be getting old ; SKIP On Fri, Apr 10, 2020 at 10:56 AM Skip Kimpel wrote: > I do appreciate your help, Ralph. You and I are in the same boat in > regards to their comfort level having primarily worked in a Windows > environment in the past. > > SKIP > > On Fri, Apr 10, 2020 at 10:53 AM Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> From what I can see you will either need to install Xcode 11.4 or use a >> previous version of the ODBC SW. But I?m starting to get out of my comfort >> zone now. I do some Mac dev but I?m mainly a Windows developer. >> >> >> >> Ralph DiMola >> >> IT Director >> >> Evergreen Information Services >> >> rdimola at evergreeninfo.net >> >> >> >> From: Skip Kimpel [mailto:skiplondon at gmail.com] >> Sent: Friday, April 10, 2020 10:35 AM >> To: How to use LiveCode >> Cc: Ralph DiMola >> Subject: Re: Livecode and AWS Sql >> >> >> >> Unfortunately, I don't think it is that straight forward. I went down >> this path already. The files that you can download are Windows MSI >> installation files. You can run it manually by using the following >> commands: >> >> >> >> /usr/bin/ruby -e "$(curl -fsSL >> https://raw.githubusercontent.com/Homebrew/install/master/install)" >> >> brew tap microsoft/mssql-release >> https://github.com/Microsoft/homebrew-mssql-release >> >> brew update >> >> HOMEBREW_NO_ENV_FILTERING=1 ACCEPT_EULA=Y brew install msodbcsql17 >> mssql-tools >> >> >> >> However, when I run the last command, I get: >> >> Error: Your Xcode (10.1) is too outdated. >> >> Please update to Xcode 11.4 (or delete it). >> >> Xcode can be updated from the App Store. >> >> >> >> Do I really need Xcode in order to install SQL? I also thought I read >> that I needed to Xcode 10.1 in order to be compatible with the latest >> version of LC. Maybe I am wrong here. >> >> >> >> >> >> SKIP >> >> >> >> On Fri, Apr 10, 2020 at 10:28 AM Ralph DiMola via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> https://www.microsoft.com/en-us/download/details.aspx?id=56567 >> >> >> >> Ralph DiMola >> >> IT Director >> >> Evergreen Information Services >> >> rdimola at evergreeninfo.net >> >> Phone: 518-636-3998 Ex:11 >> >> Cell: 518-796-9332 >> >> >> >> From: Skip Kimpel [mailto:skiplondon at gmail.com] >> Sent: Friday, April 10, 2020 10:19 AM >> To: How to use LiveCode >> Cc: Ralph DiMola >> Subject: Re: Livecode and AWS Sql >> >> >> >> I am so used to running in the Windows world that I don't think I have a >> SQL ODBC driver installed on my MAC. I googled it a little bit and did not >> find too much help. Anybody have suggestions on this piece? >> >> SKIP >> >> >> >> On Fri, Apr 10, 2020 at 9:44 AM Skip Kimpel wrote: >> >> Nope... am able to connect via other programs..... >> >> >> >> SKIP >> >> >> >> On Fri, Apr 10, 2020 at 8:44 AM Ralph DiMola via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Firewall port? >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf >> Of Skip Kimpel via use-livecode >> Sent: Thursday, April 09, 2020 10:10 PM >> To: How to use LiveCode >> Cc: Skip Kimpel >> Subject: Livecode and AWS Sql >> >> Any trick to connecting to an AWS Sql instance? I am using some of my old >> scripts that always hooked up properly to a local Sql server. Wondering >> if >> I might be a trick for AWS or heck, my method might be old and there is a >> better way to do it. >> >> *put revOpenDatabase("ODBC","DRIVER=SQL >> >> Server;SERVER="&myServerAddress&";DATABASE="&myDB&";UID="&tDatabaseUser&";PW >> D="&tDatabasePassword&"") >> into gConnID* >> >> >> SKIP >> _______________________________________________ >> 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 >> >> _______________________________________________ >> 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 Fri Apr 10 13:09:38 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Apr 2020 10:09:38 -0700 Subject: Mobile screen sizes - another naive question In-Reply-To: References: Message-ID: Brian Milby wrote: > I also built a stack last year to show how much space is not used when > using different modes. I'll see if I can locate that and make it > available. Useful I'm sure, but this lesson about using fullScreenMode as an option for handling different screen sizes includes illustrations showing the various crop/pad/stretch/distort effects available with each of the modes: http://lessons.livecode.com/m/15262/l/565745-how-do-i-make-my-app-scale-to-fit-the-screen-on-all-devices -- 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 Fri Apr 10 13:12:13 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Apr 2020 10:12:13 -0700 Subject: Go to card has become slow In-Reply-To: References: Message-ID: Brian Milby wrote: > I'm going to be that guy who replies to himself... > > I just imported a 500kb image to the card, removed the text from the > field, created 300 cards. 0.756 seconds normal (171MB). 1.124 from a > variable. (image instead of text) 8.311 seconds normal (8.2MB). 0.047 > from a variable. (original text) > > I'll need to clean this up with a better image (something I can share) > and try on my Mac for comparison when I get off today, but this points > squarely at the serialization of the field object being the > difference. Thanks for exploring this, Brian. It's mystifying how such generalized code could have such a pronounced impact on only one platform, but with your assistance I'm more confident we'll find 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 rdimola at evergreeninfo.net Fri Apr 10 13:34:03 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 10 Apr 2020 13:34:03 -0400 Subject: Livecode and AWS Sql In-Reply-To: References: <000801d60f36$37c7cd20$a7576760$@net> <002401d60f44$c04fb410$40ef1c30$@net> <002c01d60f48$2f7d4890$8e77d9b0$@net> Message-ID: <004101d60f5e$3d8a13d0$b89e3b70$@net> You can have multiple versions of Xcode installed. For instance you can have 10.1 and 11.4 installed. Point LC to 11.1. I have all of my Xcode versions in a desktop folder and have none in applications. You just have to make sure the proper version is active for building. Display current version ? xcode-select -print-path Change version ? sudo xcode-select -switch Xcode.app Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From: Skip Kimpel [mailto:skiplondon at gmail.com] Sent: Friday, April 10, 2020 1:08 PM To: How to use LiveCode Cc: Ralph DiMola Subject: Re: Livecode and AWS Sql Just a as follow up, I installed that Xcode 11.4, ran the previous script and it looks like it installed properly. HOWEVER, I still cannot connect to my SQL database. Also, by doing that, my Mac mobile development environment disappeared. I have since uninstalled 11.4 and went back to 10.1. Beyond frustrating... I must be getting old ; SKIP On Fri, Apr 10, 2020 at 10:56 AM Skip Kimpel wrote: I do appreciate your help, Ralph. You and I are in the same boat in regards to their comfort level having primarily worked in a Windows environment in the past. SKIP On Fri, Apr 10, 2020 at 10:53 AM Ralph DiMola via use-livecode wrote: >From what I can see you will either need to install Xcode 11.4 or use a previous version of the ODBC SW. But I?m starting to get out of my comfort zone now. I do some Mac dev but I?m mainly a Windows developer. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From: Skip Kimpel [mailto:skiplondon at gmail.com] Sent: Friday, April 10, 2020 10:35 AM To: How to use LiveCode Cc: Ralph DiMola Subject: Re: Livecode and AWS Sql Unfortunately, I don't think it is that straight forward. I went down this path already. The files that you can download are Windows MSI installation files. You can run it manually by using the following commands: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release brew update HOMEBREW_NO_ENV_FILTERING=1 ACCEPT_EULA=Y brew install msodbcsql17 mssql-tools However, when I run the last command, I get: Error: Your Xcode (10.1) is too outdated. Please update to Xcode 11.4 (or delete it). Xcode can be updated from the App Store. Do I really need Xcode in order to install SQL? I also thought I read that I needed to Xcode 10.1 in order to be compatible with the latest version of LC. Maybe I am wrong here. SKIP On Fri, Apr 10, 2020 at 10:28 AM Ralph DiMola via use-livecode wrote: https://www.microsoft.com/en-us/download/details.aspx?id=56567 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net Phone: 518-636-3998 Ex:11 Cell: 518-796-9332 From: Skip Kimpel [mailto:skiplondon at gmail.com] Sent: Friday, April 10, 2020 10:19 AM To: How to use LiveCode Cc: Ralph DiMola Subject: Re: Livecode and AWS Sql I am so used to running in the Windows world that I don't think I have a SQL ODBC driver installed on my MAC. I googled it a little bit and did not find too much help. Anybody have suggestions on this piece? SKIP On Fri, Apr 10, 2020 at 9:44 AM Skip Kimpel wrote: Nope... am able to connect via other programs..... SKIP On Fri, Apr 10, 2020 at 8:44 AM Ralph DiMola via use-livecode wrote: Firewall port? Ralph DiMola IT Director Evergreen Information Services -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Skip Kimpel via use-livecode Sent: Thursday, April 09, 2020 10:10 PM To: How to use LiveCode Cc: Skip Kimpel Subject: Livecode and AWS Sql Any trick to connecting to an AWS Sql instance? I am using some of my old scripts that always hooked up properly to a local Sql server. Wondering if I might be a trick for AWS or heck, my method might be old and there is a better way to do it. *put revOpenDatabase("ODBC","DRIVER=SQL Server;SERVER="&myServerAddress&";DATABASE="&myDB&";UID="&tDatabaseUser&";PW D="&tDatabasePassword&"") into gConnID* SKIP _______________________________________________ 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 _______________________________________________ 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 skiplondon at gmail.com Fri Apr 10 13:31:41 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Fri, 10 Apr 2020 13:31:41 -0400 Subject: Livecode and AWS Sql In-Reply-To: <004101d60f5e$3d8a13d0$b89e3b70$@net> References: <000801d60f36$37c7cd20$a7576760$@net> <002401d60f44$c04fb410$40ef1c30$@net> <002c01d60f48$2f7d4890$8e77d9b0$@net> <004101d60f5e$3d8a13d0$b89e3b70$@net> Message-ID: Good to know. SKIP On Fri, Apr 10, 2020 at 1:30 PM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > You can have multiple versions of Xcode installed. For instance you can > have 10.1 and 11.4 installed. Point LC to 11.1. I have all of my Xcode > versions in a desktop folder and have none in applications. You just have > to make sure the proper version is active for building. > > > > Display current version ? xcode-select -print-path > > Change version ? sudo xcode-select -switch Xcode.app > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > > > From: Skip Kimpel [mailto:skiplondon at gmail.com] > Sent: Friday, April 10, 2020 1:08 PM > To: How to use LiveCode > Cc: Ralph DiMola > Subject: Re: Livecode and AWS Sql > > > > Just a as follow up, I installed that Xcode 11.4, ran the previous script > and it looks like it installed properly. HOWEVER, I still cannot connect to > my SQL database. Also, by doing that, my Mac mobile development > environment disappeared. I have since uninstalled 11.4 and went back to > 10.1. > > > > Beyond frustrating... I must be getting old ; > > > > SKIP > > > > On Fri, Apr 10, 2020 at 10:56 AM Skip Kimpel wrote: > > I do appreciate your help, Ralph. You and I are in the same boat in > regards to their comfort level having primarily worked in a Windows > environment in the past. > > > > SKIP > > > > On Fri, Apr 10, 2020 at 10:53 AM Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > > From what I can see you will either need to install Xcode 11.4 or use a > previous version of the ODBC SW. But I?m starting to get out of my comfort > zone now. I do some Mac dev but I?m mainly a Windows developer. > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > > > From: Skip Kimpel [mailto:skiplondon at gmail.com] > Sent: Friday, April 10, 2020 10:35 AM > To: How to use LiveCode > Cc: Ralph DiMola > Subject: Re: Livecode and AWS Sql > > > > Unfortunately, I don't think it is that straight forward. I went down > this path already. The files that you can download are Windows MSI > installation files. You can run it manually by using the following > commands: > > > > /usr/bin/ruby -e "$(curl -fsSL > https://raw.githubusercontent.com/Homebrew/install/master/install)" > > brew tap microsoft/mssql-release > https://github.com/Microsoft/homebrew-mssql-release > > brew update > > HOMEBREW_NO_ENV_FILTERING=1 ACCEPT_EULA=Y brew install msodbcsql17 > mssql-tools > > > > However, when I run the last command, I get: > > Error: Your Xcode (10.1) is too outdated. > > Please update to Xcode 11.4 (or delete it). > > Xcode can be updated from the App Store. > > > > Do I really need Xcode in order to install SQL? I also thought I read > that I needed to Xcode 10.1 in order to be compatible with the latest > version of LC. Maybe I am wrong here. > > > > > > SKIP > > > > On Fri, Apr 10, 2020 at 10:28 AM Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > > https://www.microsoft.com/en-us/download/details.aspx?id=56567 > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > Phone: 518-636-3998 Ex:11 > > Cell: 518-796-9332 > > > > From: Skip Kimpel [mailto:skiplondon at gmail.com] > Sent: Friday, April 10, 2020 10:19 AM > To: How to use LiveCode > Cc: Ralph DiMola > Subject: Re: Livecode and AWS Sql > > > > I am so used to running in the Windows world that I don't think I have a > SQL ODBC driver installed on my MAC. I googled it a little bit and did not > find too much help. Anybody have suggestions on this piece? > > SKIP > > > > On Fri, Apr 10, 2020 at 9:44 AM Skip Kimpel wrote: > > Nope... am able to connect via other programs..... > > > > SKIP > > > > On Fri, Apr 10, 2020 at 8:44 AM Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > > Firewall port? > > Ralph DiMola > IT Director > Evergreen Information Services > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Skip Kimpel via use-livecode > Sent: Thursday, April 09, 2020 10:10 PM > To: How to use LiveCode > Cc: Skip Kimpel > Subject: Livecode and AWS Sql > > Any trick to connecting to an AWS Sql instance? I am using some of my old > scripts that always hooked up properly to a local Sql server. Wondering if > I might be a trick for AWS or heck, my method might be old and there is a > better way to do it. > > *put revOpenDatabase("ODBC","DRIVER=SQL > > Server;SERVER="&myServerAddress&";DATABASE="&myDB&";UID="&tDatabaseUser&";PW > D="&tDatabasePassword&"") > into gConnID* > > > SKIP > _______________________________________________ > 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 > > _______________________________________________ > 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 Fri Apr 10 13:34:46 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Apr 2020 10:34:46 -0700 Subject: Mobile screen sizes - another naive question In-Reply-To: <71A14CD0-60A4-4319-87BA-8706E3CC4F0D@mac.com> References: <71A14CD0-60A4-4319-87BA-8706E3CC4F0D@mac.com> Message-ID: <7d218d7b-ef22-36e0-fc39-782c6dada360@fourthworld.com> Graham Samuel wrote: > Thanks Richard, for that typically useful reply! I have indeed written > many a resize handler, but getting back into this stuff I was struck > by how messy it can get. Right now I don?t even know if say a field > with 12 point type in it has to be changed to a smaller or larger > rectangle with smaller or larger type in it, but obviously as soon as > I can start doing simulations (I have a totally different problem > there!) I can experiment. If it seems messy you may just be thinking about it too hard. :) Geometry not longer differs as much between the IDE and the device as it used to. In the first versions of LC's mobile offering, we didn't have resolution independence. Heck, in the fist versions we didn't even have a pixelDensity function. Back then, fullScreenMode was offered as a quicky workaround because while it rarely produces apps that look exactly like the ones we most commonly use, it was easy to implement and easy to use. The alternative involved a lot of guesswork and tedious arithmetic to try to figure out the difference between logical and physical pixels. Ugh. Today, LC only uses logical pixels, and it automatically translates those to whatever physical pixels a given phone may be using. Want to place a button 20 pixels from the bottom-right of the screen? Just use the syntax you've been using for years: on resizeStack x,y set the bottomRight of btn 1 to x-20, y-20 end resizeStack One nice thing about this approach is that you spend a LOT less time needing to move the stack to the device just to see what it'll look like. Just resize the stack in the IDE and look at it. :) > I do like the idea of sending resizeControl to groups - I have used > similar techniques for other purposes in the past. Powerful and > encapsulated. It's one of the most useful enhancements added to LiveCode, making so much about delivering pixel-perfect UIs on every platform so much easier. > As to graphics, I can presumably start with the highest possible > resolution and resize at startup according to the actual screen size, > or do what I said before, have a little library of different versions > tweaked for different screen sizes. Or possibly use SVG... No matter which method you use for your layout, LC includes options for including referenced images of different resolutions. IIRC the manual covers that pretty well. But if you can use SVG for the images you want you'll never need to think about multiple copies at all, and will always have a rendering optimized for the device you're running on. > Well, I am trying to learn, and I am grateful for all that you?ve > said. They key to that long post is this line: As with desktop software, I find it instructive to observe how the best apps on mobile behave, and then - because those establish user expectations - do what they do. I haven't seen your app so I can't say with complete confidence whether explicit placement via resizeStack or automated approximation with fullScreenMode is the best fit for your particular needs. Consider what your app needs to do, and study the apps on your phone that best reflect your design goals. Rotate the device, run the apps on your phone and your tablet, observe how the apps adapt their layouts to make the best use of each screen size. As we've been doing on the desktop all these years, we can often get results every bit as good as apps made with anything else, and usually more easily. -- 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 livfoss at mac.com Fri Apr 10 13:42:38 2020 From: livfoss at mac.com (Graham Samuel) Date: Fri, 10 Apr 2020 19:42:38 +0200 Subject: Old Fossil seeks fast track assistance In-Reply-To: <17164e2b7c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1B5FE27E-88F3-4AEE-A696-DF8C658DB3A1@mac.com> <84635384-6F4A-4E06-8085-08200668D802@mac.com> <4D54BD8A-A891-4093-B440-DEBD18AE4AE8@byu.edu> <8F138DD3-A35B-452A-AEF2-267558D57FDA@mac.com> <17164e2b7c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Thanks Jacque, but that?s the trouble - I can?t turn them off. I thought of trashing the LC Preferences to see if that does anything, but I couldn?t find them: I think they are in the plist, which is in the Preferences in the system library. I tried temporarily switching this off (by renaming the file and starting LC) - it stopped LC fully loading (not surprising really). I restored the plist and LC had forgotten some stuff like recent stacks. I checked that the mobile preference pane still has its green square and can see XCode, but the Standalone Settings still does not respond to mouse clicks to remove the non-mobile platforms or to choose mobile. I really have absolutely no idea what is going on. Graham > On 10 Apr 2020, at 18:18, J. Landman Gay via use-livecode wrote: > > The three desktop platforms are on by default. You should be able to turn those off. They are incompatible with mobile so they all need to be off before you can select either of the mobile ones. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 10, 2020 8:49:44 AM Graham Samuel via use-livecode wrote: > >> Thanks for the quick reply. I have the green square! I remember when it turned from red to green. But sadly my standalone settings window remains stubbornly inactive - not frozen: something happens when I click on General, Stacks, Copy files etc, but the next five icons to the right which let you decide what platform(s) you want to build for simply don?t react to mouse clicks. The last two (HTML5 and Bugs) do react. It?s as if I was not allowed to choose the platform. Is it something to do with my licence? I suppose I could ask the mother ship, though it?s Lockdown and Easter which might cause a bit of delay! >> >> Thanks again >> >> Graham >> >> >>> On 9 Apr 2020, at 20:53, Devin Asay via use-livecode wrote: >>> >>> Graham, >>> >>> Not really visualizing what you?re seeing. When you choose Xcode from your LiveCode mobile support preference pane, all you should have to do is navigate to Xcode using the Add Entry button, choose Xcode, and the square next to the iOS section should turn green. If you see the green square you should be good to go to do Test deploys to the iOS Simulator. >>> >>> It?s all about the Green Square! >>> >>> Devin >>> >>>> On Apr 9, 2020, at 9:23 AM, Graham Samuel via use-livecode wrote: >>>> >>>> Devin. I was too optimistic in thinking things would now go smoothly! I would very much appreciated your advice on the following: >>>> >>>> Following your advice to your students, I have downloaded and installed the latest XCode I can use on my Mac, which is 10.1. I have set the mobile preferences of my LiveCode 9.5.1 Indy to point to the developer section in the XCode app as you instruct (to be certain, I deleted the default and input the info afresh). I can open a simulator for any of my target iPhones - but when I try to set the Standalone settings for my current project, I am unable to select iOS as an option, and indeed I don?t see a detailed set of parameters but just a simpler window. (I think it?s called the General Settings) In fact I find that I can?t add or subtract any platform, although I notice that Mac, Windows and Linux all have a green checkmark, which I don?t want! There is supposed to be a Mode Selector accessed by the top left button on this screen, but I am not seeing it. >>>> >>>> I suppose there must be something wrong with my project, which is at an early stage, but features an iPhone shaped card with some buttons on it, at least! >>>> >>>> I suppose the answer is very very simple, but I have not been able to find it. I just can?t see what I?m doing wrong, and if there?s anything in the LC documentation about this, it is not obvious, nor do the LC preferences settings help. >>>> >>>> Sorry for the interruption - I hope you (or someone else on the list) can help as I am now completely stuck as far as proper testing goes. >>>> >>>> Graham >>>> >>>> >>>>> On 6 Apr 2020, at 16:55, Devin Asay via use-livecode > wrote: >>>>> >>>>> Graham, >>>>> >>>>> I?ve just been through this gauntlet with my students. I provided some links and lessons for them at http://livecode.byu.edu/mobile/test-deploy-links.php . I found the process for setting up Android a little fraught with pitfalls, so I created an expanded instruction sheet for Android setup, linked to that page. >>>>> >>>>> I?m staying with the latest Stable version of LiveCode for my class, 9.5.1. I?m running on Mac OS 10.14 Mojave. With this setup I have to use Xcode 10.1. >>>>> >>>>> As a refresher, on developer.apple.com >, you need to create your iOS developer certificate, register all of the UDIDs for your iOS devices, then create a wildcard provisioning profile for testing your apps. The provisioning profile must include all devices you want to test on. >>>>> >>>>> A collection of links of instructions for distributing mobile apps: http://livecode.byu.edu/mobile/mobileAppDistribution.php . >>>>> >>>>> I hope this will all help jog your memory. I find mine needs to be jogged every time I come back to this mobile stuff after a long time away. >>>>> >>>>> Cheers, >>>>> >>>>> Devin >>>> >>>> _______________________________________________ >>>> 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 > > > > > _______________________________________________ > 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 skiplondon at gmail.com Fri Apr 10 13:45:44 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Fri, 10 Apr 2020 13:45:44 -0400 Subject: Livecode and AWS Sql In-Reply-To: References: <000801d60f36$37c7cd20$a7576760$@net> <002401d60f44$c04fb410$40ef1c30$@net> <002c01d60f48$2f7d4890$8e77d9b0$@net> <004101d60f5e$3d8a13d0$b89e3b70$@net> Message-ID: Interestingly enough, I brought over everything to the Windows side to test there and I STILL cannot connect! This might go back to an AWS question OR remote SQL question. Ralph, do you normally connect to SQL via your local machine/local network or do connect to remote SQL servers. Going back in my internal memory banks, I don't know if I have ever connected to a remote, cloud based SQL server before. SKIP On Fri, Apr 10, 2020 at 1:31 PM Skip Kimpel wrote: > Good to know. > > > SKIP > > On Fri, Apr 10, 2020 at 1:30 PM Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> You can have multiple versions of Xcode installed. For instance you can >> have 10.1 and 11.4 installed. Point LC to 11.1. I have all of my Xcode >> versions in a desktop folder and have none in applications. You just have >> to make sure the proper version is active for building. >> >> >> >> Display current version ? xcode-select -print-path >> >> Change version ? sudo xcode-select -switch Xcode.app >> >> >> >> Ralph DiMola >> >> IT Director >> >> Evergreen Information Services >> >> rdimola at evergreeninfo.net >> >> >> >> From: Skip Kimpel [mailto:skiplondon at gmail.com] >> Sent: Friday, April 10, 2020 1:08 PM >> To: How to use LiveCode >> Cc: Ralph DiMola >> Subject: Re: Livecode and AWS Sql >> >> >> >> Just a as follow up, I installed that Xcode 11.4, ran the previous script >> and it looks like it installed properly. HOWEVER, I still cannot connect to >> my SQL database. Also, by doing that, my Mac mobile development >> environment disappeared. I have since uninstalled 11.4 and went back to >> 10.1. >> >> >> >> Beyond frustrating... I must be getting old ; >> >> >> >> SKIP >> >> >> >> On Fri, Apr 10, 2020 at 10:56 AM Skip Kimpel >> wrote: >> >> I do appreciate your help, Ralph. You and I are in the same boat in >> regards to their comfort level having primarily worked in a Windows >> environment in the past. >> >> >> >> SKIP >> >> >> >> On Fri, Apr 10, 2020 at 10:53 AM Ralph DiMola via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> From what I can see you will either need to install Xcode 11.4 or use a >> previous version of the ODBC SW. But I?m starting to get out of my comfort >> zone now. I do some Mac dev but I?m mainly a Windows developer. >> >> >> >> Ralph DiMola >> >> IT Director >> >> Evergreen Information Services >> >> rdimola at evergreeninfo.net >> >> >> >> From: Skip Kimpel [mailto:skiplondon at gmail.com] >> Sent: Friday, April 10, 2020 10:35 AM >> To: How to use LiveCode >> Cc: Ralph DiMola >> Subject: Re: Livecode and AWS Sql >> >> >> >> Unfortunately, I don't think it is that straight forward. I went down >> this path already. The files that you can download are Windows MSI >> installation files. You can run it manually by using the following >> commands: >> >> >> >> /usr/bin/ruby -e "$(curl -fsSL >> https://raw.githubusercontent.com/Homebrew/install/master/install)" >> >> brew tap microsoft/mssql-release >> https://github.com/Microsoft/homebrew-mssql-release >> >> brew update >> >> HOMEBREW_NO_ENV_FILTERING=1 ACCEPT_EULA=Y brew install msodbcsql17 >> mssql-tools >> >> >> >> However, when I run the last command, I get: >> >> Error: Your Xcode (10.1) is too outdated. >> >> Please update to Xcode 11.4 (or delete it). >> >> Xcode can be updated from the App Store. >> >> >> >> Do I really need Xcode in order to install SQL? I also thought I read >> that I needed to Xcode 10.1 in order to be compatible with the latest >> version of LC. Maybe I am wrong here. >> >> >> >> >> >> SKIP >> >> >> >> On Fri, Apr 10, 2020 at 10:28 AM Ralph DiMola via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> https://www.microsoft.com/en-us/download/details.aspx?id=56567 >> >> >> >> Ralph DiMola >> >> IT Director >> >> Evergreen Information Services >> >> rdimola at evergreeninfo.net >> >> Phone: 518-636-3998 Ex:11 >> >> Cell: 518-796-9332 >> >> >> >> From: Skip Kimpel [mailto:skiplondon at gmail.com] >> Sent: Friday, April 10, 2020 10:19 AM >> To: How to use LiveCode >> Cc: Ralph DiMola >> Subject: Re: Livecode and AWS Sql >> >> >> >> I am so used to running in the Windows world that I don't think I have a >> SQL ODBC driver installed on my MAC. I googled it a little bit and did not >> find too much help. Anybody have suggestions on this piece? >> >> SKIP >> >> >> >> On Fri, Apr 10, 2020 at 9:44 AM Skip Kimpel wrote: >> >> Nope... am able to connect via other programs..... >> >> >> >> SKIP >> >> >> >> On Fri, Apr 10, 2020 at 8:44 AM Ralph DiMola via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Firewall port? >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf >> Of Skip Kimpel via use-livecode >> Sent: Thursday, April 09, 2020 10:10 PM >> To: How to use LiveCode >> Cc: Skip Kimpel >> Subject: Livecode and AWS Sql >> >> Any trick to connecting to an AWS Sql instance? I am using some of my old >> scripts that always hooked up properly to a local Sql server. Wondering >> if >> I might be a trick for AWS or heck, my method might be old and there is a >> better way to do it. >> >> *put revOpenDatabase("ODBC","DRIVER=SQL >> >> Server;SERVER="&myServerAddress&";DATABASE="&myDB&";UID="&tDatabaseUser&";PW >> D="&tDatabasePassword&"") >> into gConnID* >> >> >> SKIP >> _______________________________________________ >> 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 >> >> _______________________________________________ >> 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 Fri Apr 10 13:58:27 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Apr 2020 12:58:27 -0500 Subject: Mobile screen sizes - another naive question In-Reply-To: References: Message-ID: <171653e31b8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I hadn't seen that lesson before. They didn't include showAll though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 10, 2020 12:11:40 PM Richard Gaskin via use-livecode wrote: > Brian Milby wrote: > > > I also built a stack last year to show how much space is not used when > > using different modes. I'll see if I can locate that and make it > > available. > > Useful I'm sure, but this lesson about using fullScreenMode as an option > for handling different screen sizes includes illustrations showing the > various crop/pad/stretch/distort effects available with each of the modes: > > http://lessons.livecode.com/m/15262/l/565745-how-do-i-make-my-app-scale-to-fit-the-screen-on-all-devices > > > -- > 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 rdimola at evergreeninfo.net Fri Apr 10 14:15:38 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 10 Apr 2020 14:15:38 -0400 Subject: Livecode and AWS Sql In-Reply-To: References: <000801d60f36$37c7cd20$a7576760$@net> <002401d60f44$c04fb410$40ef1c30$@net> <002c01d60f48$2f7d4890$8e77d9b0$@net> <004101d60f5e$3d8a13d0$b89e3b70$@net> Message-ID: <004c01d60f64$0c596620$250c3260$@net> I have connected to SQLserver and MySQL remote servers. Did you try to use MS Access via the ODBC connector as a test? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From: Skip Kimpel [mailto:skiplondon at gmail.com] Sent: Friday, April 10, 2020 1:46 PM To: How to use LiveCode Cc: Ralph DiMola Subject: Re: Livecode and AWS Sql Interestingly enough, I brought over everything to the Windows side to test there and I STILL cannot connect! This might go back to an AWS question OR remote SQL question. Ralph, do you normally connect to SQL via your local machine/local network or do connect to remote SQL servers. Going back in my internal memory banks, I don't know if I have ever connected to a remote, cloud based SQL server before. SKIP On Fri, Apr 10, 2020 at 1:31 PM Skip Kimpel wrote: Good to know. SKIP On Fri, Apr 10, 2020 at 1:30 PM Ralph DiMola via use-livecode wrote: You can have multiple versions of Xcode installed. For instance you can have 10.1 and 11.4 installed. Point LC to 11.1. I have all of my Xcode versions in a desktop folder and have none in applications. You just have to make sure the proper version is active for building. Display current version ? xcode-select -print-path Change version ? sudo xcode-select -switch Xcode.app Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From: Skip Kimpel [mailto:skiplondon at gmail.com] Sent: Friday, April 10, 2020 1:08 PM To: How to use LiveCode Cc: Ralph DiMola Subject: Re: Livecode and AWS Sql Just a as follow up, I installed that Xcode 11.4, ran the previous script and it looks like it installed properly. HOWEVER, I still cannot connect to my SQL database. Also, by doing that, my Mac mobile development environment disappeared. I have since uninstalled 11.4 and went back to 10.1. Beyond frustrating... I must be getting old ; SKIP On Fri, Apr 10, 2020 at 10:56 AM Skip Kimpel wrote: I do appreciate your help, Ralph. You and I are in the same boat in regards to their comfort level having primarily worked in a Windows environment in the past. SKIP On Fri, Apr 10, 2020 at 10:53 AM Ralph DiMola via use-livecode wrote: >From what I can see you will either need to install Xcode 11.4 or use a previous version of the ODBC SW. But I?m starting to get out of my comfort zone now. I do some Mac dev but I?m mainly a Windows developer. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From: Skip Kimpel [mailto:skiplondon at gmail.com] Sent: Friday, April 10, 2020 10:35 AM To: How to use LiveCode Cc: Ralph DiMola Subject: Re: Livecode and AWS Sql Unfortunately, I don't think it is that straight forward. I went down this path already. The files that you can download are Windows MSI installation files. You can run it manually by using the following commands: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release brew update HOMEBREW_NO_ENV_FILTERING=1 ACCEPT_EULA=Y brew install msodbcsql17 mssql-tools However, when I run the last command, I get: Error: Your Xcode (10.1) is too outdated. Please update to Xcode 11.4 (or delete it). Xcode can be updated from the App Store. Do I really need Xcode in order to install SQL? I also thought I read that I needed to Xcode 10.1 in order to be compatible with the latest version of LC. Maybe I am wrong here. SKIP On Fri, Apr 10, 2020 at 10:28 AM Ralph DiMola via use-livecode wrote: https://www.microsoft.com/en-us/download/details.aspx?id=56567 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net Phone: 518-636-3998 Ex:11 Cell: 518-796-9332 From: Skip Kimpel [mailto:skiplondon at gmail.com] Sent: Friday, April 10, 2020 10:19 AM To: How to use LiveCode Cc: Ralph DiMola Subject: Re: Livecode and AWS Sql I am so used to running in the Windows world that I don't think I have a SQL ODBC driver installed on my MAC. I googled it a little bit and did not find too much help. Anybody have suggestions on this piece? SKIP On Fri, Apr 10, 2020 at 9:44 AM Skip Kimpel wrote: Nope... am able to connect via other programs..... SKIP On Fri, Apr 10, 2020 at 8:44 AM Ralph DiMola via use-livecode wrote: Firewall port? Ralph DiMola IT Director Evergreen Information Services -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Skip Kimpel via use-livecode Sent: Thursday, April 09, 2020 10:10 PM To: How to use LiveCode Cc: Skip Kimpel Subject: Livecode and AWS Sql Any trick to connecting to an AWS Sql instance? I am using some of my old scripts that always hooked up properly to a local Sql server. Wondering if I might be a trick for AWS or heck, my method might be old and there is a better way to do it. *put revOpenDatabase("ODBC","DRIVER=SQL Server;SERVER="&myServerAddress&";DATABASE="&myDB&";UID="&tDatabaseUser&";PW D="&tDatabasePassword&"") into gConnID* SKIP _______________________________________________ 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 _______________________________________________ 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 Fri Apr 10 14:14:19 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Apr 2020 11:14:19 -0700 Subject: Mobile screen sizes - another naive question In-Reply-To: <171653e31b8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <171653e31b8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <5730f023-b52f-90a4-b05a-64fe04705df6@fourthworld.com> Good catch. It would be great if the Lessons were in Github so they could be enhanced by the community. I guess for now a comment there is the only mechanism for filing enhancement requests. How does showAll differ from the options shown there? -- Richard Gaskin Fourth World Systems J. Landman Gay wrote: > I hadn't seen that lesson before. They didn't include showAll though. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 10, 2020 12:11:40 PM Richard Gaskin via use-livecode > wrote: > >> Brian Milby wrote: >> >> > I also built a stack last year to show how much space is not used when >> > using different modes. I'll see if I can locate that and make it >> > available. >> >> Useful I'm sure, but this lesson about using fullScreenMode as an option >> for handling different screen sizes includes illustrations showing the >> various crop/pad/stretch/distort effects available with each of the modes: >> >> http://lessons.livecode.com/m/15262/l/565745-how-do-i-make-my-app-scale-to-fit-the-screen-on-all-devices >> From brian at milby7.com Fri Apr 10 14:20:20 2020 From: brian at milby7.com (Brian Milby) Date: Fri, 10 Apr 2020 14:20:20 -0400 Subject: Mobile screen sizes - another naive question In-Reply-To: <5730f023-b52f-90a4-b05a-64fe04705df6@fourthworld.com> References: <171653e31b8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5730f023-b52f-90a4-b05a-64fe04705df6@fourthworld.com> Message-ID: <5baffa01-8163-45f1-88f6-21e8c9ae0621@Spark> showAll is the same as letterBox but the borders are the stack background instead of black. Thanks, Brian On Apr 10, 2020, 2:15 PM -0400, Richard Gaskin via use-livecode , wrote: > Good catch. It would be great if the Lessons were in Github so they > could be enhanced by the community. I guess for now a comment there is > the only mechanism for filing enhancement requests. > > How does showAll differ from the options shown there? > > -- > Richard Gaskin > Fourth World Systems > > > J. Landman Gay wrote: > > I hadn't seen that lesson before. They didn't include showAll though. > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > On April 10, 2020 12:11:40 PM Richard Gaskin via use-livecode > > wrote: > > > > > Brian Milby wrote: > > > > > > > I also built a stack last year to show how much space is not used when > > > > using different modes. I'll see if I can locate that and make it > > > > available. > > > > > > Useful I'm sure, but this lesson about using fullScreenMode as an option > > > for handling different screen sizes includes illustrations showing the > > > various crop/pad/stretch/distort effects available with each of the modes: > > > > > > http://lessons.livecode.com/m/15262/l/565745-how-do-i-make-my-app-scale-to-fit-the-screen-on-all-devices > > > > > > _______________________________________________ > 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 dsc at swcp.com Fri Apr 10 14:40:09 2020 From: dsc at swcp.com (dsc at swcp.com) Date: Fri, 10 Apr 2020 12:40:09 -0600 Subject: Apps to fight COVID-19 In-Reply-To: <80B0BC53-7BD8-4E77-AD56-46CFC47C44FE@swcp.com> References: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> <7331236A-5F3D-44F0-8584-B813C6C9868B@gmail.com> <4D8A15A3-FD9D-4DB1-8AA2-52949B0DEB71@swcp.com> <1f020fd7-9162-4e5f-bfba-eb78067a56fd@Spark> <54D073BD-51E2-4652-8FFC-1FFA98C25A2A@swcp.com> <80B0BC53-7BD8-4E77-AD56-46CFC47C44FE@swcp.com> Message-ID: <59B4960A-4A5C-4838-A628-9B875356284B@swcp.com> And for those of you who want to volunteer for the COVID Watch team, here is the volunteer form: https://docs.google.com/forms/d/e/1FAIpQLSdD1TGKOvd4gtikW_jXdU1HlF4jMP2XnXvIzL2sd6HLHPJ25g/viewform > On Apr 10, 2020, at 11:04 AM, dsc--- via use-livecode wrote: > > And it doesn't have to be just contact tracing related. > > Jonathan Rothberg's team is working on a simple test at home that needs an app. > Cov19 at 4Catalyzer.com > > Anybody want to talk about a containment game? Or take the concept and go in one's own direction? > > Nicky Case's phone size comic is now available in several languages, so if you include that in _anything_ you do, can localize a little. > > Dar > team COVID Watch > > >> On Apr 10, 2020, at 9:12 AM, dsc--- via use-livecode wrote: >> >> It is good to see some leadership here. Thanks, David. >> >> Jeff Schwaber on COVID Watch leadership team welcomes LiveCode programmers. His initial interest is in making the Bluetooth and TCN libraries available within the LiveCode environment. He suggests joining a couple channels at COVID Watch Slack. >> >> Those libraries are moving to the TCN Coalition and so are applicable to a wide range of contact tracing apps. This enables LiveCoders to create test apps, explore ideas and even make "competing" apps. >> >> COVID Watch does not have any desktop apps. One approach might be to convert Android Kotlin to Native Kotlin. Another is to move to LiveCode. >> >> I'm a Slack noob and I am not sure of the process of onboarding here. I will try to find out. Anybody here know typical Slack etiquette? >> >> Dar >> team COVID Watch >> >> >>> On Apr 10, 2020, at 2:58 AM, David Bovill via use-livecode wrote: >>> >>> Thanks for all the info Dar - that?s a great start. >>> >>> I think creating a hospital / care-worker privacy respecting contact tracing app would be a great Livecode project. >>> >>> This is what I?m thinking: >>> >>> ? Some of gather some material / research - maybe a few Livecode experiments not he topic >>> ? We prepare a video conference call - like the Livecode Zoom one I missed >>> ? We invite a few people >>> ? We follow up the video conference with a week long online sprint - some coding, some writing, some design / cartoons >>> ? We showcase the results at a wrap up event >>> >>> I?m working with a handful of volunteers - mainly on the video / media / Zoom / research / facilitation end of things, but we?re getting pretty good at organising small and larger scale interactive video conferences and editing together the footage for feedback documentation. Mostly Livecode novices but interested to learn. So we could set up the event - most probably in Zoom - but could be Jitsi. >>> >>> To make it work, I think we?d need a few Livecode tutors, and interest from the community - in the end it should be something that the folks on this list would like to take part in, so when we onboard other people the party is not empty. >>> >>> I?d propose we do this on Earth Day - Wednesday 22nd April - in the evening Europe time, after midday US time. >>> >>> Any thoughts / takers? >>> >>> On 10 Apr 2020, 04:04 +0100, Dar Scott Consulting via use-livecode , wrote: >>>> >>>> Hi, David! Hi, Mark! Hi, Everybody! >>>> >>>> There are several teams that need help in a variety of ways. >>>> >>>> Several teams are in the TCN Coalition . These teams respect privacy and use the TCN Protocol. COVID Watch is there with help from around the world, but with a USA focus. You can see a list with links on that very simple page. Volunteers might want to seek out those whose location, philosophy or neediness seem to be appealing. >>>> >>>> Other organizations include Private Kit: Safe Paths (GPS) and "Eastcoast" PACT out of MIT. You can probably find more. If you have a direction or need you want to focus on, I can try to help. >>>> >>>> A group in Europe is forming around DT-3T, triggered by work by Carmela Troncoso of EPFL and folks at ETHZ. (Even though DT-3T is considered to be under the umbrella of PEPPPT, the later group includes teams whose methods that require trusted servers. DT-3T does not.) This project has some nice features. >>>> https://github.com/DP-3T >>>> >>>> Artist/explainer Nicky Case has created a comic in a phone format that explains contact tracing. The details look a little more like DT-3T than what COVID Watch is doing, but one tweaked for COVID Watch is in the works. You can incorporate this into your current apps or make a new education app. The education app might remind people how they downloaded that app and how to download the kind of app described in the comic. You can run with this on your own. >>>> https://ncase.me/contact-tracing/ >>>> >>>> Everybody should look at that comic anyway. It explains a lot in just a few minutes. >>>> >>>> There is a need for both phone and desktop apps used by healthcare providers to validate "I'm sick" reports. Many organizations need some means of making sure there are few false reports. Maybe some sort of cryptographic signature or something. While groups are focusing on the user app, the hospital apps are seeing less work. >>>> >>>> And then there are the servers. Maybe Firebase will work but I suspect that there might have to be more, depending on the team. Server? Look at the Nicky Case comic. >>>> >>>> I have some for a containment game that includes contact tracing. I can give it to somebody and even (in my copious spare time) provide some handwaving. >>>> >>>> One problem is that auntie does not know how to download apps. Encouraging friends showing friends how to download is a good thing. Rapid adoption will become important. And even education about contact tracing in general. >>>> >>>> You might be coming up with ideas I didn't even think about. >>>> >>>> Contact me if you need any help. >>>> >>>> Dar >>>> >>>> >>>> >>>> >>>> >>>>> On Apr 9, 2020, at 4:46 AM, Mark Smith via use-livecode wrote: >>>>> >>>>> Happy to contribute as well. >>>>> >>>>>> On Apr 8, 2020, at 3:17 PM, David Bovill via use-livecode wrote: >>>>>> >>>>>> I?d be interested in volunteering to make a Livecode app for this. Anyone else? >>>>>> On 7 Apr 2020, 00:41 +0100, Dar Scott Consulting via use-livecode , wrote: >>>>>>> Hi, everybody! >>>>>>> >>>>>>> I apologize for the drive-by email. >>>>>>> >>>>>>> And I miss everybody on the list. Been busy all that. >>>>>>> >>>>>>> I am a strong believer in contact tracing as an implortant part of COVID-19 containment. >>>>>>> >>>>>>> There are several teams out there working on voluntary privacy-protecting contact tracing apps to deploy before Big Brother mandates some central DB app usage. Those include COVID Watch, CoEpi, Private Watch Safe Paths, and others. Most have already started and are using swift and kotlin. Only Safe Paths has something out. However, there might be some room in creating some instant apps in LiveCode or in supporting in other ways. Also, some teams are just getting started and need something fast. I think we need some education apps done quickly. >>>>>>> >>>>>>> Also, 4Catalyzer is making a home test and needs some app development. >>>>>>> >>>>>>> For myself, I am on on the COVID Watch team. >>>>>>> >>>>>>> If you want to do something, take a look around at privacy preserving contact tracing projects. And also look specifically I the ones I mentioned. >>>>>>> >>>>>>> I might be rehashing what has already been discussed. Sorry. Like I said, "Drive by email". >>>>>>> >>>>>>> And remember what the Beatles said, "You wanna wash your ha-a-ands!" >>>>>>> >>>>>>> Dar Scott >>>>>>> >>>>>>> I am using Private Watch: Safe Paths on my iPhone to fight COVID-19.. >>>>>>> >>>>>>> _______________________________________________ >>>>>>> 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 >>>>> >>>> >>>> _______________________________________________ >>>> 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 >> > > _______________________________________________ > 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 mikedoub at gmail.com Fri Apr 10 14:56:41 2020 From: mikedoub at gmail.com (Mike Doub) Date: Fri, 10 Apr 2020 14:56:41 -0400 Subject: Apps to fight COVID-19 In-Reply-To: <59B4960A-4A5C-4838-A628-9B875356284B@swcp.com> References: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> <7331236A-5F3D-44F0-8584-B813C6C9868B@gmail.com> <4D8A15A3-FD9D-4DB1-8AA2-52949B0DEB71@swcp.com> <1f020fd7-9162-4e5f-bfba-eb78067a56fd@Spark> <54D073BD-51E2-4652-8FFC-1FFA98C25A2A@swcp.com> <80B0BC53-7BD8-4E77-AD56-46CFC47C44FE@swcp.com> <59B4960A-4A5C-4838-A628-9B875356284B@swcp.com> Message-ID: <505e76c7-3381-43b2-8deb-ba2adb89e03d@Spark> Apple and Google adding contact tracking to their OSs https://www.nytimes.com/2020/04/10/business/stock-market-today-coronavirus.html#link-418ae121 On Apr 10, 2020, 2:41 PM -0400, dsc--- via use-livecode , wrote: > And for those of you who want to volunteer for the COVID Watch team, here is the volunteer form: > https://docs.google.com/forms/d/e/1FAIpQLSdD1TGKOvd4gtikW_jXdU1HlF4jMP2XnXvIzL2sd6HLHPJ25g/viewform > > > > On Apr 10, 2020, at 11:04 AM, dsc--- via use-livecode wrote: > > > > And it doesn't have to be just contact tracing related. > > > > Jonathan Rothberg's team is working on a simple test at home that needs an app. > > Cov19 at 4Catalyzer.com > > > > Anybody want to talk about a containment game? Or take the concept and go in one's own direction? > > > > Nicky Case's phone size comic is now available in several languages, so if you include that in _anything_ you do, can localize a little. > > > > Dar > > team COVID Watch > > > > > > > On Apr 10, 2020, at 9:12 AM, dsc--- via use-livecode wrote: > > > > > > It is good to see some leadership here. Thanks, David. > > > > > > Jeff Schwaber on COVID Watch leadership team welcomes LiveCode programmers. His initial interest is in making the Bluetooth and TCN libraries available within the LiveCode environment. He suggests joining a couple channels at COVID Watch Slack. > > > > > > Those libraries are moving to the TCN Coalition and so are applicable to a wide range of contact tracing apps. This enables LiveCoders to create test apps, explore ideas and even make "competing" apps. > > > > > > COVID Watch does not have any desktop apps. One approach might be to convert Android Kotlin to Native Kotlin. Another is to move to LiveCode. > > > > > > I'm a Slack noob and I am not sure of the process of onboarding here. I will try to find out. Anybody here know typical Slack etiquette? > > > > > > Dar > > > team COVID Watch > > > > > > > > > > On Apr 10, 2020, at 2:58 AM, David Bovill via use-livecode wrote: > > > > > > > > Thanks for all the info Dar - that?s a great start. > > > > > > > > I think creating a hospital / care-worker privacy respecting contact tracing app would be a great Livecode project. > > > > > > > > This is what I?m thinking: > > > > > > > > ? Some of gather some material / research - maybe a few Livecode experiments not he topic > > > > ? We prepare a video conference call - like the Livecode Zoom one I missed > > > > ? We invite a few people > > > > ? We follow up the video conference with a week long online sprint - some coding, some writing, some design / cartoons > > > > ? We showcase the results at a wrap up event > > > > > > > > I?m working with a handful of volunteers - mainly on the video / media / Zoom / research / facilitation end of things, but we?re getting pretty good at organising small and larger scale interactive video conferences and editing together the footage for feedback documentation. Mostly Livecode novices but interested to learn. So we could set up the event - most probably in Zoom - but could be Jitsi. > > > > > > > > To make it work, I think we?d need a few Livecode tutors, and interest from the community - in the end it should be something that the folks on this list would like to take part in, so when we onboard other people the party is not empty. > > > > > > > > I?d propose we do this on Earth Day - Wednesday 22nd April - in the evening Europe time, after midday US time. > > > > > > > > Any thoughts / takers? > > > > > > > > On 10 Apr 2020, 04:04 +0100, Dar Scott Consulting via use-livecode , wrote: > > > > > > > > > > Hi, David! Hi, Mark! Hi, Everybody! > > > > > > > > > > There are several teams that need help in a variety of ways. > > > > > > > > > > Several teams are in the TCN Coalition . These teams respect privacy and use the TCN Protocol. COVID Watch is there with help from around the world, but with a USA focus. You can see a list with links on that very simple page. Volunteers might want to seek out those whose location, philosophy or neediness seem to be appealing. > > > > > > > > > > Other organizations include Private Kit: Safe Paths (GPS) and "Eastcoast" PACT out of MIT. You can probably find more. If you have a direction or need you want to focus on, I can try to help. > > > > > > > > > > A group in Europe is forming around DT-3T, triggered by work by Carmela Troncoso of EPFL and folks at ETHZ. (Even though DT-3T is considered to be under the umbrella of PEPPPT, the later group includes teams whose methods that require trusted servers. DT-3T does not.) This project has some nice features. > > > > > https://github.com/DP-3T > > > > > > > > > > Artist/explainer Nicky Case has created a comic in a phone format that explains contact tracing. The details look a little more like DT-3T than what COVID Watch is doing, but one tweaked for COVID Watch is in the works. You can incorporate this into your current apps or make a new education app. The education app might remind people how they downloaded that app and how to download the kind of app described in the comic. You can run with this on your own. > > > > > https://ncase.me/contact-tracing/ > > > > > > > > > > Everybody should look at that comic anyway. It explains a lot in just a few minutes. > > > > > > > > > > There is a need for both phone and desktop apps used by healthcare providers to validate "I'm sick" reports. Many organizations need some means of making sure there are few false reports. Maybe some sort of cryptographic signature or something. While groups are focusing on the user app, the hospital apps are seeing less work. > > > > > > > > > > And then there are the servers. Maybe Firebase will work but I suspect that there might have to be more, depending on the team. Server? Look at the Nicky Case comic. > > > > > > > > > > I have some for a containment game that includes contact tracing. I can give it to somebody and even (in my copious spare time) provide some handwaving. > > > > > > > > > > One problem is that auntie does not know how to download apps. Encouraging friends showing friends how to download is a good thing. Rapid adoption will become important. And even education about contact tracing in general. > > > > > > > > > > You might be coming up with ideas I didn't even think about. > > > > > > > > > > Contact me if you need any help. > > > > > > > > > > Dar > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Apr 9, 2020, at 4:46 AM, Mark Smith via use-livecode wrote: > > > > > > > > > > > > Happy to contribute as well. > > > > > > > > > > > > > On Apr 8, 2020, at 3:17 PM, David Bovill via use-livecode wrote: > > > > > > > > > > > > > > I?d be interested in volunteering to make a Livecode app for this. Anyone else? > > > > > > > On 7 Apr 2020, 00:41 +0100, Dar Scott Consulting via use-livecode , wrote: > > > > > > > > Hi, everybody! > > > > > > > > > > > > > > > > I apologize for the drive-by email. > > > > > > > > > > > > > > > > And I miss everybody on the list. Been busy all that. > > > > > > > > > > > > > > > > I am a strong believer in contact tracing as an implortant part of COVID-19 containment. > > > > > > > > > > > > > > > > There are several teams out there working on voluntary privacy-protecting contact tracing apps to deploy before Big Brother mandates some central DB app usage. Those include COVID Watch, CoEpi, Private Watch Safe Paths, and others. Most have already started and are using swift and kotlin. Only Safe Paths has something out. However, there might be some room in creating some instant apps in LiveCode or in supporting in other ways. Also, some teams are just getting started and need something fast. I think we need some education apps done quickly. > > > > > > > > > > > > > > > > Also, 4Catalyzer is making a home test and needs some app development. > > > > > > > > > > > > > > > > For myself, I am on on the COVID Watch team. > > > > > > > > > > > > > > > > If you want to do something, take a look around at privacy preserving contact tracing projects. And also look specifically I the ones I mentioned. > > > > > > > > > > > > > > > > I might be rehashing what has already been discussed. Sorry. Like I said, "Drive by email". > > > > > > > > > > > > > > > > And remember what the Beatles said, "You wanna wash your ha-a-ands!" > > > > > > > > > > > > > > > > Dar Scott > > > > > > > > > > > > > > > > I am using Private Watch: Safe Paths on my iPhone to fight COVID-19.. > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > 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 > > > > > > > > > > > > > > > > _______________________________________________ > > > > > 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 > > > > > > > _______________________________________________ > > 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 dsc at swcp.com Fri Apr 10 15:12:14 2020 From: dsc at swcp.com (dsc at swcp.com) Date: Fri, 10 Apr 2020 13:12:14 -0600 Subject: Apps to fight COVID-19 In-Reply-To: <505e76c7-3381-43b2-8deb-ba2adb89e03d@Spark> References: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> <7331236A-5F3D-44F0-8584-B813C6C9868B@gmail.com> <4D8A15A3-FD9D-4DB1-8AA2-52949B0DEB71@swcp.com> <1f020fd7-9162-4e5f-bfba-eb78067a56fd@Spark> <54D073BD-51E2-4652-8FFC-1FFA98C25A2A@swcp.com> <80B0BC53-7BD8-4E77-AD56-46CFC47C44FE@swcp.com> <59B4960A-4A5C-4838-A628-9B875356284B@swcp.com> <505e76c7-3381-43b2-8deb-ba2adb89e03d@Spark> Message-ID: <95708787-D63B-48E4-8FA2-CE5CA05A7669@swcp.com> This is good news. I am very proud of folks at the COVID Watch team that have been pushing and collaborating for a a better mobile APIs that don't hide BLE capabilities. And a shout-out to the individuals and groups who developed DP-3T, which seems to be the basis for the Apple/Google APIs. (Concerns: The PR releases putting governments first does not feel like privacy preserving. Also, DP-3T and other groups everywhere were not given even a mention. On the technical side, if the full API is used, there is no way to facilitate reporting being down with COVID-19. So, my "This is good news." has some caveats.) The API is not ready, yet. Onward! > On Apr 10, 2020, at 12:56 PM, Mike Doub via use-livecode wrote: > > Apple and Google adding contact tracking to their OSs > > https://www.nytimes.com/2020/04/10/business/stock-market-today-coronavirus.html#link-418ae121 > On Apr 10, 2020, 2:41 PM -0400, dsc--- via use-livecode , wrote: >> And for those of you who want to volunteer for the COVID Watch team, here is the volunteer form: >> https://docs.google.com/forms/d/e/1FAIpQLSdD1TGKOvd4gtikW_jXdU1HlF4jMP2XnXvIzL2sd6HLHPJ25g/viewform >> >> >>> On Apr 10, 2020, at 11:04 AM, dsc--- via use-livecode wrote: >>> >>> And it doesn't have to be just contact tracing related. >>> >>> Jonathan Rothberg's team is working on a simple test at home that needs an app. >>> Cov19 at 4Catalyzer.com >>> >>> Anybody want to talk about a containment game? Or take the concept and go in one's own direction? >>> >>> Nicky Case's phone size comic is now available in several languages, so if you include that in _anything_ you do, can localize a little. >>> >>> Dar >>> team COVID Watch >>> >>> >>>> On Apr 10, 2020, at 9:12 AM, dsc--- via use-livecode wrote: >>>> >>>> It is good to see some leadership here. Thanks, David. >>>> >>>> Jeff Schwaber on COVID Watch leadership team welcomes LiveCode programmers. His initial interest is in making the Bluetooth and TCN libraries available within the LiveCode environment. He suggests joining a couple channels at COVID Watch Slack. >>>> >>>> Those libraries are moving to the TCN Coalition and so are applicable to a wide range of contact tracing apps. This enables LiveCoders to create test apps, explore ideas and even make "competing" apps. >>>> >>>> COVID Watch does not have any desktop apps. One approach might be to convert Android Kotlin to Native Kotlin. Another is to move to LiveCode. >>>> >>>> I'm a Slack noob and I am not sure of the process of onboarding here. I will try to find out. Anybody here know typical Slack etiquette? >>>> >>>> Dar >>>> team COVID Watch >>>> >>>> >>>>> On Apr 10, 2020, at 2:58 AM, David Bovill via use-livecode wrote: >>>>> >>>>> Thanks for all the info Dar - that?s a great start. >>>>> >>>>> I think creating a hospital / care-worker privacy respecting contact tracing app would be a great Livecode project. >>>>> >>>>> This is what I?m thinking: >>>>> >>>>> ? Some of gather some material / research - maybe a few Livecode experiments not he topic >>>>> ? We prepare a video conference call - like the Livecode Zoom one I missed >>>>> ? We invite a few people >>>>> ? We follow up the video conference with a week long online sprint - some coding, some writing, some design / cartoons >>>>> ? We showcase the results at a wrap up event >>>>> >>>>> I?m working with a handful of volunteers - mainly on the video / media / Zoom / research / facilitation end of things, but we?re getting pretty good at organising small and larger scale interactive video conferences and editing together the footage for feedback documentation. Mostly Livecode novices but interested to learn. So we could set up the event - most probably in Zoom - but could be Jitsi. >>>>> >>>>> To make it work, I think we?d need a few Livecode tutors, and interest from the community - in the end it should be something that the folks on this list would like to take part in, so when we onboard other people the party is not empty. >>>>> >>>>> I?d propose we do this on Earth Day - Wednesday 22nd April - in the evening Europe time, after midday US time. >>>>> >>>>> Any thoughts / takers? >>>>> >>>>> On 10 Apr 2020, 04:04 +0100, Dar Scott Consulting via use-livecode , wrote: >>>>>> >>>>>> Hi, David! Hi, Mark! Hi, Everybody! >>>>>> >>>>>> There are several teams that need help in a variety of ways. >>>>>> >>>>>> Several teams are in the TCN Coalition . These teams respect privacy and use the TCN Protocol. COVID Watch is there with help from around the world, but with a USA focus. You can see a list with links on that very simple page. Volunteers might want to seek out those whose location, philosophy or neediness seem to be appealing. >>>>>> >>>>>> Other organizations include Private Kit: Safe Paths (GPS) and "Eastcoast" PACT out of MIT. You can probably find more. If you have a direction or need you want to focus on, I can try to help. >>>>>> >>>>>> A group in Europe is forming around DT-3T, triggered by work by Carmela Troncoso of EPFL and folks at ETHZ. (Even though DT-3T is considered to be under the umbrella of PEPPPT, the later group includes teams whose methods that require trusted servers. DT-3T does not.) This project has some nice features. >>>>>> https://github.com/DP-3T >>>>>> >>>>>> Artist/explainer Nicky Case has created a comic in a phone format that explains contact tracing. The details look a little more like DT-3T than what COVID Watch is doing, but one tweaked for COVID Watch is in the works. You can incorporate this into your current apps or make a new education app. The education app might remind people how they downloaded that app and how to download the kind of app described in the comic. You can run with this on your own. >>>>>> https://ncase.me/contact-tracing/ >>>>>> >>>>>> Everybody should look at that comic anyway. It explains a lot in just a few minutes. >>>>>> >>>>>> There is a need for both phone and desktop apps used by healthcare providers to validate "I'm sick" reports. Many organizations need some means of making sure there are few false reports. Maybe some sort of cryptographic signature or something. While groups are focusing on the user app, the hospital apps are seeing less work. >>>>>> >>>>>> And then there are the servers. Maybe Firebase will work but I suspect that there might have to be more, depending on the team. Server? Look at the Nicky Case comic. >>>>>> >>>>>> I have some for a containment game that includes contact tracing. I can give it to somebody and even (in my copious spare time) provide some handwaving. >>>>>> >>>>>> One problem is that auntie does not know how to download apps. Encouraging friends showing friends how to download is a good thing. Rapid adoption will become important. And even education about contact tracing in general. >>>>>> >>>>>> You might be coming up with ideas I didn't even think about. >>>>>> >>>>>> Contact me if you need any help. >>>>>> >>>>>> Dar >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> On Apr 9, 2020, at 4:46 AM, Mark Smith via use-livecode wrote: >>>>>>> >>>>>>> Happy to contribute as well. >>>>>>> >>>>>>>> On Apr 8, 2020, at 3:17 PM, David Bovill via use-livecode wrote: >>>>>>>> >>>>>>>> I?d be interested in volunteering to make a Livecode app for this. Anyone else? >>>>>>>> On 7 Apr 2020, 00:41 +0100, Dar Scott Consulting via use-livecode , wrote: >>>>>>>>> Hi, everybody! >>>>>>>>> >>>>>>>>> I apologize for the drive-by email. >>>>>>>>> >>>>>>>>> And I miss everybody on the list. Been busy all that. >>>>>>>>> >>>>>>>>> I am a strong believer in contact tracing as an implortant part of COVID-19 containment. >>>>>>>>> >>>>>>>>> There are several teams out there working on voluntary privacy-protecting contact tracing apps to deploy before Big Brother mandates some central DB app usage. Those include COVID Watch, CoEpi, Private Watch Safe Paths, and others. Most have already started and are using swift and kotlin. Only Safe Paths has something out. However, there might be some room in creating some instant apps in LiveCode or in supporting in other ways. Also, some teams are just getting started and need something fast. I think we need some education apps done quickly. >>>>>>>>> >>>>>>>>> Also, 4Catalyzer is making a home test and needs some app development. >>>>>>>>> >>>>>>>>> For myself, I am on on the COVID Watch team. >>>>>>>>> >>>>>>>>> If you want to do something, take a look around at privacy preserving contact tracing projects. And also look specifically I the ones I mentioned. >>>>>>>>> >>>>>>>>> I might be rehashing what has already been discussed. Sorry. Like I said, "Drive by email". >>>>>>>>> >>>>>>>>> And remember what the Beatles said, "You wanna wash your ha-a-ands!" >>>>>>>>> >>>>>>>>> Dar Scott >>>>>>>>> >>>>>>>>> I am using Private Watch: Safe Paths on my iPhone to fight COVID-19.. >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> 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 >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>>> >>> >>> _______________________________________________ >>> 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 livfoss at mac.com Fri Apr 10 16:20:27 2020 From: livfoss at mac.com (Graham Samuel) Date: Fri, 10 Apr 2020 22:20:27 +0200 Subject: Mobile screen sizes - another naive question In-Reply-To: References: <81522F65-606C-490F-9B55-25DB75D8B606@mac.com> <3f49d25b-cd15-b068-6220-65ebd69a4372@hyperactivesw.com> <89D0F959-E00B-4728-A818-495E245436A0@mac.com> Message-ID: <8CBDBA0C-B4FA-4F44-80F1-576A9460043B@mac.com> Brian this is terrific! Looking at it now. thanks so much Graham > On 10 Apr 2020, at 15:18, Brian Milby via use-livecode wrote: > > Take a look at my mobileDemo repo: > https://github.com/bwmilby/mobileDemo > > It lets you play around with showing how a stack developed at different > sizes looks when presented on a device using the different > FullScreenModes. I have not updated it for the new iPhoneX aspect ratios, > but probably should do that (it has an option for "device max" resolution, > so it should work fine on the new devices). I can't see anyone developing > for that ratio though, it would look terrible on other devices (margins on > left/right). There is also some code in there where I resize a graphic to > the actual screen size when using a fullScreenMode that could be used to > size a background image or to place something outside of the stack bounds > but still be visible (I don't think any of the area outside of the stack > rect will receive events, but I have not specifically tested that). > > I also built a stack last year to show how much space is not used when > using different modes. I'll see if I can locate that and make it available. > > Thanks, > Brian > > On Fri, Apr 10, 2020 at 6:32 AM Graham Samuel via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Thanks Jacque - sounds very practical. fullScreenMode, here I come! >> >> Cheers >> >> Graham >> >>> On 9 Apr 2020, at 20:09, J. Landman Gay via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> On 4/9/20 11:47 AM, Richard Gaskin via use-livecode wrote: >>>> Graham Samuel wrote: >>>>> Folks, yet again I don?t know where to look for an answer in the LC >>>>> documentation. >>>>> >>>>> The issue is the enormous variety of screen sizes on smart phones. For >>>>> example the iPhone XS Max has 1242 pixels width, the iPhone 5 has 640. >>>>> And there are many many more before we even get to tablets? >>>>> >>>>> The question is, how do most of you tackle this, and does LC help? >>>>> Obviously an object taking up a fixed number of pixels on one phone >>>>> will look absurdly large or small on another one, or of course may not >>>>> fit on the screen at all. Not all objects can be vector drawings, and >>>>> the ones that are still have to be resized according to device >>>>> >>>>> Is there anything better than the obvious trick of resizing everything >>>>> in sight when the app is being initialised, including substituting the >>>>> more sensitive graphics from a library of appropriate sizes? Seems >>>>> tedious. >>>> Is it all that tedious? >>> >>> Yes, unless you have a simple stack with only a few controls. If you >> have hundreds of objects, dealing with each of them individually, even if >> it's only one line that calls a handler, is a tedious time sink. >>> >>> Graham, experiment with fullscreenMode, which automates most of the >> process. It isn't perfect and you'll need to make a few adjustments for >> different screen sizes, but it's much easier than trying to adjust for >> every possible screen ratio. LC implemented this specifically to take away >> the pain as much as possible. >>> >>> -- >>> 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 >> > _______________________________________________ > 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 Fri Apr 10 16:39:38 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Apr 2020 15:39:38 -0500 Subject: Video format for mobile In-Reply-To: <9E730E77-41D8-434F-A6BE-72D54F2C3FC9@livecode.com> References: <9E730E77-41D8-434F-A6BE-72D54F2C3FC9@livecode.com> Message-ID: @Mark is there a bug number for this? I couldn't find anything. On 4/9/20 3:36 PM, Mark Waddingham via use-livecode wrote: > This sounds like a bug we are currently fixing (hopefully in time for 9.6-DP-4) - the android player doesn?t currently play nicely with accelerated rendering... Turning that off should mean things play properly. > > We use the system player object so MP4 should be fine. > > Warmest Regards, > > Mark. > > Sent from my iPhone > >> On 9 Apr 2020, at 20:31, J. Landman Gay via use-livecode wrote: >> >> ?I tried the browser widget: no audio, no video, white screen, no browser outline on Android. >> >> I tried a mobile browser (mobileControlCreate): audio plays, no video, white screen. >> >> So yeah, it looks like there's no codec. The widget on desktop doesn't play it either. If I ask the client to re-do the videos, what codec should I ask for? I was told that we had to use their existing videos, so I'm not even sure they will re-do them. >> >>> On 4/9/20 1:01 PM, Tom Glod via use-livecode wrote: >>> I'm sorry to be the bearer of bad news here. :( >>> if its h264 the browser widget won't play it. If you saw video but no audio >>> then thats one thing.....but no video means the video codec is also absent. >>>> On Thu, Apr 9, 2020 at 1:57 PM J. Landman Gay via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> They're kind of huge (like 400 MB) so I didn't copy them to my phone, but >>>> they play okay on Mac >>>> using Firefox and on Android using Chrome browser. I guess that doesn't >>>> tell us much. >>>> >>>> Swami suggested to me privately that he uses a browser widget to play >>>> videos so I will try that >>>> next. >>>> >>>> On 4/9/20 9:20 AM, Mark Talluto via use-livecode wrote: >>>>> What happens if you play the file locally on each device? >>>>> >>>>> -Mark >>>>> >>>>> On Wed, Apr 8, 2020 at 10:22 PM J. Landman Gay via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>>> Not sure what you mean by "an existing app" but my test app uses >>>>>> mobileControlCreate to set up >>>>>> a mobile player. When it accesses the video from my server, it's all >>>> black >>>>>> with no video or >>>>>> audio, and the nonexistent playback quits a few seconds in. >>>>>> >>>>>> I'm not sure whether these videos were created with streaming in mind. I >>>>>> vaguely remember we >>>>>> used to need to set a "streaming" checkbox when creating a video. Is >>>> that >>>>>> still required? >>>>>> >>>>>>>> -- >>>>>>>> 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 >>>>> >>>> >>>> >>>> -- >>>> 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 >>>> >> >> >> -- >> 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 jacque at hyperactivesw.com Fri Apr 10 16:51:43 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Apr 2020 15:51:43 -0500 Subject: Old Fossil seeks fast track assistance In-Reply-To: References: <1B5FE27E-88F3-4AEE-A696-DF8C658DB3A1@mac.com> <84635384-6F4A-4E06-8085-08200668D802@mac.com> <4D54BD8A-A891-4093-B440-DEBD18AE4AE8@byu.edu> <8F138DD3-A35B-452A-AEF2-267558D57FDA@mac.com> <17164e2b7c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <088babb1-22df-8c93-f727-b98d29eb7c84@hyperactivesw.com> On 4/10/20 12:42 PM, Graham Samuel via use-livecode wrote: > Thanks Jacque, but that?s the trouble - I can?t turn them off. I thought of trashing the LC Preferences to see if that does anything, but I couldn?t find them: I think they are in the plist, which is in the Preferences in the system library. I tried temporarily switching this off (by renaming the file and starting LC) - it stopped LC fully loading (not surprising really). I restored the plist and LC had forgotten some stuff like recent stacks. I checked that the mobile preference pane still has its green square and can see XCode, but the Standalone Settings still does not respond to mouse clicks to remove the non-mobile platforms or to choose mobile. Your LC prefs are in your user library at /Users//Library/Preferences/RunRev/livecode7.rev. I'm not sure prefs are related here though. I'd first try removing the stored standalone settings, which are stored in the stack itself. Use the property inspector to check the custom properties of the stack. There should be a property set named "revStandaloneSettings". Try deleting that set and starting over. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Apr 10 16:53:54 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Apr 2020 15:53:54 -0500 Subject: Mobile screen sizes - another naive question In-Reply-To: <5730f023-b52f-90a4-b05a-64fe04705df6@fourthworld.com> References: <171653e31b8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5730f023-b52f-90a4-b05a-64fe04705df6@fourthworld.com> Message-ID: It's similar to noBorder, but noBorder scales to the short side of the screenrect and showAll scales to the long side (regardless of orientation.) I think. I get those two mixed up. On 4/10/20 1:14 PM, Richard Gaskin via use-livecode wrote: > Good catch. It would be great if the Lessons were in Github so they could be enhanced by the > community. I guess for now a comment there is the only mechanism for filing enhancement requests. > > How does showAll differ from the options shown there? > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From colinholgate at gmail.com Fri Apr 10 17:02:08 2020 From: colinholgate at gmail.com (Colin Holgate) Date: Fri, 10 Apr 2020 15:02:08 -0600 Subject: Mobile screen sizes - another naive question In-Reply-To: References: <171653e31b8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5730f023-b52f-90a4-b05a-64fe04705df6@fourthworld.com> Message-ID: <7130E896-AADA-44F0-BF67-6BDF21128E5D@gmail.com> That description doesn?t seem correct. It partly depends on the aspect ratio of the card. With showAll you know that all of the card area will be visible. With noBorder you know that there will not be any black borders to the left and right, or top and bottom of the card area. So, with showAll either the width of the card will fill the width of the screen, or the height of the card will fit the height of the screen (or both could be true). The other axis will reveal what was off the edges of the card window. With noBorder the same width and height matching will happen, but the other axis will cut into the card area instead of revealing what was outside of the card area. > On Apr 10, 2020, at 2:53 PM, J. Landman Gay via use-livecode wrote: > > It's similar to noBorder, but noBorder scales to the short side of the screenrect and showAll scales to the long side (regardless of orientation.) > > I think. I get those two mixed up. > > On 4/10/20 1:14 PM, Richard Gaskin via use-livecode wrote: >> Good catch. It would be great if the Lessons were in Github so they could be enhanced by the community. I guess for now a comment there is the only mechanism for filing enhancement requests. >> How does showAll differ from the options shown there? > > > -- > 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 Fri Apr 10 17:14:17 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Apr 2020 16:14:17 -0500 Subject: Video format for mobile In-Reply-To: <8C91582F-31EF-4266-9CAC-24E980A58FE6@gmail.com> References: <9E730E77-41D8-434F-A6BE-72D54F2C3FC9@livecode.com> <12827bb8-cdaf-bba1-3dd1-c9219ba93516@hyperactivesw.com> <8C91582F-31EF-4266-9CAC-24E980A58FE6@gmail.com> Message-ID: <3a0e4edc-746c-0bc2-8a00-2b84173ef1b5@hyperactivesw.com> I haven't actually tried either of those because 1) I can't expect users to fiddle with hardware acceleration, and 2) there aren't any security issues, since (as I just noticed) the player control in the IDE will play the video. I thought it didn't work before because the size of the video is so large that all I saw was a portion of the initial white frame; the controller and edges were far off the card boundaries. Once I enlarged the card to something huge, I could see the controller and play the video, which did work. Since the test stack does not use acceleratedRendering at all, I don't think the bug Mark mentioned applies, though who knows. I couldn't find a bug report. I'm now wondering if the video needs to have a special setting for streaming. When I play it with the LC player in the IDE, it starts up instantaly and plays. On Android, I see a black rectangle with a controller that disappears after some seconds. After that nothing happens. I've waited several minutes to see if Android was trying to download the entire file (which is 100 MB) but either I didn't wait long enough or it didn't work. So that's why I'm wondering if the video needs to be specifically created with a streaming flag. On 4/9/20 5:34 PM, Colin Holgate via use-livecode wrote: > Only H.264/AAC is acceptable! > > Have you tried setting hardware acceleration rendering to be on? > > Have you tried including a small video file in the app, to help rule out security issues? > > >> On Apr 9, 2020, at 4:10 PM, J. Landman Gay via use-livecode wrote: >> >> On 4/9/20 3:41 PM, Colin Holgate via use-livecode wrote: >>> A long time ago it was possible to work around hardware acceleration issues by playing the video at a different size. That is, a 1920x1080 playback would fail and a 1920x1081 would work. It was just a trick to force the player to use software instead of hardware. >> >> >> I have a hard deadline in a short time. If necessary we'll have to convert at least a few of the videos to something else if the problem isn't resolved by dp4. >> >> What codec is acceptable? >> >> -- >> 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 jacque at hyperactivesw.com Fri Apr 10 17:17:31 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Apr 2020 16:17:31 -0500 Subject: Mobile screen sizes - another naive question In-Reply-To: <5baffa01-8163-45f1-88f6-21e8c9ae0621@Spark> References: <171653e31b8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5730f023-b52f-90a4-b05a-64fe04705df6@fourthworld.com> <5baffa01-8163-45f1-88f6-21e8c9ae0621@Spark> Message-ID: <8703d813-3f9e-01ab-8a07-52f3dc72bf74@hyperactivesw.com> I hadn't thought about it that way. That's easier to remember. On 4/10/20 1:20 PM, Brian Milby via use-livecode wrote: > showAll is the same as letterBox but the borders are the stack background instead of black. > > Thanks, > Brian > On Apr 10, 2020, 2:15 PM -0400, Richard Gaskin via use-livecode , wrote: >> Good catch. It would be great if the Lessons were in Github so they >> could be enhanced by the community. I guess for now a comment there is >> the only mechanism for filing enhancement requests. >> >> How does showAll differ from the options shown there? >> >> -- >> Richard Gaskin >> Fourth World Systems >> >> >> J. Landman Gay wrote: >>> I hadn't seen that lesson before. They didn't include showAll though. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On April 10, 2020 12:11:40 PM Richard Gaskin via use-livecode >>> wrote: >>> >>>> Brian Milby wrote: >>>> >>>>> I also built a stack last year to show how much space is not used when >>>>> using different modes. I'll see if I can locate that and make it >>>>> available. >>>> >>>> Useful I'm sure, but this lesson about using fullScreenMode as an option >>>> for handling different screen sizes includes illustrations showing the >>>> various crop/pad/stretch/distort effects available with each of the modes: >>>> >>>> http://lessons.livecode.com/m/15262/l/565745-how-do-i-make-my-app-scale-to-fit-the-screen-on-all-devices >>>> >> >> >> _______________________________________________ >> 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 livfoss at mac.com Fri Apr 10 17:51:11 2020 From: livfoss at mac.com (Graham Samuel) Date: Fri, 10 Apr 2020 23:51:11 +0200 Subject: Can't change or see Standalone Settings [was: Re: Old Fossil seeks fast track assistance] In-Reply-To: <8F138DD3-A35B-452A-AEF2-267558D57FDA@mac.com> References: <1B5FE27E-88F3-4AEE-A696-DF8C658DB3A1@mac.com> <84635384-6F4A-4E06-8085-08200668D802@mac.com> <4D54BD8A-A891-4093-B440-DEBD18AE4AE8@byu.edu> <8F138DD3-A35B-452A-AEF2-267558D57FDA@mac.com> Message-ID: <5DD70FE7-E4FB-438D-A565-897C061EA962@mac.com> Just to add to the mystery, I just imported a stack from Brian Milby, who has been very helpful with other problems of mine. I had a look at the Standalone Settings for his stack, and I can't alter the mobile ones (the desktop ones are not checked in his case), and in particular I can?t open the window with the detail of the settings by clicking on the iOS icon. I then tried to look at the settings on some old desktop app stacks of mine. Same thing, can?t look at the detailed settings, even for say a Mac build. So my copy of LC 9.5.1 appears to be playing up. I suppose I could try to re-install it (I only installed it a few days ago), but why would that work? Any ideas gratefully received. Graham > On 10 Apr 2020, at 15:47, Graham Samuel wrote: > > Thanks for the quick reply. I have the green square! I remember when it turned from red to green. But sadly my standalone settings window remains stubbornly inactive - not frozen: something happens when I click on General, Stacks, Copy files etc, but the next five icons to the right which let you decide what platform(s) you want to build for simply don?t react to mouse clicks. The last two (HTML5 and Bugs) do react. It?s as if I was not allowed to choose the platform. Is it something to do with my licence? I suppose I could ask the mother ship, though it?s Lockdown and Easter which might cause a bit of delay! > > Thanks again > > Graham > > >> On 9 Apr 2020, at 20:53, Devin Asay via use-livecode wrote: >> >> Graham, >> >> Not really visualizing what you?re seeing. When you choose Xcode from your LiveCode mobile support preference pane, all you should have to do is navigate to Xcode using the Add Entry button, choose Xcode, and the square next to the iOS section should turn green. If you see the green square you should be good to go to do Test deploys to the iOS Simulator. >> >> It?s all about the Green Square! >> >> Devin >> >>> On Apr 9, 2020, at 9:23 AM, Graham Samuel via use-livecode wrote: >>> >>> Devin. I was too optimistic in thinking things would now go smoothly! I would very much appreciated your advice on the following: >>> >>> Following your advice to your students, I have downloaded and installed the latest XCode I can use on my Mac, which is 10.1. I have set the mobile preferences of my LiveCode 9.5.1 Indy to point to the developer section in the XCode app as you instruct (to be certain, I deleted the default and input the info afresh). I can open a simulator for any of my target iPhones - but when I try to set the Standalone settings for my current project, I am unable to select iOS as an option, and indeed I don?t see a detailed set of parameters but just a simpler window. (I think it?s called the General Settings) In fact I find that I can?t add or subtract any platform, although I notice that Mac, Windows and Linux all have a green checkmark, which I don?t want! There is supposed to be a Mode Selector accessed by the top left button on this screen, but I am not seeing it. >>> >>> I suppose there must be something wrong with my project, which is at an early stage, but features an iPhone shaped card with some buttons on it, at least! >>> >>> I suppose the answer is very very simple, but I have not been able to find it. I just can?t see what I?m doing wrong, and if there?s anything in the LC documentation about this, it is not obvious, nor do the LC preferences settings help. >>> >>> Sorry for the interruption - I hope you (or someone else on the list) can help as I am now completely stuck as far as proper testing goes. >>> >>> Graham >>> >>> >>>> On 6 Apr 2020, at 16:55, Devin Asay via use-livecode > wrote: >>>> >>>> Graham, >>>> >>>> I?ve just been through this gauntlet with my students. I provided some links and lessons for them at http://livecode.byu.edu/mobile/test-deploy-links.php . I found the process for setting up Android a little fraught with pitfalls, so I created an expanded instruction sheet for Android setup, linked to that page. >>>> >>>> I?m staying with the latest Stable version of LiveCode for my class, 9.5.1. I?m running on Mac OS 10.14 Mojave. With this setup I have to use Xcode 10.1. >>>> >>>> As a refresher, on developer.apple.com >, you need to create your iOS developer certificate, register all of the UDIDs for your iOS devices, then create a wildcard provisioning profile for testing your apps. The provisioning profile must include all devices you want to test on. >>>> >>>> A collection of links of instructions for distributing mobile apps: http://livecode.byu.edu/mobile/mobileAppDistribution.php . >>>> >>>> I hope this will all help jog your memory. I find mine needs to be jogged every time I come back to this mobile stuff after a long time away. >>>> >>>> Cheers, >>>> >>>> Devin >>> >>> _______________________________________________ >>> 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 Fri Apr 10 18:06:27 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 10 Apr 2020 15:06:27 -0700 Subject: Apps to fight COVID-19 In-Reply-To: <505e76c7-3381-43b2-8deb-ba2adb89e03d@Spark> References: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> <7331236A-5F3D-44F0-8584-B813C6C9868B@gmail.com> <4D8A15A3-FD9D-4DB1-8AA2-52949B0DEB71@swcp.com> <1f020fd7-9162-4e5f-bfba-eb78067a56fd@Spark> <54D073BD-51E2-4652-8FFC-1FFA98C25A2A@swcp.com> <80B0BC53-7BD8-4E77-AD56-46CFC47C44FE@swcp.com> <59B4960A-4A5C-4838-A628-9B875356284B@swcp.com> <505e76c7-3381-43b2-8deb-ba2adb89e03d@Spark> Message-ID: <0b1eb7bb-e74b-888d-e348-8ec025de4f9e@sonic.net> On 4/10/20 11:56 AM, Mike Doub via use-livecode wrote: > Apple and Google adding contact tracking to their OSs > > https://www.nytimes.com/2020/04/10/business/stock-market-today-coronavirus.html#link-418ae121 From my limited understanding of this, Apple and Google are creating an API which will be part of the OS. And then it's up to developers to create apps and convince users to download them (Apple gets their 30% off the top, no?). So at best we have reporting from the set of users who have decided to opt in, download an app, and accept the app's permissions. I can just imagine what that permissions list will look like. And if I ever see a list like that on an app I'm about to install, it goes straight in the trash. This sounds like a long shot. Of course, a "standard" app will soon become compulsory for tracking and permission to be out on the street, as it did in China. https://twitter.com/ashk4n?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1248659874679902210 -- Mark Wieder ahsoftware at gmail.com From dsc at swcp.com Fri Apr 10 18:51:31 2020 From: dsc at swcp.com (Dar Scott Consulting) Date: Fri, 10 Apr 2020 16:51:31 -0600 Subject: Apps to fight COVID-19 In-Reply-To: <0b1eb7bb-e74b-888d-e348-8ec025de4f9e@sonic.net> References: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> <7331236A-5F3D-44F0-8584-B813C6C9868B@gmail.com> <4D8A15A3-FD9D-4DB1-8AA2-52949B0DEB71@swcp.com> <1f020fd7-9162-4e5f-bfba-eb78067a56fd@Spark> <54D073BD-51E2-4652-8FFC-1FFA98C25A2A@swcp.com> <80B0BC53-7BD8-4E77-AD56-46CFC47C44FE@swcp.com> <59B4960A-4A5C-4838-A628-9B875356284B@swcp.com> <505e76c7-3381-43b2-8deb-ba2adb89e03d@Spark> <0b1eb7bb-e74b-888d-e348-8ec025de4f9e@sonic.net> Message-ID: <26D44D5C-32E1-47BE-A8CD-455B7FC9A37E@swcp.com> Don't know what "list like that" you are referring to. Currently, Android (and maybe iOS, too, I don't know) requires Location as a prerequisite to using Bluetooth. My impression is that with the new API, this is not required. So, the list for any app is smaller. I believe currently COVID watch only needs Bluetooth, Location (because of Bluetooth), notifications (but I'm hoping that can be made optional) and Internet. I haven't looked at the akp, uh, apk uh, whatever it is. A concern that I have is that what was open source and peer reviewed is now pushed down into the API. And will that API be available on all Android 5.0 up? iOS 11 up? COVID Watch is not stopping to see how this plays out. The team is testing this weekend. The same with DP3T. So, maybe we don't need no API improvements. Maybe. I hope an app by one of the teams concerned about privacy will beat "to market" any government app. I would be very upset of Big Brother mandated the use of COVID Watch. I knew a fellow who worked hard for liberty in Cuba only to have the work stolen by Castro in a power grab. Maybe this is where you can contribute, Mark. You can help protect us. Maybe you can come up with some ways to test apps and APIs. Maybe you can come up with methods to help with contact tracing that don't rely on a long list of permissions. Of course, the 4Catalyst project is pretty cool, too. > On Apr 10, 2020, at 4:06 PM, Mark Wieder via use-livecode wrote: > > On 4/10/20 11:56 AM, Mike Doub via use-livecode wrote: >> Apple and Google adding contact tracking to their OSs >> https://www.nytimes.com/2020/04/10/business/stock-market-today-coronavirus.html#link-418ae121 > > From my limited understanding of this, Apple and Google are creating an API which will be part of the OS. And then it's up to developers to create apps and convince users to download them (Apple gets their 30% off the top, no?). So at best we have reporting from the set of users who have decided to opt in, download an app, and accept the app's permissions. > > I can just imagine what that permissions list will look like. And if I ever see a list like that on an app I'm about to install, it goes straight in the trash. This sounds like a long shot. > > Of course, a "standard" app will soon become compulsory for tracking and permission to be out on the street, as it did in China. > > https://twitter.com/ashk4n?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1248659874679902210 > > -- > 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 ambassador at fourthworld.com Fri Apr 10 18:58:11 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Apr 2020 15:58:11 -0700 Subject: Apps to fight COVID-19 In-Reply-To: <0b1eb7bb-e74b-888d-e348-8ec025de4f9e@sonic.net> References: <0b1eb7bb-e74b-888d-e348-8ec025de4f9e@sonic.net> Message-ID: Mark Wieder wrote: > Of course, a "standard" app will soon become compulsory for tracking > and permission to be out on the street, as it did in China. > > https://twitter.com/ashk4n?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1248659874679902210 If compulsory, the first thing I'll do is throw my phone away. The second thing I'll do is join the millions in the streets reminder our leadership that we don't do things here like they're done in China. #BillOfRights -- 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 lists at mangomultimedia.com Fri Apr 10 18:58:27 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 10 Apr 2020 17:58:27 -0500 Subject: Apps to fight COVID-19 In-Reply-To: <0b1eb7bb-e74b-888d-e348-8ec025de4f9e@sonic.net> References: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> <7331236A-5F3D-44F0-8584-B813C6C9868B@gmail.com> <4D8A15A3-FD9D-4DB1-8AA2-52949B0DEB71@swcp.com> <1f020fd7-9162-4e5f-bfba-eb78067a56fd@Spark> <54D073BD-51E2-4652-8FFC-1FFA98C25A2A@swcp.com> <80B0BC53-7BD8-4E77-AD56-46CFC47C44FE@swcp.com> <59B4960A-4A5C-4838-A628-9B875356284B@swcp.com> <505e76c7-3381-43b2-8deb-ba2adb89e03d@Spark> <0b1eb7bb-e74b-888d-e348-8ec025de4f9e@sonic.net> Message-ID: On Fri, Apr 10, 2020 at 5:07 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 4/10/20 11:56 AM, Mike Doub via use-livecode wrote: > > Apple and Google adding contact tracking to their OSs > > > > > https://www.nytimes.com/2020/04/10/business/stock-market-today-coronavirus.html#link-418ae121 > > From my limited understanding of this, Apple and Google are creating an > API which will be part of the OS. And then it's up to developers to > create apps and convince users to download them (Apple gets their 30% > off the top, no?). So at best we have reporting from the set of users > who have decided to opt in, download an app, and accept the app's > permissions. Here are some additional details. Seems like a good thing they are doing. https://techcrunch.com/2020/04/10/apple-and-google-are-launching-a-joint-covid-19-tracing-tool/ -- Trevor DeVore ScreenSteps From cubist at aol.com Fri Apr 10 19:03:07 2020 From: cubist at aol.com (Quentin Long) Date: Fri, 10 Apr 2020 23:03:07 +0000 (UTC) Subject: Building a Board Game In-Reply-To: References: Message-ID: <1159208961.4021581.1586559787337@mail.yahoo.com> On 7.04.20 22:24, Roger Guay via use-livecode wrote: > Hi all, > > I know there must be a simple way to do this but it is escaping me at the moment. How can I move an object (grab me on mouseDown) and have it snap to a grid (square on a board game) on mouseUp? There are any number of ways to do this thing.?Try giving?this script to the object you want to move: local DisX, DisYlocal GridSize = 20-- if grid uses different sizes for X and Y, make GridSizeX and GridSizeYlocal OriginGridX = 10local OriginGridY = 10 on mouseDown? send "TrackDaMouse" to meend mouseDown on TrackDaMouse? put the mouseLoc into Fred? put GridSize * ((item 1 of Fred - OriginGridX) div GridSize) + OriginGridX into DisX? put GridSize * ((item 2 of Fred - OriginGridY) div GridSize) + OriginGridY into DisY? set the loc of me to Fred? if the mouse is down then? ? send "TrackDaMouse" to me in 20 msec? else? ? move me to (DisX, DisY) in .5 seconds? end ifend TrackDaMouse From dsc at swcp.com Fri Apr 10 19:18:59 2020 From: dsc at swcp.com (Dar Scott Consulting) Date: Fri, 10 Apr 2020 17:18:59 -0600 Subject: Apps to fight COVID-19 In-Reply-To: References: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> <7331236A-5F3D-44F0-8584-B813C6C9868B@gmail.com> <4D8A15A3-FD9D-4DB1-8AA2-52949B0DEB71@swcp.com> <1f020fd7-9162-4e5f-bfba-eb78067a56fd@Spark> <54D073BD-51E2-4652-8FFC-1FFA98C25A2A@swcp.com> <80B0BC53-7BD8-4E77-AD56-46CFC47C44FE@swcp.com> <59B4960A-4A5C-4838-A628-9B875356284B@swcp.com> <505e76c7-3381-43b2-8deb-ba2adb89e03d@Spark> <0b1eb7bb-e74b-888d-e348-8ec025de4f9e@sonic.net> Message-ID: <2A5F4F79-959D-476F-89EB-BA32A80AD051@swcp.com> The illustrations from Google in that article are goofed up. I don't know whether Google did it or TechCrunch. The gray background confuses things. The "few days later" goes left to right not top to bottom. The order should be... Alice and Bob meet... Their phones exchange... A few days later... Bob is positively... With Bob's consent... Alice continues... Alice's phone... Sometime later... Alice sees a notification... Alice's phone... I'm not saying that is the best way, only that the description of the procedure outlined by Google is confusing. > On Apr 10, 2020, at 4:58 PM, Trevor DeVore via use-livecode wrote: > > On Fri, Apr 10, 2020 at 5:07 PM Mark Wieder via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 4/10/20 11:56 AM, Mike Doub via use-livecode wrote: >>> Apple and Google adding contact tracking to their OSs >>> >>> >> https://www.nytimes.com/2020/04/10/business/stock-market-today-coronavirus.html#link-418ae121 >> >> From my limited understanding of this, Apple and Google are creating an >> API which will be part of the OS. And then it's up to developers to >> create apps and convince users to download them (Apple gets their 30% >> off the top, no?). So at best we have reporting from the set of users >> who have decided to opt in, download an app, and accept the app's >> permissions. > > > Here are some additional details. Seems like a good thing they are doing. > > https://techcrunch.com/2020/04/10/apple-and-google-are-launching-a-joint-covid-19-tracing-tool/ > > -- > Trevor DeVore > ScreenSteps > _______________________________________________ > 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 dsc at swcp.com Fri Apr 10 19:22:20 2020 From: dsc at swcp.com (Dar Scott Consulting) Date: Fri, 10 Apr 2020 17:22:20 -0600 Subject: Apps to fight COVID-19 In-Reply-To: References: <0b1eb7bb-e74b-888d-e348-8ec025de4f9e@sonic.net> Message-ID: <836C12E6-E1C5-4A0B-B4F1-C5CFA4E957AA@swcp.com> Alright, Richard! But, uh, before you hit the streets, put on your mask and download a contact tracing app from a competent freedom-loving source. > On Apr 10, 2020, at 4:58 PM, Richard Gaskin via use-livecode wrote: > > Mark Wieder wrote: > > Of course, a "standard" app will soon become compulsory for tracking > > and permission to be out on the street, as it did in China. > > > > https://twitter.com/ashk4n?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1248659874679902210 > > If compulsory, the first thing I'll do is throw my phone away. The second thing I'll do is join the millions in the streets reminder our leadership that we don't do things here like they're done in China. > #BillOfRights > > -- > 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 dsc at swcp.com Fri Apr 10 19:42:07 2020 From: dsc at swcp.com (dsc at swcp.com) Date: Fri, 10 Apr 2020 17:42:07 -0600 Subject: Apps to fight COVID-19 In-Reply-To: <2A5F4F79-959D-476F-89EB-BA32A80AD051@swcp.com> References: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> <7331236A-5F3D-44F0-8584-B813C6C9868B@gmail.com> <4D8A15A3-FD9D-4DB1-8AA2-52949B0DEB71@swcp.com> <1f020fd7-9162-4e5f-bfba-eb78067a56fd@Spark> <54D073BD-51E2-4652-8FFC-1FFA98C25A2A@swcp.com> <80B0BC53-7BD8-4E77-AD56-46CFC47C44FE@swcp.com> <59B4960A-4A5C-4838-A628-9B875356284B@swcp.com> <505e76c7-3381-43b2-8deb-ba2adb89e03d@Spark> <0b1eb7bb-e74b-888d-e348-8ec025de4f9e@sonic.net> <2A5F4F79-959D-476F-89EB-BA32A80AD051@swcp.com> Message-ID: <4A07A662-42FA-4F02-A55E-45895EA87871@swcp.com> Short rant; skip if busy. What really gets me is that Carmela Troncoso, with help from an asteroid belt of others, has worked hard on DP-3T, and Apple/Google adopts it with some changes and then is all Apple/Google! Apple/Google! in the news. I know that a big name can save lives. And I expect Dr. Troncoso is not in it for the glory. But, still... I want to recognize my heroes. And I'm sure there are some heroes out there that are only known to be heroes by a few, and those might be the cats. > On Apr 10, 2020, at 5:18 PM, Dar Scott Consulting via use-livecode wrote: > > The illustrations from Google in that article are goofed up. I don't know whether Google did it or TechCrunch. > > The gray background confuses things. The "few days later" goes left to right not top to bottom. > > The order should be... > > Alice and Bob meet... > Their phones exchange... > A few days later... > Bob is positively... > With Bob's consent... > Alice continues... > Alice's phone... > Sometime later... > Alice sees a notification... > Alice's phone... > > I'm not saying that is the best way, only that the description of the procedure outlined by Google is confusing. > > > > >> On Apr 10, 2020, at 4:58 PM, Trevor DeVore via use-livecode wrote: >> >> On Fri, Apr 10, 2020 at 5:07 PM Mark Wieder via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> On 4/10/20 11:56 AM, Mike Doub via use-livecode wrote: >>>> Apple and Google adding contact tracking to their OSs >>>> >>>> >>> https://www.nytimes.com/2020/04/10/business/stock-market-today-coronavirus.html#link-418ae121 >>> >>> From my limited understanding of this, Apple and Google are creating an >>> API which will be part of the OS. And then it's up to developers to >>> create apps and convince users to download them (Apple gets their 30% >>> off the top, no?). So at best we have reporting from the set of users >>> who have decided to opt in, download an app, and accept the app's >>> permissions. >> >> >> Here are some additional details. Seems like a good thing they are doing. >> >> https://techcrunch.com/2020/04/10/apple-and-google-are-launching-a-joint-covid-19-tracing-tool/ >> >> -- >> Trevor DeVore >> ScreenSteps >> _______________________________________________ >> 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 Fri Apr 10 21:16:33 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 10 Apr 2020 18:16:33 -0700 Subject: Apps to fight COVID-19 In-Reply-To: <26D44D5C-32E1-47BE-A8CD-455B7FC9A37E@swcp.com> References: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> <7331236A-5F3D-44F0-8584-B813C6C9868B@gmail.com> <4D8A15A3-FD9D-4DB1-8AA2-52949B0DEB71@swcp.com> <1f020fd7-9162-4e5f-bfba-eb78067a56fd@Spark> <54D073BD-51E2-4652-8FFC-1FFA98C25A2A@swcp.com> <80B0BC53-7BD8-4E77-AD56-46CFC47C44FE@swcp.com> <59B4960A-4A5C-4838-A628-9B875356284B@swcp.com> <505e76c7-3381-43b2-8deb-ba2adb89e03d@Spark> <0b1eb7bb-e74b-888d-e348-8ec025de4f9e@sonic.net> <26D44D5C-32E1-47BE-A8CD-455B7FC9A37E@swcp.com> Message-ID: <3c1e5b8d-9721-0c14-fc4b-75d957215753@sonic.net> On 4/10/20 3:51 PM, Dar Scott Consulting via use-livecode wrote: > Don't know what "list like that" you are referring to. Currently, Android (and maybe iOS, too, I don't know) requires Location as a prerequisite to using Bluetooth. My impression is that with the new API, this is not required. So, the list for any app is smaller. Requiring location to be enabled for Bluetooth is a design decision. Originally it was not required for Android, but your location can be leaked by Bluetooth anyway (it has MAC addresses), so in later versions of Android location permission has been a requirement if you're going to enable Bluetooth, just to explicitly let the user know that their location is not going to be private. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Fri Apr 10 21:16:42 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 10 Apr 2020 18:16:42 -0700 Subject: Apps to fight COVID-19 In-Reply-To: References: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> <7331236A-5F3D-44F0-8584-B813C6C9868B@gmail.com> <4D8A15A3-FD9D-4DB1-8AA2-52949B0DEB71@swcp.com> <1f020fd7-9162-4e5f-bfba-eb78067a56fd@Spark> <54D073BD-51E2-4652-8FFC-1FFA98C25A2A@swcp.com> <80B0BC53-7BD8-4E77-AD56-46CFC47C44FE@swcp.com> <59B4960A-4A5C-4838-A628-9B875356284B@swcp.com> <505e76c7-3381-43b2-8deb-ba2adb89e03d@Spark> <0b1eb7bb-e74b-888d-e348-8ec025de4f9e@sonic.net> Message-ID: On 4/10/20 3:58 PM, Trevor DeVore via use-livecode wrote: > Here are some additional details. Seems like a good thing they are doing. It *is* a good thing, no doubt about it. But the opportunities for misuse are rife. TSA: "You can't fly unless you have a RealID and a green indicator on the official Covid19 app." -- Mark Wieder ahsoftware at gmail.com From skiplondon at gmail.com Fri Apr 10 21:17:09 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Fri, 10 Apr 2020 21:17:09 -0400 Subject: Livecode and AWS Sql In-Reply-To: <004c01d60f64$0c596620$250c3260$@net> References: <000801d60f36$37c7cd20$a7576760$@net> <002401d60f44$c04fb410$40ef1c30$@net> <002c01d60f48$2f7d4890$8e77d9b0$@net> <004101d60f5e$3d8a13d0$b89e3b70$@net> <004c01d60f64$0c596620$250c3260$@net> Message-ID: Okay, went back to the PC side and was able to successfully connect to a local SQL server. When I put in the address and db info for the AWS web server, I am getting this when connecting: "Invalid String or Buffer Length. I will deal with the Mac side later... just need to get the PC side up and running for now. Any suggestions on this error message? On Fri, Apr 10, 2020 at 2:12 PM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > I have connected to SQLserver and MySQL remote servers. Did you try to use > MS Access via the ODBC connector as a test? > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > > > From: Skip Kimpel [mailto:skiplondon at gmail.com] > Sent: Friday, April 10, 2020 1:46 PM > To: How to use LiveCode > Cc: Ralph DiMola > Subject: Re: Livecode and AWS Sql > > > > Interestingly enough, I brought over everything to the Windows side to > test there and I STILL cannot connect! This might go back to an AWS > question OR remote SQL question. Ralph, do you normally connect to SQL via > your local machine/local network or do connect to remote SQL servers. > Going back in my internal memory banks, I don't know if I have ever > connected to a remote, cloud based SQL server before. > > > > SKIP > > > > On Fri, Apr 10, 2020 at 1:31 PM Skip Kimpel wrote: > > Good to know. > > > > > > SKIP > > > > On Fri, Apr 10, 2020 at 1:30 PM Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > > You can have multiple versions of Xcode installed. For instance you can > have 10.1 and 11.4 installed. Point LC to 11.1. I have all of my Xcode > versions in a desktop folder and have none in applications. You just have > to make sure the proper version is active for building. > > > > Display current version ? xcode-select -print-path > > Change version ? sudo xcode-select -switch Xcode.app > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > > > From: Skip Kimpel [mailto:skiplondon at gmail.com] > Sent: Friday, April 10, 2020 1:08 PM > To: How to use LiveCode > Cc: Ralph DiMola > Subject: Re: Livecode and AWS Sql > > > > Just a as follow up, I installed that Xcode 11.4, ran the previous script > and it looks like it installed properly. HOWEVER, I still cannot connect to > my SQL database. Also, by doing that, my Mac mobile development > environment disappeared. I have since uninstalled 11.4 and went back to > 10.1. > > > > Beyond frustrating... I must be getting old ; > > > > SKIP > > > > On Fri, Apr 10, 2020 at 10:56 AM Skip Kimpel wrote: > > I do appreciate your help, Ralph. You and I are in the same boat in > regards to their comfort level having primarily worked in a Windows > environment in the past. > > > > SKIP > > > > On Fri, Apr 10, 2020 at 10:53 AM Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > > From what I can see you will either need to install Xcode 11.4 or use a > previous version of the ODBC SW. But I?m starting to get out of my comfort > zone now. I do some Mac dev but I?m mainly a Windows developer. > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > > > From: Skip Kimpel [mailto:skiplondon at gmail.com] > Sent: Friday, April 10, 2020 10:35 AM > To: How to use LiveCode > Cc: Ralph DiMola > Subject: Re: Livecode and AWS Sql > > > > Unfortunately, I don't think it is that straight forward. I went down > this path already. The files that you can download are Windows MSI > installation files. You can run it manually by using the following > commands: > > > > /usr/bin/ruby -e "$(curl -fsSL > https://raw.githubusercontent.com/Homebrew/install/master/install)" > > brew tap microsoft/mssql-release > https://github.com/Microsoft/homebrew-mssql-release > > brew update > > HOMEBREW_NO_ENV_FILTERING=1 ACCEPT_EULA=Y brew install msodbcsql17 > mssql-tools > > > > However, when I run the last command, I get: > > Error: Your Xcode (10.1) is too outdated. > > Please update to Xcode 11.4 (or delete it). > > Xcode can be updated from the App Store. > > > > Do I really need Xcode in order to install SQL? I also thought I read > that I needed to Xcode 10.1 in order to be compatible with the latest > version of LC. Maybe I am wrong here. > > > > > > SKIP > > > > On Fri, Apr 10, 2020 at 10:28 AM Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > > https://www.microsoft.com/en-us/download/details.aspx?id=56567 > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > Phone: 518-636-3998 Ex:11 > > Cell: 518-796-9332 > > > > From: Skip Kimpel [mailto:skiplondon at gmail.com] > Sent: Friday, April 10, 2020 10:19 AM > To: How to use LiveCode > Cc: Ralph DiMola > Subject: Re: Livecode and AWS Sql > > > > I am so used to running in the Windows world that I don't think I have a > SQL ODBC driver installed on my MAC. I googled it a little bit and did not > find too much help. Anybody have suggestions on this piece? > > SKIP > > > > On Fri, Apr 10, 2020 at 9:44 AM Skip Kimpel wrote: > > Nope... am able to connect via other programs..... > > > > SKIP > > > > On Fri, Apr 10, 2020 at 8:44 AM Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > > Firewall port? > > Ralph DiMola > IT Director > Evergreen Information Services > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Skip Kimpel via use-livecode > Sent: Thursday, April 09, 2020 10:10 PM > To: How to use LiveCode > Cc: Skip Kimpel > Subject: Livecode and AWS Sql > > Any trick to connecting to an AWS Sql instance? I am using some of my old > scripts that always hooked up properly to a local Sql server. Wondering if > I might be a trick for AWS or heck, my method might be old and there is a > better way to do it. > > *put revOpenDatabase("ODBC","DRIVER=SQL > > Server;SERVER="&myServerAddress&";DATABASE="&myDB&";UID="&tDatabaseUser&";PW > D="&tDatabasePassword&"") > into gConnID* > > > SKIP > _______________________________________________ > 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 > > _______________________________________________ > 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 dsc at swcp.com Fri Apr 10 21:38:31 2020 From: dsc at swcp.com (Dar Scott Consulting) Date: Fri, 10 Apr 2020 19:38:31 -0600 Subject: Apps to fight COVID-19 In-Reply-To: References: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> <7331236A-5F3D-44F0-8584-B813C6C9868B@gmail.com> <4D8A15A3-FD9D-4DB1-8AA2-52949B0DEB71@swcp.com> <1f020fd7-9162-4e5f-bfba-eb78067a56fd@Spark> <54D073BD-51E2-4652-8FFC-1FFA98C25A2A@swcp.com> <80B0BC53-7BD8-4E77-AD56-46CFC47C44FE@swcp.com> <59B4960A-4A5C-4838-A628-9B875356284B@swcp.com> <505e76c7-3381-43b2-8deb-ba2adb89e03d@Spark> <0b1eb7bb-e74b-888d-e348-8ec025de4f9e@sonic.net> Message-ID: You are right. We must remain diligent. > On Apr 10, 2020, at 7:16 PM, Mark Wieder via use-livecode wrote: > > On 4/10/20 3:58 PM, Trevor DeVore via use-livecode wrote: > >> Here are some additional details. Seems like a good thing they are doing. > > It *is* a good thing, no doubt about it. > But the opportunities for misuse are rife. > TSA: "You can't fly unless you have a RealID and a green indicator on the official Covid19 app." > > -- > 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 irog at mac.com Fri Apr 10 22:11:34 2020 From: irog at mac.com (Roger Guay) Date: Fri, 10 Apr 2020 19:11:34 -0700 Subject: Building a Board Game In-Reply-To: <1159208961.4021581.1586559787337@mail.yahoo.com> References: <1159208961.4021581.1586559787337@mail.yahoo.com> Message-ID: <79A7EE4E-7069-4F40-8A31-D50BBFCDF7D0@mac.com> Thank you, Quentin. I?ll give it a try. Roger > On Apr 10, 2020, at 4:03 PM, Quentin Long via use-livecode wrote: > > On 7.04.20 22:24, Roger Guay via use-livecode wrote: >> Hi all, >> >> I know there must be a simple way to do this but it is escaping me at the moment. How can I move an object (grab me on mouseDown) and have it snap to a grid (square on a board game) on mouseUp? > There are any number of ways to do this thing. Try giving this script to the object you want to move: > local DisX, DisYlocal GridSize = 20-- if grid uses different sizes for X and Y, make GridSizeX and GridSizeYlocal OriginGridX = 10local OriginGridY = 10 > on mouseDown send "TrackDaMouse" to meend mouseDown > on TrackDaMouse put the mouseLoc into Fred put GridSize * ((item 1 of Fred - OriginGridX) div GridSize) + OriginGridX into DisX put GridSize * ((item 2 of Fred - OriginGridY) div GridSize) + OriginGridY into DisY set the loc of me to Fred if the mouse is down then send "TrackDaMouse" to me in 20 msec else move me to (DisX, DisY) in .5 seconds end ifend TrackDaMouse > _______________________________________________ > 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 Fri Apr 10 22:27:30 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Apr 2020 21:27:30 -0500 Subject: Apps to fight COVID-19 In-Reply-To: <4A07A662-42FA-4F02-A55E-45895EA87871@swcp.com> References: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> <7331236A-5F3D-44F0-8584-B813C6C9868B@gmail.com> <4D8A15A3-FD9D-4DB1-8AA2-52949B0DEB71@swcp.com> <1f020fd7-9162-4e5f-bfba-eb78067a56fd@Spark> <54D073BD-51E2-4652-8FFC-1FFA98C25A2A@swcp.com> <80B0BC53-7BD8-4E77-AD56-46CFC47C44FE@swcp.com> <59B4960A-4A5C-4838-A628-9B875356284B@swcp.com> <505e76c7-3381-43b2-8deb-ba2adb89e03d@Spark> <0b1eb7bb-e74b-888d-e348-8ec025de4f9e@sonic.net> <2A5F4F79-959D-476F-89EB-BA32A80AD051@swcp.com> <4A07A662-42FA-4F02-A55E-45895EA87871@swcp.com> Message-ID: <17167103e50.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I've resented that before. Apple adds a popular feature to iOS based on the download count of apps in its store, and then removes the original author's app and won't reinstate it. Google does the same thing but at least leaves the original app available. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 10, 2020 6:44:06 PM dsc--- via use-livecode wrote: > Short rant; skip if busy. > > What really gets me is that Carmela Troncoso, with help from an asteroid > belt of others, has worked hard on DP-3T, and Apple/Google adopts it with > some changes and then is all Apple/Google! Apple/Google! in the news. I > know that a big name can save lives. And I expect Dr. Troncoso is not in it > for the glory. But, still... > > I want to recognize my heroes. > > And I'm sure there are some heroes out there that are only known to be > heroes by a few, and those might be the cats. > > >> On Apr 10, 2020, at 5:18 PM, Dar Scott Consulting via use-livecode >> wrote: >> >> The illustrations from Google in that article are goofed up. I don't know >> whether Google did it or TechCrunch. >> >> The gray background confuses things. The "few days later" goes left to >> right not top to bottom. >> >> The order should be... >> >> Alice and Bob meet... >> Their phones exchange... >> A few days later... >> Bob is positively... >> With Bob's consent... >> Alice continues... >> Alice's phone... >> Sometime later... >> Alice sees a notification... >> Alice's phone... >> >> I'm not saying that is the best way, only that the description of the >> procedure outlined by Google is confusing. >> >> >> >> >>> On Apr 10, 2020, at 4:58 PM, Trevor DeVore via use-livecode >>> wrote: >>> >>> On Fri, Apr 10, 2020 at 5:07 PM Mark Wieder via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> On 4/10/20 11:56 AM, Mike Doub via use-livecode wrote: >>>>> Apple and Google adding contact tracking to their OSs >>>>> >>>>> >>>> https://www.nytimes.com/2020/04/10/business/stock-market-today-coronavirus.html#link-418ae121 >>>> >>>> From my limited understanding of this, Apple and Google are creating an >>>> API which will be part of the OS. And then it's up to developers to >>>> create apps and convince users to download them (Apple gets their 30% >>>> off the top, no?). So at best we have reporting from the set of users >>>> who have decided to opt in, download an app, and accept the app's >>>> permissions. >>> >>> >>> Here are some additional details. Seems like a good thing they are doing. >>> >>> https://techcrunch.com/2020/04/10/apple-and-google-are-launching-a-joint-covid-19-tracing-tool/ >>> >>> -- >>> Trevor DeVore >>> ScreenSteps >>> _______________________________________________ >>> 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 neville.smythe at optusnet.com.au Fri Apr 10 22:53:22 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sat, 11 Apr 2020 12:53:22 +1000 Subject: Go to card has become slow In-Reply-To: References: Message-ID: > On 11 Apr 2020, at 2:00 am, Brian Milby wrote > > I just imported a 500kb image to the card, removed the text from the field, > created 300 cards. > 0.756 seconds normal (171MB). 1.124 from a variable. (image instead of > text) > 8.311 seconds normal (8.2MB). 0.047 from a variable. (original text) > > I'll need to clean this up with a better image (something I can share) and > try on my Mac for comparison when I get off today, but this points squarely > at the serialization of the field object being the difference. I am intrigued by the fact that save stack (for a stack with on-disk file size 171MB) took *less* time than saving its binary data representation. Doesn?t that mean that the images were already on disk, and the in-memory stack was very much smaller than 171 MB, containing only image references. In which case I?m not sure we are comparing like with like, as compared with the text version (unless "save stack as newStackFile" might be give more comparable info?). My hunch is that Richard?s point about the Windows write-to-file overhead is still the key, not the serialisation. One would to need to compare the number of writes used by the engine for the two stack versions. That I do not know how to do , but I think the incomparable Brian could do it! Neville From colinholgate at gmail.com Fri Apr 10 22:58:28 2020 From: colinholgate at gmail.com (Colin Holgate) Date: Fri, 10 Apr 2020 20:58:28 -0600 Subject: Go to card has become slow In-Reply-To: References: Message-ID: I have an interest in this topic, and even some ideas, but I?ve been swamped with other demands and not able to read every post. Is there a short way to say where you are at with the discussion, or a test script that will show a problem? From brian at milby7.com Fri Apr 10 23:30:14 2020 From: brian at milby7.com (Brian Milby) Date: Fri, 10 Apr 2020 23:30:14 -0400 Subject: Mobile screen sizes - another naive question In-Reply-To: <8703d813-3f9e-01ab-8a07-52f3dc72bf74@hyperactivesw.com> References: <171653e31b8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5730f023-b52f-90a4-b05a-64fe04705df6@fourthworld.com> <5baffa01-8163-45f1-88f6-21e8c9ae0621@Spark> <8703d813-3f9e-01ab-8a07-52f3dc72bf74@hyperactivesw.com> Message-ID: <02705947-dcc6-427e-b919-0bb62a93d43d@Spark> I just pushed an update to my demo that adds a button to advance to the next card to make it a little more obvious. ?The second card has some shapes to see how they distort and a few text sizes. ?The third card is a demo of the TreeView Widget. ?I may tweak that a bit though to demonstrate using it as a menu (see the SivaSiva app for an example in use). I also added a mobile scroller to the log field to make it easier to use on device. ?One thing I noticed is that the scroller (on Android) seems to be placed based on actual pixel location and not the adjusted rect of the current full screen mode. ?I may be looking at it wrong though. And all of the scripts are exported and available for review directly in the repo. Thanks, Brian On Apr 10, 2020, 5:18 PM -0400, J. Landman Gay via use-livecode , wrote: > I hadn't thought about it that way. That's easier to remember. > > On 4/10/20 1:20 PM, Brian Milby via use-livecode wrote: > > showAll is the same as letterBox but the borders are the stack background instead of black. > > > > Thanks, > > Brian > > On Apr 10, 2020, 2:15 PM -0400, Richard Gaskin via use-livecode , wrote: > > > Good catch. It would be great if the Lessons were in Github so they > > > could be enhanced by the community. I guess for now a comment there is > > > the only mechanism for filing enhancement requests. > > > > > > How does showAll differ from the options shown there? > > > > > > -- > > > Richard Gaskin > > > Fourth World Systems > > > > > > > > > J. Landman Gay wrote: > > > > I hadn't seen that lesson before. They didn't include showAll though. > > > > > > > > -- > > > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > > > HyperActive Software | http://www.hyperactivesw.com > > > > On April 10, 2020 12:11:40 PM Richard Gaskin via use-livecode > > > > wrote: > > > > > > > > > Brian Milby wrote: > > > > > > > > > > > I also built a stack last year to show how much space is not used when > > > > > > using different modes. I'll see if I can locate that and make it > > > > > > available. > > > > > > > > > > Useful I'm sure, but this lesson about using fullScreenMode as an option > > > > > for handling different screen sizes includes illustrations showing the > > > > > various crop/pad/stretch/distort effects available with each of the modes: > > > > > > > > > > http://lessons.livecode.com/m/15262/l/565745-how-do-i-make-my-app-scale-to-fit-the-screen-on-all-devices > > > > > > > > > > > > > > _______________________________________________ > > > 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 > > _______________________________________________ > 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 Sat Apr 11 00:48:24 2020 From: brian at milby7.com (Brian Milby) Date: Sat, 11 Apr 2020 00:48:24 -0400 Subject: Go to card has become slow In-Reply-To: References: Message-ID: I just ran another set of tests with a much smaller image. Text: 5.85s / 0.032s / 8.183708MB Image: 0.211s / 0.034s / 9.29539MB One other thing to try tomorrow is to use an individual text field on each card instead of a shared group. I tried to download the update, but still got the original version. I could put mine up on GitHub with permission. On Fri, Apr 10, 2020 at 10:54 PM Neville Smythe via use-livecode < use-livecode at lists.runrev.com> wrote: > > On 11 Apr 2020, at 2:00 am, Brian Milby wrote > > > > I just imported a 500kb image to the card, removed the text from the > field, > > created 300 cards. > > 0.756 seconds normal (171MB). 1.124 from a variable. (image instead of > > text) > > 8.311 seconds normal (8.2MB). 0.047 from a variable. (original text) > > > > I'll need to clean this up with a better image (something I can share) > and > > try on my Mac for comparison when I get off today, but this points > squarely > > at the serialization of the field object being the difference. > > I am intrigued by the fact that save stack (for a stack with on-disk file > size 171MB) took *less* time than saving its binary data representation. > Doesn?t that mean that the images were already on disk, and the in-memory > stack was very much smaller than 171 MB, containing only image references. > In which case I?m not sure we are comparing like with like, as compared > with the text version (unless "save stack as newStackFile" might be give > more comparable info?). > > My hunch is that Richard?s point about the Windows write-to-file overhead > is still the key, not the serialisation. One would to need to compare the > number of writes used by the engine for the two stack versions. That I do > not know how to do , but I think the incomparable Brian could do it! > > Neville > _______________________________________________ > 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 david.bovill at gmail.com Sat Apr 11 03:03:55 2020 From: david.bovill at gmail.com (David Bovill) Date: Sat, 11 Apr 2020 08:03:55 +0100 Subject: Apps to fight COVID-19 In-Reply-To: <80B0BC53-7BD8-4E77-AD56-46CFC47C44FE@swcp.com> References: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> <7331236A-5F3D-44F0-8584-B813C6C9868B@gmail.com> <4D8A15A3-FD9D-4DB1-8AA2-52949B0DEB71@swcp.com> <1f020fd7-9162-4e5f-bfba-eb78067a56fd@Spark> <54D073BD-51E2-4652-8FFC-1FFA98C25A2A@swcp.com> <80B0BC53-7BD8-4E77-AD56-46CFC47C44FE@swcp.com> Message-ID: <4b19f554-c3b5-4849-a49e-375d56a55772@Spark> Personally - especially after reading the links below on Apple + Googles initiative - I?d go for story telling based around the comic in an app that we could add contact tracing functionality too. I think emphasising in the story telling privacy issues would be something that would be an important aspect and a strong point with regard to adding to the mix - rather than duplicating efforts by other groups? On 10 Apr 2020, 18:05 +0100, dsc--- via use-livecode , wrote: > And it doesn't have to be just contact tracing related. > > Jonathan Rothberg's team is working on a simple test at home that needs an app. > Cov19 at 4Catalyzer.com > > Anybody want to talk about a containment game? Or take the concept and go in one's own direction? > > Nicky Case's phone size comic is now available in several languages, so if you include that in _anything_ you do, can localize a little. > > Dar > team COVID Watch From livfoss at mac.com Sat Apr 11 08:27:52 2020 From: livfoss at mac.com (Graham Samuel) Date: Sat, 11 Apr 2020 14:27:52 +0200 Subject: Old Fossil seeks fast track assistance In-Reply-To: <088babb1-22df-8c93-f727-b98d29eb7c84@hyperactivesw.com> References: <1B5FE27E-88F3-4AEE-A696-DF8C658DB3A1@mac.com> <84635384-6F4A-4E06-8085-08200668D802@mac.com> <4D54BD8A-A891-4093-B440-DEBD18AE4AE8@byu.edu> <8F138DD3-A35B-452A-AEF2-267558D57FDA@mac.com> <17164e2b7c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <088babb1-22df-8c93-f727-b98d29eb7c84@hyperactivesw.com> Message-ID: <687A0E78-2858-45AB-9F8A-0E4581D6421E@mac.com> Jaque thanks - this has not solved it yet, but i?m sure you?re on to something. When I delete the revStandaloneSettings, save the stack and re-open it, LC itself simply restores the set to what it was before. If I look closely at the actual properties in the set, I find quite a bit about Windows, Mac and Linux, but nothing at all about mobile platforms. I am wondering now if this is to do with licensing. According to my entry on the LC web site, my copy of 9.5.1 has a licence for six platforms, i.e. Mac valid for all versions Windows valid for all versions Linux valid for all versions iOS valid for all versions Android valid for all versions Server valid for all versions BUT for some quirky reason, the LC web site shows I?ve got another copy of 9.5.1 where I have only HTML5 validity, and suggests I pay for the other platforms! As far as I know I really only have one licence, so that should now count for seven platforms. But maybe my prefs are based on the HTML-only licence - certainly the HTML button works in the Standalone Settings General window. I?m not sure I can do anything about this without the mother ship, and they are presumably at home trying to enjoy their Easter holidays at home (It?s a four day weekend in the UK and there?s total lockdown), but I?ll try. Thanks for the excellent suggestion - it?s a new path, anyway. Stay safe Graham > On 10 Apr 2020, at 22:51, J. Landman Gay via use-livecode wrote: > > On 4/10/20 12:42 PM, Graham Samuel via use-livecode wrote: >> Thanks Jacque, but that?s the trouble - I can?t turn them off. I thought of trashing the LC Preferences to see if that does anything, but I couldn?t find them: I think they are in the plist, which is in the Preferences in the system library. I tried temporarily switching this off (by renaming the file and starting LC) - it stopped LC fully loading (not surprising really). I restored the plist and LC had forgotten some stuff like recent stacks. I checked that the mobile preference pane still has its green square and can see XCode, but the Standalone Settings still does not respond to mouse clicks to remove the non-mobile platforms or to choose mobile. > > Your LC prefs are in your user library at /Users//Library/Preferences/RunRev/livecode7.rev. I'm not sure prefs are related here though. > > I'd first try removing the stored standalone settings, which are stored in the stack itself. Use the property inspector to check the custom properties of the stack. There should be a property set named "revStandaloneSettings". Try deleting that set and starting over. > > -- > 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 neville.smythe at optusnet.com.au Sat Apr 11 08:54:47 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sat, 11 Apr 2020 22:54:47 +1000 Subject: Go to card has become slow In-Reply-To: References: Message-ID: <11A935A0-3CBE-41E5-B304-7A248FC3E6AC@optusnet.com.au> Sorry Brian, I uploaded from the wrong folder. Here is the update test set. But the only difference is that you don?t need to hold down the shift key to see the binary save timing. https://www.dropbox.com/sh/cb2r9jbohxqv6bp/AAAQ1weLLlzrKYQ21yn1apf9a?dl=0 Colin, the test set here shows the timing of saving of stacks; the times for Windows 10 are a large multiple of Mac/Unix and we discussing possible reasons before updating the bug report bug 21305 for Quality Control Neville From dsc at swcp.com Sat Apr 11 09:34:11 2020 From: dsc at swcp.com (dsc at swcp.com) Date: Sat, 11 Apr 2020 07:34:11 -0600 Subject: Apps to fight COVID-19 In-Reply-To: <4b19f554-c3b5-4849-a49e-375d56a55772@Spark> References: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> <7331236A-5F3D-44F0-8584-B813C6C9868B@gmail.com> <4D8A15A3-FD9D-4DB1-8AA2-52949B0DEB71@swcp.com> <1f020fd7-9162-4e5f-bfba-eb78067a56fd@Spark> <54D073BD-51E2-4652-8FFC-1FFA98C25A2A@swcp.com> <80B0BC53-7BD8-4E77-AD56-46CFC47C44FE@swcp.com> <4b19f554-c3b5-4849-a49e-375d56a55772@Spark> Message-ID: <499A8ABA-A22E-4BFD-B3E5-C7DE1979E448@swcp.com> I like it. And it can give kids a chance to show grandma how to download apps. And this can be added to the COVID-19 button of current apps, too. > On Apr 11, 2020, at 1:03 AM, David Bovill via use-livecode wrote: > > Personally - especially after reading the links below on Apple + Googles initiative - I?d go for story telling based around the comic in an app that we could add contact tracing functionality too. I think emphasising in the story telling privacy issues would be something that would be an important aspect and a strong point with regard to adding to the mix - rather than duplicating efforts by other groups? > On 10 Apr 2020, 18:05 +0100, dsc--- via use-livecode , wrote: >> And it doesn't have to be just contact tracing related. >> >> Jonathan Rothberg's team is working on a simple test at home that needs an app. >> Cov19 at 4Catalyzer.com >> >> Anybody want to talk about a containment game? Or take the concept and go in one's own direction? >> >> Nicky Case's phone size comic is now available in several languages, so if you include that in _anything_ you do, can localize a little. >> >> Dar >> team COVID Watch > _______________________________________________ > 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 jeejeestudio at gmail.com Sat Apr 11 09:59:48 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sat, 11 Apr 2020 15:59:48 +0200 Subject: App rejected on Google Play, most probably due to Speech API in combination with Applicable for Families/Children Message-ID: Hello, i have a simple app which tells the time and date in dutch and english. I made the app for people/children who are having difficulty reading time and dates by pushing a knob in the app like Kids with Autism/Bad Sight/other limiting handicap etcetera, very simple. (of course they can ask Hey Google!, but this works for some who don't want to use Hey Google!) Also i want to extend it with more languages in time, using the set system language. It's a free app. No personal information is pulled from the device, no location, nothing. It's perfectly privacy safe & does not contain any Easter Eggs :) The ESRB score is good for any age. First i used wav samples, but now i changed it to use the Speech API. It was allowed for the "OK with Families/Children program(or how it is called in English)", anyway, now with the speech API it is rejected. According to this: https://play.google.com/about/families/children-and-families/#!?zippy_activeEl=designed-for-families#designed-for-families it states: Als uw app de Android Speech API gebruikt, moet RecognizerIntent.EXTRA_CALLING_PACKAGE zijn ingesteld op de bijbehorende PackageName In English: the RecognizerIntent.EXTRA_CALLING_PACKAGE must be set with the belonging PackageName Anyone knows what this exactly means? is this something which has been set? or which can be set via script? Must a bug report be made for this? Thanks for any insight. Kind regards, Jerry From brian at milby7.com Sat Apr 11 10:08:56 2020 From: brian at milby7.com (Brian Milby) Date: Sat, 11 Apr 2020 10:08:56 -0400 Subject: Old Fossil seeks fast track assistance In-Reply-To: <687A0E78-2858-45AB-9F8A-0E4581D6421E@mac.com> References: <1B5FE27E-88F3-4AEE-A696-DF8C658DB3A1@mac.com> <84635384-6F4A-4E06-8085-08200668D802@mac.com> <4D54BD8A-A891-4093-B440-DEBD18AE4AE8@byu.edu> <8F138DD3-A35B-452A-AEF2-267558D57FDA@mac.com> <17164e2b7c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <088babb1-22df-8c93-f727-b98d29eb7c84@hyperactivesw.com> <687A0E78-2858-45AB-9F8A-0E4581D6421E@mac.com> Message-ID: Should be able to relicense the IDE. ?If it keeps using the wrong one, generate a key for the correct one on the web site and use that to license the product. Thanks, Brian On Apr 11, 2020, 8:29 AM -0400, Graham Samuel via use-livecode , wrote: > Jaque thanks - this has not solved it yet, but i?m sure you?re on to something. When I delete the revStandaloneSettings, save the stack and re-open it, LC itself simply restores the set to what it was before. If I look closely at the actual properties in the set, I find quite a bit about Windows, Mac and Linux, but nothing at all about mobile platforms. I am wondering now if this is to do with licensing. According to my entry on the LC web site, my copy of 9.5.1 has a licence for six platforms, i.e. > > Mac valid for all versions > Windows valid for all versions > Linux valid for all versions > iOS valid for all versions > Android valid for all versions > Server valid for all versions > > BUT for some quirky reason, the LC web site shows I?ve got another copy of 9.5.1 where I have only HTML5 validity, and suggests I pay for the other platforms! As far as I know I really only have one licence, so that should now count for seven platforms. But maybe my prefs are based on the HTML-only licence - certainly the HTML button works in the Standalone Settings General window. > > I?m not sure I can do anything about this without the mother ship, and they are presumably at home trying to enjoy their Easter holidays at home (It?s a four day weekend in the UK and there?s total lockdown), but I?ll try. > > Thanks for the excellent suggestion - it?s a new path, anyway. > > Stay safe > > Graham > > > On 10 Apr 2020, at 22:51, J. Landman Gay via use-livecode wrote: > > > > On 4/10/20 12:42 PM, Graham Samuel via use-livecode wrote: > > > Thanks Jacque, but that?s the trouble - I can?t turn them off. I thought of trashing the LC Preferences to see if that does anything, but I couldn?t find them: I think they are in the plist, which is in the Preferences in the system library. I tried temporarily switching this off (by renaming the file and starting LC) - it stopped LC fully loading (not surprising really). I restored the plist and LC had forgotten some stuff like recent stacks. I checked that the mobile preference pane still has its green square and can see XCode, but the Standalone Settings still does not respond to mouse clicks to remove the non-mobile platforms or to choose mobile. > > > > Your LC prefs are in your user library at /Users//Library/Preferences/RunRev/livecode7.rev. I'm not sure prefs are related here though. > > > > I'd first try removing the stored standalone settings, which are stored in the stack itself. Use the property inspector to check the custom properties of the stack. There should be a property set named "revStandaloneSettings". Try deleting that set and starting over. > > > > -- > > 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 dsc at swcp.com Sat Apr 11 10:35:56 2020 From: dsc at swcp.com (dsc at swcp.com) Date: Sat, 11 Apr 2020 08:35:56 -0600 Subject: Apps to fight COVID-19 In-Reply-To: <499A8ABA-A22E-4BFD-B3E5-C7DE1979E448@swcp.com> References: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> <7331236A-5F3D-44F0-8584-B813C6C9868B@gmail.com> <4D8A15A3-FD9D-4DB1-8AA2-52949B0DEB71@swcp.com> <1f020fd7-9162-4e5f-bfba-eb78067a56fd@Spark> <54D073BD-51E2-4652-8FFC-1FFA98C25A2A@swcp.com> <80B0BC53-7BD8-4E77-AD56-46CFC47C44FE@swcp.com> <4b19f554-c3b5-4849-a49e-375d56a55772@Spark> <499A8ABA-A22E-4BFD-B3E5-C7DE1979E448@swcp.com> Message-ID: Maybe a diary app can be enhanced to include "Talked with this person in person for a few minutes" and "Lingered at this location for a few minutes" checkboxes that might be an aid when interviewed in traditional contact tracing. Those might be used for filtering. This does not add to anything lost when Big Brother steals your phone; it only helps you or daughter-spouse-caregiver to answer contact tracing questions. > On Apr 11, 2020, at 7:34 AM, dsc--- via use-livecode wrote: > > I like it. And it can give kids a chance to show grandma how to download apps. > > And this can be added to the COVID-19 button of current apps, too. > > >> On Apr 11, 2020, at 1:03 AM, David Bovill via use-livecode wrote: >> >> Personally - especially after reading the links below on Apple + Googles initiative - I?d go for story telling based around the comic in an app that we could add contact tracing functionality too. I think emphasising in the story telling privacy issues would be something that would be an important aspect and a strong point with regard to adding to the mix - rather than duplicating efforts by other groups? >> On 10 Apr 2020, 18:05 +0100, dsc--- via use-livecode , wrote: >>> And it doesn't have to be just contact tracing related. >>> >>> Jonathan Rothberg's team is working on a simple test at home that needs an app. >>> Cov19 at 4Catalyzer.com >>> >>> Anybody want to talk about a containment game? Or take the concept and go in one's own direction? >>> >>> Nicky Case's phone size comic is now available in several languages, so if you include that in _anything_ you do, can localize a little. >>> >>> Dar >>> team COVID Watch >> _______________________________________________ >> 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 Sat Apr 11 11:12:14 2020 From: brian at milby7.com (Brian Milby) Date: Sat, 11 Apr 2020 11:12:14 -0400 Subject: Go to card has become slow In-Reply-To: <11A935A0-3CBE-41E5-B304-7A248FC3E6AC@optusnet.com.au> References: <11A935A0-3CBE-41E5-B304-7A248FC3E6AC@optusnet.com.au> Message-ID: I did 3 additional tests this morning and believe that the issue lies somewhere in the de/encoding of text or the way that text is streamed to the file. My additional tests were using a non-shared text field (due to the way the text of a shared field is stored in memory, was wondering if that was a contributor - does not seem to be that significant), putting the text into a custom property of the card, and setting the script of the card to the text. In each of these new tests, the time to save was very close. The non-BG one was .55 seconds faster but that could just be an artifact of not doing enough tests on each to get a solid average. This does make looking into the source code a little easier though since we can rule out something specific to the field object and can focus on what is common between the different ways text is streamed to the file. My tests were on a Win10 laptop (i5-6300 @ 2.4GHZ; 8GB RAM) On Sat, Apr 11, 2020 at 8:55 AM Neville Smythe via use-livecode < use-livecode at lists.runrev.com> wrote: > Sorry Brian, I uploaded from the wrong folder. Here is the update test > set. But the only difference is that you don?t need to hold down the shift > key to see the binary save timing. > > https://www.dropbox.com/sh/cb2r9jbohxqv6bp/AAAQ1weLLlzrKYQ21yn1apf9a?dl=0 > > > > Colin, the test set here shows the timing of saving of stacks; the times > for Windows 10 are a large multiple of Mac/Unix and we discussing possible > reasons before updating the bug report bug 21305 < > https://quality.livecode.com/show_bug.cgi?id=21305> for Quality Control > > Neville > _______________________________________________ > 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 mark at livecode.com Sat Apr 11 11:41:49 2020 From: mark at livecode.com (Mark Waddingham) Date: Sat, 11 Apr 2020 16:41:49 +0100 Subject: Go to card has become slow In-Reply-To: <11A935A0-3CBE-41E5-B304-7A248FC3E6AC@optusnet.com.au> References: <11A935A0-3CBE-41E5-B304-7A248FC3E6AC@optusnet.com.au> Message-ID: <8d2611256d531869b8f5909aa5af9d3a@livecode.com> On 2020-04-11 13:54, Neville Smythe via use-livecode wrote: > Sorry Brian, I uploaded from the wrong folder. Here is the update test > set. But the only difference is that you don?t need to hold down the > shift key to see the binary save timing. > > https://www.dropbox.com/sh/cb2r9jbohxqv6bp/AAAQ1weLLlzrKYQ21yn1apf9a?dl=0 > > > Colin, the test set here shows the timing of saving of stacks; the > times for Windows 10 are a large multiple of Mac/Unix and we > discussing possible reasons before updating the bug report bug 21305 > for Quality > Control So I also had a look at this today - using Visual Studio's builtin CPU profiling diagnostic when running the engine in release mode. There appear to be two reasons for the difference: 1) When saving each style run (block) in a field the engine is making three Win32 API calls. 2) The saving method uses (and always has used) direct Win32 system calls to manipulate files without any buffering (on other platforms we wrap the standard C library stdio FILE which has its own buffer). I tested your very neat little stack with 1323 cards (about 36Mb of data). On my machine with the engine as it is it takes: - Windows 10 (VM) [ Community 'develop' ] - 10s - macOS Catalina (Native) [ Business 9.5.0 ] - 0.45s After doing a hacky patch to the sites using the Win32 API calls (i.e. caching the results and only calling them once) I got: - Windows 10 (VM) [ Community 'develop' ] - 1.8s After adding a very simple write buffer to the Win32 implementation of the system file stream class we have. I got: - Windows 10 (VM) [ Community 'develop' ] - 0.4s Anyway, the patches I've made are quite rough at the moment, but I'll endeavour to submit them as PRs in the next few days :) Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From dsc at swcp.com Sat Apr 11 11:51:43 2020 From: dsc at swcp.com (dsc at swcp.com) Date: Sat, 11 Apr 2020 09:51:43 -0600 Subject: Apps to fight COVID-19 In-Reply-To: References: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> <7331236A-5F3D-44F0-8584-B813C6C9868B@gmail.com> <4D8A15A3-FD9D-4DB1-8AA2-52949B0DEB71@swcp.com> <1f020fd7-9162-4e5f-bfba-eb78067a56fd@Spark> <54D073BD-51E2-4652-8FFC-1FFA98C25A2A@swcp.com> <80B0BC53-7BD8-4E77-AD56-46CFC47C44FE@swcp.com> <4b19f554-c3b5-4849-a49e-375d56a55772@Spark> <499A8ABA-A22E-4BFD-B3E5-C7DE1979E448@swcp.com> Message-ID: <6E617DFC-3682-445B-95C0-3752036449D3@swcp.com> App idea: 14 days of self-quarantine > On Apr 11, 2020, at 8:35 AM, dsc--- via use-livecode wrote: > > Maybe a diary app can be enhanced to include "Talked with this person in person for a few minutes" and "Lingered at this location for a few minutes" checkboxes that might be an aid when interviewed in traditional contact tracing. Those might be used for filtering. > > This does not add to anything lost when Big Brother steals your phone; it only helps you or daughter-spouse-caregiver to answer contact tracing questions. > > >> On Apr 11, 2020, at 7:34 AM, dsc--- via use-livecode wrote: >> >> I like it. And it can give kids a chance to show grandma how to download apps. >> >> And this can be added to the COVID-19 button of current apps, too. >> >> >>> On Apr 11, 2020, at 1:03 AM, David Bovill via use-livecode wrote: >>> >>> Personally - especially after reading the links below on Apple + Googles initiative - I?d go for story telling based around the comic in an app that we could add contact tracing functionality too. I think emphasising in the story telling privacy issues would be something that would be an important aspect and a strong point with regard to adding to the mix - rather than duplicating efforts by other groups? >>> On 10 Apr 2020, 18:05 +0100, dsc--- via use-livecode , wrote: >>>> And it doesn't have to be just contact tracing related. >>>> >>>> Jonathan Rothberg's team is working on a simple test at home that needs an app. >>>> Cov19 at 4Catalyzer.com >>>> >>>> Anybody want to talk about a containment game? Or take the concept and go in one's own direction? >>>> >>>> Nicky Case's phone size comic is now available in several languages, so if you include that in _anything_ you do, can localize a little. >>>> >>>> Dar >>>> team COVID Watch >>> _______________________________________________ >>> 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 ahsoftware at sonic.net Sat Apr 11 12:06:19 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 11 Apr 2020 09:06:19 -0700 Subject: Go to card has become slow In-Reply-To: <8d2611256d531869b8f5909aa5af9d3a@livecode.com> References: <11A935A0-3CBE-41E5-B304-7A248FC3E6AC@optusnet.com.au> <8d2611256d531869b8f5909aa5af9d3a@livecode.com> Message-ID: <87bb6b20-7741-03ff-59d4-d50ed8447213@sonic.net> On 4/11/20 8:41 AM, Mark Waddingham via use-livecode wrote: > After adding a very simple write buffer to the Win32 implementation of > the system file stream class we have. I got: > > ? - Windows 10 (VM) [ Community 'develop' ] - 0.4s > > Anyway, the patches I've made are quite rough at the moment, but I'll > endeavour to submit them as PRs in the next few days :) !!!!!!!!! -- Mark Wieder ahsoftware at gmail.com From mark at livecode.com Sat Apr 11 12:14:50 2020 From: mark at livecode.com (Mark Waddingham) Date: Sat, 11 Apr 2020 17:14:50 +0100 Subject: Go to card has become slow In-Reply-To: <8d2611256d531869b8f5909aa5af9d3a@livecode.com> References: <11A935A0-3CBE-41E5-B304-7A248FC3E6AC@optusnet.com.au> <8d2611256d531869b8f5909aa5af9d3a@livecode.com> Message-ID: <152e16900b45175d365f942489657a6e@livecode.com> On 2020-04-11 16:41, Mark Waddingham via use-livecode wrote: > Anyway, the patches I've made are quite rough at the moment, but I'll > endeavour to submit them as PRs in the next few days :) I've pushed a WIP PR with the changes I made to get the results mentioned in my last email - it is here for anyone who is interested in such things: The thing which makes the biggest difference is definitely the caching of the system metrics used (the first commit in that patch) - with that removed and just the write buffer you get what you'd expect - it takes 9s (rather than 10s). I'm always highly dubious about rushing anything to do with I/O of any sort - so the write buffer might not appear in a build for a while. The caching of system metrics though should be absolutely fine once I've hooked it up to the system message which gets sent when they change - so that will hopefully appear much sooner. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From livfoss at mac.com Sat Apr 11 12:35:38 2020 From: livfoss at mac.com (Graham Samuel) Date: Sat, 11 Apr 2020 18:35:38 +0200 Subject: Old Fossil seeks fast track assistance In-Reply-To: References: <1B5FE27E-88F3-4AEE-A696-DF8C658DB3A1@mac.com> <84635384-6F4A-4E06-8085-08200668D802@mac.com> <4D54BD8A-A891-4093-B440-DEBD18AE4AE8@byu.edu> <8F138DD3-A35B-452A-AEF2-267558D57FDA@mac.com> <17164e2b7c0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <088babb1-22df-8c93-f727-b98d29eb7c84@hyperactivesw.com> <687A0E78-2858-45AB-9F8A-0E4581D6421E@mac.com> Message-ID: <0AFB11E1-14B3-45F8-A14F-8D598F219693@mac.com> Woo hoo! It worked! I have never had to re-license LC before, but I did it. You generate an offline file, tell LC that you want to re-licence - it than quits. You turn off the internet (I assumed this would avoid confusion), relaunch LC and choose manual activation. Bingo! Thanks to Brian and Jacque for all their help. Now I can go back to the usual business of making mistakes in my coding and design? Graham > On 11 Apr 2020, at 16:08, Brian Milby via use-livecode wrote: > > Should be able to relicense the IDE. If it keeps using the wrong one, generate a key for the correct one on the web site and use that to license the product. > > Thanks, > Brian > On Apr 11, 2020, 8:29 AM -0400, Graham Samuel via use-livecode , wrote: >> Jaque thanks - this has not solved it yet, but i?m sure you?re on to something. When I delete the revStandaloneSettings, save the stack and re-open it, LC itself simply restores the set to what it was before. If I look closely at the actual properties in the set, I find quite a bit about Windows, Mac and Linux, but nothing at all about mobile platforms. I am wondering now if this is to do with licensing. According to my entry on the LC web site, my copy of 9.5.1 has a licence for six platforms, i.e. >> >> Mac valid for all versions >> Windows valid for all versions >> Linux valid for all versions >> iOS valid for all versions >> Android valid for all versions >> Server valid for all versions >> >> BUT for some quirky reason, the LC web site shows I?ve got another copy of 9.5.1 where I have only HTML5 validity, and suggests I pay for the other platforms! As far as I know I really only have one licence, so that should now count for seven platforms. But maybe my prefs are based on the HTML-only licence - certainly the HTML button works in the Standalone Settings General window. >> >> I?m not sure I can do anything about this without the mother ship, and they are presumably at home trying to enjoy their Easter holidays at home (It?s a four day weekend in the UK and there?s total lockdown), but I?ll try. >> >> Thanks for the excellent suggestion - it?s a new path, anyway. >> >> Stay safe >> >> Graham >> >>> On 10 Apr 2020, at 22:51, J. Landman Gay via use-livecode wrote: >>> >>> On 4/10/20 12:42 PM, Graham Samuel via use-livecode wrote: >>>> Thanks Jacque, but that?s the trouble - I can?t turn them off. I thought of trashing the LC Preferences to see if that does anything, but I couldn?t find them: I think they are in the plist, which is in the Preferences in the system library. I tried temporarily switching this off (by renaming the file and starting LC) - it stopped LC fully loading (not surprising really). I restored the plist and LC had forgotten some stuff like recent stacks. I checked that the mobile preference pane still has its green square and can see XCode, but the Standalone Settings still does not respond to mouse clicks to remove the non-mobile platforms or to choose mobile. >>> >>> Your LC prefs are in your user library at /Users//Library/Preferences/RunRev/livecode7.rev. I'm not sure prefs are related here though. >>> >>> I'd first try removing the stored standalone settings, which are stored in the stack itself. Use the property inspector to check the custom properties of the stack. There should be a property set named "revStandaloneSettings". Try deleting that set and starting over. >>> >>> -- >>> 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 > _______________________________________________ > 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 marksmithhfx at gmail.com Sat Apr 11 14:31:36 2020 From: marksmithhfx at gmail.com (Mark Smith) Date: Sat, 11 Apr 2020 19:31:36 +0100 Subject: Apps to fight COVID-19 In-Reply-To: <6E617DFC-3682-445B-95C0-3752036449D3@swcp.com> References: <2E377A37-0A20-4185-BCB6-B76FBBCBDA76@swcp.com> <7331236A-5F3D-44F0-8584-B813C6C9868B@gmail.com> <4D8A15A3-FD9D-4DB1-8AA2-52949B0DEB71@swcp.com> <1f020fd7-9162-4e5f-bfba-eb78067a56fd@Spark> <54D073BD-51E2-4652-8FFC-1FFA98C25A2A@swcp.com> <80B0BC53-7BD8-4E77-AD56-46CFC47C44FE@swcp.com> <4b19f554-c3b5-4849-a49e-375d56a55772@Spark> <499A8ABA-A22E-4BFD-B3E5-C7DE1979E448@swcp.com> <6E617DFC-3682-445B-95C0-3752036449D3@swcp.com> Message-ID: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> What would it be designed to help you with? > On Apr 11, 2020, at 4:51 PM, dsc--- via use-livecode wrote: > > App idea: 14 days of self-quarantine > > >> On Apr 11, 2020, at 8:35 AM, dsc--- via use-livecode wrote: >> >> Maybe a diary app can be enhanced to include "Talked with this person in person for a few minutes" and "Lingered at this location for a few minutes" checkboxes that might be an aid when interviewed in traditional contact tracing. Those might be used for filtering. >> >> This does not add to anything lost when Big Brother steals your phone; it only helps you or daughter-spouse-caregiver to answer contact tracing questions. >> >> >>> On Apr 11, 2020, at 7:34 AM, dsc--- via use-livecode wrote: >>> >>> I like it. And it can give kids a chance to show grandma how to download apps. >>> >>> And this can be added to the COVID-19 button of current apps, too. >>> >>> >>>> On Apr 11, 2020, at 1:03 AM, David Bovill via use-livecode wrote: >>>> >>>> Personally - especially after reading the links below on Apple + Googles initiative - I?d go for story telling based around the comic in an app that we could add contact tracing functionality too. I think emphasising in the story telling privacy issues would be something that would be an important aspect and a strong point with regard to adding to the mix - rather than duplicating efforts by other groups? >>>> On 10 Apr 2020, 18:05 +0100, dsc--- via use-livecode , wrote: >>>>> And it doesn't have to be just contact tracing related. >>>>> >>>>> Jonathan Rothberg's team is working on a simple test at home that needs an app. >>>>> Cov19 at 4Catalyzer.com >>>>> >>>>> Anybody want to talk about a containment game? Or take the concept and go in one's own direction? >>>>> >>>>> Nicky Case's phone size comic is now available in several languages, so if you include that in _anything_ you do, can localize a little. >>>>> >>>>> Dar >>>>> team COVID Watch >>>> _______________________________________________ >>>> 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 >> > > > _______________________________________________ > 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 dev at porta.ca Sat Apr 11 14:34:53 2020 From: dev at porta.ca (Dev) Date: Sat, 11 Apr 2020 12:34:53 -0600 Subject: Apps to fight COVID-19 In-Reply-To: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> References: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> Message-ID: Countdown of the hours left in purgatory? > On Apr 11, 2020, at 12:32 PM, Mark Smith via use-livecode wrote: > > ?What would it be designed to help you with? > >> On Apr 11, 2020, at 4:51 PM, dsc--- via use-livecode wrote: >> >> App idea: 14 days of self-quarantine >> >> >>>> On Apr 11, 2020, at 8:35 AM, dsc--- via use-livecode wrote: >>> >>> Maybe a diary app can be enhanced to include "Talked with this person in person for a few minutes" and "Lingered at this location for a few minutes" checkboxes that might be an aid when interviewed in traditional contact tracing. Those might be used for filtering. >>> >>> This does not add to anything lost when Big Brother steals your phone; it only helps you or daughter-spouse-caregiver to answer contact tracing questions. >>> >>> >>>> On Apr 11, 2020, at 7:34 AM, dsc--- via use-livecode wrote: >>>> >>>> I like it. And it can give kids a chance to show grandma how to download apps. >>>> >>>> And this can be added to the COVID-19 button of current apps, too. >>>> >>>> >>>>> On Apr 11, 2020, at 1:03 AM, David Bovill via use-livecode wrote: >>>>> >>>>> Personally - especially after reading the links below on Apple + Googles initiative - I?d go for story telling based around the comic in an app that we could add contact tracing functionality too. I think emphasising in the story telling privacy issues would be something that would be an important aspect and a strong point with regard to adding to the mix - rather than duplicating efforts by other groups? >>>>> On 10 Apr 2020, 18:05 +0100, dsc--- via use-livecode , wrote: >>>>>> And it doesn't have to be just contact tracing related. >>>>>> >>>>>> Jonathan Rothberg's team is working on a simple test at home that needs an app. >>>>>> Cov19 at 4Catalyzer.com >>>>>> >>>>>> Anybody want to talk about a containment game? Or take the concept and go in one's own direction? >>>>>> >>>>>> Nicky Case's phone size comic is now available in several languages, so if you include that in _anything_ you do, can localize a little. >>>>>> >>>>>> Dar >>>>>> team COVID Watch >>>>> _______________________________________________ >>>>> 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 >>> >> >> >> _______________________________________________ >> 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 skiplondon at gmail.com Sat Apr 11 15:12:23 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Sat, 11 Apr 2020 15:12:23 -0400 Subject: Livecode and AWS Sql In-Reply-To: References: <000801d60f36$37c7cd20$a7576760$@net> <002401d60f44$c04fb410$40ef1c30$@net> <002c01d60f48$2f7d4890$8e77d9b0$@net> <004101d60f5e$3d8a13d0$b89e3b70$@net> <004c01d60f64$0c596620$250c3260$@net> Message-ID: So I was able to solve this, kind of. Here is was I did to be able to get it to work on Windows LC environment: *put* revOpenDatabase("ODBC",tDatabaseDSN, tDatabaseName, tDatabaseUser,tDatabasePassword) into gConnID I was using this connection string but getting the "Invalid String or Buffer Length." As I was researching this online I saw a couple of different options, including updating drivers, but the main cause seemed to be due to trying to talk to a 64 bit version of SQL server. I created a direct connection using the ODBC Data Source Administrator and then referencing the DSN name in my LC connection script. Once I did that and BAM! I was able to start accessing my AWS SQL database. At least I can continue programming for now. Eventually I need to find a better solution for the DB connection. Luckily this project is for internal purposes only so I can live with the extra steps I need to take to make it work. I also need to figure out a solution for the Mac side. Is there such a thing on a Mac like the Microsoft ODBC Data Source Administrator? Thought I would share this in case anybody else is struggling with this. Also, I am hoping somebody will read this someday and find the answers to the other two issues I just listed. Hope this helps somebody out there. SKIP KIMPEL On Fri, Apr 10, 2020 at 9:17 PM Skip Kimpel wrote: > Okay, went back to the PC side and was able to successfully connect to a > local SQL server. When I put in the address and db info for the AWS web > server, I am getting this when connecting: > "Invalid String or Buffer Length. > > I will deal with the Mac side later... just need to get the PC side up and > running for now. Any suggestions on this error message? > > On Fri, Apr 10, 2020 at 2:12 PM Ralph DiMola via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I have connected to SQLserver and MySQL remote servers. Did you try to >> use MS Access via the ODBC connector as a test? >> >> >> >> Ralph DiMola >> >> IT Director >> >> Evergreen Information Services >> >> rdimola at evergreeninfo.net >> >> >> >> From: Skip Kimpel [mailto:skiplondon at gmail.com] >> Sent: Friday, April 10, 2020 1:46 PM >> To: How to use LiveCode >> Cc: Ralph DiMola >> Subject: Re: Livecode and AWS Sql >> >> >> >> Interestingly enough, I brought over everything to the Windows side to >> test there and I STILL cannot connect! This might go back to an AWS >> question OR remote SQL question. Ralph, do you normally connect to SQL via >> your local machine/local network or do connect to remote SQL servers. >> Going back in my internal memory banks, I don't know if I have ever >> connected to a remote, cloud based SQL server before. >> >> >> >> SKIP >> >> >> >> On Fri, Apr 10, 2020 at 1:31 PM Skip Kimpel wrote: >> >> Good to know. >> >> >> >> >> >> SKIP >> >> >> >> On Fri, Apr 10, 2020 at 1:30 PM Ralph DiMola via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> You can have multiple versions of Xcode installed. For instance you can >> have 10.1 and 11.4 installed. Point LC to 11.1. I have all of my Xcode >> versions in a desktop folder and have none in applications. You just have >> to make sure the proper version is active for building. >> >> >> >> Display current version ? xcode-select -print-path >> >> Change version ? sudo xcode-select -switch Xcode.app >> >> >> >> Ralph DiMola >> >> IT Director >> >> Evergreen Information Services >> >> rdimola at evergreeninfo.net >> >> >> >> From: Skip Kimpel [mailto:skiplondon at gmail.com] >> Sent: Friday, April 10, 2020 1:08 PM >> To: How to use LiveCode >> Cc: Ralph DiMola >> Subject: Re: Livecode and AWS Sql >> >> >> >> Just a as follow up, I installed that Xcode 11.4, ran the previous script >> and it looks like it installed properly. HOWEVER, I still cannot connect to >> my SQL database. Also, by doing that, my Mac mobile development >> environment disappeared. I have since uninstalled 11.4 and went back to >> 10.1. >> >> >> >> Beyond frustrating... I must be getting old ; >> >> >> >> SKIP >> >> >> >> On Fri, Apr 10, 2020 at 10:56 AM Skip Kimpel >> wrote: >> >> I do appreciate your help, Ralph. You and I are in the same boat in >> regards to their comfort level having primarily worked in a Windows >> environment in the past. >> >> >> >> SKIP >> >> >> >> On Fri, Apr 10, 2020 at 10:53 AM Ralph DiMola via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> From what I can see you will either need to install Xcode 11.4 or use a >> previous version of the ODBC SW. But I?m starting to get out of my comfort >> zone now. I do some Mac dev but I?m mainly a Windows developer. >> >> >> >> Ralph DiMola >> >> IT Director >> >> Evergreen Information Services >> >> rdimola at evergreeninfo.net >> >> >> >> From: Skip Kimpel [mailto:skiplondon at gmail.com] >> Sent: Friday, April 10, 2020 10:35 AM >> To: How to use LiveCode >> Cc: Ralph DiMola >> Subject: Re: Livecode and AWS Sql >> >> >> >> Unfortunately, I don't think it is that straight forward. I went down >> this path already. The files that you can download are Windows MSI >> installation files. You can run it manually by using the following >> commands: >> >> >> >> /usr/bin/ruby -e "$(curl -fsSL >> https://raw.githubusercontent.com/Homebrew/install/master/install)" >> >> brew tap microsoft/mssql-release >> https://github.com/Microsoft/homebrew-mssql-release >> >> brew update >> >> HOMEBREW_NO_ENV_FILTERING=1 ACCEPT_EULA=Y brew install msodbcsql17 >> mssql-tools >> >> >> >> However, when I run the last command, I get: >> >> Error: Your Xcode (10.1) is too outdated. >> >> Please update to Xcode 11.4 (or delete it). >> >> Xcode can be updated from the App Store. >> >> >> >> Do I really need Xcode in order to install SQL? I also thought I read >> that I needed to Xcode 10.1 in order to be compatible with the latest >> version of LC. Maybe I am wrong here. >> >> >> >> >> >> SKIP >> >> >> >> On Fri, Apr 10, 2020 at 10:28 AM Ralph DiMola via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> https://www.microsoft.com/en-us/download/details.aspx?id=56567 >> >> >> >> Ralph DiMola >> >> IT Director >> >> Evergreen Information Services >> >> rdimola at evergreeninfo.net >> >> Phone: 518-636-3998 Ex:11 >> >> Cell: 518-796-9332 >> >> >> >> From: Skip Kimpel [mailto:skiplondon at gmail.com] >> Sent: Friday, April 10, 2020 10:19 AM >> To: How to use LiveCode >> Cc: Ralph DiMola >> Subject: Re: Livecode and AWS Sql >> >> >> >> I am so used to running in the Windows world that I don't think I have a >> SQL ODBC driver installed on my MAC. I googled it a little bit and did not >> find too much help. Anybody have suggestions on this piece? >> >> SKIP >> >> >> >> On Fri, Apr 10, 2020 at 9:44 AM Skip Kimpel wrote: >> >> Nope... am able to connect via other programs..... >> >> >> >> SKIP >> >> >> >> On Fri, Apr 10, 2020 at 8:44 AM Ralph DiMola via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Firewall port? >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf >> Of Skip Kimpel via use-livecode >> Sent: Thursday, April 09, 2020 10:10 PM >> To: How to use LiveCode >> Cc: Skip Kimpel >> Subject: Livecode and AWS Sql >> >> Any trick to connecting to an AWS Sql instance? I am using some of my old >> scripts that always hooked up properly to a local Sql server. Wondering >> if >> I might be a trick for AWS or heck, my method might be old and there is a >> better way to do it. >> >> *put revOpenDatabase("ODBC","DRIVER=SQL >> >> Server;SERVER="&myServerAddress&";DATABASE="&myDB&";UID="&tDatabaseUser&";PW >> D="&tDatabasePassword&"") >> into gConnID* >> >> >> SKIP >> _______________________________________________ >> 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 >> >> _______________________________________________ >> 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 jeejeestudio at gmail.com Sat Apr 11 15:35:19 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sat, 11 Apr 2020 21:35:19 +0200 Subject: Apps to fight COVID-19 In-Reply-To: References: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> Message-ID: <031c9379-c016-ca12-595e-5cfe8fce7c5f@gmail.com> Don't know if it was said already... The Dutch government is asking for app ideas for this Covid virus, so people are alerted if they are to close to another, that's one thing. Any other ideas are welcome. Further, it has to be absolutely privacy safe for civliians. Any idea can be dropped within the next 2 weeks and then they will decide where they go for, or who can build it. As Livecode is rapid development, you could win with time. Don't know how Bluetooth is supported in LC, but probably it will be one of te major things. It does not has to connect, you can (if i'm total correct) see who is nearby and even read the address of the other bluetooth. So maybe there is some kind of tracking, albeit privacy safe. You have to Google where you can register yourself, cause i don't know. note that Google and Apple are already putting heads together to create an app for both platforms. Ciao! Jerry Op 11-4-2020 om 20:34 schreef Dev via use-livecode: > Countdown of the hours left in purgatory? > >> On Apr 11, 2020, at 12:32 PM, Mark Smith via use-livecode wrote: >> >> ?What would it be designed to help you with? >> >>> On Apr 11, 2020, at 4:51 PM, dsc--- via use-livecode wrote: >>> >>> App idea: 14 days of self-quarantine >>> >>> >>>>> On Apr 11, 2020, at 8:35 AM, dsc--- via use-livecode wrote: >>>> Maybe a diary app can be enhanced to include "Talked with this person in person for a few minutes" and "Lingered at this location for a few minutes" checkboxes that might be an aid when interviewed in traditional contact tracing. Those might be used for filtering. >>>> >>>> This does not add to anything lost when Big Brother steals your phone; it only helps you or daughter-spouse-caregiver to answer contact tracing questions. >>>> >>>> >>>>> On Apr 11, 2020, at 7:34 AM, dsc--- via use-livecode wrote: >>>>> >>>>> I like it. And it can give kids a chance to show grandma how to download apps. >>>>> >>>>> And this can be added to the COVID-19 button of current apps, too. >>>>> >>>>> >>>>>> On Apr 11, 2020, at 1:03 AM, David Bovill via use-livecode wrote: >>>>>> >>>>>> Personally - especially after reading the links below on Apple + Googles initiative - I?d go for story telling based around the comic in an app that we could add contact tracing functionality too. I think emphasising in the story telling privacy issues would be something that would be an important aspect and a strong point with regard to adding to the mix - rather than duplicating efforts by other groups? >>>>>> On 10 Apr 2020, 18:05 +0100, dsc--- via use-livecode , wrote: >>>>>>> And it doesn't have to be just contact tracing related. >>>>>>> >>>>>>> Jonathan Rothberg's team is working on a simple test at home that needs an app. >>>>>>> Cov19 at 4Catalyzer.com >>>>>>> >>>>>>> Anybody want to talk about a containment game? Or take the concept and go in one's own direction? >>>>>>> >>>>>>> Nicky Case's phone size comic is now available in several languages, so if you include that in _anything_ you do, can localize a little. >>>>>>> >>>>>>> Dar >>>>>>> team COVID Watch >>>>>> _______________________________________________ >>>>>> 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 >>>> >>> >>> _______________________________________________ >>> 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 dsc at swcp.com Sat Apr 11 15:43:45 2020 From: dsc at swcp.com (Dar Scott Consulting) Date: Sat, 11 Apr 2020 13:43:45 -0600 Subject: Apps to fight COVID-19 In-Reply-To: References: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> Message-ID: 14 day devotional? Daily quarantine tips? Daily jokes? ... > On Apr 11, 2020, at 12:34 PM, Dev via use-livecode wrote: > > Countdown of the hours left in purgatory? > >> On Apr 11, 2020, at 12:32 PM, Mark Smith via use-livecode wrote: >> >> ?What would it be designed to help you with? >> >>> On Apr 11, 2020, at 4:51 PM, dsc--- via use-livecode wrote: >>> >>> App idea: 14 days of self-quarantine >>> >>> >>>>> On Apr 11, 2020, at 8:35 AM, dsc--- via use-livecode wrote: >>>> >>>> Maybe a diary app can be enhanced to include "Talked with this person in person for a few minutes" and "Lingered at this location for a few minutes" checkboxes that might be an aid when interviewed in traditional contact tracing. Those might be used for filtering. >>>> >>>> This does not add to anything lost when Big Brother steals your phone; it only helps you or daughter-spouse-caregiver to answer contact tracing questions. >>>> >>>> >>>>> On Apr 11, 2020, at 7:34 AM, dsc--- via use-livecode wrote: >>>>> >>>>> I like it. And it can give kids a chance to show grandma how to download apps. >>>>> >>>>> And this can be added to the COVID-19 button of current apps, too. >>>>> >>>>> >>>>>> On Apr 11, 2020, at 1:03 AM, David Bovill via use-livecode wrote: >>>>>> >>>>>> Personally - especially after reading the links below on Apple + Googles initiative - I?d go for story telling based around the comic in an app that we could add contact tracing functionality too. I think emphasising in the story telling privacy issues would be something that would be an important aspect and a strong point with regard to adding to the mix - rather than duplicating efforts by other groups? >>>>>> On 10 Apr 2020, 18:05 +0100, dsc--- via use-livecode , wrote: >>>>>>> And it doesn't have to be just contact tracing related. >>>>>>> >>>>>>> Jonathan Rothberg's team is working on a simple test at home that needs an app. >>>>>>> Cov19 at 4Catalyzer.com >>>>>>> >>>>>>> Anybody want to talk about a containment game? Or take the concept and go in one's own direction? >>>>>>> >>>>>>> Nicky Case's phone size comic is now available in several languages, so if you include that in _anything_ you do, can localize a little. >>>>>>> >>>>>>> Dar >>>>>>> team COVID Watch >>>>>> _______________________________________________ >>>>>> 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 >>>> >>> >>> >>> _______________________________________________ >>> 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 dsc at swcp.com Sat Apr 11 15:55:53 2020 From: dsc at swcp.com (Dar Scott Consulting) Date: Sat, 11 Apr 2020 13:55:53 -0600 Subject: Apps to fight COVID-19 In-Reply-To: <031c9379-c016-ca12-595e-5cfe8fce7c5f@gmail.com> References: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> <031c9379-c016-ca12-595e-5cfe8fce7c5f@gmail.com> Message-ID: Maybe it can also be something like Facetime and give you a "gregarious-ity" score. Maybe it can even work based on Bluetooth classic inquiry. If this works, this would work even with older Androids, but I'm not sure about iOS. 1/128th baked: Audio and audio control protocols... Are there Bluetooth libraries for LC mobile? I expect that serial might be there but that might not be very privacy preserving. Oh, Google and Apple are not putting together an app (yet), they are making an engine so we can make cars. Well, I don't know that they are. I have trouble keeping up. The API that they are describing is very much like what folks at Covid watch, Eastcoast PACT and DP-3T have been describing. Two of those have libraries available right now. Build a car! > On Apr 11, 2020, at 1:35 PM, JeeJeeStudio via use-livecode wrote: > > Don't know if it was said already... > > The Dutch government is asking for app ideas for this Covid virus, so people are alerted if they are to close to another, that's one thing. > > Any other ideas are welcome. > > Further, it has to be absolutely privacy safe for civliians. > > Any idea can be dropped within the next 2 weeks and then they will decide where they go for, or who can build it. > > As Livecode is rapid development, you could win with time. Don't know how Bluetooth is supported in LC, but probably it will be one of te major things. > > It does not has to connect, you can (if i'm total correct) see who is nearby and even read the address of the other bluetooth. So maybe there is some kind of tracking, albeit privacy safe. > > You have to Google where you can register yourself, cause i don't know. > > note that Google and Apple are already putting heads together to create an app for both platforms. > > Ciao! > > Jerry > > Op 11-4-2020 om 20:34 schreef Dev via use-livecode: >> Countdown of the hours left in purgatory? >> >>> On Apr 11, 2020, at 12:32 PM, Mark Smith via use-livecode wrote: >>> >>> ?What would it be designed to help you with? >>> >>>> On Apr 11, 2020, at 4:51 PM, dsc--- via use-livecode wrote: >>>> >>>> App idea: 14 days of self-quarantine >>>> >>>> >>>>>> On Apr 11, 2020, at 8:35 AM, dsc--- via use-livecode wrote: >>>>> Maybe a diary app can be enhanced to include "Talked with this person in person for a few minutes" and "Lingered at this location for a few minutes" checkboxes that might be an aid when interviewed in traditional contact tracing. Those might be used for filtering. >>>>> >>>>> This does not add to anything lost when Big Brother steals your phone; it only helps you or daughter-spouse-caregiver to answer contact tracing questions. >>>>> >>>>> >>>>>> On Apr 11, 2020, at 7:34 AM, dsc--- via use-livecode wrote: >>>>>> >>>>>> I like it. And it can give kids a chance to show grandma how to download apps. >>>>>> >>>>>> And this can be added to the COVID-19 button of current apps, too. >>>>>> >>>>>> >>>>>>> On Apr 11, 2020, at 1:03 AM, David Bovill via use-livecode wrote: >>>>>>> >>>>>>> Personally - especially after reading the links below on Apple + Googles initiative - I?d go for story telling based around the comic in an app that we could add contact tracing functionality too. I think emphasising in the story telling privacy issues would be something that would be an important aspect and a strong point with regard to adding to the mix - rather than duplicating efforts by other groups? >>>>>>> On 10 Apr 2020, 18:05 +0100, dsc--- via use-livecode , wrote: >>>>>>>> And it doesn't have to be just contact tracing related. >>>>>>>> >>>>>>>> Jonathan Rothberg's team is working on a simple test at home that needs an app. >>>>>>>> Cov19 at 4Catalyzer.com >>>>>>>> >>>>>>>> Anybody want to talk about a containment game? Or take the concept and go in one's own direction? >>>>>>>> >>>>>>>> Nicky Case's phone size comic is now available in several languages, so if you include that in _anything_ you do, can localize a little. >>>>>>>> >>>>>>>> Dar >>>>>>>> team COVID Watch >>>>>>> _______________________________________________ >>>>>>> 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 >>>>> >>>> >>>> _______________________________________________ >>>> 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 > > _______________________________________________ > 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 marksmithhfx at gmail.com Sat Apr 11 15:57:55 2020 From: marksmithhfx at gmail.com (Mark Smith) Date: Sat, 11 Apr 2020 20:57:55 +0100 Subject: Apps to fight COVID-19 In-Reply-To: References: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> Message-ID: <34F40D42-DF52-44BD-BC11-631C3131432A@gmail.com> I like that, jokes, puzzles, movies, any form of entertainment to help pass the time. I think if I were quarantined for 14 days, I?d start writing a best seller :) > On Apr 11, 2020, at 8:43 PM, Dar Scott Consulting via use-livecode wrote: > > 14 day devotional? Daily quarantine tips? Daily jokes? ... > > >> On Apr 11, 2020, at 12:34 PM, Dev via use-livecode wrote: >> >> Countdown of the hours left in purgatory? >> >>> On Apr 11, 2020, at 12:32 PM, Mark Smith via use-livecode wrote: >>> >>> ?What would it be designed to help you with? >>> >>>> On Apr 11, 2020, at 4:51 PM, dsc--- via use-livecode wrote: >>>> >>>> App idea: 14 days of self-quarantine >>>> >>>> >>>>>> On Apr 11, 2020, at 8:35 AM, dsc--- via use-livecode wrote: >>>>> >>>>> Maybe a diary app can be enhanced to include "Talked with this person in person for a few minutes" and "Lingered at this location for a few minutes" checkboxes that might be an aid when interviewed in traditional contact tracing. Those might be used for filtering. >>>>> >>>>> This does not add to anything lost when Big Brother steals your phone; it only helps you or daughter-spouse-caregiver to answer contact tracing questions. >>>>> >>>>> >>>>>> On Apr 11, 2020, at 7:34 AM, dsc--- via use-livecode wrote: >>>>>> >>>>>> I like it. And it can give kids a chance to show grandma how to download apps. >>>>>> >>>>>> And this can be added to the COVID-19 button of current apps, too. >>>>>> >>>>>> >>>>>>> On Apr 11, 2020, at 1:03 AM, David Bovill via use-livecode wrote: >>>>>>> >>>>>>> Personally - especially after reading the links below on Apple + Googles initiative - I?d go for story telling based around the comic in an app that we could add contact tracing functionality too. I think emphasising in the story telling privacy issues would be something that would be an important aspect and a strong point with regard to adding to the mix - rather than duplicating efforts by other groups? >>>>>>> On 10 Apr 2020, 18:05 +0100, dsc--- via use-livecode , wrote: >>>>>>>> And it doesn't have to be just contact tracing related. >>>>>>>> >>>>>>>> Jonathan Rothberg's team is working on a simple test at home that needs an app. >>>>>>>> Cov19 at 4Catalyzer.com >>>>>>>> >>>>>>>> Anybody want to talk about a containment game? Or take the concept and go in one's own direction? >>>>>>>> >>>>>>>> Nicky Case's phone size comic is now available in several languages, so if you include that in _anything_ you do, can localize a little. >>>>>>>> >>>>>>>> Dar >>>>>>>> team COVID Watch >>>>>>> _______________________________________________ >>>>>>> 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 >>>>> >>>> >>>> >>>> _______________________________________________ >>>> 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 >> > > > _______________________________________________ > 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 dsc at swcp.com Sat Apr 11 16:05:14 2020 From: dsc at swcp.com (dsc at swcp.com) Date: Sat, 11 Apr 2020 14:05:14 -0600 Subject: Apps to fight COVID-19 In-Reply-To: <34F40D42-DF52-44BD-BC11-631C3131432A@gmail.com> References: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> <34F40D42-DF52-44BD-BC11-631C3131432A@gmail.com> Message-ID: <2923CE7F-C8C5-4147-A8CC-5D994F855F0B@swcp.com> Ah, like NANORIMO, but 14 days! I think it would be a good promo for businesses to give a 14-day gift to those in self quarantine. Book a day. A 14-day subscription to their news magazine. Movie a day. Maybe not even quarantine, just anybody who wants to be by themselves for 14 day. > On Apr 11, 2020, at 1:57 PM, Mark Smith via use-livecode wrote: > > I like that, jokes, puzzles, movies, any form of entertainment to help pass the time. I think if I were quarantined for 14 days, I?d start writing a best seller :) > > >> On Apr 11, 2020, at 8:43 PM, Dar Scott Consulting via use-livecode wrote: >> >> 14 day devotional? Daily quarantine tips? Daily jokes? ... >> >> >>> On Apr 11, 2020, at 12:34 PM, Dev via use-livecode wrote: >>> >>> Countdown of the hours left in purgatory? >>> >>>> On Apr 11, 2020, at 12:32 PM, Mark Smith via use-livecode wrote: >>>> >>>> ?What would it be designed to help you with? >>>> >>>>> On Apr 11, 2020, at 4:51 PM, dsc--- via use-livecode wrote: >>>>> >>>>> App idea: 14 days of self-quarantine >>>>> >>>>> >>>>>>> On Apr 11, 2020, at 8:35 AM, dsc--- via use-livecode wrote: >>>>>> >>>>>> Maybe a diary app can be enhanced to include "Talked with this person in person for a few minutes" and "Lingered at this location for a few minutes" checkboxes that might be an aid when interviewed in traditional contact tracing. Those might be used for filtering. >>>>>> >>>>>> This does not add to anything lost when Big Brother steals your phone; it only helps you or daughter-spouse-caregiver to answer contact tracing questions. >>>>>> >>>>>> >>>>>>> On Apr 11, 2020, at 7:34 AM, dsc--- via use-livecode wrote: >>>>>>> >>>>>>> I like it. And it can give kids a chance to show grandma how to download apps. >>>>>>> >>>>>>> And this can be added to the COVID-19 button of current apps, too. >>>>>>> >>>>>>> >>>>>>>> On Apr 11, 2020, at 1:03 AM, David Bovill via use-livecode wrote: >>>>>>>> >>>>>>>> Personally - especially after reading the links below on Apple + Googles initiative - I?d go for story telling based around the comic in an app that we could add contact tracing functionality too. I think emphasising in the story telling privacy issues would be something that would be an important aspect and a strong point with regard to adding to the mix - rather than duplicating efforts by other groups? >>>>>>>> On 10 Apr 2020, 18:05 +0100, dsc--- via use-livecode , wrote: >>>>>>>>> And it doesn't have to be just contact tracing related. >>>>>>>>> >>>>>>>>> Jonathan Rothberg's team is working on a simple test at home that needs an app. >>>>>>>>> Cov19 at 4Catalyzer.com >>>>>>>>> >>>>>>>>> Anybody want to talk about a containment game? Or take the concept and go in one's own direction? >>>>>>>>> >>>>>>>>> Nicky Case's phone size comic is now available in several languages, so if you include that in _anything_ you do, can localize a little. >>>>>>>>> >>>>>>>>> Dar >>>>>>>>> team COVID Watch >>>>>>>> _______________________________________________ >>>>>>>> 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 >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 >>> >> >> >> _______________________________________________ >> 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 matthias_livecode_150811 at m-r-d.de Sat Apr 11 16:09:23 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 11 Apr 2020 22:09:23 +0200 Subject: WebDAV library for LC community available which does not depend on tsNet Message-ID: <52836C5D-BBC9-4ABB-A8BC-DE3561844719@m-r-d.de> Hi, Ralf Bitte released a WebDAV library , which does not depend on tsNet and can therefore also be used with the Community Edition. https://github.com/revig/livecode-webdavlib - Matthias Rebbe Life Is Too Short For Boring Code From scott at elementarysoftware.com Sat Apr 11 16:25:40 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sat, 11 Apr 2020 13:25:40 -0700 Subject: Go to card has become slow In-Reply-To: <8d2611256d531869b8f5909aa5af9d3a@livecode.com> References: <11A935A0-3CBE-41E5-B304-7A248FC3E6AC@optusnet.com.au> <8d2611256d531869b8f5909aa5af9d3a@livecode.com> Message-ID: Awesomeness! I really appreciate all the posting on this. It was informative to observe the process even if I didn?t participate. -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-800-615-0867 ------------------------------------------------------ > On Apr 11, 2020, at 8:41 AM, Mark Waddingham via use-livecode wrote: > > On 2020-04-11 13:54, Neville Smythe via use-livecode wrote: >> Sorry Brian, I uploaded from the wrong folder. Here is the update test >> set. But the only difference is that you don?t need to hold down the >> shift key to see the binary save timing. >> https://www.dropbox.com/sh/cb2r9jbohxqv6bp/AAAQ1weLLlzrKYQ21yn1apf9a?dl=0 >> >> Colin, the test set here shows the timing of saving of stacks; the >> times for Windows 10 are a large multiple of Mac/Unix and we >> discussing possible reasons before updating the bug report bug 21305 >> for Quality >> Control > > So I also had a look at this today - using Visual Studio's builtin CPU profiling diagnostic when running the engine in release mode. > > There appear to be two reasons for the difference: > > 1) When saving each style run (block) in a field the engine is making three Win32 API calls. > > 2) The saving method uses (and always has used) direct Win32 system calls to manipulate files without any buffering (on other platforms we wrap the standard C library stdio FILE which has its own buffer). > > I tested your very neat little stack with 1323 cards (about 36Mb of data). > > On my machine with the engine as it is it takes: > > - Windows 10 (VM) [ Community 'develop' ] - 10s > > - macOS Catalina (Native) [ Business 9.5.0 ] - 0.45s > > After doing a hacky patch to the sites using the Win32 API calls (i.e. caching the results and only calling them once) I got: > > - Windows 10 (VM) [ Community 'develop' ] - 1.8s > > After adding a very simple write buffer to the Win32 implementation of the system file stream class we have. I got: > > - Windows 10 (VM) [ Community 'develop' ] - 0.4s > > Anyway, the patches I've made are quite rough at the moment, but I'll endeavour to submit them as PRs in the next few days :) > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps From dsc at swcp.com Sat Apr 11 16:40:27 2020 From: dsc at swcp.com (dsc at swcp.com) Date: Sat, 11 Apr 2020 14:40:27 -0600 Subject: Apps to fight COVID-19 In-Reply-To: <2923CE7F-C8C5-4147-A8CC-5D994F855F0B@swcp.com> References: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> <34F40D42-DF52-44BD-BC11-631C3131432A@gmail.com> <2923CE7F-C8C5-4147-A8CC-5D994F855F0B@swcp.com> Message-ID: <2D02D7AC-8169-4CDE-BD7A-3FD447CF4DF1@swcp.com> I don't know why they allow hippos to run free in a hospital, but I hear there can be a hippo concern. > On Apr 11, 2020, at 2:05 PM, dsc--- via use-livecode wrote: > > Ah, like NANORIMO, but 14 days! > > I think it would be a good promo for businesses to give a 14-day gift to those in self quarantine. Book a day. A 14-day subscription to their news magazine. Movie a day. Maybe not even quarantine, just anybody who wants to be by themselves for 14 day. > >> On Apr 11, 2020, at 1:57 PM, Mark Smith via use-livecode wrote: >> >> I like that, jokes, puzzles, movies, any form of entertainment to help pass the time. I think if I were quarantined for 14 days, I?d start writing a best seller :) >> >> >>> On Apr 11, 2020, at 8:43 PM, Dar Scott Consulting via use-livecode wrote: >>> >>> 14 day devotional? Daily quarantine tips? Daily jokes? ... >>> >>> >>>> On Apr 11, 2020, at 12:34 PM, Dev via use-livecode wrote: >>>> >>>> Countdown of the hours left in purgatory? >>>> >>>>> On Apr 11, 2020, at 12:32 PM, Mark Smith via use-livecode wrote: >>>>> >>>>> ?What would it be designed to help you with? >>>>> >>>>>> On Apr 11, 2020, at 4:51 PM, dsc--- via use-livecode wrote: >>>>>> >>>>>> App idea: 14 days of self-quarantine >>>>>> >>>>>> >>>>>>>> On Apr 11, 2020, at 8:35 AM, dsc--- via use-livecode wrote: >>>>>>> >>>>>>> Maybe a diary app can be enhanced to include "Talked with this person in person for a few minutes" and "Lingered at this location for a few minutes" checkboxes that might be an aid when interviewed in traditional contact tracing. Those might be used for filtering. >>>>>>> >>>>>>> This does not add to anything lost when Big Brother steals your phone; it only helps you or daughter-spouse-caregiver to answer contact tracing questions. >>>>>>> >>>>>>> >>>>>>>> On Apr 11, 2020, at 7:34 AM, dsc--- via use-livecode wrote: >>>>>>>> >>>>>>>> I like it. And it can give kids a chance to show grandma how to download apps. >>>>>>>> >>>>>>>> And this can be added to the COVID-19 button of current apps, too. >>>>>>>> >>>>>>>> >>>>>>>>> On Apr 11, 2020, at 1:03 AM, David Bovill via use-livecode wrote: >>>>>>>>> >>>>>>>>> Personally - especially after reading the links below on Apple + Googles initiative - I?d go for story telling based around the comic in an app that we could add contact tracing functionality too. I think emphasising in the story telling privacy issues would be something that would be an important aspect and a strong point with regard to adding to the mix - rather than duplicating efforts by other groups? >>>>>>>>> On 10 Apr 2020, 18:05 +0100, dsc--- via use-livecode , wrote: >>>>>>>>>> And it doesn't have to be just contact tracing related. >>>>>>>>>> >>>>>>>>>> Jonathan Rothberg's team is working on a simple test at home that needs an app. >>>>>>>>>> Cov19 at 4Catalyzer.com >>>>>>>>>> >>>>>>>>>> Anybody want to talk about a containment game? Or take the concept and go in one's own direction? >>>>>>>>>> >>>>>>>>>> Nicky Case's phone size comic is now available in several languages, so if you include that in _anything_ you do, can localize a little. >>>>>>>>>> >>>>>>>>>> Dar >>>>>>>>>> team COVID Watch >>>>>>>>> _______________________________________________ >>>>>>>>> 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 >>>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>>> >>> >>> >>> _______________________________________________ >>> 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 Sat Apr 11 17:22:27 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 11 Apr 2020 21:22:27 +0000 Subject: What is a token Message-ID: <2C1670F1-5FEC-499E-B5E4-FC8588578EEE@iotecdigital.com> Hi all. Recently in an effort to help Mark Wieder with the formatting portion of GLX2 v4, I came across an issue where the block comments were not formatting correctly, and any handler with a block comment didn?t auto indent. In looking through the code, I discovered that the handler responsible for this was checking to see if the first TOKEN of a line was ?/*? but when checking in the message box, ?/*? is not a token! ??? is and ?*? is, and any word is along with a list of special characters. I get that the dictionary states that this function should be used with trepidation, but my question is, since the 2 characters are like a reserved word, shouldn?t they be considered tokens, along with the reverse ?*/?? Note that block comments do not have to be at the beginning of a line. So the question is, should I submit this as a bug, or no? Bob S From jeejeestudio at gmail.com Sat Apr 11 17:28:38 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sat, 11 Apr 2020 23:28:38 +0200 Subject: WebDAV library for LC community available which does not depend on tsNet In-Reply-To: <52836C5D-BBC9-4ABB-A8BC-DE3561844719@m-r-d.de> References: <52836C5D-BBC9-4ABB-A8BC-DE3561844719@m-r-d.de> Message-ID: <71938125-f326-4e25-d2d6-9a36f085cb39@gmail.com> Awesome! thank you very much. Regards, JErry Op 11-4-2020 om 22:09 schreef matthias rebbe via use-livecode: > Hi, > > Ralf Bitte released a WebDAV library , which does not depend on tsNet and can therefore also be used > with the Community Edition. > > https://github.com/revig/livecode-webdavlib > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > > _______________________________________________ > 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 bvlahos at mac.com Sat Apr 11 17:27:21 2020 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 11 Apr 2020 14:27:21 -0700 Subject: Build for Windows 32 bit vs. x86-64 in 9.5.1? Message-ID: <1517E67A-6106-440E-8598-D07C99F2F30B@mac.com> The default build choice in 9.5.1 is Windows 32bit not x86-64bit. Since the x86-64bit is not listed as experimental is there any reason why I shouldn?t build for it instead of the default 32bit? Thank you, Bill Vlahos From jeejeestudio at gmail.com Sat Apr 11 17:33:24 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sat, 11 Apr 2020 23:33:24 +0200 Subject: Apps to fight COVID-19 In-Reply-To: References: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> <031c9379-c016-ca12-595e-5cfe8fce7c5f@gmail.com> Message-ID: I found the Tender page where people can write in for this tender, for those who are willing, it's in Dutch so if you can't read it, translate it: https://www.rijksoverheid.nl/ministeries/ministerie-van-volksgezondheid-welzijn-en-sport/nieuws/2020/04/11/oproep-om-mee-te-denken-over-apps and this is the Tender page where you can Apply to it: https://www.tenderned.nl/tenderned-tap/aankondigingen/192421 Cheers, Jerry Op 11-4-2020 om 21:55 schreef Dar Scott Consulting via use-livecode: > Maybe it can also be something like Facetime and give you a "gregarious-ity" score. > > Maybe it can even work based on Bluetooth classic inquiry. If this works, this would work even with older Androids, but I'm not sure about iOS. > > 1/128th baked: Audio and audio control protocols... > > > Are there Bluetooth libraries for LC mobile? I expect that serial might be there but that might not be very privacy preserving. > > > Oh, Google and Apple are not putting together an app (yet), they are making an engine so we can make cars. Well, I don't know that they are. I have trouble keeping up. The API that they are describing is very much like what folks at Covid watch, Eastcoast PACT and DP-3T have been describing. Two of those have libraries available right now. > > Build a car! > > > > >> On Apr 11, 2020, at 1:35 PM, JeeJeeStudio via use-livecode wrote: >> >> Don't know if it was said already... >> >> The Dutch government is asking for app ideas for this Covid virus, so people are alerted if they are to close to another, that's one thing. >> >> Any other ideas are welcome. >> >> Further, it has to be absolutely privacy safe for civliians. >> >> Any idea can be dropped within the next 2 weeks and then they will decide where they go for, or who can build it. >> >> As Livecode is rapid development, you could win with time. Don't know how Bluetooth is supported in LC, but probably it will be one of te major things. >> >> It does not has to connect, you can (if i'm total correct) see who is nearby and even read the address of the other bluetooth. So maybe there is some kind of tracking, albeit privacy safe. >> >> You have to Google where you can register yourself, cause i don't know. >> >> note that Google and Apple are already putting heads together to create an app for both platforms. >> >> Ciao! >> >> Jerry >> >> Op 11-4-2020 om 20:34 schreef Dev via use-livecode: >>> Countdown of the hours left in purgatory? >>> >>>> On Apr 11, 2020, at 12:32 PM, Mark Smith via use-livecode wrote: >>>> >>>> ?What would it be designed to help you with? >>>> >>>>> On Apr 11, 2020, at 4:51 PM, dsc--- via use-livecode wrote: >>>>> >>>>> App idea: 14 days of self-quarantine >>>>> >>>>> >>>>>>> On Apr 11, 2020, at 8:35 AM, dsc--- via use-livecode wrote: >>>>>> Maybe a diary app can be enhanced to include "Talked with this person in person for a few minutes" and "Lingered at this location for a few minutes" checkboxes that might be an aid when interviewed in traditional contact tracing. Those might be used for filtering. >>>>>> >>>>>> This does not add to anything lost when Big Brother steals your phone; it only helps you or daughter-spouse-caregiver to answer contact tracing questions. >>>>>> >>>>>> >>>>>>> On Apr 11, 2020, at 7:34 AM, dsc--- via use-livecode wrote: >>>>>>> >>>>>>> I like it. And it can give kids a chance to show grandma how to download apps. >>>>>>> >>>>>>> And this can be added to the COVID-19 button of current apps, too. >>>>>>> >>>>>>> >>>>>>>> On Apr 11, 2020, at 1:03 AM, David Bovill via use-livecode wrote: >>>>>>>> >>>>>>>> Personally - especially after reading the links below on Apple + Googles initiative - I?d go for story telling based around the comic in an app that we could add contact tracing functionality too. I think emphasising in the story telling privacy issues would be something that would be an important aspect and a strong point with regard to adding to the mix - rather than duplicating efforts by other groups? >>>>>>>> On 10 Apr 2020, 18:05 +0100, dsc--- via use-livecode , wrote: >>>>>>>>> And it doesn't have to be just contact tracing related. >>>>>>>>> >>>>>>>>> Jonathan Rothberg's team is working on a simple test at home that needs an app. >>>>>>>>> Cov19 at 4Catalyzer.com >>>>>>>>> >>>>>>>>> Anybody want to talk about a containment game? Or take the concept and go in one's own direction? >>>>>>>>> >>>>>>>>> Nicky Case's phone size comic is now available in several languages, so if you include that in _anything_ you do, can localize a little. >>>>>>>>> >>>>>>>>> Dar >>>>>>>>> team COVID Watch >>>>>>>> _______________________________________________ >>>>>>>> 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 >>>>>> >>>>> _______________________________________________ >>>>> 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 >> _______________________________________________ >> 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 Sat Apr 11 17:34:46 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 11 Apr 2020 21:34:46 +0000 Subject: HilitedItem of a navbar In-Reply-To: References: <000801d60acd$fe7014e0$fb503ea0$@net> <386AB67A-ADE0-4071-8980-4D5FC2F0897D@m-r-d.de> <000401d60b50$58e63760$0ab2a620$@net> <63990bf2-320e-48e1-a8ca-b3b857e766bc@Spark> <0df3bf10-9564-421b-8c1d-7b5ad8a77c62@Spark> Message-ID: I figured out that when my work laptop is active there is a rule that moves the emails for the use list into another folder. My home iMac has no such rule, so at times it seems like no one is responding when actually they are. DOH! Bob S > On Apr 8, 2020, at 4:15 PM, J. Landman Gay via use-livecode wrote: > > I would never ignore you. ;) We were talking about navbars that time, and I'd already tried empty. But it does seem to work with segmented controls. From jeejeestudio at gmail.com Sat Apr 11 17:37:21 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sat, 11 Apr 2020 23:37:21 +0200 Subject: Apps to fight COVID-19 In-Reply-To: References: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> <031c9379-c016-ca12-595e-5cfe8fce7c5f@gmail.com> Message-ID: <1ba527f3-5730-eda1-f732-00807caabb19@gmail.com> Next to the Dutch sites, you can also write your Tender(Idea) to COVID19-App at minvws.nl > >> On Apr 11, 2020, at 1:35 PM, JeeJeeStudio via use-livecode wrote: >> >> Don't know if it was said already... >> >> The Dutch government is asking for app ideas for this Covid virus, so people are alerted if they are to close to another, that's one thing. >> >> Any other ideas are welcome. >> >> Further, it has to be absolutely privacy safe for civliians. >> >> Any idea can be dropped within the next 2 weeks and then they will decide where they go for, or who can build it. >> >> As Livecode is rapid development, you could win with time. Don't know how Bluetooth is supported in LC, but probably it will be one of te major things. >> >> It does not has to connect, you can (if i'm total correct) see who is nearby and even read the address of the other bluetooth. So maybe there is some kind of tracking, albeit privacy safe. >> >> You have to Google where you can register yourself, cause i don't know. >> >> note that Google and Apple are already putting heads together to create an app for both platforms. >> >> Ciao! >> >> Jerry >> >> Op 11-4-2020 om 20:34 schreef Dev via use-livecode: >>> Countdown of the hours left in purgatory? >>> >>>> On Apr 11, 2020, at 12:32 PM, Mark Smith via use-livecode wrote: >>>> >>>> ?What would it be designed to help you with? >>>> >>>>> On Apr 11, 2020, at 4:51 PM, dsc--- via use-livecode wrote: >>>>> >>>>> App idea: 14 days of self-quarantine >>>>> >>>>> >>>>>>> On Apr 11, 2020, at 8:35 AM, dsc--- via use-livecode wrote: >>>>>> Maybe a diary app can be enhanced to include "Talked with this person in person for a few minutes" and "Lingered at this location for a few minutes" checkboxes that might be an aid when interviewed in traditional contact tracing. Those might be used for filtering. >>>>>> >>>>>> This does not add to anything lost when Big Brother steals your phone; it only helps you or daughter-spouse-caregiver to answer contact tracing questions. >>>>>> >>>>>> >>>>>>> On Apr 11, 2020, at 7:34 AM, dsc--- via use-livecode wrote: >>>>>>> >>>>>>> I like it. And it can give kids a chance to show grandma how to download apps. >>>>>>> >>>>>>> And this can be added to the COVID-19 button of current apps, too. >>>>>>> >>>>>>> >>>>>>>> On Apr 11, 2020, at 1:03 AM, David Bovill via use-livecode wrote: >>>>>>>> >>>>>>>> Personally - especially after reading the links below on Apple + Googles initiative - I?d go for story telling based around the comic in an app that we could add contact tracing functionality too. I think emphasising in the story telling privacy issues would be something that would be an important aspect and a strong point with regard to adding to the mix - rather than duplicating efforts by other groups? >>>>>>>> On 10 Apr 2020, 18:05 +0100, dsc--- via use-livecode , wrote: >>>>>>>>> And it doesn't have to be just contact tracing related. >>>>>>>>> >>>>>>>>> Jonathan Rothberg's team is working on a simple test at home that needs an app. >>>>>>>>> Cov19 at 4Catalyzer.com >>>>>>>>> >>>>>>>>> Anybody want to talk about a containment game? Or take the concept and go in one's own direction? >>>>>>>>> >>>>>>>>> Nicky Case's phone size comic is now available in several languages, so if you include that in _anything_ you do, can localize a little. >>>>>>>>> >>>>>>>>> Dar >>>>>>>>> team COVID Watch >>>>>>>> _______________________________________________ >>>>>>>> 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 >>>>>> >>>>> _______________________________________________ >>>>> 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 >> _______________________________________________ >> 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 Sat Apr 11 17:38:02 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 11 Apr 2020 21:38:02 +0000 Subject: Another Apple iOS Deadline In-Reply-To: References: <41BA58AF-91C2-44FF-BBA7-6D633B08A006@rogers.com> <44758ae2-743c-7f0a-9d30-8696efcc3573@fourthworld.com> <002b01d60e8b$960102e0$c20308a0$@net> Message-ID: <79373668-24F9-4102-B235-B843B8A7003C@iotecdigital.com> Kind of like praying that Darth Vader doesn?t alter the agreement further. ;-) Bob S > On Apr 9, 2020, at 11:15 AM, matthias rebbe via use-livecode wrote: > >> >> Am 09.04.2020 um 20:10 schrieb J. Landman Gay via use-livecode : >> >> On 4/9/20 11:52 AM, matthias rebbe via use-livecode wrote: >>> But fortunately the guidelines make exceptions: >>> Sign in with Apple is not required if: >>> Your app exclusively uses your company?s own account setup and sign-in systems. >> >> Thank God. I almost had a heart attack. > Same here. I was really shocked, but thought i should have closer look at the guidelines. > > So let us keep our fingers crossed that Apple does not change the exceptions. > - > Matthias Rebbe > Life Is Too Short For Boring Code From bobsneidar at iotecdigital.com Sat Apr 11 17:41:27 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 11 Apr 2020 21:41:27 +0000 Subject: Go to card has become slow In-Reply-To: References: Message-ID: <51DA0803-AE97-4A14-8949-841CFF65035D@iotecdigital.com> Well that would explain why my Datagrid heavy application is a pig saving on Windows! Bob S > On Apr 10, 2020, at 8:46 AM, Brian Milby via use-livecode wrote: > > I'm going to be that guy who replies to himself... > > I just imported a 500kb image to the card, removed the text from the field, > created 300 cards. > 0.756 seconds normal (171MB). 1.124 from a variable. (image instead of > text) > 8.311 seconds normal (8.2MB). 0.047 from a variable. (original text) > > I'll need to clean this up with a better image (something I can share) and > try on my Mac for comparison when I get off today, but this points squarely > at the serialization of the field object being the difference. > > Thanks, > Brian From bobsneidar at iotecdigital.com Sat Apr 11 17:46:02 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 11 Apr 2020 21:46:02 +0000 Subject: Livecode and AWS Sql In-Reply-To: References: Message-ID: <55B47E11-A251-4301-B2F1-714A86F8B295@iotecdigital.com> Hi all. I went through something similar of late. One thing to keep in mind, the ODBC driver can connect to a SQL server on another device, but your app that communicates with ODBC must be on the same device as the DSN. May not be your issue. Bob S > On Apr 10, 2020, at 4:36 AM, Skip Kimpel via use-livecode wrote: > > I forgot to mention that I am on a Mac... also very new to me. This might > also have something to do with how the SQL connection script is written. > > SKIP > > On Thu, Apr 9, 2020 at 10:09 PM Skip Kimpel wrote: > >> Any trick to connecting to an AWS Sql instance? I am using some of my old >> scripts that always hooked up properly to a local Sql server. Wondering if >> I might be a trick for AWS or heck, my method might be old and there is a >> better way to do it. >> >> *put revOpenDatabase("ODBC","DRIVER=SQL >> Server;SERVER="&myServerAddress&";DATABASE="&myDB&";UID="&tDatabaseUser&";PWD="&tDatabasePassword&"") >> into gConnID* >> >> >> SKIP >> > _______________________________________________ > 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 Sat Apr 11 17:50:13 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 11 Apr 2020 21:50:13 +0000 Subject: Go to card has become slow In-Reply-To: <8d2611256d531869b8f5909aa5af9d3a@livecode.com> References: <11A935A0-3CBE-41E5-B304-7A248FC3E6AC@optusnet.com.au> <8d2611256d531869b8f5909aa5af9d3a@livecode.com> Message-ID: Mark, you are a freaking computing god! (small G). Bob S > On Apr 11, 2020, at 8:41 AM, Mark Waddingham via use-livecode wrote: > > On 2020-04-11 13:54, Neville Smythe via use-livecode wrote: >> Sorry Brian, I uploaded from the wrong folder. Here is the update test >> set. But the only difference is that you don?t need to hold down the >> shift key to see the binary save timing. >> https://www.dropbox.com/sh/cb2r9jbohxqv6bp/AAAQ1weLLlzrKYQ21yn1apf9a?dl=0 >> >> Colin, the test set here shows the timing of saving of stacks; the >> times for Windows 10 are a large multiple of Mac/Unix and we >> discussing possible reasons before updating the bug report bug 21305 >> for Quality >> Control > > So I also had a look at this today - using Visual Studio's builtin CPU profiling diagnostic when running the engine in release mode. > > There appear to be two reasons for the difference: > > 1) When saving each style run (block) in a field the engine is making three Win32 API calls. > > 2) The saving method uses (and always has used) direct Win32 system calls to manipulate files without any buffering (on other platforms we wrap the standard C library stdio FILE which has its own buffer). > > I tested your very neat little stack with 1323 cards (about 36Mb of data). > > On my machine with the engine as it is it takes: > > - Windows 10 (VM) [ Community 'develop' ] - 10s > > - macOS Catalina (Native) [ Business 9.5.0 ] - 0.45s > > After doing a hacky patch to the sites using the Win32 API calls (i.e. caching the results and only calling them once) I got: > > - Windows 10 (VM) [ Community 'develop' ] - 1.8s > > After adding a very simple write buffer to the Win32 implementation of the system file stream class we have. I got: > > - Windows 10 (VM) [ Community 'develop' ] - 0.4s > > Anyway, the patches I've made are quite rough at the moment, but I'll endeavour to submit them as PRs in the next few days :) > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps From matthias_livecode_150811 at m-r-d.de Sat Apr 11 18:16:20 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 12 Apr 2020 00:16:20 +0200 Subject: Livecode and AWS Sql In-Reply-To: <55B47E11-A251-4301-B2F1-714A86F8B295@iotecdigital.com> References: <55B47E11-A251-4301-B2F1-714A86F8B295@iotecdigital.com> Message-ID: <59AE18C4-7D74-4D50-A594-B57E9607A78B@m-r-d.de> Just an information about using ODBC connection strings in LC on Mac. Since LC version 7 it is not possible anymore to use odbc connection strings in LC on Mac OS. On Windows this is not a problem. see bug report https://quality.livecode.com/show_bug.cgi?id=18151 from 2016. - Matthias Rebbe Life Is Too Short For Boring Code > Am 11.04.2020 um 23:46 schrieb Bob Sneidar via use-livecode : > > Hi all. I went through something similar of late. One thing to keep in mind, the ODBC driver can connect to a SQL server on another device, but your app that communicates with ODBC must be on the same device as the DSN. > > May not be your issue. > > Bob S > > >> On Apr 10, 2020, at 4:36 AM, Skip Kimpel via use-livecode wrote: >> >> I forgot to mention that I am on a Mac... also very new to me. This might >> also have something to do with how the SQL connection script is written. >> >> SKIP >> >> On Thu, Apr 9, 2020 at 10:09 PM Skip Kimpel wrote: >> >>> Any trick to connecting to an AWS Sql instance? I am using some of my old >>> scripts that always hooked up properly to a local Sql server. Wondering if >>> I might be a trick for AWS or heck, my method might be old and there is a >>> better way to do it. >>> >>> *put revOpenDatabase("ODBC","DRIVER=SQL >>> Server;SERVER="&myServerAddress&";DATABASE="&myDB&";UID="&tDatabaseUser&";PWD="&tDatabasePassword&"") >>> into gConnID* >>> >>> >>> SKIP >>> >> _______________________________________________ >> 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 skiplondon at gmail.com Sat Apr 11 18:46:02 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Sat, 11 Apr 2020 18:46:02 -0400 Subject: Livecode and AWS Sql In-Reply-To: <59AE18C4-7D74-4D50-A594-B57E9607A78B@m-r-d.de> References: <55B47E11-A251-4301-B2F1-714A86F8B295@iotecdigital.com> <59AE18C4-7D74-4D50-A594-B57E9607A78B@m-r-d.de> Message-ID: Thank you Matthias, So how would you connect to a remote SQL database on a Mac? SKIP On Sat, Apr 11, 2020 at 6:17 PM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Just an information about using ODBC connection strings in LC on Mac. > > Since LC version 7 it is not possible anymore to use odbc connection > strings in LC on Mac OS. > On Windows this is not a problem. > > see bug report https://quality.livecode.com/show_bug.cgi?id=18151 from > 2016. > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > > Am 11.04.2020 um 23:46 schrieb Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com>: > > > > Hi all. I went through something similar of late. One thing to keep in > mind, the ODBC driver can connect to a SQL server on another device, but > your app that communicates with ODBC must be on the same device as the DSN. > > > > May not be your issue. > > > > Bob S > > > > > >> On Apr 10, 2020, at 4:36 AM, Skip Kimpel via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> I forgot to mention that I am on a Mac... also very new to me. This > might > >> also have something to do with how the SQL connection script is written. > >> > >> SKIP > >> > >> On Thu, Apr 9, 2020 at 10:09 PM Skip Kimpel > wrote: > >> > >>> Any trick to connecting to an AWS Sql instance? I am using some of my > old > >>> scripts that always hooked up properly to a local Sql server. > Wondering if > >>> I might be a trick for AWS or heck, my method might be old and there > is a > >>> better way to do it. > >>> > >>> *put revOpenDatabase("ODBC","DRIVER=SQL > >>> > Server;SERVER="&myServerAddress&";DATABASE="&myDB&";UID="&tDatabaseUser&";PWD="&tDatabasePassword&"") > >>> into gConnID* > >>> > >>> > >>> SKIP > >>> > >> _______________________________________________ > >> 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 Sat Apr 11 19:11:35 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 11 Apr 2020 23:11:35 +0000 Subject: Livecode and AWS Sql In-Reply-To: References: <55B47E11-A251-4301-B2F1-714A86F8B295@iotecdigital.com> <59AE18C4-7D74-4D50-A594-B57E9607A78B@m-r-d.de> Message-ID: Same as on Windows, but the difference is that Microsoft has built in drivers for SQL Server, mySQL and some other things. The Mac does not. You have to download the ODBC Administrator (need the 64 bit version you know) and the drivers. This is why I created my Socket based Client Server apps. I will have the server reside on a Windows computer where ODBC connections are easy and built in. Then I will have my Mac or Windows LC apps send queries via the socket apps. Since they encrypt both ways, it?s secure as well, and I do not have to enable SSL on my mySQL server and futz with SSL certs. Bob S > On Apr 11, 2020, at 3:46 PM, Skip Kimpel via use-livecode wrote: > > Thank you Matthias, > > So how would you connect to a remote SQL database on a Mac? > > SKIP From skiplondon at gmail.com Sat Apr 11 19:15:27 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Sat, 11 Apr 2020 19:15:27 -0400 Subject: Livecode and AWS Sql In-Reply-To: References: <55B47E11-A251-4301-B2F1-714A86F8B295@iotecdigital.com> <59AE18C4-7D74-4D50-A594-B57E9607A78B@m-r-d.de> Message-ID: I downloaded the ODBC Administrator for Mac but when I click to add a connection, it has a blank drivers box. Like you said, Bob, you need to load the SQL drivers. Where can I download these drivers from? I originally started down this path with not a ton of luck. Thank you, SKIP On Sat, Apr 11, 2020 at 7:12 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Same as on Windows, but the difference is that Microsoft has built in > drivers for SQL Server, mySQL and some other things. The Mac does not. You > have to download the ODBC Administrator (need the 64 bit version you know) > and the drivers. > > This is why I created my Socket based Client Server apps. I will have the > server reside on a Windows computer where ODBC connections are easy and > built in. Then I will have my Mac or Windows LC apps send queries via the > socket apps. > > Since they encrypt both ways, it?s secure as well, and I do not have to > enable SSL on my mySQL server and futz with SSL certs. > > Bob S > > > > On Apr 11, 2020, at 3:46 PM, Skip Kimpel via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Thank you Matthias, > > > > So how would you connect to a remote SQL database on a Mac? > > > > SKIP > > _______________________________________________ > 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 Sun Apr 12 00:53:55 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sat, 11 Apr 2020 21:53:55 -0700 Subject: Build for Windows 32 bit vs. x86-64 in 9.5.1? In-Reply-To: <1517E67A-6106-440E-8598-D07C99F2F30B@mac.com> References: <1517E67A-6106-440E-8598-D07C99F2F30B@mac.com> Message-ID: <9AA3F57C-FFAB-4BF2-96A9-1D627C632B44@elementarysoftware.com> Some of my users (who are still using the 32 bit version of Windows 7) pointed out that they couldn?t run the fancy ?new? executable I posted? which I had newly compiled as 64 bit. So, that was a reason for me to go back and recompile as 32 bit. On Windows I suspect that most apps don't actually benefit much from 64 bit. ? Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-800-615-0867 ------------------------------------------------------ > On Apr 11, 2020, at 2:27 PM, Bill Vlahos via use-livecode wrote: > > The default build choice in 9.5.1 is Windows 32bit not x86-64bit. > > Since the x86-64bit is not listed as experimental is there any reason why I shouldn?t build for it instead of the default 32bit? > > Thank you, > Bill Vlahos > _______________________________________________ > 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 mark at livecode.com Sun Apr 12 03:49:28 2020 From: mark at livecode.com (Mark Waddingham) Date: Sun, 12 Apr 2020 08:49:28 +0100 Subject: What is a token In-Reply-To: <2C1670F1-5FEC-499E-B5E4-FC8588578EEE@iotecdigital.com> References: <2C1670F1-5FEC-499E-B5E4-FC8588578EEE@iotecdigital.com> Message-ID: <68e72cabca0adf991eadeded548c678f@livecode.com> On 2020-04-11 22:22, Bob Sneidar via use-livecode wrote: > So the question is, should I submit this as a bug, or no? No you shouldn't as it isn't a bug :) The 'token' chunk is a wrapper around the internal routine the engine uses to divide a script text up into tokens which are then parsed. This routine also does the 'skipping' over of whitespace and comments. As '/*' is part of a comment it is ignored, just like any spaces in between actual tokens. For example: put token 2 of "/* this is a comment */ put x into y" Will put 'x' because the only 'tokens' in that string are 'put', 'x', 'into' and 'y'. If you want to see if a line starts with a multi-line comment then you should do: if word 1 of tLine begins with "/*" then ... Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From matthias_livecode_150811 at m-r-d.de Sun Apr 12 04:54:48 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 12 Apr 2020 10:54:48 +0200 Subject: Livecode and AWS Sql In-Reply-To: References: <55B47E11-A251-4301-B2F1-714A86F8B295@iotecdigital.com> <59AE18C4-7D74-4D50-A594-B57E9607A78B@m-r-d.de> Message-ID: <424A3C93-D61E-48CE-919D-5789B714667A@m-r-d.de> Skip, As i wrote in my previous post i am using Actualtech?s ODBC drivers. They are not free, but what i think they are cheap. They cost 39,- USD. https://www.actualtech.com/product_sqlserver.php There?s also a trial version available. There are also free ODBC drivers for MSSQL for Mac from Microsoft, but i never were able to use them with ODBC Manager. In the middle of the page at https://docs.microsoft.com/de-de/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver15 you?ll find more information about it Matthias > Am 12.04.2020 um 01:15 schrieb Skip Kimpel via use-livecode : > > I downloaded the ODBC Administrator for Mac but when I click to add a > connection, it has a blank drivers box. Like you said, Bob, you need to > load the SQL drivers. Where can I download these drivers from? I > originally started down this path with not a ton of luck. > > Thank you, > > SKIP > > On Sat, Apr 11, 2020 at 7:12 PM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Same as on Windows, but the difference is that Microsoft has built in >> drivers for SQL Server, mySQL and some other things. The Mac does not. You >> have to download the ODBC Administrator (need the 64 bit version you know) >> and the drivers. >> >> This is why I created my Socket based Client Server apps. I will have the >> server reside on a Windows computer where ODBC connections are easy and >> built in. Then I will have my Mac or Windows LC apps send queries via the >> socket apps. >> >> Since they encrypt both ways, it?s secure as well, and I do not have to >> enable SSL on my mySQL server and futz with SSL certs. >> >> Bob S >> >> >>> On Apr 11, 2020, at 3:46 PM, Skip Kimpel via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Thank you Matthias, >>> >>> So how would you connect to a remote SQL database on a Mac? >>> >>> SKIP >> >> _______________________________________________ >> 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 matthias_livecode_150811 at m-r-d.de Sun Apr 12 05:09:09 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 12 Apr 2020 11:09:09 +0200 Subject: Livecode and AWS Sql In-Reply-To: References: <55B47E11-A251-4301-B2F1-714A86F8B295@iotecdigital.com> <59AE18C4-7D74-4D50-A594-B57E9607A78B@m-r-d.de> Message-ID: > Am 12.04.2020 um 01:11 schrieb Bob Sneidar via use-livecode : > > Same as on Windows, but the difference is that Microsoft has built in drivers for SQL Server, mySQL and some other things. Yes, MS Windows has included a SQL Server ODBC driver. But, if i remember correct, then you need more current ones if you want to use special features of the news SQL Server versions. We are still using the builtin ones, as our SQL Servers still are run in 2005 compatibility mode. I am not sure this is the correct expression, but i am sure you know what i mean. It?s a pity that LC does not have built-in MSSQL drivers which allow to directly communicate with the MSSQL Server without the need of ODBC. It would make so much things easier. > The Mac does not. You have to download the ODBC Administrator (need the 64 bit version you know) and the drivers. > > This is why I created my Socket based Client Server apps. I will have the server reside on a Windows computer where ODBC connections are easy and built in. Then I will have my Mac or Windows LC apps send queries via the socket apps. > > Since they encrypt both ways, it?s secure as well, and I do not have to enable SSL on my mySQL server and futz with SSL certs. > > Bob S > > >> On Apr 11, 2020, at 3:46 PM, Skip Kimpel via use-livecode wrote: >> >> Thank you Matthias, >> >> So how would you connect to a remote SQL database on a Mac? >> >> SKIP > > _______________________________________________ > 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 - Matthias Rebbe Life Is Too Short For Boring Code From matthias_livecode_150811 at m-r-d.de Sun Apr 12 05:45:26 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 12 Apr 2020 11:45:26 +0200 Subject: WebDAV library for LC community available which does not depend on tsNet In-Reply-To: <52836C5D-BBC9-4ABB-A8BC-DE3561844719@m-r-d.de> References: <52836C5D-BBC9-4ABB-A8BC-DE3561844719@m-r-d.de> Message-ID: Of course it?s Ralf Bitter and not Ralf Bitte. - Matthias Rebbe Life Is Too Short For Boring Code > Am 11.04.2020 um 22:09 schrieb matthias rebbe via use-livecode : > > Hi, > > Ralf Bitte released a WebDAV library , which does not depend on tsNet and can therefore also be used > with the Community Edition. > > https://github.com/revig/livecode-webdavlib > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > > _______________________________________________ > 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 Sun Apr 12 09:17:34 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 12 Apr 2020 13:17:34 +0000 Subject: What is a token In-Reply-To: <68e72cabca0adf991eadeded548c678f@livecode.com> References: <2C1670F1-5FEC-499E-B5E4-FC8588578EEE@iotecdigital.com> <68e72cabca0adf991eadeded548c678f@livecode.com> Message-ID: <9339918E-98B4-40DF-B076-C9E682631D1D@iotecdigital.com> :-) That is exactly what I submitted to Mark Wieder as a fix. Am I becoming as smart as Mark Waddingham?? LOL! Bob S > On Apr 12, 2020, at 12:49 AM, Mark Waddingham via use-livecode wrote: > > If you want to see if a line starts with a multi-line comment then you should do: > > if word 1 of tLine begins with "/*" then ... > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps From bobsneidar at iotecdigital.com Sun Apr 12 09:24:14 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 12 Apr 2020 13:24:14 +0000 Subject: What is a token In-Reply-To: <9339918E-98B4-40DF-B076-C9E682631D1D@iotecdigital.com> References: <2C1670F1-5FEC-499E-B5E4-FC8588578EEE@iotecdigital.com> <68e72cabca0adf991eadeded548c678f@livecode.com> <9339918E-98B4-40DF-B076-C9E682631D1D@iotecdigital.com> Message-ID: Mark Wieder, I think what we will have to do when you encounter an open block comment that is not followed by a close block comment in a single line is toggle a variable to true, and check each subsequent line for a close block comment, formatting everything in between, then toggling the variable to false. I?ll go ahead and try an implement that and send you a fix. If the code is on Github, I?ll submit there. Bob S > On Apr 12, 2020, at 6:17 AM, Bob Sneidar via use-livecode wrote: > > :-) That is exactly what I submitted to Mark Wieder as a fix. Am I becoming as smart as Mark Waddingham?? LOL! > > Bob S > > >> On Apr 12, 2020, at 12:49 AM, Mark Waddingham via use-livecode wrote: >> >> If you want to see if a line starts with a multi-line comment then you should do: >> >> if word 1 of tLine begins with "/*" then ... >> >> Warmest Regards, >> >> Mark. >> >> -- >> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >> LiveCode: Everyone can create apps > > > _______________________________________________ > 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 Sun Apr 12 10:24:45 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 12 Apr 2020 14:24:45 +0000 Subject: Livecode and AWS Sql In-Reply-To: References: <55B47E11-A251-4301-B2F1-714A86F8B295@iotecdigital.com> <59AE18C4-7D74-4D50-A594-B57E9607A78B@m-r-d.de> Message-ID: <1731B83C-347A-47DF-80BF-5D9ED181AEE0@iotecdigital.com> This next week I will probably get my client-server thingummy going to where you can securely pass queries and return data, but I only use sqlYoga when I can help it, so you might have to modify it for your own purposes. Bob S > On Apr 12, 2020, at 2:09 AM, matthias rebbe via use-livecode wrote: > >> Am 12.04.2020 um 01:11 schrieb Bob Sneidar via use-livecode : >> >> Same as on Windows, but the difference is that Microsoft has built in drivers for SQL Server, mySQL and some other things. > Yes, MS Windows has included a SQL Server ODBC driver. But, if i remember correct, then you need more current ones if you want to use special features of the news SQL Server versions. > We are still using the builtin ones, as our SQL Servers still are run in 2005 compatibility mode. I am not sure this is the correct expression, but i am sure you know what i mean. > > > It?s a pity that LC does not have built-in MSSQL drivers which allow to directly communicate with the MSSQL Server without the need of ODBC. It would make so much things easier. > > > >> The Mac does not. You have to download the ODBC Administrator (need the 64 bit version you know) and the drivers. >> > > > >> This is why I created my Socket based Client Server apps. I will have the server reside on a Windows computer where ODBC connections are easy and built in. Then I will have my Mac or Windows LC apps send queries via the socket apps. >> >> Since they encrypt both ways, it?s secure as well, and I do not have to enable SSL on my mySQL server and futz with SSL certs. >> >> Bob S >> >> >>> On Apr 11, 2020, at 3:46 PM, Skip Kimpel via use-livecode wrote: >>> >>> Thank you Matthias, >>> >>> So how would you connect to a remote SQL database on a Mac? >>> >>> SKIP >> >> _______________________________________________ >> 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 > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > > _______________________________________________ > 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 mark at livecode.com Sun Apr 12 10:43:57 2020 From: mark at livecode.com (Mark Waddingham) Date: Sun, 12 Apr 2020 15:43:57 +0100 Subject: Video format for mobile In-Reply-To: References: <9E730E77-41D8-434F-A6BE-72D54F2C3FC9@livecode.com> Message-ID: <53b96d86e4ca4663c18c6477e2ea170a@livecode.com> On 2020-04-10 21:39, J. Landman Gay via use-livecode wrote: > @Mark is there a bug number for this? I couldn't find anything. Not specifically as yet I don't think - Monte noticed some issues late last week, and is the progress of fixing them. I've asked him to chime in when he's back to work :) Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From ahsoftware at sonic.net Sun Apr 12 11:47:04 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 12 Apr 2020 08:47:04 -0700 Subject: What is a token In-Reply-To: <68e72cabca0adf991eadeded548c678f@livecode.com> References: <2C1670F1-5FEC-499E-B5E4-FC8588578EEE@iotecdigital.com> <68e72cabca0adf991eadeded548c678f@livecode.com> Message-ID: On 4/12/20 12:49 AM, Mark Waddingham via use-livecode wrote: > If you want to see if a line starts with a multi-line comment then you > should do: > > ? if word 1 of tLine begins with "/*" then ... The solution isn't that simple, since multiline comments can begin anywhere in a line, as in /* this is the start of one. And once you take care of that, you'd probably trip over quoted literals, as in if word 1 of tLine begins with "/*" the -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Sun Apr 12 11:51:06 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 12 Apr 2020 15:51:06 +0000 Subject: What is a token In-Reply-To: References: <2C1670F1-5FEC-499E-B5E4-FC8588578EEE@iotecdigital.com> <68e72cabca0adf991eadeded548c678f@livecode.com> Message-ID: How about: if ?/*" is among the words of Bob S > On Apr 12, 2020, at 8:47 AM, Mark Wieder via use-livecode wrote: > > On 4/12/20 12:49 AM, Mark Waddingham via use-livecode wrote: > >> If you want to see if a line starts with a multi-line comment then you should do: >> if word 1 of tLine begins with "/*" then ... > > The solution isn't that simple, since multiline comments can begin anywhere in a line, as in /* this is the start of one. > > And once you take care of that, you'd probably trip over quoted literals, as in > > if word 1 of tLine begins with "/*" the > > -- > Mark Wieder > ahsoftware at gmail.com From ahsoftware at sonic.net Sun Apr 12 13:02:54 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 12 Apr 2020 10:02:54 -0700 Subject: What is a token In-Reply-To: References: <2C1670F1-5FEC-499E-B5E4-FC8588578EEE@iotecdigital.com> <68e72cabca0adf991eadeded548c678f@livecode.com> Message-ID: <74d27d4d-77a0-dfdd-bafc-22e4b210b7a8@sonic.net> On 4/12/20 8:51 AM, Bob Sneidar via use-livecode wrote: > How about: > > if ?/*" is among the words of No, I've got it working here for the trivial case by replacing "/*" with numtochar(5) and then back again at the end of formatting. But that doesn't deal with the more general case of put " what about /* in a string" into tVariable -- Mark Wieder ahsoftware at gmail.com From livfoss at mac.com Sun Apr 12 13:09:24 2020 From: livfoss at mac.com (Graham Samuel) Date: Sun, 12 Apr 2020 19:09:24 +0200 Subject: MP3s Message-ID: <06A01008-5837-48F8-8668-A9F1E382E363@mac.com> Pardon my ignorance, but Is there really no way to put an mp3 sound into a stack as an audioclip and play it? Seems unlikely, but that?s what the dictionary says. WAV, forsooth! Graham From richmondmathewson at gmail.com Sun Apr 12 13:57:06 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 12 Apr 2020 20:57:06 +0300 Subject: MP3s In-Reply-To: <06A01008-5837-48F8-8668-A9F1E382E363@mac.com> References: <06A01008-5837-48F8-8668-A9F1E382E363@mac.com> Message-ID: <53518ed8-87de-8db4-b61a-bfb27b2af80e@gmail.com> AIFF On 12.04.20 20:09, Graham Samuel via use-livecode wrote: > Pardon my ignorance, but Is there really no way to put an mp3 sound into a stack as an audioclip and play it? Seems unlikely, but that?s what the dictionary says. WAV, forsooth! > > Graham > _______________________________________________ > 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 Apr 12 13:58:41 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 Apr 2020 12:58:41 -0500 Subject: Video format for mobile In-Reply-To: <53b96d86e4ca4663c18c6477e2ea170a@livecode.com> References: <9E730E77-41D8-434F-A6BE-72D54F2C3FC9@livecode.com> <53b96d86e4ca4663c18c6477e2ea170a@livecode.com> Message-ID: <9b2d2e08-26d6-1a18-1e98-34c755a0d469@hyperactivesw.com> On 4/12/20 9:43 AM, Mark Waddingham via use-livecode wrote: > On 2020-04-10 21:39, J. Landman Gay via use-livecode wrote: >> @Mark is there a bug number for this? I couldn't find anything. > > Not specifically as yet I don't think - Monte noticed some issues late last week, and is the > progress of fixing them. I've asked him to chime in when he's back to work :) Thanks, that's good. I can give him a link to one of my videos that doesn't work on Android, just in case the cause is a bit different from what he's working on now. It's pretty much time-critical at my end. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From skiplondon at gmail.com Sun Apr 12 14:03:03 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Sun, 12 Apr 2020 14:03:03 -0400 Subject: Livecode and AWS Sql In-Reply-To: <1731B83C-347A-47DF-80BF-5D9ED181AEE0@iotecdigital.com> References: <55B47E11-A251-4301-B2F1-714A86F8B295@iotecdigital.com> <59AE18C4-7D74-4D50-A594-B57E9607A78B@m-r-d.de> <1731B83C-347A-47DF-80BF-5D9ED181AEE0@iotecdigital.com> Message-ID: Thank you everybody! You have been a great help. SKIP On Sun, Apr 12, 2020 at 10:25 AM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > This next week I will probably get my client-server thingummy going to > where you can securely pass queries and return data, but I only use sqlYoga > when I can help it, so you might have to modify it for your own purposes. > > Bob S > > > > On Apr 12, 2020, at 2:09 AM, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > >> Am 12.04.2020 um 01:11 schrieb Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com>: > >> > >> Same as on Windows, but the difference is that Microsoft has built in > drivers for SQL Server, mySQL and some other things. > > Yes, MS Windows has included a SQL Server ODBC driver. But, if i > remember correct, then you need more current ones if you want to use > special features of the news SQL Server versions. > > We are still using the builtin ones, as our SQL Servers still are run in > 2005 compatibility mode. I am not sure this is the correct expression, but > i am sure you know what i mean. > > > > > > It?s a pity that LC does not have built-in MSSQL drivers which allow to > directly communicate with the MSSQL Server without the need of ODBC. It > would make so much things easier. > > > > > > > >> The Mac does not. You have to download the ODBC Administrator (need the > 64 bit version you know) and the drivers. > >> > > > > > > > >> This is why I created my Socket based Client Server apps. I will have > the server reside on a Windows computer where ODBC connections are easy and > built in. Then I will have my Mac or Windows LC apps send queries via the > socket apps. > >> > >> Since they encrypt both ways, it?s secure as well, and I do not have to > enable SSL on my mySQL server and futz with SSL certs. > >> > >> Bob S > >> > >> > >>> On Apr 11, 2020, at 3:46 PM, Skip Kimpel via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> Thank you Matthias, > >>> > >>> So how would you connect to a remote SQL database on a Mac? > >>> > >>> SKIP > >> > >> _______________________________________________ > >> 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 > > > > > > > > - > > Matthias Rebbe > > Life Is Too Short For Boring Code > > > > > > _______________________________________________ > > 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 skiplondon at gmail.com Sun Apr 12 14:04:12 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Sun, 12 Apr 2020 14:04:12 -0400 Subject: Livecode and AWS Sql In-Reply-To: <424A3C93-D61E-48CE-919D-5789B714667A@m-r-d.de> References: <55B47E11-A251-4301-B2F1-714A86F8B295@iotecdigital.com> <59AE18C4-7D74-4D50-A594-B57E9607A78B@m-r-d.de> <424A3C93-D61E-48CE-919D-5789B714667A@m-r-d.de> Message-ID: I first started with the Microsoft driver options but had zero luck... this was a very frustrating part of my learning curve with this project. SKIP On Sun, Apr 12, 2020 at 4:56 AM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > > > Skip, > > As i wrote in my previous post > i am using Actualtech?s ODBC drivers. They are not free, but what i think > they are cheap. They cost 39,- USD. > https://www.actualtech.com/product_sqlserver.php > There?s also a trial version available. > > > There are also free ODBC drivers for MSSQL for Mac from Microsoft, but i > never were able to use them with ODBC Manager. > In the middle of the page at > > https://docs.microsoft.com/de-de/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver15 > you?ll find more information about it > > > Matthias > > > > > > Am 12.04.2020 um 01:15 schrieb Skip Kimpel via use-livecode < > use-livecode at lists.runrev.com>: > > > > I downloaded the ODBC Administrator for Mac but when I click to add a > > connection, it has a blank drivers box. Like you said, Bob, you need to > > load the SQL drivers. Where can I download these drivers from? I > > originally started down this path with not a ton of luck. > > > > Thank you, > > > > SKIP > > > > On Sat, Apr 11, 2020 at 7:12 PM Bob Sneidar via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Same as on Windows, but the difference is that Microsoft has built in > >> drivers for SQL Server, mySQL and some other things. The Mac does not. > You > >> have to download the ODBC Administrator (need the 64 bit version you > know) > >> and the drivers. > >> > >> This is why I created my Socket based Client Server apps. I will have > the > >> server reside on a Windows computer where ODBC connections are easy and > >> built in. Then I will have my Mac or Windows LC apps send queries via > the > >> socket apps. > >> > >> Since they encrypt both ways, it?s secure as well, and I do not have to > >> enable SSL on my mySQL server and futz with SSL certs. > >> > >> Bob S > >> > >> > >>> On Apr 11, 2020, at 3:46 PM, Skip Kimpel via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >>> > >>> Thank you Matthias, > >>> > >>> So how would you connect to a remote SQL database on a Mac? > >>> > >>> SKIP > >> > >> _______________________________________________ > >> 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 Sun Apr 12 14:07:47 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 12 Apr 2020 21:07:47 +0300 Subject: MP3s In-Reply-To: <06A01008-5837-48F8-8668-A9F1E382E363@mac.com> References: <06A01008-5837-48F8-8668-A9F1E382E363@mac.com> Message-ID: <9f801c35-9716-e0bb-64bb-89e2c4668759@gmail.com> You are not ignorant . . . And the sound import stuff in LiveCode is donkey's years out of date. "Just for fun" I exported a sound file as WAV, AIFF and MP3 using Audacity" WAV 36.9 MB AIFF? 36.9 MB MP3? 4.4 MB which means that WAV and AIFF stink about 9 times more than MP3 NWO: as Audacity is Open Source: https://www.audacityteam.org/ and can import, read and export sound files in MP3 format . . . the good folks at LiveCode central could leverage those bits of code to do the same sort of thing inwith LiveCode . . . Of course, as the only kind of word that seems to motivate round those parts nowadays seems to be "mobile" I'll shout MOBILE. 8-) Richmond. On 12.04.20 20:09, Graham Samuel via use-livecode wrote: > Pardon my ignorance, but Is there really no way to put an mp3 sound into a stack as an audioclip and play it? Seems unlikely, but that?s what the dictionary says. WAV, forsooth! > > Graham > _______________________________________________ > 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 Sun Apr 12 14:09:10 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 12 Apr 2020 11:09:10 -0700 Subject: What is a token In-Reply-To: <2C1670F1-5FEC-499E-B5E4-FC8588578EEE@iotecdigital.com> References: <2C1670F1-5FEC-499E-B5E4-FC8588578EEE@iotecdigital.com> Message-ID: A token is passed among nodes in a network to allow subway entry. :P -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Sun Apr 12 14:11:04 2020 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 12 Apr 2020 21:11:04 +0300 Subject: LiveCode useless seems to be Junk In-Reply-To: References: <55B47E11-A251-4301-B2F1-714A86F8B295@iotecdigital.com> <59AE18C4-7D74-4D50-A594-B57E9607A78B@m-r-d.de> <424A3C93-D61E-48CE-919D-5789B714667A@m-r-d.de> Message-ID: <1253b598-1080-ea83-7971-16a49f982ded@gmail.com> This is a real pain-in-the-bum, but Thunderbird has recently started marking posts from the Use-list as junk. I wonder if anyone knows whay, and whether there is something that can be done: either at my end, or server-side? Richmond. From skiplondon at gmail.com Sun Apr 12 14:22:47 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Sun, 12 Apr 2020 14:22:47 -0400 Subject: Livecode and AWS Sql In-Reply-To: <424A3C93-D61E-48CE-919D-5789B714667A@m-r-d.de> References: <55B47E11-A251-4301-B2F1-714A86F8B295@iotecdigital.com> <59AE18C4-7D74-4D50-A594-B57E9607A78B@m-r-d.de> <424A3C93-D61E-48CE-919D-5789B714667A@m-r-d.de> Message-ID: Matthias, By the way, Actualtech?s ODBC drivers work perfectly..... thank you for the recommendation! SKIP On Sun, Apr 12, 2020 at 4:56 AM matthias rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > > > Skip, > > As i wrote in my previous post > i am using Actualtech?s ODBC drivers. They are not free, but what i think > they are cheap. They cost 39,- USD. > https://www.actualtech.com/product_sqlserver.php > There?s also a trial version available. > > > There are also free ODBC drivers for MSSQL for Mac from Microsoft, but i > never were able to use them with ODBC Manager. > In the middle of the page at > > https://docs.microsoft.com/de-de/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver15 > you?ll find more information about it > > > Matthias > > > > > > Am 12.04.2020 um 01:15 schrieb Skip Kimpel via use-livecode < > use-livecode at lists.runrev.com>: > > > > I downloaded the ODBC Administrator for Mac but when I click to add a > > connection, it has a blank drivers box. Like you said, Bob, you need to > > load the SQL drivers. Where can I download these drivers from? I > > originally started down this path with not a ton of luck. > > > > Thank you, > > > > SKIP > > > > On Sat, Apr 11, 2020 at 7:12 PM Bob Sneidar via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Same as on Windows, but the difference is that Microsoft has built in > >> drivers for SQL Server, mySQL and some other things. The Mac does not. > You > >> have to download the ODBC Administrator (need the 64 bit version you > know) > >> and the drivers. > >> > >> This is why I created my Socket based Client Server apps. I will have > the > >> server reside on a Windows computer where ODBC connections are easy and > >> built in. Then I will have my Mac or Windows LC apps send queries via > the > >> socket apps. > >> > >> Since they encrypt both ways, it?s secure as well, and I do not have to > >> enable SSL on my mySQL server and futz with SSL certs. > >> > >> Bob S > >> > >> > >>> On Apr 11, 2020, at 3:46 PM, Skip Kimpel via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >>> > >>> Thank you Matthias, > >>> > >>> So how would you connect to a remote SQL database on a Mac? > >>> > >>> SKIP > >> > >> _______________________________________________ > >> 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 ahsoftware at sonic.net Sun Apr 12 14:25:00 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 12 Apr 2020 11:25:00 -0700 Subject: LiveCode useless seems to be Junk In-Reply-To: <1253b598-1080-ea83-7971-16a49f982ded@gmail.com> References: <55B47E11-A251-4301-B2F1-714A86F8B295@iotecdigital.com> <59AE18C4-7D74-4D50-A594-B57E9607A78B@m-r-d.de> <424A3C93-D61E-48CE-919D-5789B714667A@m-r-d.de> <1253b598-1080-ea83-7971-16a49f982ded@gmail.com> Message-ID: <8f6b1ef0-3293-9de6-6dd6-bd2bf2464b27@sonic.net> On 4/12/20 11:11 AM, Richmond via use-livecode wrote: > This is a real pain-in-the-bum, but Thunderbird has recently started > marking posts from > the Use-list as junk. > > I wonder if anyone knows whay, and whether there is something that can > be done: either at my end, or server-side? Thunderbird and the list are coexisting fine here. Mark the posts as "not junk". That should clear it. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Sun Apr 12 14:32:00 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 12 Apr 2020 11:32:00 -0700 Subject: MP3s In-Reply-To: <9f801c35-9716-e0bb-64bb-89e2c4668759@gmail.com> References: <06A01008-5837-48F8-8668-A9F1E382E363@mac.com> <9f801c35-9716-e0bb-64bb-89e2c4668759@gmail.com> Message-ID: <6c91fdd3-e0c6-56ab-2e2b-1b40315bab26@sonic.net> On 4/12/20 11:07 AM, Richmond via use-livecode wrote: > "Just for fun" I exported a sound file as WAV, AIFF and MP3 using Audacity" > > WAV 36.9 MB > > AIFF? 36.9 MB > > MP3? 4.4 MB > > which means that WAV and AIFF stink about 9 times more than MP3 For the record, mp3 is a lossy format while WAV and AIFF are lossless. And your file size will depend on the bitness of the compaction. > > NWO: as Audacity is Open Source: https://www.audacityteam.org/ > > and can import, read and export sound files in MP3 format . . . The mp3 format used to be "protected" by patent licensing but was set free a few years ago, so is now available for general use. -- Mark Wieder ahsoftware at gmail.com From colinholgate at gmail.com Sun Apr 12 14:34:50 2020 From: colinholgate at gmail.com (Colin Holgate) Date: Sun, 12 Apr 2020 12:34:50 -0600 Subject: MP3s In-Reply-To: <6c91fdd3-e0c6-56ab-2e2b-1b40315bab26@sonic.net> References: <06A01008-5837-48F8-8668-A9F1E382E363@mac.com> <9f801c35-9716-e0bb-64bb-89e2c4668759@gmail.com> <6c91fdd3-e0c6-56ab-2e2b-1b40315bab26@sonic.net> Message-ID: <68B0031E-AE55-46AA-BC1C-9E6E28A65DC8@gmail.com> For AIFF and WAV the file size is affected by the sample rate, number of bits, and number of channels. For MP3, only the data rate determines the file size. > On Apr 12, 2020, at 12:32 PM, Mark Wieder via use-livecode wrote: > > On 4/12/20 11:07 AM, Richmond via use-livecode wrote: > >> "Just for fun" I exported a sound file as WAV, AIFF and MP3 using Audacity" >> WAV 36.9 MB >> AIFF 36.9 MB >> MP3 4.4 MB >> which means that WAV and AIFF stink about 9 times more than MP3 > > For the record, mp3 is a lossy format while WAV and AIFF are lossless. And your file size will depend on the bitness of the compaction. > >> NWO: as Audacity is Open Source: https://www.audacityteam.org/ >> and can import, read and export sound files in MP3 format . . . > > The mp3 format used to be "protected" by patent licensing but was set free a few years ago, so is now available for general use. > > -- > 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 matthias_livecode_150811 at m-r-d.de Sun Apr 12 14:51:18 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 12 Apr 2020 20:51:18 +0200 Subject: Livecode and AWS Sql In-Reply-To: References: <55B47E11-A251-4301-B2F1-714A86F8B295@iotecdigital.com> <59AE18C4-7D74-4D50-A594-B57E9607A78B@m-r-d.de> <424A3C93-D61E-48CE-919D-5789B714667A@m-r-d.de> Message-ID: And their support, if ever needed, is excellent. Btw., if you want to use ODBC connection strings with LC <7 and Actualtech?s ODBC drivers, then here is the needed syntax for it //MSSQL get revOpenDatabase("ODBC","Driver={Actual SQL Server};SERVER=;DATABASE=;UID=;PWD=;",,,) //SQLite get revOpenDatabase("ODBC","DRIVER={Actual Open Source Databases};Type=SQLite;DBQ=;?,,,) //PostgreSQL get revOpenDatabase("ODBC","DRIVER={Actual Open Source Databases};Type=PostgreSQL;SERVER=;DATABASE=;UID=;PWD=;?,,,) //MySQL get revOpenDatabase("ODBC","DRIVER={Actual Open Source Databases};SERVER=;DATABASE=;UID=;PWD=;?,,,) //MySQL is default, so there is no need to specify the Type //or get revOpenDatabase("ODBC","DRIVER={Actual Open Source Databases};Type=MySQL;SERVER=;DATABASE=;UID=;PWD=;?,,,) //Access get revOpenDatabase("ODBC","DRIVER={Actual Access};DBQ=;?,,,) Some general info about the Access driver: When the Actual Access driver connects to a .CSV (or .TXT) file, the table is always named ?table1?. If the ?Top row contains column names? checkbox for the DSN is selected, then the columns will be named according to the values in the first row of the CSV file. If it is not selected, then the column names will be ?col1?, ?col2?, ?col3?, etc. Regards, - Matthias Rebbe Life Is Too Short For Boring Code > Am 12.04.2020 um 20:22 schrieb Skip Kimpel via use-livecode : > > Matthias, > > By the way, Actualtech?s ODBC drivers work perfectly..... thank you for the > recommendation! > > SKIP > > On Sun, Apr 12, 2020 at 4:56 AM matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> >> >> Skip, >> >> As i wrote in my previous post >> i am using Actualtech?s ODBC drivers. They are not free, but what i think >> they are cheap. They cost 39,- USD. >> https://www.actualtech.com/product_sqlserver.php >> There?s also a trial version available. >> >> >> There are also free ODBC drivers for MSSQL for Mac from Microsoft, but i >> never were able to use them with ODBC Manager. >> In the middle of the page at >> >> https://docs.microsoft.com/de-de/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver15 >> you?ll find more information about it >> >> >> Matthias >> >> >> >> >>> Am 12.04.2020 um 01:15 schrieb Skip Kimpel via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> I downloaded the ODBC Administrator for Mac but when I click to add a >>> connection, it has a blank drivers box. Like you said, Bob, you need to >>> load the SQL drivers. Where can I download these drivers from? I >>> originally started down this path with not a ton of luck. >>> >>> Thank you, >>> >>> SKIP >>> >>> On Sat, Apr 11, 2020 at 7:12 PM Bob Sneidar via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Same as on Windows, but the difference is that Microsoft has built in >>>> drivers for SQL Server, mySQL and some other things. The Mac does not. >> You >>>> have to download the ODBC Administrator (need the 64 bit version you >> know) >>>> and the drivers. >>>> >>>> This is why I created my Socket based Client Server apps. I will have >> the >>>> server reside on a Windows computer where ODBC connections are easy and >>>> built in. Then I will have my Mac or Windows LC apps send queries via >> the >>>> socket apps. >>>> >>>> Since they encrypt both ways, it?s secure as well, and I do not have to >>>> enable SSL on my mySQL server and futz with SSL certs. >>>> >>>> Bob S >>>> >>>> >>>>> On Apr 11, 2020, at 3:46 PM, Skip Kimpel via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>> Thank you Matthias, >>>>> >>>>> So how would you connect to a remote SQL database on a Mac? >>>>> >>>>> SKIP >>>> >>>> _______________________________________________ >>>> 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 >> > _______________________________________________ > 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 livfoss at mac.com Sun Apr 12 16:33:25 2020 From: livfoss at mac.com (Graham Samuel) Date: Sun, 12 Apr 2020 22:33:25 +0200 Subject: MP3s In-Reply-To: <6c91fdd3-e0c6-56ab-2e2b-1b40315bab26@sonic.net> References: <06A01008-5837-48F8-8668-A9F1E382E363@mac.com> <9f801c35-9716-e0bb-64bb-89e2c4668759@gmail.com> <6c91fdd3-e0c6-56ab-2e2b-1b40315bab26@sonic.net> Message-ID: Lossy? Yes, like JPEG. And like JPEG, the format does very well indeed for a huge variety of applications. I listen to MP3 music a lot, mostly classical, and I don?t feel the lossy aspect is really taking away from the quality of what I hear to any extent. Of course if the whole chain of production from the Stradivarius to my ears was of the very best quality, I would be cursing that pesky lossiness. But not in ordinary life, and certainly not for a looped warning sound lasting a few seconds. Incidentally, my statistics are a trifle worse than Richmond?s: mySound.mp3 - 81 Kb mySound.wav - 890 Kb mySound.AIFF - 890 Kb Still, subject closed - I presume the mother ship has long ago decided not to enhance LC in this respect any time soon. Graham > On 12 Apr 2020, at 20:32, Mark Wieder via use-livecode wrote: > > On 4/12/20 11:07 AM, Richmond via use-livecode wrote: > >> "Just for fun" I exported a sound file as WAV, AIFF and MP3 using Audacity" >> WAV 36.9 MB >> AIFF 36.9 MB >> MP3 4.4 MB >> which means that WAV and AIFF stink about 9 times more than MP3 > > For the record, mp3 is a lossy format while WAV and AIFF are lossless. And your file size will depend on the bitness of the compaction. > >> NWO: as Audacity is Open Source: https://www.audacityteam.org/ >> and can import, read and export sound files in MP3 format . . . > > The mp3 format used to be "protected" by patent licensing but was set free a few years ago, so is now available for general use. > > -- > 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 dunbarx at aol.com Sun Apr 12 16:49:00 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 12 Apr 2020 20:49:00 +0000 (UTC) Subject: LiveCode useless seems to be Junk In-Reply-To: <1253b598-1080-ea83-7971-16a49f982ded@gmail.com> References: <55B47E11-A251-4301-B2F1-714A86F8B295@iotecdigital.com> <59AE18C4-7D74-4D50-A594-B57E9607A78B@m-r-d.de> <424A3C93-D61E-48CE-919D-5789B714667A@m-r-d.de> <1253b598-1080-ea83-7971-16a49f982ded@gmail.com> Message-ID: <345864028.3023707.1586724540605@mail.yahoo.com> Richmond. I was going to lay into you, until I saw that "useless" was actually "use-list" Close one. Craig -----Original Message----- From: Richmond via use-livecode To: Skip Kimpel via use-livecode Cc: Richmond Sent: Sun, Apr 12, 2020 2:12 pm Subject: LiveCode useless seems to be Junk This is a real pain-in-the-bum, but Thunderbird has recently started marking posts from the Use-list as junk. I wonder if anyone knows whay, and whether there is something that can be done: either at my end, or server-side? 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 monte at appisle.net Sun Apr 12 17:16:54 2020 From: monte at appisle.net (Monte Goulding) Date: Mon, 13 Apr 2020 07:16:54 +1000 Subject: Video format for mobile In-Reply-To: <9b2d2e08-26d6-1a18-1e98-34c755a0d469@hyperactivesw.com> References: <9E730E77-41D8-434F-A6BE-72D54F2C3FC9@livecode.com> <53b96d86e4ca4663c18c6477e2ea170a@livecode.com> <9b2d2e08-26d6-1a18-1e98-34c755a0d469@hyperactivesw.com> Message-ID: <2D17D66D-6065-468D-A672-05B1E8341D66@appisle.net> > On 13 Apr 2020, at 3:58 am, J. Landman Gay via use-livecode wrote: > > On 4/12/20 9:43 AM, Mark Waddingham via use-livecode wrote: >> On 2020-04-10 21:39, J. Landman Gay via use-livecode wrote: >>> @Mark is there a bug number for this? I couldn't find anything. >> Not specifically as yet I don't think - Monte noticed some issues late last week, and is the progress of fixing them. I've asked him to chime in when he's back to work :) > > Thanks, that's good. I can give him a link to one of my videos that doesn't work on Android, just in case the cause is a bit different from what he's working on now. It's pretty much time-critical at my end. Hi Jacque I noticed some very similar behavior to what you are seeing but only when acceleratedRendering is on. I could hear audio but the video was just white. Turning off acceleratedRendering fixed the issue for me. I found a way to resolve the issue in the engine. If anyone is interested it has to do with how the main surface view and the video surface view are layered. The same issue appears to impact the camera control and likely (untested yet) impacts the barcode scanner widget. I?m not sure if what you are seeing is related if acceleratedRendering is not true. First up this morning I?m creating a recipe stack for this and another issue I found with android player then crating bug reports. If you would like to create a recipe stack to demonstrate your issue that would be helpful too. Perhaps attach to your own bug report and then we can determine if it?s a duplicate of what I?m seeing or something else. Cheers Monte From kee.nethery at elloco.com Sun Apr 12 17:49:25 2020 From: kee.nethery at elloco.com (kee nethery) Date: Sun, 12 Apr 2020 14:49:25 -0700 Subject: Sample Stacks tab in IDE is not functional Message-ID: Am unable to search and get results. 9.5.1 on MacOS Indy Edition Build 15505 Have gone to web site and it too is unresponsive. In specific I?d like to get a stack that can read or parse a QR code. Kee From ambassador at fourthworld.com Sun Apr 12 18:55:11 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 12 Apr 2020 15:55:11 -0700 Subject: Sample Stacks tab in IDE is not functional In-Reply-To: References: Message-ID: <79e11622-7605-fe49-1523-602a1e9b3921@fourthworld.com> kee nethery wrote: > Am unable to search and get results. > > 9.5.1 on MacOS Indy Edition Build 15505 > > Have gone to web site and it too is unresponsive. > > In specific I?d like to get a stack that can read or parse a QR code. Confirmed here in v9.6dp3. -- 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 Sun Apr 12 19:01:09 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 12 Apr 2020 16:01:09 -0700 Subject: MP3s In-Reply-To: References: Message-ID: <8f8cc3bf-72ab-3a50-3dc2-2838bec21657@fourthworld.com> Graham Samuel wrote: > Still, subject closed - I presume the mother ship has long ago decided > not to enhance LC in this respect any time soon. Not at all. I noticed this thread got off on the tangent of codec specifics, but never addressed your core question: LiveCode can play all of those and more. Just not specifically using the old audioClip method. That method was an early attempt to emulate HC's resource-fork-based SND clips, and never got past using the .au format which was popular way back in the day on the platform MetaCard was born on, Unix. Since then audio and video support assumes richer formats of greater length than are practical with embedded media clips. Play them as files and you should be fine. (That is, unless you need to deploy to Linux, where the Player object started breaking a few years after the turn of the century and has gotten steadily worse since.) -- 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 dsc at swcp.com Sun Apr 12 19:01:55 2020 From: dsc at swcp.com (Dar Scott Consulting) Date: Sun, 12 Apr 2020 17:01:55 -0600 Subject: Apps to fight COVID-19 In-Reply-To: <1ba527f3-5730-eda1-f732-00807caabb19@gmail.com> References: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> <031c9379-c016-ca12-595e-5cfe8fce7c5f@gmail.com> <1ba527f3-5730-eda1-f732-00807caabb19@gmail.com> Message-ID: <1A6FEF90-EFC1-434C-AF6F-10991E21705E@swcp.com> Is this normal? Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage We found in our review that your app provides services or requires sensitive user information related to the COVID-19 pandemic. Since the COVID-19 pandemic is a public health crisis, services and information related to it are considered to be part of the healthcare industry. In addition, the seller and company names associated with your app are not from a recognized institution, such as a governmental entity, hospital, insurance company, non-governmental organization, or university. Per section 5.1.1 (ix) of the App Store Review Guidelines, apps that provide services or collect sensitive user information in highly-regulated fields, such as healthcare, should be submitted by a legal entity that provides these services, and not by an individual developer. Next Steps To resolve this issue, your app must be published under a seller and company name of a recognized institution. If you have developed this app on behalf of such an institution, please advise your client to add you to the development team of their Apple Developer account. If your client does not yet have an Apple Developer account, they can enroll for one as an organization through the Apple Developer website. Resources For additional details, please refer to the update on the Apple Developer website about Ensuring the Credibility of Health & Safety Information. > On Apr 11, 2020, at 3:37 PM, JeeJeeStudio via use-livecode wrote: > > Next to the Dutch sites, you can also write your Tender(Idea) to COVID19-App at minvws.nl >> >>> On Apr 11, 2020, at 1:35 PM, JeeJeeStudio via use-livecode wrote: >>> >>> Don't know if it was said already... >>> >>> The Dutch government is asking for app ideas for this Covid virus, so people are alerted if they are to close to another, that's one thing. >>> >>> Any other ideas are welcome. >>> >>> Further, it has to be absolutely privacy safe for civliians. >>> >>> Any idea can be dropped within the next 2 weeks and then they will decide where they go for, or who can build it. >>> >>> As Livecode is rapid development, you could win with time. Don't know how Bluetooth is supported in LC, but probably it will be one of te major things. >>> >>> It does not has to connect, you can (if i'm total correct) see who is nearby and even read the address of the other bluetooth. So maybe there is some kind of tracking, albeit privacy safe. >>> >>> You have to Google where you can register yourself, cause i don't know. >>> >>> note that Google and Apple are already putting heads together to create an app for both platforms. >>> >>> Ciao! >>> >>> Jerry >>> >>> Op 11-4-2020 om 20:34 schreef Dev via use-livecode: >>>> Countdown of the hours left in purgatory? >>>> >>>>> On Apr 11, 2020, at 12:32 PM, Mark Smith via use-livecode wrote: >>>>> >>>>> ?What would it be designed to help you with? >>>>> >>>>>> On Apr 11, 2020, at 4:51 PM, dsc--- via use-livecode wrote: >>>>>> >>>>>> App idea: 14 days of self-quarantine >>>>>> >>>>>> >>>>>>>> On Apr 11, 2020, at 8:35 AM, dsc--- via use-livecode wrote: >>>>>>> Maybe a diary app can be enhanced to include "Talked with this person in person for a few minutes" and "Lingered at this location for a few minutes" checkboxes that might be an aid when interviewed in traditional contact tracing. Those might be used for filtering. >>>>>>> >>>>>>> This does not add to anything lost when Big Brother steals your phone; it only helps you or daughter-spouse-caregiver to answer contact tracing questions. >>>>>>> >>>>>>> >>>>>>>> On Apr 11, 2020, at 7:34 AM, dsc--- via use-livecode wrote: >>>>>>>> >>>>>>>> I like it. And it can give kids a chance to show grandma how to download apps. >>>>>>>> >>>>>>>> And this can be added to the COVID-19 button of current apps, too. >>>>>>>> >>>>>>>> >>>>>>>>> On Apr 11, 2020, at 1:03 AM, David Bovill via use-livecode wrote: >>>>>>>>> >>>>>>>>> Personally - especially after reading the links below on Apple + Googles initiative - I?d go for story telling based around the comic in an app that we could add contact tracing functionality too. I think emphasising in the story telling privacy issues would be something that would be an important aspect and a strong point with regard to adding to the mix - rather than duplicating efforts by other groups? >>>>>>>>> On 10 Apr 2020, 18:05 +0100, dsc--- via use-livecode , wrote: >>>>>>>>>> And it doesn't have to be just contact tracing related. >>>>>>>>>> >>>>>>>>>> Jonathan Rothberg's team is working on a simple test at home that needs an app. >>>>>>>>>> Cov19 at 4Catalyzer.com >>>>>>>>>> >>>>>>>>>> Anybody want to talk about a containment game? Or take the concept and go in one's own direction? >>>>>>>>>> >>>>>>>>>> Nicky Case's phone size comic is now available in several languages, so if you include that in _anything_ you do, can localize a little. >>>>>>>>>> >>>>>>>>>> Dar >>>>>>>>>> team COVID Watch >>>>>>>>> _______________________________________________ >>>>>>>>> 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 >>>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>> _______________________________________________ >>> 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 dsc at swcp.com Sun Apr 12 19:04:09 2020 From: dsc at swcp.com (dsc at swcp.com) Date: Sun, 12 Apr 2020 17:04:09 -0600 Subject: Apps to fight COVID-19 In-Reply-To: <2D02D7AC-8169-4CDE-BD7A-3FD447CF4DF1@swcp.com> References: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> <34F40D42-DF52-44BD-BC11-631C3131432A@gmail.com> <2923CE7F-C8C5-4147-A8CC-5D994F855F0B@swcp.com> <2D02D7AC-8169-4CDE-BD7A-3FD447CF4DF1@swcp.com> Message-ID: Anybody with experience in MyChart or HIPPA or the like? > On Apr 11, 2020, at 2:40 PM, dsc--- via use-livecode wrote: > > I don't know why they allow hippos to run free in a hospital, but I hear there can be a hippo concern. > > >> On Apr 11, 2020, at 2:05 PM, dsc--- via use-livecode wrote: >> >> Ah, like NANORIMO, but 14 days! >> >> I think it would be a good promo for businesses to give a 14-day gift to those in self quarantine. Book a day. A 14-day subscription to their news magazine. Movie a day. Maybe not even quarantine, just anybody who wants to be by themselves for 14 day. >> >>> On Apr 11, 2020, at 1:57 PM, Mark Smith via use-livecode wrote: >>> >>> I like that, jokes, puzzles, movies, any form of entertainment to help pass the time. I think if I were quarantined for 14 days, I?d start writing a best seller :) >>> >>> >>>> On Apr 11, 2020, at 8:43 PM, Dar Scott Consulting via use-livecode wrote: >>>> >>>> 14 day devotional? Daily quarantine tips? Daily jokes? ... >>>> >>>> >>>>> On Apr 11, 2020, at 12:34 PM, Dev via use-livecode wrote: >>>>> >>>>> Countdown of the hours left in purgatory? >>>>> >>>>>> On Apr 11, 2020, at 12:32 PM, Mark Smith via use-livecode wrote: >>>>>> >>>>>> ?What would it be designed to help you with? >>>>>> >>>>>>> On Apr 11, 2020, at 4:51 PM, dsc--- via use-livecode wrote: >>>>>>> >>>>>>> App idea: 14 days of self-quarantine >>>>>>> >>>>>>> >>>>>>>>> On Apr 11, 2020, at 8:35 AM, dsc--- via use-livecode wrote: >>>>>>>> >>>>>>>> Maybe a diary app can be enhanced to include "Talked with this person in person for a few minutes" and "Lingered at this location for a few minutes" checkboxes that might be an aid when interviewed in traditional contact tracing. Those might be used for filtering. >>>>>>>> >>>>>>>> This does not add to anything lost when Big Brother steals your phone; it only helps you or daughter-spouse-caregiver to answer contact tracing questions. >>>>>>>> >>>>>>>> >>>>>>>>> On Apr 11, 2020, at 7:34 AM, dsc--- via use-livecode wrote: >>>>>>>>> >>>>>>>>> I like it. And it can give kids a chance to show grandma how to download apps. >>>>>>>>> >>>>>>>>> And this can be added to the COVID-19 button of current apps, too. >>>>>>>>> >>>>>>>>> >>>>>>>>>> On Apr 11, 2020, at 1:03 AM, David Bovill via use-livecode wrote: >>>>>>>>>> >>>>>>>>>> Personally - especially after reading the links below on Apple + Googles initiative - I?d go for story telling based around the comic in an app that we could add contact tracing functionality too. I think emphasising in the story telling privacy issues would be something that would be an important aspect and a strong point with regard to adding to the mix - rather than duplicating efforts by other groups? >>>>>>>>>> On 10 Apr 2020, 18:05 +0100, dsc--- via use-livecode , wrote: >>>>>>>>>>> And it doesn't have to be just contact tracing related. >>>>>>>>>>> >>>>>>>>>>> Jonathan Rothberg's team is working on a simple test at home that needs an app. >>>>>>>>>>> Cov19 at 4Catalyzer.com >>>>>>>>>>> >>>>>>>>>>> Anybody want to talk about a containment game? Or take the concept and go in one's own direction? >>>>>>>>>>> >>>>>>>>>>> Nicky Case's phone size comic is now available in several languages, so if you include that in _anything_ you do, can localize a little. >>>>>>>>>>> >>>>>>>>>>> Dar >>>>>>>>>>> team COVID Watch >>>>>>>>>> _______________________________________________ >>>>>>>>>> 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 >>>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> 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 >>>>> >>>> >>>> >>>> _______________________________________________ >>>> 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 >> >> > > > _______________________________________________ > 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 Apr 12 19:33:53 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 Apr 2020 18:33:53 -0500 Subject: LiveCode useless seems to be Junk In-Reply-To: <1253b598-1080-ea83-7971-16a49f982ded@gmail.com> References: <55B47E11-A251-4301-B2F1-714A86F8B295@iotecdigital.com> <59AE18C4-7D74-4D50-A594-B57E9607A78B@m-r-d.de> <424A3C93-D61E-48CE-919D-5789B714667A@m-r-d.de> <1253b598-1080-ea83-7971-16a49f982ded@gmail.com> Message-ID: <7ce95e9e-df00-228d-4892-2d3caaf21465@hyperactivesw.com> On 4/12/20 1:11 PM, Richmond via use-livecode wrote: > This is a real pain-in-the-bum, but Thunderbird has recently started marking posts from > the Use-list as junk. > > I wonder if anyone knows whay, and whether there is something that can be done: either at my > end, or server-side? I use Thunderbird and don't see the problem. I have a filter that moves list mail to another folder, you could try that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From neville.smythe at optusnet.com.au Sun Apr 12 21:23:20 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Mon, 13 Apr 2020 11:23:20 +1000 Subject: Go to card has become slow Message-ID: <2EAE8346-A93F-4D5B-A64A-EA92D16BDE36@optusnet.com.au> Mark Waddingham wrote > There appear to be two reasons for the difference: > > 1) When saving each style run (block) in a field the engine is making > three Win32 API calls. > > 2) The saving method uses (and always has used) direct Win32 system > calls to manipulate files without any buffering (on other platforms we > wrap the standard C library stdio FILE which has its own buffer). Wonderful Mark! I hadn?t really flagged the fact that I was using styled test in my test set. Given your comment that seemed to point to styled text being the bottleneck I tweaked my test stack to give the option of plain text. It is available at https://www.dropbox.com/sh/kgc7u7xpqu63hef/AAAdblOyIcx8SIuurB_QfHyHa?dl=0 But no, it shaved only 1 second off a 7 second save for styled text (elderly MacPro running Windows 10 VM) So your engine modifications must be having a much wider effect, not just on reducing the 3 API calls for styled as opposed to plain text ?? I hope so because the actual problem in the production stack was large numbers of table fields, not styled text. I only used ordinary text fields in the sample stack I submitted to QC in order to simplify and isolate the problem. Will we get a speed-up for table fields (and DataGrids) when it rolls out? Neville From jacque at hyperactivesw.com Mon Apr 13 01:29:44 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 Apr 2020 00:29:44 -0500 Subject: Video format for mobile In-Reply-To: <2D17D66D-6065-468D-A672-05B1E8341D66@appisle.net> References: <9E730E77-41D8-434F-A6BE-72D54F2C3FC9@livecode.com> <53b96d86e4ca4663c18c6477e2ea170a@livecode.com> <9b2d2e08-26d6-1a18-1e98-34c755a0d469@hyperactivesw.com> <2D17D66D-6065-468D-A672-05B1E8341D66@appisle.net> Message-ID: On 4/12/20 4:16 PM, Monte Goulding via use-livecode wrote: > > >> On 13 Apr 2020, at 3:58 am, J. Landman Gay via use-livecode wrote: >> >> On 4/12/20 9:43 AM, Mark Waddingham via use-livecode wrote: >>> On 2020-04-10 21:39, J. Landman Gay via use-livecode wrote: >>>> @Mark is there a bug number for this? I couldn't find anything. >>> Not specifically as yet I don't think - Monte noticed some issues late last week, and is the progress of fixing them. I've asked him to chime in when he's back to work :) >> >> Thanks, that's good. I can give him a link to one of my videos that doesn't work on Android, just in case the cause is a bit different from what he's working on now. It's pretty much time-critical at my end. > > Hi Jacque > > I noticed some very similar behavior to what you are seeing but only when acceleratedRendering is on. I could hear audio but the video was just white. Turning off acceleratedRendering fixed the issue for me. I found a way to resolve the issue in the engine. If anyone is interested it has to do with how the main surface view and the video surface view are layered. The same issue appears to impact the camera control and likely (untested yet) impacts the barcode scanner widget. I?m not sure if what you are seeing is related if acceleratedRendering is not true. > > First up this morning I?m creating a recipe stack for this and another issue I found with android player then crating bug reports. If you would like to create a recipe stack to demonstrate your issue that would be helpful too. Perhaps attach to your own bug report and then we can determine if it?s a duplicate of what I?m seeing or something else. Done: Thanks Monte. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mark at livecode.com Mon Apr 13 01:57:49 2020 From: mark at livecode.com (Mark Waddingham) Date: Mon, 13 Apr 2020 06:57:49 +0100 Subject: Go to card has become slow In-Reply-To: <2EAE8346-A93F-4D5B-A64A-EA92D16BDE36@optusnet.com.au> References: <2EAE8346-A93F-4D5B-A64A-EA92D16BDE36@optusnet.com.au> Message-ID: On 2020-04-13 02:23, Neville Smythe via use-livecode wrote: > But no, it shaved only 1 second off a 7 second save for styled text > (elderly MacPro running Windows 10 VM) So your engine modifications > must be having a much wider effect, not just on reducing the 3 API > calls for styled as opposed to plain text ?? Each paragraph has at least one style run - even if no styles are applied so this is a general thing. Most of the text in your generated test (data) stack was unstyled anyway (as it uses 'the text of' to replicate the data) so minimizing those API calls should affect all stacks with a reasonable amount of field data in them. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From lists at mangomultimedia.com Mon Apr 13 02:06:44 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 13 Apr 2020 01:06:44 -0500 Subject: Go to card has become slow In-Reply-To: References: <2EAE8346-A93F-4D5B-A64A-EA92D16BDE36@optusnet.com.au> Message-ID: On Mon, Apr 13, 2020 at 12:58 AM Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2020-04-13 02:23, Neville Smythe via use-livecode wrote: > > But no, it shaved only 1 second off a 7 second save for styled text > > (elderly MacPro running Windows 10 VM) So your engine modifications > > must be having a much wider effect, not just on reducing the 3 API > > calls for styled as opposed to plain text ?? > > Each paragraph has at least one style run - even if no styles are > applied so this is a general thing. > > Most of the text in your generated test (data) stack was unstyled anyway > (as it uses 'the text of' to replicate the data) so minimizing those API > calls should affect all stacks with a reasonable amount of field data in > them. Hi Mark, Will this caching of the DPI setting affect accessing the styledtext property in general on Windows or will it only affect calls to it during saves? -- Trevor DeVore ScreenSteps > From richmondmathewson at gmail.com Mon Apr 13 03:25:26 2020 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 13 Apr 2020 10:25:26 +0300 Subject: LiveCode useless seems to be Junk In-Reply-To: <7ce95e9e-df00-228d-4892-2d3caaf21465@hyperactivesw.com> References: <55B47E11-A251-4301-B2F1-714A86F8B295@iotecdigital.com> <59AE18C4-7D74-4D50-A594-B57E9607A78B@m-r-d.de> <424A3C93-D61E-48CE-919D-5789B714667A@m-r-d.de> <1253b598-1080-ea83-7971-16a49f982ded@gmail.com> <7ce95e9e-df00-228d-4892-2d3caaf21465@hyperactivesw.com> Message-ID: <79434c29-e440-c17d-9037-7abbc2cdfe01@gmail.com> That's a good idea, thank you. Richmond. On 13.04.20 2:33, J. Landman Gay via use-livecode wrote: > On 4/12/20 1:11 PM, Richmond via use-livecode wrote: >> This is a real pain-in-the-bum, but Thunderbird has recently started >> marking posts from >> the Use-list as junk. >> >> I wonder if anyone knows whay, and whether there is something that >> can be done: either at my end, or server-side? > > I use Thunderbird and don't see the problem. I have a filter that > moves list mail to another folder, you could try that. > From richmondmathewson at gmail.com Mon Apr 13 03:42:27 2020 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 13 Apr 2020 10:42:27 +0300 Subject: MP3s In-Reply-To: <8f8cc3bf-72ab-3a50-3dc2-2838bec21657@fourthworld.com> References: <8f8cc3bf-72ab-3a50-3dc2-2838bec21657@fourthworld.com> Message-ID: Having the ability to import resources into a stack, whether they be images, videos or sounds is a great strength; and much better than having a ReadMe document accompanying one's standalones telling people where they have to bung a slew of referenced resources . . . knowing that about 50% of people will put them in the wrong place and then complain they want their money back because your application doesn't work. This may be "old-fashioned", but so am I teaching kids how to program with BBC computers from the 1980s; doesn't mean it is a bad thing. And on Linux . . . what a shambles. Re MP3s /per se/: either LiveCode should be capable of embedding them, or, possibly by leveraging open source code, it should be able to read MP3 files and store the musical data contained within them inwith stacks in some format that can then be played . . . The compression available via MP3 well outweighs any possible loss in sound quality - frankly I wonder if anyone over the age of 18 can tell the difference unless the sound file is then played through some high-end equipment. When I was 23 I was walking past a HiFi shop in Durham City when I was seduced to go inside and listen to a demonstration of Quadraphonic sound (does anyone except me actually remember that?). I was sat down in an office chair between 4 speakers and listened to some music by Queen; then again on another chair between 2 speakers. A slightly oily fellow with an unctuous voice then said, "Of course you heard the difference between the stereo and the quad, didn't you?"? Talk about leading tag questions. Feeling like a "right peasant," I said, "No" and left. I did actually hear a difference: but not in terms of the musical quality as such, but in the effect of being "within' the space where the music was taking place. I went home and by jacking together 6 loud speakers and a tobacco tin to my record player I got a Quad effect for nix! Purists (err; sound experts or plain posers? who knows) would have howled. Now I listen to any old music "as it comes" and feel lucky that I can hear it, especially on mornings like this one when my tinnitus is singing a song of its own. Embed, embed, embed . . . Please. Best, Richmond. On 13.04.20 2:01, Richard Gaskin via use-livecode wrote: > Graham Samuel wrote: > > > Still, subject closed - I presume the mother ship has long ago decided > > not to enhance LC in this respect any time soon. > > Not at all.? I noticed this thread got off on the tangent of codec > specifics, but never addressed your core question: > > LiveCode can play all of those and more. > > Just not specifically using the old audioClip method.? That method was > an early attempt to emulate HC's resource-fork-based SND clips, and > never got past using the .au format which was popular way back in the > day on the platform MetaCard was born on, Unix. > > Since then audio and video support assumes richer formats of greater > length than are practical with embedded media clips. > > Play them as files and you should be fine. > > (That is, unless you need to deploy to Linux, where the Player object > started breaking a few years after the turn of the century and has > gotten steadily worse since.) > From livfoss at mac.com Mon Apr 13 03:52:00 2020 From: livfoss at mac.com (Graham Samuel) Date: Mon, 13 Apr 2020 09:52:00 +0200 Subject: MP3s In-Reply-To: <8f8cc3bf-72ab-3a50-3dc2-2838bec21657@fourthworld.com> References: <8f8cc3bf-72ab-3a50-3dc2-2838bec21657@fourthworld.com> Message-ID: <41EFEC6F-820A-4413-8F34-DA4B11AEB2BD@mac.com> Well, Richard, as usual you say something informative and useful! I didn?t know that LC could play a sound file in MP3 format. I am in the odd position of being a veteran of LC (and to some extent even Hypercard and Supercard) and I have developed published apps; but despite my regular reading of this list, my skills have got rusty and now I am trying to apply, at double-quick time, the oil can of advice from this list and elsewhere so as to develop a mobile app? So I didn?t look in all corners for the answer. Instinctively I thought that an audioclip was the way to go, because I saw it as a small chunk of data best embedded in my app. In my mind, the format of an external file trades flexibility (the user or the app can switch content easily) against a massive overhead of storage and software mechanics and potential delays due to loading etc, whereas the audioclip is small, clean, and can be started and stopped with no overheads. This is doubtless old-fashioned - I don?t carry the moniker of Living Fossil for nothing - and I need to revise this thinking, which you are helping me to do. Still, I can?t quite let go of the idea of the embedded squawk. Graham > On 13 Apr 2020, at 01:01, Richard Gaskin via use-livecode wrote: > > Graham Samuel wrote: > >> Still, subject closed - I presume the mother ship has long ago decided >> not to enhance LC in this respect any time soon. > > Not at all. I noticed this thread got off on the tangent of codec specifics, but never addressed your core question: > > LiveCode can play all of those and more. > > Just not specifically using the old audioClip method. That method was an early attempt to emulate HC's resource-fork-based SND clips, and never got past using the .au format which was popular way back in the day on the platform MetaCard was born on, Unix. > > Since then audio and video support assumes richer formats of greater length than are practical with embedded media clips. > > Play them as files and you should be fine. > > (That is, unless you need to deploy to Linux, where the Player object started breaking a few years after the turn of the century and has gotten steadily worse since.) > > -- > 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 livfoss at mac.com Mon Apr 13 04:30:25 2020 From: livfoss at mac.com (Graham Samuel) Date: Mon, 13 Apr 2020 10:30:25 +0200 Subject: MP3s In-Reply-To: References: <8f8cc3bf-72ab-3a50-3dc2-2838bec21657@fourthworld.com> Message-ID: <36CA9C00-72FF-45F1-B822-8D1FA69CE0EF@mac.com> Richmond, can?t resist saying that I can remember quad? I was never convinced. It was certainly a fashion. Comes into one of my favourite films, ?Local Hero?, where the scallywag fisherman from Murmansk connects with the wet-behind-the-ears young oil man from Houston. it was just a little moment in history when such a bit of dialogue might have existed? but I digress. I have tinnitus, and hearing aids, but I can still enjoy a live, non-amplified performance, and there is no equipment I could afford that could make a recording in any format sound as good. OT, I know. Graham > On 13 Apr 2020, at 09:42, Richmond via use-livecode wrote: > > Having the ability to import resources into a stack, whether they be images, videos or sounds is a great strength; > and much better than having a ReadMe document accompanying one's standalones telling people where they have to > bung a slew of referenced resources . . . knowing that about 50% of people will put them in the wrong place and then > complain they want their money back because your application doesn't work. > > This may be "old-fashioned", but so am I teaching kids how to program with BBC computers from the 1980s; > doesn't mean it is a bad thing. > > And on Linux . . . what a shambles. > > Re MP3s /per se/: either LiveCode should be capable of embedding them, or, possibly by leveraging open source > code, it should be able to read MP3 files and store the musical data contained within them inwith stacks in some > format that can then be played . . . > > The compression available via MP3 well outweighs any possible loss in sound quality - frankly I wonder if anyone over the > age of 18 can tell the difference unless the sound file is then played through some high-end equipment. > > When I was 23 I was walking past a HiFi shop in Durham City when I was seduced to go inside and listen > to a demonstration of Quadraphonic sound (does anyone except me actually remember that?). I was sat down in an > office chair between 4 speakers and listened to some music by Queen; then again on another chair between 2 speakers. > A slightly oily fellow with an unctuous voice then said, "Of course you heard the difference between the stereo > and the quad, didn't you?" Talk about leading tag questions. Feeling like a "right peasant," I said, "No" and left. > > I did actually hear a difference: but not in terms of the musical quality as such, but in the effect of being "within' the space where the music was taking place. > > I went home and by jacking together 6 loud speakers and a tobacco tin to my record player I got a Quad effect for nix! > > Purists (err; sound experts or plain posers? who knows) would have howled. > > Now I listen to any old music "as it comes" and feel lucky that I can hear it, especially on mornings like this one > when my tinnitus is singing a song of its own. > > Embed, embed, embed . . . Please. > > Best, Richmond. > > On 13.04.20 2:01, Richard Gaskin via use-livecode wrote: >> Graham Samuel wrote: >> >> > Still, subject closed - I presume the mother ship has long ago decided >> > not to enhance LC in this respect any time soon. >> >> Not at all. I noticed this thread got off on the tangent of codec specifics, but never addressed your core question: >> >> LiveCode can play all of those and more. >> >> Just not specifically using the old audioClip method. That method was an early attempt to emulate HC's resource-fork-based SND clips, and never got past using the .au format which was popular way back in the day on the platform MetaCard was born on, Unix. >> >> Since then audio and video support assumes richer formats of greater length than are practical with embedded media clips. >> >> Play them as files and you should be fine. >> >> (That is, unless you need to deploy to Linux, where the Player object started breaking a few years after the turn of the century and has gotten steadily worse since.) >> > > _______________________________________________ > 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 livfoss at mac.com Mon Apr 13 08:38:56 2020 From: livfoss at mac.com (Graham Samuel) Date: Mon, 13 Apr 2020 14:38:56 +0200 Subject: Problem simulating a location Message-ID: I?m trying to use the 10.2 XCode simulator to test an iOS app that uses the phone?s ability to know its location (usually via GPS). I can run the simulation and show that it?s working in a general way. Furthermore, mobileSensorAvailable("location?) responds in the simulated app, saying the sensor is ?authorizedWhenInUse? However the following button handler - adapted from a lesson by Devin Asay (very sincere thanks for all that, Devin!) always returns an empty result. I have set the location in the simulator to a (genuine) custom location, but if I choose one of the built-in locations, I still get the same result. On mouseUp mobileStartTrackingSensor "location? -- enable the sensor first put "now trying to get a one-off location reading" & return after fld ?TheReport" put mobileSensorReading("location",false) into tSensorData -- this returns a string with the current latitude, longitude and altitude mobileStopTrackingSensor ?location? -- turn off the sensor when done if tSensorData is empty then put "no location info!!" & return after fld "TheReport" else put tSensorData & return after fld "TheReport" end if end mouseUp Of course it?s me, but what am I doing wrong? Graham From mark at livecode.com Mon Apr 13 08:48:17 2020 From: mark at livecode.com (Mark Waddingham) Date: Mon, 13 Apr 2020 13:48:17 +0100 Subject: Go to card has become slow In-Reply-To: References: <2EAE8346-A93F-4D5B-A64A-EA92D16BDE36@optusnet.com.au> Message-ID: <37ca03c286a72ae67d64c645206633ac@livecode.com> On 2020-04-13 07:06, Trevor DeVore via use-livecode wrote: > Will this caching of the DPI setting affect accessing the styledtext > property in general on Windows or will it only affect calls to it > during > saves? I did a quick test: - 'the styledText of' is unaffected - 'the effective styledText if' is about 25% faster This was using the sample text on card 1 of Neville's test data stack - each fetched 1000 times. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From jbv at souslelogo.com Mon Apr 13 09:07:38 2020 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 13 Apr 2020 09:07:38 -0400 Subject: LC equivalent of php utf8_encode and utf8_decode ? Message-ID: Hello list, Suddenly I'm having a blank : what is the LC equivalent of utf8_encode and utf8_decode in php for a string ? Thanks in advance jbv From paul at researchware.com Mon Apr 13 09:17:31 2020 From: paul at researchware.com (Paul Dupuis) Date: Mon, 13 Apr 2020 09:17:31 -0400 Subject: LC equivalent of php utf8_encode and utf8_decode ? In-Reply-To: References: Message-ID: <969f9967-46a5-884f-9822-6fc52730eb3d@researchware.com> On 4/13/2020 9:07 AM, jbv via use-livecode wrote: > Hello list, > Suddenly I'm having a blank : what is the LC equivalent > of utf8_encode and utf8_decode in php for a string ? > > Thanks in advance > jbv > > _______________________________________________ > 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 textEncode and textDecode -- see dictionary for syntax From lists at mangomultimedia.com Mon Apr 13 09:22:01 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 13 Apr 2020 08:22:01 -0500 Subject: Go to card has become slow In-Reply-To: <37ca03c286a72ae67d64c645206633ac@livecode.com> References: <2EAE8346-A93F-4D5B-A64A-EA92D16BDE36@optusnet.com.au> <37ca03c286a72ae67d64c645206633ac@livecode.com> Message-ID: On Mon, Apr 13, 2020 at 7:48 AM Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2020-04-13 07:06, Trevor DeVore via use-livecode wrote: > > Will this caching of the DPI setting affect accessing the styledtext > > property in general on Windows or will it only affect calls to it > > during > > saves? > > I did a quick test: > > - 'the styledText of' is unaffected > > - 'the effective styledText if' is about 25% faster > > This was using the sample text on card 1 of Neville's test data stack - > each fetched 1000 times. > Thanks for testing. I use `the effective styledText` in a few instances where it can be called often so it will be nice to get a speed bump on Windows. -- Trevor DeVore ScreenSteps www.screensteps.com From bobsneidar at iotecdigital.com Mon Apr 13 10:13:31 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 13 Apr 2020 14:13:31 +0000 Subject: MP3s In-Reply-To: <36CA9C00-72FF-45F1-B822-8D1FA69CE0EF@mac.com> References: <8f8cc3bf-72ab-3a50-3dc2-2838bec21657@fourthworld.com> <36CA9C00-72FF-45F1-B822-8D1FA69CE0EF@mac.com> Message-ID: <5EA82312-75D6-47F0-82D1-7C0B1A8096EE@iotecdigital.com> The Dark Side of the Moon tour was a true Quad system, and I heard it in an outdoor amphitheater. I?ve never heard anything so amazing before or since. But that was mixed quad. Simulators are a different animal. If I am not mistaken they break out the sound by frequency ranges. Bob S > On Apr 13, 2020, at 1:30 AM, Graham Samuel via use-livecode wrote: > > Richmond, can?t resist saying that I can remember quad? I was never convinced. It was certainly a fashion. Comes into one of my favourite films, ?Local Hero?, where the scallywag fisherman from Murmansk connects with the wet-behind-the-ears young oil man from Houston. it was just a little moment in history when such a bit of dialogue might have existed? but I digress. > > I have tinnitus, and hearing aids, but I can still enjoy a live, non-amplified performance, and there is no equipment I could afford that could make a recording in any format sound as good. > > OT, I know. > > Graham > >> On 13 Apr 2020, at 09:42, Richmond via use-livecode wrote: >> >> Having the ability to import resources into a stack, whether they be images, videos or sounds is a great strength; >> and much better than having a ReadMe document accompanying one's standalones telling people where they have to >> bung a slew of referenced resources . . . knowing that about 50% of people will put them in the wrong place and then >> complain they want their money back because your application doesn't work. >> >> This may be "old-fashioned", but so am I teaching kids how to program with BBC computers from the 1980s; >> doesn't mean it is a bad thing. >> >> And on Linux . . . what a shambles. >> >> Re MP3s /per se/: either LiveCode should be capable of embedding them, or, possibly by leveraging open source >> code, it should be able to read MP3 files and store the musical data contained within them inwith stacks in some >> format that can then be played . . . >> >> The compression available via MP3 well outweighs any possible loss in sound quality - frankly I wonder if anyone over the >> age of 18 can tell the difference unless the sound file is then played through some high-end equipment. >> >> When I was 23 I was walking past a HiFi shop in Durham City when I was seduced to go inside and listen >> to a demonstration of Quadraphonic sound (does anyone except me actually remember that?). I was sat down in an >> office chair between 4 speakers and listened to some music by Queen; then again on another chair between 2 speakers. >> A slightly oily fellow with an unctuous voice then said, "Of course you heard the difference between the stereo >> and the quad, didn't you?" Talk about leading tag questions. Feeling like a "right peasant," I said, "No" and left. >> >> I did actually hear a difference: but not in terms of the musical quality as such, but in the effect of being "within' the space where the music was taking place. >> >> I went home and by jacking together 6 loud speakers and a tobacco tin to my record player I got a Quad effect for nix! >> >> Purists (err; sound experts or plain posers? who knows) would have howled. >> >> Now I listen to any old music "as it comes" and feel lucky that I can hear it, especially on mornings like this one >> when my tinnitus is singing a song of its own. >> >> Embed, embed, embed . . . Please. >> >> Best, Richmond. >> >> On 13.04.20 2:01, Richard Gaskin via use-livecode wrote: >>> Graham Samuel wrote: >>> >>>> Still, subject closed - I presume the mother ship has long ago decided >>>> not to enhance LC in this respect any time soon. >>> >>> Not at all. I noticed this thread got off on the tangent of codec specifics, but never addressed your core question: >>> >>> LiveCode can play all of those and more. >>> >>> Just not specifically using the old audioClip method. That method was an early attempt to emulate HC's resource-fork-based SND clips, and never got past using the .au format which was popular way back in the day on the platform MetaCard was born on, Unix. >>> >>> Since then audio and video support assumes richer formats of greater length than are practical with embedded media clips. >>> >>> Play them as files and you should be fine. >>> >>> (That is, unless you need to deploy to Linux, where the Player object started breaking a few years after the turn of the century and has gotten steadily worse since.) >>> >> >> _______________________________________________ >> 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 Apr 13 10:38:48 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 13 Apr 2020 14:38:48 +0000 Subject: LiveCode useless seems to be Junk In-Reply-To: <345864028.3023707.1586724540605@mail.yahoo.com> References: <55B47E11-A251-4301-B2F1-714A86F8B295@iotecdigital.com> <59AE18C4-7D74-4D50-A594-B57E9607A78B@m-r-d.de> <424A3C93-D61E-48CE-919D-5789B714667A@m-r-d.de> <1253b598-1080-ea83-7971-16a49f982ded@gmail.com> <345864028.3023707.1586724540605@mail.yahoo.com> Message-ID: Reminds me of that epic website damnyouautocorrect.com. Bob S > On Apr 12, 2020, at 1:49 PM, dunbarx--- via use-livecode wrote: > > Richmond. > I was going to lay into you, until I saw that "useless" was actually "use-list" > Close one. > Craig From ambassador at fourthworld.com Mon Apr 13 11:40:00 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 13 Apr 2020 08:40:00 -0700 Subject: MP3s In-Reply-To: <41EFEC6F-820A-4413-8F34-DA4B11AEB2BD@mac.com> References: <41EFEC6F-820A-4413-8F34-DA4B11AEB2BD@mac.com> Message-ID: Graham Samuel wrote: > Well, Richard, as usual you say something informative and useful! > > I didn?t know that LC could play a sound file in MP3 format. LC's Player control uses the host OS's playback engine, so as long as the OS-supplied media player can handle a format, LC should be able to as well. > Instinctively I thought that an audioclip was the way to go, because I > saw it as a small chunk of data best embedded in my app. In my mind, > the format of an external file trades flexibility (the user or the app > can switch content easily) against a massive overhead of storage and > software mechanics and potential delays due to loading etc, whereas > the audioclip is small, clean, and can be started and stopped with no > overheads. True, reading the media file takes a bit more time than a clip already in RAM with the rest of the stack file. But in many cases it's not noticeable. And where it is noticeable it probably has less to do with the file I/O than the codec itself: HC's SND resources had few compression options, and MC's audioclips were limited to .au format, which IIRC isn't compressed at all. It might be nice to see LC expand the internal clips options to support the same range of formats/codecs the Player does. But even then it would be limited to smaller files where it's practical to load them all into RAM with the rest of the stack file, modestly useful for some projects but prohibitive with longer files. As for user modification, the files can be in the Mac bundle, and on Windows usually an installer is required anyway so you can put them in any useful place the user is unlikely to stumble across them accidentally (this isn't a problem at all on Linix - the absence of a functional Player in that LC version simplifies many things ). I miss the simplicity of delivering true stand-alone apps, but with so many of the most lauded features of LC 8-and-later having been implemented as externals, adding some media files to the mix doesn't affect deployment options much. If there's a security or other concern requiring the files be protected from user manipulation, there are options for that. Like any DRM, there's usually a tradeoff between strength and ease of implementation, but if it's needed we can explore 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 colinholgate at gmail.com Mon Apr 13 11:45:35 2020 From: colinholgate at gmail.com (Colin Holgate) Date: Mon, 13 Apr 2020 09:45:35 -0600 Subject: MP3s In-Reply-To: References: <41EFEC6F-820A-4413-8F34-DA4B11AEB2BD@mac.com> Message-ID: <90207504-A891-4DF3-98E9-D14CD589F048@gmail.com> I don?t know where it is now, probably lost, but I had a JVC quadraphonic 8 Track player. It could play regular 8 Track, which involved playing two tracks on the first loop and the other two tracks on the second loop, or it could play the four tracks in one loop. I only had a few tapes for it, one of those was a special recording of The Six Wives of Henry the Eighth, by Rick Wakeman. > On Apr 13, 2020, at 9:40 AM, Richard Gaskin via use-livecode wrote: > > Graham Samuel wrote: > > > Well, Richard, as usual you say something informative and useful! > > > > I didn?t know that LC could play a sound file in MP3 format. > > LC's Player control uses the host OS's playback engine, so as long as the OS-supplied media player can handle a format, LC should be able to as well. > > > > Instinctively I thought that an audioclip was the way to go, because I > > saw it as a small chunk of data best embedded in my app. In my mind, > > the format of an external file trades flexibility (the user or the app > > can switch content easily) against a massive overhead of storage and > > software mechanics and potential delays due to loading etc, whereas > > the audioclip is small, clean, and can be started and stopped with no > > overheads. > > True, reading the media file takes a bit more time than a clip already in RAM with the rest of the stack file. But in many cases it's not noticeable. And where it is noticeable it probably has less to do with the file I/O than the codec itself: HC's SND resources had few compression options, and MC's audioclips were limited to .au format, which IIRC isn't compressed at all. > > It might be nice to see LC expand the internal clips options to support the same range of formats/codecs the Player does. But even then it would be limited to smaller files where it's practical to load them all into RAM with the rest of the stack file, modestly useful for some projects but prohibitive with longer files. > > As for user modification, the files can be in the Mac bundle, and on Windows usually an installer is required anyway so you can put them in any useful place the user is unlikely to stumble across them accidentally (this isn't a problem at all on Linix - the absence of a functional Player in that LC version simplifies many things ). > > I miss the simplicity of delivering true stand-alone apps, but with so many of the most lauded features of LC 8-and-later having been implemented as externals, adding some media files to the mix doesn't affect deployment options much. > > If there's a security or other concern requiring the files be protected from user manipulation, there are options for that. Like any DRM, there's usually a tradeoff between strength and ease of implementation, but if it's needed we can explore 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 > > > _______________________________________________ > 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 Apr 13 12:31:07 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 13 Apr 2020 12:31:07 -0400 Subject: MP3s In-Reply-To: <90207504-A891-4DF3-98E9-D14CD589F048@gmail.com> References: <41EFEC6F-820A-4413-8F34-DA4B11AEB2BD@mac.com> <90207504-A891-4DF3-98E9-D14CD589F048@gmail.com> Message-ID: <004101d611b0$f1fa0920$d5ee1b60$@net> I had one of those in my car. 4 tracks per pass were used in quad mode so each side of the album played without a track switch. When it was stolen(along with the muscle car) I was heartbroken. I had a few quad tapes including the aforementioned The Six Wives of Henry the Eighth. I also had Dark Side of the Moon(surprise surprise) and Zappa's Overnight Sensation and a few others. Drive to the woods roll down the windows then imbibe and pop in quadraphonic Pink Floyd. Boy we had some fun before we hunkered down and invented all the technology we see today. I also used CD-4 records at the time. the front-back difference subcarrier was up at 18 kHz to 45 kHz. Who ever thought that a record's frequency response could go to 45khz? The Door's Riders on the Storm had whispering of the tag phrase "Riders on the Storm" isolated in the rear channels. If you listen close to the stereo version you can hear the whispering. I also had some classical recordings with 2 mikes at the rear of the hall in the rear channels. Anyone who poo-poos quadraphonic should rethink that opinion when they fire up a movie with a 191.1(or whatever the current max is) speaker set up. Colin, Thanks for the great memories you just triggered. I needed that! 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 Colin Holgate via use-livecode Sent: Monday, April 13, 2020 11:46 AM To: How to use LiveCode Cc: Colin Holgate Subject: Re: MP3s I don?t know where it is now, probably lost, but I had a JVC quadraphonic 8 Track player. It could play regular 8 Track, which involved playing two tracks on the first loop and the other two tracks on the second loop, or it could play the four tracks in one loop. I only had a few tapes for it, one of those was a special recording of The Six Wives of Henry the Eighth, by Rick Wakeman. > On Apr 13, 2020, at 9:40 AM, Richard Gaskin via use-livecode wrote: > > Graham Samuel wrote: > > > Well, Richard, as usual you say something informative and useful! > > > > I didn?t know that LC could play a sound file in MP3 format. > > LC's Player control uses the host OS's playback engine, so as long as the OS-supplied media player can handle a format, LC should be able to as well. > > > > Instinctively I thought that an audioclip was the way to go, because > > I saw it as a small chunk of data best embedded in my app. In my > > mind, the format of an external file trades flexibility (the user or > > the app can switch content easily) against a massive overhead of > > storage and software mechanics and potential delays due to loading > > etc, whereas the audioclip is small, clean, and can be started and > > stopped with no overheads. > > True, reading the media file takes a bit more time than a clip already in RAM with the rest of the stack file. But in many cases it's not noticeable. And where it is noticeable it probably has less to do with the file I/O than the codec itself: HC's SND resources had few compression options, and MC's audioclips were limited to .au format, which IIRC isn't compressed at all. > > It might be nice to see LC expand the internal clips options to support the same range of formats/codecs the Player does. But even then it would be limited to smaller files where it's practical to load them all into RAM with the rest of the stack file, modestly useful for some projects but prohibitive with longer files. > > As for user modification, the files can be in the Mac bundle, and on Windows usually an installer is required anyway so you can put them in any useful place the user is unlikely to stumble across them accidentally (this isn't a problem at all on Linix - the absence of a functional Player in that LC version simplifies many things ). > > I miss the simplicity of delivering true stand-alone apps, but with so many of the most lauded features of LC 8-and-later having been implemented as externals, adding some media files to the mix doesn't affect deployment options much. > > If there's a security or other concern requiring the files be protected from user manipulation, there are options for that. Like any DRM, there's usually a tradeoff between strength and ease of implementation, but if it's needed we can explore 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 > > > _______________________________________________ > 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 sean at pidigital.co.uk Mon Apr 13 12:59:11 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Mon, 13 Apr 2020 17:59:11 +0100 Subject: tsNet error 77 ca-bundle on CentOS server Message-ID: Hi all I?m transferring a stack from my local Mac onto a remote virtual server (vultr) running a CentOS7 Gnome. The stack communicates with our other CPanel server to collect emails using a tsNetCustomSync command. The sequence is like this: > Tsnetclose > Tsnetinit > TsnetCABundle ?/etc/ssl/ca-bundle.crt? > Put tUser into tsettings[?username?] > Put tPass into tsettings[?password?] > Put tsNetCustomSync(?imaps://mail.myServ.com?,?SELECT INBOX?,xheaders,retHeaders,retResult,retBytes,tSettings) into tStat Running this I get returned in retResult: tsneterr: (77) error setting certificate verify locations: CAfile: /etc/ssl/ca-bundle.crt CApath: none The ca-bundle file exists in that location. I added the tsNetCABundle command after I had first encountered this error. I built new certificates, enabled SSL and basic firewall on the server. I?m unfamiliar enough with Linux to understand why I get this CA error. I?ve run out of common sense ideas. What do I need to do to get it running. Thanks. Sean Cole Pi Digital From matthias_livecode_150811 at m-r-d.de Mon Apr 13 13:09:07 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 13 Apr 2020 19:09:07 +0200 Subject: tsNet error 77 ca-bundle on CentOS server In-Reply-To: References: Message-ID: <91BC11CD-C7CA-4CF5-9F24-E73C451811D4@m-r-d.de> Does is work if you put the following command tsNetVerifySSLPeer false before the line put tsnetcustomsync... Maybe you have also to comment out the line TsnetCABundle.... - Matthias Rebbe Life Is Too Short For Boring Code > Am 13.04.2020 um 18:59 schrieb Pi Digital via use-livecode : > > Hi all > > I?m transferring a stack from my local Mac onto a remote virtual server (vultr) running a CentOS7 Gnome. The stack communicates with our other CPanel server to collect emails using a tsNetCustomSync command. The sequence is like this: > >> Tsnetclose >> Tsnetinit >> TsnetCABundle ?/etc/ssl/ca-bundle.crt? >> Put tUser into tsettings[?username?] >> Put tPass into tsettings[?password?] >> Put tsNetCustomSync(?imaps://mail.myServ.com?,?SELECT INBOX?,xheaders,retHeaders,retResult,retBytes,tSettings) into tStat > > > Running this I get returned in retResult: > tsneterr: (77) error setting certificate verify locations: > CAfile: /etc/ssl/ca-bundle.crt > CApath: none > > The ca-bundle file exists in that location. I added the tsNetCABundle command after I had first encountered this error. I built new certificates, enabled SSL and basic firewall on the server. I?m unfamiliar enough with Linux to understand why I get this CA error. I?ve run out of common sense ideas. What do I need to do to get it running. > > Thanks. > > Sean Cole > Pi Digital > _______________________________________________ > 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 dsc at swcp.com Mon Apr 13 13:14:36 2020 From: dsc at swcp.com (dsc at swcp.com) Date: Mon, 13 Apr 2020 11:14:36 -0600 Subject: Apps to fight COVID-19 In-Reply-To: References: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> <34F40D42-DF52-44BD-BC11-631C3131432A@gmail.com> <2923CE7F-C8C5-4147-A8CC-5D994F855F0B@swcp.com> <2D02D7AC-8169-4CDE-BD7A-3FD447CF4DF1@swcp.com> Message-ID: <2B6E3718-9346-4BF3-85E1-8992AFA17220@swcp.com> 1. Covid Watch needs expertise in making HIPAA compliant apps. (We have changed COVID Watch to Covid Watch.) 2. I looks like there is a need for a 14-day self quarantine app. In addition to what we have discussed already, it should have a place to put daily symptoms and checkboxes or reminders to notify doctor and whether one has been tested. > On Apr 12, 2020, at 5:04 PM, dsc--- via use-livecode wrote: > > Anybody with experience in MyChart or HIPPA or the like? > >> On Apr 11, 2020, at 2:40 PM, dsc--- via use-livecode wrote: >> >> I don't know why they allow hippos to run free in a hospital, but I hear there can be a hippo concern. >> >> >>> On Apr 11, 2020, at 2:05 PM, dsc--- via use-livecode wrote: >>> >>> Ah, like NANORIMO, but 14 days! >>> >>> I think it would be a good promo for businesses to give a 14-day gift to those in self quarantine. Book a day. A 14-day subscription to their news magazine. Movie a day. Maybe not even quarantine, just anybody who wants to be by themselves for 14 day. >>> >>>> On Apr 11, 2020, at 1:57 PM, Mark Smith via use-livecode wrote: >>>> >>>> I like that, jokes, puzzles, movies, any form of entertainment to help pass the time. I think if I were quarantined for 14 days, I?d start writing a best seller :) >>>> >>>> >>>>> On Apr 11, 2020, at 8:43 PM, Dar Scott Consulting via use-livecode wrote: >>>>> >>>>> 14 day devotional? Daily quarantine tips? Daily jokes? ... >>>>> >>>>> >>>>>> On Apr 11, 2020, at 12:34 PM, Dev via use-livecode wrote: >>>>>> >>>>>> Countdown of the hours left in purgatory? >>>>>> >>>>>>> On Apr 11, 2020, at 12:32 PM, Mark Smith via use-livecode wrote: >>>>>>> >>>>>>> ?What would it be designed to help you with? >>>>>>> >>>>>>>> On Apr 11, 2020, at 4:51 PM, dsc--- via use-livecode wrote: >>>>>>>> >>>>>>>> App idea: 14 days of self-quarantine >>>>>>>> >>>>>>>> >>>>>>>>>> On Apr 11, 2020, at 8:35 AM, dsc--- via use-livecode wrote: >>>>>>>>> >>>>>>>>> Maybe a diary app can be enhanced to include "Talked with this person in person for a few minutes" and "Lingered at this location for a few minutes" checkboxes that might be an aid when interviewed in traditional contact tracing. Those might be used for filtering. >>>>>>>>> >>>>>>>>> This does not add to anything lost when Big Brother steals your phone; it only helps you or daughter-spouse-caregiver to answer contact tracing questions. >>>>>>>>> >>>>>>>>> >>>>>>>>>> On Apr 11, 2020, at 7:34 AM, dsc--- via use-livecode wrote: >>>>>>>>>> >>>>>>>>>> I like it. And it can give kids a chance to show grandma how to download apps. >>>>>>>>>> >>>>>>>>>> And this can be added to the COVID-19 button of current apps, too. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> On Apr 11, 2020, at 1:03 AM, David Bovill via use-livecode wrote: >>>>>>>>>>> >>>>>>>>>>> Personally - especially after reading the links below on Apple + Googles initiative - I?d go for story telling based around the comic in an app that we could add contact tracing functionality too. I think emphasising in the story telling privacy issues would be something that would be an important aspect and a strong point with regard to adding to the mix - rather than duplicating efforts by other groups? >>>>>>>>>>> On 10 Apr 2020, 18:05 +0100, dsc--- via use-livecode , wrote: >>>>>>>>>>>> And it doesn't have to be just contact tracing related. >>>>>>>>>>>> >>>>>>>>>>>> Jonathan Rothberg's team is working on a simple test at home that needs an app. >>>>>>>>>>>> Cov19 at 4Catalyzer.com >>>>>>>>>>>> >>>>>>>>>>>> Anybody want to talk about a containment game? Or take the concept and go in one's own direction? >>>>>>>>>>>> >>>>>>>>>>>> Nicky Case's phone size comic is now available in several languages, so if you include that in _anything_ you do, can localize a little. >>>>>>>>>>>> >>>>>>>>>>>> Dar >>>>>>>>>>>> team COVID Watch >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> 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 >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> 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 >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 >>> >>> >> >> >> _______________________________________________ >> 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 sean at pidigital.co.uk Mon Apr 13 13:21:03 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Mon, 13 Apr 2020 18:21:03 +0100 Subject: tsNet error 77 ca-bundle on CentOS server In-Reply-To: <91BC11CD-C7CA-4CF5-9F24-E73C451811D4@m-r-d.de> References: <91BC11CD-C7CA-4CF5-9F24-E73C451811D4@m-r-d.de> Message-ID: Yay! You superstar Matthias! Worked perfectly. Thanks for saving me. Regards Sean Cole Pi Digital > On 13 Apr 2020, at 18:09, matthias rebbe via use-livecode wrote: > > ?Does is work if you put the following command > > tsNetVerifySSLPeer false > > before the line > > put tsnetcustomsync... > > Maybe you have also to comment out the line TsnetCABundle.... > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >>> Am 13.04.2020 um 18:59 schrieb Pi Digital via use-livecode : >>> >>> Hi all >>> >>> I?m transferring a stack from my local Mac onto a remote virtual server (vultr) running a CentOS7 Gnome. The stack communicates with our other CPanel server to collect emails using a tsNetCustomSync command. The sequence is like this: >>> >>> Tsnetclose >>> Tsnetinit >>> TsnetCABundle ?/etc/ssl/ca-bundle.crt? >>> Put tUser into tsettings[?username?] >>> Put tPass into tsettings[?password?] >>> Put tsNetCustomSync(?imaps://mail.myServ.com?,?SELECT INBOX?,xheaders,retHeaders,retResult,retBytes,tSettings) into tStat >> >> >> Running this I get returned in retResult: >> tsneterr: (77) error setting certificate verify locations: >> CAfile: /etc/ssl/ca-bundle.crt >> CApath: none >> >> The ca-bundle file exists in that location. I added the tsNetCABundle command after I had first encountered this error. I built new certificates, enabled SSL and basic firewall on the server. I?m unfamiliar enough with Linux to understand why I get this CA error. I?ve run out of common sense ideas. What do I need to do to get it running. >> >> Thanks. >> >> Sean Cole >> Pi Digital >> _______________________________________________ >> 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 panos.merakos at livecode.com Mon Apr 13 13:23:22 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 13 Apr 2020 20:23:22 +0300 Subject: [ANN] This Week in LiveCode 221 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 #221 here: https://bit.ly/2K1Rk9Q 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 ahsoftware at sonic.net Mon Apr 13 13:42:57 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 13 Apr 2020 10:42:57 -0700 Subject: Apps to fight COVID-19 In-Reply-To: <2B6E3718-9346-4BF3-85E1-8992AFA17220@swcp.com> References: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> <34F40D42-DF52-44BD-BC11-631C3131432A@gmail.com> <2923CE7F-C8C5-4147-A8CC-5D994F855F0B@swcp.com> <2D02D7AC-8169-4CDE-BD7A-3FD447CF4DF1@swcp.com> <2B6E3718-9346-4BF3-85E1-8992AFA17220@swcp.com> Message-ID: On 4/13/20 10:14 AM, dsc--- via use-livecode wrote: > 1. Covid Watch needs expertise in making HIPAA compliant apps. (We have changed COVID Watch to Covid Watch.) This any help? https://www.healthcareblocks.com/hipaa/developer_guidelines -- Mark Wieder ahsoftware at gmail.com From jiml at netrin.com Mon Apr 13 13:44:38 2020 From: jiml at netrin.com (Jim Lambert) Date: Mon, 13 Apr 2020 10:44:38 -0700 Subject: MP3s In-Reply-To: References: Message-ID: > Richard wrote: > > I miss the simplicity of delivering true stand-alone apps, but with so > many of the most lauded features of LC 8-and-later having been > implemented as externals, adding some media files to the mix doesn't > affect deployment options much. I suppose one could store the binary data of MP3s or other media within a stack?s properties, then extract them to disk for use by a player object. Jim Lambert From curry at pair.com Mon Apr 13 14:08:24 2020 From: curry at pair.com (Curry Kenworthy) Date: Mon, 13 Apr 2020 14:08:24 -0400 Subject: LiveCode useless seems to be Junk In-Reply-To: References: Message-ID: Richmond: > Thunderbird has recently started marking posts from the > Use-list as junk. Might be the click-bait subject lines lately. Seem to be coming from a server in Bulgaria? :D j/k > whether there is something that can be done There are also Junk Settings in Account Settings (Tools menu) that determine how Junk is determined. ("If enabled you must first train Thunderbird...") You can also disable the built-in Junk feature there. Depending on which of those settings are turned on and also your email provider's setup, if an external sp*m flagging service is being used (or if you want to see typical triggers) you might be able to see more info by showing all headers (View menu) and looking for a sp*m status header on flagged emails. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From andre at andregarzia.com Mon Apr 13 14:55:00 2020 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 13 Apr 2020 19:55:00 +0100 Subject: [blog post] creating a blogging client with LiveCode Message-ID: Hey Folks, I just wrote a lengthy blog post about recreating an old app of mine to post to blogs using LiveCode: https://andregarzia.com/2020/04/cross-platform-development-with-livecode.html I don't talk about any stuff that you're not aware in it. It is mostly for the benefit of people who doesn't know LC but I thought some people here might appreciate it. Send me feedback or questions if you want to know more about anything there. Best Andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From harrison at all-auctions.com Mon Apr 13 17:08:40 2020 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 13 Apr 2020 17:08:40 -0400 Subject: LiveCode useless seems to be Junk In-Reply-To: <1253b598-1080-ea83-7971-16a49f982ded@gmail.com> References: <55B47E11-A251-4301-B2F1-714A86F8B295@iotecdigital.com> <59AE18C4-7D74-4D50-A594-B57E9607A78B@m-r-d.de> <424A3C93-D61E-48CE-919D-5789B714667A@m-r-d.de> <1253b598-1080-ea83-7971-16a49f982ded@gmail.com> Message-ID: Hi Richmond, If enough of your useful stuff ends up in your junk email mailbox folder well then.. welcome to your new inbox! LOL Seriously I hope you find a fix, and when you do let us all know. I don?t use Thunderbird so I can?t really speak more to the matter. Good luck! Rick > On Apr 12, 2020, at 2:11 PM, Richmond via use-livecode wrote: > > Thunderbird has recently started marking posts from > the Use-list as junk. From kee.nethery at elloco.com Mon Apr 13 18:11:58 2020 From: kee.nethery at elloco.com (kee nethery) Date: Mon, 13 Apr 2020 15:11:58 -0700 Subject: a QR Code reader for iOS and Android? Message-ID: <7F8EEAFF-CE98-485F-B942-D3DD50C666CC@elloco.com> From what I can tell there used to be a QRcode scanner in code that Monte provided to LiveCode. I?m using the built in library to create a QR code and as far as I know, that is working great. Now I need something to scan and parse a QRcode. There was nothing I could find that did that in the sample stacks. Any ideas? Kee Nethery From kee.nethery at elloco.com Mon Apr 13 18:30:40 2020 From: kee.nethery at elloco.com (kee nethery) Date: Mon, 13 Apr 2020 15:30:40 -0700 Subject: a QR Code reader for iOS and Android? In-Reply-To: <7F8EEAFF-CE98-485F-B942-D3DD50C666CC@elloco.com> References: <7F8EEAFF-CE98-485F-B942-D3DD50C666CC@elloco.com> Message-ID: <8AD7321E-65EB-4937-86CC-B134DC3E2995@elloco.com> I see that the Android Barcode Library can scan QRcodes. That?s great. I see that mergeAVCam can scan barcodes of various types for ios and mac as specified by mergAVCamBarcodeTypes(). I could potentially use these two libraries to scan any QR code. On my Mac when I run "put mergAVCamBarcodeTypes()? in the message box, it returns an empty list. Does that mean that Livecode can?t scan any barcode type on my Mac? That seems bizarre. Kee > On Apr 13, 2020, at 3:11 PM, kee nethery via use-livecode wrote: > > From what I can tell there used to be a QRcode scanner in code that Monte provided to LiveCode. I?m using the built in library to create a QR code and as far as I know, that is working great. Now I need something to scan and parse a QRcode. There was nothing I could find that did that in the sample stacks. > > Any ideas? > > Kee Nethery > _______________________________________________ > 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 Apr 13 18:38:07 2020 From: monte at appisle.net (Monte Goulding) Date: Tue, 14 Apr 2020 08:38:07 +1000 Subject: Video format for mobile In-Reply-To: References: <9E730E77-41D8-434F-A6BE-72D54F2C3FC9@livecode.com> <53b96d86e4ca4663c18c6477e2ea170a@livecode.com> <9b2d2e08-26d6-1a18-1e98-34c755a0d469@hyperactivesw.com> <2D17D66D-6065-468D-A672-05B1E8341D66@appisle.net> Message-ID: > On 13 Apr 2020, at 3:29 pm, J. Landman Gay via use-livecode wrote: > > On 4/12/20 4:16 PM, Monte Goulding via use-livecode wrote: >>> On 13 Apr 2020, at 3:58 am, J. Landman Gay via use-livecode wrote: >>> >>> On 4/12/20 9:43 AM, Mark Waddingham via use-livecode wrote: >>>> On 2020-04-10 21:39, J. Landman Gay via use-livecode wrote: >>>>> @Mark is there a bug number for this? I couldn't find anything. >>>> Not specifically as yet I don't think - Monte noticed some issues late last week, and is the progress of fixing them. I've asked him to chime in when he's back to work :) >>> >>> Thanks, that's good. I can give him a link to one of my videos that doesn't work on Android, just in case the cause is a bit different from what he's working on now. It's pretty much time-critical at my end. >> Hi Jacque >> I noticed some very similar behavior to what you are seeing but only when acceleratedRendering is on. I could hear audio but the video was just white. Turning off acceleratedRendering fixed the issue for me. I found a way to resolve the issue in the engine. If anyone is interested it has to do with how the main surface view and the video surface view are layered. The same issue appears to impact the camera control and likely (untested yet) impacts the barcode scanner widget. I?m not sure if what you are seeing is related if acceleratedRendering is not true. >> First up this morning I?m creating a recipe stack for this and another issue I found with android player then crating bug reports. If you would like to create a recipe stack to demonstrate your issue that would be helpful too. Perhaps attach to your own bug report and then we can determine if it?s a duplicate of what I?m seeing or something else. > > Done: > > > Thanks Monte. Hi Jacque Good news! This is not a bug! As of Android 9 clear text HTTP is disabled by default. This is much like the ATS restrictions on iOS. We probably need to add a way to configure this in the standalone builder for Android like we do for iOS even though it?s not advisable. Changing your video url to https resoled the issue. See https://developer.android.com/training/articles/security-config#CleartextTrafficPermitted Cheers Monte From monte at appisle.net Mon Apr 13 18:41:01 2020 From: monte at appisle.net (Monte Goulding) Date: Tue, 14 Apr 2020 08:41:01 +1000 Subject: Video format for mobile In-Reply-To: References: <9E730E77-41D8-434F-A6BE-72D54F2C3FC9@livecode.com> <53b96d86e4ca4663c18c6477e2ea170a@livecode.com> <9b2d2e08-26d6-1a18-1e98-34c755a0d469@hyperactivesw.com> <2D17D66D-6065-468D-A672-05B1E8341D66@appisle.net> Message-ID: <85CBC15B-4582-442C-A0A2-E4FA4ECDB2CF@appisle.net> Aha! Was just about to comment on the report and it seems Panos got there first! I should have expected that ;-) Cheers Monte From monte at appisle.net Mon Apr 13 18:47:51 2020 From: monte at appisle.net (Monte Goulding) Date: Tue, 14 Apr 2020 08:47:51 +1000 Subject: a QR Code reader for iOS and Android? In-Reply-To: <8AD7321E-65EB-4937-86CC-B134DC3E2995@elloco.com> References: <7F8EEAFF-CE98-485F-B942-D3DD50C666CC@elloco.com> <8AD7321E-65EB-4937-86CC-B134DC3E2995@elloco.com> Message-ID: > On 14 Apr 2020, at 8:30 am, kee nethery via use-livecode wrote: > > I see that the Android Barcode Library can scan QRcodes. That?s great. > > I see that mergeAVCam can scan barcodes of various types for ios and mac as specified by mergAVCamBarcodeTypes(). I could potentially use these two libraries to scan any QR code. > > On my Mac when I run "put mergAVCamBarcodeTypes()? in the message box, it returns an empty list. Does that mean that Livecode can?t scan any barcode type on my Mac? That seems bizarre. mergAVCam is not supported on mac since we have the camera control in the engine. Last I checked the AVFoundation barcode detection was not implemented in the macOS version of that framework either but it seems it has been in Catalina so I?ll raise this internally as a possibility. Ideally we would extend the android barcode scanner widget to be cross platform. Cheers Monte From kee.nethery at elloco.com Mon Apr 13 19:06:15 2020 From: kee.nethery at elloco.com (kee nethery) Date: Mon, 13 Apr 2020 16:06:15 -0700 Subject: a QR Code reader for iOS and Android? In-Reply-To: References: <7F8EEAFF-CE98-485F-B942-D3DD50C666CC@elloco.com> <8AD7321E-65EB-4937-86CC-B134DC3E2995@elloco.com> Message-ID: <71F3FE42-93D7-4F18-8157-50050E25356B@elloco.com> The dictionary in 9.5.1 Indy indicates mergeAVCam is ios and mac. Thanks for clarifying it is not mac. Can you tell me the list of bar code types that mergAVCamBarcodeTypes() would return in ios? That list is not in the dictionary. Am hoping that I can build something for Android and iOS that can exchange data between those devices using QR codes (assuming QR codes are supported by ios for scanning). Thanks! Kee > On Apr 13, 2020, at 3:47 PM, Monte Goulding via use-livecode wrote: > > > >> On 14 Apr 2020, at 8:30 am, kee nethery via use-livecode wrote: >> >> I see that the Android Barcode Library can scan QRcodes. That?s great. >> >> I see that mergeAVCam can scan barcodes of various types for ios and mac as specified by mergAVCamBarcodeTypes(). I could potentially use these two libraries to scan any QR code. >> >> On my Mac when I run "put mergAVCamBarcodeTypes()? in the message box, it returns an empty list. Does that mean that Livecode can?t scan any barcode type on my Mac? That seems bizarre. > > mergAVCam is not supported on mac since we have the camera control in the engine. > > Last I checked the AVFoundation barcode detection was not implemented in the macOS version of that framework either but it seems it has been in Catalina so I?ll raise this internally as a possibility. > > Ideally we would extend the android barcode scanner widget to be cross platform. > > 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 alanstenhouse at hotmail.com Mon Apr 13 19:20:20 2020 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Tue, 14 Apr 2020 08:50:20 +0930 Subject: Problem simulating a location In-Reply-To: References: Message-ID: Hi Graham IIRC, mobileSensorReading() returns an array so you need to check the keys of the array. Perhaps: if tSensorData["latitude"] is empty then .... HTH cheers Alan > On Mon, 13 Apr 2020 14:38:56,Graham Samuel > wrote: > > > I?m trying to use the 10.2 XCode simulator to test an iOS app that uses the phone?s ability to know its location (usually via GPS). I can run the simulation and show that it?s working in a general way. Furthermore, mobileSensorAvailable("location?) responds in the simulated app, saying the sensor is ?authorizedWhenInUse? > > However the following button handler - adapted from a lesson by Devin Asay (very sincere thanks for all that, Devin!) always returns an empty result. I have set the location in the simulator to a (genuine) custom location, but if I choose one of the built-in locations, I still get the same result. > > On mouseUp > mobileStartTrackingSensor "location? -- enable the sensor first > put "now trying to get a one-off location reading" & return after fld ?TheReport" > put mobileSensorReading("location",false) into tSensorData -- this returns a string with the current latitude, longitude and altitude > mobileStopTrackingSensor ?location? -- turn off the sensor when done > if tSensorData is empty then > put "no location info!!" & return after fld "TheReport" > else > put tSensorData & return after fld "TheReport" > end if > end mouseUp > From monte at appisle.net Mon Apr 13 19:23:49 2020 From: monte at appisle.net (Monte Goulding) Date: Tue, 14 Apr 2020 09:23:49 +1000 Subject: a QR Code reader for iOS and Android? In-Reply-To: <71F3FE42-93D7-4F18-8157-50050E25356B@elloco.com> References: <7F8EEAFF-CE98-485F-B942-D3DD50C666CC@elloco.com> <8AD7321E-65EB-4937-86CC-B134DC3E2995@elloco.com> <71F3FE42-93D7-4F18-8157-50050E25356B@elloco.com> Message-ID: <6F19B7D3-3946-432F-AC4A-75BB2C18FC5D@appisle.net> > On 14 Apr 2020, at 9:06 am, kee nethery via use-livecode wrote: > > The dictionary in 9.5.1 Indy indicates mergeAVCam is ios and mac. Thanks for clarifying it is not mac. Ah, ok that should get fixed > > Can you tell me the list of bar code types that mergAVCamBarcodeTypes() would return in ios? That list is not in the dictionary. AVMetadataObjectTypeUPCECode, AVMetadataObjectTypeCode39Code, AVMetadataObjectTypeCode39Mod43Code, AVMetadataObjectTypeEAN13Code, AVMetadataObjectTypeEAN8Code, AVMetadataObjectTypeCode93Code, AVMetadataObjectTypeCode128Code, AVMetadataObjectTypePDF417Code, AVMetadataObjectTypeQRCode, AVMetadataObjectTypeAztecCode, AVMetadataObjectTypeITF14Code, AVMetadataObjectTypeDataMatrixCode > > Am hoping that I can build something for Android and iOS that can exchange data between those devices using QR codes (assuming QR codes are supported by ios for scanning). Yes they are Cheers Monte From jacque at hyperactivesw.com Mon Apr 13 20:00:35 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 Apr 2020 19:00:35 -0500 Subject: Video format for mobile In-Reply-To: References: <9E730E77-41D8-434F-A6BE-72D54F2C3FC9@livecode.com> <53b96d86e4ca4663c18c6477e2ea170a@livecode.com> <9b2d2e08-26d6-1a18-1e98-34c755a0d469@hyperactivesw.com> <2D17D66D-6065-468D-A672-05B1E8341D66@appisle.net> Message-ID: <25035b2a-ae31-63e9-aaca-ac801c17cd93@hyperactivesw.com> On 4/13/20 5:38 PM, Monte Goulding via use-livecode wrote: > Hi Jacque > > Good news! This is not a bug! > > As of Android 9 clear text HTTP is disabled by default. This is much like the ATS restrictions on iOS. We probably need to add a way to configure this in the standalone builder for Android like we do for iOS even though it?s not advisable. > > Changing your video url to https resoled the issue. > > See https://developer.android.com/training/articles/security-config#CleartextTrafficPermitted The bug was me. I didn't know about the HTTPS requirement, but in addition I had to add the SSL library and set hardware acceleration too (I think that's what Colin meant, and I misunderstood.) Sorry you had to spend time on this, especially since Panos beat you to it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at appisle.net Mon Apr 13 20:05:26 2020 From: monte at appisle.net (Monte Goulding) Date: Tue, 14 Apr 2020 10:05:26 +1000 Subject: Video format for mobile In-Reply-To: <25035b2a-ae31-63e9-aaca-ac801c17cd93@hyperactivesw.com> References: <9E730E77-41D8-434F-A6BE-72D54F2C3FC9@livecode.com> <53b96d86e4ca4663c18c6477e2ea170a@livecode.com> <9b2d2e08-26d6-1a18-1e98-34c755a0d469@hyperactivesw.com> <2D17D66D-6065-468D-A672-05B1E8341D66@appisle.net> <25035b2a-ae31-63e9-aaca-ac801c17cd93@hyperactivesw.com> Message-ID: <4BA8F0C4-01A0-4791-9079-7F3783C0D40F@appisle.net> > On 14 Apr 2020, at 10:00 am, J. Landman Gay via use-livecode wrote: > > The bug was me. I didn't know about the HTTPS requirement, but in addition I had to add the SSL library and set hardware acceleration too (I think that's what Colin meant, and I misunderstood.) Hmm? I only needed to change the url to https here. > > Sorry you had to spend time on this, especially since Panos beat you to it. Actually it?s good that we have had a chance to identify an improvement we can make to the standalone builder. Cheers Monte From paulmcclernan at gmail.com Mon Apr 13 20:38:28 2020 From: paulmcclernan at gmail.com (Paul McClernan) Date: Mon, 13 Apr 2020 20:38:28 -0400 Subject: MP3s In-Reply-To: <06A01008-5837-48F8-8668-A9F1E382E363@mac.com> References: <06A01008-5837-48F8-8668-A9F1E382E363@mac.com> Message-ID: As Richard said: > LC's Player control uses the host OS's playback engine, so as long as > the OS-supplied media player can handle a format, LC should be able to > as well. For clarity, I would add that the mp3 files to be played could be included with a standalone package on platforms like macOS (app bundle resource folder) and Android (inside the app/zip folder) so there wouldn't be any mucking about for the user. Another method to include them is to encode the files as Base64 and store them in a custom property in your stack, then extract them to the system's temporary directory or the app's preference directory and play them from there. Also, there is a (mostly complete) library written in LiveCode script for reading (and writing, but that's the unfinished bits) ID3 tags and other info directly from the binary data of mp3 files. https://github.com/PaulMcClernan/id3lib On Sun, Apr 12, 2020 at 1:10 PM Graham Samuel via use-livecode < use-livecode at lists.runrev.com> wrote: > Pardon my ignorance, but Is there really no way to put an mp3 sound into a > stack as an audioclip and play it? Seems unlikely, but that?s what the > dictionary says. WAV, forsooth! > > Graham > _______________________________________________ > 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 dsc at swcp.com Mon Apr 13 20:52:02 2020 From: dsc at swcp.com (Dar Scott Consulting) Date: Mon, 13 Apr 2020 18:52:02 -0600 Subject: Apps to fight COVID-19 In-Reply-To: References: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> <34F40D42-DF52-44BD-BC11-631C3131432A@gmail.com> <2923CE7F-C8C5-4147-A8CC-5D994F855F0B@swcp.com> <2D02D7AC-8169-4CDE-BD7A-3FD447CF4DF1@swcp.com> <2B6E3718-9346-4BF3-85E1-8992AFA17220@swcp.com> Message-ID: Thanks! > On Apr 13, 2020, at 11:42 AM, Mark Wieder via use-livecode wrote: > > On 4/13/20 10:14 AM, dsc--- via use-livecode wrote: >> 1. Covid Watch needs expertise in making HIPAA compliant apps. (We have changed COVID Watch to Covid Watch.) > > This any help? > > https://www.healthcareblocks.com/hipaa/developer_guidelines > > -- > 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 neville.smythe at optusnet.com.au Mon Apr 13 21:10:25 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Tue, 14 Apr 2020 11:10:25 +1000 Subject: Go to card has become slow Message-ID: <1D7ABEDA-B6B5-47F0-A52F-8555625ADF96@optusnet.com.au> Mark Waddingham wrote > Each paragraph has at least one style run - even if no styles are > applied so this is a general thing. > > Most of the text in your generated test (data) stack was unstyled anyway > (as it uses 'the text of' to replicate the data) so minimizing those API > calls should affect all stacks with a reasonable amount of field data in > them. Ah, my bad. I have updated the SlowSaveWithStyle test stack. So table fields and datagrids will indeed be affected. Excellent! Neville From livfoss at mac.com Tue Apr 14 11:18:07 2020 From: livfoss at mac.com (Graham Samuel) Date: Tue, 14 Apr 2020 17:18:07 +0200 Subject: Problem simulating a location In-Reply-To: References: Message-ID: <0B2B0DE8-AFDD-44B2-BDF5-C0E6FF262DF1@mac.com> Folks, I am still struggling with this. Alan Stenhouse has been kind enough to help me, but so far I have not got the simulator to simulate any kind of location information. There is a function, mobileCurrentLocation, that is supposed to return an array provided tracking is enabled and mobileSensorAvailable(?location?) has been invoked (see the LC Dictionary). I have made sure that both these things have been done, but In my tests on the simulator the array appears to be empty. I suppose I can try the test on a real phone, but I would rather stick to the simulator for now. And I haven?t found out how LC knows I?ve got a provisioning profile (separate problem I admit). Has anyone got any idea what?s going wrong? Puzzled. Graham > On 13 Apr 2020, at 14:38, Graham Samuel wrote: > > I?m trying to use the 10.2 XCode simulator to test an iOS app that uses the phone?s ability to know its location (usually via GPS). I can run the simulation and show that it?s working in a general way. Furthermore, mobileSensorAvailable("location?) responds in the simulated app, saying the sensor is ?authorizedWhenInUse? > > However the following button handler - adapted from a lesson by Devin Asay (very sincere thanks for all that, Devin!) always returns an empty result. I have set the location in the simulator to a (genuine) custom location, but if I choose one of the built-in locations, I still get the same result. > > On mouseUp > mobileStartTrackingSensor "location? -- enable the sensor first > put "now trying to get a one-off location reading" & return after fld ?TheReport" > put mobileSensorReading("location",false) into tSensorData -- this returns a string with the current latitude, longitude and altitude > mobileStopTrackingSensor ?location? -- turn off the sensor when done > if tSensorData is empty then > put "no location info!!" & return after fld "TheReport" > else > put tSensorData & return after fld "TheReport" > end if > end mouseUp > > > Of course it?s me, but what am I doing wrong? > > Graham From harrison at all-auctions.com Tue Apr 14 11:33:14 2020 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 14 Apr 2020 11:33:14 -0400 Subject: Problem simulating a location In-Reply-To: <0B2B0DE8-AFDD-44B2-BDF5-C0E6FF262DF1@mac.com> References: <0B2B0DE8-AFDD-44B2-BDF5-C0E6FF262DF1@mac.com> Message-ID: Hi Graham, You should really try it on the phone before knocking yourself out about why it doesn?t work on the simulator. I have found that some things involving sensors simply don?t work on the simulator. Try that, if it doesn?t work on the phone let us know. Good luck! Rick > On Apr 14, 2020, at 11:18 AM, Graham Samuel via use-livecode wrote: > > Folks, I am still struggling with this. Alan Stenhouse has been kind enough to help me, but so far I have not got the simulator to simulate any kind of location information. > > There is a function, mobileCurrentLocation, that is supposed to return an array provided tracking is enabled and mobileSensorAvailable(?location?) has been invoked (see the LC Dictionary). I have made sure that both these things have been done, but In my tests on the simulator the array appears to be empty. > > I suppose I can try the test on a real phone, but I would rather stick to the simulator for now. And I haven?t found out how LC knows I?ve got a provisioning profile (separate problem I admit). > > Has anyone got any idea what?s going wrong? > > Puzzled. > > Graham From andrew at midwestcoastmedia.com Tue Apr 14 13:39:50 2020 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Tue, 14 Apr 2020 13:39:50 -0400 Subject: Problem simulating a location (Graham Samuel) In-Reply-To: References: Message-ID: > > From: Graham Samuel > I suppose I can try the test on a real phone, but I would rather stick to the simulator for now. If you have a physical device, regardless of age, try it. There are some things that either don?t work (like camera) or are spotty in the emulator. > And I haven?t found out how LC knows I?ve got a provisioning profile (separate problem I admit). When you download from the Apple Developer site, just double-click the provisioning profile to open it in Xcode. Livecode will know it?s installed next time you open the Save As Standalone window (but won?t recognize if you install while that window is open) > ?Andrew Bell From livfoss at mac.com Tue Apr 14 14:13:52 2020 From: livfoss at mac.com (Graham Samuel) Date: Tue, 14 Apr 2020 20:13:52 +0200 Subject: Problem simulating a location In-Reply-To: References: <0B2B0DE8-AFDD-44B2-BDF5-C0E6FF262DF1@mac.com> Message-ID: <7ADA1776-45D6-47D7-957E-B31518A31BB3@mac.com> Gents, thank you. Good advice, and I?m taking it! I will report back. Graham > On 14 Apr 2020, at 19:39, Andrew at MidWest Coast Media via use-livecode wrote: > >> >> From: Graham Samuel >> I suppose I can try the test on a real phone, but I would rather stick to the simulator for now. > If you have a physical device, regardless of age, try it. There are some things that either don?t work (like camera) or are spotty in the emulator. > > >> And I haven?t found out how LC knows I?ve got a provisioning profile (separate problem I admit). > > When you download from the Apple Developer site, just double-click the provisioning profile to open it in Xcode. Livecode will know it?s installed next time you open the Save As Standalone window (but won?t recognize if you install while that window is open) >> > ?Andrew Bell > On 14 Apr 2020, at 17:33, Rick Harrison via use-livecode wrote: > > Hi Graham, > > You should really try it on the phone before knocking yourself out > about why it doesn?t work on the simulator. I have found that > some things involving sensors simply don?t work on the simulator. > > Try that, if it doesn?t work on the phone let us know. > > Good luck! > > Rick > >> On Apr 14, 2020, at 11:18 AM, Graham Samuel via use-livecode wrote: >> >> Folks, I am still struggling with this. Alan Stenhouse has been kind enough to help me, but so far I have not got the simulator to simulate any kind of location information. >> >> There is a function, mobileCurrentLocation, that is supposed to return an array provided tracking is enabled and mobileSensorAvailable(?location?) has been invoked (see the LC Dictionary). I have made sure that both these things have been done, but In my tests on the simulator the array appears to be empty. >> >> I suppose I can try the test on a real phone, but I would rather stick to the simulator for now. And I haven?t found out how LC knows I?ve got a provisioning profile (separate problem I admit). >> >> Has anyone got any idea what?s going wrong? >> >> Puzzled. >> >> Graham > > _______________________________________________ > 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 Apr 14 15:17:34 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 14 Apr 2020 22:17:34 +0300 Subject: iOS build error - help needed Message-ID: Hello all, A new user gets some strange errors trying to build an iOS app with LC 9.6 DP-3 and Xcode 11.3.1 on Catalina. I know some of you folks have no problems building iOS apps with this setup - my guess is that something in his Xcode is not setup correctly - although he has tried everything I could suggest. Full thread here: https://forums.livecode.com/viewtopic.php?f=49&t=33887 Have you seen this error - and if yes - how did you manage to fix it? I am on Mojave, and cannot upgrade to Catalina yet. Thanks for your help! Kind regards, Panos -- From dsc at swcp.com Tue Apr 14 15:37:04 2020 From: dsc at swcp.com (dsc at swcp.com) Date: Tue, 14 Apr 2020 13:37:04 -0600 Subject: Apps to fight COVID-19 In-Reply-To: References: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> <34F40D42-DF52-44BD-BC11-631C3131432A@gmail.com> <2923CE7F-C8C5-4147-A8CC-5D994F855F0B@swcp.com> <2D02D7AC-8169-4CDE-BD7A-3FD447CF4DF1@swcp.com> <2B6E3718-9346-4BF3-85E1-8992AFA17220@swcp.com> Message-ID: <19D64863-74B0-4DF4-AAA5-FC64EEA43D59@swcp.com> Jonathan Rothberg is looking for brilliant people who can code whatever your domain. > On Apr 13, 2020, at 6:52 PM, Dar Scott Consulting via use-livecode wrote: > > Thanks! > > >> On Apr 13, 2020, at 11:42 AM, Mark Wieder via use-livecode wrote: >> >> On 4/13/20 10:14 AM, dsc--- via use-livecode wrote: >>> 1. Covid Watch needs expertise in making HIPAA compliant apps. (We have changed COVID Watch to Covid Watch.) >> >> This any help? >> >> https://www.healthcareblocks.com/hipaa/developer_guidelines >> >> -- >> 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 bobsneidar at iotecdigital.com Tue Apr 14 15:56:41 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 14 Apr 2020 19:56:41 +0000 Subject: Damn You Unicode! Message-ID: <2F102F7A-78FB-4FA9-9B4E-88B15A61804A@iotecdigital.com> I have some code in a field that I put into a variable then I ?do? the variable. Works fine on a Mac. On Windows however, the command throws an error. I build the code in the field by getting values from different objects on the card. In this particular case, I am getting the dgProp [?columns?] of a data grid. The problem then is that text is unicode, so when I attempt to do the code, it fails, and the error indicates that the last character of the code is the first character of the dgProp [?columns?]. Example: sqlquery_set qObject, ?select clause?, ?E That is as much as sqlYoga sees of the command because what comes after is the second byte of the letter ?E? in all it?s unicode glory. So how do I completely remove any unicode from text in a field? I am already getting the text of the field. I have already tried textEncode and textDecode using ASCII, UTF-8. I end up with the same string containing unicode. Bob S From bobsneidar at iotecdigital.com Tue Apr 14 16:09:14 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 14 Apr 2020 20:09:14 +0000 Subject: Damn You Unicode! In-Reply-To: <2F102F7A-78FB-4FA9-9B4E-88B15A61804A@iotecdigital.com> References: <2F102F7A-78FB-4FA9-9B4E-88B15A61804A@iotecdigital.com> Message-ID: <5B5A26D5-A8CD-430C-A0EA-0E306B8A2FEA@iotecdigital.com> Actually it looks like this is happening internally to sqlYoga. I think it?s because I am querying a SQL Server. This doesn?t happen with a mySQL database. Bob S > On Apr 14, 2020, at 12:56 PM, Bob Sneidar wrote: > > I have some code in a field that I put into a variable then I ?do? the variable. Works fine on a Mac. On Windows however, the command throws an error. > > I build the code in the field by getting values from different objects on the card. In this particular case, I am getting the dgProp [?columns?] of a data grid. > > The problem then is that text is unicode, so when I attempt to do the code, it fails, and the error indicates that the last character of the code is the first character of the dgProp [?columns?]. > > Example: > > sqlquery_set qObject, ?select clause?, ?E > > That is as much as sqlYoga sees of the command because what comes after is the second byte of the letter ?E? in all it?s unicode glory. > > So how do I completely remove any unicode from text in a field? I am already getting the text of the field. I have already tried textEncode and textDecode using ASCII, UTF-8. I end up with the same string containing unicode. > > Bob S > From dochawk at gmail.com Tue Apr 14 16:09:46 2020 From: dochawk at gmail.com (doc hawk) Date: Tue, 14 Apr 2020 13:09:46 -0700 Subject: Damn You Unicode! In-Reply-To: <2F102F7A-78FB-4FA9-9B4E-88B15A61804A@iotecdigital.com> References: <2F102F7A-78FB-4FA9-9B4E-88B15A61804A@iotecdigital.com> Message-ID: <8372F557-8715-4F49-83ED-3F80B81C0509@gmail.com> Shooting from the hip, but could it be differences in cr, lf, and the like getting processed differently? That is, being intrereted by your yogi as a break in one implementation and not another? (Which, of course, would be a boo-boo.) pawk, who couldn?t manage to get ?Cindy? or ?ranger smith? into the last paragraph . . . From ahsoftware at sonic.net Tue Apr 14 17:31:14 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 14 Apr 2020 14:31:14 -0700 Subject: Damn You Unicode! In-Reply-To: <8372F557-8715-4F49-83ED-3F80B81C0509@gmail.com> References: <2F102F7A-78FB-4FA9-9B4E-88B15A61804A@iotecdigital.com> <8372F557-8715-4F49-83ED-3F80B81C0509@gmail.com> Message-ID: <64be9392-6afe-40e4-34c1-d265f7f36093@sonic.net> On 4/14/20 1:09 PM, doc hawk via use-livecode wrote: > Shooting from the hip, but could it be differences in cr, lf, and the like getting processed differently? > > That is, being intrereted by your yogi as a break in one implementation and not another? (Which, of course, would be a boo-boo.) > > pawk, who couldn?t manage to get ?Cindy? or ?ranger smith? into the last paragraph . . . Try a picnic basket instead -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Tue Apr 14 17:31:38 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Apr 2020 14:31:38 -0700 Subject: Keyhole effect? Message-ID: <463a0b99-de48-d02e-5543-ff3855cfa1f9@fourthworld.com> Back in the day I could easily make a sort of keyhole effect, in which I used one graphic to obscure an image, and a second graphic on top as a mask to define a shape (such as a keyhole) through which I could see a portion of the image. It was done easily enough with inks. Inks that, it seems, we no longer have. So given the subset of inks we're now limited to, has anyone here seen firsthand an example of this in LC v9.x? -- 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 Tue Apr 14 17:34:16 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 14 Apr 2020 14:34:16 -0700 Subject: Damn You Unicode! In-Reply-To: <2F102F7A-78FB-4FA9-9B4E-88B15A61804A@iotecdigital.com> References: <2F102F7A-78FB-4FA9-9B4E-88B15A61804A@iotecdigital.com> Message-ID: On 4/14/20 12:56 PM, Bob Sneidar via use-livecode wrote: > I have some code in a field that I put into a variable then I ?do? the variable. Works fine on a Mac. On Windows however, the command throws an error. > > I build the code in the field by getting values from different objects on the card. In this particular case, I am getting the dgProp [?columns?] of a data grid. don't know sqlyoga, but aren't you setting yourself up for sqlinjection? Would suggest you at least scrub the data first before executing it. And in doing so you could unUnicode it. OK I made up that word, but still... -- Mark Wieder ahsoftware at gmail.com From dochawk at gmail.com Tue Apr 14 17:34:28 2020 From: dochawk at gmail.com (doc hawk) Date: Tue, 14 Apr 2020 14:34:28 -0700 Subject: Damn You Unicode! In-Reply-To: <64be9392-6afe-40e4-34c1-d265f7f36093@sonic.net> References: <2F102F7A-78FB-4FA9-9B4E-88B15A61804A@iotecdigital.com> <8372F557-8715-4F49-83ED-3F80B81C0509@gmail.com> <64be9392-6afe-40e4-34c1-d265f7f36093@sonic.net> Message-ID: <97F2CE90-D519-4BA7-935E-8B8DC5434441@gmail.com> Mark mentioned > > Try a picnic basket instead Given that someone actually implemented RFC 1149, why not? From dochawk at gmail.com Tue Apr 14 17:36:22 2020 From: dochawk at gmail.com (doc hawk) Date: Tue, 14 Apr 2020 14:36:22 -0700 Subject: Damn You Unicode! In-Reply-To: References: <2F102F7A-78FB-4FA9-9B4E-88B15A61804A@iotecdigital.com> Message-ID: <91734125-2FE2-499C-8212-B020B4DCEBE3@gmail.com> Mark mumbled > and in doing so you could unUnicode it. OK I made up that word, but still? Verbing nouns again, the man is . . . From ahsoftware at sonic.net Tue Apr 14 18:07:47 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 14 Apr 2020 15:07:47 -0700 Subject: Damn You Unicode! In-Reply-To: <97F2CE90-D519-4BA7-935E-8B8DC5434441@gmail.com> References: <2F102F7A-78FB-4FA9-9B4E-88B15A61804A@iotecdigital.com> <8372F557-8715-4F49-83ED-3F80B81C0509@gmail.com> <64be9392-6afe-40e4-34c1-d265f7f36093@sonic.net> <97F2CE90-D519-4BA7-935E-8B8DC5434441@gmail.com> Message-ID: <068497b4-512d-6c99-2200-c7c051ba17fc@sonic.net> On 4/14/20 2:34 PM, doc hawk via use-livecode wrote: > > Mark mentioned >> >> Try a picnic basket instead > > Given that someone actually implemented RFC 1149, why not? Ha! I totally missed the fact that someone (other than Terry Pratchett) had actually done a real-world implementation. "And, as usual among Linux groupies, Microsoft took some of the heat. One pigeon bonked into a nearby window, spurring Cox to quip, "Oh, no! Windows causing problems again," Engen said." https://www.cnet.com/news/pigeon-powered-internet-takes-flight/ -- Mark Wieder ahsoftware at gmail.com From brian at milby7.com Tue Apr 14 18:36:12 2020 From: brian at milby7.com (Brian Milby) Date: Tue, 14 Apr 2020 18:36:12 -0400 Subject: Keyhole effect? In-Reply-To: <463a0b99-de48-d02e-5543-ff3855cfa1f9@fourthworld.com> References: <463a0b99-de48-d02e-5543-ff3855cfa1f9@fourthworld.com> Message-ID: We had a discussion in 2018 about using a hex shaped grc to split up an image (started by Richmond). The key line there was: set the backPattern of grc "hex" to the ID of img "box" Since attachments and stacks were involved, I'm pretty sure it took place on the forums. I'm not sure if this will accomplish what you're looking for though. I can send a stack off list if you'd like to see it. On Tue, Apr 14, 2020 at 5:32 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Back in the day I could easily make a sort of keyhole effect, in which I > used one graphic to obscure an image, and a second graphic on top as a > mask to define a shape (such as a keyhole) through which I could see a > portion of the image. > > It was done easily enough with inks. > > Inks that, it seems, we no longer have. > > So given the subset of inks we're now limited to, has anyone here seen > firsthand an example of this in LC v9.x? > > -- > 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 monte at appisle.net Tue Apr 14 18:58:02 2020 From: monte at appisle.net (Monte Goulding) Date: Wed, 15 Apr 2020 08:58:02 +1000 Subject: Keyhole effect? In-Reply-To: <463a0b99-de48-d02e-5543-ff3855cfa1f9@fourthworld.com> References: <463a0b99-de48-d02e-5543-ff3855cfa1f9@fourthworld.com> Message-ID: <11C8AE09-C36B-45E1-95BF-3ACE6E83F9F9@appisle.net> If I understand what you want correctly then: Create image Create mask object Group both Set the ink of the mask object to blendDstIn Set the ink of the group to blendSrcOver Like everything else graphical I?m sure Scott Rossi has a better way ;-) Cheers Monte > On 15 Apr 2020, at 7:31 am, Richard Gaskin via use-livecode wrote: > > Back in the day I could easily make a sort of keyhole effect, in which I used one graphic to obscure an image, and a second graphic on top as a mask to define a shape (such as a keyhole) through which I could see a portion of the image. > > It was done easily enough with inks. > > Inks that, it seems, we no longer have. > > So given the subset of inks we're now limited to, has anyone here seen firsthand an example of this in LC v9.x? > > -- > 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 dochawk at gmail.com Tue Apr 14 19:50:40 2020 From: dochawk at gmail.com (doc hawk) Date: Tue, 14 Apr 2020 16:50:40 -0700 Subject: Damn You Unicode! In-Reply-To: <5B5A26D5-A8CD-430C-A0EA-0E306B8A2FEA@iotecdigital.com> References: <2F102F7A-78FB-4FA9-9B4E-88B15A61804A@iotecdigital.com> <5B5A26D5-A8CD-430C-A0EA-0E306B8A2FEA@iotecdigital.com> Message-ID: <7E118231-5B4B-4409-BC94-E164CF1A28A0@gmail.com> I?m thinking that possibly there is a violated assumption as to what the other end is using within that, yes. Or that the other end makes an assumption, and puts the ?wrong? type back in. Which kind of SQL server is that? Microsofts? I can probably rig access to my Postgres server if you need to try it for a test case. (It would probably do me good to remember how that works :) From ambassador at fourthworld.com Tue Apr 14 21:24:21 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Apr 2020 18:24:21 -0700 Subject: Keyhole effect? In-Reply-To: References: Message-ID: <1ad6663b-bbb6-fc72-ec4a-f7e5bf0bc80e@fourthworld.com> Brian Milby wrote: > On Tue, Apr 14, 2020 at 5:32 PM Richard Gaskin wrote: > >> Back in the day I could easily make a sort of keyhole effect, in >> which I used one graphic to obscure an image, and a second graphic >> on top as a mask to define a shape (such as a keyhole) through >> which I could see a portion of the image. >> >> It was done easily enough with inks. >> >> Inks that, it seems, we no longer have. >> >> So given the subset of inks we're now limited to, has anyone here >> seen firsthand an example of this in LC v9.x? > > > We had a discussion in 2018 about using a hex shaped grc to split up > an image (started by Richmond). The key line there was: > > set the backPattern of grc "hex" to the ID of img "box" > > Since attachments and stacks were involved, I'm pretty sure it took > place on the forums. I'm not sure if this will accomplish what you're > looking for though. I can send a stack off list if you'd like to see > it. Thanks, but the solution I'm looking for has to use inks. I'm open to other things, but the mask needs to be a circle so a polygon is out, and backpattern won't work because of a bug/unsupported use (see the fine print in the Dictionary about the specific dimension requirements for backPattern, which turned out to be a problem for us). So inks it is. If it's possible now that the good inks are gone. -- 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 Tue Apr 14 21:30:41 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Apr 2020 18:30:41 -0700 Subject: Keyhole effect? In-Reply-To: <11C8AE09-C36B-45E1-95BF-3ACE6E83F9F9@appisle.net> References: <11C8AE09-C36B-45E1-95BF-3ACE6E83F9F9@appisle.net> Message-ID: <3f466473-6f48-8309-03af-2427e17044d8@fourthworld.com> Monte Goulding wrote: > If I understand what you want correctly then: > > Create image > Create mask object > Group both > Set the ink of the mask object to blendDstIn > Set the ink of the group to blendSrcOver Super, Monte. That works well. I was up late with a tool I'd made to let me walk through all sorts of combinations, but I hadn't thought to group them. Thanks! -- 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 brahma at hindu.org Tue Apr 14 22:44:17 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 15 Apr 2020 02:44:17 +0000 Subject: iOS build error - help needed In-Reply-To: References: Message-ID: I 9.6.1.dp3 and Catalina 10.15.4 and Xcode 11.3.1 It works Suggest he unstall Xcode and reinstall in and get install the command tool from menu (again) And be sure he is not using a development profile and had the beta test box checked in SA setting (that one cost me a lot of time!) you can on have the "beta test" check with a App Store. Profile. BR ?On 4/14/20, 9:18 AM, "use-livecode on behalf of panagiotis merakos via use-livecode" wrote: Have you seen this error - and if yes - how did you manage to fix it? From brahma at hindu.org Tue Apr 14 23:35:27 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 15 Apr 2020 03:35:27 +0000 Subject: Drag and Drop Images Message-ID: <40B6D0AC-5746-4486-98F5-5F50C37D154A@hindu.org> From a substack called "library" Where images are loaded one after another to a group, referenced by filename (to image data) on disk (not placed) to a mainstack called "Slideshow" with one Image per card Before I try and reinvent the wheel, does anyone have handlers or a stack which shows how to drag and drop images (not from desktop) but from one stack to another? This is for content development purposes, so the UIUX does not have to be "pretty". (such as setting the cursor to an id of an image .... etc) BR From mark at livecode.com Wed Apr 15 04:27:37 2020 From: mark at livecode.com (Mark Waddingham) Date: Wed, 15 Apr 2020 09:27:37 +0100 Subject: Keyhole effect? In-Reply-To: <3f466473-6f48-8309-03af-2427e17044d8@fourthworld.com> References: <11C8AE09-C36B-45E1-95BF-3ACE6E83F9F9@appisle.net> <3f466473-6f48-8309-03af-2427e17044d8@fourthworld.com> Message-ID: On 2020-04-15 02:30, Richard Gaskin via use-livecode wrote: > Monte Goulding wrote: > >> If I understand what you want correctly then: >> >> Create image >> Create mask object >> Group both >> Set the ink of the mask object to blendDstIn >> Set the ink of the group to blendSrcOver > > Super, Monte. That works well. > > I was up late with a tool I'd made to let me walk through all sorts of > combinations, but I hadn't thought to group them. Oh look, clearly the 'useful' inks haven't really been removed - they've just been replaced with the modern equivalents which give much better fidelity results ;) Just to explain why the group is necessary - if a group has the 'blendSrcOver' ink applied then it becomes a 'transparency group'. This means it has its own alpha channel which can be affected by the 'destination alpha modifying' porter-duff operations. So in this case: 1) The group is a transparency group so allocates its own transparent buffer 2) The image is composited into the buffer 3) The mask is then composited into the buffer with the DstIn ink. This means that the destination buffer alpha is adjusted so it is only 'in' the mask (an analog of ANDing the buffers alpha channel with the mask's alpha channel - indeed, previously I'm guessing you would have done this using some sort of AND bitwise ink and being careful with colors used). 4) The buffer is then composited with the background. The transparency group thing is needed partly for efficiency and partly because you can't remove alpha from an opaque destination - which a window provides. Hope this helps! Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From hakan at exformedia.se Wed Apr 15 10:42:31 2020 From: hakan at exformedia.se (hakan at exformedia.se) Date: Wed, 15 Apr 2020 16:42:31 +0200 Subject: Hijack the property inspector? In-Reply-To: <74568233-b75c-4650-b949-7e5d5da04368@Spark> References: <74568233-b75c-4650-b949-7e5d5da04368@Spark> Message-ID: <2f601a86-1ce3-4092-9399-11fcc2eab65b@Spark> When building widgets we can quite easily ?inject" the properties into the ordinary property inspector. I often build new controls out of LiveCode controls and mainly a group of controls. Currently I have my own system with my own tools palette for dragging them to the current card and my own ?property? stack to handle some of the properties, but does anyone know if it is possible to use the standard property inspector instead? As they are usually ordinary LiveCode groups (with some behavior script) it would be nice to be able to use the ordinary property inspector and just add some extra properties. Again in the same manner as a widget property works. I found this blog post: https://livecode.com/how-to-create-plugins-and-tools-with-the-livecode-8-0-ide/ That gives some hint but I can?t find how my controls should respond to the property inspector. :-H?kan From merakosp at gmail.com Wed Apr 15 10:58:12 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 15 Apr 2020 17:58:12 +0300 Subject: Problem simulating a location In-Reply-To: <7ADA1776-45D6-47D7-957E-B31518A31BB3@mac.com> References: <0B2B0DE8-AFDD-44B2-BDF5-C0E6FF262DF1@mac.com> <7ADA1776-45D6-47D7-957E-B31518A31BB3@mac.com> Message-ID: Hello Graham, I have done a couple of tweaks to your code, and I can now successfully read the location data from the simulator. First thing - it is not suggested to call all these 3 commands/functions in one go: mobileStartTrackingSensor mobileSensorReading() mobileStopTrackingSensor as the "mobileStartTrackingSensor" command takes some time for the sensors to start tracking. So a good place to add this would be on openCard, or in a separate button. Similarly, I have removed the "mobileStopTrackingSensor" from the button script, and have put it on the closeCard handler (you can but it in a separate button for your testing if you wish) So the main button code becomes: On mouseUp put "now trying to get a one-off location reading" & return after fld "TheReport" put mobileSensorReading("location",true) into tSensorData -- this returns a string with the current latitude, longitude and altitude if tSensorData is empty then put "no location info!!" & return after fld "TheReport" else put tSensorData & return after fld "TheReport" end if end mouseUp However, it seems there is a bug in the function mobileSensorReading("location",false) which will be fixed asap You can workaround this bug by using the "detailed" form of this function, i.e. mobileSensorReading("location",true) Note that the "detailed" form returns an array instead of a comma separated list, so you have to modify the script as follows: On mouseUp put "now trying to get a one-off location reading" & return after fld "TheReport" put mobileSensorReading("location",true) into tSensorData -- this returns a string with the current latitude, longitude and altitude if tSensorData is empty then put "no location info!!" & return after fld "TheReport" else combine tSensorData using return and ":" put tSensorData & return after fld "TheReport" end if end mouseUp Also, in the Simulator menubar, choose a location such as "City Run" or "Freeway Drive" so as you could see the changes. Hope this helps. Kind regards, Panos -- On Tue, 14 Apr 2020 at 21:14, Graham Samuel via use-livecode < use-livecode at lists.runrev.com> wrote: > Gents, thank you. Good advice, and I?m taking it! I will report back. > > Graham > > > On 14 Apr 2020, at 19:39, Andrew at MidWest Coast Media via use-livecode > wrote: > > > >> > >> From: Graham Samuel > >> I suppose I can try the test on a real phone, but I would rather stick > to the simulator for now. > > If you have a physical device, regardless of age, try it. There are some > things that either don?t work (like camera) or are spotty in the emulator. > > > > > >> And I haven?t found out how LC knows I?ve got a provisioning profile > (separate problem I admit). > > > > When you download from the Apple Developer site, just double-click the > provisioning profile to open it in Xcode. Livecode will know it?s installed > next time you open the Save As Standalone window (but won?t recognize if > you install while that window is open) > >> > > ?Andrew Bell > > > On 14 Apr 2020, at 17:33, Rick Harrison via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi Graham, > > > > You should really try it on the phone before knocking yourself out > > about why it doesn?t work on the simulator. I have found that > > some things involving sensors simply don?t work on the simulator. > > > > Try that, if it doesn?t work on the phone let us know. > > > > Good luck! > > > > Rick > > > >> On Apr 14, 2020, at 11:18 AM, Graham Samuel via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> Folks, I am still struggling with this. Alan Stenhouse has been kind > enough to help me, but so far I have not got the simulator to simulate any > kind of location information. > >> > >> There is a function, mobileCurrentLocation, that is supposed to return > an array provided tracking is enabled and mobileSensorAvailable(?location?) > has been invoked (see the LC Dictionary). I have made sure that both these > things have been done, but In my tests on the simulator the array appears > to be empty. > >> > >> I suppose I can try the test on a real phone, but I would rather stick > to the simulator for now. And I haven?t found out how LC knows I?ve got a > provisioning profile (separate problem I admit). > >> > >> Has anyone got any idea what?s going wrong? > >> > >> Puzzled. > >> > >> Graham > > > > _______________________________________________ > > 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 Apr 15 11:24:43 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 15 Apr 2020 11:24:43 -0400 Subject: LC Server / Innerhtml / JavaScript In-Reply-To: <2f601a86-1ce3-4092-9399-11fcc2eab65b@Spark> References: <74568233-b75c-4650-b949-7e5d5da04368@Spark> <2f601a86-1ce3-4092-9399-11fcc2eab65b@Spark> Message-ID: <001301d61339$ffe6fcc0$ffb4f640$@net> This took me a while to figure out. If anyone else needs this functionality this can save you a lot of searching and testing. Problem: 1) You have a web page already loaded in the client browser with an empty
. 2) You insert html into the innerHTML of the
from an LC server callback. 3) The html has JavaScript. The JavaScript will not be executed. But if you insert this code you can make it work. This is an empty image with onLoad function. Example of in-line code: Or Example to execute a page's existing JavaScript function: Just a little diddi I thought I'd pass on... Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From ali.lloyd at livecode.com Wed Apr 15 12:30:17 2020 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Wed, 15 Apr 2020 17:30:17 +0100 Subject: Hijack the property inspector? In-Reply-To: <2f601a86-1ce3-4092-9399-11fcc2eab65b@Spark> References: <74568233-b75c-4650-b949-7e5d5da04368@Spark> <2f601a86-1ce3-4092-9399-11fcc2eab65b@Spark> Message-ID: This is possible - you would need to look at how the datagrid does it: https://github.com/livecode/livecode-ide/blob/develop/Toolset/resources/supporting_files/property_definitions/com.livecode.interface.classic.DataGrid.tsv Each datagrid property uses a custom getter / setter defined in the IDE library which does the right thing. You would have to tweak either the 'properties info' stuff in the ide library or perhaps add a frontscript that intercepts revIDEExtensionPropertiesInfo and returns the array from the revIDEExtensionLibrary implementation augmented with your custom data. Alternatively you could use the inspectorData setProp handler of revInspectorTemplate more directly. It will be a little tricky I suspect, but definitely doable. We really would like to add a way to make 'script widgets' - i.e. aggregate livecode controls with script behaviors - but there are some technical hurdles to overcome before that is possible (at least in a way that insulates them in the same way as a widget is) On Wed, 15 Apr 2020 at 15:42, H?kan Liljegren via use-livecode < use-livecode at lists.runrev.com> wrote: > When building widgets we can quite easily ?inject" the properties into the > ordinary property inspector. I often build new controls out of LiveCode > controls and mainly a group of controls. Currently I have my own system > with my own tools palette for dragging them to the current card and my own > ?property? stack to handle some of the properties, but does anyone know if > it is possible to use the standard property inspector instead? > > As they are usually ordinary LiveCode groups (with some behavior script) > it would be nice to be able to use the ordinary property inspector and just > add some extra properties. Again in the same manner as a widget property > works. > > I found this blog post: > > > https://livecode.com/how-to-create-plugins-and-tools-with-the-livecode-8-0-ide/ > > That gives some hint but I can?t find how my controls should respond to > the property inspector. > > :-H?kan > _______________________________________________ > 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 hakan at exformedia.se Wed Apr 15 12:50:30 2020 From: hakan at exformedia.se (hakan at exformedia.se) Date: Wed, 15 Apr 2020 18:50:30 +0200 Subject: Hijack the property inspector? In-Reply-To: References: <74568233-b75c-4650-b949-7e5d5da04368@Spark> <2f601a86-1ce3-4092-9399-11fcc2eab65b@Spark> Message-ID: <83437425-9cf9-4950-b3a6-1443d887e9f1@Spark> I didn't remember that the datagrid is actually a group, well kind of. I'll take a look at that. Thanks for the info. H?kan On 15 Apr 2020, 18:31 +0200, Ali Lloyd via use-livecode , wrote: > This is possible - you would need to look at how the datagrid does it: > https://github.com/livecode/livecode-ide/blob/develop/Toolset/resources/supporting_files/property_definitions/com.livecode.interface.classic.DataGrid.tsv > > Each datagrid property uses a custom getter / setter defined in the IDE > library which does the right thing. You would have to tweak either the > 'properties info' stuff in the ide library or perhaps add a frontscript > that intercepts revIDEExtensionPropertiesInfo and returns the array from > the revIDEExtensionLibrary implementation augmented with your custom data. > Alternatively you could use the inspectorData setProp handler of > revInspectorTemplate more directly. > > It will be a little tricky I suspect, but definitely doable. We really > would like to add a way to make 'script widgets' - i.e. aggregate livecode > controls with script behaviors - but there are some technical hurdles to > overcome before that is possible (at least in a way that insulates them in > the same way as a widget is) > > On Wed, 15 Apr 2020 at 15:42, H?kan Liljegren via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > When building widgets we can quite easily ?inject" the properties into the > > ordinary property inspector. I often build new controls out of LiveCode > > controls and mainly a group of controls. Currently I have my own system > > with my own tools palette for dragging them to the current card and my own > > ?property? stack to handle some of the properties, but does anyone know if > > it is possible to use the standard property inspector instead? > > > > As they are usually ordinary LiveCode groups (with some behavior script) > > it would be nice to be able to use the ordinary property inspector and just > > add some extra properties. Again in the same manner as a widget property > > works. > > > > I found this blog post: > > > > > > https://livecode.com/how-to-create-plugins-and-tools-with-the-livecode-8-0-ide/ > > > > That gives some hint but I can?t find how my controls should respond to > > the property inspector. > > > > :-H?kan > > _______________________________________________ > > 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 Apr 15 15:02:52 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 15 Apr 2020 12:02:52 -0700 Subject: Keyhole effect? In-Reply-To: References: Message-ID: Mark Waddingham wrote: > On 2020-04-15 02:30, Richard Gaskin via use-livecode wrote: >> Monte Goulding wrote: >> >>> If I understand what you want correctly then: >>> >>> Create image >>> Create mask object >>> Group both >>> Set the ink of the mask object to blendDstIn >>> Set the ink of the group to blendSrcOver >> >> Super, Monte. That works well. >> >> I was up late with a tool I'd made to let me walk through all sorts >> of combinations, but I hadn't thought to group them. > > Oh look, clearly the 'useful' inks haven't really been removed - > they've just been replaced with the modern equivalents which give > much better fidelity results ;) Whenever I fail to add, "...or seemingly so based on 22 years of experience in delivering applications with LiveCode, but of course notwithstanding the full scope of all possible things one might try given infinite time", please consider that implied. :) I'm not the first person to have work stopped on a feature when the older inks were removed. Monte's suggestion, and you your explanation, are very helpful. I've passed them along to another developer I know who held up some of their own work when the method they'd been using was no longer available. The new inks are indeed quite good, and the group trick is a very helpful key to unlocking how to use them well. Thank you. > Just to explain why the group is necessary - if a group has the > 'blendSrcOver' ink applied then it becomes a 'transparency group'. > > This means it has its own alpha channel which can be affected by the > 'destination alpha modifying' porter-duff operations. So in this case: > > 1) The group is a transparency group so allocates its own > transparent buffer > 2) The image is composited into the buffer > 3) The mask is then composited into the buffer with the DstIn ink. > This means that the destination buffer alpha is adjusted so it is only > 'in' the mask (an analog of ANDing the buffers alpha channel with the > mask's alpha channel - indeed, previously I'm guessing you would have > done this using some sort of AND bitwise ink and being careful with > colors used). > 4) The buffer is then composited with the background. > > The transparency group thing is needed partly for efficiency and > partly because you can't remove alpha from an opaque destination > - which a window provides. > > Hope this helps! > > Mark. -- 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 livfoss at mac.com Wed Apr 15 17:33:46 2020 From: livfoss at mac.com (Graham Samuel) Date: Wed, 15 Apr 2020 23:33:46 +0200 Subject: Problem simulating a location In-Reply-To: References: <0B2B0DE8-AFDD-44B2-BDF5-C0E6FF262DF1@mac.com> <7ADA1776-45D6-47D7-957E-B31518A31BB3@mac.com> Message-ID: Panos, this is solid gold as far as I?m concerned! I had no idea that mobileStartTrackingSensor would return control to the script without finishing its job, Wouldn?t it be better, since it isn?t blocking, to provide some sort of status token that could be queried by script? Thanks also for the note about the bug. I feel I can make progress! Cheers Graham > On 15 Apr 2020, at 16:58, panagiotis merakos via use-livecode wrote: > > Hello Graham, > > I have done a couple of tweaks to your code, and I can now successfully > read the location data from the simulator. > > First thing - it is not suggested to call all these 3 commands/functions in > one go: > > mobileStartTrackingSensor > mobileSensorReading() > mobileStopTrackingSensor > > as the "mobileStartTrackingSensor" command takes some time for the sensors > to start tracking. So a good place to add this would be on openCard, or in > a separate button. > > Similarly, I have removed the "mobileStopTrackingSensor" from the button > script, and have put it on the closeCard handler (you can but it in a > separate button for your testing if you wish) > > So the main button code becomes: > > On mouseUp > put "now trying to get a one-off location reading" & return after fld > "TheReport" > put mobileSensorReading("location",true) into tSensorData -- this > returns a string with the current latitude, longitude and altitude > if tSensorData is empty then > put "no location info!!" & return after fld "TheReport" > else > put tSensorData & return after fld "TheReport" > end if > end mouseUp > > However, it seems there is a bug in the function > mobileSensorReading("location",false) > > which will be fixed asap > > You can workaround this bug by using the "detailed" form of this function, > i.e. mobileSensorReading("location",true) > > Note that the "detailed" form returns an array instead of a comma separated > list, so you have to modify the script as follows: > > On mouseUp > put "now trying to get a one-off location reading" & return after fld > "TheReport" > put mobileSensorReading("location",true) into tSensorData -- this > returns a string with the current latitude, longitude and altitude > if tSensorData is empty then > put "no location info!!" & return after fld "TheReport" > else > combine tSensorData using return and ":" > put tSensorData & return after fld "TheReport" > end if > end mouseUp > > Also, in the Simulator menubar, choose a location such as "City Run" or > "Freeway Drive" so as you could see the changes. > > Hope this helps. > > Kind regards, > Panos > -- > > On Tue, 14 Apr 2020 at 21:14, Graham Samuel via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Gents, thank you. Good advice, and I?m taking it! I will report back. >> >> Graham >> >>> On 14 Apr 2020, at 19:39, Andrew at MidWest Coast Media via use-livecode >> wrote: >>> >>>> >>>> From: Graham Samuel >>>> I suppose I can try the test on a real phone, but I would rather stick >> to the simulator for now. >>> If you have a physical device, regardless of age, try it. There are some >> things that either don?t work (like camera) or are spotty in the emulator. >>> >>> >>>> And I haven?t found out how LC knows I?ve got a provisioning profile >> (separate problem I admit). >>> >>> When you download from the Apple Developer site, just double-click the >> provisioning profile to open it in Xcode. Livecode will know it?s installed >> next time you open the Save As Standalone window (but won?t recognize if >> you install while that window is open) >>>> >>> ?Andrew Bell >> >>> On 14 Apr 2020, at 17:33, Rick Harrison via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Hi Graham, >>> >>> You should really try it on the phone before knocking yourself out >>> about why it doesn?t work on the simulator. I have found that >>> some things involving sensors simply don?t work on the simulator. >>> >>> Try that, if it doesn?t work on the phone let us know. >>> >>> Good luck! >>> >>> Rick >>> >>>> On Apr 14, 2020, at 11:18 AM, Graham Samuel via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>> >>>> Folks, I am still struggling with this. Alan Stenhouse has been kind >> enough to help me, but so far I have not got the simulator to simulate any >> kind of location information. >>>> >>>> There is a function, mobileCurrentLocation, that is supposed to return >> an array provided tracking is enabled and mobileSensorAvailable(?location?) >> has been invoked (see the LC Dictionary). I have made sure that both these >> things have been done, but In my tests on the simulator the array appears >> to be empty. >>>> >>>> I suppose I can try the test on a real phone, but I would rather stick >> to the simulator for now. And I haven?t found out how LC knows I?ve got a >> provisioning profile (separate problem I admit). >>>> >>>> Has anyone got any idea what?s going wrong? >>>> >>>> Puzzled. >>>> >>>> Graham >>> >>> _______________________________________________ >>> 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 dsc at swcp.com Wed Apr 15 18:57:03 2020 From: dsc at swcp.com (dsc at swcp.com) Date: Wed, 15 Apr 2020 16:57:03 -0600 Subject: Apps to fight COVID-19 In-Reply-To: <19D64863-74B0-4DF4-AAA5-FC64EEA43D59@swcp.com> References: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> <34F40D42-DF52-44BD-BC11-631C3131432A@gmail.com> <2923CE7F-C8C5-4147-A8CC-5D994F855F0B@swcp.com> <2D02D7AC-8169-4CDE-BD7A-3FD447CF4DF1@swcp.com> <2B6E3718-9346-4BF3-85E1-8992AFA17220@swcp.com> <19D64863-74B0-4DF4-AAA5-FC64EEA43D59@swcp.com> Message-ID: <6289998D-0520-41E2-8534-B70E47B3A07C@swcp.com> Meanwhile at Covid Watch there is talk of moving the provider-facing at to a web app of some sort. > On Apr 14, 2020, at 1:37 PM, dsc--- via use-livecode wrote: > > Jonathan Rothberg is looking for brilliant people who can code whatever your domain. > > >> On Apr 13, 2020, at 6:52 PM, Dar Scott Consulting via use-livecode wrote: >> >> Thanks! >> >> >>> On Apr 13, 2020, at 11:42 AM, Mark Wieder via use-livecode wrote: >>> >>> On 4/13/20 10:14 AM, dsc--- via use-livecode wrote: >>>> 1. Covid Watch needs expertise in making HIPAA compliant apps. (We have changed COVID Watch to Covid Watch.) >>> >>> This any help? >>> >>> https://www.healthcareblocks.com/hipaa/developer_guidelines >>> >>> -- >>> 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 > > > _______________________________________________ > 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 Apr 15 19:55:46 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 15 Apr 2020 23:55:46 +0000 Subject: Keyhole effect? In-Reply-To: References: Message-ID: <29791466-AC06-426E-A2B1-0F78D85132DA@iotecdigital.com> The Group thing is kind of how Illustrator used to create masks. Not sure anymore I?ve been out of Illustrator for years now. Bob S > On Apr 15, 2020, at 12:02 PM, Richard Gaskin via use-livecode wrote: > > Whenever I fail to add, "...or seemingly so based on 22 years of experience in delivering applications with LiveCode, but of course notwithstanding the full scope of all possible things one might try given infinite time", please consider that implied. :) > > I'm not the first person to have work stopped on a feature when the older inks were removed. > > Monte's suggestion, and you your explanation, are very helpful. I've passed them along to another developer I know who held up some of their own work when the method they'd been using was no longer available. > > The new inks are indeed quite good, and the group trick is a very helpful key to unlocking how to use them well. Thank you. > > > > Just to explain why the group is necessary - if a group has the > > 'blendSrcOver' ink applied then it becomes a 'transparency group'. > > > > This means it has its own alpha channel which can be affected by the > > 'destination alpha modifying' porter-duff operations. So in this case: > > > > 1) The group is a transparency group so allocates its own > > transparent buffer > > 2) The image is composited into the buffer > > 3) The mask is then composited into the buffer with the DstIn ink. > > This means that the destination buffer alpha is adjusted so it is only > > 'in' the mask (an analog of ANDing the buffers alpha channel with the > > mask's alpha channel - indeed, previously I'm guessing you would have > > done this using some sort of AND bitwise ink and being careful with > > colors used). > > 4) The buffer is then composited with the background. > > > > The transparency group thing is needed partly for efficiency and > > partly because you can't remove alpha from an opaque destination > > - which a window provides. > > > > Hope this helps! > > > > Mark. > > -- > Richard Gaskin From panos.merakos at livecode.com Thu Apr 16 07:22:56 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Thu, 16 Apr 2020 14:22:56 +0300 Subject: [ANN] Release 9.6.0 DP-4 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.6.0 DP-4. Developer Preview Release ========================= Warning: this is not a stable release. Please ensure that you back up your stacks before testing them. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 9.6.0 DP-4 comes with more than 20 changes, including: New Features - Ability to detect dark mode on MacOS, iOS and Android - Improvements on mobilePickPhoto on Android, including support for front camera - Ability to highlight none of the icons in the navigation bar widget Bug Fixes: - Improvements in the text-to-speech library - Improvements in the android mobile player - Improvements in the iOS native browser - Improvements in the Android barcode scanner widget - Support for dark mode on mobilePick on iOS For the full list of all fixes, updates and enhancements please see the release notes: http://downloads.livecode.com/livecode/9_6_0/LiveCodeNotes-9_6_0_dp_4.pdf 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. Required Software ================= To build iOS apps with LiveCode you must have the appropriate versions of Xcode as follows: - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1 SDK - macOS 10.14.4: Xcode 11.3.1 - LiveCode builds iOS apps using the iOS 13.2 SDK (also covers iOS 13.3) - macOS 10.15.3: Xcode 11.3.1 - LiveCode builds iOS apps using the iOS 13.2 SDK (also covers iOS 13.3) There is a full list of working LiveCode/macOS/Xcode combinations here: https://livecode.com/docs/9-5-0/faq/faq/ Note: Whilst we endeavour to release updated versions of LiveCode supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly recommend disabling automatic update of Xcode or downloading the specific version of Xcode required directly from the Apple developer portal and installing it separately. Important: From the end of June 2020, Apple will only be accepting apps built using iOS13 SDKs. This means that, if you wish to submit apps to the AppStore you will have to be running at least macOS 10.14 in order to be able to install the necessary version of Xcode. Important Note ============== As it stands 9.6 no longer supports Android 4.x. It might be possible for us to push back dropping support for this (now unsupported) Android version to 9.7, however, this is only something we will consider if we assess that there is a real need. IF you are a commercial license holder AND you have a significant customer base still using this very old operating system AND there is a genuine reason why that customer base cannot upgrade AND there is a genuine reason you will need to use 9.6 to support them, please give us feedback to support at livecode.com so that we can assess the need. Please do not feedback on the basis that you think there may be a handful of customers still using it. We're looking for definite evidence that there are significant numbers of your end users still reliant on this OS AND that you will need to be able to use 9.6 to support them. Feedback ======== Please report any bugs encountered on our quality center 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 livfoss at mac.com Thu Apr 16 11:15:10 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 16 Apr 2020 17:15:10 +0200 Subject: Making an iOS app look like one Message-ID: <02D90995-BA47-49C3-8734-F745D159D0D1@mac.com> Folks, I know this is a desperately naive question, but as I progress with my first serious attempt at an iOS app, which I?m trying to do in a hurry with only my experience of developing LC desktop apps to go on, I am struck by how un-iOS-like it looks. Richard Gaskin has already suggested that I look for good practice amongst existing apps from all sources, and I?ve tried to do this. Where I come unstuck is how to imitate the ?look? of such apps. I am trying, for example by getting the Native Control Widget pack from the LC store, and by attempting (but not so far succeeding) to understand the LC lesson about Native text controls, especially how I can create such controls in the first place. My app is not outrageously complicated. What it needs is - Fields to display information, some of which must allow input via keyboard or pasting. Although there is a Native Android Field widget, there isn?t one for iOS, so I don?t know what my options are. I want the kind of fonts and font sizes that are typical of iOS, but so far I haven?t found a reference to these properties in the LC documentation. I found a command, mobileControlCreate, which it appears can only function dynamically in a mobile app, which seems to mean I can?t create and place controls until the app is running. I find that confusing. - Small, tidy icons, for use as the equivalent of menus or menu items, for example acting as links to various settings cards - so typically an image like a cogwheel for example. I would like these to be SVG, but none of LC?s SVG images have the necessary unchunky look. Do I have to create them from scratch (it would not be the end of the world if I did, but I imagine that there?s a library of them somewhere). - ?Done? type buttons (there is a built in widget for this but it doesn?t end up looking like the ?done? buttons I see on typical apps) and other buttons to start off processes or displays. - Some kind of control that acts like a radio button group, so that one option is chosen to the exclusion of any others in the group (I suppose it?s a picking list, but I don?t know how to implement such a thing in an iOS-compatible way and the widgets on offer are specialised to date and time) LC Support has been helpful in pointing me at various lessons, but I have obviously missed masses of stuff which must be there somewhere. As usual I am searching for pointers and examples in order to try to fast track this development. Sorry for asking yet more questions. Graham From prothero at earthlearningsolutions.org Thu Apr 16 12:11:16 2020 From: prothero at earthlearningsolutions.org (Prothero-earthlearningsol) Date: Thu, 16 Apr 2020 09:11:16 -0700 Subject: Making an iOS app look like one In-Reply-To: <02D90995-BA47-49C3-8734-F745D159D0D1@mac.com> References: <02D90995-BA47-49C3-8734-F745D159D0D1@mac.com> Message-ID: Graham, I feel your pain! Weren?t there some app building lessons that took you through the process of building a number of commonly included ios apps? I did a couple of them a few years ago. They were kind of quirky to follow, and not using the latest stuff, but perhaps they could inform you in critical ways. In fact, here is a link that looks hopeful. But then, you?ve probably already been there. http://lessons.livecode.com/m/2571/l/23075-how-do-i-build-an-ios-application Good luck, Bill William Prothero http://es.earthednet.org > On Apr 16, 2020, at 8:16 AM, Graham Samuel via use-livecode wrote: > > ?Folks, I know this is a desperately naive question, but as I progress with my first serious attempt at an iOS app, which I?m trying to do in a hurry with only my experience of developing LC desktop apps to go on, I am struck by how un-iOS-like it looks. Richard Gaskin has already suggested that I look for good practice amongst existing apps from all sources, and I?ve tried to do this. Where I come unstuck is how to imitate the ?look? of such apps. > > I am trying, for example by getting the Native Control Widget pack from the LC store, and by attempting (but not so far succeeding) to understand the LC lesson about Native text controls, especially how I can create such controls in the first place. > > My app is not outrageously complicated. What it needs is > > - Fields to display information, some of which must allow input via keyboard or pasting. Although there is a Native Android Field widget, there isn?t one for iOS, so I don?t know what my options are. I want the kind of fonts and font sizes that are typical of iOS, but so far I haven?t found a reference to these properties in the LC documentation. I found a command, mobileControlCreate, which it appears can only function dynamically in a mobile app, which seems to mean I can?t create and place controls until the app is running. I find that confusing. > > - Small, tidy icons, for use as the equivalent of menus or menu items, for example acting as links to various settings cards - so typically an image like a cogwheel for example. I would like these to be SVG, but none of LC?s SVG images have the necessary unchunky look. Do I have to create them from scratch (it would not be the end of the world if I did, but I imagine that there?s a library of them somewhere). > > - ?Done? type buttons (there is a built in widget for this but it doesn?t end up looking like the ?done? buttons I see on typical apps) and other buttons to start off processes or displays. > > - Some kind of control that acts like a radio button group, so that one option is chosen to the exclusion of any others in the group (I suppose it?s a picking list, but I don?t know how to implement such a thing in an iOS-compatible way and the widgets on offer are specialised to date and time) > > LC Support has been helpful in pointing me at various lessons, but I have obviously missed masses of stuff which must be there somewhere. As usual I am searching for pointers and examples in order to try to fast track this development. > > Sorry for asking yet more questions. > > Graham > > > > _______________________________________________ > 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 Thu Apr 16 12:29:53 2020 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Thu, 16 Apr 2020 12:29:53 -0400 Subject: Making an iOS app look like one In-Reply-To: References: Message-ID: <34B8F4A6-FFAB-4644-9F98-A0D16C4984AB@midwestcoastmedia.com> > - Fields to display information, some of which must allow input via keyboard or pasting. Although there is a Native Android Field widget, there isn?t one for iOS, so I don?t know what my options are. I want the kind of fonts and font sizes that are typical of iOS, but so far I haven?t found a reference to these properties in the LC documentation. I found a command, mobileControlCreate, which it appears can only function dynamically in a mobile app, which seems to mean I can?t create and place controls until the app is running. I find that confusing. No native iOS field yet, and hopefully a ?mobile field? widget that is more cross-platform gets added at some point. For now what I do is use standard fields and add the mobileControl options to basically create native mobile fields over top of your standard fields and pass the information back and forth using mobileControlGet and mobileControlSet. This let?s me test in the IDE w/o compiling for device as often. http://lessons.livecode.com/m/4069/l/29112-how-do-i-use-native-text-controls-on-mobile > - Small, tidy icons, for use as the equivalent of menus or menu items, for example acting as links to various settings cards - so typically an image like a cogwheel for example. I would like these to be SVG, but none of LC?s SVG images have the necessary unchunky look. Do I have to create them from scratch (it would not be the end of the world if I did, but I imagine that there?s a library of them somewhere). The SVGs in the current library are FontAwesome 4. They were good at the time, but are outdated now with the release of 5.13.0 (which includes COVID icons). I lucked out and bought a lifetime license when they ran a Kickstarter campaign a couple years ago which gives greater access, but even the free options are decent. > - ?Done? type buttons (there is a built in widget for this but it doesn?t end up looking like the ?done? buttons I see on typical apps) and other buttons to start off processes or displays. There is a widget pack to help with this, but I?ve always just made my own option that skirted the HID requirements of both major app stores without fully adhering or breaking them (of all the times my apps have been rejected it has NEVER been from native interface issues). Scott Rossi has some amazing assets to help with this. http://tactilemedia.com/blog/2018/05/12/blasts-from-the-past/ > - Some kind of control that acts like a radio button group, so that one option is chosen to the exclusion of any others in the group (I suppose it?s a picking list, but I don?t know how to implement such a thing in an iOS-compatible way and the widgets on offer are specialised to date and time) After skinning them, radio buttons should act the same in mobile as they do on desktop since you aren?t using a native solution. https://forums.livecode.com/viewtopic.php?t=22169 > > ?Andrew Bell From devin_asay at byu.edu Thu Apr 16 12:35:56 2020 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 16 Apr 2020 16:35:56 +0000 Subject: Making an iOS app look like one In-Reply-To: <02D90995-BA47-49C3-8734-F745D159D0D1@mac.com> References: <02D90995-BA47-49C3-8734-F745D159D0D1@mac.com> Message-ID: Hi Graham, TL/DR: It?s doable, but there is a learning curve. Making your apps look native is doable, but how to get there is a mixed bag. As you?ve discovered, you have to use a range of capabilities. 1. Widgets. They are mostly straightforward to figure out. See my lesson at http://livecode.byu.edu/objects/widgets.php. I also created a sample stack with mobile-appropriate widgets at http://dight310.byu.edu/lesson_materials/13-Mobile_native_controls/mobileAndWidgets.livecode 1.a. Control over SVG icons. You have quite a bit of control over which icons you can use, by using icon families. See my stack SVG Icon Family Maker in Sample Stacks (AKA revOnline). You can go out on the internet and find an SBG icon set you like, import them into your stack, and put them into an icon family. Then you can set the icon family when you?re choosing icons for your SVG widget or Navbar widget. 1.b. Mobile native controls wrapped into widgets. They include the Android Native Button, Android Native Field, and iOS Native Button. The Android ones seem alright, but the iOS button just displays a label in the app, nothing else, no outline or background color. So these widgets seem incomplete. Standard LiveCode buttons using custom icons might be a better choice for now. 2. Mobile Native Controls. See my lesson at http://livecode.byu.edu/mobile/device-specific.php. I divide them into a few different groups. 2.a. Stuff that ?just works?. Basically ask and answer dialogs just work right on mobile. Easy. Popup keyboards in fields also appear on mobile without any effort. 2.b. Stuff that?s pretty easy, but use mobile-specific commands. - mobilePick - this is probably what you want in place of a radio button group. - mobilePickDate - mobilePickPhoto 2.c. Mobile native controls. These have to be completely scripted, but are doable. As for sizing and placing, I usually use a place-holder control during development and set the rect of the mobile native control to the place holder, hiding the place holder when running in the mobile environment. Sample stack for native controls at http://dight310.byu.edu/lesson_materials/13-Mobile_native_controls/testMobileControls.livecode Hope this helps. Devin On Apr 16, 2020, at 9:15 AM, Graham Samuel via use-livecode > wrote: Folks, I know this is a desperately naive question, but as I progress with my first serious attempt at an iOS app, which I?m trying to do in a hurry with only my experience of developing LC desktop apps to go on, I am struck by how un-iOS-like it looks. Richard Gaskin has already suggested that I look for good practice amongst existing apps from all sources, and I?ve tried to do this. Where I come unstuck is how to imitate the ?look? of such apps. I am trying, for example by getting the Native Control Widget pack from the LC store, and by attempting (but not so far succeeding) to understand the LC lesson about Native text controls, especially how I can create such controls in the first place. My app is not outrageously complicated. What it needs is - Fields to display information, some of which must allow input via keyboard or pasting. Although there is a Native Android Field widget, there isn?t one for iOS, so I don?t know what my options are. I want the kind of fonts and font sizes that are typical of iOS, but so far I haven?t found a reference to these properties in the LC documentation. I found a command, mobileControlCreate, which it appears can only function dynamically in a mobile app, which seems to mean I can?t create and place controls until the app is running. I find that confusing. - Small, tidy icons, for use as the equivalent of menus or menu items, for example acting as links to various settings cards - so typically an image like a cogwheel for example. I would like these to be SVG, but none of LC?s SVG images have the necessary unchunky look. Do I have to create them from scratch (it would not be the end of the world if I did, but I imagine that there?s a library of them somewhere). - ?Done? type buttons (there is a built in widget for this but it doesn?t end up looking like the ?done? buttons I see on typical apps) and other buttons to start off processes or displays. - Some kind of control that acts like a radio button group, so that one option is chosen to the exclusion of any others in the group (I suppose it?s a picking list, but I don?t know how to implement such a thing in an iOS-compatible way and the widgets on offer are specialised to date and time) LC Support has been helpful in pointing me at various lessons, but I have obviously missed masses of stuff which must be there somewhere. As usual I am searching for pointers and examples in order to try to fast track this development. Sorry for asking yet more questions. Graham _______________________________________________ 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 livfoss at mac.com Thu Apr 16 13:11:29 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 16 Apr 2020 19:11:29 +0200 Subject: A short question about Xcode Message-ID: I?m following the LC lesson 'How do I build an iOS application??. I think I?ve done everything they mention, and I have my Apple developer credentials and three iOS devices registered. I have saved my iOS app as a standalone. But when I get to this instruction about getting my app on a real device: > 1) Open Xcode > > 2) In the 'Window' menu select "Devices" > > 4) Select your connected iOS device > > 5) Drag standalone app to "Installed Apps" section of device window > > Your app should now be on your device There is nothing in the Devices section for me to select (plenty of stuff in the Simulators, but so what?). Do I have to fiddle with keychain or particular folders or what? I have no idea what to do next (not for the first time!). Graham From livfoss at mac.com Thu Apr 16 13:18:24 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 16 Apr 2020 19:18:24 +0200 Subject: Making an iOS app look like one In-Reply-To: <34B8F4A6-FFAB-4644-9F98-A0D16C4984AB@midwestcoastmedia.com> References: <34B8F4A6-FFAB-4644-9F98-A0D16C4984AB@midwestcoastmedia.com> Message-ID: Just a quick ?Thank You? to Andrew, Devin and Bill for their ultra-rapid and detailed replies. There is a lot to take in there, and I?ll respond later if I have to ask yet more questions. It does seem a bit of a dog?s breakfast (if I can say that), doesn?t it? I did not realise you could buy in other SCGs without some kind of intervention from the mother ship - I will check that out. I?ll be back. Thanks again Graham From rdimola at evergreeninfo.net Thu Apr 16 13:53:37 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 16 Apr 2020 13:53:37 -0400 Subject: A short question about Xcode In-Reply-To: References: Message-ID: <003501d61417$f770daa0$e6528fe0$@net> Graham, When you attach a device to the Mac it should appear in the devices window of Xcode. A couple of things: 1) Make sure the device is unlocked when attaching. 2) The first time you attach it you should get a message box that will say something to the effect "Do you trust this Mac?" 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 Graham Samuel via use-livecode Sent: Thursday, April 16, 2020 1:11 PM To: How to use LiveCode Cc: Graham Samuel Subject: A short question about Xcode I?m following the LC lesson 'How do I build an iOS application??. I think I?ve done everything they mention, and I have my Apple developer credentials and three iOS devices registered. I have saved my iOS app as a standalone. But when I get to this instruction about getting my app on a real device: > 1) Open Xcode > > 2) In the 'Window' menu select "Devices" > > 4) Select your connected iOS device > > 5) Drag standalone app to "Installed Apps" section of device window > > Your app should now be on your device There is nothing in the Devices section for me to select (plenty of stuff in the Simulators, but so what?). Do I have to fiddle with keychain or particular folders or what? I have no idea what to do next (not for the first time!). Graham _______________________________________________ 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 Thu Apr 16 14:22:44 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Thu, 16 Apr 2020 11:22:44 -0700 Subject: A short question about Xcode In-Reply-To: References: Message-ID: <42122AA8-2EC6-46A3-A21B-BD3EFC213005@elementarysoftware.com> I can?t recall whether this is specific to a particular LC license but when physically attaching a device to the computer, on my setup that mobile device appears under the menu Development ?> Test Target (along with simulator options) and can simply be selected as the test device? which saves the added step of dragging into Xcode. -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-800-615-0867 ------------------------------------------------------ > On Apr 16, 2020, at 10:11 AM, Graham Samuel via use-livecode wrote: > > I?m following the LC lesson 'How do I build an iOS application??. I think I?ve done everything they mention, and I have my Apple developer credentials and three iOS devices registered. I have saved my iOS app as a standalone. But when I get to this instruction about getting my app on a real device: > >> 1) Open Xcode >> >> 2) In the 'Window' menu select "Devices" >> >> 4) Select your connected iOS device >> >> 5) Drag standalone app to "Installed Apps" section of device window >> >> Your app should now be on your device > > > There is nothing in the Devices section for me to select (plenty of stuff in the Simulators, but so what?). Do I have to fiddle with keychain or particular folders or what? I have no idea what to do next (not for the first time!). > > Graham From brian at milby7.com Thu Apr 16 15:00:13 2020 From: brian at milby7.com (Brian Milby) Date: Thu, 16 Apr 2020 15:00:13 -0400 Subject: Making an iOS app look like one In-Reply-To: References: <34B8F4A6-FFAB-4644-9F98-A0D16C4984AB@midwestcoastmedia.com> Message-ID: The ability to create additional SVG Icon Libraries is something that I helped get done a while back. Here's a thread with a stack that I developed that helps organize libraries: http://forums.livecode.com/viewtopic.php?f=10&t=30411 I need to take another look at it now that we have the ability to create drawings from SVG (and use them with an image object). On Thu, Apr 16, 2020 at 1:19 PM Graham Samuel via use-livecode < use-livecode at lists.runrev.com> wrote: > Just a quick ?Thank You? to Andrew, Devin and Bill for their ultra-rapid > and detailed replies. There is a lot to take in there, and I?ll respond > later if I have to ask yet more questions. It does seem a bit of a dog?s > breakfast (if I can say that), doesn?t it? I did not realise you could buy > in other SCGs without some kind of intervention from the mother ship - I > will check that out. > > I?ll be back. > > Thanks again > > Graham > > > > _______________________________________________ > 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 livfoss at mac.com Thu Apr 16 15:04:58 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 16 Apr 2020 21:04:58 +0200 Subject: A short question about Xcode In-Reply-To: <42122AA8-2EC6-46A3-A21B-BD3EFC213005@elementarysoftware.com> References: <42122AA8-2EC6-46A3-A21B-BD3EFC213005@elementarysoftware.com> Message-ID: <37DB1D8B-BA3F-488A-8760-438EA46A4D1F@mac.com> Sadly, my test targets are just simulators. No real device is mentioned. However, following Ralph?s advice (thanks), i reconnected with my phone unlocked. Things looked promising, but then a message came up saying that maybe this version of Xcode (10.1) was not compatible with the iOS 13 on my iPhone XS, which is my main test device (it?s OK in the simulator). It then tried to do the loading of the app into the phone and eventually said > The entitlements specified in your application?s Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile. (0xE8008016). I suppose that may be the end of that. I need a new iMac - the one I?ve got won?t run a later version of Xcode. Sadly they are rather expensive. I can?t visit anyone else?s, even if I could find one, since i?m in lockdown. Nothing, but nothing, is simple when trying to deploy to iOS. [Sound of grinding teethe] Graham > On 16 Apr 2020, at 20:22, scott--- via use-livecode wrote: > > I can?t recall whether this is specific to a particular LC license but when physically attaching a device to the computer, on my setup that mobile device appears under the menu Development ?> Test Target (along with simulator options) and can simply be selected as the test device? which saves the added step of dragging into Xcode. > > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-800-615-0867 > ------------------------------------------------------ >> On Apr 16, 2020, at 10:11 AM, Graham Samuel via use-livecode wrote: >> >> I?m following the LC lesson 'How do I build an iOS application??. I think I?ve done everything they mention, and I have my Apple developer credentials and three iOS devices registered. I have saved my iOS app as a standalone. But when I get to this instruction about getting my app on a real device: >> >>> 1) Open Xcode >>> >>> 2) In the 'Window' menu select "Devices" >>> >>> 4) Select your connected iOS device >>> >>> 5) Drag standalone app to "Installed Apps" section of device window >>> >>> Your app should now be on your device >> >> >> There is nothing in the Devices section for me to select (plenty of stuff in the Simulators, but so what?). Do I have to fiddle with keychain or particular folders or what? I have no idea what to do next (not for the first time!). >> >> Graham > > _______________________________________________ > 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 Thu Apr 16 16:04:17 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 16 Apr 2020 16:04:17 -0400 Subject: A short question about Xcode In-Reply-To: <37DB1D8B-BA3F-488A-8760-438EA46A4D1F@mac.com> References: <42122AA8-2EC6-46A3-A21B-BD3EFC213005@elementarysoftware.com> <37DB1D8B-BA3F-488A-8760-438EA46A4D1F@mac.com> Message-ID: <004201d6142a$38d148b0$aa73da10$@net> You can ignore the "this version of Xcode (10.1) was not compatible with the iOS 13 on my iPhone XS" Make sure your using a development provisioning profile. Create a new one and try using it. If I remember correctly I've also seen this when not all Icons or Splash pages are included. 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 Graham Samuel via use-livecode Sent: Thursday, April 16, 2020 3:05 PM To: How to use LiveCode Cc: Graham Samuel Subject: Re: A short question about Xcode Sadly, my test targets are just simulators. No real device is mentioned. However, following Ralph?s advice (thanks), i reconnected with my phone unlocked. Things looked promising, but then a message came up saying that maybe this version of Xcode (10.1) was not compatible with the iOS 13 on my iPhone XS, which is my main test device (it?s OK in the simulator). It then tried to do the loading of the app into the phone and eventually said > The entitlements specified in your application?s Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile. (0xE8008016). I suppose that may be the end of that. I need a new iMac - the one I?ve got won?t run a later version of Xcode. Sadly they are rather expensive. I can?t visit anyone else?s, even if I could find one, since i?m in lockdown. Nothing, but nothing, is simple when trying to deploy to iOS. [Sound of grinding teethe] Graham > On 16 Apr 2020, at 20:22, scott--- via use-livecode wrote: > > I can?t recall whether this is specific to a particular LC license but when physically attaching a device to the computer, on my setup that mobile device appears under the menu Development ?> Test Target (along with simulator options) and can simply be selected as the test device? which saves the added step of dragging into Xcode. > > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web https://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-800-615-0867 > ------------------------------------------------------ >> On Apr 16, 2020, at 10:11 AM, Graham Samuel via use-livecode wrote: >> >> I?m following the LC lesson 'How do I build an iOS application??. I think I?ve done everything they mention, and I have my Apple developer credentials and three iOS devices registered. I have saved my iOS app as a standalone. But when I get to this instruction about getting my app on a real device: >> >>> 1) Open Xcode >>> >>> 2) In the 'Window' menu select "Devices" >>> >>> 4) Select your connected iOS device >>> >>> 5) Drag standalone app to "Installed Apps" section of device window >>> >>> Your app should now be on your device >> >> >> There is nothing in the Devices section for me to select (plenty of stuff in the Simulators, but so what?). Do I have to fiddle with keychain or particular folders or what? I have no idea what to do next (not for the first time!). >> >> Graham > > _______________________________________________ > 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 livfoss at mac.com Thu Apr 16 16:12:32 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 16 Apr 2020 22:12:32 +0200 Subject: A short question about Xcode In-Reply-To: <37DB1D8B-BA3F-488A-8760-438EA46A4D1F@mac.com> References: <42122AA8-2EC6-46A3-A21B-BD3EFC213005@elementarysoftware.com> <37DB1D8B-BA3F-488A-8760-438EA46A4D1F@mac.com> Message-ID: <001A40A2-3C93-4C6B-BD61-52969769B108@mac.com> Just got the same error with an iPhone 5, which is only running iOS 10.4 - so whatever is wrong, it?s not to do with the newness of the operating system in the device. Why is it so complicated? How can anyone write a single piece of software (I?m talking about XCode) that uses up more bytes than would be needed for the Library of Babel? Things have got out of hand. Rant ends. Graham > On 16 Apr 2020, at 21:04, Graham Samuel via use-livecode wrote: > > Sadly, my test targets are just simulators. No real device is mentioned. > > However, following Ralph?s advice (thanks), i reconnected with my phone unlocked. Things looked promising, but then a message came up saying that maybe this version of Xcode (10.1) was not compatible with the iOS 13 on my iPhone XS, which is my main test device (it?s OK in the simulator). It then tried to do the loading of the app into the phone and eventually said > >> The entitlements specified in your application?s Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile. (0xE8008016). > > I suppose that may be the end of that. I need a new iMac - the one I?ve got won?t run a later version of Xcode. Sadly they are rather expensive. I can?t visit anyone else?s, even if I could find one, since i?m in lockdown. > > Nothing, but nothing, is simple when trying to deploy to iOS. > > [Sound of grinding teethe] > > Graham > >> On 16 Apr 2020, at 20:22, scott--- via use-livecode wrote: >> >> I can?t recall whether this is specific to a particular LC license but when physically attaching a device to the computer, on my setup that mobile device appears under the menu Development ?> Test Target (along with simulator options) and can simply be selected as the test device? which saves the added step of dragging into Xcode. >> >> -- >> Scott Morrow >> >> Elementary Software >> (Now with 20% less chalk dust!) >> web https://elementarysoftware.com/ >> email scott at elementarysoftware.com >> booth 1-800-615-0867 >> ------------------------------------------------------ >>> On Apr 16, 2020, at 10:11 AM, Graham Samuel via use-livecode wrote: >>> >>> I?m following the LC lesson 'How do I build an iOS application??. I think I?ve done everything they mention, and I have my Apple developer credentials and three iOS devices registered. I have saved my iOS app as a standalone. But when I get to this instruction about getting my app on a real device: >>> >>>> 1) Open Xcode >>>> >>>> 2) In the 'Window' menu select "Devices" >>>> >>>> 4) Select your connected iOS device >>>> >>>> 5) Drag standalone app to "Installed Apps" section of device window >>>> >>>> Your app should now be on your device >>> >>> >>> There is nothing in the Devices section for me to select (plenty of stuff in the Simulators, but so what?). Do I have to fiddle with keychain or particular folders or what? I have no idea what to do next (not for the first time!). >>> >>> Graham >> >> _______________________________________________ >> 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 livfoss at mac.com Thu Apr 16 16:20:53 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 16 Apr 2020 22:20:53 +0200 Subject: A short question about Xcode In-Reply-To: <004201d6142a$38d148b0$aa73da10$@net> References: <42122AA8-2EC6-46A3-A21B-BD3EFC213005@elementarysoftware.com> <37DB1D8B-BA3F-488A-8760-438EA46A4D1F@mac.com> <004201d6142a$38d148b0$aa73da10$@net> Message-ID: Ralph, I am using a development provisioning profile for iPhone. It was created this month and expires next year. I will try to go over the whole process again. I did as much as I could to include all the icons and splash pages needed for all the phones I was likely to encounter (that was about 5 different types). Do I have to include ones that nobody is going to use? Graham > On 16 Apr 2020, at 22:04, Ralph DiMola via use-livecode wrote: > > You can ignore the "this version of Xcode (10.1) was not compatible with the iOS 13 on my iPhone XS" > > Make sure your using a development provisioning profile. Create a new one and try using it. If I remember correctly I've also seen this when not all Icons or Splash pages are included. > > 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 Graham Samuel via use-livecode > Sent: Thursday, April 16, 2020 3:05 PM > To: How to use LiveCode > Cc: Graham Samuel > Subject: Re: A short question about Xcode > > Sadly, my test targets are just simulators. No real device is mentioned. > > However, following Ralph?s advice (thanks), i reconnected with my phone unlocked. Things looked promising, but then a message came up saying that maybe this version of Xcode (10.1) was not compatible with the iOS 13 on my iPhone XS, which is my main test device (it?s OK in the simulator). It then tried to do the loading of the app into the phone and eventually said > >> The entitlements specified in your application?s Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile. (0xE8008016). > > I suppose that may be the end of that. I need a new iMac - the one I?ve got won?t run a later version of Xcode. Sadly they are rather expensive. I can?t visit anyone else?s, even if I could find one, since i?m in lockdown. > > Nothing, but nothing, is simple when trying to deploy to iOS. > > [Sound of grinding teethe] > > Graham > >> On 16 Apr 2020, at 20:22, scott--- via use-livecode wrote: >> >> I can?t recall whether this is specific to a particular LC license but when physically attaching a device to the computer, on my setup that mobile device appears under the menu Development ?> Test Target (along with simulator options) and can simply be selected as the test device? which saves the added step of dragging into Xcode. >> >> -- >> Scott Morrow >> >> Elementary Software >> (Now with 20% less chalk dust!) >> web https://elementarysoftware.com/ >> email scott at elementarysoftware.com >> booth 1-800-615-0867 >> ------------------------------------------------------ >>> On Apr 16, 2020, at 10:11 AM, Graham Samuel via use-livecode wrote: >>> >>> I?m following the LC lesson 'How do I build an iOS application??. I think I?ve done everything they mention, and I have my Apple developer credentials and three iOS devices registered. I have saved my iOS app as a standalone. But when I get to this instruction about getting my app on a real device: >>> >>>> 1) Open Xcode >>>> >>>> 2) In the 'Window' menu select "Devices" >>>> >>>> 4) Select your connected iOS device >>>> >>>> 5) Drag standalone app to "Installed Apps" section of device window >>>> >>>> Your app should now be on your device >>> >>> >>> There is nothing in the Devices section for me to select (plenty of stuff in the Simulators, but so what?). Do I have to fiddle with keychain or particular folders or what? I have no idea what to do next (not for the first time!). >>> >>> Graham >> >> _______________________________________________ >> 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 jacque at hyperactivesw.com Thu Apr 16 16:40:29 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 16 Apr 2020 15:40:29 -0500 Subject: Making an iOS app look like one In-Reply-To: References: <34B8F4A6-FFAB-4644-9F98-A0D16C4984AB@midwestcoastmedia.com> Message-ID: <993e676c-fcd5-d5f7-a234-cafd301dfee0@hyperactivesw.com> On 4/16/20 2:00 PM, Brian Milby via use-livecode wrote: > The ability to create additional SVG Icon Libraries is something that I > helped get done a while back. Here's a thread with a stack that I > developed that helps organize libraries: I should have guessed you'd had a hand in this. ;) Someone should take a look at the dictionary entries for addIcon and addIconFamily, and maybe some of the other related entries. The syntax is wrong and it threw me -- they look like functions (with parentheses) but they're command handlers. If I weren't so stressed for time I'd write a bug report. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Thu Apr 16 16:45:25 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 16 Apr 2020 16:45:25 -0400 Subject: A short question about Xcode In-Reply-To: References: <42122AA8-2EC6-46A3-A21B-BD3EFC213005@elementarysoftware.com> <37DB1D8B-BA3F-488A-8760-438EA46A4D1F@mac.com> <004201d6142a$38d148b0$aa73da10$@net> Message-ID: <004b01d6142f$f7c6d5f0$e75481d0$@net> First of all. Make A new Provisioning Profile and put a date or other identifying indicator suffix at the end of the profile name. To download it open up Xcode preferences. In the Accounts tap click on "Download Manual Profiles". Then reopen LC and use the new profile that can be identified with the suffix you added when you created it. If this does not work then I would try including all the icons and splash screens. I know that this can be frustrating but when you make it through the gauntlet the first time it get easier after that. I'm facing the fact that my 16 gig 2TB perfectly running MacBook Pro still with great performance is too old to update to Catalina. This means I have to scrape up $1,800 minimum to get even a 2018 MacBook Pro. And then you get what you buy because memory and hard drives are now soldered in so no upgrades can be done 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 Graham Samuel via use-livecode Sent: Thursday, April 16, 2020 4:21 PM To: How to use LiveCode Cc: Graham Samuel Subject: Re: A short question about Xcode Ralph, I am using a development provisioning profile for iPhone. It was created this month and expires next year. I will try to go over the whole process again. I did as much as I could to include all the icons and splash pages needed for all the phones I was likely to encounter (that was about 5 different types). Do I have to include ones that nobody is going to use? Graham > On 16 Apr 2020, at 22:04, Ralph DiMola via use-livecode wrote: > > You can ignore the "this version of Xcode (10.1) was not compatible with the iOS 13 on my iPhone XS" > > Make sure your using a development provisioning profile. Create a new one and try using it. If I remember correctly I've also seen this when not all Icons or Splash pages are included. > > 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 Graham Samuel via use-livecode > Sent: Thursday, April 16, 2020 3:05 PM > To: How to use LiveCode > Cc: Graham Samuel > Subject: Re: A short question about Xcode > > Sadly, my test targets are just simulators. No real device is mentioned. > > However, following Ralph?s advice (thanks), i reconnected with my phone unlocked. Things looked promising, but then a message came up saying that maybe this version of Xcode (10.1) was not compatible with the iOS 13 on my iPhone XS, which is my main test device (it?s OK in the simulator). It then tried to do the loading of the app into the phone and eventually said > >> The entitlements specified in your application?s Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile. (0xE8008016). > > I suppose that may be the end of that. I need a new iMac - the one I?ve got won?t run a later version of Xcode. Sadly they are rather expensive. I can?t visit anyone else?s, even if I could find one, since i?m in lockdown. > > Nothing, but nothing, is simple when trying to deploy to iOS. > > [Sound of grinding teethe] > > Graham > >> On 16 Apr 2020, at 20:22, scott--- via use-livecode wrote: >> >> I can?t recall whether this is specific to a particular LC license but when physically attaching a device to the computer, on my setup that mobile device appears under the menu Development ?> Test Target (along with simulator options) and can simply be selected as the test device? which saves the added step of dragging into Xcode. >> >> -- >> Scott Morrow >> >> Elementary Software >> (Now with 20% less chalk dust!) >> web https://elementarysoftware.com/ >> email scott at elementarysoftware.com >> booth 1-800-615-0867 >> ------------------------------------------------------ >>> On Apr 16, 2020, at 10:11 AM, Graham Samuel via use-livecode wrote: >>> >>> I?m following the LC lesson 'How do I build an iOS application??. I think I?ve done everything they mention, and I have my Apple developer credentials and three iOS devices registered. I have saved my iOS app as a standalone. But when I get to this instruction about getting my app on a real device: >>> >>>> 1) Open Xcode >>>> >>>> 2) In the 'Window' menu select "Devices" >>>> >>>> 4) Select your connected iOS device >>>> >>>> 5) Drag standalone app to "Installed Apps" section of device window >>>> >>>> Your app should now be on your device >>> >>> >>> There is nothing in the Devices section for me to select (plenty of stuff in the Simulators, but so what?). Do I have to fiddle with keychain or particular folders or what? I have no idea what to do next (not for the first time!). >>> >>> Graham >> >> _______________________________________________ >> 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 _______________________________________________ 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 dev at porta.ca Thu Apr 16 16:49:23 2020 From: dev at porta.ca (Dev) Date: Thu, 16 Apr 2020 14:49:23 -0600 Subject: A short question about Xcode In-Reply-To: <004b01d6142f$f7c6d5f0$e75481d0$@net> References: <42122AA8-2EC6-46A3-A21B-BD3EFC213005@elementarysoftware.com> <37DB1D8B-BA3F-488A-8760-438EA46A4D1F@mac.com> <004201d6142a$38d148b0$aa73da10$@net> <004b01d6142f$f7c6d5f0$e75481d0$@net> Message-ID: <01FE44DA-2AAC-411A-B41A-0E60EE64E447@porta.ca> I feel for you Ralph. My general solution is that it is time for my wife to get a new computer - ie pass on my old one. Pain in the neck and so on, but it doesn?t happen too often. I don?t know how old yours is, but I usually get 5-6 years out of a Mac laptop, and that means my $$$/yr stays in just in the painful range, and I keep doing it (3x now). So for me it is the cost of my hobby or a cost of doing business. Sorry to say, but this has been going on for a while - since I bought my first 286 and MacPlus. > On 16-Apr-2020, at 2:45 PM, Ralph DiMola via use-livecode wrote: > I'm facing the fact that my 16 gig 2TB perfectly running MacBook Pro still with great performance is too old to update to Catalina. This means I have to scrape up $1,800 minimum to get even a 2018 MacBook Pro. And then you get what you buy because memory and hard drives are now soldered in so no upgrades can be done > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net From jacque at hyperactivesw.com Thu Apr 16 16:55:17 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 16 Apr 2020 15:55:17 -0500 Subject: A short question about Xcode In-Reply-To: <001A40A2-3C93-4C6B-BD61-52969769B108@mac.com> References: <42122AA8-2EC6-46A3-A21B-BD3EFC213005@elementarysoftware.com> <37DB1D8B-BA3F-488A-8760-438EA46A4D1F@mac.com> <001A40A2-3C93-4C6B-BD61-52969769B108@mac.com> Message-ID: <1785a5e9-41eb-e913-6a8c-9a6054cd727e@hyperactivesw.com> On 4/16/20 3:12 PM, Graham Samuel via use-livecode wrote: > Why is it so complicated? How can anyone write a single piece of software (I?m talking about XCode) that uses up more bytes than would be needed for the Library of Babel? That. But it is what it is, and I plan to spend double or triple the usual time when a client wants a mobile app, which virtually all of them do these days. You don't need XCode though, except to have it sitting on your hard drive with its command tools installed. Once that's done, you can ignore it. Use the Development menu to choose your test device, and then choose Test from the menu, or just click the Test button in the toolbar. (And make sure your stack is focused or nothing will happen.) As long as XCode is set up and green-lighted in LC mobile preferences, that's all you need. If you want to use a simulator though, you do have to launch it from XCode. But then you can ignore it again. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Apr 16 16:59:32 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 16 Apr 2020 15:59:32 -0500 Subject: A short question about Xcode In-Reply-To: <37DB1D8B-BA3F-488A-8760-438EA46A4D1F@mac.com> References: <42122AA8-2EC6-46A3-A21B-BD3EFC213005@elementarysoftware.com> <37DB1D8B-BA3F-488A-8760-438EA46A4D1F@mac.com> Message-ID: On 4/16/20 2:04 PM, Graham Samuel via use-livecode wrote: > Sadly, my test targets are just simulators. No real device is mentioned. Missed this the first time around. You can still do everything from LC, once you launch a simulator which you need to do from XCode. Wait until it is fully launched and running. Then you can choose the simulator from the LC Development menu, hit the Test button and it should go. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brian at milby7.com Thu Apr 16 17:25:43 2020 From: brian at milby7.com (Brian Milby) Date: Thu, 16 Apr 2020 17:25:43 -0400 Subject: Making an iOS app look like one In-Reply-To: <993e676c-fcd5-d5f7-a234-cafd301dfee0@hyperactivesw.com> References: <34B8F4A6-FFAB-4644-9F98-A0D16C4984AB@midwestcoastmedia.com> <993e676c-fcd5-d5f7-a234-cafd301dfee0@hyperactivesw.com> Message-ID: <92013d46-9a52-438c-a1e3-d4a6b718a9ca@Spark> I wrote the docs, so I guess I can fix them. ?The issue is that for widgets that is how the syntax for handlers is displayed. ?What can be done is to add an example that shows it as a command without the parentheses. Thanks, Brian On Apr 16, 2020, 4:41 PM -0400, J. Landman Gay via use-livecode , wrote: > On 4/16/20 2:00 PM, Brian Milby via use-livecode wrote: > > The ability to create additional SVG Icon Libraries is something that I > > helped get done a while back. Here's a thread with a stack that I > > developed that helps organize libraries: > > I should have guessed you'd had a hand in this. ;) Someone should take a look at the dictionary > entries for addIcon and addIconFamily, and maybe some of the other related entries. The syntax > is wrong and it threw me -- they look like functions (with parentheses) but they're command > handlers. > > If I weren't so stressed for time I'd write a bug report. > > -- > 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 scott at elementarysoftware.com Thu Apr 16 17:57:22 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Thu, 16 Apr 2020 14:57:22 -0700 Subject: A short question about Xcode Message-ID: Hello Graham, When you created the development provisioning profile, I assume you added your iPhone?s UUID to the list of allowed test devices. In the Standalone Application Settings?> iOS?> Basic Settings (tab) did you select the correct profile. (Simulator doesn?t care about profiles but your real devices need to be specifically allowed.) If you just added one, be sure to restart LC so that it sill see it. ? Scott Morrow > On Apr 16, 2020, at 1:20 PM, Graham Samuel via use-livecode wrote: > > Ralph, I am using a development provisioning profile for iPhone. It was created this month and expires next year. I will try to go over the whole process again. I did as much as I could to include all the icons and splash pages needed for all the phones I was likely to encounter (that was about 5 different types). Do I have to include ones that nobody is going to use? > > Graham > >> On 16 Apr 2020, at 22:04, Ralph DiMola via use-livecode wrote: >> >> You can ignore the "this version of Xcode (10.1) was not compatible with the iOS 13 on my iPhone XS" >> >> Make sure your using a development provisioning profile. Create a new one and try using it. If I remember correctly I've also seen this when not all Icons or Splash pages are included. >> >> 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 Graham Samuel via use-livecode >> Sent: Thursday, April 16, 2020 3:05 PM >> To: How to use LiveCode >> Cc: Graham Samuel >> Subject: Re: A short question about Xcode >> >> Sadly, my test targets are just simulators. No real device is mentioned. >> >> However, following Ralph?s advice (thanks), i reconnected with my phone unlocked. Things looked promising, but then a message came up saying that maybe this version of Xcode (10.1) was not compatible with the iOS 13 on my iPhone XS, which is my main test device (it?s OK in the simulator). It then tried to do the loading of the app into the phone and eventually said >> >>> The entitlements specified in your application?s Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile. (0xE8008016). >> >> I suppose that may be the end of that. I need a new iMac - the one I?ve got won?t run a later version of Xcode. Sadly they are rather expensive. I can?t visit anyone else?s, even if I could find one, since i?m in lockdown. >> >> Nothing, but nothing, is simple when trying to deploy to iOS. >> >> [Sound of grinding teethe] >> >> Graham >> >>> On 16 Apr 2020, at 20:22, scott--- via use-livecode wrote: >>> >>> I can?t recall whether this is specific to a particular LC license but when physically attaching a device to the computer, on my setup that mobile device appears under the menu Development ?> Test Target (along with simulator options) and can simply be selected as the test device? which saves the added step of dragging into Xcode. >>> >>> -- >>> Scott Morrow >>> >>> Elementary Software >>> (Now with 20% less chalk dust!) >>> web https://elementarysoftware.com/ >>> email scott at elementarysoftware.com >>> booth 1-800-615-0867 >>> ------------------------------------------------------ >>>> On Apr 16, 2020, at 10:11 AM, Graham Samuel via use-livecode wrote: >>>> >>>> I?m following the LC lesson 'How do I build an iOS application??. I think I?ve done everything they mention, and I have my Apple developer credentials and three iOS devices registered. I have saved my iOS app as a standalone. But when I get to this instruction about getting my app on a real device: >>>> >>>>> 1) Open Xcode >>>>> >>>>> 2) In the 'Window' menu select "Devices" >>>>> >>>>> 4) Select your connected iOS device >>>>> >>>>> 5) Drag standalone app to "Installed Apps" section of device window >>>>> >>>>> Your app should now be on your device >>>> >>>> >>>> There is nothing in the Devices section for me to select (plenty of stuff in the Simulators, but so what?). Do I have to fiddle with keychain or particular folders or what? I have no idea what to do next (not for the first time!). >>>> >>>> Graham > From skiplondon at gmail.com Thu Apr 16 22:23:09 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Thu, 16 Apr 2020 22:23:09 -0400 Subject: Even Distribution Message-ID: I have 15 "jobs" that need to be assigned to 7 "drivers". How would you evenly distribute the jobs to the drivers? In this case one of the drivers would have 3 jobs while the others have two. Obviously, the number of drivers and number of jobs would fluctuate. This has been my mind twister for the night thus far :) SKIP From dochawk at gmail.com Thu Apr 16 22:26:21 2020 From: dochawk at gmail.com (doc hawk) Date: Thu, 16 Apr 2020 19:26:21 -0700 Subject: Even Distribution In-Reply-To: References: Message-ID: On Apr 16, 2020, at 7:23 PM, Skip Kimpel via use-livecode wrote: > > I have 15 "jobs" that need to be assigned to 7 "drivers". How would you > evenly distribute the jobs to the drivers? Fire two drivers. :_) If they complain, fire two more, and it?s still easy . . . From dev at porta.ca Thu Apr 16 22:30:02 2020 From: dev at porta.ca (Dev) Date: Thu, 16 Apr 2020 20:30:02 -0600 Subject: Even Distribution In-Reply-To: References: Message-ID: Since you would probably have long trips and short trips, I would try and allocate on an estimated time to complete basis so that all were busy for about the same time. > On 16-Apr-2020, at 8:23 PM, Skip Kimpel via use-livecode wrote: > > I have 15 "jobs" that need to be assigned to 7 "drivers". How would you > evenly distribute the jobs to the drivers? In this case one of the drivers > would have 3 jobs while the others have two. > > Obviously, the number of drivers and number of jobs would fluctuate. > > This has been my mind twister for the night thus far :) > > SKIP > _______________________________________________ > 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 skiplondon at gmail.com Thu Apr 16 22:33:21 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Thu, 16 Apr 2020 22:33:21 -0400 Subject: Even Distribution In-Reply-To: References: Message-ID: Haha... Let me specify, I am looking to do this programmatically :) SKIP On Thu, Apr 16, 2020 at 10:31 PM Dev via use-livecode < use-livecode at lists.runrev.com> wrote: > Since you would probably have long trips and short trips, I would try and > allocate on an estimated time to complete basis so that all were busy for > about the same time. > > > On 16-Apr-2020, at 8:23 PM, Skip Kimpel via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I have 15 "jobs" that need to be assigned to 7 "drivers". How would you > > evenly distribute the jobs to the drivers? In this case one of the > drivers > > would have 3 jobs while the others have two. > > > > Obviously, the number of drivers and number of jobs would fluctuate. > > > > This has been my mind twister for the night thus far :) > > > > SKIP > > _______________________________________________ > > 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 skiplondon at gmail.com Thu Apr 16 22:36:34 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Thu, 16 Apr 2020 22:36:34 -0400 Subject: Even Distribution In-Reply-To: References: Message-ID: Dev, I have already sorted the jobs out by proximity so I don't need to worry about that. Just need the distribution piece down. I agree, you have a good point an might prove valuable in the future. SKIP On Thu, Apr 16, 2020 at 10:33 PM Skip Kimpel wrote: > Haha... Let me specify, I am looking to do this programmatically :) > > SKIP > > On Thu, Apr 16, 2020 at 10:31 PM Dev via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Since you would probably have long trips and short trips, I would try and >> allocate on an estimated time to complete basis so that all were busy for >> about the same time. >> >> > On 16-Apr-2020, at 8:23 PM, Skip Kimpel via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> > >> > I have 15 "jobs" that need to be assigned to 7 "drivers". How would you >> > evenly distribute the jobs to the drivers? In this case one of the >> drivers >> > would have 3 jobs while the others have two. >> > >> > Obviously, the number of drivers and number of jobs would fluctuate. >> > >> > This has been my mind twister for the night thus far :) >> > >> > SKIP >> > _______________________________________________ >> > 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 Thu Apr 16 22:40:48 2020 From: brian at milby7.com (Brian Milby) Date: Thu, 16 Apr 2020 22:40:48 -0400 Subject: Even Distribution In-Reply-To: References: Message-ID: <5b561388-e93e-4221-997c-80deca3bd17d@Spark> It was already mentioned somewhat, but you need some sort of weight metric for each job. ?Save the ?smallest? job. ?For each driver, assign the largest and smallest job remaining. ?When done, add the weight for each driver and give the remaining job to the one with the least work. Thanks, Brian On Apr 16, 2020, 10:34 PM -0400, Skip Kimpel via use-livecode , wrote: > Haha... Let me specify, I am looking to do this programmatically :) > > SKIP > > On Thu, Apr 16, 2020 at 10:31 PM Dev via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Since you would probably have long trips and short trips, I would try and > > allocate on an estimated time to complete basis so that all were busy for > > about the same time. > > > > > On 16-Apr-2020, at 8:23 PM, Skip Kimpel via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > I have 15 "jobs" that need to be assigned to 7 "drivers". How would you > > > evenly distribute the jobs to the drivers? In this case one of the > > drivers > > > would have 3 jobs while the others have two. > > > > > > Obviously, the number of drivers and number of jobs would fluctuate. > > > > > > This has been my mind twister for the night thus far :) > > > > > > SKIP > > > _______________________________________________ > > > 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 skiplondon at gmail.com Thu Apr 16 22:41:43 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Thu, 16 Apr 2020 22:41:43 -0400 Subject: Even Distribution In-Reply-To: References: Message-ID: I have working on creating a loop that would divide the number of jobs by the number of users and then checking to see to see if it is evenly divisible but that is kind of where I am stuck. Everything I have tried thus far has proven to be unsuccessful. SKIP On Thu, Apr 16, 2020 at 10:36 PM Skip Kimpel wrote: > Dev, I have already sorted the jobs out by proximity so I don't need to > worry about that. Just need the distribution piece down. I agree, you > have a good point an might prove valuable in the future. > > SKIP > > On Thu, Apr 16, 2020 at 10:33 PM Skip Kimpel wrote: > >> Haha... Let me specify, I am looking to do this programmatically :) >> >> SKIP >> >> On Thu, Apr 16, 2020 at 10:31 PM Dev via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Since you would probably have long trips and short trips, I would try >>> and allocate on an estimated time to complete basis so that all were busy >>> for about the same time. >>> >>> > On 16-Apr-2020, at 8:23 PM, Skip Kimpel via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> > >>> > I have 15 "jobs" that need to be assigned to 7 "drivers". How would you >>> > evenly distribute the jobs to the drivers? In this case one of the >>> drivers >>> > would have 3 jobs while the others have two. >>> > >>> > Obviously, the number of drivers and number of jobs would fluctuate. >>> > >>> > This has been my mind twister for the night thus far :) >>> > >>> > SKIP >>> > _______________________________________________ >>> > 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 hakan at exformedia.se Fri Apr 17 00:12:13 2020 From: hakan at exformedia.se (hakan at exformedia.se) Date: Fri, 17 Apr 2020 06:12:13 +0200 Subject: Even Distribution In-Reply-To: References: Message-ID: <480e807a-6109-4ff4-b33f-6b2c6522f675@Spark> Maybe I?m misunderstanding but if you just want to divide the jobs you could have a counter for the current driver and after assigning a job you increase the counter and wrap it when you exceed the number of drivers. If you?re looking for a more fancy job division algorithm you should take a look at the classical traveling salesman problem but with multiple drivers. And even with one driver this is a tricky solution. If you are building an app that really needs a good solution for the vehicle routing problem you can maybe wrap the optaplanner Java library. (optaplanner.org) Good luck! H?kan On 17 Apr 2020, 04:42 +0200, Skip Kimpel via use-livecode , wrote: > I have working on creating a loop that would divide the number of jobs by > the number of users and then checking to see to see if it is evenly > divisible but that is kind of where I am stuck. Everything I have tried > thus far has proven to be unsuccessful. > > SKIP > > On Thu, Apr 16, 2020 at 10:36 PM Skip Kimpel wrote: > > > Dev, I have already sorted the jobs out by proximity so I don't need to > > worry about that. Just need the distribution piece down. I agree, you > > have a good point an might prove valuable in the future. > > > > SKIP > > > > On Thu, Apr 16, 2020 at 10:33 PM Skip Kimpel wrote: > > > > > Haha... Let me specify, I am looking to do this programmatically :) > > > > > > SKIP > > > > > > On Thu, Apr 16, 2020 at 10:31 PM Dev via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > > > Since you would probably have long trips and short trips, I would try > > > > and allocate on an estimated time to complete basis so that all were busy > > > > for about the same time. > > > > > > > > > On 16-Apr-2020, at 8:23 PM, Skip Kimpel via use-livecode < > > > > use-livecode at lists.runrev.com> wrote: > > > > > > > > > > I have 15 "jobs" that need to be assigned to 7 "drivers". How would you > > > > > evenly distribute the jobs to the drivers? In this case one of the > > > > drivers > > > > > would have 3 jobs while the others have two. > > > > > > > > > > Obviously, the number of drivers and number of jobs would fluctuate. > > > > > > > > > > This has been my mind twister for the night thus far :) > > > > > > > > > > SKIP > > > > > _______________________________________________ > > > > > 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 jerry at jhjensen.com Fri Apr 17 00:28:45 2020 From: jerry at jhjensen.com (Jerry Jensen) Date: Thu, 16 Apr 2020 21:28:45 -0700 Subject: Even Distribution In-Reply-To: References: Message-ID: <027CB3FC-E4E7-4C24-BCDF-5683F6343053@jhjensen.com> Hi Skip, Forgive me if this is not the answer you seek, or an oversimplification, but there is an easy way to find if the jobs can be exactly evenly distributed, with nothing left over: if (tjobs mod tdrivers) = 0 then // it is evenly distrutable. .Jerry > On Apr 16, 2020, at 7:41 PM, Skip Kimpel via use-livecode wrote: > > I have working on creating a loop that would divide the number of jobs by > the number of users and then checking to see to see if it is evenly > divisible but that is kind of where I am stuck. Everything I have tried > thus far has proven to be unsuccessful. From ludovic.thebault at laposte.net Fri Apr 17 02:05:23 2020 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Fri, 17 Apr 2020 08:05:23 +0200 Subject: Error in evaluatejavascript with widget browser only on iOS and Livecode > 9.06 Message-ID: Hello, I?ve a strange error : I have an application where you can change the GPS coordinates from a marker on a map, in a browser widget. For this I use the code "myJSHandler" which allows to retrieve in Livecode the GPS values of the map thanks to javascript. The code works fine on desktop, iOS and Android except for iOS apps compiled with Livecode > 9.0.6 (and also with the new Livecode 9.6.0 dp4). (I?ve not tested with Livecode 9.5). I?ve already tried to remove the widget browser and replace it with a ? new ?. When I run the code in my app : on myJSHandler theCoords wait 100 milliseconds with messages put theCoords into tnewcoords end myJSHandler // and the javascript in the html code of the map : function getCoords() { liveCode.myJSHandler(document.getElementById('info').value ) ; } I get an error message: 343,0,0 863,0,0,runtime 864,0,0,Value is not of correct type for assignment to variable - expected type for assigning to variable tResult in com.livecode.widget.browser.browser- EvaluateJavaScript 865,0,0,browser.lcb 866,0,0,859 897,0,0,1 865,0,0,browser.lcb 866,0,0,852 897,0,0,1 but the coordinates are well recovered... If I change my code with : on myJSHandler theCoords answer ? New coordinates are saved !" #### no error, so, the bug is here ! ### wait 100 milliseconds with messages put theCoords into tnewcoords end myJSHandler I don't get the error anymore! I created a test application with the same code and the same map and I got no error ! You could get this sample stack here to see the complete code (but not the error !) https://www.dropbox.com/s/pswhwvoinyrm387/testJShandler.livecode?dl=1 Thanks for your lights ! From livfoss at mac.com Fri Apr 17 05:52:29 2020 From: livfoss at mac.com (Graham Samuel) Date: Fri, 17 Apr 2020 11:52:29 +0200 Subject: A short question about Xcode In-Reply-To: <01FE44DA-2AAC-411A-B41A-0E60EE64E447@porta.ca> References: <42122AA8-2EC6-46A3-A21B-BD3EFC213005@elementarysoftware.com> <37DB1D8B-BA3F-488A-8760-438EA46A4D1F@mac.com> <004201d6142a$38d148b0$aa73da10$@net> <004b01d6142f$f7c6d5f0$e75481d0$@net> <01FE44DA-2AAC-411A-B41A-0E60EE64E447@porta.ca> Message-ID: I feel that pain too. When I bought my Mac Plus, my mother had to help me - comparatively speaking (I mean compared with my income) I seem to remember it was even more expensive in those days! Anyway, my perfectly fine iMac (mid-2011) can?t go beyond High Sierra. Wondering whether to scrape up enough for a new one, tho funds are low - anyway will Apple France deliver during the lockdown? > On 16 Apr 2020, at 22:49, Dev via use-livecode wrote: > > I feel for you Ralph. My general solution is that it is time for my wife to get a new computer - ie pass on my old one. Pain in the neck and so on, but it doesn?t happen too often. I don?t know how old yours is, but I usually get 5-6 years out of a Mac laptop, and that means my $$$/yr stays in just in the painful range, and I keep doing it (3x now). So for me it is the cost of my hobby or a cost of doing business. > Sorry to say, but this has been going on for a while - since I bought my first 286 and MacPlus. > > > >> On 16-Apr-2020, at 2:45 PM, Ralph DiMola via use-livecode wrote: > >> I'm facing the fact that my 16 gig 2TB perfectly running MacBook Pro still with great performance is too old to update to Catalina. This means I have to scrape up $1,800 minimum to get even a 2018 MacBook Pro. And then you get what you buy because memory and hard drives are now soldered in so no upgrades can be done >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net > > _______________________________________________ > 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 livfoss at mac.com Fri Apr 17 05:56:18 2020 From: livfoss at mac.com (Graham Samuel) Date: Fri, 17 Apr 2020 11:56:18 +0200 Subject: A short question about Xcode In-Reply-To: References: <42122AA8-2EC6-46A3-A21B-BD3EFC213005@elementarysoftware.com> <37DB1D8B-BA3F-488A-8760-438EA46A4D1F@mac.com> Message-ID: <65419F08-D401-413B-BC4C-728A8E7B1D5F@mac.com> Thanks Jacque - simulator testing is fine, but I need to get the wretched app on the device, mostly so that I can walk around and watch the GPS working, but also of course for proof of concept. I am on the verge of giving up, but thanks to this list I may conquer the mountain of obscurity that is iOS deployment, so one more try before I go back to something simply like learning about relativity (a real bucket list item for me). Graham > On 16 Apr 2020, at 22:59, J. Landman Gay via use-livecode wrote: > > On 4/16/20 2:04 PM, Graham Samuel via use-livecode wrote: >> Sadly, my test targets are just simulators. No real device is mentioned. > > Missed this the first time around. You can still do everything from LC, once you launch a simulator which you need to do from XCode. Wait until it is fully launched and running. > > Then you can choose the simulator from the LC Development menu, hit the Test button and it should go. > > -- > 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 livfoss at mac.com Fri Apr 17 05:59:35 2020 From: livfoss at mac.com (Graham Samuel) Date: Fri, 17 Apr 2020 11:59:35 +0200 Subject: A short question about Xcode In-Reply-To: References: Message-ID: <2D373EBD-2862-474B-A275-9ED973221CB9@mac.com> Yup, I?ve only got one currently valid profile and I selected it in the Standalone Settings for my app. Looks like I will have to go over all that again - the problem being that I don?t know why, and XCode error reporting doesn?t really tell you anything useful. Thanks - and in case I don?t get round to it - thanks to so many others on this list who are trying to help me. Graham > On 16 Apr 2020, at 23:57, scott--- via use-livecode wrote: > > Hello Graham, > > When you created the development provisioning profile, I assume you added your iPhone?s UUID to the list of allowed test devices. In the Standalone Application Settings?> iOS?> Basic Settings (tab) did you select the correct profile. (Simulator doesn?t care about profiles but your real devices need to be specifically allowed.) If you just added one, be sure to restart LC so that it sill see it. > ? > Scott Morrow > >> On Apr 16, 2020, at 1:20 PM, Graham Samuel via use-livecode wrote: >> >> Ralph, I am using a development provisioning profile for iPhone. It was created this month and expires next year. I will try to go over the whole process again. I did as much as I could to include all the icons and splash pages needed for all the phones I was likely to encounter (that was about 5 different types). Do I have to include ones that nobody is going to use? >> >> Graham >> >>> On 16 Apr 2020, at 22:04, Ralph DiMola via use-livecode wrote: >>> >>> You can ignore the "this version of Xcode (10.1) was not compatible with the iOS 13 on my iPhone XS" >>> >>> Make sure your using a development provisioning profile. Create a new one and try using it. If I remember correctly I've also seen this when not all Icons or Splash pages are included. >>> >>> 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 Graham Samuel via use-livecode >>> Sent: Thursday, April 16, 2020 3:05 PM >>> To: How to use LiveCode >>> Cc: Graham Samuel >>> Subject: Re: A short question about Xcode >>> >>> Sadly, my test targets are just simulators. No real device is mentioned. >>> >>> However, following Ralph?s advice (thanks), i reconnected with my phone unlocked. Things looked promising, but then a message came up saying that maybe this version of Xcode (10.1) was not compatible with the iOS 13 on my iPhone XS, which is my main test device (it?s OK in the simulator). It then tried to do the loading of the app into the phone and eventually said >>> >>>> The entitlements specified in your application?s Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile. (0xE8008016). >>> >>> I suppose that may be the end of that. I need a new iMac - the one I?ve got won?t run a later version of Xcode. Sadly they are rather expensive. I can?t visit anyone else?s, even if I could find one, since i?m in lockdown. >>> >>> Nothing, but nothing, is simple when trying to deploy to iOS. >>> >>> [Sound of grinding teethe] >>> >>> Graham >>> >>>> On 16 Apr 2020, at 20:22, scott--- via use-livecode wrote: >>>> >>>> I can?t recall whether this is specific to a particular LC license but when physically attaching a device to the computer, on my setup that mobile device appears under the menu Development ?> Test Target (along with simulator options) and can simply be selected as the test device? which saves the added step of dragging into Xcode. >>>> >>>> -- >>>> Scott Morrow >>>> >>>> Elementary Software >>>> (Now with 20% less chalk dust!) >>>> web https://elementarysoftware.com/ >>>> email scott at elementarysoftware.com >>>> booth 1-800-615-0867 >>>> ------------------------------------------------------ >>>>> On Apr 16, 2020, at 10:11 AM, Graham Samuel via use-livecode wrote: >>>>> >>>>> I?m following the LC lesson 'How do I build an iOS application??. I think I?ve done everything they mention, and I have my Apple developer credentials and three iOS devices registered. I have saved my iOS app as a standalone. But when I get to this instruction about getting my app on a real device: >>>>> >>>>>> 1) Open Xcode >>>>>> >>>>>> 2) In the 'Window' menu select "Devices" >>>>>> >>>>>> 4) Select your connected iOS device >>>>>> >>>>>> 5) Drag standalone app to "Installed Apps" section of device window >>>>>> >>>>>> Your app should now be on your device >>>>> >>>>> >>>>> There is nothing in the Devices section for me to select (plenty of stuff in the Simulators, but so what?). Do I have to fiddle with keychain or particular folders or what? I have no idea what to do next (not for the first time!). >>>>> >>>>> Graham >> > > _______________________________________________ > 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 skiplondon at gmail.com Fri Apr 17 09:43:42 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Fri, 17 Apr 2020 09:43:42 -0400 Subject: Even Distribution In-Reply-To: <027CB3FC-E4E7-4C24-BCDF-5683F6343053@jhjensen.com> References: <027CB3FC-E4E7-4C24-BCDF-5683F6343053@jhjensen.com> Message-ID: Jerry, You did not over simplify at all! I used your basic concept and tweaked it and then applied it to my nested repeats and BAM... got it. Thanks again, everybody! SKIP On Fri, Apr 17, 2020 at 12:28 AM Jerry Jensen wrote: > Hi Skip, > Forgive me if this is not the answer you seek, or an oversimplification, > but there is an easy way to find if the jobs can be exactly evenly > distributed, with nothing left over: > if (tjobs mod tdrivers) = 0 then // it is evenly distrutable. > .Jerry > > > On Apr 16, 2020, at 7:41 PM, Skip Kimpel via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I have working on creating a loop that would divide the number of jobs by > > the number of users and then checking to see to see if it is evenly > > divisible but that is kind of where I am stuck. Everything I have tried > > thus far has proven to be unsuccessful. > > From bobsneidar at iotecdigital.com Fri Apr 17 10:19:32 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 Apr 2020 14:19:32 +0000 Subject: Even Distribution In-Reply-To: References: Message-ID: <21DA46C2-E26E-4B48-8399-A736667A4A5B@iotecdigital.com> Assign the jobs round robin if all other things are equal. Bob S > On Apr 16, 2020, at 7:23 PM, Skip Kimpel via use-livecode wrote: > > I have 15 "jobs" that need to be assigned to 7 "drivers". How would you > evenly distribute the jobs to the drivers? In this case one of the drivers > would have 3 jobs while the others have two. > > Obviously, the number of drivers and number of jobs would fluctuate. > > This has been my mind twister for the night thus far :) > > SKIP From bobsneidar at iotecdigital.com Fri Apr 17 10:20:13 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 Apr 2020 14:20:13 +0000 Subject: Even Distribution In-Reply-To: References: Message-ID: That wasn?t part of the initial problem. :-) Bob S > On Apr 16, 2020, at 7:30 PM, Dev via use-livecode wrote: > > Since you would probably have long trips and short trips, I would try and allocate on an estimated time to complete basis so that all were busy for about the same time. From bobsneidar at iotecdigital.com Fri Apr 17 10:27:09 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 Apr 2020 14:27:09 +0000 Subject: Even Distribution In-Reply-To: References: Message-ID: Wait, what? You didn?t mention that! Okay we do service for copiers in the greater LA area. We assign territories for every technician and every customer. Also, the nearest technician to any zone may be called upon to service another technician?s copiers if the assigned technician is unavailable. If we hire a new technician, the zones are adjusted. Every so often we review the location of active devices and may rezone for that as well. This is not a math problem, it is a logistics one. This does not in and of itself evenly distribute jobs, but if the zoning is properly done, over time the distribution is fairly even. Other factors may need to be taken into account, like frequency of job orders in certain areas (people at the beach may want their cars washed twice a week instead of once). Bob S > On Apr 16, 2020, at 7:36 PM, Skip Kimpel via use-livecode wrote: > > Dev, I have already sorted the jobs out by proximity so I don't need to > worry about that. Just need the distribution piece down. I agree, you > have a good point an might prove valuable in the future. > > SKIP From bobsneidar at iotecdigital.com Fri Apr 17 10:32:04 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 Apr 2020 14:32:04 +0000 Subject: Even Distribution In-Reply-To: References: Message-ID: <90EB3A37-4A70-4F13-8736-8BDFDEB98C8E@iotecdigital.com> As I said, all else being equal, roughly same work required, localized territory, no chance of a job being rescheduled, etc. Use a Round Robin approach. Start with first worker, store as next worker, assign first job, update next worker. On to job 2 and so forth until no more jobs. Next day start with the next worker, rinse and repeat. Bob S > On Apr 16, 2020, at 7:41 PM, Skip Kimpel via use-livecode wrote: > > I have working on creating a loop that would divide the number of jobs by > the number of users and then checking to see to see if it is evenly > divisible but that is kind of where I am stuck. Everything I have tried > thus far has proven to be unsuccessful. > > SKIP > > On Thu, Apr 16, 2020 at 10:36 PM Skip Kimpel wrote: > >> Dev, I have already sorted the jobs out by proximity so I don't need to >> worry about that. Just need the distribution piece down. I agree, you >> have a good point an might prove valuable in the future. >> >> SKIP >> >> On Thu, Apr 16, 2020 at 10:33 PM Skip Kimpel wrote: >> >>> Haha... Let me specify, I am looking to do this programmatically :) >>> >>> SKIP >>> >>> On Thu, Apr 16, 2020 at 10:31 PM Dev via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Since you would probably have long trips and short trips, I would try >>>> and allocate on an estimated time to complete basis so that all were busy >>>> for about the same time. >>>> >>>>> On 16-Apr-2020, at 8:23 PM, Skip Kimpel via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>> I have 15 "jobs" that need to be assigned to 7 "drivers". How would you >>>>> evenly distribute the jobs to the drivers? In this case one of the >>>> drivers >>>>> would have 3 jobs while the others have two. >>>>> >>>>> Obviously, the number of drivers and number of jobs would fluctuate. >>>>> >>>>> This has been my mind twister for the night thus far :) >>>>> >>>>> SKIP >>>>> _______________________________________________ >>>>> 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 Fri Apr 17 10:37:02 2020 From: brian at milby7.com (Brian Milby) Date: Fri, 17 Apr 2020 10:37:02 -0400 Subject: Error in evaluatejavascript with widget browser only on iOS and Livecode > 9.06 In-Reply-To: References: Message-ID: <474a69d8-360c-4c7a-abfb-3987b7d1ef31@Spark> Have you tried without the wait? Thanks, Brian On Apr 17, 2020, 2:06 AM -0400, Ludovic THEBAULT via use-livecode , wrote: > Hello, > > > I?ve a strange error : > > I have an application where you can change the GPS coordinates from a marker on a map, in a browser widget. > For this I use the code "myJSHandler" which allows to retrieve in Livecode the GPS values of the map thanks to javascript. > > The code works fine on desktop, iOS and Android except for iOS apps compiled with Livecode > 9.0.6 (and also with the new Livecode 9.6.0 dp4). > (I?ve not tested with Livecode 9.5). I?ve already tried to remove the widget browser and replace it with a ? new ?. > > When I run the code in my app : > on myJSHandler theCoords > wait 100 milliseconds with messages > > put theCoords into tnewcoords > > end myJSHandler > > // and the javascript in the html code of the map : > function getCoords() { > liveCode.myJSHandler(document.getElementById('info').value ) ; > } > > I get an error message: > > 343,0,0 > 863,0,0,runtime > 864,0,0,Value is not of correct type for > assignment to variable - expected type > for > assigning to variable tResult in > com.livecode.widget.browser.browser- > EvaluateJavaScript > 865,0,0,browser.lcb > 866,0,0,859 > 897,0,0,1 > 865,0,0,browser.lcb > 866,0,0,852 > 897,0,0,1 > > but the coordinates are well recovered... > > If I change my code with : > > on myJSHandler theCoords > > answer ? New coordinates are saved !" > > #### no error, so, the bug is here ! ### > wait 100 milliseconds with messages > > put theCoords into tnewcoords > > end myJSHandler > > > I don't get the error anymore! > > I created a test application with the same code and the same map and I got no error ! > > You could get this sample stack here to see the complete code (but not the error !) > https://www.dropbox.com/s/pswhwvoinyrm387/testJShandler.livecode?dl=1 > > Thanks for your lights ! > _______________________________________________ > 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 ludovic.thebault at laposte.net Fri Apr 17 10:44:24 2020 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Fri, 17 Apr 2020 16:44:24 +0200 Subject: Error in evaluatejavascript with widget browser only on iOS and Livecode > 9.06 In-Reply-To: <474a69d8-360c-4c7a-abfb-3987b7d1ef31@Spark> References: <474a69d8-360c-4c7a-abfb-3987b7d1ef31@Spark> Message-ID: > Le 17 avr. 2020 ? 16:37, Brian Milby via use-livecode a ?crit : > > Have you tried without the wait? > > Thanks, Hello, Yes, without the wait, the error is always here. From merakosp at gmail.com Fri Apr 17 10:55:34 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 17 Apr 2020 17:55:34 +0300 Subject: Error in evaluatejavascript with widget browser only on iOS and Livecode > 9.06 In-Reply-To: References: <474a69d8-360c-4c7a-abfb-3987b7d1ef31@Spark> Message-ID: Hello Ludovic, Could you please file a bug report and include a (ideally simple) sample stack, so as we investigate asap? Kind regards, Panos -- On Fri, 17 Apr 2020 at 17:45, Ludovic THEBAULT via use-livecode < use-livecode at lists.runrev.com> wrote: > > > > Le 17 avr. 2020 ? 16:37, Brian Milby via use-livecode < > use-livecode at lists.runrev.com> a ?crit : > > > > Have you tried without the wait? > > > > Thanks, > > Hello, > > Yes, without the wait, the error is always here. > > > _______________________________________________ > 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 Fri Apr 17 11:35:55 2020 From: waprothero at gmail.com (William Prothero) Date: Fri, 17 Apr 2020 08:35:55 -0700 Subject: A short question about Xcode In-Reply-To: References: Message-ID: <621F7DC0-EC9E-4EC4-A0E2-E47DBA00AC62@gmail.com> Graham: I?ve been where you are, with the maze of requirements to get an app on iPhone. One thing I found was that the trail of mis-steps left a confusing mess of invalid entries in the keychain and Xcode app, and in the other places in my . When I got rid of every entry that I had made and started over from scratch, I had success finally. So, every time I get to that point in the project, I do a housecleaning, then religiously followed the steps some of the livecode app gurus have posted. I?m fortunate in that I only need to use my app on my own iPhone and don?t have to go thru the apple store. FYI? Sorry that I didn?t note the author of this snippet, but I found it very useful and stored it in my notes. It may not be the most current, as well. Ah yes - one of the biggest GOTCHA?s there is when working on Apple certification? I?ve found the best approach is to keep my dev machine scrupulously clean as regards old certificates, and a session with Keychain Access pays dividends. The same thing goes as regards old provisioning profiles - you should find all provisioning profiles on your mac stored at '/Users/ On Apr 16, 2020, at 2:57 PM, scott--- via use-livecode wrote: > > Hello Graham, > > When you created the development provisioning profile, I assume you added your iPhone?s UUID to the list of allowed test devices. In the Standalone Application Settings?> iOS?> Basic Settings (tab) did you select the correct profile. (Simulator doesn?t care about profiles but your real devices need to be specifically allowed.) If you just added one, be sure to restart LC so that it sill see it. > ? > Scott Morrow > >> On Apr 16, 2020, at 1:20 PM, Graham Samuel via use-livecode wrote: >> >> Ralph, I am using a development provisioning profile for iPhone. It was created this month and expires next year. I will try to go over the whole process again. I did as much as I could to include all the icons and splash pages needed for all the phones I was likely to encounter (that was about 5 different types). Do I have to include ones that nobody is going to use? >> >> Graham >> >>> On 16 Apr 2020, at 22:04, Ralph DiMola via use-livecode wrote: >>> >>> You can ignore the "this version of Xcode (10.1) was not compatible with the iOS 13 on my iPhone XS" >>> >>> Make sure your using a development provisioning profile. Create a new one and try using it. If I remember correctly I've also seen this when not all Icons or Splash pages are included. >>> >>> 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 Graham Samuel via use-livecode >>> Sent: Thursday, April 16, 2020 3:05 PM >>> To: How to use LiveCode >>> Cc: Graham Samuel >>> Subject: Re: A short question about Xcode >>> >>> Sadly, my test targets are just simulators. No real device is mentioned. >>> >>> However, following Ralph?s advice (thanks), i reconnected with my phone unlocked. Things looked promising, but then a message came up saying that maybe this version of Xcode (10.1) was not compatible with the iOS 13 on my iPhone XS, which is my main test device (it?s OK in the simulator). It then tried to do the loading of the app into the phone and eventually said >>> >>>> The entitlements specified in your application?s Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile. (0xE8008016). >>> >>> I suppose that may be the end of that. I need a new iMac - the one I?ve got won?t run a later version of Xcode. Sadly they are rather expensive. I can?t visit anyone else?s, even if I could find one, since i?m in lockdown. >>> >>> Nothing, but nothing, is simple when trying to deploy to iOS. >>> >>> [Sound of grinding teethe] >>> >>> Graham >>> >>>> On 16 Apr 2020, at 20:22, scott--- via use-livecode wrote: >>>> >>>> I can?t recall whether this is specific to a particular LC license but when physically attaching a device to the computer, on my setup that mobile device appears under the menu Development ?> Test Target (along with simulator options) and can simply be selected as the test device? which saves the added step of dragging into Xcode. >>>> >>>> -- >>>> Scott Morrow >>>> >>>> Elementary Software >>>> (Now with 20% less chalk dust!) >>>> web https://elementarysoftware.com/ >>>> email scott at elementarysoftware.com >>>> booth 1-800-615-0867 >>>> ------------------------------------------------------ >>>>> On Apr 16, 2020, at 10:11 AM, Graham Samuel via use-livecode wrote: >>>>> >>>>> I?m following the LC lesson 'How do I build an iOS application??. I think I?ve done everything they mention, and I have my Apple developer credentials and three iOS devices registered. I have saved my iOS app as a standalone. But when I get to this instruction about getting my app on a real device: >>>>> >>>>>> 1) Open Xcode >>>>>> >>>>>> 2) In the 'Window' menu select "Devices" >>>>>> >>>>>> 4) Select your connected iOS device >>>>>> >>>>>> 5) Drag standalone app to "Installed Apps" section of device window >>>>>> >>>>>> Your app should now be on your device >>>>> >>>>> >>>>> There is nothing in the Devices section for me to select (plenty of stuff in the Simulators, but so what?). Do I have to fiddle with keychain or particular folders or what? I have no idea what to do next (not for the first time!). >>>>> >>>>> Graham >> > > _______________________________________________ > 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 ludovic.thebault at laposte.net Fri Apr 17 11:41:46 2020 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Fri, 17 Apr 2020 17:41:46 +0200 Subject: Error in evaluatejavascript with widget browser only on iOS and Livecode > 9.06 In-Reply-To: References: <474a69d8-360c-4c7a-abfb-3987b7d1ef31@Spark> Message-ID: <41B602EA-2D73-4929-89B1-51B3DDE71A52@laposte.net> > Le 17 avr. 2020 ? 16:55, panagiotis merakos via use-livecode a ?crit : > > Hello Ludovic, > > Could you please file a bug report and include a (ideally simple) sample > stack, so as we investigate asap? > > Kind regards, > Panos Ok. So, I wanted to remove all scripts and cards unrelated to the problem to provide you with a test stack and... after checking no more errors! So I'll try to delete little by little to determine the culprit. I will post the bug report and the sample stack at that time. From dsc at swcp.com Fri Apr 17 12:08:48 2020 From: dsc at swcp.com (dsc at swcp.com) Date: Fri, 17 Apr 2020 10:08:48 -0600 Subject: Apps to fight COVID-19 In-Reply-To: <6289998D-0520-41E2-8534-B70E47B3A07C@swcp.com> References: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> <34F40D42-DF52-44BD-BC11-631C3131432A@gmail.com> <2923CE7F-C8C5-4147-A8CC-5D994F855F0B@swcp.com> <2D02D7AC-8169-4CDE-BD7A-3FD447CF4DF1@swcp.com> <2B6E3718-9346-4BF3-85E1-8992AFA17220@swcp.com> <19D64863-74B0-4DF4-AAA5-FC64EEA43D59@swcp.com> <6289998D-0520-41E2-8534-B70E47B3A07C@swcp.com> Message-ID: Here is a cool app from Kreativzirkel Design Studio. It is a contact diary as mentioned here. https://www.coronika.app/en I say "cool", but I haven't tried it. it looks good. Should it be done better? > On Apr 15, 2020, at 4:57 PM, dsc--- via use-livecode wrote: > > Meanwhile at Covid Watch there is talk of moving the provider-facing at to a web app of some sort. > >> On Apr 14, 2020, at 1:37 PM, dsc--- via use-livecode wrote: >> >> Jonathan Rothberg is looking for brilliant people who can code whatever your domain. >> >> >>> On Apr 13, 2020, at 6:52 PM, Dar Scott Consulting via use-livecode wrote: >>> >>> Thanks! >>> >>> >>>> On Apr 13, 2020, at 11:42 AM, Mark Wieder via use-livecode wrote: >>>> >>>> On 4/13/20 10:14 AM, dsc--- via use-livecode wrote: >>>>> 1. Covid Watch needs expertise in making HIPAA compliant apps. (We have changed COVID Watch to Covid Watch.) >>>> >>>> This any help? >>>> >>>> https://www.healthcareblocks.com/hipaa/developer_guidelines >>>> >>>> -- >>>> 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 >> >> >> _______________________________________________ >> 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 Fri Apr 17 12:20:20 2020 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 17 Apr 2020 19:20:20 +0300 Subject: Dark Mode Detection Message-ID: <83549bc0-1ed1-f8a7-21e4-43097d5dcf17@gmail.com> Well, as per the Read Me for LC 9.6.0 DP-4 . . . Running on MacOS 10.15.5 beta 1 in dark mode: LiveCode is as white as a white thing. Um? From tore.nilsen at me.com Fri Apr 17 12:26:43 2020 From: tore.nilsen at me.com (Tore Nilsen) Date: Fri, 17 Apr 2020 18:26:43 +0200 Subject: Dark Mode Detection In-Reply-To: <83549bc0-1ed1-f8a7-21e4-43097d5dcf17@gmail.com> References: <83549bc0-1ed1-f8a7-21e4-43097d5dcf17@gmail.com> Message-ID: <570FC091-7097-45CF-AA9A-E43212355C56@me.com> I guess it means that you can make an application that detects whether or not the user system is running in dark mode and write your own code to set the properties of your application accordingly. It means that you can write applications that are aware of the mode on the user system. Best regards Tore Nilsen > 17. apr. 2020 kl. 18:20 skrev Richmond via use-livecode : > > Well, as per the Read Me for LC 9.6.0 DP-4 . . . > > Running on MacOS 10.15.5 beta 1 in dark mode: LiveCode is as white as a white thing. > > Um? > > _______________________________________________ > 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 klaus at major-k.de Fri Apr 17 12:33:02 2020 From: klaus at major-k.de (Klaus major-k) Date: Fri, 17 Apr 2020 18:33:02 +0200 Subject: Dark Mode Detection In-Reply-To: <83549bc0-1ed1-f8a7-21e4-43097d5dcf17@gmail.com> References: <83549bc0-1ed1-f8a7-21e4-43097d5dcf17@gmail.com> Message-ID: Hi Richmond, > Am 17.04.2020 um 18:20 schrieb Richmond via use-livecode : > > Well, as per the Read Me for LC 9.6.0 DP-4 . . . > Running on MacOS 10.15.5 beta 1 in dark mode: LiveCode is as white as a white thing. > Um? get used to also read the fineprint! :-D Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From ludovic.thebault at laposte.net Fri Apr 17 12:36:40 2020 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Fri, 17 Apr 2020 18:36:40 +0200 Subject: Error in evaluatejavascript with widget browser only on iOS and Livecode > 9.06 In-Reply-To: <41B602EA-2D73-4929-89B1-51B3DDE71A52@laposte.net> References: <474a69d8-360c-4c7a-abfb-3987b7d1ef31@Spark> <41B602EA-2D73-4929-89B1-51B3DDE71A52@laposte.net> Message-ID: <83F978A2-6699-424F-9B27-D9165F7C1582@laposte.net> > Le 17 avr. 2020 ? 17:41, Ludovic THEBAULT via use-livecode a ?crit : > > > >> Le 17 avr. 2020 ? 16:55, panagiotis merakos via use-livecode a ?crit : >> >> Hello Ludovic, >> >> Could you please file a bug report and include a (ideally simple) sample >> stack, so as we investigate asap? >> >> Kind regards, >> Panos > > Ok. > > So, I wanted to remove all scripts and cards unrelated to the problem to provide you with a test stack and... after checking no more errors! > > So I'll try to delete little by little to determine the culprit. I will post the bug report and the sample stack at that time. > Here the bug report. I didn't have any error with my test stack because I didn't add the code to display the errors ?. and the error had disappeared on my app when I had deleted this code ! Bug?22689 I?ve retested on my iPhone, the sample stack compiled with Livecode 9.04 don?t show any error. Thanks. From alex at tweedly.net Fri Apr 17 13:14:29 2020 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 17 Apr 2020 18:14:29 +0100 Subject: Even Distribution In-Reply-To: <027CB3FC-E4E7-4C24-BCDF-5683F6343053@jhjensen.com> References: <027CB3FC-E4E7-4C24-BCDF-5683F6343053@jhjensen.com> Message-ID: Or to do the full distribution ... put Njobs div Ndrivers into tMin put NJobs mod Ndrivers into tExtras repeat with i = 1 to NDrivers ?? if i <= tExtras then ????? allocate tMin+1 ? else ???? allocate tMin ? end if end repeat However, say your drivers are sorted alphabetically, then before long Andy will realise that he is being allocated more jobs that Zebedee. You could (sometimes) reverse the order of drivers - but then Mary loses out on jobs compared to both Andy and Zebedee. Or you could randomize the order of the drivers - but maybe they're also pre-sorted by location. Instead, you want to even out the spread of extras across the drivers - so you need something like repeat with i = 1 to Ndrivers ?? if tExtras > (Ndrivers-i)/2 then ????? allocate tMin+1 ????? subtract 1 from tExtras ? else ???? allocate tMin ? end if end repeat (which still has a slight bias towards giving jobs to Zebedee - but it's so slight it will take probably take him years to notice :-) Alex. On 17/04/2020 05:28, Jerry Jensen via use-livecode wrote: > Hi Skip, > Forgive me if this is not the answer you seek, or an oversimplification, but there is an easy way to find if the jobs can be exactly evenly distributed, with nothing left over: > if (tjobs mod tdrivers) = 0 then // it is evenly distrutable. > .Jerry > >> On Apr 16, 2020, at 7:41 PM, Skip Kimpel via use-livecode wrote: >> >> I have working on creating a loop that would divide the number of jobs by >> the number of users and then checking to see to see if it is evenly >> divisible but that is kind of where I am stuck. Everything I have tried >> thus far has proven to be unsuccessful. > > _______________________________________________ > 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 Fri Apr 17 13:26:46 2020 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 17 Apr 2020 20:26:46 +0300 Subject: Dark Mode Detection In-Reply-To: References: <83549bc0-1ed1-f8a7-21e4-43097d5dcf17@gmail.com> Message-ID: <79c6a873-93db-6a93-1ce8-13164d17ff3e@gmail.com> "Dark mode detection A new systemAppearance property has been added which returns dark if the application is running in dark mode and light otherwise. A new systemAppearanceChanged message is now sent to the current card of the defaultStack when the system appearance changes." And where would the 'fine print' be? On 17.04.20 19:33, Klaus major-k via use-livecode wrote: > Hi Richmond, > >> Am 17.04.2020 um 18:20 schrieb Richmond via use-livecode : >> >> Well, as per the Read Me for LC 9.6.0 DP-4 . . . >> Running on MacOS 10.15.5 beta 1 in dark mode: LiveCode is as white as a white thing. >> Um? > get used to also read the fineprint! :-D > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > 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 klaus at major-k.de Fri Apr 17 13:37:17 2020 From: klaus at major-k.de (Klaus major-k) Date: Fri, 17 Apr 2020 19:37:17 +0200 Subject: Dark Mode Detection In-Reply-To: <79c6a873-93db-6a93-1ce8-13164d17ff3e@gmail.com> References: <83549bc0-1ed1-f8a7-21e4-43097d5dcf17@gmail.com> <79c6a873-93db-6a93-1ce8-13164d17ff3e@gmail.com> Message-ID: Hi Richmond, > Am 17.04.2020 um 19:26 schrieb Richmond via use-livecode : > > "Dark mode detection > A new systemAppearance property has been added which returns > dark if the application is running in dark mode and light otherwise. > > A new systemAppearanceChanged message is now sent to the current card of the defaultStack > when the system appearance changes." > > And where would the 'fine print' be? the "fine print" is to not think that LC suddenly has an actual DARK MODE that we can switch on and off as we like! That is not the case! 8-) > On 17.04.20 19:33, Klaus major-k via use-livecode wrote: >> Hi Richmond, >> >>> Am 17.04.2020 um 18:20 schrieb Richmond via use-livecode : >>> >>> Well, as per the Read Me for LC 9.6.0 DP-4 . . . >>> Running on MacOS 10.15.5 beta 1 in dark mode: LiveCode is as white as a white thing. >>> Um? >> get used to also read the fineprint! :-D Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From richmondmathewson at gmail.com Fri Apr 17 13:43:31 2020 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 17 Apr 2020 20:43:31 +0300 Subject: Dark Mode Detection In-Reply-To: References: <83549bc0-1ed1-f8a7-21e4-43097d5dcf17@gmail.com> <79c6a873-93db-6a93-1ce8-13164d17ff3e@gmail.com> Message-ID: <0ec7ab36-7899-6a68-9ae8-ff6b715787c9@gmail.com> Well: you and I both are at fault: Myself for expecting LiveCode to adopt dark mode, and you for describing something as "fine print" which is nothing of the sort. Love, love bites, bites and so on. Richmond. On 17.04.20 20:37, Klaus major-k via use-livecode wrote: > Hi Richmond, > >> Am 17.04.2020 um 19:26 schrieb Richmond via use-livecode : >> >> "Dark mode detection >> A new systemAppearance property has been added which returns >> dark if the application is running in dark mode and light otherwise. >> >> A new systemAppearanceChanged message is now sent to the current card of the defaultStack >> when the system appearance changes." >> >> And where would the 'fine print' be? > the "fine print" is to not think that LC suddenly has an actual DARK MODE > that we can switch on and off as we like! That is not the case! 8-) > >> On 17.04.20 19:33, Klaus major-k via use-livecode wrote: >>> Hi Richmond, >>> >>>> Am 17.04.2020 um 18:20 schrieb Richmond via use-livecode : >>>> >>>> Well, as per the Read Me for LC 9.6.0 DP-4 . . . >>>> Running on MacOS 10.15.5 beta 1 in dark mode: LiveCode is as white as a white thing. >>>> Um? >>> get used to also read the fineprint! :-D > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > 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 klaus at major-k.de Fri Apr 17 13:48:35 2020 From: klaus at major-k.de (Klaus major-k) Date: Fri, 17 Apr 2020 19:48:35 +0200 Subject: Dark Mode Detection In-Reply-To: <0ec7ab36-7899-6a68-9ae8-ff6b715787c9@gmail.com> References: <83549bc0-1ed1-f8a7-21e4-43097d5dcf17@gmail.com> <79c6a873-93db-6a93-1ce8-13164d17ff3e@gmail.com> <0ec7ab36-7899-6a68-9ae8-ff6b715787c9@gmail.com> Message-ID: <479245D5-F6C2-47E9-88FC-4139F709827D@major-k.de> Hi Richmond, > Am 17.04.2020 um 19:43 schrieb Richmond via use-livecode : > > Well: you and I both are at fault: > Myself for expecting LiveCode to adopt dark mode, > and you for describing something as "fine print" which is nothing of the sort. 8-) > Love, love bites, bites and so on. > > Richmond. Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From brahma at hindu.org Fri Apr 17 13:53:04 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 17 Apr 2020 17:53:04 +0000 Subject: Android Release Requires 21 but 911 Devices Get Dropped? Message-ID: <903BCE4F-C6DB-47AB-A69A-3FFEC348F4F6@hindu.org> I wonder if I did something wrong. Just releasing a new version of SivaSiva to the stores... Using 9.6.0 dp 4 ? -- which contained an important bug fix for the javascript handlers in the browser widget. I want prompted that I need to upgrade for SDK18 to SDK21. With no apparent option to do otherwise. Now at my Google Release console it is saying that 911 devices will be unsupported "Doesn't support framework version 21 and onwards" It includes a fairly high percentage of devices: 9.5% of phones and 13.9% of tablets Perhaps that just what it takes to keep going forward. But maybe I did something wrong? Brahmanathaswami From skiplondon at gmail.com Fri Apr 17 14:54:18 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Fri, 17 Apr 2020 14:54:18 -0400 Subject: Even Distribution In-Reply-To: References: <027CB3FC-E4E7-4C24-BCDF-5683F6343053@jhjensen.com> Message-ID: Awesome..... thank you! On Fri, Apr 17, 2020 at 1:15 PM Alex Tweedly via use-livecode < use-livecode at lists.runrev.com> wrote: > Or to do the full distribution ... > > put Njobs div Ndrivers into tMin > put NJobs mod Ndrivers into tExtras > > repeat with i = 1 to NDrivers > if i <= tExtras then > allocate tMin+1 > else > allocate tMin > end if > end repeat > > However, say your drivers are sorted alphabetically, then before long > Andy will realise that he is being allocated more jobs that Zebedee. You > could (sometimes) reverse the order of drivers - but then Mary loses out > on jobs compared to both Andy and Zebedee. Or you could randomize the > order of the drivers - but maybe they're also pre-sorted by location. > > Instead, you want to even out the spread of extras across the drivers - > so you need something like > > repeat with i = 1 to Ndrivers > if tExtras > (Ndrivers-i)/2 then > allocate tMin+1 > subtract 1 from tExtras > else > allocate tMin > end if > end repeat > > (which still has a slight bias towards giving jobs to Zebedee - but it's > so slight it will take probably take him years to notice :-) > > Alex. > > On 17/04/2020 05:28, Jerry Jensen via use-livecode wrote: > > Hi Skip, > > Forgive me if this is not the answer you seek, or an oversimplification, > but there is an easy way to find if the jobs can be exactly evenly > distributed, with nothing left over: > > if (tjobs mod tdrivers) = 0 then // it is evenly distrutable. > > .Jerry > > > >> On Apr 16, 2020, at 7:41 PM, Skip Kimpel via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> I have working on creating a loop that would divide the number of jobs > by > >> the number of users and then checking to see to see if it is evenly > >> divisible but that is kind of where I am stuck. Everything I have tried > >> thus far has proven to be unsuccessful. > > > > _______________________________________________ > > 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 livfoss at mac.com Fri Apr 17 15:01:45 2020 From: livfoss at mac.com (Graham Samuel) Date: Fri, 17 Apr 2020 21:01:45 +0200 Subject: A short question about Xcode In-Reply-To: <621F7DC0-EC9E-4EC4-A0E2-E47DBA00AC62@gmail.com> References: <621F7DC0-EC9E-4EC4-A0E2-E47DBA00AC62@gmail.com> Message-ID: <27076DAE-F934-4676-BF26-33E1D464F0EE@mac.com> Thanks Bill - I will try very hard to take your advice. Right now I am a couple of steps back as I am getting strange results on the simulator - widgets (just mobile labels) disappearing, and the GPS activation which worked a couple of hours ago, suddenly failing? hope to get back to the real device issue soon. Graham > On 17 Apr 2020, at 17:35, William Prothero via use-livecode wrote: > > Graham: > I?ve been where you are, with the maze of requirements to get an app on iPhone. One thing I found was that the trail of mis-steps left a confusing mess of invalid entries in the keychain and Xcode app, and in the other places in my . When I got rid of every entry that I had made and started over from scratch, I had success finally. So, every time I get to that point in the project, I do a housecleaning, then religiously followed the steps some of the livecode app gurus have posted. I?m fortunate in that I only need to use my app on my own iPhone and don?t have to go thru the apple store. > > FYI? Sorry that I didn?t note the author of this snippet, but I found it very useful and stored it in my notes. It may not be the most current, as well. > Ah yes - one of the biggest GOTCHA?s there is when working on Apple certification? > > I?ve found the best approach is to keep my dev machine scrupulously clean as regards old certificates, and a session with Keychain Access pays dividends. > > The same thing goes as regards old provisioning profiles - you should find all provisioning profiles on your mac stored at '/Users/ > In general ?good hygiene? with your certificates and profiles is necessary and will prevent much head thumping, cursing, gnashing of teeth and tears at bedtime :) > > And finally, I?ve found it best to keep old copies of Xcode on my machine in their own sub-folder (individually named) in the Applications folder whilst keeping the executable named ?Xcode.app? > ?End of snippet > > Good luck, > Bill > > William A. Prothero > https://earthlearningsolutions.org > >> On Apr 16, 2020, at 2:57 PM, scott--- via use-livecode wrote: >> >> Hello Graham, >> >> When you created the development provisioning profile, I assume you added your iPhone?s UUID to the list of allowed test devices. In the Standalone Application Settings?> iOS?> Basic Settings (tab) did you select the correct profile. (Simulator doesn?t care about profiles but your real devices need to be specifically allowed.) If you just added one, be sure to restart LC so that it sill see it. >> ? >> Scott Morrow >> >>> On Apr 16, 2020, at 1:20 PM, Graham Samuel via use-livecode wrote: >>> >>> Ralph, I am using a development provisioning profile for iPhone. It was created this month and expires next year. I will try to go over the whole process again. I did as much as I could to include all the icons and splash pages needed for all the phones I was likely to encounter (that was about 5 different types). Do I have to include ones that nobody is going to use? >>> >>> Graham >>> >>>> On 16 Apr 2020, at 22:04, Ralph DiMola via use-livecode wrote: >>>> >>>> You can ignore the "this version of Xcode (10.1) was not compatible with the iOS 13 on my iPhone XS" >>>> >>>> Make sure your using a development provisioning profile. Create a new one and try using it. If I remember correctly I've also seen this when not all Icons or Splash pages are included. >>>> >>>> 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 Graham Samuel via use-livecode >>>> Sent: Thursday, April 16, 2020 3:05 PM >>>> To: How to use LiveCode >>>> Cc: Graham Samuel >>>> Subject: Re: A short question about Xcode >>>> >>>> Sadly, my test targets are just simulators. No real device is mentioned. >>>> >>>> However, following Ralph?s advice (thanks), i reconnected with my phone unlocked. Things looked promising, but then a message came up saying that maybe this version of Xcode (10.1) was not compatible with the iOS 13 on my iPhone XS, which is my main test device (it?s OK in the simulator). It then tried to do the loading of the app into the phone and eventually said >>>> >>>>> The entitlements specified in your application?s Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile. (0xE8008016). >>>> >>>> I suppose that may be the end of that. I need a new iMac - the one I?ve got won?t run a later version of Xcode. Sadly they are rather expensive. I can?t visit anyone else?s, even if I could find one, since i?m in lockdown. >>>> >>>> Nothing, but nothing, is simple when trying to deploy to iOS. >>>> >>>> [Sound of grinding teethe] >>>> >>>> Graham >>>> >>>>> On 16 Apr 2020, at 20:22, scott--- via use-livecode wrote: >>>>> >>>>> I can?t recall whether this is specific to a particular LC license but when physically attaching a device to the computer, on my setup that mobile device appears under the menu Development ?> Test Target (along with simulator options) and can simply be selected as the test device? which saves the added step of dragging into Xcode. >>>>> >>>>> -- >>>>> Scott Morrow >>>>> >>>>> Elementary Software >>>>> (Now with 20% less chalk dust!) >>>>> web https://elementarysoftware.com/ >>>>> email scott at elementarysoftware.com >>>>> booth 1-800-615-0867 >>>>> ------------------------------------------------------ >>>>>> On Apr 16, 2020, at 10:11 AM, Graham Samuel via use-livecode wrote: >>>>>> >>>>>> I?m following the LC lesson 'How do I build an iOS application??. I think I?ve done everything they mention, and I have my Apple developer credentials and three iOS devices registered. I have saved my iOS app as a standalone. But when I get to this instruction about getting my app on a real device: >>>>>> >>>>>>> 1) Open Xcode >>>>>>> >>>>>>> 2) In the 'Window' menu select "Devices" >>>>>>> >>>>>>> 4) Select your connected iOS device >>>>>>> >>>>>>> 5) Drag standalone app to "Installed Apps" section of device window >>>>>>> >>>>>>> Your app should now be on your device >>>>>> >>>>>> >>>>>> There is nothing in the Devices section for me to select (plenty of stuff in the Simulators, but so what?). Do I have to fiddle with keychain or particular folders or what? I have no idea what to do next (not for the first time!). >>>>>> >>>>>> Graham >>> >> >> _______________________________________________ >> 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 dochawk at gmail.com Fri Apr 17 15:53:25 2020 From: dochawk at gmail.com (doc hawk) Date: Fri, 17 Apr 2020 12:53:25 -0700 Subject: Even Distribution In-Reply-To: <90EB3A37-4A70-4F13-8736-8BDFDEB98C8E@iotecdigital.com> References: <90EB3A37-4A70-4F13-8736-8BDFDEB98C8E@iotecdigital.com> Message-ID: <9D66823F-0AA6-48B2-9573-F02E0B02AA5C@gmail.com> Bob belabored, > BAs I said, all else being equal, roughly same work required, localized territory, no chance of a job being rescheduled, etc. Use a Round Robin approach. For that matter, if it is an ongoing situation, where this is simply a daily load of randomly sized tasks, round robin works in the long and even intermediate term. So would random assignment, but it would have more short term spikes. Or a modified round robin, with assignment to either the next available, or to the next driver with only one item in his queue From rdimola at evergreeninfo.net Fri Apr 17 15:58:29 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 17 Apr 2020 15:58:29 -0400 Subject: Android Release Requires 21 but 911 Devices Get Dropped? In-Reply-To: <903BCE4F-C6DB-47AB-A69A-3FFEC348F4F6@hindu.org> References: <903BCE4F-C6DB-47AB-A69A-3FFEC348F4F6@hindu.org> Message-ID: <003901d614f2$9367e8b0$ba37ba10$@net> >From the release notes: 4.x support is dropped. That represents 5% of all active installs but may be a higher percentage of devices. What architectures are you building for? Putting all 4 into one apk can exceed the size limits for some devices. 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 Sannyasin Brahmanathaswami via use-livecode Sent: Friday, April 17, 2020 1:53 PM To: How LiveCode Cc: Sannyasin Brahmanathaswami Subject: Android Release Requires 21 but 911 Devices Get Dropped? I wonder if I did something wrong. Just releasing a new version of SivaSiva to the stores... Using 9.6.0 dp 4 ? -- which contained an important bug fix for the javascript handlers in the browser widget. I want prompted that I need to upgrade for SDK18 to SDK21. With no apparent option to do otherwise. Now at my Google Release console it is saying that 911 devices will be unsupported "Doesn't support framework version 21 and onwards" It includes a fairly high percentage of devices: 9.5% of phones and 13.9% of tablets Perhaps that just what it takes to keep going forward. But maybe I did something wrong? Brahmanathaswami _______________________________________________ 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 Apr 17 19:17:44 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 Apr 2020 23:17:44 +0000 Subject: Long Standing Issue with the defaultStack Message-ID: <7346129E-54C7-4013-A20D-4FA5A6005F51@iotecdigital.com> Hi all. I think I have stumbled across what appears to be a bug. When I open a sub stack from a main stack script, the main stack remains the defaultStack. This is causing any number of issues with me. I have a closeStackRequest handler for instance that auto saves the stack. It never gets triggered because the closeStack message never gets sent to it! If I open a stack, shouldn?t THAT STACK become the default, barring modal or system stacks? MacOS Community 9.5.1 Bob S From bobsneidar at iotecdigital.com Fri Apr 17 19:49:47 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 17 Apr 2020 23:49:47 +0000 Subject: Long Standing Issue with the defaultStack In-Reply-To: <7346129E-54C7-4013-A20D-4FA5A6005F51@iotecdigital.com> References: <7346129E-54C7-4013-A20D-4FA5A6005F51@iotecdigital.com> Message-ID: Okay wrong again. The message gets sent first to the card, then the stack, then the stack behavior, then the main stack. But before any of that, I get a dialog asking if I want to save the stack! That is what I am trying to avoid! This was discussed before, and I thought closeStackRequest was the solution, but apparently not. I may need to do this in a front script. The defaultStack thing still stands though. Bob S > On Apr 17, 2020, at 4:17 PM, Bob Sneidar via use-livecode wrote: > > Hi all. > > I think I have stumbled across what appears to be a bug. When I open a sub stack from a main stack script, the main stack remains the defaultStack. This is causing any number of issues with me. I have a closeStackRequest handler for instance that auto saves the stack. It never gets triggered because the closeStack message never gets sent to it! > > If I open a stack, shouldn?t THAT STACK become the default, barring modal or system stacks? > > MacOS Community 9.5.1 > > Bob S From bobsneidar at iotecdigital.com Fri Apr 17 21:41:29 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 18 Apr 2020 01:41:29 +0000 Subject: Learned my lesson Message-ID: <24CCF1E4-40F4-4A85-B7D1-1BCF9A7FEABE@iotecdigital.com> I just spent 2 hours purging the detestable ?this stack? from my entire list of projects. If you use substacks, if you hide and show stacks, this stack simply unreliable. Instead put this at the head of every script that needs to know what the parent stack is: put getParentStack(the long id of me) into tParentStack and have this in a library or active script somewhere: function getParentCard pObjectID put offset("card id", pObjectID) into tStartChar put char tStartChar to -1 of pObjectID into tCardID return tCardID end getParentCard function getParentStack pObjectID put offset("stack ", pObjectID) into tStartChar put char tStartChar to -1 of pObjectID into tParentStack return tParentStack end getParentStack Now you will know ABSOLUTELY which stack you are in from any object on any card. And no, I?m not senile (much yet) I know I already posted this some time ago. Bob S From phil at pdslabs.net Fri Apr 17 21:53:08 2020 From: phil at pdslabs.net (Phil Davis) Date: Fri, 17 Apr 2020 18:53:08 -0700 Subject: Learned my lesson In-Reply-To: <24CCF1E4-40F4-4A85-B7D1-1BCF9A7FEABE@iotecdigital.com> References: <24CCF1E4-40F4-4A85-B7D1-1BCF9A7FEABE@iotecdigital.com> Message-ID: <0126e790-a67e-ab17-0f33-3f36812067eb@pdslabs.net> I feel your pain! I switched to using "of me" or "of the owner of me" whenever possible which works very well in many/most cases, but sometimes it just isn't enough. Phil Davis On 4/17/20 6:41 PM, Bob Sneidar via use-livecode wrote: > I just spent 2 hours purging the detestable ?this stack? from my entire list of projects. If you use substacks, if you hide and show stacks, this stack simply unreliable. Instead put this at the head of every script that needs to know what the parent stack is: > > put getParentStack(the long id of me) into tParentStack > > and have this in a library or active script somewhere: > > function getParentCard pObjectID > put offset("card id", pObjectID) into tStartChar > put char tStartChar to -1 of pObjectID into tCardID > return tCardID > end getParentCard > > function getParentStack pObjectID > put offset("stack ", pObjectID) into tStartChar > put char tStartChar to -1 of pObjectID into tParentStack > return tParentStack > end getParentStack > > Now you will know ABSOLUTELY which stack you are in from any object on any card. And no, I?m not senile (much yet) I know I already posted this some time ago. > > 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 -- Phil Davis 503-307-4363 From bobsneidar at iotecdigital.com Fri Apr 17 22:06:53 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 18 Apr 2020 02:06:53 +0000 Subject: Learned my lesson In-Reply-To: <0126e790-a67e-ab17-0f33-3f36812067eb@pdslabs.net> References: <24CCF1E4-40F4-4A85-B7D1-1BCF9A7FEABE@iotecdigital.com> <0126e790-a67e-ab17-0f33-3f36812067eb@pdslabs.net> Message-ID: <2A062A39-6230-49AC-BEA5-EBF8FD36EC82@iotecdigital.com> I?ve also discovered the childControlIDs and the childControlNames. These list the direct children of a group. The controlNames and controlIDs list EVERY object on a card whether grouped or not. The latter becomes especially handy of you preface your object names with some kind of type identifier. For example fld, btn, menu, grp, dg. Then you can for example filter the controlNames with ?fld*? and presto! a list of all the fields on your card! In my stack scripts now I always use me when referring to the stack. Bob S > On Apr 17, 2020, at 6:53 PM, Phil Davis via use-livecode wrote: > > I feel your pain! I switched to using "of me" or "of the owner of me" whenever possible which works very well in many/most cases, but sometimes it just isn't enough. > > Phil Davis From ahsoftware at sonic.net Fri Apr 17 22:38:52 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 17 Apr 2020 19:38:52 -0700 Subject: Learned my lesson In-Reply-To: <0126e790-a67e-ab17-0f33-3f36812067eb@pdslabs.net> References: <24CCF1E4-40F4-4A85-B7D1-1BCF9A7FEABE@iotecdigital.com> <0126e790-a67e-ab17-0f33-3f36812067eb@pdslabs.net> Message-ID: <9d2eaedc-b618-ffb4-3fcc-1fb9ca9483c2@sonic.net> On 4/17/20 6:53 PM, Phil Davis via use-livecode wrote: > I feel your pain! I switched to using "of me" or "of the owner of me" > whenever possible which works very well in many/most cases, but > sometimes it just isn't enough. "the mainstack of this stack" always work as well. Almost always. Don't try it in a frontscript, though. -- Mark Wieder ahsoftware at gmail.com From brahma at hindu.org Fri Apr 17 23:03:37 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 18 Apr 2020 03:03:37 +0000 Subject: Android Release Requires 21 but 911 Devices Get Dropped? In-Reply-To: <003901d614f2$9367e8b0$ba37ba10$@net> References: <903BCE4F-C6DB-47AB-A69A-3FFEC348F4F6@hindu.org> <003901d614f2$9367e8b0$ba37ba10$@net> Message-ID: <4D83EFE7-2E4D-40CC-A564-C4744A386381@hindu.org> What is "4.x" ? Minimum Android Version? I did as you suggested last year, two builds e.g version 22 for arm v7 and arm64 version 23 for x86 and x86_64 both came in (using SDK 21) about 95MB the last versions, (20,21) done with SDK 18 were about 70MB the analysis did not complain about the size of the download, only that "Doesn't support framework version 21 and onwards" BR ?On 4/17/20, 9:55 AM, "use-livecode on behalf of Ralph DiMola via use-livecode" wrote: From the release notes: 4.x support is dropped. That represents 5% of all active installs but may be a higher percentage of devices. What architectures are you building for? Putting all 4 into one apk can exceed the size limits for some devices. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From neville.smythe at optusnet.com.au Sat Apr 18 04:50:45 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sat, 18 Apr 2020 18:50:45 +1000 Subject: DataGrid table DeleteIndex Message-ID: <5C00E4E3-DFE1-49E4-BD54-57D0E825EDCA@optusnet.com.au> Am I doing something wrong? I put a comma delimited list into tIndexes, then dispatch DeleteIndex to my DataGrid with tIndexes. Only the first index in my list is actually deleted. LC 9.5.1, Mac Catalina. [Also, If I perform another action in the same handler as the call to delete indexes (indices please) which modifies the content of the datagrid, it leaves the datagrid in a very strange state, which can only be recovered by hitting the Refresh DataGrid in its Property Inspector. Something to do with the timing of the row deletion not having completed I suspect, but that is another matter and may be my code. Hmm, does DataGrid use threads??] Neville From bobsneidar at iotecdigital.com Sat Apr 18 09:04:41 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 18 Apr 2020 13:04:41 +0000 Subject: DataGrid table DeleteIndex In-Reply-To: <5C00E4E3-DFE1-49E4-BD54-57D0E825EDCA@optusnet.com.au> References: <5C00E4E3-DFE1-49E4-BD54-57D0E825EDCA@optusnet.com.au> Message-ID: <76301B1E-97DB-45A0-B1B4-FBED0A361D86@iotecdigital.com> The data grid does not use threads. Nothing in LC does. Did you try the plural form of deleteIndex(es)? Bob S > On Apr 18, 2020, at 1:50 AM, Neville Smythe via use-livecode wrote: > > Am I doing something wrong? > > I put a comma delimited list into tIndexes, then dispatch DeleteIndex to my DataGrid with tIndexes. Only the first index in my list is actually deleted. LC 9.5.1, Mac Catalina. > > [Also, If I perform another action in the same handler as the call to delete indexes (indices please) which modifies the content of the datagrid, it leaves the datagrid in a very strange state, which can only be recovered by hitting the Refresh DataGrid in its Property Inspector. Something to do with the timing of the row deletion not having completed I suspect, but that is another matter and may be my code. Hmm, does DataGrid use threads??] > > Neville From bobsneidar at iotecdigital.com Sat Apr 18 09:06:02 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 18 Apr 2020 13:06:02 +0000 Subject: DataGrid table DeleteIndex In-Reply-To: <76301B1E-97DB-45A0-B1B4-FBED0A361D86@iotecdigital.com> References: <5C00E4E3-DFE1-49E4-BD54-57D0E825EDCA@optusnet.com.au> <76301B1E-97DB-45A0-B1B4-FBED0A361D86@iotecdigital.com> Message-ID: <108EF860-18DA-4F23-A2C0-A83DCB5EE946@iotecdigital.com> Also, tIndexes is a CR delimited list, not a COMMA delimited one. http://lessons.livecode.com/m/datagrid/l/7344-data-grid-api Bob S > On Apr 18, 2020, at 6:04 AM, Bob Sneidar wrote: > > The data grid does not use threads. Nothing in LC does. Did you try the plural form of deleteIndex(es)? > > Bob S > > >> On Apr 18, 2020, at 1:50 AM, Neville Smythe via use-livecode wrote: >> >> Am I doing something wrong? >> >> I put a comma delimited list into tIndexes, then dispatch DeleteIndex to my DataGrid with tIndexes. Only the first index in my list is actually deleted. LC 9.5.1, Mac Catalina. >> >> [Also, If I perform another action in the same handler as the call to delete indexes (indices please) which modifies the content of the datagrid, it leaves the datagrid in a very strange state, which can only be recovered by hitting the Refresh DataGrid in its Property Inspector. Something to do with the timing of the row deletion not having completed I suspect, but that is another matter and may be my code. Hmm, does DataGrid use threads??] >> >> Neville > From bobsneidar at iotecdigital.com Sat Apr 18 09:08:36 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 18 Apr 2020 13:08:36 +0000 Subject: DataGrid table DeleteIndex In-Reply-To: <108EF860-18DA-4F23-A2C0-A83DCB5EE946@iotecdigital.com> References: <5C00E4E3-DFE1-49E4-BD54-57D0E825EDCA@optusnet.com.au> <76301B1E-97DB-45A0-B1B4-FBED0A361D86@iotecdigital.com> <108EF860-18DA-4F23-A2C0-A83DCB5EE946@iotecdigital.com> Message-ID: Belay that it?s early morning and my eyes aren?t focusing well. DeleteIndexes ? DeleteIndexes pIndexes ? Deletes the specified indexes from the data grid. pIndexes is a comma delimited list of integers. Bob S > On Apr 18, 2020, at 6:06 AM, Bob Sneidar via use-livecode wrote: > > Also, tIndexes is a CR delimited list, not a COMMA delimited one. http://lessons.livecode.com/m/datagrid/l/7344-data-grid-api > > Bob S > > From rdimola at evergreeninfo.net Sat Apr 18 09:34:19 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 18 Apr 2020 09:34:19 -0400 Subject: Android Release Requires 21 but 911 Devices Get Dropped? In-Reply-To: <4D83EFE7-2E4D-40CC-A564-C4744A386381@hindu.org> References: <903BCE4F-C6DB-47AB-A69A-3FFEC348F4F6@hindu.org> <003901d614f2$9367e8b0$ba37ba10$@net> <4D83EFE7-2E4D-40CC-A564-C4744A386381@hindu.org> Message-ID: <000f01d61586$1324fb40$396ef1c0$@net> BR, If I read the release notes correctly Android versions 4.4 (KitKat) 4.1-4.3 (Jelly Bean) 4.0 (Ice Cream Sandwich) Are no longer supported. Supported Android minimum version is now 5.0-5.1 (Lollipop) 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 Sannyasin Brahmanathaswami via use-livecode Sent: Friday, April 17, 2020 11:04 PM To: How to use LiveCode Cc: Sannyasin Brahmanathaswami Subject: Re: Android Release Requires 21 but 911 Devices Get Dropped? What is "4.x" ? Minimum Android Version? I did as you suggested last year, two builds e.g version 22 for arm v7 and arm64 version 23 for x86 and x86_64 both came in (using SDK 21) about 95MB the last versions, (20,21) done with SDK 18 were about 70MB the analysis did not complain about the size of the download, only that "Doesn't support framework version 21 and onwards" BR ?On 4/17/20, 9:55 AM, "use-livecode on behalf of Ralph DiMola via use-livecode" wrote: From the release notes: 4.x support is dropped. That represents 5% of all active installs but may be a higher percentage of devices. What architectures are you building for? Putting all 4 into one apk can exceed the size limits for some devices. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net _______________________________________________ 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 david.bovill at gmail.com Sat Apr 18 09:32:26 2020 From: david.bovill at gmail.com (David Bovill) Date: Sat, 18 Apr 2020 14:32:26 +0100 Subject: Simple 3D animation question In-Reply-To: <9D66823F-0AA6-48B2-9573-F02E0B02AA5C@gmail.com> References: <90EB3A37-4A70-4F13-8736-8BDFDEB98C8E@iotecdigital.com> <9D66823F-0AA6-48B2-9573-F02E0B02AA5C@gmail.com> Message-ID: For Earth Day this Wendesday a few of us are working on an art piece that I want to use Livecode for. As part of this event I need to create an interactive presentation and wish to create an icosahedrons - so a 3 dimensional hexagon - that I need to rotate in different dimensions. I have seen and experimented with a few examples in the past in Livecode. It only needs to be a wireframe animation using the built in graphics object fir now. ?Doors anyone have any tips / suggestions? From david.bovill at gmail.com Sat Apr 18 09:45:07 2020 From: david.bovill at gmail.com (David Bovill) Date: Sat, 18 Apr 2020 14:45:07 +0100 Subject: Apps to fight COVID-19 In-Reply-To: References: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> <34F40D42-DF52-44BD-BC11-631C3131432A@gmail.com> <2923CE7F-C8C5-4147-A8CC-5D994F855F0B@swcp.com> <2D02D7AC-8169-4CDE-BD7A-3FD447CF4DF1@swcp.com> <2B6E3718-9346-4BF3-85E1-8992AFA17220@swcp.com> <19D64863-74B0-4DF4-AAA5-FC64EEA43D59@swcp.com> <6289998D-0520-41E2-8534-B70E47B3A07C@swcp.com> Message-ID: <907c3050-5955-4224-971a-93538dd58bd6@Spark> The app looks a good start, but basic. I took a closer look at the cartoon images, they are quite specific, but a good base for a discussion about privacy issues. Not so good for an app. My suggestion regarding taking this forwards is that we have a creative workshop on Earth Day this coming Weds, as part of an in-line in conference that we are organising with a few folk. There will be plenty of other thing to drop into.?I?ll send some info to this list on Sunday. It?s pretty informal, so we can organise our own breakout open space meeting when we like - so it should be no issue organising a Livecode workshop on making a CORVID-19 app. My focus is on doing an interactive sound piece and helping convene some if the breakout discussions, but doing a workshop on Livecode would be a fun part of that. I could do with some help though :) On 17 Apr 2020, 17:09 +0100, dsc--- via use-livecode , wrote: > Here is a cool app from Kreativzirkel Design Studio. It is a contact diary as mentioned here. > > https://www.coronika.app/en > > I say "cool", but I haven't tried it. it looks good. Should it be done better? > > > > > > On Apr 15, 2020, at 4:57 PM, dsc--- via use-livecode wrote: > > > > Meanwhile at Covid Watch there is talk of moving the provider-facing at to a web app of some sort. > > > > > On Apr 14, 2020, at 1:37 PM, dsc--- via use-livecode wrote: > > > > > > Jonathan Rothberg is looking for brilliant people who can code whatever your domain. > > > > > > > > > > On Apr 13, 2020, at 6:52 PM, Dar Scott Consulting via use-livecode wrote: > > > > > > > > Thanks! > > > > > > > > > > > > > On Apr 13, 2020, at 11:42 AM, Mark Wieder via use-livecode wrote: > > > > > > > > > > On 4/13/20 10:14 AM, dsc--- via use-livecode wrote: > > > > > > 1. Covid Watch needs expertise in making HIPAA compliant apps. (We have changed COVID Watch to Covid Watch.) > > > > > > > > > > This any help? > > > > > > > > > > https://www.healthcareblocks.com/hipaa/developer_guidelines > > > > > > > > > > -- > > > > > 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 > > > > > > > > > _______________________________________________ > > > 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 harrison at all-auctions.com Sat Apr 18 10:07:17 2020 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 18 Apr 2020 10:07:17 -0400 Subject: Simple 3D animation question In-Reply-To: References: <90EB3A37-4A70-4F13-8736-8BDFDEB98C8E@iotecdigital.com> <9D66823F-0AA6-48B2-9573-F02E0B02AA5C@gmail.com> Message-ID: <841F2B49-8C9B-4F8C-8059-057ED4A65CB3@all-auctions.com> Hi David, How many wires in your wire animation? How fast and smooth does your rotation need to be? Is there going to be an image or writing on the side that shows up? Hmm, an icosahedron has 20 sides, so it?s like 20 sided dice! I just saw a web version that didn?t bother to rotate the image since only one side is up. The guy did a fade to white to simulate the roll and then just showed a new number on facing side. It?s a lot simpler! It would save you a lot of coding time. Especially since you clearly have a looming deadline. Anytime I have tried to do an animation with LiveCode I have found it to be too slow and jerky. Your mileage may vary. Good luck! Rick > On Apr 18, 2020, at 9:32 AM, David Bovill via use-livecode wrote: > > For Earth Day this Wendesday a few of us are working on an art piece that I want to use Livecode for. > > As part of this event I need to create an interactive presentation and wish to create an icosahedrons - so a 3 dimensional hexagon - that I need to rotate in different dimensions. > > I have seen and experimented with a few examples in the past in Livecode. It only needs to be a wireframe animation using the built in graphics object fir now. > > Doors anyone have any tips / suggestions? > _______________________________________________ > 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 david.bovill at gmail.com Sat Apr 18 10:26:22 2020 From: david.bovill at gmail.com (David Bovill) Date: Sat, 18 Apr 2020 15:26:22 +0100 Subject: Simple 3D animation question In-Reply-To: <841F2B49-8C9B-4F8C-8059-057ED4A65CB3@all-auctions.com> References: <90EB3A37-4A70-4F13-8736-8BDFDEB98C8E@iotecdigital.com> <9D66823F-0AA6-48B2-9573-F02E0B02AA5C@gmail.com> <841F2B49-8C9B-4F8C-8059-057ED4A65CB3@all-auctions.com> Message-ID: <6f4105c1-4e28-4f55-8b6e-2f06e3683220@Spark> Thanks Rick - yes an icosahedrons wireframe is quite minimal. No opacity or shading needed at this stage. Livecode animation of the graphic object is certainly fast enough. It?s acceptable smooth enough - though not ideal due to lack of antialiasing (I think). I could look around for some existing Javascriot based examples and look to control them through do as Javascriot calls to the browser widget - but I?d prefer more control over layering and blend modes. Animation engine had some simple examples. I?m not sure about anything else? On 18 Apr 2020, 15:08 +0100, Rick Harrison via use-livecode , wrote: > Hi David, > > How many wires in your wire animation? > > How fast and smooth does your rotation > need to be? > > Is there going to be an image or writing > on the side that shows up? > > Hmm, an icosahedron has 20 sides, so > it?s like 20 sided dice! > > I just saw a web version that didn?t bother > to rotate the image since only one side > is up. The guy did a fade to white to > simulate the roll and then just showed > a new number on facing side. > > It?s a lot simpler! It would save you a > lot of coding time. Especially since you > clearly have a looming deadline. > > Anytime I have tried to do an animation > with LiveCode I have found it to be too > slow and jerky. Your mileage may vary. > > Good luck! > > Rick > > > > > On Apr 18, 2020, at 9:32 AM, David Bovill via use-livecode wrote: > > > > For Earth Day this Wendesday a few of us are working on an art piece that I want to use Livecode for. > > > > As part of this event I need to create an interactive presentation and wish to create an icosahedrons - so a 3 dimensional hexagon - that I need to rotate in different dimensions. > > > > I have seen and experimented with a few examples in the past in Livecode. It only needs to be a wireframe animation using the built in graphics object fir now. > > > > Doors anyone have any tips / suggestions? > > _______________________________________________ > > 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 chipsm at themartinz.com Sat Apr 18 10:35:54 2020 From: chipsm at themartinz.com (chipsm at themartinz.com) Date: Sat, 18 Apr 2020 07:35:54 -0700 Subject: Simple 3D animation question In-Reply-To: <841F2B49-8C9B-4F8C-8059-057ED4A65CB3@all-auctions.com> References: <90EB3A37-4A70-4F13-8736-8BDFDEB98C8E@iotecdigital.com> <9D66823F-0AA6-48B2-9573-F02E0B02AA5C@gmail.com> <841F2B49-8C9B-4F8C-8059-057ED4A65CB3@all-auctions.com> Message-ID: <056b01d6158e$aac38d10$004aa730$@themartinz.com> Check out an animation that Jim Lambert does with a scrolling group with images. It is really slick. He may have a posting on the LiveCode forum. In the mean time I will try to find a copy for you. I also believe that he showed it at the LiveCode Conference last year. -----Original Message----- From: use-livecode On Behalf Of Rick Harrison via use-livecode Sent: Saturday, April 18, 2020 7:07 AM To: How to use LiveCode Cc: Rick Harrison Subject: Re: Simple 3D animation question Hi David, How many wires in your wire animation? How fast and smooth does your rotation need to be? Is there going to be an image or writing on the side that shows up? Hmm, an icosahedron has 20 sides, so it?s like 20 sided dice! I just saw a web version that didn?t bother to rotate the image since only one side is up. The guy did a fade to white to simulate the roll and then just showed a new number on facing side. It?s a lot simpler! It would save you a lot of coding time. Especially since you clearly have a looming deadline. Anytime I have tried to do an animation with LiveCode I have found it to be too slow and jerky. Your mileage may vary. Good luck! Rick > On Apr 18, 2020, at 9:32 AM, David Bovill via use-livecode wrote: > > For Earth Day this Wendesday a few of us are working on an art piece that I want to use Livecode for. > > As part of this event I need to create an interactive presentation and wish to create an icosahedrons - so a 3 dimensional hexagon - that I need to rotate in different dimensions. > > I have seen and experimented with a few examples in the past in Livecode. It only needs to be a wireframe animation using the built in graphics object fir now. > > Doors anyone have any tips / suggestions? > _______________________________________________ > 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 chipsm at themartinz.com Sat Apr 18 12:44:26 2020 From: chipsm at themartinz.com (chipsm at themartinz.com) Date: Sat, 18 Apr 2020 09:44:26 -0700 Subject: Simple 3D animation question In-Reply-To: <6f4105c1-4e28-4f55-8b6e-2f06e3683220@Spark> References: <90EB3A37-4A70-4F13-8736-8BDFDEB98C8E@iotecdigital.com> <9D66823F-0AA6-48B2-9573-F02E0B02AA5C@gmail.com> <841F2B49-8C9B-4F8C-8059-057ED4A65CB3@all-auctions.com> <6f4105c1-4e28-4f55-8b6e-2f06e3683220@Spark> Message-ID: <059801d615a0$9fb66610$df233230$@themartinz.com> Cell animation by Jim Lambeert http://livecodeshare.runrev.com/stack/857/Cel-Animation -----Original Message----- From: use-livecode On Behalf Of David Bovill via use-livecode Sent: Saturday, April 18, 2020 7:26 AM To: How to use LiveCode Cc: David Bovill Subject: Re: Simple 3D animation question Thanks Rick - yes an icosahedrons wireframe is quite minimal. No opacity or shading needed at this stage. Livecode animation of the graphic object is certainly fast enough. It?s acceptable smooth enough - though not ideal due to lack of antialiasing (I think). I could look around for some existing Javascriot based examples and look to control them through do as Javascriot calls to the browser widget - but I?d prefer more control over layering and blend modes. Animation engine had some simple examples. I?m not sure about anything else? On 18 Apr 2020, 15:08 +0100, Rick Harrison via use-livecode , wrote: > Hi David, > > How many wires in your wire animation? > > How fast and smooth does your rotation need to be? > > Is there going to be an image or writing on the side that shows up? > > Hmm, an icosahedron has 20 sides, so > it?s like 20 sided dice! > > I just saw a web version that didn?t bother to rotate the image since > only one side is up. The guy did a fade to white to simulate the roll > and then just showed a new number on facing side. > > It?s a lot simpler! It would save you a lot of coding time. Especially > since you clearly have a looming deadline. > > Anytime I have tried to do an animation with LiveCode I have found it > to be too slow and jerky. Your mileage may vary. > > Good luck! > > Rick > > > > > On Apr 18, 2020, at 9:32 AM, David Bovill via use-livecode wrote: > > > > For Earth Day this Wendesday a few of us are working on an art piece that I want to use Livecode for. > > > > As part of this event I need to create an interactive presentation and wish to create an icosahedrons - so a 3 dimensional hexagon - that I need to rotate in different dimensions. > > > > I have seen and experimented with a few examples in the past in Livecode. It only needs to be a wireframe animation using the built in graphics object fir now. > > > > Doors anyone have any tips / suggestions? > > _______________________________________________ > > 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 ahsoftware at sonic.net Sat Apr 18 12:46:35 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 18 Apr 2020 09:46:35 -0700 Subject: Simple 3D animation question In-Reply-To: References: <90EB3A37-4A70-4F13-8736-8BDFDEB98C8E@iotecdigital.com> <9D66823F-0AA6-48B2-9573-F02E0B02AA5C@gmail.com> Message-ID: On 4/18/20 6:32 AM, David Bovill via use-livecode wrote: > For Earth Day this Wendesday a few of us are working on an art piece that I want to use Livecode for. > > As part of this event I need to create an interactive presentation and wish to create an icosahedrons - so a 3 dimensional hexagon - that I need to rotate in different dimensions. At the risk of getting into a religious war here... I wouldn't do this in LiveCode. Have you seen threejs? https://threejs.org example: https://threejs.org/examples/#webgl_geometry_convex source: -- Mark Wieder ahsoftware at gmail.com From dunbarx at aol.com Sat Apr 18 12:53:48 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 18 Apr 2020 16:53:48 +0000 (UTC) Subject: Long Standing Issue with the defaultStack In-Reply-To: <7346129E-54C7-4013-A20D-4FA5A6005F51@iotecdigital.com> References: <7346129E-54C7-4013-A20D-4FA5A6005F51@iotecdigital.com> Message-ID: <189792369.1813518.1587228828961@mail.yahoo.com> Bob. I make a new stack "XXX", and a substack "YYY", and save the lot. To be sure, I quit LC and open "XXX" from the desktop. There is a single button on "XXX" that:on mouseUp? ?go?stack"yyy"answer?the?defaultStackend mouseUp I get "YYY" What are you seeing? Craig -----Original Message----- From: Bob Sneidar via use-livecode To: How to use LiveCode Cc: Bob Sneidar Sent: Fri, Apr 17, 2020 7:19 pm Subject: Long Standing Issue with the defaultStack Hi all. I think I have stumbled across what appears to be a bug. When I open a sub stack from a main stack script, the main stack remains the defaultStack. This is causing any number of issues with me. I have a closeStackRequest handler for instance that auto saves the stack. It never gets triggered because the closeStack message never gets sent to it! If I open a stack, shouldn?t THAT STACK become the default, barring modal or system stacks? MacOS Community 9.5.1 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 hlowe at me.com Sat Apr 18 13:52:56 2020 From: hlowe at me.com (HENRY LOWE) Date: Sat, 18 Apr 2020 10:52:56 -0700 Subject: LC 9.6.0 (dp4) - cannot set the URL of an iOS native browser if it was previously set to empty Message-ID: <9FED9CD9-CC2E-46F4-A109-D79EC41A32D2@me.com> Took me some time to track this one down, so I thought that it might be helpful to know in advance: With LC 9.6.0 (dp4) after setting the url of the iOS native browser (not the Browser Widget) to empty, one cannot set the browser?s url to another value. Example: MobileControlSet "rkWebView","URL?,empty MobileControlSet "rkWebView?,?https://www.apple.com? - page fails to load (blank display and browser url is empty) This has been confirmed as a regression: https://quality.livecode.com/show_bug.cgi?id=22688 Henry From jeejeestudio at gmail.com Sat Apr 18 13:56:20 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sat, 18 Apr 2020 19:56:20 +0200 Subject: Apps to fight COVID-19 In-Reply-To: <907c3050-5955-4224-971a-93538dd58bd6@Spark> References: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> <34F40D42-DF52-44BD-BC11-631C3131432A@gmail.com> <2923CE7F-C8C5-4147-A8CC-5D994F855F0B@swcp.com> <2D02D7AC-8169-4CDE-BD7A-3FD447CF4DF1@swcp.com> <2B6E3718-9346-4BF3-85E1-8992AFA17220@swcp.com> <19D64863-74B0-4DF4-AAA5-FC64EEA43D59@swcp.com> <6289998D-0520-41E2-8534-B70E47B3A07C@swcp.com> <907c3050-5955-4224-971a-93538dd58bd6@Spark> Message-ID: That's not made with livecode right? Op 18-4-2020 om 15:45 schreef David Bovill via use-livecode: > The app looks a good start, but basic. I took a closer look at the cartoon images, they are quite specific, but a good base for a discussion about privacy issues. Not so good for an app. > > My suggestion regarding taking this forwards is that we have a creative workshop on Earth Day this coming Weds, as part of an in-line in conference that we are organising with a few folk. There will be plenty of other thing to drop into.?I?ll send some info to this list on Sunday. > > It?s pretty informal, so we can organise our own breakout open space meeting when we like - so it should be no issue organising a Livecode workshop on making a CORVID-19 app. > > My focus is on doing an interactive sound piece and helping convene some if the breakout discussions, but doing a workshop on Livecode would be a fun part of that. > > I could do with some help though :) > On 17 Apr 2020, 17:09 +0100, dsc--- via use-livecode , wrote: >> Here is a cool app from Kreativzirkel Design Studio. It is a contact diary as mentioned here. >> >> https://www.coronika.app/en >> >> I say "cool", but I haven't tried it. it looks good. Should it be done better? >> >> >> >> >>> On Apr 15, 2020, at 4:57 PM, dsc--- via use-livecode wrote: >>> >>> Meanwhile at Covid Watch there is talk of moving the provider-facing at to a web app of some sort. >>> >>>> On Apr 14, 2020, at 1:37 PM, dsc--- via use-livecode wrote: >>>> >>>> Jonathan Rothberg is looking for brilliant people who can code whatever your domain. >>>> >>>> >>>>> On Apr 13, 2020, at 6:52 PM, Dar Scott Consulting via use-livecode wrote: >>>>> >>>>> Thanks! >>>>> >>>>> >>>>>> On Apr 13, 2020, at 11:42 AM, Mark Wieder via use-livecode wrote: >>>>>> >>>>>> On 4/13/20 10:14 AM, dsc--- via use-livecode wrote: >>>>>>> 1. Covid Watch needs expertise in making HIPAA compliant apps. (We have changed COVID Watch to Covid Watch.) >>>>>> This any help? >>>>>> >>>>>> https://www.healthcareblocks.com/hipaa/developer_guidelines >>>>>> >>>>>> -- >>>>>> 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 >>>> >>>> _______________________________________________ >>>> 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 > _______________________________________________ > 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 Sat Apr 18 14:33:56 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 18 Apr 2020 18:33:56 +0000 Subject: Long Standing Issue with the defaultStack In-Reply-To: <189792369.1813518.1587228828961@mail.yahoo.com> References: <7346129E-54C7-4013-A20D-4FA5A6005F51@iotecdigital.com> <189792369.1813518.1587228828961@mail.yahoo.com> Message-ID: Not sure at this point. When I open a sub stack called ?Devices? (or any sub stack) of my main stack ?Forms Generator? and I enter ?put the defaultStack? in the message box, I get ?Forms Generator?. If I put the command ?put the defaultStack? in the last line of the openStack handler of stack devices, I get ?Devices?. Right afterwards, if I enter ?put the defaultStack? in the message box, I get ?Forms Generator? again! Not entirely sure what is doing it. Had the same issue with another much simpler stack. If I went invisible to a database setup stack, then went back to the stack that called it, the defaultStack remained the database setup stack, and THAT wasn?t even a sub stack! Until I can figure out what is causing it, I cannot trust the defaultStack. Bob S > On Apr 18, 2020, at 9:53 AM, dunbarx--- via use-livecode wrote: > > Bob. > I make a new stack "XXX", and a substack "YYY", and save the lot. To be sure, I quit LC and open "XXX" from the desktop. > There is a single button on "XXX" that:on mouseUp go stack"yyy"answer the defaultStackend mouseUp > I get "YYY" > What are you seeing? > Craig From bobsneidar at iotecdigital.com Sat Apr 18 14:47:45 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 18 Apr 2020 18:47:45 +0000 Subject: Visual Effect Message-ID: I?m having trouble wrapping my head around visual effects. I? trying to hide and show stacks using visual effects. Consider this in a button: on mouseUp wait 1 second set the visible of homeStack() to false lock screen set the visible of homeStack() to true unlock screen with visual effect reveal down very slow breakpoint end mouseUp homestack() simply returns the file path of the main stack, which this button is on. The visual result is indistinguishable from simply showing and hiding the stack. Bob S From scott at elementarysoftware.com Sat Apr 18 15:15:46 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sat, 18 Apr 2020 12:15:46 -0700 Subject: Visual Effect In-Reply-To: References: Message-ID: From the docs: The visual effect command affects only navigation within a window. If you want to create a transition effect when moving between stacks, use the go...in window form of the go command : visual effect "wipe down" go stack Index in window "Part 2" -- replaces stack on screen ? Scott > On Apr 18, 2020, at 11:47 AM, Bob Sneidar via use-livecode wrote: > > I?m having trouble wrapping my head around visual effects. I? trying to hide and show stacks using visual effects. > > Consider this in a button: > > on mouseUp > wait 1 second > set the visible of homeStack() to false > lock screen > set the visible of homeStack() to true > unlock screen with visual effect reveal down very slow > breakpoint > end mouseUp > > homestack() simply returns the file path of the main stack, which this button is on. > > The visual result is indistinguishable from simply showing and hiding the stack. > > 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 Sat Apr 18 15:29:10 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 18 Apr 2020 19:29:10 +0000 Subject: Visual Effect In-Reply-To: References: Message-ID: Thanks Scott. I should read the whole command. I only got as far as the examples for cards. Bob S > On Apr 18, 2020, at 12:15 PM, scott--- via use-livecode wrote: > > From the docs: > > The visual effect command affects only navigation within a window. If you want to create a transition effect when moving between stacks, use the go...in window form of the go command : > > visual effect "wipe down" > go stack Index in window "Part 2" -- replaces stack on screen > > ? > Scott From dsc at swcp.com Sat Apr 18 15:45:09 2020 From: dsc at swcp.com (Dar Scott Consulting) Date: Sat, 18 Apr 2020 13:45:09 -0600 Subject: Apps to fight COVID-19 In-Reply-To: References: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> <34F40D42-DF52-44BD-BC11-631C3131432A@gmail.com> <2923CE7F-C8C5-4147-A8CC-5D994F855F0B@swcp.com> <2D02D7AC-8169-4CDE-BD7A-3FD447CF4DF1@swcp.com> <2B6E3718-9346-4BF3-85E1-8992AFA17220@swcp.com> <19D64863-74B0-4DF4-AAA5-FC64EEA43D59@swcp.com> <6289998D-0520-41E2-8534-B70E47B3A07C@swcp.com> <907c3050-5955-4224-971a-93538dd58bd6@Spark> Message-ID: <1A2D9F6D-BC1A-4791-B89F-AF545B72D4B6@swcp.com> I don't think Coronika is made with LiveCode. However, it might be inspiring. For some reason downloading never completes on my old Android phone. > On Apr 18, 2020, at 11:56 AM, JeeJeeStudio via use-livecode wrote: > > That's not made with livecode right? > > Op 18-4-2020 om 15:45 schreef David Bovill via use-livecode: >> The app looks a good start, but basic. I took a closer look at the cartoon images, they are quite specific, but a good base for a discussion about privacy issues. Not so good for an app. >> >> My suggestion regarding taking this forwards is that we have a creative workshop on Earth Day this coming Weds, as part of an in-line in conference that we are organising with a few folk. There will be plenty of other thing to drop into. I?ll send some info to this list on Sunday. >> >> It?s pretty informal, so we can organise our own breakout open space meeting when we like - so it should be no issue organising a Livecode workshop on making a CORVID-19 app. >> >> My focus is on doing an interactive sound piece and helping convene some if the breakout discussions, but doing a workshop on Livecode would be a fun part of that. >> >> I could do with some help though :) >> On 17 Apr 2020, 17:09 +0100, dsc--- via use-livecode , wrote: >>> Here is a cool app from Kreativzirkel Design Studio. It is a contact diary as mentioned here. >>> >>> https://www.coronika.app/en >>> >>> I say "cool", but I haven't tried it. it looks good. Should it be done better? >>> >>> >>> >>> >>>> On Apr 15, 2020, at 4:57 PM, dsc--- via use-livecode wrote: >>>> >>>> Meanwhile at Covid Watch there is talk of moving the provider-facing at to a web app of some sort. >>>> >>>>> On Apr 14, 2020, at 1:37 PM, dsc--- via use-livecode wrote: >>>>> >>>>> Jonathan Rothberg is looking for brilliant people who can code whatever your domain. >>>>> >>>>> >>>>>> On Apr 13, 2020, at 6:52 PM, Dar Scott Consulting via use-livecode wrote: >>>>>> >>>>>> Thanks! >>>>>> >>>>>> >>>>>>> On Apr 13, 2020, at 11:42 AM, Mark Wieder via use-livecode wrote: >>>>>>> >>>>>>> On 4/13/20 10:14 AM, dsc--- via use-livecode wrote: >>>>>>>> 1. Covid Watch needs expertise in making HIPAA compliant apps. (We have changed COVID Watch to Covid Watch.) >>>>>>> This any help? >>>>>>> >>>>>>> https://www.healthcareblocks.com/hipaa/developer_guidelines >>>>>>> >>>>>>> -- >>>>>>> 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 >>>>> >>>>> _______________________________________________ >>>>> 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 >> _______________________________________________ >> 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 dsc at swcp.com Sat Apr 18 15:46:31 2020 From: dsc at swcp.com (dsc at swcp.com) Date: Sat, 18 Apr 2020 13:46:31 -0600 Subject: Apps to fight COVID-19 In-Reply-To: <907c3050-5955-4224-971a-93538dd58bd6@Spark> References: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> <34F40D42-DF52-44BD-BC11-631C3131432A@gmail.com> <2923CE7F-C8C5-4147-A8CC-5D994F855F0B@swcp.com> <2D02D7AC-8169-4CDE-BD7A-3FD447CF4DF1@swcp.com> <2B6E3718-9346-4BF3-85E1-8992AFA17220@swcp.com> <19D64863-74B0-4DF4-AAA5-FC64EEA43D59@swcp.com> <6289998D-0520-41E2-8534-B70E47B3A07C@swcp.com> <907c3050-5955-4224-971a-93538dd58bd6@Spark> Message-ID: <22991221-0E76-4CCC-A579-6E170668CBD7@swcp.com> I will attend. > On Apr 18, 2020, at 7:45 AM, David Bovill via use-livecode wrote: > > The app looks a good start, but basic. I took a closer look at the cartoon images, they are quite specific, but a good base for a discussion about privacy issues. Not so good for an app. > > My suggestion regarding taking this forwards is that we have a creative workshop on Earth Day this coming Weds, as part of an in-line in conference that we are organising with a few folk. There will be plenty of other thing to drop into. I?ll send some info to this list on Sunday. > > It?s pretty informal, so we can organise our own breakout open space meeting when we like - so it should be no issue organising a Livecode workshop on making a CORVID-19 app. > > My focus is on doing an interactive sound piece and helping convene some if the breakout discussions, but doing a workshop on Livecode would be a fun part of that. > > I could do with some help though :) > On 17 Apr 2020, 17:09 +0100, dsc--- via use-livecode , wrote: >> Here is a cool app from Kreativzirkel Design Studio. It is a contact diary as mentioned here. >> >> https://www.coronika.app/en >> >> I say "cool", but I haven't tried it. it looks good. Should it be done better? >> >> >> >> >>> On Apr 15, 2020, at 4:57 PM, dsc--- via use-livecode wrote: >>> >>> Meanwhile at Covid Watch there is talk of moving the provider-facing at to a web app of some sort. >>> >>>> On Apr 14, 2020, at 1:37 PM, dsc--- via use-livecode wrote: >>>> >>>> Jonathan Rothberg is looking for brilliant people who can code whatever your domain. >>>> >>>> >>>>> On Apr 13, 2020, at 6:52 PM, Dar Scott Consulting via use-livecode wrote: >>>>> >>>>> Thanks! >>>>> >>>>> >>>>>> On Apr 13, 2020, at 11:42 AM, Mark Wieder via use-livecode wrote: >>>>>> >>>>>> On 4/13/20 10:14 AM, dsc--- via use-livecode wrote: >>>>>>> 1. Covid Watch needs expertise in making HIPAA compliant apps. (We have changed COVID Watch to Covid Watch.) >>>>>> >>>>>> This any help? >>>>>> >>>>>> https://www.healthcareblocks.com/hipaa/developer_guidelines >>>>>> >>>>>> -- >>>>>> 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 >>>> >>>> >>>> _______________________________________________ >>>> 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 > _______________________________________________ > 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 Sat Apr 18 15:56:47 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 18 Apr 2020 12:56:47 -0700 Subject: Long Standing Issue with the defaultStack In-Reply-To: References: <7346129E-54C7-4013-A20D-4FA5A6005F51@iotecdigital.com> <189792369.1813518.1587228828961@mail.yahoo.com> Message-ID: On 4/18/20 11:33 AM, Bob Sneidar via use-livecode wrote: > Until I can figure out what is causing it, I cannot trust the defaultStack. I think the basic lesson here is "if you're going to rely on the defaultstack you should set the defaultstack". -- Mark Wieder ahsoftware at gmail.com From dunbarx at aol.com Sat Apr 18 15:59:12 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 18 Apr 2020 19:59:12 +0000 (UTC) Subject: Long Standing Issue with the defaultStack In-Reply-To: References: <7346129E-54C7-4013-A20D-4FA5A6005F51@iotecdigital.com> <189792369.1813518.1587228828961@mail.yahoo.com> Message-ID: <1481332786.1875945.1587239952240@mail.yahoo.com> Hi. I know that doing the simplest things, breathing, going down to the message box, can upset the defaultStack. I see this often when trying to change properties in open inspector(s). My example may have been unfair to your issue, because I wound it so tightly within a single short handler. There was no room for fiddling around, by you or LC. When one is roaming around the IDE, I think I have seen the same things you have. Craig -----Original Message----- From: Bob Sneidar via use-livecode To: How to use LiveCode Cc: Bob Sneidar Sent: Sat, Apr 18, 2020 2:35 pm Subject: Re: Long Standing Issue with the defaultStack Not sure at this point. When I open a sub stack called ?Devices? (or any sub stack) of my main stack ?Forms Generator? and I enter ?put the defaultStack? in the message box, I get ?Forms Generator?. If I put the command ?put the defaultStack? in the last line of the openStack handler of stack devices, I get ?Devices?. Right afterwards, if I enter ?put the defaultStack? in the message box, I get ?Forms Generator? again! Not entirely sure what is doing it. Had the same issue with another much simpler stack. If I went invisible to a database setup stack, then went back to the stack that called it, the defaultStack remained the database setup stack, and THAT wasn?t even a sub stack! Until I can figure out what is causing it, I cannot trust the defaultStack. Bob S > On Apr 18, 2020, at 9:53 AM, dunbarx--- via use-livecode wrote: > > Bob. > I make a new stack "XXX", and a substack "YYY", and save the lot. To be sure, I quit LC and open "XXX" from the desktop. > There is a single button on "XXX" that:on mouseUp? go stack"yyy"answer the defaultStackend mouseUp > I get "YYY" > What are you seeing? > Craig _______________________________________________ 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 jeejeestudio at gmail.com Sat Apr 18 16:11:31 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sat, 18 Apr 2020 22:11:31 +0200 Subject: Auto opening of Project Browser Message-ID: <9af9479e-587f-b5bc-dc8c-b5c5c56256c3@gmail.com> Hi, maybe i missed it, but i think not. Why is in preferences no option, to or not to, always have the Project Browser opened when starting LC? Actually same counts for the message box. Thanks! Jerry From dunbarx at aol.com Sat Apr 18 16:12:49 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 18 Apr 2020 20:12:49 +0000 (UTC) Subject: Visual Effect In-Reply-To: References: Message-ID: <885722694.1880252.1587240769501@mail.yahoo.com> Hi. I never use visual effects, but I think you may need to go to the dictionary. One thing it says is: ?"The?visual effect?command?affects only navigation within a window. If you want to create a transition effect when moving between?stacks, use the go...in window form of the go?command?: visual effect wipe downgo stack Index in window Part 2 -- replaces stack on screen So I think it is a matter of usage. I bet you will find your way through. Craig -----Original Message----- From: Bob Sneidar via use-livecode To: How to use LiveCode Cc: Bob Sneidar Sent: Sat, Apr 18, 2020 2:48 pm Subject: Visual Effect I?m having trouble wrapping my head around visual effects. I? trying to hide and show stacks using visual effects. Consider this in a button: on mouseUp ? wait 1 second ? set the visible of homeStack() to false ? lock screen ? set the visible of homeStack() to true ? unlock screen with visual effect reveal down very slow ? breakpoint end mouseUp homestack() simply returns the file path of the main stack, which this button is on. The visual result is indistinguishable from simply showing and hiding the stack. 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 Sat Apr 18 16:48:01 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 18 Apr 2020 20:48:01 +0000 Subject: Long Standing Issue with the defaultStack In-Reply-To: References: <7346129E-54C7-4013-A20D-4FA5A6005F51@iotecdigital.com> <189792369.1813518.1587228828961@mail.yahoo.com> Message-ID: <4F07D7A0-E192-4AAB-9FDE-69B382264904@iotecdigital.com> Okay I created a simple stack with one sub stack. In the card script of stack 1 I put the handler: on openStack put the defaultStack & cr into msg open stack "untitled 2" put the defaultStack & cr after msg open me put the defaultStack & cr after msg end openStack I get: stack "Untitled 1" stack "Untitled 2" stack "Untitled 2? It seems going,opening a stack sets the opened stack to the default? IF IT?s NOT ALREADY OPENED! If it IS, well then you are on your own. The defaultStack is the last stack opened. (I?m assuming it?s a normal stack and not a pallet or something else). Now you would think at this point you can use topStack instead, but NAY! This script: on openStack put the defaultStack && the short name of the topStack & cr into msg open stack "untitled 2" put the defaultStack && the short name of the topStack & cr after msg go me put the defaultStack && the short name of the topStack & cr after msg end openStack produces: stack "Untitled 1" Untitled 1 stack "Untitled 2" Untitled 2 stack "Untitled 2" Untitled 2 After I go me, neither the defaultStack nor the topStack changes! What is more, the untitled 2 stack still has focus!! Just to be certain I disabled all my plugins and relaunched, same thing. This CANNOT BE RIGHT! And if it is the expected behavior, it ought not be. Bob S > On Apr 18, 2020, at 12:56 PM, Mark Wieder via use-livecode wrote: > > On 4/18/20 11:33 AM, Bob Sneidar via use-livecode wrote: > >> Until I can figure out what is causing it, I cannot trust the defaultStack. > > I think the basic lesson here is "if you're going to rely on the defaultstack you should set the defaultstack". > > -- > Mark Wieder > ahsoftware at gmail.com From hakan at exformedia.se Sat Apr 18 16:56:53 2020 From: hakan at exformedia.se (hakan at exformedia.se) Date: Sat, 18 Apr 2020 22:56:53 +0200 Subject: Simple 3D animation question In-Reply-To: References: <90EB3A37-4A70-4F13-8736-8BDFDEB98C8E@iotecdigital.com> <9D66823F-0AA6-48B2-9573-F02E0B02AA5C@gmail.com> Message-ID: When teaching my students about hybrid apps I usually do a session called "Vad ?r klockan vart d??" (What is the time where?) Where we have a globe in a browser widget, that you can spin and tap. When you tap a location we have a clock-widget set to the current time at that location. The globe is driven by d3js, which is a really powerful visualization library written in JavaScript. Without resorting to builder or embedding some other graphic library I don't think that would be possible at the current state of LiveCode graphics. But on the other hand it is really nice to see how easily you can combine the browser widget with LiveCode. So to conclude I also would suggest to resort to a browser widget and then add something like: https://codepen.io/Mombasa/pen/fvgqb (Built with threes) H?kan On 18 Apr 2020, 18:47 +0200, Mark Wieder via use-livecode , wrote: > On 4/18/20 6:32 AM, David Bovill via use-livecode wrote: > > For Earth Day this Wendesday a few of us are working on an art piece that I want to use Livecode for. > > > > As part of this event I need to create an interactive presentation and wish to create an icosahedrons - so a 3 dimensional hexagon - that I need to rotate in different dimensions. > > At the risk of getting into a religious war here... > I wouldn't do this in LiveCode. > > Have you seen threejs? > > https://threejs.org > > example: > https://threejs.org/examples/#webgl_geometry_convex > > source: > > > -- > 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 Sat Apr 18 17:02:04 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 18 Apr 2020 21:02:04 +0000 Subject: Long Standing Issue with the defaultStack In-Reply-To: <4F07D7A0-E192-4AAB-9FDE-69B382264904@iotecdigital.com> References: <7346129E-54C7-4013-A20D-4FA5A6005F51@iotecdigital.com> <189792369.1813518.1587228828961@mail.yahoo.com> <4F07D7A0-E192-4AAB-9FDE-69B382264904@iotecdigital.com> Message-ID: <90486CAE-D395-47A9-A9AA-0B013EE625D3@iotecdigital.com> By the way, this has NOTHING to do with substacks as I initially thought. The same thing happens with separate stacks. > On Apr 18, 2020, at 1:48 PM, Bob Sneidar via use-livecode wrote: > > Okay I created a simple stack with one sub stack. In the card script of stack 1 I put the handler: > > on openStack > put the defaultStack & cr into msg > open stack "untitled 2" > put the defaultStack & cr after msg > open me > put the defaultStack & cr after msg > end openStack > > I get: > stack "Untitled 1" > stack "Untitled 2" > stack "Untitled 2? > > It seems going,opening a stack sets the opened stack to the default? IF IT?s NOT ALREADY OPENED! If it IS, well then you are on your own. The defaultStack is the last stack opened. (I?m assuming it?s a normal stack and not a pallet or something else). > > Now you would think at this point you can use topStack instead, but NAY! This script: > > on openStack > put the defaultStack && the short name of the topStack & cr into msg > open stack "untitled 2" > put the defaultStack && the short name of the topStack & cr after msg > go me > put the defaultStack && the short name of the topStack & cr after msg > end openStack > > produces: > stack "Untitled 1" Untitled 1 > stack "Untitled 2" Untitled 2 > stack "Untitled 2" Untitled 2 > > After I go me, neither the defaultStack nor the topStack changes! What is more, the untitled 2 stack still has focus!! > > Just to be certain I disabled all my plugins and relaunched, same thing. > > This CANNOT BE RIGHT! And if it is the expected behavior, it ought not be. > > Bob S From bobsneidar at iotecdigital.com Sat Apr 18 17:12:31 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 18 Apr 2020 21:12:31 +0000 Subject: Long Standing Issue with the defaultStack In-Reply-To: <4F07D7A0-E192-4AAB-9FDE-69B382264904@iotecdigital.com> References: <7346129E-54C7-4013-A20D-4FA5A6005F51@iotecdigital.com> <189792369.1813518.1587228828961@mail.yahoo.com> <4F07D7A0-E192-4AAB-9FDE-69B382264904@iotecdigital.com> Message-ID: <6D9F3A2F-1013-4AF7-9848-95536A43F8D8@iotecdigital.com> What is worse, after THIS script runs: on openStack put the defaultStack && the short name of the topStack & cr into msg go stack "untitled 2" put the defaultStack && the short name of the topStack & cr after msg go the owner of me set the defaultStack to the owner of me put the defaultStack && the short name of the topStack & cr after msg end openStack I get: stack "Untitled 1" Untitled 1 stack "Untitled 2" Untitled 2 stack "Untitled 1" Untitled 2 Here, the defaultStack is set by script to stack ?Untitled 1? as you would expect, but upon termination of the script, the command "put the defaultStack? reveals that stack ?Untitled 2? has reverted to the defaultStack! In other words, going to another stack, or card of a stack by script DOES NOT ALTER the defaultStack, and neither does setting it by script once the script terminates. Additionally it does not make it the topStack. If a user CLICKS in an open stack THEN it becomes the defaultStack AND the topStack. It just does not work by script. The only reliable way to change either by script is by setting the style of a stack to ?topLevel?. Bob S > On Apr 18, 2020, at 1:48 PM, Bob Sneidar via use-livecode wrote: > > Okay I created a simple stack with one sub stack. In the card script of stack 1 I put the handler: > > on openStack > put the defaultStack & cr into msg > open stack "untitled 2" > put the defaultStack & cr after msg > open me > put the defaultStack & cr after msg > end openStack > > I get: > stack "Untitled 1" > stack "Untitled 2" > stack "Untitled 2? > > It seems going,opening a stack sets the opened stack to the default? IF IT?s NOT ALREADY OPENED! If it IS, well then you are on your own. The defaultStack is the last stack opened. (I?m assuming it?s a normal stack and not a pallet or something else). > > Now you would think at this point you can use topStack instead, but NAY! This script: > > on openStack > put the defaultStack && the short name of the topStack & cr into msg > open stack "untitled 2" > put the defaultStack && the short name of the topStack & cr after msg > go me > put the defaultStack && the short name of the topStack & cr after msg > end openStack > > produces: > stack "Untitled 1" Untitled 1 > stack "Untitled 2" Untitled 2 > stack "Untitled 2" Untitled 2 > > After I go me, neither the defaultStack nor the topStack changes! What is more, the untitled 2 stack still has focus!! > > Just to be certain I disabled all my plugins and relaunched, same thing. > > This CANNOT BE RIGHT! And if it is the expected behavior, it ought not be. > > Bob S > > > >> On Apr 18, 2020, at 12:56 PM, Mark Wieder via use-livecode wrote: >> >> On 4/18/20 11:33 AM, Bob Sneidar via use-livecode wrote: >> >>> Until I can figure out what is causing it, I cannot trust the defaultStack. >> >> I think the basic lesson here is "if you're going to rely on the defaultstack you should set the defaultstack". >> >> -- >> 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 livfoss at mac.com Sat Apr 18 17:17:59 2020 From: livfoss at mac.com (Graham Samuel) Date: Sat, 18 Apr 2020 23:17:59 +0200 Subject: Sound and the Xcode simulator Message-ID: This is a simple one. I have a sound (and audioclip) that plays in the IDE (it?s a WAV), but when I try it in the iPhone simulator it doesn?t play. The simulated phone is not silent and has a decent amount of sound volume. I have tried both ?System? and ?Internal Speakers? as outputs from the simulator. Is this my fault or the simulator?s? Graham From jacque at hyperactivesw.com Sat Apr 18 17:18:24 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 18 Apr 2020 16:18:24 -0500 Subject: Long Standing Issue with the defaultStack In-Reply-To: <4F07D7A0-E192-4AAB-9FDE-69B382264904@iotecdigital.com> References: <7346129E-54C7-4013-A20D-4FA5A6005F51@iotecdigital.com> <189792369.1813518.1587228828961@mail.yahoo.com> <4F07D7A0-E192-4AAB-9FDE-69B382264904@iotecdigital.com> Message-ID: What do you get if you use "go" instead of "open"? On 4/18/20 3:48 PM, Bob Sneidar via use-livecode wrote: > Okay I created a simple stack with one sub stack. In the card script of stack 1 I put the handler: > > on openStack > put the defaultStack & cr into msg > open stack "untitled 2" > put the defaultStack & cr after msg > open me > put the defaultStack & cr after msg > end openStack > > I get: > stack "Untitled 1" > stack "Untitled 2" > stack "Untitled 2? > > It seems going,opening a stack sets the opened stack to the default? IF IT?s NOT ALREADY OPENED! If it IS, well then you are on your own. The defaultStack is the last stack opened. (I?m assuming it?s a normal stack and not a pallet or something else). > > Now you would think at this point you can use topStack instead, but NAY! This script: > > on openStack > put the defaultStack && the short name of the topStack & cr into msg > open stack "untitled 2" > put the defaultStack && the short name of the topStack & cr after msg > go me > put the defaultStack && the short name of the topStack & cr after msg > end openStack > > produces: > stack "Untitled 1" Untitled 1 > stack "Untitled 2" Untitled 2 > stack "Untitled 2" Untitled 2 > > After I go me, neither the defaultStack nor the topStack changes! What is more, the untitled 2 stack still has focus!! > > Just to be certain I disabled all my plugins and relaunched, same thing. > > This CANNOT BE RIGHT! And if it is the expected behavior, it ought not be. > > Bob S > > > >> On Apr 18, 2020, at 12:56 PM, Mark Wieder via use-livecode wrote: >> >> On 4/18/20 11:33 AM, Bob Sneidar via use-livecode wrote: >> >>> Until I can figure out what is causing it, I cannot trust the defaultStack. >> >> I think the basic lesson here is "if you're going to rely on the defaultstack you should set the defaultstack". >> >> -- >> 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Sat Apr 18 17:19:39 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 18 Apr 2020 21:19:39 +0000 Subject: Long Standing Issue with the defaultStack In-Reply-To: References: <7346129E-54C7-4013-A20D-4FA5A6005F51@iotecdigital.com> <189792369.1813518.1587228828961@mail.yahoo.com> <4F07D7A0-E192-4AAB-9FDE-69B382264904@iotecdigital.com> Message-ID: <05B9D6F5-04A6-4D88-9F74-AFD32A2DE7FC@iotecdigital.com> same thing Bob S > On Apr 18, 2020, at 2:18 PM, J. Landman Gay via use-livecode wrote: > > What do you get if you use "go" instead of "open"? From bobsneidar at iotecdigital.com Sat Apr 18 17:20:11 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 18 Apr 2020 21:20:11 +0000 Subject: Long Standing Issue with the defaultStack In-Reply-To: References: <7346129E-54C7-4013-A20D-4FA5A6005F51@iotecdigital.com> <189792369.1813518.1587228828961@mail.yahoo.com> <4F07D7A0-E192-4AAB-9FDE-69B382264904@iotecdigital.com> Message-ID: I?m putting together a simple demo and will post on bulgiest in a few. Bob S > On Apr 18, 2020, at 2:18 PM, J. Landman Gay via use-livecode wrote: > > What do you get if you use "go" instead of "open"? > > On 4/18/20 3:48 PM, Bob Sneidar via use-livecode wrote: >> Okay I created a simple stack with one sub stack. In the card script of stack 1 I put the handler: >> on openStack >> put the defaultStack & cr into msg >> open stack "untitled 2" >> put the defaultStack & cr after msg >> open me >> put the defaultStack & cr after msg >> end openStack >> I get: >> stack "Untitled 1" >> stack "Untitled 2" >> stack "Untitled 2? >> It seems going,opening a stack sets the opened stack to the default? IF IT?s NOT ALREADY OPENED! If it IS, well then you are on your own. The defaultStack is the last stack opened. (I?m assuming it?s a normal stack and not a pallet or something else). >> Now you would think at this point you can use topStack instead, but NAY! This script: >> on openStack >> put the defaultStack && the short name of the topStack & cr into msg >> open stack "untitled 2" >> put the defaultStack && the short name of the topStack & cr after msg >> go me >> put the defaultStack && the short name of the topStack & cr after msg >> end openStack >> produces: >> stack "Untitled 1" Untitled 1 >> stack "Untitled 2" Untitled 2 >> stack "Untitled 2" Untitled 2 >> After I go me, neither the defaultStack nor the topStack changes! What is more, the untitled 2 stack still has focus!! >> Just to be certain I disabled all my plugins and relaunched, same thing. >> This CANNOT BE RIGHT! And if it is the expected behavior, it ought not be. >> Bob S >>> On Apr 18, 2020, at 12:56 PM, Mark Wieder via use-livecode wrote: >>> >>> On 4/18/20 11:33 AM, Bob Sneidar via use-livecode wrote: >>> >>>> Until I can figure out what is causing it, I cannot trust the defaultStack. >>> >>> I think the basic lesson here is "if you're going to rely on the defaultstack you should set the defaultstack". >>> >>> -- >>> 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 > > > -- > 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 bobsneidar at iotecdigital.com Sat Apr 18 17:31:49 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 18 Apr 2020 21:31:49 +0000 Subject: Long Standing Issue with the defaultStack In-Reply-To: References: <7346129E-54C7-4013-A20D-4FA5A6005F51@iotecdigital.com> <189792369.1813518.1587228828961@mail.yahoo.com> <4F07D7A0-E192-4AAB-9FDE-69B382264904@iotecdigital.com> Message-ID: <278C8987-254B-42F2-87AD-A859A52316FA@iotecdigital.com> https://quality.livecode.com/show_bug.cgi?id=22691 if anyone is interested. Very simple test stacks included. Bob S > On Apr 18, 2020, at 2:20 PM, Bob Sneidar via use-livecode wrote: > > I?m putting together a simple demo and will post on bulgiest in a few. > > Bob S > > >> On Apr 18, 2020, at 2:18 PM, J. Landman Gay via use-livecode wrote: >> >> What do you get if you use "go" instead of "open"? >> >> On 4/18/20 3:48 PM, Bob Sneidar via use-livecode wrote: >>> Okay I created a simple stack with one sub stack. In the card script of stack 1 I put the handler: >>> on openStack >>> put the defaultStack & cr into msg >>> open stack "untitled 2" >>> put the defaultStack & cr after msg >>> open me >>> put the defaultStack & cr after msg >>> end openStack >>> I get: >>> stack "Untitled 1" >>> stack "Untitled 2" >>> stack "Untitled 2? >>> It seems going,opening a stack sets the opened stack to the default? IF IT?s NOT ALREADY OPENED! If it IS, well then you are on your own. The defaultStack is the last stack opened. (I?m assuming it?s a normal stack and not a pallet or something else). >>> Now you would think at this point you can use topStack instead, but NAY! This script: >>> on openStack >>> put the defaultStack && the short name of the topStack & cr into msg >>> open stack "untitled 2" >>> put the defaultStack && the short name of the topStack & cr after msg >>> go me >>> put the defaultStack && the short name of the topStack & cr after msg >>> end openStack >>> produces: >>> stack "Untitled 1" Untitled 1 >>> stack "Untitled 2" Untitled 2 >>> stack "Untitled 2" Untitled 2 >>> After I go me, neither the defaultStack nor the topStack changes! What is more, the untitled 2 stack still has focus!! >>> Just to be certain I disabled all my plugins and relaunched, same thing. >>> This CANNOT BE RIGHT! And if it is the expected behavior, it ought not be. >>> Bob S >>>> On Apr 18, 2020, at 12:56 PM, Mark Wieder via use-livecode wrote: >>>> >>>> On 4/18/20 11:33 AM, Bob Sneidar via use-livecode wrote: >>>> >>>>> Until I can figure out what is causing it, I cannot trust the defaultStack. >>>> >>>> I think the basic lesson here is "if you're going to rely on the defaultstack you should set the defaultstack". >>>> >>>> -- >>>> 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 >> >> >> -- >> 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 bobsneidar at iotecdigital.com Sat Apr 18 17:36:12 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 18 Apr 2020 21:36:12 +0000 Subject: Long Standing Issue with the defaultStack In-Reply-To: <05B9D6F5-04A6-4D88-9F74-AFD32A2DE7FC@iotecdigital.com> References: <7346129E-54C7-4013-A20D-4FA5A6005F51@iotecdigital.com> <189792369.1813518.1587228828961@mail.yahoo.com> <4F07D7A0-E192-4AAB-9FDE-69B382264904@iotecdigital.com> <05B9D6F5-04A6-4D88-9F74-AFD32A2DE7FC@iotecdigital.com> Message-ID: <7CD65A8D-A1F5-4F87-9B67-218F5BEE4A03@iotecdigital.com> Go and Open are synonyms. Bob S > On Apr 18, 2020, at 2:19 PM, Bob Sneidar wrote: > > same thing > > Bob S > > >> On Apr 18, 2020, at 2:18 PM, J. Landman Gay via use-livecode wrote: >> >> What do you get if you use "go" instead of "open"? From mark at canelasoftware.com Sat Apr 18 19:41:02 2020 From: mark at canelasoftware.com (Mark Talluto) Date: Sat, 18 Apr 2020 16:41:02 -0700 Subject: Sound and the Xcode simulator In-Reply-To: References: Message-ID: <67974127-F9A9-45D8-85A5-1CAF736B57A1@canelasoftware.com> On Apr 18, 2020, at 2:17 PM, Graham Samuel via use-livecode wrote: > > This is a simple one. > > I have a sound (and audioclip) that plays in the IDE (it?s a WAV), but when I try it in the iPhone simulator it doesn?t play. The simulated phone is not silent and has a decent amount of sound volume. I have tried both ?System? and ?Internal Speakers? as outputs from the simulator. > > Is this my fault or the simulator?s? Hi Graham, iOS can not play WAV sounds. You will need to convert the sound file to another format like mp3. Best regards, Mark Talluto livecloud.io nursenotes.net canelasoftware.com From ahsoftware at sonic.net Sat Apr 18 20:26:40 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 18 Apr 2020 17:26:40 -0700 Subject: Simple 3D animation question In-Reply-To: References: <90EB3A37-4A70-4F13-8736-8BDFDEB98C8E@iotecdigital.com> <9D66823F-0AA6-48B2-9573-F02E0B02AA5C@gmail.com> Message-ID: On 4/18/20 1:56 PM, hakan at exformedia.se wrote: > When teaching my students about hybrid apps I usually do a session > called "Vad ?r klockan vart d??" (What is the time where?) Where we have > a globe in a browser widget, that you can spin and tap. When you tap a > location we have a clock-widget set to the current time at that > location. The globe is driven by d3js, which is a really powerful > visualization library written in JavaScript. Without resorting to > builder or embedding some other graphic library I don't think that would > be possible at the current state of LiveCode graphics. But on the other > hand it is really nice to see how easily you can combine the browser > widget with LiveCode. > > So to conclude I also would suggest to resort to a browser widget and > then add something like: > > https://codepen.io/Mombasa/pen/fvgqb > (Built with threes) There was an amazing demonstration of data visualization using threejs at SCaLE last month. I got hooked right away. https://www.youtube.com/watch?v=nCR_1YBFyN0 -- Mark Wieder ahsoftware at gmail.com From neville.smythe at optusnet.com.au Sat Apr 18 20:58:43 2020 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Sun, 19 Apr 2020 10:58:43 +1000 Subject: DataGrid table DeleteIndex Message-ID: BobS wrote > Did you try the plural form of deleteIndex(es)? Well you see I read the documentation. Which says ?DeleteIndexes? is a synonym of ?DeleteIndex?. So I didn?t try it (didn?t try ?DeleteIndices? either). Thanks Bob, that does work! So the documentation is wrong. There is no separate entry for DeleteIndexes. > The data grid does not use threads. Nothing in LC does. I know LC doesn?t but I thought it just possible that DataGrid uses a C external which employs threads. Clutching at straws of course. Neville From bobsneidar at iotecdigital.com Sat Apr 18 21:00:57 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 19 Apr 2020 01:00:57 +0000 Subject: DataGrid table DeleteIndex In-Reply-To: References: Message-ID: <7BB2D79D-030C-4194-BFF1-39BFE2052428@iotecdigital.com> I ran into the same problem when I started working with multiple indexes. Bob S > On Apr 18, 2020, at 5:58 PM, Neville Smythe via use-livecode wrote: > > BobS wrote > >> Did you try the plural form of deleteIndex(es)? > > Well you see I read the documentation. Which says ?DeleteIndexes? is a synonym of ?DeleteIndex?. So I didn?t try it (didn?t try ?DeleteIndices? either). Thanks Bob, that does work! So the documentation is wrong. There is no separate entry for DeleteIndexes. > >> The data grid does not use threads. Nothing in LC does. > > I know LC doesn?t but I thought it just possible that DataGrid uses a C external which employs threads. Clutching at straws of course. > > Neville From jacque at hyperactivesw.com Sat Apr 18 22:03:24 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 18 Apr 2020 21:03:24 -0500 Subject: Sound and the Xcode simulator In-Reply-To: References: Message-ID: <171902d09f8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Are you using a scripted player? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 18, 2020 4:19:52 PM Graham Samuel via use-livecode wrote: > This is a simple one. > > I have a sound (and audioclip) that plays in the IDE (it?s a WAV), but when > I try it in the iPhone simulator it doesn?t play. The simulated phone is > not silent and has a decent amount of sound volume. I have tried both > ?System? and ?Internal Speakers? as outputs from the simulator. > > Is this my fault or the simulator?s? > > Graham > _______________________________________________ > 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 Sat Apr 18 22:09:26 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 18 Apr 2020 21:09:26 -0500 Subject: Long Standing Issue with the defaultStack In-Reply-To: <6D9F3A2F-1013-4AF7-9848-95536A43F8D8@iotecdigital.com> References: <7346129E-54C7-4013-A20D-4FA5A6005F51@iotecdigital.com> <189792369.1813518.1587228828961@mail.yahoo.com> <4F07D7A0-E192-4AAB-9FDE-69B382264904@iotecdigital.com> <6D9F3A2F-1013-4AF7-9848-95536A43F8D8@iotecdigital.com> Message-ID: <171903293f0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> The stack style is important, its mode influences which stack is toplevel and default. A palette shouldn't be the default stack unless you focus on it, for instance. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 18, 2020 4:14:27 PM Bob Sneidar via use-livecode wrote: > > The only reliable way to change either by script is by setting the style of > a stack to ?topLevel?. From livfoss at mac.com Sun Apr 19 05:00:49 2020 From: livfoss at mac.com (Graham Samuel) Date: Sun, 19 Apr 2020 11:00:49 +0200 Subject: Sound and the Xcode simulator In-Reply-To: <171902d09f8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <171902d09f8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: My script (which works fine in the IDE) is just play audioclip ?myClip.wav" looping The audioclip is certainly there in the stack, and that snippet can be run in the message box. It can be stopped by play stop Is this stuff not available on mobile? After all, phones make sounds! Graham > On 19 Apr 2020, at 04:03, J. Landman Gay via use-livecode wrote: > > Are you using a scripted player? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 18, 2020 4:19:52 PM Graham Samuel via use-livecode wrote: > >> This is a simple one. >> >> I have a sound (and audioclip) that plays in the IDE (it?s a WAV), but when I try it in the iPhone simulator it doesn?t play. The simulated phone is not silent and has a decent amount of sound volume. I have tried both ?System? and ?Internal Speakers? as outputs from the simulator. >> >> Is this my fault or the simulator?s? >> >> Graham >> _______________________________________________ >> 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 livfoss at mac.com Sun Apr 19 05:35:47 2020 From: livfoss at mac.com (Graham Samuel) Date: Sun, 19 Apr 2020 11:35:47 +0200 Subject: Sound and the Xcode simulator In-Reply-To: <67974127-F9A9-45D8-85A5-1CAF736B57A1@canelasoftware.com> References: <67974127-F9A9-45D8-85A5-1CAF736B57A1@canelasoftware.com> Message-ID: Oops, read Jacque?s email first. I replied that I am using an audioclip - in an earlier conversation, it seemed that people were saying that if you want to embed a sound (rather than have it as a file) then it can?t be an mp3. In fact I?d started with an mp3 and had to grumpily change it to WAV to get it to sound using the ?play audioclip? statement. However, I just did a lot more research in the LC dictionary and elsewhere and I think what I want is accomplished using ?beep? and ?the beepsound?. This apparently works uniquely for iOS. If I ever get to Android I will probably have to do something different, but first things first. Woo hoo - just about to try it. Graham > On 19 Apr 2020, at 01:41, Mark Talluto via use-livecode wrote: > > On Apr 18, 2020, at 2:17 PM, Graham Samuel via use-livecode wrote: >> >> This is a simple one. >> >> I have a sound (and audioclip) that plays in the IDE (it?s a WAV), but when I try it in the iPhone simulator it doesn?t play. The simulated phone is not silent and has a decent amount of sound volume. I have tried both ?System? and ?Internal Speakers? as outputs from the simulator. >> >> Is this my fault or the simulator?s? > > Hi Graham, > > iOS can not play WAV sounds. You will need to convert the sound file to another format like mp3. > > Best regards, > > Mark Talluto > livecloud.io > nursenotes.net > canelasoftware.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 livfoss at mac.com Sun Apr 19 07:34:19 2020 From: livfoss at mac.com (Graham Samuel) Date: Sun, 19 Apr 2020 13:34:19 +0200 Subject: Where do copied files go on mobile? Message-ID: When doing standalone settings for mobile, if one chooses to copy files where do they go? My simulator setup is having a meltdown at present so it?s hard to test. I hope it?s the ?resources? folder. LC docs don?t say AFAICS. Graham Sent from my iPhone From klaus at major-k.de Sun Apr 19 07:39:58 2020 From: klaus at major-k.de (Klaus major-k) Date: Sun, 19 Apr 2020 13:39:58 +0200 Subject: Where do copied files go on mobile? In-Reply-To: References: Message-ID: Hi Graham, > Am 19.04.2020 um 13:34 schrieb Graham Samuel via use-livecode : > > When doing standalone settings for mobile, if one chooses to copy files where do they go? My simulator setup is having a meltdown at present so it?s hard to test. I hope it?s the ?resources? folder. LC docs don?t say AFAICS. yes, everything you add to our app via the "Copy files" tab in the "Standalone Application Settings" will be found in the runtime in -> specialfolderpath("resources") on ANY platform! Hint: We are not allowed to write in that folder and even opening a database here is considered "writing" and will fail. So if you have a database (SQLite) file in your app, you need to copy it to the users DOCUMENTS folder first and open it there! > Graham Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From livfoss at mac.com Sun Apr 19 07:46:49 2020 From: livfoss at mac.com (Graham Samuel) Date: Sun, 19 Apr 2020 13:46:49 +0200 Subject: Where do copied files go on mobile? In-Reply-To: References: Message-ID: <43407E21-2A48-4875-A1BA-5F280D3715E9@mac.com> Thanks Klaus. I am parking a sound in there and obviously only reading it, so should be OK. My mysterious unresponsiveness in my app must be something else... Keep safe Graham Sent from my iPhone > On 19 Apr 2020, at 13:40, Klaus major-k via use-livecode wrote: > > ?Hi Graham, > >> Am 19.04.2020 um 13:34 schrieb Graham Samuel via use-livecode : >> >> When doing standalone settings for mobile, if one chooses to copy files where do they go? My simulator setup is having a meltdown at present so it?s hard to test. I hope it?s the ?resources? folder. LC docs don?t say AFAICS. > > yes, everything you add to our app via the "Copy files" tab in the "Standalone Application Settings" > will be found in the runtime in -> specialfolderpath("resources") on ANY platform! > > Hint: > We are not allowed to write in that folder and even opening a database here is considered > "writing" and will fail. > > So if you have a database (SQLite) file in your app, you need to copy it to the users DOCUMENTS > folder first and open it there! > >> Graham > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > 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 klaus at major-k.de Sun Apr 19 08:13:06 2020 From: klaus at major-k.de (Klaus major-k) Date: Sun, 19 Apr 2020 14:13:06 +0200 Subject: Where do copied files go on mobile? In-Reply-To: <43407E21-2A48-4875-A1BA-5F280D3715E9@mac.com> References: <43407E21-2A48-4875-A1BA-5F280D3715E9@mac.com> Message-ID: Hi Graham, > Am 19.04.2020 um 13:46 schrieb Graham Samuel via use-livecode : > > Thanks Klaus. I am parking a sound in there and obviously only reading it, so should be OK. yep! > My mysterious unresponsiveness in my app must be something else... Hm, what fileformat are you using and what is the syntax in your script? > Keep safe You BET! :-) > Graham Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From david.bovill at gmail.com Sun Apr 19 09:55:43 2020 From: david.bovill at gmail.com (David Bovill) Date: Sun, 19 Apr 2020 14:55:43 +0100 Subject: Simple 3D animation question In-Reply-To: References: <90EB3A37-4A70-4F13-8736-8BDFDEB98C8E@iotecdigital.com> <9D66823F-0AA6-48B2-9573-F02E0B02AA5C@gmail.com> Message-ID: <31f9f367-321a-483f-a56e-55452575ab48@Spark> Thanks for all the input - threeJS is great. I?ll take your advice on that. I haven?t updated my knowledge on it for a couple of years. FYI - a reason for using Livecode exists outside of the actual animation. It?s the educational aspect and geometry. Would like to be able to explore the language and coding as a learning experience as a follow up in Livecode rather than JavaScript. On 19 Apr 2020, 01:27 +0100, Mark Wieder via use-livecode , wrote: > On 4/18/20 1:56 PM, hakan at exformedia.se wrote: > > When teaching my students about hybrid apps I usually do a session > > called "Vad ?r klockan vart d??" (What is the time where?) Where we have > > a globe in a browser widget, that you can spin and tap. When you tap a > > location we have a clock-widget set to the current time at that > > location. The globe is driven by d3js, which is a really powerful > > visualization library written in JavaScript. Without resorting to > > builder or embedding some other graphic library I don't think that would > > be possible at the current state of LiveCode graphics. But on the other > > hand it is really nice to see how easily you can combine the browser > > widget with LiveCode. > > > > So to conclude I also would suggest to resort to a browser widget and > > then add something like: > > > > https://codepen.io/Mombasa/pen/fvgqb > > (Built with threes) > > There was an amazing demonstration of data visualization using threejs > at SCaLE last month. I got hooked right away. > > https://www.youtube.com/watch?v=nCR_1YBFyN0 > > -- > 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 livfoss at mac.com Sun Apr 19 12:37:06 2020 From: livfoss at mac.com (Graham Samuel) Date: Sun, 19 Apr 2020 18:37:06 +0200 Subject: Where do copied files go on mobile? In-Reply-To: References: <43407E21-2A48-4875-A1BA-5F280D3715E9@mac.com> Message-ID: Hi Klaus Thanks for your continued interest. In fact I got it working! As stated earlier, I converted my sound to .m4a (there are internet services for this kind of conversion) and included it in the Standalone Copy Files section. I have this in the OpenStack handler of the main stack of the app (there is only one stack). put specialFolderPath("resources") & ?/MySound.m4a" into tBeepPath set the beepsound to tBeepPath beep 3 ? as a test I ran it on the iPhone simulator and it did beep! I have something wrong further on in my app when the beep is supposed to react as an alarm, but it isn?t the sound itself. I am struggling with these additional problems and will almost certainly be asking for more advice shortly! Thanks again for your help. Graham > On 19 Apr 2020, at 14:13, Klaus major-k via use-livecode wrote: > > Hi Graham, > >> Am 19.04.2020 um 13:46 schrieb Graham Samuel via use-livecode : >> >> Thanks Klaus. I am parking a sound in there and obviously only reading it, so should be OK. > > yep! > >> My mysterious unresponsiveness in my app must be something else... > > Hm, what fileformat are you using and what is the syntax in your script? > >> Keep safe > > You BET! :-) > >> Graham > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > 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 klaus at major-k.de Sun Apr 19 12:48:23 2020 From: klaus at major-k.de (Klaus major-k) Date: Sun, 19 Apr 2020 18:48:23 +0200 Subject: Where do copied files go on mobile? In-Reply-To: References: <43407E21-2A48-4875-A1BA-5F280D3715E9@mac.com> Message-ID: Hi Graham, > Am 19.04.2020 um 18:37 schrieb Graham Samuel via use-livecode : > > Hi Klaus > > Thanks for your continued interest. In fact I got it working! As stated earlier, I converted my sound to .m4a (there are internet services for this kind of conversion) and included it in the Standalone Copy Files section. > I have this in the OpenStack handler of the main stack of the app (there is only one stack). > put specialFolderPath("resources") & ?/MySound.m4a" into tBeepPath > set the beepsound to tBeepPath > beep 3 ? as a test > I ran it on the iPhone simulator and it did beep! great! :-) > I have something wrong further on in my app when the beep is supposed to react as an alarm, but it isn?t the sound itself. > I am struggling with these additional problems and will almost certainly be asking for more advice shortly! > Thanks again for your help. You are very welcome! I am the lucky guy who does not own (and need!) any mobile device, yes, no cell-phone, that's me. But since I sleep with the LC dictionary under my pillow, I know whatever syntax is neccessary for mobile, just cannot test it by myself. :-D Some years ago I have been coaching/mentoring a complete LC newbie and a couple of months later he had a cool app with database etc. in the Apple and Google store. :-) > Graham Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From livfoss at mac.com Sun Apr 19 13:34:58 2020 From: livfoss at mac.com (Graham Samuel) Date: Sun, 19 Apr 2020 19:34:58 +0200 Subject: What makes everything on a card unresponsive? Message-ID: <42530B9F-03DD-4465-83A2-28F19F8D0098@mac.com> Sorry to trouble this list yet again, but the main screen (in fact the the first card) in my mobile app has a ?settings? graphic which acts as a button which to take the user to a ?menu? card. That card contains buttons and graphics which lead on (via very simple MouseUp handlers) to specialised menu actions, each on its own card. One can return to the main screen from each of these action cards. When I run my app in the iPhone simulator, the activities on the main screen all work, with buttons, fields etc. When I click on the ?go to menu card? graphic, that always works. But when I get there, sometimes some of the menu buttons work, but sometimes the whole card becomes unresponsive, so that none of the buttons work, not even a ?cancel? button whose job is just to go back to the main screen. This didn?t used to happen, so I have messed up somehow. But my question is, what sort of action would make an entire card unresponsive? Maybe the app is stuck doing something I can?t see, but what could it be? Any ideas welcome, including a debugging strategy. Graham From klaus at major-k.de Sun Apr 19 14:02:29 2020 From: klaus at major-k.de (Klaus major-k) Date: Sun, 19 Apr 2020 20:02:29 +0200 Subject: What makes everything on a card unresponsive? In-Reply-To: <42530B9F-03DD-4465-83A2-28F19F8D0098@mac.com> References: <42530B9F-03DD-4465-83A2-28F19F8D0098@mac.com> Message-ID: Hi Graham, > Am 19.04.2020 um 19:34 schrieb Graham Samuel via use-livecode : > > Sorry to trouble this list yet again, but the main screen (in fact the the first card) in my mobile app has a ?settings? graphic which acts as a button which to take the user to a ?menu? card. That card contains buttons and graphics which lead on (via very simple MouseUp handlers) to specialised menu actions, each on its own card. One can return to the main screen from each of these action cards. > > When I run my app in the iPhone simulator, the activities on the main screen all work, with buttons, fields etc. When I click on the ?go to menu card? graphic, that always works. But when I get there, sometimes some of the menu buttons work, but sometimes the whole card becomes unresponsive, so that none of the buttons work, not even a ?cancel? button whose job is just to go back to the main screen. This didn?t used to happen, so I have messed up somehow. But my question is, what sort of action would make an entire card unresponsive? Maybe the app is stuck doing something I can?t see, but what could it be? > > Any ideas welcome, including a debugging strategy. > > Graham any script? card, front, back, behavior? A loop that can get stuck? Accessing a file that is not there? Maybe you can post your card script of the "menu card". Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From jacque at hyperactivesw.com Sun Apr 19 14:06:28 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 19 Apr 2020 13:06:28 -0500 Subject: LC 9.6.0 (dp4) - cannot set the URL of an iOS native browser if it was previously set to empty In-Reply-To: <9FED9CD9-CC2E-46F4-A109-D79EC41A32D2@me.com> References: <9FED9CD9-CC2E-46F4-A109-D79EC41A32D2@me.com> Message-ID: <7f6bb578-635e-fd8a-7e06-a2bb6844a5e8@hyperactivesw.com> This looks a lot like the bug in the browser widget in LC dp3 which was fixed for dp4: On 4/18/20 12:52 PM, HENRY LOWE via use-livecode wrote: > Took me some time to track this one down, so I thought that it might be helpful to know in advance: > > With LC 9.6.0 (dp4) after setting the url of the iOS native browser (not the Browser Widget) to empty, one cannot set the browser?s url to another value. > > Example: > > MobileControlSet "rkWebView","URL?,empty > > MobileControlSet "rkWebView?,?https://www.apple.com? - page fails to load (blank display and browser url is empty) > > This has been confirmed as a regression: https://quality.livecode.com/show_bug.cgi?id=22688 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From livfoss at mac.com Sun Apr 19 15:16:39 2020 From: livfoss at mac.com (Graham Samuel) Date: Sun, 19 Apr 2020 21:16:39 +0200 Subject: What makes everything on a card unresponsive? In-Reply-To: References: Message-ID: <0DEEE7DB-3F39-4FC6-AB48-7913A596B057@mac.com> Hard to extract, but I have a new idea - what if the message queue is being swamped? I have flimsy evidence that the simulator is generating locationChanged message (odd, because I don?t think it really has changed). Can I interrogate the queue? Just feeling my way. Graham Sent from my iPhone > On 19 Apr 2020, at 20:02, Klaus major-k via use-livecode wrote: > > ?Hi Graham, > >> Am 19.04.2020 um 19:34 schrieb Graham Samuel via use-livecode : >> >> Sorry to trouble this list yet again, but the main screen (in fact the the first card) in my mobile app has a ?settings? graphic which acts as a button which to take the user to a ?menu? card. That card contains buttons and graphics which lead on (via very simple MouseUp handlers) to specialised menu actions, each on its own card. One can return to the main screen from each of these action cards. >> >> When I run my app in the iPhone simulator, the activities on the main screen all work, with buttons, fields etc. When I click on the ?go to menu card? graphic, that always works. But when I get there, sometimes some of the menu buttons work, but sometimes the whole card becomes unresponsive, so that none of the buttons work, not even a ?cancel? button whose job is just to go back to the main screen. This didn?t used to happen, so I have messed up somehow. But my question is, what sort of action would make an entire card unresponsive? Maybe the app is stuck doing something I can?t see, but what could it be? >> >> Any ideas welcome, including a debugging strategy. >> >> Graham > > any script? card, front, back, behavior? > A loop that can get stuck? > Accessing a file that is not there? > > Maybe you can post your card script of the "menu card". > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > 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 klaus at major-k.de Sun Apr 19 15:28:59 2020 From: klaus at major-k.de (Klaus major-k) Date: Sun, 19 Apr 2020 21:28:59 +0200 Subject: What makes everything on a card unresponsive? In-Reply-To: <0DEEE7DB-3F39-4FC6-AB48-7913A596B057@mac.com> References: <0DEEE7DB-3F39-4FC6-AB48-7913A596B057@mac.com> Message-ID: <9BA815D5-6086-4E07-9764-B85DAD4DEF25@major-k.de> Hi Graham, > Am 19.04.2020 um 21:16 schrieb Graham Samuel via use-livecode : > > Hard to extract, but I have a new idea - what if the message queue is being swamped? I have flimsy evidence that the simulator is generating locationChanged message (odd, because I don?t think it really has changed). Can I interrogate the queue? not sure, but I don't think so. > Just feeling my way. What if you comment out the "locationchanged" handler? > Graham Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From bvlahos at mac.com Sun Apr 19 16:34:20 2020 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 19 Apr 2020 13:34:20 -0700 Subject: md5Digest gives different results Mac vs Windows LC 9.5.1 Message-ID: Before I report this as a bug, please confirm I?m not doing something stupid. LiveCode 9.5.1 Indy In the message box put the following: put the md5Digest of "LiveCode" I get the expected result on Macintosh but a different result on Windows. Thank you, Bill Vlahos From matthias_livecode_150811 at m-r-d.de Sun Apr 19 16:51:41 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sun, 19 Apr 2020 22:51:41 +0200 Subject: md5Digest gives different results Mac vs Windows LC 9.5.1 In-Reply-To: References: Message-ID: <1AB8FC8D-288E-4A20-9D86-B355569298EE@m-r-d.de> I think this is, because Mac uses Mac Roman and Windows ISO encoding. Or am i wrong? - Matthias Rebbe Life Is Too Short For Boring Code > Am 19.04.2020 um 22:34 schrieb Bill Vlahos via use-livecode : > > Before I report this as a bug, please confirm I?m not doing something stupid. > > LiveCode 9.5.1 Indy > > In the message box put the following: > put the md5Digest of "LiveCode" > > > I get the expected result on Macintosh but a different result on Windows. > > Thank you, > Bill Vlahos > _______________________________________________ > 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 bvlahos at mac.com Sun Apr 19 17:12:48 2020 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 19 Apr 2020 14:12:48 -0700 Subject: md5Digest gives different results Mac vs Windows LC 9.5.1 In-Reply-To: <1AB8FC8D-288E-4A20-9D86-B355569298EE@m-r-d.de> References: <1AB8FC8D-288E-4A20-9D86-B355569298EE@m-r-d.de> Message-ID: <55EA231C-ADAD-49C2-949D-C1090D8A2871@mac.com> Well earlier versions of LiveCode gave the same results on Mac and Windows. Bill > On Apr 19, 2020, at 1:51 PM, matthias rebbe via use-livecode wrote: > > I think this is, because Mac uses Mac Roman and Windows ISO encoding. > > Or am i wrong? > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 19.04.2020 um 22:34 schrieb Bill Vlahos via use-livecode : >> >> Before I report this as a bug, please confirm I?m not doing something stupid. >> >> LiveCode 9.5.1 Indy >> >> In the message box put the following: >> put the md5Digest of "LiveCode" >> >> >> I get the expected result on Macintosh but a different result on Windows. >> >> Thank you, >> Bill Vlahos >> _______________________________________________ >> 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 Sun Apr 19 17:15:31 2020 From: brian at milby7.com (Brian Milby) Date: Sun, 19 Apr 2020 17:15:31 -0400 Subject: md5Digest gives different results Mac vs Windows LC 9.5.1 In-Reply-To: <55EA231C-ADAD-49C2-949D-C1090D8A2871@mac.com> References: <1AB8FC8D-288E-4A20-9D86-B355569298EE@m-r-d.de> <55EA231C-ADAD-49C2-949D-C1090D8A2871@mac.com> Message-ID: Try this: put 0 into x;put binaryDecode("h32",the md5digest of "LiveCode",x);put x You will get the same on both platforms. On Sun, Apr 19, 2020 at 5:13 PM Bill Vlahos via use-livecode < use-livecode at lists.runrev.com> wrote: > Well earlier versions of LiveCode gave the same results on Mac and Windows. > > Bill > > > On Apr 19, 2020, at 1:51 PM, matthias rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I think this is, because Mac uses Mac Roman and Windows ISO encoding. > > > > Or am i wrong? > > > > - > > Matthias Rebbe > > Life Is Too Short For Boring Code > > > >> Am 19.04.2020 um 22:34 schrieb Bill Vlahos via use-livecode < > use-livecode at lists.runrev.com>: > >> > >> Before I report this as a bug, please confirm I?m not doing something > stupid. > >> > >> LiveCode 9.5.1 Indy > >> > >> In the message box put the following: > >> put the md5Digest of "LiveCode" > >> > >> > >> I get the expected result on Macintosh but a different result on > Windows. > >> > >> Thank you, > >> Bill Vlahos > >> _______________________________________________ > >> 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 bvlahos at mac.com Sun Apr 19 20:14:59 2020 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 19 Apr 2020 17:14:59 -0700 Subject: md5Digest gives different results Mac vs Windows LC 9.5.1 In-Reply-To: References: <1AB8FC8D-288E-4A20-9D86-B355569298EE@m-r-d.de> <55EA231C-ADAD-49C2-949D-C1090D8A2871@mac.com> Message-ID: <5DC30077-7EAF-4495-971E-2AB43EA85F2F@mac.com> The LiveCode Dictionary states: When generating a messageDigest for a string, it is a good idea to encode it to binary data using the textEncode <> function. Otherwise, the messageDigest could be different, depending on the platform <> on which your application is running. However, I tried their example in the Dictionary but it still gives different values on Macintosh vs. Windows: put textEncode("My very large data", "UTF-8") into tOriginal put messageDigest(tOriginal, "SHA3-256") into tChecksum Why would the platform calculate the hashes differently? Why did older versions of LiveCode calculate it the same? Regards, Bill Vlahos > On Apr 19, 2020, at 2:15 PM, Brian Milby via use-livecode wrote: > > Try this: > > put 0 into x;put binaryDecode("h32",the md5digest of "LiveCode",x);put x > > You will get the same on both platforms. > > On Sun, Apr 19, 2020 at 5:13 PM Bill Vlahos via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Well earlier versions of LiveCode gave the same results on Mac and Windows. >> >> Bill >> >>> On Apr 19, 2020, at 1:51 PM, matthias rebbe via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> I think this is, because Mac uses Mac Roman and Windows ISO encoding. >>> >>> Or am i wrong? >>> >>> - >>> Matthias Rebbe >>> Life Is Too Short For Boring Code >>> >>>> Am 19.04.2020 um 22:34 schrieb Bill Vlahos via use-livecode < >> use-livecode at lists.runrev.com>: >>>> >>>> Before I report this as a bug, please confirm I?m not doing something >> stupid. >>>> >>>> LiveCode 9.5.1 Indy >>>> >>>> In the message box put the following: >>>> put the md5Digest of "LiveCode" >>>> >>>> >>>> I get the expected result on Macintosh but a different result on >> Windows. >>>> >>>> Thank you, >>>> Bill Vlahos >>>> _______________________________________________ >>>> 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 >> > _______________________________________________ > 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 Sun Apr 19 20:26:39 2020 From: monte at appisle.net (Monte Goulding) Date: Mon, 20 Apr 2020 10:26:39 +1000 Subject: md5Digest gives different results Mac vs Windows LC 9.5.1 In-Reply-To: <5DC30077-7EAF-4495-971E-2AB43EA85F2F@mac.com> References: <1AB8FC8D-288E-4A20-9D86-B355569298EE@m-r-d.de> <55EA231C-ADAD-49C2-949D-C1090D8A2871@mac.com> <5DC30077-7EAF-4495-971E-2AB43EA85F2F@mac.com> Message-ID: <784B50EA-2EF2-47A6-A14B-2188C74F2876@appisle.net> Hi Bill As Brian said LiveCode is not calculating different values on different platforms. You can?t just look at the output in a text field and compare though. The function returns binary data so needs to be hex encoded for cross platform comparison. If you put it into a field then LiveCode will do its normal binary data to string conversion which uses a different text encoding on each platform so it will look different in the field. To compare cross platform use: get binaryDecode("h*", messageDigest(textEncode("My very large data", "UTF-8"), "SHA3-256"), tHash); put tHash Cheers Monte > On 20 Apr 2020, at 10:14 am, Bill Vlahos via use-livecode wrote: > > The LiveCode Dictionary states: > When generating a messageDigest for a string, it is a good idea to encode it to binary data using the textEncode <> function. Otherwise, the messageDigest could be different, depending on the platform <> on which your application is running. > > However, I tried their example in the Dictionary but it still gives different values on Macintosh vs. Windows: > put textEncode("My very large data", "UTF-8") into tOriginal > put messageDigest(tOriginal, "SHA3-256") into tChecksum > > Why would the platform calculate the hashes differently? > Why did older versions of LiveCode calculate it the same? From livfoss at mac.com Mon Apr 20 05:19:12 2020 From: livfoss at mac.com (Graham Samuel) Date: Mon, 20 Apr 2020 11:19:12 +0200 Subject: Native Switch Button Widget [was: Re: What makes everything on a card unresponsive?] In-Reply-To: <9BA815D5-6086-4E07-9764-B85DAD4DEF25@major-k.de> References: <0DEEE7DB-3F39-4FC6-AB48-7913A596B057@mac.com> <9BA815D5-6086-4E07-9764-B85DAD4DEF25@major-k.de> Message-ID: <53AB346B-9ECE-4A00-BDDE-E02400C13AB3@mac.com> My ideas were wrong. What I think now was that the whole of my app was halted by the existence of a Native Switch Button widget on the card I was trying to go to. I am not sure if I have time to prepare a proper bug report, but i found it by a process of elimination of all other objects on the card. Of course the widget might work in other circumstances. I will try to do a few more tests. Has anyone any experience of using this widget successfully? Perhaps I need to start another conversation about these Native-look widgets. Graham > On 19 Apr 2020, at 21:28, Klaus major-k via use-livecode wrote: > > Hi Graham, > >> Am 19.04.2020 um 21:16 schrieb Graham Samuel via use-livecode : >> >> Hard to extract, but I have a new idea - what if the message queue is being swamped? I have flimsy evidence that the simulator is generating locationChanged message (odd, because I don?t think it really has changed). Can I interrogate the queue? > > not sure, but I don't think so. > >> Just feeling my way. > > What if you comment out the "locationchanged" handler? > >> Graham > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > 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 livfoss at mac.com Mon Apr 20 06:28:57 2020 From: livfoss at mac.com (Graham Samuel) Date: Mon, 20 Apr 2020 12:28:57 +0200 Subject: Issues with Mobile Native controls Message-ID: I?ve recently bought Mobile Native Essential pack in a slightly desperate attempt to get my mobile app look more native, but I?ve had trouble with the bits I?ve used: Labels - sometimes are not visible even when the vis is definitely true; strange scheme which means that the name you give it is the same as the name displayed, leading to very much deprecated names with spaces in them. Switch - caused a (simulated) version of my app to seize up. As a test, I tried to open a card containing just that one object and it zonked the app. I will be reporting this, but of course wonder it it?s something I?ve done. Outside the paid-for pack, I also have issues with the native button (doesn?t look all that native in iOS) and the navigation bar (eccentric choice of icons IMHO, and no apparent way of adding to them). I don?t really want to moan but I would like to see some improvement. Is this list a good place to discuss these issues? Graham From brian at milby7.com Mon Apr 20 09:05:28 2020 From: brian at milby7.com (Brian Milby) Date: Mon, 20 Apr 2020 09:05:28 -0400 Subject: Issues with Mobile Native controls In-Reply-To: References: Message-ID: Icons can be updated to anything you want. See this thread about the SVG Icon Tool that I developed. The package on my website has a large number of icons included that you can browse and combine into your own Icon Family. http://forums.livecode.com/viewtopic.php?f=10&t=30411 Once you change the default family, then those icons are visible from the chooser in the PI. On Mon, Apr 20, 2020 at 6:30 AM Graham Samuel via use-livecode < use-livecode at lists.runrev.com> wrote: > I?ve recently bought Mobile Native Essential pack in a slightly desperate > attempt to get my mobile app look more native, but I?ve had trouble with > the bits I?ve used: > > Labels - sometimes are not visible even when the vis is definitely true; > strange scheme which means that the name you give it is the same as the > name displayed, leading to very much deprecated names with spaces in them. > > Switch - caused a (simulated) version of my app to seize up. As a test, I > tried to open a card containing just that one object and it zonked the app. > I will be reporting this, but of course wonder it it?s something I?ve done. > > Outside the paid-for pack, I also have issues with the native button > (doesn?t look all that native in iOS) and the navigation bar (eccentric > choice of icons IMHO, and no apparent way of adding to them). > > I don?t really want to moan but I would like to see some improvement. Is > this list a good place to discuss these issues? > > Graham > _______________________________________________ > 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 livfoss at mac.com Mon Apr 20 09:39:35 2020 From: livfoss at mac.com (Graham Samuel) Date: Mon, 20 Apr 2020 15:39:35 +0200 Subject: Issues with Mobile Native controls In-Reply-To: References: Message-ID: Thanks Brian, that looks really useful. I am looking for icons that are tools, such as for settings (often a cogwheel or a set of horizontal bars) and stuff like that - anyway I will have a good look. I am very pleased that the system is more flexible than I first thought, since it isn?t mentioned in the dictionary entry for the Navigation Bar. Maybe I can report this as a needed documentation enhancement. As you have noticed from my earlier mails, it is a tough job for a mobile newbie (if you know what I mean!) to find out how to make his or her app look like a native product. I am still a very long way from this. Cheers Graham > On 20 Apr 2020, at 15:05, Brian Milby via use-livecode wrote: > > Icons can be updated to anything you want. See this thread about the SVG > Icon Tool that I developed. The package on my website has a large number > of icons included that you can browse and combine into your own Icon Family. > > http://forums.livecode.com/viewtopic.php?f=10&t=30411 > > Once you change the default family, then those icons are visible from the > chooser in the PI. > > On Mon, Apr 20, 2020 at 6:30 AM Graham Samuel via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I?ve recently bought Mobile Native Essential pack in a slightly desperate >> attempt to get my mobile app look more native, but I?ve had trouble with >> the bits I?ve used: >> >> Labels - sometimes are not visible even when the vis is definitely true; >> strange scheme which means that the name you give it is the same as the >> name displayed, leading to very much deprecated names with spaces in them. >> >> Switch - caused a (simulated) version of my app to seize up. As a test, I >> tried to open a card containing just that one object and it zonked the app. >> I will be reporting this, but of course wonder it it?s something I?ve done. >> >> Outside the paid-for pack, I also have issues with the native button >> (doesn?t look all that native in iOS) and the navigation bar (eccentric >> choice of icons IMHO, and no apparent way of adding to them). >> >> I don?t really want to moan but I would like to see some improvement. Is >> this list a good place to discuss these issues? >> >> Graham >> _______________________________________________ >> 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 livfoss at mac.com Mon Apr 20 10:09:22 2020 From: livfoss at mac.com (Graham Samuel) Date: Mon, 20 Apr 2020 16:09:22 +0200 Subject: Issues with Mobile Native controls In-Reply-To: References: Message-ID: <3539CF8A-9775-44D0-B224-9AF1AF9C74D8@mac.com> Just a quick addition - it?s a whole world out there, isn?t it? I am so behind the curve? anyway very useful. I am not sure why so many icon designers go for chunky designs - it?s as if they preferred bold type over regular. The little icons at the top and bottom of the screen in your own tool are more my style! But I suppose that?s just a personal preference. Thanks again for all this. Graham > On 20 Apr 2020, at 15:39, Graham Samuel via use-livecode wrote: > > Thanks Brian, that looks really useful. I am looking for icons that are tools, such as for settings (often a cogwheel or a set of horizontal bars) and stuff like that - anyway I will have a good look. I am very pleased that the system is more flexible than I first thought, since it isn?t mentioned in the dictionary entry for the Navigation Bar. Maybe I can report this as a needed documentation enhancement. As you have noticed from my earlier mails, it is a tough job for a mobile newbie (if you know what I mean!) to find out how to make his or her app look like a native product. I am still a very long way from this. > > Cheers > > Graham > >> On 20 Apr 2020, at 15:05, Brian Milby via use-livecode wrote: >> >> Icons can be updated to anything you want. See this thread about the SVG >> Icon Tool that I developed. The package on my website has a large number >> of icons included that you can browse and combine into your own Icon Family. >> >> http://forums.livecode.com/viewtopic.php?f=10&t=30411 >> >> Once you change the default family, then those icons are visible from the >> chooser in the PI. >> >> On Mon, Apr 20, 2020 at 6:30 AM Graham Samuel via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> I?ve recently bought Mobile Native Essential pack in a slightly desperate >>> attempt to get my mobile app look more native, but I?ve had trouble with >>> the bits I?ve used: >>> >>> Labels - sometimes are not visible even when the vis is definitely true; >>> strange scheme which means that the name you give it is the same as the >>> name displayed, leading to very much deprecated names with spaces in them. >>> >>> Switch - caused a (simulated) version of my app to seize up. As a test, I >>> tried to open a card containing just that one object and it zonked the app. >>> I will be reporting this, but of course wonder it it?s something I?ve done. >>> >>> Outside the paid-for pack, I also have issues with the native button >>> (doesn?t look all that native in iOS) and the navigation bar (eccentric >>> choice of icons IMHO, and no apparent way of adding to them). >>> >>> I don?t really want to moan but I would like to see some improvement. Is >>> this list a good place to discuss these issues? >>> >>> Graham >>> _______________________________________________ >>> 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 panos.merakos at livecode.com Mon Apr 20 13:13:08 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 20 Apr 2020 20:13:08 +0300 Subject: [ANN] This Week in LiveCode 222 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 #222 here: https://bit.ly/2VCpWo4 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 jacque at hyperactivesw.com Mon Apr 20 13:42:22 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Apr 2020 12:42:22 -0500 Subject: Issues with Mobile Native controls In-Reply-To: References: Message-ID: <17198af1030.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I've been using Brian's tool a lot lately, it sure beats doing all that work yourself. I export my new icon family to a file and then import the array file into a custom property of the stack. When the app starts up it sets the icon family to the array and it just works. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 20, 2020 8:07:53 AM Brian Milby via use-livecode wrote: > Icons can be updated to anything you want. See this thread about the SVG > Icon Tool that I developed. The package on my website has a large number > of icons included that you can browse and combine into your own Icon Family. > > http://forums.livecode.com/viewtopic.php?f=10&t=30411 > > Once you change the default family, then those icons are visible from the > chooser in the PI. > > On Mon, Apr 20, 2020 at 6:30 AM Graham Samuel via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I?ve recently bought Mobile Native Essential pack in a slightly desperate >> attempt to get my mobile app look more native, but I?ve had trouble with >> the bits I?ve used: >> >> Labels - sometimes are not visible even when the vis is definitely true; >> strange scheme which means that the name you give it is the same as the >> name displayed, leading to very much deprecated names with spaces in them. >> >> Switch - caused a (simulated) version of my app to seize up. As a test, I >> tried to open a card containing just that one object and it zonked the app. >> I will be reporting this, but of course wonder it it?s something I?ve done. >> >> Outside the paid-for pack, I also have issues with the native button >> (doesn?t look all that native in iOS) and the navigation bar (eccentric >> choice of icons IMHO, and no apparent way of adding to them). >> >> I don?t really want to moan but I would like to see some improvement. Is >> this list a good place to discuss these issues? >> >> Graham >> _______________________________________________ >> 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 Apr 20 13:53:15 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 20 Apr 2020 17:53:15 +0000 Subject: Issues with Mobile Native controls In-Reply-To: <3539CF8A-9775-44D0-B224-9AF1AF9C74D8@mac.com> References: <3539CF8A-9775-44D0-B224-9AF1AF9C74D8@mac.com> Message-ID: <529261D0-8E77-4652-8B39-F5720DA37F00@hindu.org> Some thoughts on icons. I have a focus group of about 10 people, mostly in London, one older woman in France. The "old" FontAwesome as used by Livecode out of the box (I have yet to explore Brian option for bringing in your own or use the "new" FontAwesome.... While the icon are a bit bold (="Clunky) there are advantages for a UI point of view. 1) they are recognizable, well known. We had a discussion in the my focus group about making the icons of the home screen of SivaSiva (will be out in the stores in a few day) more elegant, one advocate said "rather those use those cartoon icons can't we find something elegant, e.g. for Listen instead of Headphone, find something else? " I wanted to encourage everyone and said "Sure, send me some examples." (SKYPE meeting with 10 people) Others were quiet. 2) after the meeting, on Whatapp, I get several private messages "Oh, why change the icons? When I go the home screen I want to know exactly what I have navigating to. Why make it obscure?" 3) the Fellow who wanted "elegant" sent the five icons from Ayurveda represent 5 element (earth, air, fire, water, space) that had nothing to do /no relationship to that navigation. I know Apple and Google have designs that are looking for the "Wow, new look!" ... but frankly e.g. their flat new button style (we used in the web for a recent UI) ... people did realize it was a button! To make such a subtle distinction (graphically) between a "touch link" and "label" gets you nothing but N number of people not clinking! So, you can crazy doing "native UI-platform specific" OR you design stuff that "works" (for users) and use it on both Apple and Android, you can focus on content instead of hours making the UI match something that Apple or Google is happy with. They are not the authorities. Your users are. Disclaimers: I'm not saying that UI pattern of the Native interface of Human Interface Guideline (Apple, and is constantly change) of Material Design (Google) are not good, they are. But those who have lean budgets, you can just ask you clients and associates. "Does this work for you?" If that answer is "yes" Your design is just as good... My two mangos from Hawaii BR ?On 4/20/20, 4:11 AM, "use-livecode on behalf of Graham Samuel via use-livecode" wrote: Just a quick addition - it?s a whole world out there, isn?t it? I am so behind the curve? anyway very useful. I am not sure why so many icon designers go for chunky designs - it?s as if they preferred bold type over regular. The little icons at the top and bottom of the screen in your own tool are more my style! But I suppose that?s just a personal preference. Thanks again for all this. Graham From mark at canelasoftware.com Mon Apr 20 14:00:47 2020 From: mark at canelasoftware.com (Mark Talluto) Date: Mon, 20 Apr 2020 11:00:47 -0700 Subject: Where do copied files go on mobile? In-Reply-To: References: <43407E21-2A48-4875-A1BA-5F280D3715E9@mac.com> Message-ID: <82C7870B-1D60-40CB-AB31-7CCBB785ECE4@canelasoftware.com> > On Apr 19, 2020, at 9:37 AM, Graham Samuel via use-livecode wrote: > > Hi Klaus > > Thanks for your continued interest. In fact I got it working! As stated earlier, I converted my sound to .m4a (there are internet services for this kind of conversion) and included it in the Standalone Copy Files section. > > I have this in the OpenStack handler of the main stack of the app (there is only one stack). > > put specialFolderPath("resources") & ?/MySound.m4a" into tBeepPath > set the beepsound to tBeepPath > beep 3 ? as a test > > I ran it on the iPhone simulator and it did beep! I have something wrong further on in my app when the beep is supposed to react as an alarm, but it isn?t the sound itself. > > I am struggling with these additional problems and will almost certainly be asking for more advice shortly! > > Thanks again for your help. > > Graham Hi Graham, I am working on a simple mobile app that is using the sensors and playback of sound as you are. Using .m4a is perfect for mobile. The code to play your sound is: play tPath ?tPath is the full path to your sound file. My file structure is as follows: A bunch of iOS related directories (which you can ignore) myApp.app/sounds/lambo/start.m4a I use the following function to build my path to that sound file: function csi_soundDirectory local tPath --USEFUL FOR GETTING THE ROOT FOLDER OF THIS APP set the itemDel to slash put specialFolderPath("resources") & slash into tPath return tPath & "/sounds/" & sVehicle ?in this example sVehicle contains ?lambo" end csi_soundDirectory Best regards, Mark Talluto livecloud.io nursenotes.net canelasoftware.com From mark at canelasoftware.com Mon Apr 20 14:16:07 2020 From: mark at canelasoftware.com (Mark Talluto) Date: Mon, 20 Apr 2020 11:16:07 -0700 Subject: Where do copied files go on mobile? In-Reply-To: <82C7870B-1D60-40CB-AB31-7CCBB785ECE4@canelasoftware.com> References: <43407E21-2A48-4875-A1BA-5F280D3715E9@mac.com> <82C7870B-1D60-40CB-AB31-7CCBB785ECE4@canelasoftware.com> Message-ID: <34BAA991-A03B-4783-AE04-43A873D3A244@canelasoftware.com> On Apr 20, 2020, at 11:00 AM, Mark Talluto wrote: > > function csi_soundDirectory > local tPath > > --USEFUL FOR GETTING THE ROOT FOLDER OF THIS APP > set the itemDel to slash > put specialFolderPath("resources") & slash into tPath > return tPath & "/sounds/" & sVehicle ?in this example sVehicle contains ?lambo" > end csi_soundDirectory This function had an extra slash that is not needed. Here is the updated function: function csi_soundDirectory local tPath --USEFUL FOR GETTING THE ROOT FOLDER OF THIS APP set the itemDel to slash put specialFolderPath("resources") into tPath return tPath & "/sounds/" & sVehicle ?in this example sVehicle contains ?lambo" end csi_soundDirectory Best regards, Mark Talluto livecloud.io nursenotes.net canelasoftware.com From mark at canelasoftware.com Mon Apr 20 14:25:40 2020 From: mark at canelasoftware.com (Mark Talluto) Date: Mon, 20 Apr 2020 11:25:40 -0700 Subject: What makes everything on a card unresponsive? In-Reply-To: <42530B9F-03DD-4465-83A2-28F19F8D0098@mac.com> References: <42530B9F-03DD-4465-83A2-28F19F8D0098@mac.com> Message-ID: <3063F6AA-CBA9-43FB-8E83-576DAC62CB9C@canelasoftware.com> On Apr 19, 2020, at 10:34 AM, Graham Samuel via use-livecode wrote: > > Any ideas welcome, including a debugging strategy. I use: --quick a dirty value check answer ?VariableName:? && tVariable ?did my code get this far answer ?Handler name, label that may provide extra context? ?breakpoints Sometimes the remote debugger works and sometimes it doesn?t. When it does, you breakpoint will fire in your app and show up in the LC IDE ?console You can open the console app on your Mac. On the left side of the console, you will see your plugged in device. Click on that. Any empty puts like: put ?My code got this far? These will output to your console. ?debug field I put a field called ?debug? on a card I am working on. I can output what I want to that field when I want to check the state of things. These are some tools I use to work on mobile. Best regards, Mark Talluto livecloud.io nursenotes.net canelasoftware.com From ambassador at fourthworld.com Mon Apr 20 14:46:35 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 20 Apr 2020 11:46:35 -0700 Subject: Issues with Mobile Native controls In-Reply-To: References: Message-ID: Graham Samuel wrote: > I?ve recently bought Mobile Native Essential pack... Curious, I looked it up. Who is "LiveCode Factory" (the vendor), and how is anything labeled "essential" not in the base install? Is it essential or 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 matthias_livecode_150811 at m-r-d.de Mon Apr 20 15:05:24 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 20 Apr 2020 21:05:24 +0200 Subject: Issues with Mobile Native controls In-Reply-To: References: Message-ID: <7EFC41AE-61D0-47FF-A87F-D125CECE21D0@m-r-d.de> It?s from Todd Fabacher and his team. And here?s a link to a discussion about it in this list https://www.mail-archive.com/use-livecode at lists.runrev.com/msg93988.html - Matthias Rebbe Life Is Too Short For Boring Code > Am 20.04.2020 um 20:52 schrieb improve-revolution-010908 at m-r-d.de: > > It?s from Todd Fabacher and his team. > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 20.04.2020 um 20:46 schrieb Richard Gaskin via use-livecode : >> >> Graham Samuel wrote: >> >>> I?ve recently bought Mobile Native Essential pack... >> >> Curious, I looked it up. >> >> Who is "LiveCode Factory" (the vendor), and how is anything labeled "essential" not in the base install? Is it essential or 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 >> >> _______________________________________________ >> 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 > - Matthias Rebbe Life Is Too Short For Boring Code From ahsoftware at sonic.net Mon Apr 20 15:19:29 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 20 Apr 2020 12:19:29 -0700 Subject: Issues with Mobile Native controls In-Reply-To: <529261D0-8E77-4652-8B39-F5720DA37F00@hindu.org> References: <3539CF8A-9775-44D0-B224-9AF1AF9C74D8@mac.com> <529261D0-8E77-4652-8B39-F5720DA37F00@hindu.org> Message-ID: <5925a790-61d5-fad1-d37c-f4bdf406ac0a@sonic.net> On 4/20/20 10:53 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > I know Apple and Google have designs that are looking for the "Wow, new look!" ... but frankly e.g. their flat new button style (we used in the web for a recent UI) ... people did realize it was a button! To make such a subtle distinction (graphically) between a "touch link" and "label" gets you nothing but N number of people not clinking! One of the basic tenets of UX design is "make buttons look like buttons" -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Mon Apr 20 15:28:29 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 20 Apr 2020 12:28:29 -0700 Subject: Issues with Mobile Native controls In-Reply-To: <7EFC41AE-61D0-47FF-A87F-D125CECE21D0@m-r-d.de> References: <7EFC41AE-61D0-47FF-A87F-D125CECE21D0@m-r-d.de> Message-ID: <65fbaea5-6626-95ff-092a-d1a02b581132@sonic.net> On 4/20/20 12:05 PM, matthias rebbe via use-livecode wrote: > It?s from Todd Fabacher and his team. > > And here?s a link to a discussion about it in this list > > https://www.mail-archive.com/use-livecode at lists.runrev.com/msg93988.html OK - now I looked as well. Still not sure what that is. The description says "This package is currently in beta, all purchasers will receive any updates available up to the full version 1 release, free". There's only one review, and that one is from two years ago and asks as question that hasn't been answered. Still in beta at version 0.5.0? -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Mon Apr 20 15:30:49 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 20 Apr 2020 19:30:49 +0000 Subject: Stack Files Message-ID: <8FE8F3EC-53B9-44EE-878F-07368DFC9AF5@iotecdigital.com> I am beginning to move a lot of things over to script only stacks to be used by behaviors. I created a script only stack from an existing object?s property, and it was working fine, but after closing and re-opening the stack, the behavior doesn?t work. When I try to re-select the behavior for the object, it isn?t in the list of objects anymore. Do I have to add EVERY SINGLE script only stack I want to use as a behavior to the stack files?? That would SUCK! Bob S From matthias_livecode_150811 at m-r-d.de Mon Apr 20 15:43:50 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 20 Apr 2020 21:43:50 +0200 Subject: Issues with Mobile Native controls In-Reply-To: <65fbaea5-6626-95ff-092a-d1a02b581132@sonic.net> References: <7EFC41AE-61D0-47FF-A87F-D125CECE21D0@m-r-d.de> <65fbaea5-6626-95ff-092a-d1a02b581132@sonic.net> Message-ID: <5DEA650D-31D9-4879-BEBC-89FBF256BA36@m-r-d.de> I?ve purchased it already in 2018. In my account it shows now version 1.0.0, but the download is still the same beta as the one from 2018 when it was released. The files are still from 2018. Maybe the people at LC did not update the d/l link. I will ask Heather by e-mail tomorrow. - Matthias Rebbe Life Is Too Short For Boring Code > Am 20.04.2020 um 21:28 schrieb Mark Wieder via use-livecode : > > On 4/20/20 12:05 PM, matthias rebbe via use-livecode wrote: >> It?s from Todd Fabacher and his team. >> And here?s a link to a discussion about it in this list >> https://www.mail-archive.com/use-livecode at lists.runrev.com/msg93988.html > > OK - now I looked as well. Still not sure what that is. The description says "This package is currently in beta, all purchasers will receive any updates available up to the full version 1 release, free". There's only one review, and that one is from two years ago and asks as question that hasn't been answered. Still in beta at version 0.5.0? > > -- > 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 livfoss at mac.com Mon Apr 20 16:50:59 2020 From: livfoss at mac.com (Graham Samuel) Date: Mon, 20 Apr 2020 22:50:59 +0200 Subject: Issues with Mobile Native controls In-Reply-To: <5DEA650D-31D9-4879-BEBC-89FBF256BA36@m-r-d.de> References: <7EFC41AE-61D0-47FF-A87F-D125CECE21D0@m-r-d.de> <65fbaea5-6626-95ff-092a-d1a02b581132@sonic.net> <5DEA650D-31D9-4879-BEBC-89FBF256BA36@m-r-d.de> Message-ID: <357CCB29-E0CC-477D-9E91-8C82A4213615@mac.com> Yes, I was probably quite hasty paying for it - if it?s in beta still after two years, it looks kind of abandoned. I would certainly say it looks unfinished, even though the individual widgets are described in the LC dictionary. And in my environment, which is not new but not that old, the switch widget crashed the simulator (LC Support- thank you Elanor - are looking at that one). Maybe I just went down the wrong path. As previously discussed, it seems getting on for impossible to quickly make an LC iPhone app look reasonably familiar to a typically iPhone user. Graham > On 20 Apr 2020, at 21:43, matthias rebbe via use-livecode wrote: > > I?ve purchased it already in 2018. In my account it shows now version 1.0.0, but the download is still the same beta as the one from 2018 when it was released. The files are still from 2018. Maybe the people at LC did not update the d/l link. I will ask Heather by e-mail tomorrow. > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 20.04.2020 um 21:28 schrieb Mark Wieder via use-livecode : >> >> On 4/20/20 12:05 PM, matthias rebbe via use-livecode wrote: >>> It?s from Todd Fabacher and his team. >>> And here?s a link to a discussion about it in this list >>> https://www.mail-archive.com/use-livecode at lists.runrev.com/msg93988.html >> >> OK - now I looked as well. Still not sure what that is. The description says "This package is currently in beta, all purchasers will receive any updates available up to the full version 1 release, free". There's only one review, and that one is from two years ago and asks as question that hasn't been answered. Still in beta at version 0.5.0? >> >> -- >> 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 livfoss at mac.com Mon Apr 20 16:57:08 2020 From: livfoss at mac.com (Graham Samuel) Date: Mon, 20 Apr 2020 22:57:08 +0200 Subject: Issues with Mobile Native controls In-Reply-To: <5925a790-61d5-fad1-d37c-f4bdf406ac0a@sonic.net> References: <3539CF8A-9775-44D0-B224-9AF1AF9C74D8@mac.com> <529261D0-8E77-4652-8B39-F5720DA37F00@hindu.org> <5925a790-61d5-fad1-d37c-f4bdf406ac0a@sonic.net> Message-ID: <894D9333-CED8-4EF3-B209-436491B693AB@mac.com> Well, looking at my iPhone, there are many many designs for apps, but there are very often (OK, not always) tidy little icons which lead to settings/preferences or give information, or make it clear that you can close something. I don?t know if my finger uses them as buttons exactly, but I find the idea of touching one to make something happen to be perfectly intuitive. And nearly always these are unclunky little objects taking up a minimum of screen real estate. I would like there to be a library of such things, and hoped they?d be SVGs. Still hoping. Graham > On 20 Apr 2020, at 21:19, Mark Wieder via use-livecode wrote: > > On 4/20/20 10:53 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > >> I know Apple and Google have designs that are looking for the "Wow, new look!" ... but frankly e.g. their flat new button style (we used in the web for a recent UI) ... people did realize it was a button! To make such a subtle distinction (graphically) between a "touch link" and "label" gets you nothing but N number of people not clinking! > > One of the basic tenets of UX design is "make buttons look like buttons" > > -- > 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 livfoss at mac.com Mon Apr 20 17:01:45 2020 From: livfoss at mac.com (Graham Samuel) Date: Mon, 20 Apr 2020 23:01:45 +0200 Subject: What makes everything on a card unresponsive? In-Reply-To: <3063F6AA-CBA9-43FB-8E83-576DAC62CB9C@canelasoftware.com> References: <42530B9F-03DD-4465-83A2-28F19F8D0098@mac.com> <3063F6AA-CBA9-43FB-8E83-576DAC62CB9C@canelasoftware.com> Message-ID: Thanks Mark - I am very glad you reminded me of the way puts go into the console window. I knew about that once (two or three years ago, when I last tried to do a mobile app) and just forgot about it. I have kind of emerged, blinking, into the light after being in the dark for a long time. I also do the trick of having a ?debug? scrolling field on the most frequently seen card, and I have a tiny handler which accepts text and puts it into the next line of the field. When the app goes live, I can remove all the calls to the handler or simply arrange for the handler to have nothing in its script - the speed hit on the kind of app I?m interested is negligible, I find. And I also use ?answe'r in an emergency, tho of course it disrupts the flow of the app. I think the remote debugger doesn?t work with Indy, but i?ll check. By the way I traced down the actual problem I had when I wrote my original mail in this conversation, using the methods you mention. It seems to be something to do with a widget that?s supposed to provide a native-appearance switch. I have isolated it and can continue to work in other ways for a time. Thanks very much for the input. Graham > On 20 Apr 2020, at 20:25, Mark Talluto via use-livecode wrote: > > On Apr 19, 2020, at 10:34 AM, Graham Samuel via use-livecode wrote: >> >> Any ideas welcome, including a debugging strategy. > > I use: > > --quick a dirty value check > answer ?VariableName:? && tVariable > > ?did my code get this far > answer ?Handler name, label that may provide extra context? > > ?breakpoints > Sometimes the remote debugger works and sometimes it doesn?t. When it does, you breakpoint will fire in your app and show up in the LC IDE > > ?console > You can open the console app on your Mac. On the left side of the console, you will see your plugged in device. Click on that. > Any empty puts like: put ?My code got this far? > These will output to your console. > > ?debug field > I put a field called ?debug? on a card I am working on. I can output what I want to that field when I want to check the state of things. > > These are some tools I use to work on mobile. > > Best regards, > > Mark Talluto > livecloud.io > nursenotes.net > canelasoftware.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 scott at elementarysoftware.com Mon Apr 20 17:03:44 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Mon, 20 Apr 2020 14:03:44 -0700 Subject: What makes everything on a card unresponsive? In-Reply-To: <3063F6AA-CBA9-43FB-8E83-576DAC62CB9C@canelasoftware.com> References: <42530B9F-03DD-4465-83A2-28F19F8D0098@mac.com> <3063F6AA-CBA9-43FB-8E83-576DAC62CB9C@canelasoftware.com> Message-ID: <07053A6C-FB38-452B-9B8D-1452F6370D7A@elementarysoftware.com> (requires the LC Business version) > On Apr 20, 2020, at 11:25 AM, Mark Talluto via use-livecode wrote: > > ?breakpoints > Sometimes the remote debugger works and sometimes it doesn?t. When it does, you breakpoint will fire in your app and show up in the LC IDE From scott at elementarysoftware.com Mon Apr 20 17:10:22 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Mon, 20 Apr 2020 14:10:22 -0700 Subject: Stack Files Message-ID: Bob, I don?t use script only stacks but aren?t they just text files? If they were all in the same folder you could just add that directory in the Copy Files pane. Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-800-615-0867 ------------------------------------------------------ From jacque at hyperactivesw.com Mon Apr 20 17:11:55 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Apr 2020 16:11:55 -0500 Subject: HTTPHeaders Message-ID: <39eb4a97-61e4-aea7-7233-a0d4f5335468@hyperactivesw.com> Are the httpHeaders persistent or do I need to set them before each server call? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Mon Apr 20 17:21:35 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 20 Apr 2020 21:21:35 +0000 Subject: Google Play Wants Us to Use Android App Bundle? Message-ID: <5B2A6935-728C-4EAD-8F80-F85A93C6033F@hindu.org> Trying to upload the latest release of my app for Android I rolled out the my app Google Play console 2 arm versions-together - v24 2 86 versions together - v25 Google Play accept the rollout (with a 7-day review disclaimer) and says: ---------- Warning: This APK results in unused code and resources being sent to users. Your app could be smaller if you used the Android App Bundle. By not optimizing your app for device configurations, your app is larger to download and install on users' devices than it needs to be. Larger apps see lower install success rates and take up storage on users' devices. Resolution: Use the Android App Bundle to automatically optimize for device configurations, or manage it yourself with multiple APKs. -------- How can we use " Android App Bundle"? What does it do? BR From bobsneidar at iotecdigital.com Mon Apr 20 17:23:17 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 20 Apr 2020 21:23:17 +0000 Subject: Stack Files In-Reply-To: References: Message-ID: <046109EF-B447-41E4-A155-5BF8A7B80FCB@iotecdigital.com> Isn?t that just for standalone building? Bob S > On Apr 20, 2020, at 2:10 PM, scott--- via use-livecode wrote: > > Bob, I don?t use script only stacks but aren?t they just text files? If they were all in the same folder you could just add that directory in the Copy Files pane. > > Scott Morrow > > Elementary Software From bobsneidar at iotecdigital.com Mon Apr 20 17:29:41 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 20 Apr 2020 21:29:41 +0000 Subject: Stack Files In-Reply-To: References: Message-ID: They are a little more than text files. My first attempt I tried simply creating a text file that ended in .livecodescript and it didn?t work. The Lesson says you need to create a new stack and select the Script Only Stack, then edit the script of the stack. Also, creating a behavior in the Properties Advanced pane, and creating a behavior from the object script will create a script only stack, but the link to the stack is just something like (or whatever you name it when you save it). This process does not add the script only stack to anything like the StackFiles, I?m thinking I have to do that myself. Bob S > On Apr 20, 2020, at 2:10 PM, scott--- via use-livecode wrote: > > Bob, I don?t use script only stacks but aren?t they just text files? If they were all in the same folder you could just add that directory in the Copy Files pane. > > Scott Morrow > > Elementary Software From brian at milby7.com Mon Apr 20 17:33:09 2020 From: brian at milby7.com (Brian Milby) Date: Mon, 20 Apr 2020 17:33:09 -0400 Subject: What makes everything on a card unresponsive? In-Reply-To: <07053A6C-FB38-452B-9B8D-1452F6370D7A@elementarysoftware.com> References: <42530B9F-03DD-4465-83A2-28F19F8D0098@mac.com> <3063F6AA-CBA9-43FB-8E83-576DAC62CB9C@canelasoftware.com> <07053A6C-FB38-452B-9B8D-1452F6370D7A@elementarysoftware.com> Message-ID: <9b717b8c-9902-4ba2-8289-9adf59fb46aa@Spark> Look into the log command. ?When you disable that, there is no performance impact and you don?t need to remove all of the individual calls. Thanks, Brian On Apr 20, 2020, 5:04 PM -0400, scott--- via use-livecode , wrote: > (requires the LC Business version) > > > On Apr 20, 2020, at 11:25 AM, Mark Talluto via use-livecode wrote: > > > > ?breakpoints > > Sometimes the remote debugger works and sometimes it doesn?t. When it does, you breakpoint will fire in your app and show up in the LC IDE > > > _______________________________________________ > 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 Apr 20 17:34:49 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 20 Apr 2020 21:34:49 +0000 Subject: Stack Files In-Reply-To: <046109EF-B447-41E4-A155-5BF8A7B80FCB@iotecdigital.com> References: <046109EF-B447-41E4-A155-5BF8A7B80FCB@iotecdigital.com> Message-ID: <797B06B5-7169-4398-998F-FFA960E023C2@iotecdigital.com> Hmmm? it seems to be sticking now. I wonder if I had a crash before getting a chance to save the stack. So false alarm I guess. Bob S > On Apr 20, 2020, at 2:23 PM, Bob Sneidar via use-livecode wrote: > > Isn?t that just for standalone building? > > Bob S > > >> On Apr 20, 2020, at 2:10 PM, scott--- via use-livecode wrote: >> >> Bob, I don?t use script only stacks but aren?t they just text files? If they were all in the same folder you could just add that directory in the Copy Files pane. >> >> Scott Morrow >> >> Elementary Software > > _______________________________________________ > 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 Apr 20 17:47:04 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Apr 2020 16:47:04 -0500 Subject: Issues with Mobile Native controls In-Reply-To: <894D9333-CED8-4EF3-B209-436491B693AB@mac.com> References: <3539CF8A-9775-44D0-B224-9AF1AF9C74D8@mac.com> <529261D0-8E77-4652-8B39-F5720DA37F00@hindu.org> <5925a790-61d5-fad1-d37c-f4bdf406ac0a@sonic.net> <894D9333-CED8-4EF3-B209-436491B693AB@mac.com> Message-ID: On 4/20/20 3:57 PM, Graham Samuel via use-livecode wrote: > I would like there to be a library of such things, and hoped they?d be SVGs. Still hoping. Make your own icon family using Brian's tool. There are thousands of SVG icons on the web, mostly free. Go here, for a start: https://www.svgrepo.com/ Set aside an afternoon, you can get lost in there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Apr 20 17:48:24 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Apr 2020 16:48:24 -0500 Subject: Issues with Mobile Native controls In-Reply-To: <357CCB29-E0CC-477D-9E91-8C82A4213615@mac.com> References: <7EFC41AE-61D0-47FF-A87F-D125CECE21D0@m-r-d.de> <65fbaea5-6626-95ff-092a-d1a02b581132@sonic.net> <5DEA650D-31D9-4879-BEBC-89FBF256BA36@m-r-d.de> <357CCB29-E0CC-477D-9E91-8C82A4213615@mac.com> Message-ID: <407edd7c-88fe-6ce0-dc54-7682937adbca@hyperactivesw.com> On 4/20/20 3:50 PM, Graham Samuel via use-livecode wrote: > the switch widget crashed the simulator I've used LC's built-in switch widget without any problems. I don't know if that's included in Indy though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From devin_asay at byu.edu Mon Apr 20 18:06:46 2020 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 20 Apr 2020 22:06:46 +0000 Subject: HTTPHeaders In-Reply-To: <39eb4a97-61e4-aea7-7233-a0d4f5335468@hyperactivesw.com> References: <39eb4a97-61e4-aea7-7233-a0d4f5335468@hyperactivesw.com> Message-ID: <932EB108-659A-4D4D-9678-978BF1F5E1A4@byu.edu> In my experience they are persistent throughout a session, sort of like setting the defaultFolder. Devin > On Apr 20, 2020, at 3:11 PM, J. Landman Gay via use-livecode wrote: > > Are the httpHeaders persistent or do I need to set them before each server call? > > -- > 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 harrison at all-auctions.com Mon Apr 20 19:22:46 2020 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 20 Apr 2020 19:22:46 -0400 Subject: Issues with Mobile Native controls In-Reply-To: <407edd7c-88fe-6ce0-dc54-7682937adbca@hyperactivesw.com> References: <7EFC41AE-61D0-47FF-A87F-D125CECE21D0@m-r-d.de> <65fbaea5-6626-95ff-092a-d1a02b581132@sonic.net> <5DEA650D-31D9-4879-BEBC-89FBF256BA36@m-r-d.de> <357CCB29-E0CC-477D-9E91-8C82A4213615@mac.com> <407edd7c-88fe-6ce0-dc54-7682937adbca@hyperactivesw.com> Message-ID: <9651A04D-1900-4264-AF93-C996855C1BE3@all-auctions.com> Are you referring to the switch button? If so, yes it is in Indy. Rick > On Apr 20, 2020, at 5:48 PM, J. Landman Gay via use-livecode wrote: > > I've used LC's built-in switch widget without any problems. I don't know if that's included in Indy though. From jacque at hyperactivesw.com Mon Apr 20 20:37:54 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Apr 2020 19:37:54 -0500 Subject: Issues with Mobile Native controls In-Reply-To: <9651A04D-1900-4264-AF93-C996855C1BE3@all-auctions.com> References: <7EFC41AE-61D0-47FF-A87F-D125CECE21D0@m-r-d.de> <65fbaea5-6626-95ff-092a-d1a02b581132@sonic.net> <5DEA650D-31D9-4879-BEBC-89FBF256BA36@m-r-d.de> <357CCB29-E0CC-477D-9E91-8C82A4213615@mac.com> <407edd7c-88fe-6ce0-dc54-7682937adbca@hyperactivesw.com> <9651A04D-1900-4264-AF93-C996855C1BE3@all-auctions.com> Message-ID: <1719a2b7ed0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> The one I mean is actually a widget but we're probably talking about the same thing. I like it because you can set the theme and it displays correctly for either iOS or Android. I'd love to see more themed widgets like that, maybe a mobileButton widget for example. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 20, 2020 6:24:48 PM Rick Harrison via use-livecode wrote: > Are you referring to the switch button? > If so, yes it is in Indy. > > Rick > >> On Apr 20, 2020, at 5:48 PM, J. Landman Gay via use-livecode >> wrote: >> >> I've used LC's built-in switch widget without any problems. I don't know if >> that's included in Indy though. > > _______________________________________________ > 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 Apr 20 20:38:26 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Apr 2020 19:38:26 -0500 Subject: HTTPHeaders In-Reply-To: <932EB108-659A-4D4D-9678-978BF1F5E1A4@byu.edu> References: <39eb4a97-61e4-aea7-7233-a0d4f5335468@hyperactivesw.com> <932EB108-659A-4D4D-9678-978BF1F5E1A4@byu.edu> Message-ID: <1719a2bfbd0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Thanks Devin, that'll save me some code. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 20, 2020 5:08:53 PM Devin Asay via use-livecode wrote: > In my experience they are persistent throughout a session, sort of like > setting the defaultFolder. > > Devin > >> On Apr 20, 2020, at 3:11 PM, J. Landman Gay via use-livecode >> wrote: >> >> Are the httpHeaders persistent or do I need to set them before each server >> call? >> >> -- >> 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 jacque at hyperactivesw.com Mon Apr 20 20:43:13 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 20 Apr 2020 19:43:13 -0500 Subject: Google Play Wants Us to Use Android App Bundle? In-Reply-To: <5B2A6935-728C-4EAD-8F80-F85A93C6033F@hindu.org> References: <5B2A6935-728C-4EAD-8F80-F85A93C6033F@hindu.org> Message-ID: <1719a305ce8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> When I looked into it, x86 had almost no users any more and hasn't for years. So I just built 2 apps for ARM, 32-bit and 64-bit. I'm thinking I may not need 32-bit either, except that Chromebooks only support 32-bit and we have a few users who run our app on those. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 20, 2020 4:23:39 PM Sannyasin Brahmanathaswami via use-livecode wrote: > Trying to upload the latest release of my app for Android > > I rolled out the my app Google Play console > > 2 arm versions-together - v24 > 2 86 versions together - v25 > > Google Play accept the rollout (with a 7-day review disclaimer) and says: > > ---------- > Warning: > > This APK results in unused code and resources being sent to users. Your app > could be smaller if you used the Android App Bundle. By not optimizing your > app for device configurations, your app is larger to download and install > on users' devices than it needs to be. Larger apps see lower install > success rates and take up storage on users' devices. > > Resolution: > > Use the Android App Bundle to automatically optimize for device > configurations, or manage it yourself with multiple APKs. > > -------- > > How can we use " Android App Bundle"? > > What does it do? > > 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 livfoss at mac.com Tue Apr 21 05:17:32 2020 From: livfoss at mac.com (Graham Samuel) Date: Tue, 21 Apr 2020 11:17:32 +0200 Subject: Issues with Mobile Native controls In-Reply-To: <1719a2b7ed0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <7EFC41AE-61D0-47FF-A87F-D125CECE21D0@m-r-d.de> <65fbaea5-6626-95ff-092a-d1a02b581132@sonic.net> <5DEA650D-31D9-4879-BEBC-89FBF256BA36@m-r-d.de> <357CCB29-E0CC-477D-9E91-8C82A4213615@mac.com> <407edd7c-88fe-6ce0-dc54-7682937adbca@hyperactivesw.com> <9651A04D-1900-4264-AF93-C996855C1BE3@all-auctions.com> <1719a2b7ed0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <735D9847-DDB7-4A3F-86E1-6ECD31544B5D@mac.com> I?ve got ?Switch Button? and a ?Native Switch Button? in the LC toolbox. Not sure which one you are talking about. The second one came with the widget set I bought, I think. Anyway it has caused me a lot of trouble with the iOS simulator, but that may be because the environment I?m working in is rather out of date apart from LC itself (I?m using 9.5.1). LC Support are looking at it for me, but I already guess that they will say ?it works here?, since they will be running the latest version of XCode etc. which is not permitted with my setup. Graham > On 21 Apr 2020, at 02:37, J. Landman Gay via use-livecode wrote: > > The one I mean is actually a widget but we're probably talking about the same thing. I like it because you can set the theme and it displays correctly for either iOS or Android. > > I'd love to see more themed widgets like that, maybe a mobileButton widget for example. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 20, 2020 6:24:48 PM Rick Harrison via use-livecode wrote: > >> Are you referring to the switch button? >> If so, yes it is in Indy. >> >> Rick >> >>> On Apr 20, 2020, at 5:48 PM, J. Landman Gay via use-livecode wrote: >>> >>> I've used LC's built-in switch widget without any problems. I don't know if that's included in Indy though. >> >> _______________________________________________ >> 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 livfoss at mac.com Tue Apr 21 09:11:34 2020 From: livfoss at mac.com (Graham Samuel) Date: Tue, 21 Apr 2020 15:11:34 +0200 Subject: What's a Capability in an Apple Provisioning Profile? Message-ID: <1B051F48-FD02-45E3-96EF-C0CF555EAAA1@mac.com> I?m trying to get my iOS app, now ready for beta test, transferred to an actual phone, after what I think are all the earlier steps both in the Apple certification system (Franz Kafka would be proud!) and in LC and in the simulator. I have also tried to follow advice generously given on this list, especially from Bill Prothero. However, XCode refuses to put my app on the phone, and among other things seems to suggest that my Profile doesn?t have the right Capabilities. But when I return to the Apple Developer profile and look at the Profile I generated, sure enough it says ?Enabled Capabilities: none?, but the editing function for the Profile doesn?t give an option to add any. Does anyone know what a Capability is in this context, whether I need one, and if so, what to do to get one (or more)? If i don?t need one, why is Xcode complaining? It is so hard to keep going in these circumstances. Graham From livfoss at mac.com Tue Apr 21 09:35:45 2020 From: livfoss at mac.com (Graham Samuel) Date: Tue, 21 Apr 2020 15:35:45 +0200 Subject: What's a Capability in an Apple Provisioning Profile? In-Reply-To: <1B051F48-FD02-45E3-96EF-C0CF555EAAA1@mac.com> References: <1B051F48-FD02-45E3-96EF-C0CF555EAAA1@mac.com> Message-ID: I kind of answered my own question: the Capabilities are not available via the editing function of the Provisioning Profile, but are associated with something called the App ID Configuration (why?). However, most of the capabilities are greyed out for me (why?) and those that could be added aren?t interesting for my particular app (iCloud for example). The mystery remains. I?m beginning to wonder whether LC somehow expects one to have added Capabilities for its own reasons. LC does do some mysterious things such as code signing without the developers intervention, so maybe. But I am still stuck and would still like someone who actually understands Capabilities to explain them. Graham > On 21 Apr 2020, at 15:11, Graham Samuel via use-livecode wrote: > > I?m trying to get my iOS app, now ready for beta test, transferred to an actual phone, after what I think are all the earlier steps both in the Apple certification system (Franz Kafka would be proud!) and in LC and in the simulator. I have also tried to follow advice generously given on this list, especially from Bill Prothero. > > However, XCode refuses to put my app on the phone, and among other things seems to suggest that my Profile doesn?t have the right Capabilities. But when I return to the Apple Developer profile and look at the Profile I generated, sure enough it says ?Enabled Capabilities: none?, but the editing function for the Profile doesn?t give an option to add any. > > Does anyone know what a Capability is in this context, whether I need one, and if so, what to do to get one (or more)? If i don?t need one, why is Xcode complaining? > > It is so hard to keep going in these circumstances. > > Graham > _______________________________________________ > 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 Tue Apr 21 10:14:35 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 21 Apr 2020 10:14:35 -0400 Subject: What's a Capability in an Apple Provisioning Profile? In-Reply-To: References: <1B051F48-FD02-45E3-96EF-C0CF555EAAA1@mac.com> Message-ID: <001601d617e7$32e34e10$98a9ea30$@net> Graham, Unless anything has changed since my last month's release(could be possible) all I have selected is "Game Center"(can't be un-ticked), "In-App Purchase"(also can't be un-ticked). All the others can be ticked and optionally configured. Do you use any of the un-ticked options in your app? 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 Graham Samuel via use-livecode Sent: Tuesday, April 21, 2020 9:36 AM To: How to use LiveCode Cc: Graham Samuel Subject: Re: What's a Capability in an Apple Provisioning Profile? I kind of answered my own question: the Capabilities are not available via the editing function of the Provisioning Profile, but are associated with something called the App ID Configuration (why?). However, most of the capabilities are greyed out for me (why?) and those that could be added aren?t interesting for my particular app (iCloud for example). The mystery remains. I?m beginning to wonder whether LC somehow expects one to have added Capabilities for its own reasons. LC does do some mysterious things such as code signing without the developers intervention, so maybe. But I am still stuck and would still like someone who actually understands Capabilities to explain them. Graham > On 21 Apr 2020, at 15:11, Graham Samuel via use-livecode wrote: > > I?m trying to get my iOS app, now ready for beta test, transferred to an actual phone, after what I think are all the earlier steps both in the Apple certification system (Franz Kafka would be proud!) and in LC and in the simulator. I have also tried to follow advice generously given on this list, especially from Bill Prothero. > > However, XCode refuses to put my app on the phone, and among other things seems to suggest that my Profile doesn?t have the right Capabilities. But when I return to the Apple Developer profile and look at the Profile I generated, sure enough it says ?Enabled Capabilities: none?, but the editing function for the Profile doesn?t give an option to add any. > > Does anyone know what a Capability is in this context, whether I need one, and if so, what to do to get one (or more)? If i don?t need one, why is Xcode complaining? > > It is so hard to keep going in these circumstances. > > Graham > _______________________________________________ > 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 dsc at swcp.com Tue Apr 21 11:56:41 2020 From: dsc at swcp.com (dsc at swcp.com) Date: Tue, 21 Apr 2020 09:56:41 -0600 Subject: Apps to fight COVID-19 In-Reply-To: <22991221-0E76-4CCC-A579-6E170668CBD7@swcp.com> References: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> <34F40D42-DF52-44BD-BC11-631C3131432A@gmail.com> <2923CE7F-C8C5-4147-A8CC-5D994F855F0B@swcp.com> <2D02D7AC-8169-4CDE-BD7A-3FD447CF4DF1@swcp.com> <2B6E3718-9346-4BF3-85E1-8992AFA17220@swcp.com> <19D64863-74B0-4DF4-AAA5-FC64EEA43D59@swcp.com> <6289998D-0520-41E2-8534-B70E47B3A07C@swcp.com> <907c3050-5955-4224-971a-93538dd58bd6@Spark> <22991221-0E76-4CCC-A579-6E170668CBD7@swcp.com> Message-ID: Is something still happening tomorrow? > On Apr 18, 2020, at 1:46 PM, dsc--- via use-livecode wrote: > > I will attend. > >> On Apr 18, 2020, at 7:45 AM, David Bovill via use-livecode wrote: >> >> The app looks a good start, but basic. I took a closer look at the cartoon images, they are quite specific, but a good base for a discussion about privacy issues. Not so good for an app. >> >> My suggestion regarding taking this forwards is that we have a creative workshop on Earth Day this coming Weds, as part of an in-line in conference that we are organising with a few folk. There will be plenty of other thing to drop into. I?ll send some info to this list on Sunday. >> >> It?s pretty informal, so we can organise our own breakout open space meeting when we like - so it should be no issue organising a Livecode workshop on making a CORVID-19 app. >> >> My focus is on doing an interactive sound piece and helping convene some if the breakout discussions, but doing a workshop on Livecode would be a fun part of that. >> >> I could do with some help though :) >> On 17 Apr 2020, 17:09 +0100, dsc--- via use-livecode , wrote: >>> Here is a cool app from Kreativzirkel Design Studio. It is a contact diary as mentioned here. >>> >>> https://www.coronika.app/en >>> >>> I say "cool", but I haven't tried it. it looks good. Should it be done better? >>> >>> >>> >>> >>>> On Apr 15, 2020, at 4:57 PM, dsc--- via use-livecode wrote: >>>> >>>> Meanwhile at Covid Watch there is talk of moving the provider-facing at to a web app of some sort. >>>> >>>>> On Apr 14, 2020, at 1:37 PM, dsc--- via use-livecode wrote: >>>>> >>>>> Jonathan Rothberg is looking for brilliant people who can code whatever your domain. >>>>> >>>>> >>>>>> On Apr 13, 2020, at 6:52 PM, Dar Scott Consulting via use-livecode wrote: >>>>>> >>>>>> Thanks! >>>>>> >>>>>> >>>>>>> On Apr 13, 2020, at 11:42 AM, Mark Wieder via use-livecode wrote: >>>>>>> >>>>>>> On 4/13/20 10:14 AM, dsc--- via use-livecode wrote: >>>>>>>> 1. Covid Watch needs expertise in making HIPAA compliant apps. (We have changed COVID Watch to Covid Watch.) >>>>>>> >>>>>>> This any help? >>>>>>> >>>>>>> https://www.healthcareblocks.com/hipaa/developer_guidelines >>>>>>> >>>>>>> -- >>>>>>> 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 >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 >> _______________________________________________ >> 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 livfoss at mac.com Tue Apr 21 12:03:16 2020 From: livfoss at mac.com (Graham Samuel) Date: Tue, 21 Apr 2020 18:03:16 +0200 Subject: What's a Capability in an Apple Provisioning Profile? In-Reply-To: <001601d617e7$32e34e10$98a9ea30$@net> References: <1B051F48-FD02-45E3-96EF-C0CF555EAAA1@mac.com> <001601d617e7$32e34e10$98a9ea30$@net> Message-ID: <0807E70B-131C-41A3-AF1C-BB6A9E8F9339@mac.com> Thanks Ralph The only even vaguely relevant one for me which is not greyed out (most are, as I said) is Maps. Since the app calls for GPS in the Standalone Settings, maybe that?s a requirement - no, hold it! The info button says it?s for MacOS only (really?). So still stuck. I am going to have to ask the mother ship, since > The entitlements specified in your application?s Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile. (0xE8008016). Means nothing that I can understand. Graham > On 21 Apr 2020, at 16:14, Ralph DiMola via use-livecode wrote: > > Graham, > > Unless anything has changed since my last month's release(could be possible) all I have selected is "Game Center"(can't be un-ticked), "In-App Purchase"(also can't be un-ticked). All the others can be ticked and optionally configured. Do you use any of the un-ticked options in your app? > > 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 Graham Samuel via use-livecode > Sent: Tuesday, April 21, 2020 9:36 AM > To: How to use LiveCode > Cc: Graham Samuel > Subject: Re: What's a Capability in an Apple Provisioning Profile? > > I kind of answered my own question: the Capabilities are not available via the editing function of the Provisioning Profile, but are associated with something called the App ID Configuration (why?). However, most of the capabilities are greyed out for me (why?) and those that could be added aren?t interesting for my particular app (iCloud for example). The mystery remains. I?m beginning to wonder whether LC somehow expects one to have added Capabilities for its own reasons. LC does do some mysterious things such as code signing without the developers intervention, so maybe. > > But I am still stuck and would still like someone who actually understands Capabilities to explain them. > > Graham > >> On 21 Apr 2020, at 15:11, Graham Samuel via use-livecode wrote: >> >> I?m trying to get my iOS app, now ready for beta test, transferred to an actual phone, after what I think are all the earlier steps both in the Apple certification system (Franz Kafka would be proud!) and in LC and in the simulator. I have also tried to follow advice generously given on this list, especially from Bill Prothero. >> >> However, XCode refuses to put my app on the phone, and among other things seems to suggest that my Profile doesn?t have the right Capabilities. But when I return to the Apple Developer profile and look at the Profile I generated, sure enough it says ?Enabled Capabilities: none?, but the editing function for the Profile doesn?t give an option to add any. >> >> Does anyone know what a Capability is in this context, whether I need one, and if so, what to do to get one (or more)? If i don?t need one, why is Xcode complaining? >> >> It is so hard to keep going in these circumstances. >> >> Graham >> _______________________________________________ >> 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 prothero at earthlearningsolutions.org Tue Apr 21 12:36:41 2020 From: prothero at earthlearningsolutions.org (Prothero-earthlearningsol) Date: Tue, 21 Apr 2020 09:36:41 -0700 Subject: What's a Capability in an Apple Provisioning Profile? In-Reply-To: <0807E70B-131C-41A3-AF1C-BB6A9E8F9339@mac.com> References: <0807E70B-131C-41A3-AF1C-BB6A9E8F9339@mac.com> Message-ID: Graham, This is from memory. When you are in Apple?s developer portal, you choose the application destination you are targeting, and when you set the capabilities, they are appropriate for the destination hardware. It sounds like you chose MacOS instead of Mobile, iOS. It?s really easy to skip over a detail when making these provisioning decisions. Also, it?s very easy to get your latest file confused with an older one, and that?s what I suspect you did. I I were you, I?d clean out all the old Apple Developer generated stuff and start over. That?s part of the rub. You generate files on the Developer portal, they get downloaded, loaded into keychain and Xcode, stored in your library and in folders generated by livecode, and then it?s soooo easy to leave one of those little buggers to confuse you. It would be really nice if there was a diagram or step by step procedure that takes you through, starting with cleaning out all files, that results in success and shows where files are stored at each step (who would?ve thought files got stored in the Library folder?). Of course, Apple?s regular updates and security improvements make this more challenging. It needs to be pegged at the grade-schooler level though, so we geezers can follow it. Sounds like a plan for a creative app designer. But perhaps this already exists?? PS. I give Ralph DiMola a lot of credit and thanks for his insight and help. Thanks, Ralph! Best, Bill William Prothero http://es.earthednet.org > On Apr 21, 2020, at 9:04 AM, Graham Samuel via use-livecode wrote: > > ?Thanks Ralph > > The only even vaguely relevant one for me which is not greyed out (most are, as I said) is Maps. Since the app calls for GPS in the Standalone Settings, maybe that?s a requirement - no, hold it! The info button says it?s for MacOS only (really?). So still stuck. I am going to have to ask the mother ship, since > >> The entitlements specified in your application?s Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile. (0xE8008016). > > Means nothing that I can understand. > > Graham > >> On 21 Apr 2020, at 16:14, Ralph DiMola via use-livecode wrote: >> >> Graham, >> >> Unless anything has changed since my last month's release(could be possible) all I have selected is "Game Center"(can't be un-ticked), "In-App Purchase"(also can't be un-ticked). All the others can be ticked and optionally configured. Do you use any of the un-ticked options in your app? >> >> 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 Graham Samuel via use-livecode >> Sent: Tuesday, April 21, 2020 9:36 AM >> To: How to use LiveCode >> Cc: Graham Samuel >> Subject: Re: What's a Capability in an Apple Provisioning Profile? >> >> I kind of answered my own question: the Capabilities are not available via the editing function of the Provisioning Profile, but are associated with something called the App ID Configuration (why?). However, most of the capabilities are greyed out for me (why?) and those that could be added aren?t interesting for my particular app (iCloud for example). The mystery remains. I?m beginning to wonder whether LC somehow expects one to have added Capabilities for its own reasons. LC does do some mysterious things such as code signing without the developers intervention, so maybe. >> >> But I am still stuck and would still like someone who actually understands Capabilities to explain them. >> >> Graham >> >>>> On 21 Apr 2020, at 15:11, Graham Samuel via use-livecode wrote: >>> >>> I?m trying to get my iOS app, now ready for beta test, transferred to an actual phone, after what I think are all the earlier steps both in the Apple certification system (Franz Kafka would be proud!) and in LC and in the simulator. I have also tried to follow advice generously given on this list, especially from Bill Prothero. >>> >>> However, XCode refuses to put my app on the phone, and among other things seems to suggest that my Profile doesn?t have the right Capabilities. But when I return to the Apple Developer profile and look at the Profile I generated, sure enough it says ?Enabled Capabilities: none?, but the editing function for the Profile doesn?t give an option to add any. >>> >>> Does anyone know what a Capability is in this context, whether I need one, and if so, what to do to get one (or more)? If i don?t need one, why is Xcode complaining? >>> >>> It is so hard to keep going in these circumstances. >>> >>> Graham >>> _______________________________________________ >>> 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 > > _______________________________________________ > 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 Apr 21 13:04:35 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 21 Apr 2020 12:04:35 -0500 Subject: Issues with Mobile Native controls In-Reply-To: <735D9847-DDB7-4A3F-86E1-6ECD31544B5D@mac.com> References: <7EFC41AE-61D0-47FF-A87F-D125CECE21D0@m-r-d.de> <65fbaea5-6626-95ff-092a-d1a02b581132@sonic.net> <5DEA650D-31D9-4879-BEBC-89FBF256BA36@m-r-d.de> <357CCB29-E0CC-477D-9E91-8C82A4213615@mac.com> <407edd7c-88fe-6ce0-dc54-7682937adbca@hyperactivesw.com> <9651A04D-1900-4264-AF93-C996855C1BE3@all-auctions.com> <1719a2b7ed0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <735D9847-DDB7-4A3F-86E1-6ECD31544B5D@mac.com> Message-ID: <1719db2d4b8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I think you're right, the "native" switch is the one you bought. I've had no issues with the one that comes with LC. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 21, 2020 4:19:45 AM Graham Samuel via use-livecode wrote: > I?ve got ?Switch Button? and a ?Native Switch Button? in the LC toolbox. > Not sure which one you are talking about. > > The second one came with the widget set I bought, I think. Anyway it has > caused me a lot of trouble with the iOS simulator, but that may be because > the environment I?m working in is rather out of date apart from LC itself > (I?m using 9.5.1). LC Support are looking at it for me, but I already guess > that they will say ?it works here?, since they will be running the latest > version of XCode etc. which is not permitted with my setup. > > Graham > >> On 21 Apr 2020, at 02:37, J. Landman Gay via use-livecode >> wrote: >> >> The one I mean is actually a widget but we're probably talking about the >> same thing. I like it because you can set the theme and it displays >> correctly for either iOS or Android. >> >> I'd love to see more themed widgets like that, maybe a mobileButton widget >> for example. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On April 20, 2020 6:24:48 PM Rick Harrison via use-livecode >> wrote: >> >>> Are you referring to the switch button? >>> If so, yes it is in Indy. >>> >>> Rick >>> >>>> On Apr 20, 2020, at 5:48 PM, J. Landman Gay via use-livecode >>>> wrote: >>>> >>>> I've used LC's built-in switch widget without any problems. I don't know if >>>> that's included in Indy though. >>> >>> _______________________________________________ >>> 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 livfoss at mac.com Tue Apr 21 13:18:52 2020 From: livfoss at mac.com (Graham Samuel) Date: Tue, 21 Apr 2020 19:18:52 +0200 Subject: What's a Capability in an Apple Provisioning Profile? In-Reply-To: References: <0807E70B-131C-41A3-AF1C-BB6A9E8F9339@mac.com> Message-ID: <98713A28-168A-4203-B437-A03F087AE35A@mac.com> Bill, I do really appreciate your help and Ralph?s. I admit I know nothing about this Apple-designed maze and somehow the whole process is so different from software development that it is almost impossible to learn a rational route through it all, so I applaud your idea that someone could provide that, with lots of ways of backing out of gotchas, as it were. In my particular case, I have definitely got an iOS Development Profile, and indeed no other. I have a thing called an iOS WildCard app ID as well. I have tried to follow your advice and clear out all my expired stuff from when I created desktop apps etc. But I am still stuck. I have finally asked LC support about it, and perhaps they will have the time to help. If they do find a way through, then I will report back here to say how the problem was solved. If I can?t get anywhere, then I think I shall have to abandon this development. As it was supposed to be a free app, i won?t lose any money, but my pride will definitely be hurt! I really don?t know how much benefit it would have provided to my target community, but looks like I?m never going to find out. Thanks for all your help so far. Graham > On 21 Apr 2020, at 18:36, Prothero-earthlearningsol via use-livecode wrote: > > Graham, > This is from memory. When you are in Apple?s developer portal, you choose the application destination you are targeting, and when you set the capabilities, they are appropriate for the destination hardware. It sounds like you chose MacOS instead of Mobile, iOS. It?s really easy to skip over a detail when making these provisioning decisions. Also, it?s very easy to get your latest file confused with an older one, and that?s what I suspect you did. I I were you, I?d clean out all the old Apple Developer generated stuff and start over. That?s part of the rub. You generate files on the Developer portal, they get downloaded, loaded into keychain and Xcode, stored in your library and in folders generated by livecode, and then it?s soooo easy to leave one of those little buggers to confuse you. > > It would be really nice if there was a diagram or step by step procedure that takes you through, starting with cleaning out all files, that results in success and shows where files are stored at each step (who would?ve thought files got stored in the Library folder?). Of course, Apple?s regular updates and security improvements make this more challenging. It needs to be pegged at the grade-schooler level though, so we geezers can follow it. Sounds like a plan for a creative app designer. But perhaps this already exists?? > > PS. I give Ralph DiMola a lot of credit and thanks for his insight and help. Thanks, Ralph! > > Best, > Bill > > William Prothero > http://es.earthednet.org > >> On Apr 21, 2020, at 9:04 AM, Graham Samuel via use-livecode wrote: >> >> ?Thanks Ralph >> >> The only even vaguely relevant one for me which is not greyed out (most are, as I said) is Maps. Since the app calls for GPS in the Standalone Settings, maybe that?s a requirement - no, hold it! The info button says it?s for MacOS only (really?). So still stuck. I am going to have to ask the mother ship, since >> >>> The entitlements specified in your application?s Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile. (0xE8008016). >> >> Means nothing that I can understand. >> >> Graham >> >>> On 21 Apr 2020, at 16:14, Ralph DiMola via use-livecode wrote: >>> >>> Graham, >>> >>> Unless anything has changed since my last month's release(could be possible) all I have selected is "Game Center"(can't be un-ticked), "In-App Purchase"(also can't be un-ticked). All the others can be ticked and optionally configured. Do you use any of the un-ticked options in your app? >>> >>> 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 Graham Samuel via use-livecode >>> Sent: Tuesday, April 21, 2020 9:36 AM >>> To: How to use LiveCode >>> Cc: Graham Samuel >>> Subject: Re: What's a Capability in an Apple Provisioning Profile? >>> >>> I kind of answered my own question: the Capabilities are not available via the editing function of the Provisioning Profile, but are associated with something called the App ID Configuration (why?). However, most of the capabilities are greyed out for me (why?) and those that could be added aren?t interesting for my particular app (iCloud for example). The mystery remains. I?m beginning to wonder whether LC somehow expects one to have added Capabilities for its own reasons. LC does do some mysterious things such as code signing without the developers intervention, so maybe. >>> >>> But I am still stuck and would still like someone who actually understands Capabilities to explain them. >>> >>> Graham >>> >>>>> On 21 Apr 2020, at 15:11, Graham Samuel via use-livecode wrote: >>>> >>>> I?m trying to get my iOS app, now ready for beta test, transferred to an actual phone, after what I think are all the earlier steps both in the Apple certification system (Franz Kafka would be proud!) and in LC and in the simulator. I have also tried to follow advice generously given on this list, especially from Bill Prothero. >>>> >>>> However, XCode refuses to put my app on the phone, and among other things seems to suggest that my Profile doesn?t have the right Capabilities. But when I return to the Apple Developer profile and look at the Profile I generated, sure enough it says ?Enabled Capabilities: none?, but the editing function for the Profile doesn?t give an option to add any. >>>> >>>> Does anyone know what a Capability is in this context, whether I need one, and if so, what to do to get one (or more)? If i don?t need one, why is Xcode complaining? >>>> >>>> It is so hard to keep going in these circumstances. >>>> >>>> Graham >>>> _______________________________________________ >>>> 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 >> >> _______________________________________________ >> 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 mark at canelasoftware.com Tue Apr 21 13:22:31 2020 From: mark at canelasoftware.com (Mark Talluto) Date: Tue, 21 Apr 2020 10:22:31 -0700 Subject: What's a Capability in an Apple Provisioning Profile? In-Reply-To: <1B051F48-FD02-45E3-96EF-C0CF555EAAA1@mac.com> References: <1B051F48-FD02-45E3-96EF-C0CF555EAAA1@mac.com> Message-ID: <8EDB3636-2498-4C58-84F7-87B352EEE82E@canelasoftware.com> On Apr 21, 2020, at 6:11 AM, Graham Samuel via use-livecode wrote: > > I?m trying to get my iOS app, now ready for beta test, transferred to an actual phone, after what I think are all the earlier steps both in the Apple certification system (Franz Kafka would be proud!) and in LC and in the simulator. I have also tried to follow advice generously given on this list, especially from Bill Prothero. > > However, XCode refuses to put my app on the phone, and among other things seems to suggest that my Profile doesn?t have the right Capabilities. But when I return to the Apple Developer profile and look at the Profile I generated, sure enough it says ?Enabled Capabilities: none?, but the editing function for the Profile doesn?t give an option to add any. > > Does anyone know what a Capability is in this context, whether I need one, and if so, what to do to get one (or more)? If i don?t need one, why is Xcode complaining? > > It is so hard to keep going in these circumstances. Here is something that helped me when I was setting up my system for iOS development. You can build up various profiles in your OS that may be expired or created with an incomplete device list. This can happen when you add devices. You then have to edit your profile and update the devices available. When you download that profile and double-click it, a copy is added to your OS. I had originally thought it was smart updating my profile with the same name. Not so. Check this path on your OS: /Users/Graham/Library/MobileDevice/Provisioning Profiles You might consider deleting all of them. Then download your current profile and double click on it. You will see a new file in the path above. You do not need to restart LC to see the updated profile. I switch tabs in the Standalone Builder to Windows or Mac, then back to iOS. The profile dropdown will now show the updated state of that path above. Pick the profile again and continue on. Best regards, Mark Talluto livecloud.io nursenotes.net canelasoftware.com From livfoss at mac.com Tue Apr 21 15:24:18 2020 From: livfoss at mac.com (Graham Samuel) Date: Tue, 21 Apr 2020 21:24:18 +0200 Subject: Issues with Mobile Native controls In-Reply-To: <1719db2d4b8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <7EFC41AE-61D0-47FF-A87F-D125CECE21D0@m-r-d.de> <65fbaea5-6626-95ff-092a-d1a02b581132@sonic.net> <5DEA650D-31D9-4879-BEBC-89FBF256BA36@m-r-d.de> <357CCB29-E0CC-477D-9E91-8C82A4213615@mac.com> <407edd7c-88fe-6ce0-dc54-7682937adbca@hyperactivesw.com> <9651A04D-1900-4264-AF93-C996855C1BE3@all-auctions.com> <1719a2b7ed0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <735D9847-DDB7-4A3F-86E1-6ECD31544B5D@mac.com> <1719db2d4b8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Yes, it was the ?native? one. I caused the error which I saw by creating an infinite loop. I did not realise that the ?hiliteChanged? message is sent after the graphic representation of the switch has been changed within the widget itself, so I scripted: on hiliteChanged set the highlight of me to not the highlight of me end hiliteChanged By doing that I generated another hiliteChanged message, and so an infinitum. It was slightly less obvious than it might have been because the test started on a card with a button scripted" go cd ?testCard? which was supposed to show the card with the switch on it. This doesn?t happen in this case - the screen freezes before the ?go? is actioned, so it looks like we never left the first card. It was Elanor at LiveCode who explained that to me. I am somewhat embarrassed, but it may help someone else to know what I did wrong. Graham PS This widget has a property ?highlight? and a message ?hiliteChanged?. I think the spelling should be consistent. > On 21 Apr 2020, at 19:04, J. Landman Gay via use-livecode wrote: > > I think you're right, the "native" switch is the one you bought. I've had no issues with the one that comes with LC. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On April 21, 2020 4:19:45 AM Graham Samuel via use-livecode wrote: > >> I?ve got ?Switch Button? and a ?Native Switch Button? in the LC toolbox. Not sure which one you are talking about. >> >> The second one came with the widget set I bought, I think. Anyway it has caused me a lot of trouble with the iOS simulator, but that may be because the environment I?m working in is rather out of date apart from LC itself (I?m using 9.5.1). LC Support are looking at it for me, but I already guess that they will say ?it works here?, since they will be running the latest version of XCode etc. which is not permitted with my setup. >> >> Graham >> >>> On 21 Apr 2020, at 02:37, J. Landman Gay via use-livecode wrote: >>> >>> The one I mean is actually a widget but we're probably talking about the same thing. I like it because you can set the theme and it displays correctly for either iOS or Android. >>> >>> I'd love to see more themed widgets like that, maybe a mobileButton widget for example. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> On April 20, 2020 6:24:48 PM Rick Harrison via use-livecode wrote: >>> >>>> Are you referring to the switch button? >>>> If so, yes it is in Indy. >>>> >>>> Rick >>>> >>>>> On Apr 20, 2020, at 5:48 PM, J. Landman Gay via use-livecode wrote: >>>>> >>>>> I've used LC's built-in switch widget without any problems. I don't know if that's included in Indy though. >>>> >>>> _______________________________________________ >>>> 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 > > > > > _______________________________________________ > 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 Tue Apr 21 18:41:57 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 21 Apr 2020 18:41:57 -0400 Subject: Issues with Mobile Native controls In-Reply-To: References: <7EFC41AE-61D0-47FF-A87F-D125CECE21D0@m-r-d.de> <65fbaea5-6626-95ff-092a-d1a02b581132@sonic.net> <5DEA650D-31D9-4879-BEBC-89FBF256BA36@m-r-d.de> <357CCB29-E0CC-477D-9E91-8C82A4213615@mac.com> <407edd7c-88fe-6ce0-dc54-7682937adbca@hyperactivesw.com> <9651A04D-1900-4264-AF93-C996855C1BE3@all-auctions.com> <1719a2b7ed0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <735D9847-DDB7-4A3F-86E1-6ECD31544B5D@mac.com> <1719db2d4b8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <003401d6182e$12e55530$38afff90$@net> Does "lock messages" help here? I don?t know if it works for widgets? If so you could do this: Lock messages set the highlight of me to not the highlight of me unlock messages 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 Graham Samuel via use-livecode Sent: Tuesday, April 21, 2020 3:24 PM To: How to use LiveCode Cc: Graham Samuel Subject: Re: Issues with Mobile Native controls Yes, it was the ?native? one. I caused the error which I saw by creating an infinite loop. I did not realise that the ?hiliteChanged? message is sent after the graphic representation of the switch has been changed within the widget itself, so I scripted: on hiliteChanged set the highlight of me to not the highlight of me end hiliteChanged By doing that I generated another hiliteChanged message, and so an infinitum. It was slightly less obvious than it might have been because the test started on a card with a button scripted" go cd ?testCard? which was supposed to show the card with the switch on it. This doesn?t happen in this case - the screen freezes before the ?go? is actioned, so it looks like we never left the first card. It was Elanor at LiveCode who explained that to me. I am somewhat embarrassed, but it may help someone else to know what I did wrong. Graham PS This widget has a property ?highlight? and a message ?hiliteChanged?. I think the spelling should be consistent. > On 21 Apr 2020, at 19:04, J. Landman Gay via use-livecode wrote: > > I think you're right, the "native" switch is the one you bought. I've had no issues with the one that comes with LC. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software > | http://www.hyperactivesw.com On April 21, 2020 4:19:45 AM Graham > Samuel via use-livecode wrote: > >> I?ve got ?Switch Button? and a ?Native Switch Button? in the LC toolbox. Not sure which one you are talking about. >> >> The second one came with the widget set I bought, I think. Anyway it has caused me a lot of trouble with the iOS simulator, but that may be because the environment I?m working in is rather out of date apart from LC itself (I?m using 9.5.1). LC Support are looking at it for me, but I already guess that they will say ?it works here?, since they will be running the latest version of XCode etc. which is not permitted with my setup. >> >> Graham >> >>> On 21 Apr 2020, at 02:37, J. Landman Gay via use-livecode wrote: >>> >>> The one I mean is actually a widget but we're probably talking about the same thing. I like it because you can set the theme and it displays correctly for either iOS or Android. >>> >>> I'd love to see more themed widgets like that, maybe a mobileButton widget for example. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive >>> Software | http://www.hyperactivesw.com On April 20, 2020 6:24:48 PM >>> Rick Harrison via use-livecode wrote: >>> >>>> Are you referring to the switch button? >>>> If so, yes it is in Indy. >>>> >>>> Rick >>>> >>>>> On Apr 20, 2020, at 5:48 PM, J. Landman Gay via use-livecode wrote: >>>>> >>>>> I've used LC's built-in switch widget without any problems. I don't know if that's included in Indy though. >>>> >>>> _______________________________________________ >>>> 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 > > > > > _______________________________________________ > 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 Apr 21 18:40:18 2020 From: brian at milby7.com (Brian Milby) Date: Tue, 21 Apr 2020 18:40:18 -0400 Subject: Issues with Mobile Native controls In-Reply-To: <003401d6182e$12e55530$38afff90$@net> References: <7EFC41AE-61D0-47FF-A87F-D125CECE21D0@m-r-d.de> <65fbaea5-6626-95ff-092a-d1a02b581132@sonic.net> <5DEA650D-31D9-4879-BEBC-89FBF256BA36@m-r-d.de> <357CCB29-E0CC-477D-9E91-8C82A4213615@mac.com> <407edd7c-88fe-6ce0-dc54-7682937adbca@hyperactivesw.com> <9651A04D-1900-4264-AF93-C996855C1BE3@all-auctions.com> <1719a2b7ed0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <735D9847-DDB7-4A3F-86E1-6ECD31544B5D@mac.com> <1719db2d4b8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <003401d6182e$12e55530$38afff90$@net> Message-ID: I?m pretty sure the answer is no. ?It does not work on the included widgets. Thanks, Brian On Apr 21, 2020, 6:38 PM -0400, Ralph DiMola via use-livecode , wrote: > Does "lock messages" help here? I don?t know if it works for widgets? If so you could do this: > > Lock messages > set the highlight of me to not the highlight of me > unlock messages > > 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 Graham Samuel via use-livecode > Sent: Tuesday, April 21, 2020 3:24 PM > To: How to use LiveCode > Cc: Graham Samuel > Subject: Re: Issues with Mobile Native controls > > Yes, it was the ?native? one. > > I caused the error which I saw by creating an infinite loop. I did not realise that the ?hiliteChanged? message is sent after the graphic representation of the switch has been changed within the widget itself, so I scripted: > on hiliteChanged > > set the highlight of me to not the highlight of me > > end hiliteChanged > > By doing that I generated another hiliteChanged message, and so an infinitum. It was slightly less obvious than it might have been because the test started on a card with a button scripted" > > go cd ?testCard? > > which was supposed to show the card with the switch on it. This doesn?t happen in this case - the screen freezes before the ?go? is actioned, so it looks like we never left the first card. > > It was Elanor at LiveCode who explained that to me. I am somewhat embarrassed, but it may help someone else to know what I did wrong. > > Graham > > PS This widget has a property ?highlight? and a message ?hiliteChanged?. I think the spelling should be consistent. > > > On 21 Apr 2020, at 19:04, J. Landman Gay via use-livecode wrote: > > > > I think you're right, the "native" switch is the one you bought. I've had no issues with the one that comes with LC. > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software > > | http://www.hyperactivesw.com On April 21, 2020 4:19:45 AM Graham > > Samuel via use-livecode wrote: > > > > > I?ve got ?Switch Button? and a ?Native Switch Button? in the LC toolbox. Not sure which one you are talking about. > > > > > > The second one came with the widget set I bought, I think. Anyway it has caused me a lot of trouble with the iOS simulator, but that may be because the environment I?m working in is rather out of date apart from LC itself (I?m using 9.5.1). LC Support are looking at it for me, but I already guess that they will say ?it works here?, since they will be running the latest version of XCode etc. which is not permitted with my setup. > > > > > > Graham > > > > > > > On 21 Apr 2020, at 02:37, J. Landman Gay via use-livecode wrote: > > > > > > > > The one I mean is actually a widget but we're probably talking about the same thing. I like it because you can set the theme and it displays correctly for either iOS or Android. > > > > > > > > I'd love to see more themed widgets like that, maybe a mobileButton widget for example. > > > > > > > > -- > > > > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive > > > > Software | http://www.hyperactivesw.com On April 20, 2020 6:24:48 PM > > > > Rick Harrison via use-livecode wrote: > > > > > > > > > Are you referring to the switch button? > > > > > If so, yes it is in Indy. > > > > > > > > > > Rick > > > > > > > > > > > On Apr 20, 2020, at 5:48 PM, J. Landman Gay via use-livecode wrote: > > > > > > > > > > > > I've used LC's built-in switch widget without any problems. I don't know if that's included in Indy though. > > > > > > > > > > _______________________________________________ > > > > > 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 > > > > > > > > > > _______________________________________________ > > 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 rdimola at evergreeninfo.net Tue Apr 21 18:53:24 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 21 Apr 2020 18:53:24 -0400 Subject: Issues with Mobile Native controls In-Reply-To: References: <7EFC41AE-61D0-47FF-A87F-D125CECE21D0@m-r-d.de> <65fbaea5-6626-95ff-092a-d1a02b581132@sonic.net> <5DEA650D-31D9-4879-BEBC-89FBF256BA36@m-r-d.de> <357CCB29-E0CC-477D-9E91-8C82A4213615@mac.com> <407edd7c-88fe-6ce0-dc54-7682937adbca@hyperactivesw.com> <9651A04D-1900-4264-AF93-C996855C1BE3@all-auctions.com> <1719a2b7ed0.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <735D9847-DDB7-4A3F-86E1-6ECD31544B5D@mac.com> <1719db2d4b8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <003401d6182e$12e55530$38afff90$@net> Message-ID: <003501d6182f$ac5094e0$04f1bea0$@net> I that something that is just not done in a particular widget or just that the LCB/LCS/engine architecture can't support it? 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 Brian Milby via use-livecode Sent: Tuesday, April 21, 2020 6:40 PM To: How to use LiveCode Cc: Brian Milby Subject: RE: Issues with Mobile Native controls I?m pretty sure the answer is no. It does not work on the included widgets. Thanks, Brian On Apr 21, 2020, 6:38 PM -0400, Ralph DiMola via use-livecode , wrote: > Does "lock messages" help here? I don?t know if it works for widgets? If so you could do this: > > Lock messages > set the highlight of me to not the highlight of me unlock messages > > 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 Graham Samuel via use-livecode > Sent: Tuesday, April 21, 2020 3:24 PM > To: How to use LiveCode > Cc: Graham Samuel > Subject: Re: Issues with Mobile Native controls > > Yes, it was the ?native? one. > > I caused the error which I saw by creating an infinite loop. I did not realise that the ?hiliteChanged? message is sent after the graphic representation of the switch has been changed within the widget itself, so I scripted: > on hiliteChanged > > set the highlight of me to not the highlight of me > > end hiliteChanged > > By doing that I generated another hiliteChanged message, and so an infinitum. It was slightly less obvious than it might have been because the test started on a card with a button scripted" > > go cd ?testCard? > > which was supposed to show the card with the switch on it. This doesn?t happen in this case - the screen freezes before the ?go? is actioned, so it looks like we never left the first card. > > It was Elanor at LiveCode who explained that to me. I am somewhat embarrassed, but it may help someone else to know what I did wrong. > > Graham > > PS This widget has a property ?highlight? and a message ?hiliteChanged?. I think the spelling should be consistent. > > > On 21 Apr 2020, at 19:04, J. Landman Gay via use-livecode wrote: > > > > I think you're right, the "native" switch is the one you bought. I've had no issues with the one that comes with LC. > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive > > Software > > | http://www.hyperactivesw.com On April 21, 2020 4:19:45 AM Graham > > Samuel via use-livecode wrote: > > > > > I?ve got ?Switch Button? and a ?Native Switch Button? in the LC toolbox. Not sure which one you are talking about. > > > > > > The second one came with the widget set I bought, I think. Anyway it has caused me a lot of trouble with the iOS simulator, but that may be because the environment I?m working in is rather out of date apart from LC itself (I?m using 9.5.1). LC Support are looking at it for me, but I already guess that they will say ?it works here?, since they will be running the latest version of XCode etc. which is not permitted with my setup. > > > > > > Graham > > > > > > > On 21 Apr 2020, at 02:37, J. Landman Gay via use-livecode wrote: > > > > > > > > The one I mean is actually a widget but we're probably talking about the same thing. I like it because you can set the theme and it displays correctly for either iOS or Android. > > > > > > > > I'd love to see more themed widgets like that, maybe a mobileButton widget for example. > > > > > > > > -- > > > > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive > > > > Software | http://www.hyperactivesw.com On April 20, 2020 > > > > 6:24:48 PM Rick Harrison via use-livecode wrote: > > > > > > > > > Are you referring to the switch button? > > > > > If so, yes it is in Indy. > > > > > > > > > > Rick > > > > > > > > > > > On Apr 20, 2020, at 5:48 PM, J. Landman Gay via use-livecode wrote: > > > > > > > > > > > > I've used LC's built-in switch widget without any problems. I don't know if that's included in Indy though. > > > > > > > > > > _______________________________________________ > > > > > 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 > > > > > > > > > > _______________________________________________ > > 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 _______________________________________________ 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 michaell at unimelb.edu.au Tue Apr 21 23:35:54 2020 From: michaell at unimelb.edu.au (Michael Lew) Date: Wed, 22 Apr 2020 03:35:54 +0000 Subject: Scrollbar scale value not showing in Windows Message-ID: <8F95CB45-6815-4755-BDF4-BC84AC388599@contoso.com> I have a small app that I've written for my lockdown-affected class, and the students with Windows can not see the value of 'scale' type scrollbar controls that have their showValue property set to true, but the Macs can. Is there a cross-platform trick that I don't know? Michael lockdown Lew From devin_asay at byu.edu Wed Apr 22 00:02:00 2020 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 22 Apr 2020 04:02:00 +0000 Subject: Scrollbar scale value not showing in Windows In-Reply-To: <8F95CB45-6815-4755-BDF4-BC84AC388599@contoso.com> References: <8F95CB45-6815-4755-BDF4-BC84AC388599@contoso.com> Message-ID: <920303AE-754D-484C-84F4-B3060322D723@byu.edu> Michael, Sometimes resizing the scrollbar will reveal the scale values. Does that work? I?m not near my Windows machine, so can?t verify here. I know that on a Mac if the scrollbar bounds are too small the values disappear. Devin > On Apr 21, 2020, at 9:35 PM, Michael Lew via use-livecode wrote: > > I have a small app that I've written for my lockdown-affected class, and the students with Windows can not see the value of 'scale' type scrollbar controls that have their showValue property set to true, but the Macs can. Is there a cross-platform trick that I don't know? > > Michael lockdown Lew > _______________________________________________ > 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 andreas.bergendal at gmail.com Wed Apr 22 04:45:11 2020 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Wed, 22 Apr 2020 10:45:11 +0200 Subject: Which git service suits a LiveCoder best? Message-ID: <76CE3A40-713A-445E-AB6B-8DFBFFC7E5AE@gmail.com> Hi everybody, first time posting to this list, so I hope I get it right? :) I need your wisdom on a slightly off-topic issue, though seen in the LiveCode perspective: I?ve never used git, but I want to start now. I?m working on several LC projects, some with co-developers, several with commercial potential, so I need to get more professional with version control and other benefits that come with git. I?ll educate myself on how to use it, but: Step one seems to be to select a git host/system. GitHub is the obvious giant, but is it the best for my needs? - I use LiveCode, obviously, so is any git service in any way more suited for that? - I?m not very familiar with using the command line, so I?d prefer a git service that has software that handles that, as far as possible. (Yeah, I?m a developer, I can learn, but hey, we promote the xTalk way here, no? Command line seems very much in the opposite side of the spectrum of readable code?) - I develop on Mac, in case that is a factor when choosing git solution? So, in short: How do I best get started with git when working with LiveCode on Mac, in small teams or alone, wishing minimal use of command line? Do I just let gravity pull me into the GitHub gas giant, or join a rebel moon? :) Best Andreas (xTalker since HyperCard days, in other forums aka SWEdeAndy or WhenInSpace) From brian at milby7.com Wed Apr 22 08:27:07 2020 From: brian at milby7.com (Brian Milby) Date: Wed, 22 Apr 2020 08:27:07 -0400 Subject: Which git service suits a LiveCoder best? In-Reply-To: <76CE3A40-713A-445E-AB6B-8DFBFFC7E5AE@gmail.com> References: <76CE3A40-713A-445E-AB6B-8DFBFFC7E5AE@gmail.com> Message-ID: <022b2e17-8ab5-4d2c-b197-a652e37f8f30@Spark> All of my LC stuff is on GitHub (bwmilby). ?I?m primarily Mac and use Atlassian?s Sourcetree to interact with my repositories. ?I use my own ScriptTracker tool to export the scripts of stacks so I can track the changes. Thanks, Brian On Apr 22, 2020, 4:46 AM -0400, Andreas Bergendal via use-livecode , wrote: > Hi everybody, first time posting to this list, so I hope I get it right? :) > > I need your wisdom on a slightly off-topic issue, though seen in the LiveCode perspective: > I?ve never used git, but I want to start now. > > I?m working on several LC projects, some with co-developers, several with commercial potential, so I need to get more professional with version control and other benefits that come with git. > > I?ll educate myself on how to use it, but: Step one seems to be to select a git host/system. > GitHub is the obvious giant, but is it the best for my needs? > > - I use LiveCode, obviously, so is any git service in any way more suited for that? > - I?m not very familiar with using the command line, so I?d prefer a git service that has software that handles that, as far as possible. (Yeah, I?m a developer, I can learn, but hey, we promote the xTalk way here, no? Command line seems very much in the opposite side of the spectrum of readable code?) > - I develop on Mac, in case that is a factor when choosing git solution? > > So, in short: How do I best get started with git when working with LiveCode on Mac, in small teams or alone, wishing minimal use of command line? > > Do I just let gravity pull me into the GitHub gas giant, or join a rebel moon? :) > > Best > Andreas > (xTalker since HyperCard days, in other forums aka SWEdeAndy or WhenInSpace) > _______________________________________________ > 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 lists at mangomultimedia.com Wed Apr 22 09:57:08 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 22 Apr 2020 08:57:08 -0500 Subject: Which git service suits a LiveCoder best? In-Reply-To: <76CE3A40-713A-445E-AB6B-8DFBFFC7E5AE@gmail.com> References: <76CE3A40-713A-445E-AB6B-8DFBFFC7E5AE@gmail.com> Message-ID: On Wed, Apr 22, 2020 at 3:46 AM Andreas Bergendal via use-livecode < use-livecode at lists.runrev.com> wrote: > > So, in short: How do I best get started with git when working with > LiveCode on Mac, in small teams or alone, wishing minimal use of command > line? > > Do I just let gravity pull me into the GitHub gas giant, or join a rebel > moon? :) > Hi Andreas, I use GutHub for my LiveCode projects but haven?t looked at other services. I enjoy using it and they recently reduced pricing and made a team account available for free which is great. There aren?t any special tools for LiveCode on GitHub that I?m aware of. It isn?t even recognized as a language by GitHub. At the moment I?m investing how I might get automated builds working for my Levure apps using GitHub and CircleCI. I?m in the very early stages of research and haven?t made any real progress yet. I love using Tower for my Git GUI. I?ve been very pleased with it. -- Trevor DeVore ScreenSteps From david.bovill at gmail.com Wed Apr 22 11:47:24 2020 From: david.bovill at gmail.com (David Bovill) Date: Wed, 22 Apr 2020 16:47:24 +0100 Subject: Apps to fight COVID-19 In-Reply-To: References: <6FAA8D66-733F-456A-A987-0580286BF64C@gmail.com> <34F40D42-DF52-44BD-BC11-631C3131432A@gmail.com> <2923CE7F-C8C5-4147-A8CC-5D994F855F0B@swcp.com> <2D02D7AC-8169-4CDE-BD7A-3FD447CF4DF1@swcp.com> <2B6E3718-9346-4BF3-85E1-8992AFA17220@swcp.com> <19D64863-74B0-4DF4-AAA5-FC64EEA43D59@swcp.com> <6289998D-0520-41E2-8534-B70E47B3A07C@swcp.com> <907c3050-5955-4224-971a-93538dd58bd6@Spark> <22991221-0E76-4CCC-A579-6E170668CBD7@swcp.com> Message-ID: Yes - we launched the radio station collecting sounds and voices from round the world on Earth Day, it is live now with sounds being added to the piece as it comes in. Radio player on this page: - https://www.nowwhat2020.com/sonic-spring-sound-garden To listen live. It's an ambient musical slow jam - start of a project leading to a conference we will be organising for Earth Day next year. As part of the event we are also doing an open space meeting (in Zoom - sorry about that - last one hopefully before we move to our own platform). We're doing it on Patterns of Life - where we discuss Pattern Language and it's relation to the origins of Wiki with Ward Cunningham, and to the future information architecture we need. It's an open space with breakouts so you can bring your own topics and discuss them with others in small groups: - Patterns of Nature - https://teamup.com/event/show/id/eNTEPffjchtYe3RYbzHjCXQy7ePrzr - Full calendar of events - https://teamup.com/ks3bcytpjd2v8bus7k - Zoom - https://zoom.us/j/92153676576 (20:00 London Time - see calendar above for times in your zone) Best wished on Earth Day, David On Tue, 21 Apr 2020 at 16:57, dsc--- via use-livecode < use-livecode at lists.runrev.com> wrote: > Is something still happening tomorrow? > > > On Apr 18, 2020, at 1:46 PM, dsc--- via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I will attend. > > > >> On Apr 18, 2020, at 7:45 AM, David Bovill via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> The app looks a good start, but basic. I took a closer look at the > cartoon images, they are quite specific, but a good base for a discussion > about privacy issues. Not so good for an app. > >> > >> My suggestion regarding taking this forwards is that we have a creative > workshop on Earth Day this coming Weds, as part of an in-line in conference > that we are organising with a few folk. There will be plenty of other thing > to drop into. I?ll send some info to this list on Sunday. > >> > >> It?s pretty informal, so we can organise our own breakout open space > meeting when we like - so it should be no issue organising a Livecode > workshop on making a CORVID-19 app. > >> > >> My focus is on doing an interactive sound piece and helping convene > some if the breakout discussions, but doing a workshop on Livecode would be > a fun part of that. > >> > >> I could do with some help though :) > >> On 17 Apr 2020, 17:09 +0100, dsc--- via use-livecode < > use-livecode at lists.runrev.com>, wrote: > >>> Here is a cool app from Kreativzirkel Design Studio. It is a contact > diary as mentioned here. > >>> > >>> https://www.coronika.app/en > >>> > >>> I say "cool", but I haven't tried it. it looks good. Should it be done > better? > >>> > >>> > >>> > >>> > >>>> On Apr 15, 2020, at 4:57 PM, dsc--- via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>> > >>>> Meanwhile at Covid Watch there is talk of moving the provider-facing > at to a web app of some sort. > >>>> > >>>>> On Apr 14, 2020, at 1:37 PM, dsc--- via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>> > >>>>> Jonathan Rothberg is looking for brilliant people who can code > whatever your domain. > >>>>> > >>>>> > >>>>>> On Apr 13, 2020, at 6:52 PM, Dar Scott Consulting via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>>> > >>>>>> Thanks! > >>>>>> > >>>>>> > >>>>>>> On Apr 13, 2020, at 11:42 AM, Mark Wieder via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>>>>>> > >>>>>>> On 4/13/20 10:14 AM, dsc--- via use-livecode wrote: > >>>>>>>> 1. Covid Watch needs expertise in making HIPAA compliant apps. > (We have changed COVID Watch to Covid Watch.) > >>>>>>> > >>>>>>> This any help? > >>>>>>> > >>>>>>> https://www.healthcareblocks.com/hipaa/developer_guidelines > >>>>>>> > >>>>>>> -- > >>>>>>> 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 > >>>>> > >>>>> > >>>>> _______________________________________________ > >>>>> 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 > >> _______________________________________________ > >> 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 livfoss at mac.com Wed Apr 22 12:00:39 2020 From: livfoss at mac.com (Graham Samuel) Date: Wed, 22 Apr 2020 18:00:39 +0200 Subject: Mobile text input mystery Message-ID: <90FAC41E-15CE-4133-AAC5-E9C4A42652DF@mac.com> As usual, the problem will be my fault, but I can?t get a mobile input field to appear on a card. I?m debugging it at present, which explains the answer statement: on opencard -- we dynamically create a field for the user to key in global sinputID -- this is all from the LC lesson. It?s a global because I need to refer to it in a button later if environment() = "mobile" then mobileControlCreate "input", "FMyText" -- so the user can type in put the result into sinputID ? the Dictionary doesn?t mention ?the result? but it does seem to be right answer "opening text field for input. ID created is:" && sinputID mobileControlSet sinputID, "rect", ?114,135,163,158? ? this is a real location on the card mobileControlSet sinputID, "visible", "true" mobileControlSet sinputID, "opaque", "true" end if end opencard As far as I?m concerned this comes straight out of the LC dictionary. When I run this in the iPhone simulator, it the ?answer? fires, and the ID is 1. But nothing appears on the card. Can anyone explain what I?m doing wrong this time? I seem to have a lot of trouble getting dynamic elements like fields, keyboards and selection scrollers to appear, but the above is the simplest problem I have in that line. Graham From mark at livecode.com Wed Apr 22 12:34:29 2020 From: mark at livecode.com (Mark Waddingham) Date: Wed, 22 Apr 2020 17:34:29 +0100 Subject: Mobile text input mystery In-Reply-To: <90FAC41E-15CE-4133-AAC5-E9C4A42652DF@mac.com> References: <90FAC41E-15CE-4133-AAC5-E9C4A42652DF@mac.com> Message-ID: On 2020-04-22 17:00, Graham Samuel via use-livecode wrote: > As usual, the problem will be my fault, but I can?t get a mobile input > field to appear on a card. I?m debugging it at present, which explains > the answer statement: > > on opencard -- we dynamically create a field for the user to key in > global sinputID -- this is all from the LC lesson. It?s a global > because I need to refer to it in a button later > if environment() = "mobile" then > mobileControlCreate "input", "FMyText" -- so the user can type > in > put the result into sinputID ? the Dictionary doesn?t mention > ?the result? but it does seem to be right > answer "opening text field for input. ID created is:" && > sinputID > mobileControlSet sinputID, "rect", ?114,135,163,158? ? this is > a real location on the card > mobileControlSet sinputID, "visible", "true" > mobileControlSet sinputID, "opaque", "true" > end if > end opencard I'm pretty sure if you give your mobileControl a name (FMyText) in this case, then that is the only way you can refer to it. You can only use 'the result' of the Create function *if* you didn't give it a name. So you need to do either: mobileControlCreate "input", "FMyText" mobileControlSet "FMyText", ... OR mobileControlCreate "input" put the result into sinputID mobileControlSet sinputID, ... Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From MikeKerner at roadrunner.com Wed Apr 22 12:45:57 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 22 Apr 2020 12:45:57 -0400 Subject: Which git service suits a LiveCoder best? In-Reply-To: References: <76CE3A40-713A-445E-AB6B-8DFBFFC7E5AE@gmail.com> Message-ID: github. pricing is getting better, especially in the last month, to compete with gitlab. we have projects in both github and gitlab (and I guess one person is messing with Azure, or whatever M$'s other git thang is), but people seem to be using github more. gitkraken is the most popular gui our people use. part of that is because of its glo boards, which give you a card/kanban style view of issues, to-do's, calendars, etc., integrates with slack, blah, blah, blah. It also can be integrated with issues in github, which is nice because the interface is better and easier to organize than issues, especially if you have a lot of them. Our ERP project, for example, has 201 issues open right now. Some of them are just one feature request or bug report, but some of them are thirty or more sub-items deep with many comments, documents, screen shots, etc. on them. the person messing with Azure is using Visual Studio's git interface, one is using github's client, and one is using the Working Copy app on ios. Even if you don't choose gitkraken as your git client, you should check out glo. You can access glo any number of ways, including inside GK, from GK's website, from slack, from Atom (and I think from SublimeText) and the glo mobile app for ios. On Wed, Apr 22, 2020 at 9:58 AM Trevor DeVore via use-livecode < use-livecode at lists.runrev.com> wrote: > On Wed, Apr 22, 2020 at 3:46 AM Andreas Bergendal via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > > So, in short: How do I best get started with git when working with > > LiveCode on Mac, in small teams or alone, wishing minimal use of command > > line? > > > > Do I just let gravity pull me into the GitHub gas giant, or join a rebel > > moon? :) > > > > Hi Andreas, > > I use GutHub for my LiveCode projects but haven?t looked at other services. > I enjoy using it and they recently reduced pricing and made a team account > available for free which is great. > > There aren?t any special tools for LiveCode on GitHub that I?m aware of. It > isn?t even recognized as a language by GitHub. At the moment I?m investing > how I might get automated builds working for my Levure apps using GitHub > and CircleCI. I?m in the very early stages of research and haven?t made any > real progress yet. > > I love using Tower for my Git GUI. I?ve been very pleased with it. > > -- > Trevor DeVore > ScreenSteps > _______________________________________________ > 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 livfoss at mac.com Wed Apr 22 13:38:27 2020 From: livfoss at mac.com (Graham Samuel) Date: Wed, 22 Apr 2020 19:38:27 +0200 Subject: Mobile text input mystery In-Reply-To: References: <90FAC41E-15CE-4133-AAC5-E9C4A42652DF@mac.com> Message-ID: <845BEC22-FD78-4397-8BAE-6D468E1BCA58@mac.com> Reading your response, Mark, I didn't feel so bad, since the LC Dictionary says for example about mobileControlSet syntax: mobileControlSet idOrName, PropertyName, value and later explains idOrName - the id or name of the control So I therefore saw the two ways of referring to the control as apparently interchangeable. However, I changed my openCard handler according to your suggestion and nothing at all changed. I think there must be some other factor, but as usual I just can?t see it. Just to labour the point, here is my actual handler with the original names in place. The answer call works as expected: on opencard -- we dynamically create a field for the user to key in the radius global sinputID -- this is all from the LC lesson if environment() = "mobile" then mobileControlCreate "input", "FRadiusText" -- so the user can type in put the result into sinputID answer "opening text field for radius input. ID created is:" && sinputID && "Name is:" && "FRadiusText" mobileControlSet "FRadiusText", "rect", "114,135,163,158" -- this is where the original rect was mobileControlSet "FRadiusText", "visible", "true" mobileControlSet "FRadiusText", "opaque", "true" end if end opencard Still puzzled Graham > On 22 Apr 2020, at 18:34, Mark Waddingham via use-livecode wrote: > > On 2020-04-22 17:00, Graham Samuel via use-livecode wrote: >> As usual, the problem will be my fault, but I can?t get a mobile input >> field to appear on a card. I?m debugging it at present, which explains >> the answer statement: >> on opencard -- we dynamically create a field for the user to key in >> global sinputID -- this is all from the LC lesson. It?s a global >> because I need to refer to it in a button later >> if environment() = "mobile" then >> mobileControlCreate "input", "FMyText" -- so the user can type in >> put the result into sinputID ? the Dictionary doesn?t mention >> ?the result? but it does seem to be right >> answer "opening text field for input. ID created is:" && sinputID >> mobileControlSet sinputID, "rect", ?114,135,163,158? ? this is >> a real location on the card >> mobileControlSet sinputID, "visible", "true" >> mobileControlSet sinputID, "opaque", "true" >> end if >> end opencard > > I'm pretty sure if you give your mobileControl a name (FMyText) in this case, then that is the only way you can refer to it. You can only use 'the result' of the Create function *if* you didn't give it a name. > > So you need to do either: > > mobileControlCreate "input", "FMyText" > mobileControlSet "FMyText", ... > > OR > > mobileControlCreate "input" > put the result into sinputID > mobileControlSet sinputID, ... > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > 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 dochawk at gmail.com Wed Apr 22 14:41:53 2020 From: dochawk at gmail.com (doc hawk) Date: Wed, 22 Apr 2020 11:41:53 -0700 Subject: Which git service suits a LiveCoder best? In-Reply-To: <76CE3A40-713A-445E-AB6B-8DFBFFC7E5AE@gmail.com> References: <76CE3A40-713A-445E-AB6B-8DFBFFC7E5AE@gmail.com> Message-ID: <086D6CDE-C045-4526-A6F4-BA3D5ACEA332@gmail.com> It?s no substitute for GitHub and the like, but I have a rather simple system that intercepts saveStackRequest, checks the date, and saves a new version with the date as part of the name. I also have a bmpVrsn routine that can be used to advance a letter during the day, so things like 200422b for the second version of a stack from today. I did a simple presentation with handout code for this at last year?s developer conference. I can probably find them around somewhere. The current problem with GitHub and stuff is the lack of a text file based storage, although I know someone has an add-on for that. > On Apr 22, 2020, at 1:45 AM, Andreas Bergendal via use-livecode wrote: > > Hi everybody, first time posting to this list, so I hope I get it right? :) > > I need your wisdom on a slightly off-topic issue, though seen in the LiveCode perspective: > I?ve never used git, but I want to start now. > > I?m working on several LC projects, some with co-developers, several with commercial potential, so I need to get more professional with version control and other benefits that come with git. > > I?ll educate myself on how to use it, but: Step one seems to be to select a git host/system. > GitHub is the obvious giant, but is it the best for my needs? > > - I use LiveCode, obviously, so is any git service in any way more suited for that? > - I?m not very familiar with using the command line, so I?d prefer a git service that has software that handles that, as far as possible. (Yeah, I?m a developer, I can learn, but hey, we promote the xTalk way here, no? Command line seems very much in the opposite side of the spectrum of readable code?) > - I develop on Mac, in case that is a factor when choosing git solution? > > So, in short: How do I best get started with git when working with LiveCode on Mac, in small teams or alone, wishing minimal use of command line? > > Do I just let gravity pull me into the GitHub gas giant, or join a rebel moon? :) > > Best > Andreas > (xTalker since HyperCard days, in other forums aka SWEdeAndy or WhenInSpace) > _______________________________________________ > 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 Apr 22 16:30:52 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 22 Apr 2020 13:30:52 -0700 Subject: Which git service suits a LiveCoder best? In-Reply-To: <086D6CDE-C045-4526-A6F4-BA3D5ACEA332@gmail.com> References: <086D6CDE-C045-4526-A6F4-BA3D5ACEA332@gmail.com> Message-ID: <7dee6119-a09c-0946-ca10-213108d44c12@fourthworld.com> doc hawk wrote: > It?s no substitute for GitHub and the like, but I have a rather simple > system that intercepts saveStackRequest, checks the date, and saves a > new version with the date as part of the name. I also have a bmpVrsn > routine that can be used to advance a letter during the day, so things > like 200422b for the second version of a stack from today. That's 1/3 of why I keep my work folders synced with my local Nextcloud server. (The other 2/3 is that all those versions are safely backed up, and kept up to date on all the machines I use for testing.) -- 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 livfoss at mac.com Wed Apr 22 16:39:00 2020 From: livfoss at mac.com (Graham Samuel) Date: Wed, 22 Apr 2020 22:39:00 +0200 Subject: Fwd: Mobile text input mystery References: Message-ID: Sent from my iPad Begin forwarded message: > From: Graham Samuel > Date: 22 April 2020 at 22:14:37 CEST > To: Mark Waddingham > Subject: Re: Mobile text input mystery > > ?Thanks Mark. Although making the field opaque wasn?t enough, giving it a black border worked and I can now see it. I can edit it with the mouse, and I can even put something in it with > > mobileControlSet "FRadiusText", "text", "1.0" > > but despite executing > > mobileControlSet "FRadiusText", "keyboardType", "numeric" > mobileControlDo "FRadiusText", "focus" > > following what the LC Dictionary says , I do not see the soft keyboard, nor does a subsequent > > mobileControlGet "FRadiusText", "text" > > ever result in anything but empty even though I can see a text in the native field object. > > But I can?t keep asking questions. I?ll just tinker as usual and hope to get a result. > > Thanks again > > Graham > >> On 22 Apr 2020, at 19:52, Mark Waddingham wrote: >> >>> On 2020-04-22 18:38, Graham Samuel wrote: >>> Reading your response, Mark, I didn't feel so bad, since the LC >>> Dictionary says for example about mobileControlSet >>> syntax: mobileControlSet idOrName, PropertyName, value >>> and later explains >>> idOrName - the id or name of the control >>> So I therefore saw the two ways of referring to the control as >>> apparently interchangeable. >> >> It is - apologies - the engine does look up both by id or name... >> >> Do you see something if you also set the 'text' property? >> >> There's also the 'borderStyle' property too. >> >> My hunch is that something is there, but the background color is the same as the card, the border style is none and it has no content so it looks like nothing is there? >> >> Warmest Regards, >> >> Mark. >> >> -- >> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >> LiveCode: Everyone can create apps > From dunbarx at aol.com Wed Apr 22 16:52:17 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 22 Apr 2020 20:52:17 +0000 (UTC) Subject: Scrollbar scale value not showing in Windows In-Reply-To: <8F95CB45-6815-4755-BDF4-BC84AC388599@contoso.com> References: <8F95CB45-6815-4755-BDF4-BC84AC388599@contoso.com> Message-ID: <165551952.798399.1587588737074@mail.yahoo.com> Hi. I thought this was a bug in the control years ago, until I inadvertently stretched it, and the values simply appeared. Eureka! This on a Mac. Craig -----Original Message----- From: Michael Lew via use-livecode To: use-livecode at lists.runrev.com Cc: Michael Lew Sent: Tue, Apr 21, 2020 11:37 pm Subject: Scrollbar scale value not showing in Windows I have a small app that I've written for my lockdown-affected class, and the students with Windows can not see the value of 'scale' type scrollbar controls that have their showValue property set to true, but the Macs can.? Is there a cross-platform trick that I don't know? Michael lockdown Lew _______________________________________________ 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 devin_asay at byu.edu Wed Apr 22 17:14:08 2020 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 22 Apr 2020 21:14:08 +0000 Subject: Scrollbar scale value not showing in Windows In-Reply-To: <920303AE-754D-484C-84F4-B3060322D723@byu.edu> References: <8F95CB45-6815-4755-BDF4-BC84AC388599@contoso.com> <920303AE-754D-484C-84F4-B3060322D723@byu.edu> Message-ID: <5B3366FA-DAFB-4ABA-B3A1-6E672ACDC245@byu.edu> Verified on Windows 10. The default size of the scrollbar object obscures the scale values. Just increase the height of the scrollbar/slider (if your sb orientation is horizontal) or the width of the sb (if the orientation is vertical.) Devin > On Apr 21, 2020, at 10:01 PM, Devin Asay wrote: > > Michael, > > Sometimes resizing the scrollbar will reveal the scale values. Does that work? I?m not near my Windows machine, so can?t verify here. I know that on a Mac if the scrollbar bounds are too small the values disappear. > > Devin > > >> On Apr 21, 2020, at 9:35 PM, Michael Lew via use-livecode wrote: >> >> I have a small app that I've written for my lockdown-affected class, and the students with Windows can not see the value of 'scale' type scrollbar controls that have their showValue property set to true, but the Macs can. Is there a cross-platform trick that I don't know? >> >> Michael lockdown Lew >> _______________________________________________ >> 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 > Devin Asay Director Office of Digital Humanities Brigham Young University From lists at mangomultimedia.com Wed Apr 22 19:05:43 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 22 Apr 2020 18:05:43 -0500 Subject: Testing spell checking with Hunspell Extension Message-ID: Hi Everyone, I've been working on an LCB extension which wraps the Hunspell library. This library is used for spell checking. https://en.wikipedia.org/wiki/Hunspell I have finished a first pass that works on my Windows 8 and 10 installations with LiveCode 9.6dp-4 32 and 64-bit. I would be interested in having some other people test it out to see if it works for them. I'm hoping that those with Windows versions of LiveCode that support LCB could test it out and see if everything works in the test stack. The Github repo is at the url below and there is a section titled "Testing" which explains the steps. https://github.com/trevordevore/lc-hunspell The extension is available under an MIT license and it would be nice to have some others look over the code, make some improvements, compile a Linux .so, etc. The repo includes a French dictionary for testing. There are lots of dictionaries available for Hunspell, however. I've downloaded dictionaries from https://extensions.openoffice.org before. I also came across this github repo today which has a large list of 90 compatible dictionaries: https://github.com/wooorm/dictionaries -- Trevor DeVore ScreenSteps www.screensteps.com From benr_mc at cogapp.com Thu Apr 23 02:40:23 2020 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 23 Apr 2020 07:40:23 +0100 Subject: Android Release Requires 21 but 911 Devices Get Dropped? In-Reply-To: <003901d614f2$9367e8b0$ba37ba10$@net> References: <903BCE4F-C6DB-47AB-A69A-3FFEC348F4F6@hindu.org> <003901d614f2$9367e8b0$ba37ba10$@net> Message-ID: <33ce122e-3d86-bc0f-7198-fb9c038d9376@cogapp.com> On 17/04/2020 20:58, Ralph DiMola via use-livecode wrote: > From the release notes: 4.x support is dropped. That represents 5% of all > active installs but may be a higher percentage of devices. It very much depends where you're looking (or more to the point, where you're looking to distribute). It obviously varies widely by region. E.g. Worldwide, according to https://www.statista.com/statistics/271774/share-of-android-platforms-on-mobile-devices-with-android-os/ Android 4.4 is 6.9% (of all Android, not of all mobile), and earlier versions together add up to 3.8%. But US only (https://www.statista.com/statistics/865837/mobile-android-version-share-in-the-us/), 4.4 is just 0.68% of all Android. E.g. using Device Atlas data from Q2 2019 https://deviceatlas.com/blog/mobile-os-versions-by-country gives Android 4.4 share (nothing below 4.4 is registered) as: Egypt 7.80% Indonesia 5.59% South Korea 4.32% Romania 4.04% Argentina 3.27% South Africa 2.47% Nigeria 2.42% India 1.53% These numbers are percentage of all mobile (i.e. including iOS). These countries are the only ones for which Android 4 registers. For the UK, the oldest recorded version is Android 5.1 on 1.5%; for US it's Android 6 on 2.61%. Ralph, can you give more information about that "5% of all active installs" figure? TIA, Ben From livfoss at mac.com Thu Apr 23 05:28:10 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 23 Apr 2020 11:28:10 +0200 Subject: Native Switch Button? Message-ID: Is anyone using the Native Switch Button? It looks OK (a bit big on my iOS simulator, but it will do) and it works - although the insanity of spelling ?highlight? two ways in the one object is apparent - but running an experiment just now in which I go to a card with such an on object on it and not much else, certainly nothing in the card script, a ?hiliteChanged? event is triggered even though AFAIKS the highlight (see what I did there?) hasn?t changed. Is this expected behaviour? I can?t really believe it, but as usual I can?t see what i?m doing wrong. I certainly don?t want the message to be triggered unless the user touches the screen or I deliberately change the state by script. Graham From livfoss at mac.com Thu Apr 23 06:04:45 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 23 Apr 2020 12:04:45 +0200 Subject: Native Switch Button? In-Reply-To: References: Message-ID: <5FAC261C-BB84-45DC-9ECD-B2CF4E903875@mac.com> To add to my query below, there?s something even more strange. In my beta app there is a card with three Native Switch Buttons on it (they all have different names). i have another test card, as described before, with its own switch. When a button script on yet another card executes a ?go' to the 3-switch card, the hiliteChanged handler in the test card fires, even though the card isn?t open! Again, the switch on this card has a different name - I read somewhere that widget names have to be unique - but this CAN?T be expected behaviour, can it? I am about to issue a bug report, but it may take too long to get a recipe. Graham > On 23 Apr 2020, at 11:28, Graham Samuel via use-livecode wrote: > > Is anyone using the Native Switch Button? It looks OK (a bit big on my iOS simulator, but it will do) and it works - although the insanity of spelling ?highlight? two ways in the one object is apparent - but running an experiment just now in which I go to a card with such an on object on it and not much else, certainly nothing in the card script, a ?hiliteChanged? event is triggered even though AFAIKS the highlight (see what I did there?) hasn?t changed. > > Is this expected behaviour? I can?t really believe it, but as usual I can?t see what i?m doing wrong. I certainly don?t want the message to be triggered unless the user touches the screen or I deliberately change the state by script. > > Graham > _______________________________________________ > 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 Thu Apr 23 06:54:04 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 23 Apr 2020 13:54:04 +0300 Subject: Mobile text input mystery In-Reply-To: References: Message-ID: Hello Graham, *> but despite executing> > mobileControlSet "FRadiusText", "keyboardType", "numeric"> mobileControlDo "FRadiusText", "focus"> > following what the LC Dictionary says , I do not see the soft keyboard* This will not work in LC 9.5.1 - it is an old bug that is fixed in LC 9.6 DP-3: https://github.com/livecode/livecode/pull/7259 *>>nor does a subsequent* *> mobileControlGet "FRadiusText", "text"> ever result in anything but empty even though I can see a text in the native field object.* Are you calling mobileControlGet "FRadiusText", "text" from the same handler that has created the mobile input field, or from a different one? Kind regards, Panos -- On Wed, 22 Apr 2020 at 23:39, Graham Samuel via use-livecode < use-livecode at lists.runrev.com> wrote: > > > Sent from my iPad > > Begin forwarded message: > > > From: Graham Samuel > > Date: 22 April 2020 at 22:14:37 CEST > > To: Mark Waddingham > > Subject: Re: Mobile text input mystery > > > > ?Thanks Mark. Although making the field opaque wasn?t enough, giving it > a black border worked and I can now see it. I can edit it with the mouse, > and I can even put something in it with > > > > mobileControlSet "FRadiusText", "text", "1.0" > > > > but despite executing > > > > mobileControlSet "FRadiusText", "keyboardType", "numeric" > > mobileControlDo "FRadiusText", "focus" > > > > following what the LC Dictionary says , I do not see the soft keyboard, > nor does a subsequent > > > > mobileControlGet "FRadiusText", "text" > > > > ever result in anything but empty even though I can see a text in the > native field object. > > > > But I can?t keep asking questions. I?ll just tinker as usual and hope to > get a result. > > > > Thanks again > > > > Graham > > > >> On 22 Apr 2020, at 19:52, Mark Waddingham wrote: > >> > >>> On 2020-04-22 18:38, Graham Samuel wrote: > >>> Reading your response, Mark, I didn't feel so bad, since the LC > >>> Dictionary says for example about mobileControlSet > >>> syntax: mobileControlSet idOrName, PropertyName, value > >>> and later explains > >>> idOrName - the id or name of the control > >>> So I therefore saw the two ways of referring to the control as > >>> apparently interchangeable. > >> > >> It is - apologies - the engine does look up both by id or name... > >> > >> Do you see something if you also set the 'text' property? > >> > >> There's also the 'borderStyle' property too. > >> > >> My hunch is that something is there, but the background color is the > same as the card, the border style is none and it has no content so it > looks like nothing is there? > >> > >> Warmest Regards, > >> > >> Mark. > >> > >> -- > >> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > >> LiveCode: Everyone can create apps > > > _______________________________________________ > 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 Thu Apr 23 07:03:28 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 23 Apr 2020 14:03:28 +0300 Subject: Mobile text input mystery In-Reply-To: References: Message-ID: Hello Graham, Oh, ignore my previous comment about mobileControlDo , "focus", as this bug affected Android only. I'll try to reproduce the recipe here and see if I get the same problem. Kind regards, Panos -- On Thu, 23 Apr 2020 at 13:54, panagiotis merakos wrote: > Hello Graham, > > > > > > > *> but despite executing> > mobileControlSet "FRadiusText", > "keyboardType", "numeric"> mobileControlDo "FRadiusText", "focus"> > > following what the LC Dictionary says , I do not see the soft keyboard* > > This will not work in LC 9.5.1 - it is an old bug that is fixed in LC 9.6 > DP-3: > > https://github.com/livecode/livecode/pull/7259 > > *>>nor does a subsequent* > > *> mobileControlGet "FRadiusText", "text"> ever result in anything but > empty even though I can see a text in the native field object.* > > Are you calling mobileControlGet "FRadiusText", "text" from the same > handler that has created the mobile input field, or from a different one? > > Kind regards, > Panos > -- > > On Wed, 22 Apr 2020 at 23:39, Graham Samuel via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> >> >> Sent from my iPad >> >> Begin forwarded message: >> >> > From: Graham Samuel >> > Date: 22 April 2020 at 22:14:37 CEST >> > To: Mark Waddingham >> > Subject: Re: Mobile text input mystery >> > >> > ?Thanks Mark. Although making the field opaque wasn?t enough, giving it >> a black border worked and I can now see it. I can edit it with the mouse, >> and I can even put something in it with >> > >> > mobileControlSet "FRadiusText", "text", "1.0" >> > >> > but despite executing >> > >> > mobileControlSet "FRadiusText", "keyboardType", "numeric" >> > mobileControlDo "FRadiusText", "focus" >> > >> > following what the LC Dictionary says , I do not see the soft >> keyboard, nor does a subsequent >> > >> > mobileControlGet "FRadiusText", "text" >> > >> > ever result in anything but empty even though I can see a text in the >> native field object. >> > >> > But I can?t keep asking questions. I?ll just tinker as usual and hope >> to get a result. >> > >> > Thanks again >> > >> > Graham >> > >> >> On 22 Apr 2020, at 19:52, Mark Waddingham wrote: >> >> >> >>> On 2020-04-22 18:38, Graham Samuel wrote: >> >>> Reading your response, Mark, I didn't feel so bad, since the LC >> >>> Dictionary says for example about mobileControlSet >> >>> syntax: mobileControlSet idOrName, PropertyName, value >> >>> and later explains >> >>> idOrName - the id or name of the control >> >>> So I therefore saw the two ways of referring to the control as >> >>> apparently interchangeable. >> >> >> >> It is - apologies - the engine does look up both by id or name... >> >> >> >> Do you see something if you also set the 'text' property? >> >> >> >> There's also the 'borderStyle' property too. >> >> >> >> My hunch is that something is there, but the background color is the >> same as the card, the border style is none and it has no content so it >> looks like nothing is there? >> >> >> >> Warmest Regards, >> >> >> >> Mark. >> >> >> >> -- >> >> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >> >> LiveCode: Everyone can create apps >> > >> _______________________________________________ >> 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 Thu Apr 23 07:39:40 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 23 Apr 2020 14:39:40 +0300 Subject: Mobile text input mystery In-Reply-To: References: Message-ID: Hello Graham, The following works as expected for me: on opencard global gInputID if environment() = "mobile" then mobileControlCreate "input" -- so the user can type in put the result into gInputID answer "opening text field for input. ID created is:" && gInputID mobileControlSet gInputID, "rect", "114,135,163,158" mobileControlSet gInputID, "visible", "true" mobileControlSet gInputID, "opaque", "true" mobileControlSet gInputID, "borderstyle", "line" end if end opencard also I have added two buttons to test the other issues: script of button 1: on mouseup local tText global gInputID put mobileControlGet(gInputID,"text") into tText answer tText end mouseup script of button 2: on mouseUp pButtonNumber global gInputID mobileControlSet gInputID, "keyboardType", "numeric" mobileControlDo gInputID, "focus" end mouseUp Also, while testing the focus, I realised that you have to enable the setting "Toggle Software Keyboard" in the simulator menubar (Hardware -> Keyboard -> Toggle Software Keyboard). Important: Note that you have to FIRST click on the field with the mouse to focus it, and THEN check this option, otherwise your choice will not have any effect. This might be a bug in the simulator app, but once you do that, your choice of showing the soft keyboard will be remembered. So now, if you add some text to the field, it will be returned correctly if you press the first button. Also, if you click on the second button, you should see a numeric soft keyboard appearing, and the field will get the focus. Hope this helps. Kind regards, Panos -- On Thu, 23 Apr 2020 at 14:03, panagiotis merakos wrote: > Hello Graham, > > Oh, ignore my previous comment about mobileControlDo , > "focus", as this bug affected Android only. > > I'll try to reproduce the recipe here and see if I get the same problem. > > Kind regards, > Panos > -- > > > On Thu, 23 Apr 2020 at 13:54, panagiotis merakos > wrote: > >> Hello Graham, >> >> >> >> >> >> >> *> but despite executing> > mobileControlSet "FRadiusText", >> "keyboardType", "numeric"> mobileControlDo "FRadiusText", "focus"> > >> following what the LC Dictionary says , I do not see the soft keyboard* >> >> This will not work in LC 9.5.1 - it is an old bug that is fixed in LC 9.6 >> DP-3: >> >> https://github.com/livecode/livecode/pull/7259 >> >> *>>nor does a subsequent* >> >> *> mobileControlGet "FRadiusText", "text"> ever result in anything but >> empty even though I can see a text in the native field object.* >> >> Are you calling mobileControlGet "FRadiusText", "text" from the same >> handler that has created the mobile input field, or from a different one? >> >> Kind regards, >> Panos >> -- >> >> On Wed, 22 Apr 2020 at 23:39, Graham Samuel via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> >>> >>> Sent from my iPad >>> >>> Begin forwarded message: >>> >>> > From: Graham Samuel >>> > Date: 22 April 2020 at 22:14:37 CEST >>> > To: Mark Waddingham >>> > Subject: Re: Mobile text input mystery >>> > >>> > ?Thanks Mark. Although making the field opaque wasn?t enough, giving >>> it a black border worked and I can now see it. I can edit it with the >>> mouse, and I can even put something in it with >>> > >>> > mobileControlSet "FRadiusText", "text", "1.0" >>> > >>> > but despite executing >>> > >>> > mobileControlSet "FRadiusText", "keyboardType", "numeric" >>> > mobileControlDo "FRadiusText", "focus" >>> > >>> > following what the LC Dictionary says , I do not see the soft >>> keyboard, nor does a subsequent >>> > >>> > mobileControlGet "FRadiusText", "text" >>> > >>> > ever result in anything but empty even though I can see a text in the >>> native field object. >>> > >>> > But I can?t keep asking questions. I?ll just tinker as usual and hope >>> to get a result. >>> > >>> > Thanks again >>> > >>> > Graham >>> > >>> >> On 22 Apr 2020, at 19:52, Mark Waddingham wrote: >>> >> >>> >>> On 2020-04-22 18:38, Graham Samuel wrote: >>> >>> Reading your response, Mark, I didn't feel so bad, since the LC >>> >>> Dictionary says for example about mobileControlSet >>> >>> syntax: mobileControlSet idOrName, PropertyName, value >>> >>> and later explains >>> >>> idOrName - the id or name of the control >>> >>> So I therefore saw the two ways of referring to the control as >>> >>> apparently interchangeable. >>> >> >>> >> It is - apologies - the engine does look up both by id or name... >>> >> >>> >> Do you see something if you also set the 'text' property? >>> >> >>> >> There's also the 'borderStyle' property too. >>> >> >>> >> My hunch is that something is there, but the background color is the >>> same as the card, the border style is none and it has no content so it >>> looks like nothing is there? >>> >> >>> >> Warmest Regards, >>> >> >>> >> Mark. >>> >> >>> >> -- >>> >> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >>> >> LiveCode: Everyone can create apps >>> > >>> _______________________________________________ >>> 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 livfoss at mac.com Thu Apr 23 07:57:14 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 23 Apr 2020 13:57:14 +0200 Subject: Mobile text input mystery In-Reply-To: References: Message-ID: <5D2E0DBA-E312-4377-824E-BA688539E667@mac.com> Just tried it after switching to LC9.6.0 DP4 - no change. I?m keen to see if you can indeed reproduce it. Graham > On 23 Apr 2020, at 13:03, panagiotis merakos via use-livecode wrote: > > Hello Graham, > > Oh, ignore my previous comment about mobileControlDo , "focus", > as this bug affected Android only. > > I'll try to reproduce the recipe here and see if I get the same problem. > > Kind regards, > Panos > -- > > > On Thu, 23 Apr 2020 at 13:54, panagiotis merakos wrote: > >> Hello Graham, >> >> >> >> >> >> >> *> but despite executing> > mobileControlSet "FRadiusText", >> "keyboardType", "numeric"> mobileControlDo "FRadiusText", "focus"> > >> following what the LC Dictionary says , I do not see the soft keyboard* >> >> This will not work in LC 9.5.1 - it is an old bug that is fixed in LC 9.6 >> DP-3: >> >> https://github.com/livecode/livecode/pull/7259 >> >> *>>nor does a subsequent* >> >> *> mobileControlGet "FRadiusText", "text"> ever result in anything but >> empty even though I can see a text in the native field object.* >> >> Are you calling mobileControlGet "FRadiusText", "text" from the same >> handler that has created the mobile input field, or from a different one? >> >> Kind regards, >> Panos >> -- >> >> On Wed, 22 Apr 2020 at 23:39, Graham Samuel via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> >>> >>> Sent from my iPad >>> >>> Begin forwarded message: >>> >>>> From: Graham Samuel >>>> Date: 22 April 2020 at 22:14:37 CEST >>>> To: Mark Waddingham >>>> Subject: Re: Mobile text input mystery >>>> >>>> ?Thanks Mark. Although making the field opaque wasn?t enough, giving it >>> a black border worked and I can now see it. I can edit it with the mouse, >>> and I can even put something in it with >>>> >>>> mobileControlSet "FRadiusText", "text", "1.0" >>>> >>>> but despite executing >>>> >>>> mobileControlSet "FRadiusText", "keyboardType", "numeric" >>>> mobileControlDo "FRadiusText", "focus" >>>> >>>> following what the LC Dictionary says , I do not see the soft >>> keyboard, nor does a subsequent >>>> >>>> mobileControlGet "FRadiusText", "text" >>>> >>>> ever result in anything but empty even though I can see a text in the >>> native field object. >>>> >>>> But I can?t keep asking questions. I?ll just tinker as usual and hope >>> to get a result. >>>> >>>> Thanks again >>>> >>>> Graham >>>> >>>>> On 22 Apr 2020, at 19:52, Mark Waddingham wrote: >>>>> >>>>>> On 2020-04-22 18:38, Graham Samuel wrote: >>>>>> Reading your response, Mark, I didn't feel so bad, since the LC >>>>>> Dictionary says for example about mobileControlSet >>>>>> syntax: mobileControlSet idOrName, PropertyName, value >>>>>> and later explains >>>>>> idOrName - the id or name of the control >>>>>> So I therefore saw the two ways of referring to the control as >>>>>> apparently interchangeable. >>>>> >>>>> It is - apologies - the engine does look up both by id or name... >>>>> >>>>> Do you see something if you also set the 'text' property? >>>>> >>>>> There's also the 'borderStyle' property too. >>>>> >>>>> My hunch is that something is there, but the background color is the >>> same as the card, the border style is none and it has no content so it >>> looks like nothing is there? >>>>> >>>>> Warmest Regards, >>>>> >>>>> Mark. >>>>> >>>>> -- >>>>> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >>>>> LiveCode: Everyone can create apps >>>> >>> _______________________________________________ >>> 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 livfoss at mac.com Thu Apr 23 07:58:40 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 23 Apr 2020 13:58:40 +0200 Subject: Mobile text input mystery In-Reply-To: References: Message-ID: <4179643C-54BD-4E2D-B0DB-1C8028F4849E@mac.com> Sorry Panos, my short email crossed with your long one. I am trying all your suggestions now! Graham > On 23 Apr 2020, at 13:39, panagiotis merakos via use-livecode wrote: > > Hello Graham, > > The following works as expected for me: > > on opencard > global gInputID > if environment() = "mobile" then > mobileControlCreate "input" -- so the user can type in > put the result into gInputID > answer "opening text field for input. ID created is:" && gInputID > mobileControlSet gInputID, "rect", "114,135,163,158" > mobileControlSet gInputID, "visible", "true" > mobileControlSet gInputID, "opaque", "true" > mobileControlSet gInputID, "borderstyle", "line" > end if > end opencard > > also I have added two buttons to test the other issues: > > script of button 1: > > on mouseup > local tText > global gInputID > put mobileControlGet(gInputID,"text") into tText > answer tText > end mouseup > > > script of button 2: > > on mouseUp pButtonNumber > global gInputID > mobileControlSet gInputID, "keyboardType", "numeric" > mobileControlDo gInputID, "focus" > end mouseUp > > Also, while testing the focus, I realised that you have to enable the > setting "Toggle Software Keyboard" in the simulator menubar (Hardware -> > Keyboard -> Toggle Software Keyboard). > > Important: Note that you have to FIRST click on the field with the mouse to > focus it, and THEN check this option, otherwise your choice will not have > any effect. This might be a bug in the simulator app, but once you do that, > your choice of showing the soft keyboard will be remembered. > > So now, if you add some text to the field, it will be returned correctly if > you press the first button. Also, if you click on the second button, you > should see a numeric soft keyboard appearing, and the field will get the > focus. > > Hope this helps. > > Kind regards, > Panos > -- > > On Thu, 23 Apr 2020 at 14:03, panagiotis merakos wrote: > >> Hello Graham, >> >> Oh, ignore my previous comment about mobileControlDo , >> "focus", as this bug affected Android only. >> >> I'll try to reproduce the recipe here and see if I get the same problem. >> >> Kind regards, >> Panos >> -- >> >> >> On Thu, 23 Apr 2020 at 13:54, panagiotis merakos >> wrote: >> >>> Hello Graham, >>> >>> >>> >>> >>> >>> >>> *> but despite executing> > mobileControlSet "FRadiusText", >>> "keyboardType", "numeric"> mobileControlDo "FRadiusText", "focus"> > >>> following what the LC Dictionary says , I do not see the soft keyboard* >>> >>> This will not work in LC 9.5.1 - it is an old bug that is fixed in LC 9.6 >>> DP-3: >>> >>> https://github.com/livecode/livecode/pull/7259 >>> >>> *>>nor does a subsequent* >>> >>> *> mobileControlGet "FRadiusText", "text"> ever result in anything but >>> empty even though I can see a text in the native field object.* >>> >>> Are you calling mobileControlGet "FRadiusText", "text" from the same >>> handler that has created the mobile input field, or from a different one? >>> >>> Kind regards, >>> Panos >>> -- >>> >>> On Wed, 22 Apr 2020 at 23:39, Graham Samuel via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> >>>> >>>> Sent from my iPad >>>> >>>> Begin forwarded message: >>>> >>>>> From: Graham Samuel >>>>> Date: 22 April 2020 at 22:14:37 CEST >>>>> To: Mark Waddingham >>>>> Subject: Re: Mobile text input mystery >>>>> >>>>> ?Thanks Mark. Although making the field opaque wasn?t enough, giving >>>> it a black border worked and I can now see it. I can edit it with the >>>> mouse, and I can even put something in it with >>>>> >>>>> mobileControlSet "FRadiusText", "text", "1.0" >>>>> >>>>> but despite executing >>>>> >>>>> mobileControlSet "FRadiusText", "keyboardType", "numeric" >>>>> mobileControlDo "FRadiusText", "focus" >>>>> >>>>> following what the LC Dictionary says , I do not see the soft >>>> keyboard, nor does a subsequent >>>>> >>>>> mobileControlGet "FRadiusText", "text" >>>>> >>>>> ever result in anything but empty even though I can see a text in the >>>> native field object. >>>>> >>>>> But I can?t keep asking questions. I?ll just tinker as usual and hope >>>> to get a result. >>>>> >>>>> Thanks again >>>>> >>>>> Graham >>>>> >>>>>> On 22 Apr 2020, at 19:52, Mark Waddingham wrote: >>>>>> >>>>>>> On 2020-04-22 18:38, Graham Samuel wrote: >>>>>>> Reading your response, Mark, I didn't feel so bad, since the LC >>>>>>> Dictionary says for example about mobileControlSet >>>>>>> syntax: mobileControlSet idOrName, PropertyName, value >>>>>>> and later explains >>>>>>> idOrName - the id or name of the control >>>>>>> So I therefore saw the two ways of referring to the control as >>>>>>> apparently interchangeable. >>>>>> >>>>>> It is - apologies - the engine does look up both by id or name... >>>>>> >>>>>> Do you see something if you also set the 'text' property? >>>>>> >>>>>> There's also the 'borderStyle' property too. >>>>>> >>>>>> My hunch is that something is there, but the background color is the >>>> same as the card, the border style is none and it has no content so it >>>> looks like nothing is there? >>>>>> >>>>>> Warmest Regards, >>>>>> >>>>>> Mark. >>>>>> >>>>>> -- >>>>>> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >>>>>> LiveCode: Everyone can create apps >>>>> >>>> _______________________________________________ >>>> 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 livfoss at mac.com Thu Apr 23 08:32:40 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 23 Apr 2020 14:32:40 +0200 Subject: Mobile text input mystery In-Reply-To: References: Message-ID: <329B11BE-9DAC-4F8C-A232-7F2BE9BF7663@mac.com> Thanks a million, Panos, it all works! Apart from the simulator keyboard trick, I can?t see immediately what I did wrong. Probably haven?t got time to crawl over it now? obviously I can use this as a model in any part of the app that needs it. Thanks again Graham > On 23 Apr 2020, at 13:39, panagiotis merakos via use-livecode wrote: > > Hello Graham, > > The following works as expected for me: > > on opencard > global gInputID > if environment() = "mobile" then > mobileControlCreate "input" -- so the user can type in > put the result into gInputID > answer "opening text field for input. ID created is:" && gInputID > mobileControlSet gInputID, "rect", "114,135,163,158" > mobileControlSet gInputID, "visible", "true" > mobileControlSet gInputID, "opaque", "true" > mobileControlSet gInputID, "borderstyle", "line" > end if > end opencard > > also I have added two buttons to test the other issues: > > script of button 1: > > on mouseup > local tText > global gInputID > put mobileControlGet(gInputID,"text") into tText > answer tText > end mouseup > > > script of button 2: > > on mouseUp pButtonNumber > global gInputID > mobileControlSet gInputID, "keyboardType", "numeric" > mobileControlDo gInputID, "focus" > end mouseUp > > Also, while testing the focus, I realised that you have to enable the > setting "Toggle Software Keyboard" in the simulator menubar (Hardware -> > Keyboard -> Toggle Software Keyboard). > > Important: Note that you have to FIRST click on the field with the mouse to > focus it, and THEN check this option, otherwise your choice will not have > any effect. This might be a bug in the simulator app, but once you do that, > your choice of showing the soft keyboard will be remembered. > > So now, if you add some text to the field, it will be returned correctly if > you press the first button. Also, if you click on the second button, you > should see a numeric soft keyboard appearing, and the field will get the > focus. > > Hope this helps. > > Kind regards, > Panos > -- > > On Thu, 23 Apr 2020 at 14:03, panagiotis merakos wrote: > >> Hello Graham, >> >> Oh, ignore my previous comment about mobileControlDo , >> "focus", as this bug affected Android only. >> >> I'll try to reproduce the recipe here and see if I get the same problem. >> >> Kind regards, >> Panos >> -- >> >> >> On Thu, 23 Apr 2020 at 13:54, panagiotis merakos >> wrote: >> >>> Hello Graham, >>> >>> >>> >>> >>> >>> >>> *> but despite executing> > mobileControlSet "FRadiusText", >>> "keyboardType", "numeric"> mobileControlDo "FRadiusText", "focus"> > >>> following what the LC Dictionary says , I do not see the soft keyboard* >>> >>> This will not work in LC 9.5.1 - it is an old bug that is fixed in LC 9.6 >>> DP-3: >>> >>> https://github.com/livecode/livecode/pull/7259 >>> >>> *>>nor does a subsequent* >>> >>> *> mobileControlGet "FRadiusText", "text"> ever result in anything but >>> empty even though I can see a text in the native field object.* >>> >>> Are you calling mobileControlGet "FRadiusText", "text" from the same >>> handler that has created the mobile input field, or from a different one? >>> >>> Kind regards, >>> Panos >>> -- >>> >>> On Wed, 22 Apr 2020 at 23:39, Graham Samuel via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> >>>> >>>> Sent from my iPad >>>> >>>> Begin forwarded message: >>>> >>>>> From: Graham Samuel >>>>> Date: 22 April 2020 at 22:14:37 CEST >>>>> To: Mark Waddingham >>>>> Subject: Re: Mobile text input mystery >>>>> >>>>> ?Thanks Mark. Although making the field opaque wasn?t enough, giving >>>> it a black border worked and I can now see it. I can edit it with the >>>> mouse, and I can even put something in it with >>>>> >>>>> mobileControlSet "FRadiusText", "text", "1.0" >>>>> >>>>> but despite executing >>>>> >>>>> mobileControlSet "FRadiusText", "keyboardType", "numeric" >>>>> mobileControlDo "FRadiusText", "focus" >>>>> >>>>> following what the LC Dictionary says , I do not see the soft >>>> keyboard, nor does a subsequent >>>>> >>>>> mobileControlGet "FRadiusText", "text" >>>>> >>>>> ever result in anything but empty even though I can see a text in the >>>> native field object. >>>>> >>>>> But I can?t keep asking questions. I?ll just tinker as usual and hope >>>> to get a result. >>>>> >>>>> Thanks again >>>>> >>>>> Graham >>>>> >>>>>> On 22 Apr 2020, at 19:52, Mark Waddingham wrote: >>>>>> >>>>>>> On 2020-04-22 18:38, Graham Samuel wrote: >>>>>>> Reading your response, Mark, I didn't feel so bad, since the LC >>>>>>> Dictionary says for example about mobileControlSet >>>>>>> syntax: mobileControlSet idOrName, PropertyName, value >>>>>>> and later explains >>>>>>> idOrName - the id or name of the control >>>>>>> So I therefore saw the two ways of referring to the control as >>>>>>> apparently interchangeable. >>>>>> >>>>>> It is - apologies - the engine does look up both by id or name... >>>>>> >>>>>> Do you see something if you also set the 'text' property? >>>>>> >>>>>> There's also the 'borderStyle' property too. >>>>>> >>>>>> My hunch is that something is there, but the background color is the >>>> same as the card, the border style is none and it has no content so it >>>> looks like nothing is there? >>>>>> >>>>>> Warmest Regards, >>>>>> >>>>>> Mark. >>>>>> >>>>>> -- >>>>>> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >>>>>> LiveCode: Everyone can create apps >>>>> >>>> _______________________________________________ >>>> 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 livfoss at mac.com Thu Apr 23 08:39:43 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 23 Apr 2020 14:39:43 +0200 Subject: Is there a general mobile picker available? Message-ID: Another mobile question: We have a Native Date Picker, and a Native Time Picker, but what about a picker where you construct your own picking list? I would like to use a picker on iOS to replace radio buttons, but I don?t know a way to do it. Have I just missed it, or isn?t it possible? Graham From klaus at major-k.de Thu Apr 23 08:48:30 2020 From: klaus at major-k.de (Klaus major-k) Date: Thu, 23 Apr 2020 14:48:30 +0200 Subject: Is there a general mobile picker available? In-Reply-To: References: Message-ID: <6CFB3599-BA7E-48B8-9BD8-E4996533451F@major-k.de> Hi Graham, > Am 23.04.2020 um 14:39 schrieb Graham Samuel via use-livecode : > > Another mobile question: > > We have a Native Date Picker, and a Native Time Picker, but what about a picker where you construct your own picking list? I would like to use a picker on iOS to replace radio buttons, but I don?t know a way to do it. Have I just missed it, or isn?t it possible? you just missed it! :-) Check -> mobilepick in the dictionary, that will let you create your own list and let the user pick one! > Graham Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From merakosp at gmail.com Thu Apr 23 08:47:44 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 23 Apr 2020 15:47:44 +0300 Subject: Mobile text input mystery In-Reply-To: <329B11BE-9DAC-4F8C-A232-7F2BE9BF7663@mac.com> References: <329B11BE-9DAC-4F8C-A232-7F2BE9BF7663@mac.com> Message-ID: You're welcome, Graham - thanks for the follow up. I'll make sure we add a note about this simulator keyboard trick in the dictionary. Kind regards, Panos -- On Thu, 23 Apr 2020 at 15:33, Graham Samuel via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks a million, Panos, it all works! Apart from the simulator keyboard > trick, I can?t see immediately what I did wrong. Probably haven?t got time > to crawl over it now? obviously I can use this as a model in any part of > the app that needs it. > > Thanks again > > Graham > > > On 23 Apr 2020, at 13:39, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hello Graham, > > > > The following works as expected for me: > > > > on opencard > > global gInputID > > if environment() = "mobile" then > > mobileControlCreate "input" -- so the user can type in > > put the result into gInputID > > answer "opening text field for input. ID created is:" && gInputID > > mobileControlSet gInputID, "rect", "114,135,163,158" > > mobileControlSet gInputID, "visible", "true" > > mobileControlSet gInputID, "opaque", "true" > > mobileControlSet gInputID, "borderstyle", "line" > > end if > > end opencard > > > > also I have added two buttons to test the other issues: > > > > script of button 1: > > > > on mouseup > > local tText > > global gInputID > > put mobileControlGet(gInputID,"text") into tText > > answer tText > > end mouseup > > > > > > script of button 2: > > > > on mouseUp pButtonNumber > > global gInputID > > mobileControlSet gInputID, "keyboardType", "numeric" > > mobileControlDo gInputID, "focus" > > end mouseUp > > > > Also, while testing the focus, I realised that you have to enable the > > setting "Toggle Software Keyboard" in the simulator menubar (Hardware -> > > Keyboard -> Toggle Software Keyboard). > > > > Important: Note that you have to FIRST click on the field with the mouse > to > > focus it, and THEN check this option, otherwise your choice will not have > > any effect. This might be a bug in the simulator app, but once you do > that, > > your choice of showing the soft keyboard will be remembered. > > > > So now, if you add some text to the field, it will be returned correctly > if > > you press the first button. Also, if you click on the second button, you > > should see a numeric soft keyboard appearing, and the field will get the > > focus. > > > > Hope this helps. > > > > Kind regards, > > Panos > > -- > > > > On Thu, 23 Apr 2020 at 14:03, panagiotis merakos > wrote: > > > >> Hello Graham, > >> > >> Oh, ignore my previous comment about mobileControlDo , > >> "focus", as this bug affected Android only. > >> > >> I'll try to reproduce the recipe here and see if I get the same problem. > >> > >> Kind regards, > >> Panos > >> -- > >> > >> > >> On Thu, 23 Apr 2020 at 13:54, panagiotis merakos > >> wrote: > >> > >>> Hello Graham, > >>> > >>> > >>> > >>> > >>> > >>> > >>> *> but despite executing> > mobileControlSet "FRadiusText", > >>> "keyboardType", "numeric"> mobileControlDo "FRadiusText", "focus"> > > >>> following what the LC Dictionary says , I do not see the soft > keyboard* > >>> > >>> This will not work in LC 9.5.1 - it is an old bug that is fixed in LC > 9.6 > >>> DP-3: > >>> > >>> https://github.com/livecode/livecode/pull/7259 > >>> > >>> *>>nor does a subsequent* > >>> > >>> *> mobileControlGet "FRadiusText", "text"> ever result in anything but > >>> empty even though I can see a text in the native field object.* > >>> > >>> Are you calling mobileControlGet "FRadiusText", "text" from the same > >>> handler that has created the mobile input field, or from a different > one? > >>> > >>> Kind regards, > >>> Panos > >>> -- > >>> > >>> On Wed, 22 Apr 2020 at 23:39, Graham Samuel via use-livecode < > >>> use-livecode at lists.runrev.com> wrote: > >>> > >>>> > >>>> > >>>> Sent from my iPad > >>>> > >>>> Begin forwarded message: > >>>> > >>>>> From: Graham Samuel > >>>>> Date: 22 April 2020 at 22:14:37 CEST > >>>>> To: Mark Waddingham > >>>>> Subject: Re: Mobile text input mystery > >>>>> > >>>>> ?Thanks Mark. Although making the field opaque wasn?t enough, giving > >>>> it a black border worked and I can now see it. I can edit it with the > >>>> mouse, and I can even put something in it with > >>>>> > >>>>> mobileControlSet "FRadiusText", "text", "1.0" > >>>>> > >>>>> but despite executing > >>>>> > >>>>> mobileControlSet "FRadiusText", "keyboardType", "numeric" > >>>>> mobileControlDo "FRadiusText", "focus" > >>>>> > >>>>> following what the LC Dictionary says , I do not see the soft > >>>> keyboard, nor does a subsequent > >>>>> > >>>>> mobileControlGet "FRadiusText", "text" > >>>>> > >>>>> ever result in anything but empty even though I can see a text in the > >>>> native field object. > >>>>> > >>>>> But I can?t keep asking questions. I?ll just tinker as usual and hope > >>>> to get a result. > >>>>> > >>>>> Thanks again > >>>>> > >>>>> Graham > >>>>> > >>>>>> On 22 Apr 2020, at 19:52, Mark Waddingham > wrote: > >>>>>> > >>>>>>> On 2020-04-22 18:38, Graham Samuel wrote: > >>>>>>> Reading your response, Mark, I didn't feel so bad, since the LC > >>>>>>> Dictionary says for example about mobileControlSet > >>>>>>> syntax: mobileControlSet idOrName, PropertyName, value > >>>>>>> and later explains > >>>>>>> idOrName - the id or name of the control > >>>>>>> So I therefore saw the two ways of referring to the control as > >>>>>>> apparently interchangeable. > >>>>>> > >>>>>> It is - apologies - the engine does look up both by id or name... > >>>>>> > >>>>>> Do you see something if you also set the 'text' property? > >>>>>> > >>>>>> There's also the 'borderStyle' property too. > >>>>>> > >>>>>> My hunch is that something is there, but the background color is the > >>>> same as the card, the border style is none and it has no content so it > >>>> looks like nothing is there? > >>>>>> > >>>>>> Warmest Regards, > >>>>>> > >>>>>> Mark. > >>>>>> > >>>>>> -- > >>>>>> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > >>>>>> LiveCode: Everyone can create apps > >>>>> > >>>> _______________________________________________ > >>>> 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 benr_mc at cogapp.com Thu Apr 23 11:18:28 2020 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 23 Apr 2020 16:18:28 +0100 Subject: Is there a general mobile picker available? In-Reply-To: <6CFB3599-BA7E-48B8-9BD8-E4996533451F@major-k.de> References: <6CFB3599-BA7E-48B8-9BD8-E4996533451F@major-k.de> Message-ID: Also, a standard LiveCode "Options" menu renders as a native picker on iOS (not sure about Android). This is convenient, because it works in a sensible way on desktop, and in a native way on iOS. Of course, it looks like a shitty motif button until the user touches it... On 23/04/2020 13:48, Klaus major-k via use-livecode wrote: > Hi Graham, > >> Am 23.04.2020 um 14:39 schrieb Graham Samuel via use-livecode : >> >> Another mobile question: >> >> We have a Native Date Picker, and a Native Time Picker, but what about a picker where you construct your own picking list? I would like to use a picker on iOS to replace radio buttons, but I don?t know a way to do it. Have I just missed it, or isn?t it possible? > > you just missed it! :-) > Check -> mobilepick > in the dictionary, that will let you create your own list and let the user pick one! > >> Graham > > Best > > Klaus From benr at cogapp.com Thu Apr 23 11:24:30 2020 From: benr at cogapp.com (Ben Rubinstein) Date: Thu, 23 Apr 2020 16:24:30 +0100 Subject: Native Switch Button? In-Reply-To: <5FAC261C-BB84-45DC-9ECD-B2CF4E903875@mac.com> References: <5FAC261C-BB84-45DC-9ECD-B2CF4E903875@mac.com> Message-ID: Hi Graham - I can't answer this in detail, but I have used the native switchbutton widget, a bit, without seeing any problem of the kind you describe. I'm catching the hiliteChanged message in the widget itself, not in the card script, for what that's worth. (By the way, it scales - it's just that the default size is probably a bit excessive.) On 23/04/2020 11:04, Graham Samuel via use-livecode wrote: > To add to my query below, there?s something even more strange. In my beta app there is a card with three Native Switch Buttons on it (they all have different names). i have another test card, as described before, with its own switch. When a button script on yet another card executes a ?go' to the 3-switch card, the hiliteChanged handler in the test card fires, even though the card isn?t open! Again, the switch on this card has a different name - I read somewhere that widget names have to be unique - but this CAN?T be expected behaviour, can it? I am about to issue a bug report, but it may take too long to get a recipe. > > Graham > >> On 23 Apr 2020, at 11:28, Graham Samuel via use-livecode wrote: >> >> Is anyone using the Native Switch Button? It looks OK (a bit big on my iOS simulator, but it will do) and it works - although the insanity of spelling ?highlight? two ways in the one object is apparent - but running an experiment just now in which I go to a card with such an on object on it and not much else, certainly nothing in the card script, a ?hiliteChanged? event is triggered even though AFAIKS the highlight (see what I did there?) hasn?t changed. >> >> Is this expected behaviour? I can?t really believe it, but as usual I can?t see what i?m doing wrong. I certainly don?t want the message to be triggered unless the user touches the screen or I deliberately change the state by script. >> >> Graham From livfoss at mac.com Thu Apr 23 12:38:43 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 23 Apr 2020 18:38:43 +0200 Subject: Is there a general mobile picker available? In-Reply-To: References: <6CFB3599-BA7E-48B8-9BD8-E4996533451F@major-k.de> Message-ID: <6961FB22-83E0-4474-87DB-8A2993AD7A52@mac.com> Thanks Klaus and Ben! It?s easy to miss stuff, then one feels stupid. I can?t immediately remember what an ?options? menu is, or how to invoke one, so I?ll just go with a simple ?mobilepick? for now. Graba > On 23 Apr 2020, at 17:18, Ben Rubinstein via use-livecode wrote: > > Also, a standard LiveCode "Options" menu renders as a native picker on iOS (not sure about Android). This is convenient, because it works in a sensible way on desktop, and in a native way on iOS. Of course, it looks like a shitty motif button until the user touches it... > > On 23/04/2020 13:48, Klaus major-k via use-livecode wrote: >> Hi Graham, >>> Am 23.04.2020 um 14:39 schrieb Graham Samuel via use-livecode : >>> >>> Another mobile question: >>> >>> We have a Native Date Picker, and a Native Time Picker, but what about a picker where you construct your own picking list? I would like to use a picker on iOS to replace radio buttons, but I don?t know a way to do it. Have I just missed it, or isn?t it possible? >> you just missed it! :-) >> Check -> mobilepick >> in the dictionary, that will let you create your own list and let the user pick one! >>> Graham >> Best >> Klaus > > _______________________________________________ > 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 livfoss at mac.com Thu Apr 23 12:41:39 2020 From: livfoss at mac.com (Graham Samuel) Date: Thu, 23 Apr 2020 18:41:39 +0200 Subject: Widget Properties Message-ID: I am getting rather fed up with the widgets I?ve been trying to use for my mobile app. For example, the iOS button widget (a press button, not a switch) has so few properties that you can?t change the colour of the text in any way I could see and sometimes mine turn out blue or red for no apparent reason. Hoping that other properties were just not showing up, I tried put the properties of widget ?myWidget? in the message box and got nothing, so I don?t know how to proceed. I also hate that the object doesn?t have a label separate from its name. I would never recommend anyone to put spaces in names of objects for scripting, but of course they?re essential for many kinds of label seen by a user, so the two different strings which work in normal LC are essential, in my opinion. Oh dear, this has some danger of becoming a rant? Graham From andreas.bergendal at gmail.com Thu Apr 23 15:50:45 2020 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Thu, 23 Apr 2020 21:50:45 +0200 Subject: Which git service suits a LiveCoder best? In-Reply-To: References: <76CE3A40-713A-445E-AB6B-8DFBFFC7E5AE@gmail.com> Message-ID: Thanks everyone for your feedback and insights. Nothing speaks against GitHub, it seems, so I?ll give that a try then. Andreas From scott at elementarysoftware.com Thu Apr 23 16:32:31 2020 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Thu, 23 Apr 2020 13:32:31 -0700 Subject: Widget Properties In-Reply-To: References: Message-ID: Hello Graham, Sorry if I missed this earlier but, what made you go with a button widget rather than just using a standard LiveCode button? ? Scott > On Apr 23, 2020, at 9:41 AM, Graham Samuel via use-livecode wrote: > > I am getting rather fed up with the widgets I?ve been trying to use for my mobile app. For example, the iOS button widget (a press button, not a switch) has so few properties that you can?t change the colour of the text in any way I could see and sometimes mine turn out blue or red for no apparent reason. Hoping that other properties were just not showing up, I tried > > put the properties of widget ?myWidget? > > in the message box and got nothing, so I don?t know how to proceed. > > I also hate that the object doesn?t have a label separate from its name. I would never recommend anyone to put spaces in names of objects for scripting, but of course they?re essential for many kinds of label seen by a user, so the two different strings which work in normal LC are essential, in my opinion. > > Oh dear, this has some danger of becoming a rant? > > Graham > _______________________________________________ > 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 dochawk at gmail.com Thu Apr 23 21:19:02 2020 From: dochawk at gmail.com (doc hawk) Date: Thu, 23 Apr 2020 18:19:02 -0700 Subject: Which git service suits a LiveCoder best? In-Reply-To: References: <76CE3A40-713A-445E-AB6B-8DFBFFC7E5AE@gmail.com> Message-ID: <8AAB9802-809C-4069-9F96-452A2B5732E3@gmail.com> Andreas announced, > Thanks everyone for your feedback and insights. Nothing speaks against GitHub, it seems, so I?ll give that a try then. I?m curious though: *how* are you gong to do this? Don?t you need to reduce the stacks to text files first? From brian at milby7.com Thu Apr 23 21:58:34 2020 From: brian at milby7.com (Brian Milby) Date: Thu, 23 Apr 2020 21:58:34 -0400 Subject: Which git service suits a LiveCoder best? In-Reply-To: <8AAB9802-809C-4069-9F96-452A2B5732E3@gmail.com> References: <76CE3A40-713A-445E-AB6B-8DFBFFC7E5AE@gmail.com> <8AAB9802-809C-4069-9F96-452A2B5732E3@gmail.com> Message-ID: <84454214-9e49-498f-a04d-67678ff9f6a6@Spark> My scriptTracker plugin is an easy way to get the scripts out as text files for use with git (binary stack stays the same, plugin can automatically export scripts on every save of the stack) Thanks, Brian On Apr 23, 2020, 9:20 PM -0400, doc hawk via use-livecode , wrote: > Andreas announced, > > Thanks everyone for your feedback and insights. Nothing speaks against GitHub, it seems, so I?ll give that a try then. > > I?m curious though: *how* are you gong to do this? > > Don?t you need to reduce the stacks to text files first? > > > _______________________________________________ > 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 Fri Apr 24 00:01:12 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 23 Apr 2020 21:01:12 -0700 Subject: Which git service suits a LiveCoder best? In-Reply-To: <84454214-9e49-498f-a04d-67678ff9f6a6@Spark> References: <76CE3A40-713A-445E-AB6B-8DFBFFC7E5AE@gmail.com> <8AAB9802-809C-4069-9F96-452A2B5732E3@gmail.com> <84454214-9e49-498f-a04d-67678ff9f6a6@Spark> Message-ID: <4cf93c42-b86e-01ad-e6c8-f1c177029ff2@sonic.net> On 4/23/20 6:58 PM, Brian Milby via use-livecode wrote: > My scriptTracker plugin is an easy way to get the scripts out as text files for use with git (binary stack stays the same, plugin can automatically export scripts on every save of the stack) Which, if you can deal with the sluggishness of livecodeshare, is at http://livecodeshare.runrev.com/stack/874/Script-Tracker or https://github.com/bwmilby/lc-misc -- Mark Wieder ahsoftware at gmail.com From brian at milby7.com Fri Apr 24 00:04:22 2020 From: brian at milby7.com (Brian Milby) Date: Fri, 24 Apr 2020 00:04:22 -0400 Subject: Which git service suits a LiveCoder best? In-Reply-To: <4cf93c42-b86e-01ad-e6c8-f1c177029ff2@sonic.net> References: <76CE3A40-713A-445E-AB6B-8DFBFFC7E5AE@gmail.com> <8AAB9802-809C-4069-9F96-452A2B5732E3@gmail.com> <84454214-9e49-498f-a04d-67678ff9f6a6@Spark> <4cf93c42-b86e-01ad-e6c8-f1c177029ff2@sonic.net> Message-ID: New dedicated repo is located at: https://github.com/bwmilby/scriptTracker Thanks, Brian On Apr 24, 2020, 12:02 AM -0400, Mark Wieder via use-livecode , wrote: > On 4/23/20 6:58 PM, Brian Milby via use-livecode wrote: > > My scriptTracker plugin is an easy way to get the scripts out as text files for use with git (binary stack stays the same, plugin can automatically export scripts on every save of the stack) > > Which, if you can deal with the sluggishness of livecodeshare, is at > http://livecodeshare.runrev.com/stack/874/Script-Tracker > > or > https://github.com/bwmilby/lc-misc > > -- > 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 ahsoftware at sonic.net Fri Apr 24 00:09:39 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 23 Apr 2020 21:09:39 -0700 Subject: Which git service suits a LiveCoder best? In-Reply-To: References: <76CE3A40-713A-445E-AB6B-8DFBFFC7E5AE@gmail.com> <8AAB9802-809C-4069-9F96-452A2B5732E3@gmail.com> <84454214-9e49-498f-a04d-67678ff9f6a6@Spark> <4cf93c42-b86e-01ad-e6c8-f1c177029ff2@sonic.net> Message-ID: <4debb95d-28d5-a828-6a3b-2b1b18153a9c@sonic.net> On 4/23/20 9:04 PM, Brian Milby via use-livecode wrote: > New dedicated repo is located at: > https://github.com/bwmilby/scriptTracker Oh, cool. I'll change my git remote. -- Mark Wieder ahsoftware at gmail.com From livfoss at mac.com Fri Apr 24 04:37:48 2020 From: livfoss at mac.com (Graham Samuel) Date: Fri, 24 Apr 2020 10:37:48 +0200 Subject: Widget Properties In-Reply-To: References: Message-ID: <0C38F652-FDE9-43DF-A77E-784D4A540D2D@mac.com> Hello Scott Just to keep you in the loop, I have been trying to produce a mobile app (right now it?s iPhone ? Android may come later). I?m trying to do this as rapidly as possible (it is connected in a minor way to the lockdown measures for the pandemic). I have lots of experience of LiveCode development but almost zero for mobile. As my app took shape, I noticed how unlike a typical iPhone app it looked, mostly because I was using the controls I was familiar with, such as radio buttons and ordinary fields. I wondered if my users might find its interface unfamiliar. Therefore I have been seeking to make my app?s user interface look and feel more like other iPhone apps. I have already had a lot of help from this list, but it seems there is no one packaged solution to getting an ?iPhone look and feel?. As LC offers some ?native? controls, I tried to use the maximum of these - I even paid for a pack of native widgets. That?s why I was using the button widget. So far the results have been disappointing in the widget line, although other features like mobilePick and the choice of soft keyboards have worked well. On the whole up to now, the widget solutions have only been marginally helpful. Hope that explains it - probably more than you want to know! Graham > On 23 Apr 2020, at 22:32, scott--- via use-livecode wrote: > > Hello Graham, > > Sorry if I missed this earlier but, what made you go with a button widget rather than just using a standard LiveCode button? > > ? > Scott > >> On Apr 23, 2020, at 9:41 AM, Graham Samuel via use-livecode wrote: >> >> I am getting rather fed up with the widgets I?ve been trying to use for my mobile app. For example, the iOS button widget (a press button, not a switch) has so few properties that you can?t change the colour of the text in any way I could see and sometimes mine turn out blue or red for no apparent reason. Hoping that other properties were just not showing up, I tried >> >> put the properties of widget ?myWidget? >> >> in the message box and got nothing, so I don?t know how to proceed. >> >> I also hate that the object doesn?t have a label separate from its name. I would never recommend anyone to put spaces in names of objects for scripting, but of course they?re essential for many kinds of label seen by a user, so the two different strings which work in normal LC are essential, in my opinion. >> >> Oh dear, this has some danger of becoming a rant? >> >> Graham >> _______________________________________________ >> 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 hakan at exformedia.se Fri Apr 24 07:49:43 2020 From: hakan at exformedia.se (hakan at exformedia.se) Date: Fri, 24 Apr 2020 13:49:43 +0200 Subject: Mobile text input mystery In-Reply-To: <845BEC22-FD78-4397-8BAE-6D468E1BCA58@mac.com> References: <90FAC41E-15CE-4133-AAC5-E9C4A42652DF@mac.com> <845BEC22-FD78-4397-8BAE-6D468E1BCA58@mac.com> Message-ID: <38eeb3f6-3edc-41c7-8b50-1d2aefa8ea58@Spark> Have you tried to add a background color to the control so you can actually see it? Then the dictionary actually tells you that the result holds the ID. I know that you can then use them both. I usually use the ID as that is guaranteed to be unique. H?kan On 22 Apr 2020, 19:39 +0200, Graham Samuel via use-livecode , wrote: > Reading your response, Mark, I didn't feel so bad, since the LC Dictionary says for example about mobileControlSet > > syntax: mobileControlSet idOrName, PropertyName, value > > and later explains > > idOrName - the id or name of the control > > So I therefore saw the two ways of referring to the control as apparently interchangeable. > > However, I changed my openCard handler according to your suggestion and nothing at all changed. I think there must be some other factor, but as usual I just can?t see it. > > Just to labour the point, here is my actual handler with the original names in place. The answer call works as expected: > > on opencard -- we dynamically create a field for the user to key in the radius > > global sinputID -- this is all from the LC lesson > > if environment() = "mobile" then > > mobileControlCreate "input", "FRadiusText" -- so the user can type in > > put the result into sinputID > > answer "opening text field for radius input. ID created is:" && sinputID && "Name is:" && "FRadiusText" > > mobileControlSet "FRadiusText", "rect", "114,135,163,158" -- this is where the original rect was > > mobileControlSet "FRadiusText", "visible", "true" > > mobileControlSet "FRadiusText", "opaque", "true" > > end if > > end opencard > > > Still puzzled > > Graham > > > On 22 Apr 2020, at 18:34, Mark Waddingham via use-livecode wrote: > > > > On 2020-04-22 17:00, Graham Samuel via use-livecode wrote: > > > As usual, the problem will be my fault, but I can?t get a mobile input > > > field to appear on a card. I?m debugging it at present, which explains > > > the answer statement: > > > on opencard -- we dynamically create a field for the user to key in > > > global sinputID -- this is all from the LC lesson. It?s a global > > > because I need to refer to it in a button later > > > if environment() = "mobile" then > > > mobileControlCreate "input", "FMyText" -- so the user can type in > > > put the result into sinputID ? the Dictionary doesn?t mention > > > ?the result? but it does seem to be right > > > answer "opening text field for input. ID created is:" && sinputID > > > mobileControlSet sinputID, "rect", ?114,135,163,158? ? this is > > > a real location on the card > > > mobileControlSet sinputID, "visible", "true" > > > mobileControlSet sinputID, "opaque", "true" > > > end if > > > end opencard > > > > I'm pretty sure if you give your mobileControl a name (FMyText) in this case, then that is the only way you can refer to it. You can only use 'the result' of the Create function *if* you didn't give it a name. > > > > So you need to do either: > > > > mobileControlCreate "input", "FMyText" > > mobileControlSet "FMyText", ... > > > > OR > > > > mobileControlCreate "input" > > put the result into sinputID > > mobileControlSet sinputID, ... > > > > Warmest Regards, > > > > Mark. > > > > -- > > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > > LiveCode: Everyone can create apps > > > > _______________________________________________ > > 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 andre at andregarzia.com Fri Apr 24 11:48:07 2020 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 24 Apr 2020 16:48:07 +0100 Subject: Which git service suits a LiveCoder best? In-Reply-To: <4debb95d-28d5-a828-6a3b-2b1b18153a9c@sonic.net> References: <76CE3A40-713A-445E-AB6B-8DFBFFC7E5AE@gmail.com> <8AAB9802-809C-4069-9F96-452A2B5732E3@gmail.com> <84454214-9e49-498f-a04d-67678ff9f6a6@Spark> <4cf93c42-b86e-01ad-e6c8-f1c177029ff2@sonic.net> <4debb95d-28d5-a828-6a3b-2b1b18153a9c@sonic.net> Message-ID: I came here to recommend "script tracker" as a powerful tool for those storing stacks in vcs. In the end it all depends on how your workflow is going to happen. Are you going to do merges? If that is the case then you need to plan ahead and carefully since you can't merge binary stacks. Another potential solution is any of the old school vcs in which you "checked out a file" and locked other people from changing it. This way, it becomes easier to work with binary files as there is never a merge (or there shouldn't be). There used to be a really nice tool supporting this use case by Chipp Walters called Magic Carpet. I used to make very good use of it for working. I wonder if Chipp still here and if he'd consider releasing that as FOSS. On Fri, 24 Apr 2020 at 05:11, Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 4/23/20 9:04 PM, Brian Milby via use-livecode wrote: > > New dedicated repo is located at: > > https://github.com/bwmilby/scriptTracker > > Oh, cool. I'll change my git remote. > > -- > 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 > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From bogdanoff at me.com Fri Apr 24 14:07:18 2020 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 24 Apr 2020 11:07:18 -0700 Subject: Groups placed on cards In-Reply-To: References: Message-ID: <046B3C90-1E37-4F30-95D5-F3BB76DDB578@me.com> Hi, I have a stack with multiple cards (not part of a background) and I want to place a group on each card?the same group--AND be able to edit a single group script. And ideally, I would be able to configure as needed the controls of all instances of the group from a single location. For example, I have a glossary in a separate stack in another window, but now want to incorporate that stack to display as a pop-down in the main stack window on each (non-background) card. In testing, I?m seeing each placement of the group now as a new object. This is for both Mac and Windows. What would be my options to manage this? Thanks, Peter Bogdanoff From jacque at hyperactivesw.com Fri Apr 24 14:26:54 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Apr 2020 13:26:54 -0500 Subject: Widget Properties In-Reply-To: <0C38F652-FDE9-43DF-A77E-784D4A540D2D@mac.com> References: <0C38F652-FDE9-43DF-A77E-784D4A540D2D@mac.com> Message-ID: On 4/24/20 3:37 AM, Graham Samuel via use-livecode wrote: > As my app took shape, I noticed how unlike a typical iPhone app it looked, mostly because I was using the controls I was familiar with, such as radio buttons and ordinary fields. I wondered if my users might find its interface unfamiliar. Therefore I have been seeking to make my app?s user interface look and feel more like other iPhone apps. I have already had a lot of help from this list, but it seems there is no one packaged solution to getting an ?iPhone look and feel?. You mentioned the iOS native button doesn't look right. If it makes you feel better, the Android one doesn't either. So what I did was use a round-rect graphic as a button. Set the linesize to 1 and the round radius to 8. You can set the border color and the text color. I use the same graphic for Android. Sometimes Android buttons have a fill color, sometimes they are just borderless text. I adjust those properties based on platform. IOS buttons use sentence capitalization, Android buttons use all-caps. The label can be adjusted the same way based on platform. It's an easy fix and looks native. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Apr 24 14:31:48 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Apr 2020 13:31:48 -0500 Subject: Widget Properties In-Reply-To: References: Message-ID: On 4/23/20 11:41 AM, Graham Samuel via use-livecode wrote: > Hoping that other properties were just not showing up, I tried > > put the properties of widget ?myWidget? > > in the message box and got nothing, so I don?t know how to proceed. The properties are an array so they won't display in the message box. I usually write a tiny one-line handler and put a breakpoint in so I can see the array in the variable pane. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Fri Apr 24 14:47:23 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 Apr 2020 11:47:23 -0700 Subject: Widget Properties In-Reply-To: References: Message-ID: J. Landman Gay wrote: > So what I did was use a round-rect graphic as a button. Set the > linesize to 1 and the round radius to 8. You can set the border color > and the text color. Using the graphic is a much better choice than a roundRect button, because the button uses an older non-antialiased corner. If any of the C programmers here have a few minutes, we could enjoy all the benefits roundRect button with appearances as good as a roundRect graphic with what Monte describes as a fairly minor bit of work: This is possibly a good user contribution. It's just wrapping the drawroundrect call with `dc -> setquality(QUALITY_SMOOTH); ` & `dc -> setquality(QUALITY_DEFAULT);` https://quality.livecode.com/show_bug.cgi?id=21118 -- 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 dunbarx at aol.com Fri Apr 24 15:14:35 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 24 Apr 2020 19:14:35 +0000 (UTC) Subject: Groups placed on cards In-Reply-To: <046B3C90-1E37-4F30-95D5-F3BB76DDB578@me.com> References: <046B3C90-1E37-4F30-95D5-F3BB76DDB578@me.com> Message-ID: <931483665.257690.1587755675438@mail.yahoo.com> Hi. You can certainly create a group and set its backgroundbehjavior, then "place" it on any or all existing cards. This assumes that the group comes after the multi-card stack. Then any changes to the physical structure of your group will appear in all instances. But I am not sure how you would separate the scripts of such a group. Others may know better. You can always, however, tailor the group script to detect the card it is on, and execute only what is pertinent to that card. In the group script: on mouseUp? switch the number of this cd? ? case 1? ? ? answer random(999)? ? ? break? ? case 2? ? ? answer any item of "cat, dog,42"? ? ? break? end switchend mouseUp Craig?? -----Original Message----- From: Peter Bogdanoff via use-livecode To: How to use LiveCode Cc: Peter Bogdanoff Sent: Fri, Apr 24, 2020 2:07 pm Subject: Groups placed on cards Hi, I have a stack with multiple cards (not part of a background) and I want to place a group on each card?the same group--AND be able to edit a single group script.? And ideally, I would be able to configure as needed the controls of all instances of the group from a single location. For example, I have a glossary in a separate stack in another window, but now want to incorporate that stack to display as a pop-down in the main stack window on each (non-background) card. In testing, I?m seeing each placement of the group now as a new object. This is for both Mac and Windows. What would be my options to manage this? Thanks, Peter Bogdanoff _______________________________________________ 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 Fri Apr 24 15:22:54 2020 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 24 Apr 2020 12:22:54 -0700 Subject: Groups placed on cards In-Reply-To: <931483665.257690.1587755675438@mail.yahoo.com> References: <046B3C90-1E37-4F30-95D5-F3BB76DDB578@me.com> <931483665.257690.1587755675438@mail.yahoo.com> Message-ID: <388059C6-3F02-4B3D-BA9F-470FE53B8D9B@me.com> Thanks Craig, > On Apr 24, 2020, at 12:14 PM, dunbarx--- via use-livecode wrote: > > Hi. > You can certainly create a group and set its backgroundbehjavior, then "place" it on any or all existing cards. This assumes that the group comes after the multi-card stack. ?...comes after the multi-card stack? Do you mean have the group on its own card, then place it elsewhere after that? > Then any changes to the physical structure of your group will appear in all instances. > But I am not sure how you would separate the scripts of such a group. Others may know better. > You can always, however, tailor the group script to detect the card it is on, and execute only what is pertinent to that card. In the group script: > on mouseUp switch the number of this cd case 1 answer random(999) break case 2 answer any item of "cat, dog,42" break end switchend mouseUp > Craig > > > -----Original Message----- > From: Peter Bogdanoff via use-livecode > To: How to use LiveCode > Cc: Peter Bogdanoff > Sent: Fri, Apr 24, 2020 2:07 pm > Subject: Groups placed on cards > > Hi, > > I have a stack with multiple cards (not part of a background) and I want to place a group on each card?the same group--AND be able to edit a single group script. And ideally, I would be able to configure as needed the controls of all instances of the group from a single location. > > For example, I have a glossary in a separate stack in another window, but now want to incorporate that stack to display as a pop-down in the main stack window on each (non-background) card. > > In testing, I?m seeing each placement of the group now as a new object. > > This is for both Mac and Windows. > > What would be my options to manage this? > > Thanks, > > Peter Bogdanoff > _______________________________________________ > 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 Fri Apr 24 15:51:25 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 24 Apr 2020 19:51:25 +0000 (UTC) Subject: Groups placed on cards In-Reply-To: <388059C6-3F02-4B3D-BA9F-470FE53B8D9B@me.com> References: <046B3C90-1E37-4F30-95D5-F3BB76DDB578@me.com> <931483665.257690.1587755675438@mail.yahoo.com> <388059C6-3F02-4B3D-BA9F-470FE53B8D9B@me.com> Message-ID: <1336575491.271348.1587757885627@mail.yahoo.com> Peter. If you have a stack with one card, create a group, and set the backGroundBehavior of the group, then any new card you create will automatically contain a copy of the group. If you already have a stack with multiple cards, and create a group somewhere, then if you want to copy it to other cards it to be done with the "place" command. You can always add or delete groups with LC gadgetry. What you really asked, though, was whether the same group that appears on multiple cards can each have unique scripts based on the particular instance of any of them. I am not sure that group scripts can be so compartmentalized. That is why I invited others to chime in. The workaround I mentioned is just that, a workaround, unless some combination of properties will allow the "same" group to hold its own unique script. Craig? -----Original Message----- From: Peter Bogdanoff via use-livecode To: How to use LiveCode Cc: Peter Bogdanoff Sent: Fri, Apr 24, 2020 3:22 pm Subject: Re: Groups placed on cards Thanks Craig, > On Apr 24, 2020, at 12:14 PM, dunbarx--- via use-livecode wrote: > > Hi. > You can certainly create a group and set its backgroundbehjavior, then "place" it on any or all existing cards. This assumes that the group comes after the multi-card stack. ?...comes after the multi-card stack? Do you mean have the group on its own card, then place it elsewhere after that? > Then any changes to the physical structure of your group will appear in all instances. > But I am not sure how you would separate the scripts of such a group. Others may know better. > You can always, however, tailor the group script to detect the card it is on, and execute only what is pertinent to that card. In the group script: > on mouseUp? switch the number of this cd? ? case 1? ? ? answer random(999)? ? ? break? ? case 2? ? ? answer any item of "cat, dog,42"? ? ? break? end switchend mouseUp > Craig? > > > -----Original Message----- > From: Peter Bogdanoff via use-livecode > To: How to use LiveCode > Cc: Peter Bogdanoff > Sent: Fri, Apr 24, 2020 2:07 pm > Subject: Groups placed on cards > > Hi, > > I have a stack with multiple cards (not part of a background) and I want to place a group on each card?the same group--AND be able to edit a single group script.? And ideally, I would be able to configure as needed the controls of all instances of the group from a single location. > > For example, I have a glossary in a separate stack in another window, but now want to incorporate that stack to display as a pop-down in the main stack window on each (non-background) card. > > In testing, I?m seeing each placement of the group now as a new object. > > This is for both Mac and Windows. > > What would be my options to manage this? > > Thanks, > > Peter Bogdanoff > _______________________________________________ > 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 bogdanoff at me.com Fri Apr 24 16:02:23 2020 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 24 Apr 2020 13:02:23 -0700 Subject: Groups placed on cards In-Reply-To: <1336575491.271348.1587757885627@mail.yahoo.com> References: <046B3C90-1E37-4F30-95D5-F3BB76DDB578@me.com> <931483665.257690.1587755675438@mail.yahoo.com> <388059C6-3F02-4B3D-BA9F-470FE53B8D9B@me.com> <1336575491.271348.1587757885627@mail.yahoo.com> Message-ID: <0AE86893-ECF4-4B4A-9445-26766DEF5350@me.com> On the contrary, I want each instance of the group to be exactly the same. I?m not seeing that when I place a group?it now seems to be a new object. Peter > On Apr 24, 2020, at 12:51 PM, dunbarx--- via use-livecode wrote: > > Peter. > If you have a stack with one card, create a group, and set the backGroundBehavior of the group, then any new card you create will automatically contain a copy of the group. > If you already have a stack with multiple cards, and create a group somewhere, then if you want to copy it to other cards it to be done with the "place" command. > You can always add or delete groups with LC gadgetry. > What you really asked, though, was whether the same group that appears on multiple cards can each have unique scripts based on the particular instance of any of them. I am not sure that group scripts can be so compartmentalized. That is why I invited others to chime in. The workaround I mentioned is just that, a workaround, unless some combination of properties will allow the "same" group to hold its own unique script. > Craig > > > -----Original Message----- > From: Peter Bogdanoff via use-livecode > To: How to use LiveCode > Cc: Peter Bogdanoff > Sent: Fri, Apr 24, 2020 3:22 pm > Subject: Re: Groups placed on cards > > Thanks Craig, > >> On Apr 24, 2020, at 12:14 PM, dunbarx--- via use-livecode wrote: >> >> Hi. >> You can certainly create a group and set its backgroundbehjavior, then "place" it on any or all existing cards. This assumes that the group comes after the multi-card stack. > > ?...comes after the multi-card stack? Do you mean have the group on its own card, then place it elsewhere after that? > > >> Then any changes to the physical structure of your group will appear in all instances. >> But I am not sure how you would separate the scripts of such a group. Others may know better. >> You can always, however, tailor the group script to detect the card it is on, and execute only what is pertinent to that card. In the group script: >> on mouseUp switch the number of this cd case 1 answer random(999) break case 2 answer any item of "cat, dog,42" break end switchend mouseUp >> Craig >> >> >> -----Original Message----- >> From: Peter Bogdanoff via use-livecode >> To: How to use LiveCode >> Cc: Peter Bogdanoff >> Sent: Fri, Apr 24, 2020 2:07 pm >> Subject: Groups placed on cards >> >> Hi, >> >> I have a stack with multiple cards (not part of a background) and I want to place a group on each card?the same group--AND be able to edit a single group script. And ideally, I would be able to configure as needed the controls of all instances of the group from a single location. >> >> For example, I have a glossary in a separate stack in another window, but now want to incorporate that stack to display as a pop-down in the main stack window on each (non-background) card. >> >> In testing, I?m seeing each placement of the group now as a new object. >> >> This is for both Mac and Windows. >> >> What would be my options to manage this? >> >> Thanks, >> >> Peter Bogdanoff >> _______________________________________________ >> 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 > _______________________________________________ > 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 livfoss at mac.com Fri Apr 24 16:35:45 2020 From: livfoss at mac.com (Graham Samuel) Date: Fri, 24 Apr 2020 22:35:45 +0200 Subject: Widget Properties In-Reply-To: References: <0C38F652-FDE9-43DF-A77E-784D4A540D2D@mac.com> Message-ID: Thanks Jacque - info safely stored in my ?how to make a mobile app look like one? archive! Thanks for the other info about properties - how would you then refer to a property that isn?t shown in the Property Inspector for a widget, such as fontColor (or whatever)? I assume the array is just a way of accessing the whole collection and not the route to setting an individual property - but I?m probably wrong. Graham > On 24 Apr 2020, at 20:26, J. Landman Gay via use-livecode wrote: > > On 4/24/20 3:37 AM, Graham Samuel via use-livecode wrote: >> As my app took shape, I noticed how unlike a typical iPhone app it looked, mostly because I was using the controls I was familiar with, such as radio buttons and ordinary fields. I wondered if my users might find its interface unfamiliar. Therefore I have been seeking to make my app?s user interface look and feel more like other iPhone apps. I have already had a lot of help from this list, but it seems there is no one packaged solution to getting an ?iPhone look and feel?. > > You mentioned the iOS native button doesn't look right. If it makes you feel better, the Android one doesn't either. So what I did was use a round-rect graphic as a button. Set the linesize to 1 and the round radius to 8. You can set the border color and the text color. > > I use the same graphic for Android. Sometimes Android buttons have a fill color, sometimes they are just borderless text. I adjust those properties based on platform. IOS buttons use sentence capitalization, Android buttons use all-caps. The label can be adjusted the same way based on platform. > > It's an easy fix and looks native. > > -- > 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 brian at milby7.com Fri Apr 24 16:43:24 2020 From: brian at milby7.com (Brian Milby) Date: Fri, 24 Apr 2020 16:43:24 -0400 Subject: Groups placed on cards In-Reply-To: <0AE86893-ECF4-4B4A-9445-26766DEF5350@me.com> References: <046B3C90-1E37-4F30-95D5-F3BB76DDB578@me.com> <931483665.257690.1587755675438@mail.yahoo.com> <388059C6-3F02-4B3D-BA9F-470FE53B8D9B@me.com> <1336575491.271348.1587757885627@mail.yahoo.com> <0AE86893-ECF4-4B4A-9445-26766DEF5350@me.com> Message-ID: <380b0e4e-2a7e-4fd1-b691-fcc2722aabf2@Spark> Is the group getting a new object ID? ?With the place command it should not and you only really have one group. ?It will appear on each card that it is placed on. ?You do not need to select background behavior, you just need to make the group shared. Thanks, Brian On Apr 24, 2020, 4:01 PM -0400, Peter Bogdanoff via use-livecode , wrote: > On the contrary, I want each instance of the group to be exactly the same. I?m not seeing that when I place a group?it now seems to be a new object. > > Peter > > > On Apr 24, 2020, at 12:51 PM, dunbarx--- via use-livecode wrote: > > > > Peter. > > If you have a stack with one card, create a group, and set the backGroundBehavior of the group, then any new card you create will automatically contain a copy of the group. > > If you already have a stack with multiple cards, and create a group somewhere, then if you want to copy it to other cards it to be done with the "place" command. > > You can always add or delete groups with LC gadgetry. > > What you really asked, though, was whether the same group that appears on multiple cards can each have unique scripts based on the particular instance of any of them. I am not sure that group scripts can be so compartmentalized. That is why I invited others to chime in. The workaround I mentioned is just that, a workaround, unless some combination of properties will allow the "same" group to hold its own unique script. > > Craig > > > > > > -----Original Message----- > > From: Peter Bogdanoff via use-livecode > > To: How to use LiveCode > > Cc: Peter Bogdanoff > > Sent: Fri, Apr 24, 2020 3:22 pm > > Subject: Re: Groups placed on cards > > > > Thanks Craig, > > > > > On Apr 24, 2020, at 12:14 PM, dunbarx--- via use-livecode wrote: > > > > > > Hi. > > > You can certainly create a group and set its backgroundbehjavior, then "place" it on any or all existing cards. This assumes that the group comes after the multi-card stack. > > > > ?...comes after the multi-card stack? Do you mean have the group on its own card, then place it elsewhere after that? > > > > > > > Then any changes to the physical structure of your group will appear in all instances. > > > But I am not sure how you would separate the scripts of such a group. Others may know better. > > > You can always, however, tailor the group script to detect the card it is on, and execute only what is pertinent to that card. In the group script: > > > on mouseUp switch the number of this cd case 1 answer random(999) break case 2 answer any item of "cat, dog,42" break end switchend mouseUp > > > Craig > > > > > > > > > -----Original Message----- > > > From: Peter Bogdanoff via use-livecode > > > To: How to use LiveCode > > > Cc: Peter Bogdanoff > > > Sent: Fri, Apr 24, 2020 2:07 pm > > > Subject: Groups placed on cards > > > > > > Hi, > > > > > > I have a stack with multiple cards (not part of a background) and I want to place a group on each card?the same group--AND be able to edit a single group script. And ideally, I would be able to configure as needed the controls of all instances of the group from a single location. > > > > > > For example, I have a glossary in a separate stack in another window, but now want to incorporate that stack to display as a pop-down in the main stack window on each (non-background) card. > > > > > > In testing, I?m seeing each placement of the group now as a new object. > > > > > > This is for both Mac and Windows. > > > > > > What would be my options to manage this? > > > > > > Thanks, > > > > > > Peter Bogdanoff > > > _______________________________________________ > > > 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 > > _______________________________________________ > > 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 Fri Apr 24 18:03:23 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 Apr 2020 17:03:23 -0500 Subject: Widget Properties In-Reply-To: References: <0C38F652-FDE9-43DF-A77E-784D4A540D2D@mac.com> Message-ID: My suggestion was just to see what properties are available in the widget. But when I just tried it, I see that it doesn't respond in the IDE, what you see is just a placeholder. You can search for "ios native button" in the dictionary, where I see only two available properties: enabled and label. If the widget author doesn't support the rest of them, they don't exist. I do see that you can resize the rectangle, but since I don't use the native buttons I'm not sure if the size will be retained on an iPhone or whether it just defaults to the standard native size. Typically only the properties that the author has supported will appear in the property inspector. On 4/24/20 3:35 PM, Graham Samuel via use-livecode wrote: > Thanks Jacque - info safely stored in my ?how to make a mobile app look like one? archive! > > Thanks for the other info about properties - how would you then refer to a property that isn?t shown in the Property Inspector for a widget, such as fontColor (or whatever)? I assume the array is just a way of accessing the whole collection and not the route to setting an individual property - but I?m probably wrong. > > Graham > >> On 24 Apr 2020, at 20:26, J. Landman Gay via use-livecode wrote: >> >> On 4/24/20 3:37 AM, Graham Samuel via use-livecode wrote: >>> As my app took shape, I noticed how unlike a typical iPhone app it looked, mostly because I was using the controls I was familiar with, such as radio buttons and ordinary fields. I wondered if my users might find its interface unfamiliar. Therefore I have been seeking to make my app?s user interface look and feel more like other iPhone apps. I have already had a lot of help from this list, but it seems there is no one packaged solution to getting an ?iPhone look and feel?. >> >> You mentioned the iOS native button doesn't look right. If it makes you feel better, the Android one doesn't either. So what I did was use a round-rect graphic as a button. Set the linesize to 1 and the round radius to 8. You can set the border color and the text color. >> >> I use the same graphic for Android. Sometimes Android buttons have a fill color, sometimes they are just borderless text. I adjust those properties based on platform. IOS buttons use sentence capitalization, Android buttons use all-caps. The label can be adjusted the same way based on platform. >> >> It's an easy fix and looks native. >> >> -- >> 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 bogdanoff at me.com Fri Apr 24 20:22:42 2020 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 24 Apr 2020 17:22:42 -0700 Subject: Groups placed on cards In-Reply-To: <380b0e4e-2a7e-4fd1-b691-fcc2722aabf2@Spark> References: <046B3C90-1E37-4F30-95D5-F3BB76DDB578@me.com> <931483665.257690.1587755675438@mail.yahoo.com> <388059C6-3F02-4B3D-BA9F-470FE53B8D9B@me.com> <1336575491.271348.1587757885627@mail.yahoo.com> <0AE86893-ECF4-4B4A-9445-26766DEF5350@me.com> <380b0e4e-2a7e-4fd1-b691-fcc2722aabf2@Spark> Message-ID: <8D28BE03-64AC-4BA4-83E9-E249D6654E71@me.com> In testing with a new stack, I see that what I am asking for actually does happen. The various placements of the group do have the same ID and configuration. So, I?ll work with my stack to make it happen that way. Thanks all for your help! Peter > On Apr 24, 2020, at 1:43 PM, Brian Milby via use-livecode wrote: > > Is the group getting a new object ID? With the place command it should not and you only really have one group. It will appear on each card that it is placed on. You do not need to select background behavior, you just need to make the group shared. > > Thanks, > Brian > On Apr 24, 2020, 4:01 PM -0400, Peter Bogdanoff via use-livecode , wrote: >> On the contrary, I want each instance of the group to be exactly the same. I?m not seeing that when I place a group?it now seems to be a new object. >> >> Peter >> >>> On Apr 24, 2020, at 12:51 PM, dunbarx--- via use-livecode wrote: >>> >>> Peter. >>> If you have a stack with one card, create a group, and set the backGroundBehavior of the group, then any new card you create will automatically contain a copy of the group. >>> If you already have a stack with multiple cards, and create a group somewhere, then if you want to copy it to other cards it to be done with the "place" command. >>> You can always add or delete groups with LC gadgetry. >>> What you really asked, though, was whether the same group that appears on multiple cards can each have unique scripts based on the particular instance of any of them. I am not sure that group scripts can be so compartmentalized. That is why I invited others to chime in. The workaround I mentioned is just that, a workaround, unless some combination of properties will allow the "same" group to hold its own unique script. >>> Craig >>> >>> >>> -----Original Message----- >>> From: Peter Bogdanoff via use-livecode >>> To: How to use LiveCode >>> Cc: Peter Bogdanoff >>> Sent: Fri, Apr 24, 2020 3:22 pm >>> Subject: Re: Groups placed on cards >>> >>> Thanks Craig, >>> >>>> On Apr 24, 2020, at 12:14 PM, dunbarx--- via use-livecode wrote: >>>> >>>> Hi. >>>> You can certainly create a group and set its backgroundbehjavior, then "place" it on any or all existing cards. This assumes that the group comes after the multi-card stack. >>> >>> ?...comes after the multi-card stack? Do you mean have the group on its own card, then place it elsewhere after that? >>> >>> >>>> Then any changes to the physical structure of your group will appear in all instances. >>>> But I am not sure how you would separate the scripts of such a group. Others may know better. >>>> You can always, however, tailor the group script to detect the card it is on, and execute only what is pertinent to that card. In the group script: >>>> on mouseUp switch the number of this cd case 1 answer random(999) break case 2 answer any item of "cat, dog,42" break end switchend mouseUp >>>> Craig >>>> >>>> >>>> -----Original Message----- >>>> From: Peter Bogdanoff via use-livecode >>>> To: How to use LiveCode >>>> Cc: Peter Bogdanoff >>>> Sent: Fri, Apr 24, 2020 2:07 pm >>>> Subject: Groups placed on cards >>>> >>>> Hi, >>>> >>>> I have a stack with multiple cards (not part of a background) and I want to place a group on each card?the same group--AND be able to edit a single group script. And ideally, I would be able to configure as needed the controls of all instances of the group from a single location. >>>> >>>> For example, I have a glossary in a separate stack in another window, but now want to incorporate that stack to display as a pop-down in the main stack window on each (non-background) card. >>>> >>>> In testing, I?m seeing each placement of the group now as a new object. >>>> >>>> This is for both Mac and Windows. >>>> >>>> What would be my options to manage this? >>>> >>>> Thanks, >>>> >>>> Peter Bogdanoff >>>> _______________________________________________ >>>> 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 >>> _______________________________________________ >>> 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 livfoss at mac.com Sat Apr 25 08:07:01 2020 From: livfoss at mac.com (Graham Samuel) Date: Sat, 25 Apr 2020 14:07:01 +0200 Subject: Detecting full Mobile Sensor activation Message-ID: <81D543D0-6FA5-4EA2-B899-AD77EC3C38F4@mac.com> Typical fitness apps (such as iCardio by FitDigits) can read various sensors including a Heart Rate Monitor via Bluetooth, and one?s location via inbuilt GPS. When you start an activity like a run or a workout, the app goes through an acquisition phase, and won?t start recording until the sensors are functioning. This is made clear to the user by a display. I want to do this in my LC iOS app, specifically for the GPS. I know how to start the location function on the device and I know how to handle the position via ?locationChanged' and/or ?mobileCurrentLocation', and these work. The big problem is at the start of such a sequence. I can use 'mobileStartTracking Sensor ?location? ? to get going, but experience shows that this takes an unpredictable amount of time, sometimes of the order of seconds. You would think that the locationChanged messages wouldn?t start firing until the start tracking process had done its job, but it seems this is not so, and nonsense locations can appear at the beginning of the sequence. At least that?s my experience. I am loth to use a loop to see if the tracking is really started and legit, and anyhow this would be problematical if my app was being inundated with ?locationChanged' messages while the loop is running. Has anyone any experience of this issue? As usual, I feel I?m missing something. Perhaps the ?trackingError? message might help, but I don?t see how. Graham From livfoss at mac.com Sat Apr 25 10:16:51 2020 From: livfoss at mac.com (Graham Samuel) Date: Sat, 25 Apr 2020 16:16:51 +0200 Subject: Widget Properties In-Reply-To: References: <0C38F652-FDE9-43DF-A77E-784D4A540D2D@mac.com> Message-ID: <7F52EA13-F0CF-4FB7-BFB5-708F44603967@mac.com> Thanks Jacque You?re adding to my gloom about widgets being offered as native controls - the only reason they were produced AFAIKS was to produce a superior result to whatever else was on offer, and if they don?t, why bother? I have a feeling not many people are trying to use them - you don?t for example, and so far nobody on this list has come to their defence. Perhaps LC?s widget factory is right to put their energies elsewhere. Graham > On 25 Apr 2020, at 00:03, J. Landman Gay via use-livecode wrote: > > My suggestion was just to see what properties are available in the widget. But when I just tried it, I see that it doesn't respond in the IDE, what you see is just a placeholder. You can search for "ios native button" in the dictionary, where I see only two available properties: enabled and label. > > If the widget author doesn't support the rest of them, they don't exist. I do see that you can resize the rectangle, but since I don't use the native buttons I'm not sure if the size will be retained on an iPhone or whether it just defaults to the standard native size. > > Typically only the properties that the author has supported will appear in the property inspector. > > > On 4/24/20 3:35 PM, Graham Samuel via use-livecode wrote: >> Thanks Jacque - info safely stored in my ?how to make a mobile app look like one? archive! >> Thanks for the other info about properties - how would you then refer to a property that isn?t shown in the Property Inspector for a widget, such as fontColor (or whatever)? I assume the array is just a way of accessing the whole collection and not the route to setting an individual property - but I?m probably wrong. >> Graham >>> On 24 Apr 2020, at 20:26, J. Landman Gay via use-livecode wrote: >>> >>> On 4/24/20 3:37 AM, Graham Samuel via use-livecode wrote: >>>> As my app took shape, I noticed how unlike a typical iPhone app it looked, mostly because I was using the controls I was familiar with, such as radio buttons and ordinary fields. I wondered if my users might find its interface unfamiliar. Therefore I have been seeking to make my app?s user interface look and feel more like other iPhone apps. I have already had a lot of help from this list, but it seems there is no one packaged solution to getting an ?iPhone look and feel?. >>> >>> You mentioned the iOS native button doesn't look right. If it makes you feel better, the Android one doesn't either. So what I did was use a round-rect graphic as a button. Set the linesize to 1 and the round radius to 8. You can set the border color and the text color. >>> >>> I use the same graphic for Android. Sometimes Android buttons have a fill color, sometimes they are just borderless text. I adjust those properties based on platform. IOS buttons use sentence capitalization, Android buttons use all-caps. The label can be adjusted the same way based on platform. >>> >>> It's an easy fix and looks native. >>> >>> -- >>> 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 > > > _______________________________________________ > 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 jeejeestudio at gmail.com Sat Apr 25 10:20:01 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sat, 25 Apr 2020 16:20:01 +0200 Subject: Detecting full Mobile Sensor activation In-Reply-To: <81D543D0-6FA5-4EA2-B899-AD77EC3C38F4@mac.com> References: <81D543D0-6FA5-4EA2-B899-AD77EC3C38F4@mac.com> Message-ID: Some apps even measure the heartbeat via the camera and turn on the cameralight. I don't know how we could do that in LC. Even for barcode reader the camera light would be convenient for dark spaces, i added a feature request, but it's hibernated. Who knows how long it takes before it gets integrated. Op 25-4-2020 om 14:07 schreef Graham Samuel via use-livecode: > Typical fitness apps (such as iCardio by FitDigits) can read various sensors including a Heart Rate Monitor via Bluetooth, and one?s location via inbuilt GPS. When you start an activity like a run or a workout, the app goes through an acquisition phase, and won?t start recording until the sensors are functioning. This is made clear to the user by a display. > > I want to do this in my LC iOS app, specifically for the GPS. I know how to start the location function on the device and I know how to handle the position via ?locationChanged' and/or ?mobileCurrentLocation', and these work. The big problem is at the start of such a sequence. I can use 'mobileStartTracking Sensor ?location? ? to get going, but experience shows that this takes an unpredictable amount of time, sometimes of the order of seconds. You would think that the locationChanged messages wouldn?t start firing until the start tracking process had done its job, but it seems this is not so, and nonsense locations can appear at the beginning of the sequence. At least that?s my experience. > > I am loth to use a loop to see if the tracking is really started and legit, and anyhow this would be problematical if my app was being inundated with ?locationChanged' messages while the loop is running. > > Has anyone any experience of this issue? As usual, I feel I?m missing something. Perhaps the ?trackingError? message might help, but I don?t see how. > > Graham > > > > _______________________________________________ > 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 livfoss at mac.com Sat Apr 25 10:33:24 2020 From: livfoss at mac.com (Graham Samuel) Date: Sat, 25 Apr 2020 16:33:24 +0200 Subject: Detecting full Mobile Sensor activation In-Reply-To: References: <81D543D0-6FA5-4EA2-B899-AD77EC3C38F4@mac.com> Message-ID: <3548FA25-3E13-4B2C-B4C0-76B173D873E8@mac.com> I do sympathise. I would love a more comprehensive system of sensor acquisition - but right now I?m just trying to cope with the GPS start up issue. Bluetooth and all that is further away from me. Graham > On 25 Apr 2020, at 16:20, JeeJeeStudio via use-livecode wrote: > > Some apps even measure the heartbeat via the camera and turn on the cameralight. > > I don't know how we could do that in LC. > > Even for barcode reader the camera light would be convenient for dark spaces, i added a feature request, but it's hibernated. > > Who knows how long it takes before it gets integrated. > > Op 25-4-2020 om 14:07 schreef Graham Samuel via use-livecode: >> Typical fitness apps (such as iCardio by FitDigits) can read various sensors including a Heart Rate Monitor via Bluetooth, and one?s location via inbuilt GPS. When you start an activity like a run or a workout, the app goes through an acquisition phase, and won?t start recording until the sensors are functioning. This is made clear to the user by a display. >> >> I want to do this in my LC iOS app, specifically for the GPS. I know how to start the location function on the device and I know how to handle the position via ?locationChanged' and/or ?mobileCurrentLocation', and these work. The big problem is at the start of such a sequence. I can use 'mobileStartTracking Sensor ?location? ? to get going, but experience shows that this takes an unpredictable amount of time, sometimes of the order of seconds. You would think that the locationChanged messages wouldn?t start firing until the start tracking process had done its job, but it seems this is not so, and nonsense locations can appear at the beginning of the sequence. At least that?s my experience. >> >> I am loth to use a loop to see if the tracking is really started and legit, and anyhow this would be problematical if my app was being inundated with ?locationChanged' messages while the loop is running. >> >> Has anyone any experience of this issue? As usual, I feel I?m missing something. Perhaps the ?trackingError? message might help, but I don?t see how. >> >> Graham >> >> >> >> _______________________________________________ >> 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 Sat Apr 25 10:40:41 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 25 Apr 2020 14:40:41 +0000 Subject: What is a real? Message-ID: <7E91FDB0-C9DD-420F-B993-BEC18E84D6D1@iotecdigital.com> Apparently nothing is a real. Neither is anything strictly a real. put 1 is strictly a real ? false put 1.1 is strictly a real ? false put 1.1 is a real ? compilation error Bob S From paul at researchware.com Sat Apr 25 11:22:09 2020 From: paul at researchware.com (Paul Dupuis) Date: Sat, 25 Apr 2020 11:22:09 -0400 Subject: What is a real? In-Reply-To: <7E91FDB0-C9DD-420F-B993-BEC18E84D6D1@iotecdigital.com> References: <7E91FDB0-C9DD-420F-B993-BEC18E84D6D1@iotecdigital.com> Message-ID: <63f85f7e-627a-1643-ed65-97de6f252c60@researchware.com> On 4/25/2020 10:40 AM, Bob Sneidar via use-livecode wrote: > Apparently nothing is a real. Neither is anything strictly a real. I have never heard a more philosophical statement in all my life ;-) From dunbarx at aol.com Sat Apr 25 11:22:38 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 25 Apr 2020 15:22:38 +0000 (UTC) Subject: Groups placed on cards In-Reply-To: <8D28BE03-64AC-4BA4-83E9-E249D6654E71@me.com> References: <046B3C90-1E37-4F30-95D5-F3BB76DDB578@me.com> <931483665.257690.1587755675438@mail.yahoo.com> <388059C6-3F02-4B3D-BA9F-470FE53B8D9B@me.com> <1336575491.271348.1587757885627@mail.yahoo.com> <0AE86893-ECF4-4B4A-9445-26766DEF5350@me.com> <380b0e4e-2a7e-4fd1-b691-fcc2722aabf2@Spark> <8D28BE03-64AC-4BA4-83E9-E249D6654E71@me.com> Message-ID: <524430819.105981.1587828158162@mail.yahoo.com> Peter. I am intrigued that you have a particular stack where this (standard) behavior does not happen. Can you change the group script at each instance? Can you change the locs of the controls that comprise it? That sort of thing. Such a stack might be of real interest to the team. Craig -----Original Message----- From: Peter Bogdanoff via use-livecode To: How to use LiveCode Cc: Peter Bogdanoff Sent: Fri, Apr 24, 2020 8:22 pm Subject: Re: Groups placed on cards In testing with a new stack, I see that what I am asking for actually does happen. The various placements of the group do? have the same ID and configuration. So, I?ll work with my stack to make it happen that way. Thanks all for your help! Peter > On Apr 24, 2020, at 1:43 PM, Brian Milby via use-livecode wrote: > > Is the group getting a new object ID?? With the place command it should not and you only really have one group.? It will appear on each card that it is placed on.? You do not need to select background behavior, you just need to make the group shared. > > Thanks, > Brian > On Apr 24, 2020, 4:01 PM -0400, Peter Bogdanoff via use-livecode , wrote: >> On the contrary, I want each instance of the group to be exactly the same. I?m not seeing that when I place a group?it now seems to be a new object. >> >> Peter >> >>> On Apr 24, 2020, at 12:51 PM, dunbarx--- via use-livecode wrote: >>> >>> Peter. >>> If you have a stack with one card, create a group, and set the backGroundBehavior of the group, then any new card you create will automatically contain a copy of the group. >>> If you already have a stack with multiple cards, and create a group somewhere, then if you want to copy it to other cards it to be done with the "place" command. >>> You can always add or delete groups with LC gadgetry. >>> What you really asked, though, was whether the same group that appears on multiple cards can each have unique scripts based on the particular instance of any of them. I am not sure that group scripts can be so compartmentalized. That is why I invited others to chime in. The workaround I mentioned is just that, a workaround, unless some combination of properties will allow the "same" group to hold its own unique script. >>> Craig >>> >>> >>> -----Original Message----- >>> From: Peter Bogdanoff via use-livecode >>> To: How to use LiveCode >>> Cc: Peter Bogdanoff >>> Sent: Fri, Apr 24, 2020 3:22 pm >>> Subject: Re: Groups placed on cards >>> >>> Thanks Craig, >>> >>>> On Apr 24, 2020, at 12:14 PM, dunbarx--- via use-livecode wrote: >>>> >>>> Hi. >>>> You can certainly create a group and set its backgroundbehjavior, then "place" it on any or all existing cards. This assumes that the group comes after the multi-card stack. >>> >>> ?...comes after the multi-card stack? Do you mean have the group on its own card, then place it elsewhere after that? >>> >>> >>>> Then any changes to the physical structure of your group will appear in all instances. >>>> But I am not sure how you would separate the scripts of such a group. Others may know better. >>>> You can always, however, tailor the group script to detect the card it is on, and execute only what is pertinent to that card. In the group script: >>>> on mouseUp switch the number of this cd case 1 answer random(999) break case 2 answer any item of "cat, dog,42" break end switchend mouseUp >>>> Craig >>>> >>>> >>>> -----Original Message----- >>>> From: Peter Bogdanoff via use-livecode >>>> To: How to use LiveCode >>>> Cc: Peter Bogdanoff >>>> Sent: Fri, Apr 24, 2020 2:07 pm >>>> Subject: Groups placed on cards >>>> >>>> Hi, >>>> >>>> I have a stack with multiple cards (not part of a background) and I want to place a group on each card?the same group--AND be able to edit a single group script. And ideally, I would be able to configure as needed the controls of all instances of the group from a single location. >>>> >>>> For example, I have a glossary in a separate stack in another window, but now want to incorporate that stack to display as a pop-down in the main stack window on each (non-background) card. >>>> >>>> In testing, I?m seeing each placement of the group now as a new object. >>>> >>>> This is for both Mac and Windows. >>>> >>>> What would be my options to manage this? >>>> >>>> Thanks, >>>> >>>> Peter Bogdanoff >>>> _______________________________________________ >>>> 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 >>> _______________________________________________ >>> 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 _______________________________________________ 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 th.douez at gmail.com Sat Apr 25 12:00:37 2020 From: th.douez at gmail.com (Thierry Douez) Date: Sat, 25 Apr 2020 18:00:37 +0200 Subject: Groups placed on cards In-Reply-To: <8D28BE03-64AC-4BA4-83E9-E249D6654E71@me.com> References: <046B3C90-1E37-4F30-95D5-F3BB76DDB578@me.com> <931483665.257690.1587755675438@mail.yahoo.com> <388059C6-3F02-4B3D-BA9F-470FE53B8D9B@me.com> <1336575491.271348.1587757885627@mail.yahoo.com> <0AE86893-ECF4-4B4A-9445-26766DEF5350@me.com> <380b0e4e-2a7e-4fd1-b691-fcc2722aabf2@Spark> <8D28BE03-64AC-4BA4-83E9-E249D6654E71@me.com> Message-ID: <4E032FD0-254E-48D2-984E-FF8409154406@gmail.com> > Le 25 avr. 2020 ? 02:22, Peter Bogdanoff a ?crit : > > In testing with a new stack, I see that what I am asking for actually does happen. > The various placements of the group do have the same ID and configuration. > So, I?ll work with my stack to make it happen that way. Hi Peter, This happened to me a couple of years ago which an old stack being updated to new LC format.... I've lost all those standard group behaviour... I deleted them from all cards and redo. Unfortunately, don't remember the full details. Good luck, Thierry From ahsoftware at sonic.net Sat Apr 25 12:05:37 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 25 Apr 2020 09:05:37 -0700 Subject: What is a real? In-Reply-To: <7E91FDB0-C9DD-420F-B993-BEC18E84D6D1@iotecdigital.com> References: <7E91FDB0-C9DD-420F-B993-BEC18E84D6D1@iotecdigital.com> Message-ID: <8b61a972-b348-2b43-123e-0915c4450aa4@sonic.net> On 4/25/20 7:40 AM, Bob Sneidar via use-livecode wrote: > Apparently nothing is a real. Neither is anything strictly a real. > > put 1 is strictly a real ? false > put 1.1 is strictly a real ? false > put 1.1 is a real ? compilation error If it helps any (hint: it doesn't) it's the currency of Brazil. You're welcome. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Sat Apr 25 12:09:36 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 25 Apr 2020 11:09:36 -0500 Subject: Widget Properties In-Reply-To: <7F52EA13-F0CF-4FB7-BFB5-708F44603967@mac.com> References: <0C38F652-FDE9-43DF-A77E-784D4A540D2D@mac.com> <7F52EA13-F0CF-4FB7-BFB5-708F44603967@mac.com> Message-ID: <171b219ee00.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Don't despair, not all widgets are duds. I've used several with good success: the browser widget, spinner, tree view, switch button, nav bar, segmented control and probably some others I can't remember. Since each widget is authored by an individual, the properties they support vary but like any software, feature requests are considered. In my case I usually can't wait for a specific feature so I use LC controls or groups that emulate the control I need. In my last project I created a navigation bar with LC controls but it was recently updated to support a feature I needed and now I'm using it again. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 25, 2020 9:19:00 AM Graham Samuel via use-livecode wrote: > Thanks Jacque > > You?re adding to my gloom about widgets being offered as native controls - > the only reason they were produced AFAIKS was to produce a superior result > to whatever else was on offer, and if they don?t, why bother? I have a > feeling not many people are trying to use them - you don?t for example, and > so far nobody on this list has come to their defence. Perhaps LC?s widget > factory is right to put their energies elsewhere. > > Graham > >> On 25 Apr 2020, at 00:03, J. Landman Gay via use-livecode >> wrote: >> >> My suggestion was just to see what properties are available in the widget. >> But when I just tried it, I see that it doesn't respond in the IDE, what >> you see is just a placeholder. You can search for "ios native button" in >> the dictionary, where I see only two available properties: enabled and label. >> >> If the widget author doesn't support the rest of them, they don't exist. I >> do see that you can resize the rectangle, but since I don't use the native >> buttons I'm not sure if the size will be retained on an iPhone or whether >> it just defaults to the standard native size. >> >> Typically only the properties that the author has supported will appear in >> the property inspector. >> >> >> On 4/24/20 3:35 PM, Graham Samuel via use-livecode wrote: >>> Thanks Jacque - info safely stored in my ?how to make a mobile app look >>> like one? archive! >>> Thanks for the other info about properties - how would you then refer to a >>> property that isn?t shown in the Property Inspector for a widget, such as >>> fontColor (or whatever)? I assume the array is just a way of accessing the >>> whole collection and not the route to setting an individual property - but >>> I?m probably wrong. >>> Graham >>>> On 24 Apr 2020, at 20:26, J. Landman Gay via use-livecode >>>> wrote: >>>> >>>> On 4/24/20 3:37 AM, Graham Samuel via use-livecode wrote: >>>>> As my app took shape, I noticed how unlike a typical iPhone app it looked, >>>>> mostly because I was using the controls I was familiar with, such as radio >>>>> buttons and ordinary fields. I wondered if my users might find its >>>>> interface unfamiliar. Therefore I have been seeking to make my app?s user >>>>> interface look and feel more like other iPhone apps. I have already had a >>>>> lot of help from this list, but it seems there is no one packaged solution >>>>> to getting an ?iPhone look and feel?. >>>> >>>> You mentioned the iOS native button doesn't look right. If it makes you >>>> feel better, the Android one doesn't either. So what I did was use a >>>> round-rect graphic as a button. Set the linesize to 1 and the round radius >>>> to 8. You can set the border color and the text color. >>>> >>>> I use the same graphic for Android. Sometimes Android buttons have a fill >>>> color, sometimes they are just borderless text. I adjust those properties >>>> based on platform. IOS buttons use sentence capitalization, Android buttons >>>> use all-caps. The label can be adjusted the same way based on platform. >>>> >>>> It's an easy fix and looks native. >>>> >>>> -- >>>> 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 >> >> >> _______________________________________________ >> 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 Sat Apr 25 12:40:27 2020 From: brian at milby7.com (Brian Milby) Date: Sat, 25 Apr 2020 12:40:27 -0400 Subject: What is a real? In-Reply-To: <8b61a972-b348-2b43-123e-0915c4450aa4@sonic.net> References: <7E91FDB0-C9DD-420F-B993-BEC18E84D6D1@iotecdigital.com> <8b61a972-b348-2b43-123e-0915c4450aa4@sonic.net> Message-ID: In your initial example, they are all strings. ?1.1+0 would be strictly a real. ?What is troubling is that I?m seeing that 1+200 is not strictly an integer yet the docs say it should be. Thanks, Brian On Apr 25, 2020, 12:06 PM -0400, Mark Wieder via use-livecode , wrote: > On 4/25/20 7:40 AM, Bob Sneidar via use-livecode wrote: > > Apparently nothing is a real. Neither is anything strictly a real. > > > > put 1 is strictly a real ? false > > put 1.1 is strictly a real ? false > > put 1.1 is a real ? compilation error > > If it helps any (hint: it doesn't) it's the currency of Brazil. > You're welcome. > > -- > 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 mark at livecode.com Sat Apr 25 13:13:50 2020 From: mark at livecode.com (Mark Waddingham) Date: Sat, 25 Apr 2020 18:13:50 +0100 Subject: What is a real? In-Reply-To: References: Message-ID: The ?is strictly? operators allow you to detect what the actual internal storage type of a value is. Some things generate numbers which are stored as int32s but most will store them as doubles - arithmetic operators included. I don?t know what the docs say about ?is strictly an integer? but the operators themselves are definitely doing as they should so the docs might need some refinement :) Mark P.S. The ?is strictly? operators were not really added for general use as they are tied to internal mechanisms. They were added to help with doing faithful export of values (lcVCS way back IIRC). Sent from my iPhone > On 25 Apr 2020, at 17:44, Brian Milby via use-livecode wrote: > > ?In your initial example, they are all strings. 1.1+0 would be strictly a real. What is troubling is that I?m seeing that 1+200 is not strictly an integer yet the docs say it should be. > > Thanks, > Brian >> On Apr 25, 2020, 12:06 PM -0400, Mark Wieder via use-livecode , wrote: >>> On 4/25/20 7:40 AM, Bob Sneidar via use-livecode wrote: >>> Apparently nothing is a real. Neither is anything strictly a real. >>> >>> put 1 is strictly a real ? false >>> put 1.1 is strictly a real ? false >>> put 1.1 is a real ? compilation error >> >> If it helps any (hint: it doesn't) it's the currency of Brazil. >> You're welcome. >> >> -- >> 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 dochawk at gmail.com Sat Apr 25 13:15:59 2020 From: dochawk at gmail.com (doc hawk) Date: Sat, 25 Apr 2020 10:15:59 -0700 Subject: What is a real? In-Reply-To: <8b61a972-b348-2b43-123e-0915c4450aa4@sonic.net> References: <7E91FDB0-C9DD-420F-B993-BEC18E84D6D1@iotecdigital.com> <8b61a972-b348-2b43-123e-0915c4450aa4@sonic.net> Message-ID: Mark mumbled, > If it helps any (hint: it doesn't) it's the currency of Brazil. I think it has something to do with strawberry fields . . . From kee.nethery at elloco.com Sat Apr 25 13:19:16 2020 From: kee.nethery at elloco.com (Kee Nethery) Date: Sat, 25 Apr 2020 10:19:16 -0700 Subject: What is a real? In-Reply-To: References: Message-ID: <227AD481-DDDF-4142-995F-A60918AE9E98@elloco.com> In FORTRAN, any variable that starts with a letter in the alphabet from ?I? to ?N? is an INteger. All other variables are reals (something expressed in scientific notation). Kee Nethery From dochawk at gmail.com Sat Apr 25 13:23:11 2020 From: dochawk at gmail.com (doc hawk) Date: Sat, 25 Apr 2020 10:23:11 -0700 Subject: What is a real? In-Reply-To: <227AD481-DDDF-4142-995F-A60918AE9E98@elloco.com> References: <227AD481-DDDF-4142-995F-A60918AE9E98@elloco.com> Message-ID: On Apr 25, 2020, at 10:19 AM, Kee Nethery via use-livecode wrote: > > In FORTRAN, any variable that starts with a letter in the alphabet from ?I? to ?N? is an INteger. All other variables are reals (something expressed in scientific notation). Leading to the observation that ?GOD is REAL, unless declared INTEGER? . . . [that said, the first non-comment line in any Fortran I write is ?Implicit None?. My livecode is also always set to require explicit declaration, and I?m the odd one out here in really wonting to add strong types to livecode . . .] From ahsoftware at sonic.net Sat Apr 25 13:43:31 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 25 Apr 2020 10:43:31 -0700 Subject: What is a real? In-Reply-To: References: <227AD481-DDDF-4142-995F-A60918AE9E98@elloco.com> Message-ID: <4e0e408f-86d4-357d-a594-c487158cb4cb@sonic.net> On 4/25/20 10:23 AM, doc hawk via use-livecode wrote: > [that said, the first non-comment line in any Fortran I write is ?Implicit None?. My livecode is also always set to require explicit declaration, and I?m the odd one out here in really wonting to add strong types to livecode . . .] ...working on it... although I don't hold out much chance of getting the PR approved... -- Mark Wieder ahsoftware at gmail.com From dunbarx at aol.com Sat Apr 25 13:44:45 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 25 Apr 2020 17:44:45 +0000 (UTC) Subject: What is a real? In-Reply-To: References: Message-ID: <1176014355.146424.1587836685375@mail.yahoo.com> I am a little confused. I do not sea "real" as a valid LC word, unless the dictionary entry for "real number". in the ?"synonyms", needs a comma after the word "real" in the string "real number". Craig -----Original Message----- From: Mark Waddingham via use-livecode To: How to use LiveCode Cc: Mark Waddingham Sent: Sat, Apr 25, 2020 1:14 pm Subject: Re: What is a real? The ?is strictly? operators allow you to detect what the actual internal storage type of a value is. Some things generate numbers which are stored as int32s but most will store them as doubles - arithmetic operators included. I don?t know what the docs say about ?is strictly an integer? but the operators themselves are definitely doing as they should so the docs might need some refinement :) Mark P.S. The ?is strictly? operators were not really added for general use as they are tied to internal mechanisms. They were added to help with doing faithful export of values (lcVCS way back IIRC). Sent from my iPhone > On 25 Apr 2020, at 17:44, Brian Milby via use-livecode wrote: > > ?In your initial example, they are all strings.? 1.1+0 would be strictly a real.? What is troubling is that I?m seeing that 1+200 is not strictly an integer yet the docs say it should be. > > Thanks, > Brian >> On Apr 25, 2020, 12:06 PM -0400, Mark Wieder via use-livecode , wrote: >>> On 4/25/20 7:40 AM, Bob Sneidar via use-livecode wrote: >>> Apparently nothing is a real. Neither is anything strictly a real. >>> >>> put 1 is strictly a real ? false >>> put 1.1 is strictly a real ? false >>> put 1.1 is a real ? compilation error >> >> If it helps any (hint: it doesn't) it's the currency of Brazil. >> You're welcome. >> >> -- >> 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 _______________________________________________ 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 paul at livecode.org Sat Apr 25 13:57:15 2020 From: paul at livecode.org (Paul Hibbert) Date: Sat, 25 Apr 2020 10:57:15 -0700 Subject: What is a real? In-Reply-To: <1176014355.146424.1587836685375@mail.yahoo.com> References: <1176014355.146424.1587836685375@mail.yahoo.com> Message-ID: <979736BA-CC95-47F3-BFD6-3C219F361202@livecode.org> I was too, but then noticed that it?s a type of a value, look up the Description of the ?is strictly? operator in the LC Dictionary and it explains there. Paul > On Apr 25, 2020, at 10:44, dunbarx--- via use-livecode wrote: > > I am a little confused. I do not sea "real" as a valid LC word, unless the dictionary entry for "real number". in the "synonyms", needs a comma after the word "real" in the string "real number". > Craig > > > -----Original Message----- > From: Mark Waddingham via use-livecode > To: How to use LiveCode > Cc: Mark Waddingham > Sent: Sat, Apr 25, 2020 1:14 pm > Subject: Re: What is a real? > > The ?is strictly? operators allow you to detect what the actual internal storage type of a value is. Some things generate numbers which are stored as int32s but most will store them as doubles - arithmetic operators included. > > I don?t know what the docs say about ?is strictly an integer? but the operators themselves are definitely doing as they should so the docs might need some refinement :) > > Mark > > P.S. The ?is strictly? operators were not really added for general use as they are tied to internal mechanisms. They were added to help with doing faithful export of values (lcVCS way back IIRC). > > Sent from my iPhone > >> On 25 Apr 2020, at 17:44, Brian Milby via use-livecode wrote: >> >> ?In your initial example, they are all strings. 1.1+0 would be strictly a real. What is troubling is that I?m seeing that 1+200 is not strictly an integer yet the docs say it should be. >> >> Thanks, >> Brian >>> On Apr 25, 2020, 12:06 PM -0400, Mark Wieder via use-livecode , wrote: >>>> On 4/25/20 7:40 AM, Bob Sneidar via use-livecode wrote: >>>> Apparently nothing is a real. Neither is anything strictly a real. >>>> >>>> put 1 is strictly a real ? false >>>> put 1.1 is strictly a real ? false >>>> put 1.1 is a real ? compilation error >>> >>> If it helps any (hint: it doesn't) it's the currency of Brazil. >>> You're welcome. >>> >>> -- >>> 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 > > > _______________________________________________ > 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 jeejeestudio at gmail.com Sat Apr 25 15:23:39 2020 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Sat, 25 Apr 2020 21:23:39 +0200 Subject: Detecting full Mobile Sensor activation In-Reply-To: <3548FA25-3E13-4B2C-B4C0-76B173D873E8@mac.com> References: <81D543D0-6FA5-4EA2-B899-AD77EC3C38F4@mac.com> <3548FA25-3E13-4B2C-B4C0-76B173D873E8@mac.com> Message-ID: I did not try the GPS functions yet, although i had an idea a few years ago, but that's already available. It was to track your own kid with their mobile phone, so it would always send out the location, so you know as a parent where he/she is. Hope you solve your issue. Op 25-4-2020 om 16:33 schreef Graham Samuel via use-livecode: > I do sympathise. > > I would love a more comprehensive system of sensor acquisition - but right now I?m just trying to cope with the GPS start up issue. Bluetooth and all that is further away from me. > > Graham > >> On 25 Apr 2020, at 16:20, JeeJeeStudio via use-livecode wrote: >> >> Some apps even measure the heartbeat via the camera and turn on the cameralight. >> >> I don't know how we could do that in LC. >> >> Even for barcode reader the camera light would be convenient for dark spaces, i added a feature request, but it's hibernated. >> >> Who knows how long it takes before it gets integrated. >> >> Op 25-4-2020 om 14:07 schreef Graham Samuel via use-livecode: >>> Typical fitness apps (such as iCardio by FitDigits) can read various sensors including a Heart Rate Monitor via Bluetooth, and one?s location via inbuilt GPS. When you start an activity like a run or a workout, the app goes through an acquisition phase, and won?t start recording until the sensors are functioning. This is made clear to the user by a display. >>> >>> I want to do this in my LC iOS app, specifically for the GPS. I know how to start the location function on the device and I know how to handle the position via ?locationChanged' and/or ?mobileCurrentLocation', and these work. The big problem is at the start of such a sequence. I can use 'mobileStartTracking Sensor ?location? ? to get going, but experience shows that this takes an unpredictable amount of time, sometimes of the order of seconds. You would think that the locationChanged messages wouldn?t start firing until the start tracking process had done its job, but it seems this is not so, and nonsense locations can appear at the beginning of the sequence. At least that?s my experience. >>> >>> I am loth to use a loop to see if the tracking is really started and legit, and anyhow this would be problematical if my app was being inundated with ?locationChanged' messages while the loop is running. >>> >>> Has anyone any experience of this issue? As usual, I feel I?m missing something. Perhaps the ?trackingError? message might help, but I don?t see how. >>> >>> Graham >>> >>> >>> >>> _______________________________________________ >>> 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 cubist at aol.com Sat Apr 25 15:45:31 2020 From: cubist at aol.com (Quentin Long) Date: Sat, 25 Apr 2020 19:45:31 +0000 (UTC) Subject: What is a real? In-Reply-To: References: Message-ID: <961399825.252479.1587843931723@mail.yahoo.com> sez?Bob Sneidar :>Apparently nothing is a real. Neither is anything strictly a real. ?[singing] "Let me take you down, 'coz I'm going to Strawberry Fields?" From alanstenhouse at hotmail.com Sat Apr 25 20:47:20 2020 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Sun, 26 Apr 2020 10:17:20 +0930 Subject: Detecting full Mobile Sensor activation In-Reply-To: References: Message-ID: Hi Graham Some ideas, from experience: 1. Start your sensor on openStack or as soon as possible. 2. Ignore locationChanged messages with empty location or if "horizontal accuracy" is outside a threshold of x metres. 3. Just set a flag or other mechanism when you want to start and stop tracking which indicates to your locationChanged handler to record or stop recording the track. Hopefully that sounds reasonable? cheers Alan > On Sat, 25 Apr 2020 14:07:01,Graham Samuel > wrote: > > > Typical fitness apps (such as iCardio by FitDigits) can read various sensors including a Heart Rate Monitor via Bluetooth, and one?s location via inbuilt GPS. When you start an activity like a run or a workout, the app goes through an acquisition phase, and won?t start recording until the sensors are functioning. This is made clear to the user by a display. > > I want to do this in my LC iOS app, specifically for the GPS. I know how to start the location function on the device and I know how to handle the position via ?locationChanged' and/or ?mobileCurrentLocation', and these work. The big problem is at the start of such a sequence. I can use 'mobileStartTracking Sensor ?location? ? to get going, but experience shows that this takes an unpredictable amount of time, sometimes of the order of seconds. You would think that the locationChanged messages wouldn?t start firing until the start tracking process had done its job, but it seems this is not so, and nonsense locations can appear at the beginning of the sequence. At least that?s my experience. > > I am loth to use a loop to see if the tracking is really started and legit, and anyhow this would be problematical if my app was being inundated with ?locationChanged' messages while the loop is running. > > Has anyone any experience of this issue? As usual, I feel I?m missing something. Perhaps the ?trackingError? message might help, but I don?t see how. > > Graham From alanstenhouse at hotmail.com Sat Apr 25 20:53:22 2020 From: alanstenhouse at hotmail.com (alanstenhouse at hotmail.com) Date: Sun, 26 Apr 2020 10:23:22 +0930 Subject: Detecting full Mobile Sensor activation In-Reply-To: <2ABEDABE-D2C1-4B39-9DD1-7691AFD6DA43@hotmail.com> References: <2ABEDABE-D2C1-4B39-9DD1-7691AFD6DA43@hotmail.com> Message-ID: Hi again Graham Another option is to indicate visually the uncertainty of the location reading on the map display as some apps do, e,g. with a translucent circle whose radius indicates the horizontal (in)accuracy. cheers Alan > On 26 Apr 2020, at 10:17 am, Alan Stenhouse wrote: > > Hi Graham > > Some ideas, from experience: > > 1. Start your sensor on openStack or as soon as possible. > > 2. Ignore locationChanged messages with empty location or if "horizontal accuracy" is outside a threshold of x metres. > > 3. Just set a flag or other mechanism when you want to start and stop tracking which indicates to your locationChanged handler to record or stop recording the track. > > Hopefully that sounds reasonable? > > cheers > > Alan > >> On Sat, 25 Apr 2020 14:07:01,Graham Samuel > wrote: >> >> >> Typical fitness apps (such as iCardio by FitDigits) can read various sensors including a Heart Rate Monitor via Bluetooth, and one?s location via inbuilt GPS. When you start an activity like a run or a workout, the app goes through an acquisition phase, and won?t start recording until the sensors are functioning. This is made clear to the user by a display. >> >> I want to do this in my LC iOS app, specifically for the GPS. I know how to start the location function on the device and I know how to handle the position via ?locationChanged' and/or ?mobileCurrentLocation', and these work. The big problem is at the start of such a sequence. I can use 'mobileStartTracking Sensor ?location? ? to get going, but experience shows that this takes an unpredictable amount of time, sometimes of the order of seconds. You would think that the locationChanged messages wouldn?t start firing until the start tracking process had done its job, but it seems this is not so, and nonsense locations can appear at the beginning of the sequence. At least that?s my experience. >> >> I am loth to use a loop to see if the tracking is really started and legit, and anyhow this would be problematical if my app was being inundated with ?locationChanged' messages while the loop is running. >> >> Has anyone any experience of this issue? As usual, I feel I?m missing something. Perhaps the ?trackingError? message might help, but I don?t see how. >> >> Graham > From livfoss at mac.com Sun Apr 26 05:41:59 2020 From: livfoss at mac.com (Graham Samuel) Date: Sun, 26 Apr 2020 11:41:59 +0200 Subject: Detecting full Mobile Sensor activation In-Reply-To: References: Message-ID: <6BD03A75-3C9C-4DD9-86D8-E519717E849A@mac.com> Alan, thanks for your two messages. II?m doing most of what you suggest (not using accuracy so far, but the prudent person probably should do!), but nevertheless I would like to emulate my fitness app example. I have apps that positively know when they have acquired a meaningful GPS signal, whereas the methods i?m using contain an element of chance or guesswork. I want to completely eliminate that. In practical terms, I can?t start the sensor until the user needs it, because of battery drain - you will find this in most trekking and fitness apps - one is more or less confined to a button ?Start? or something similar. At that point, my ideal would be to show the user that I?ve started the sensor acquisition and tell them when it?s succeeded or failed. I feel it has to be possible, but perhaps not with LC. Graham > On 26 Apr 2020, at 02:47, Alan Stenhouse wrote: > > Hi Graham > > Some ideas, from experience: > > 1. Start your sensor on openStack or as soon as possible. > > 2. Ignore locationChanged messages with empty location or if "horizontal accuracy" is outside a threshold of x metres. > > 3. Just set a flag or other mechanism when you want to start and stop tracking which indicates to your locationChanged handler to record or stop recording the track. > > Hopefully that sounds reasonable? > > cheers > > Alan > >> On Sat, 25 Apr 2020 14:07:01,Graham Samuel > wrote: >> >> >> Typical fitness apps (such as iCardio by FitDigits) can read various sensors including a Heart Rate Monitor via Bluetooth, and one?s location via inbuilt GPS. When you start an activity like a run or a workout, the app goes through an acquisition phase, and won?t start recording until the sensors are functioning. This is made clear to the user by a display. >> >> I want to do this in my LC iOS app, specifically for the GPS. I know how to start the location function on the device and I know how to handle the position via ?locationChanged' and/or ?mobileCurrentLocation', and these work. The big problem is at the start of such a sequence. I can use 'mobileStartTracking Sensor ?location? ? to get going, but experience shows that this takes an unpredictable amount of time, sometimes of the order of seconds. You would think that the locationChanged messages wouldn?t start firing until the start tracking process had done its job, but it seems this is not so, and nonsense locations can appear at the beginning of the sequence. At least that?s my experience. >> >> I am loth to use a loop to see if the tracking is really started and legit, and anyhow this would be problematical if my app was being inundated with ?locationChanged' messages while the loop is running. >> >> Has anyone any experience of this issue? As usual, I feel I?m missing something. Perhaps the ?trackingError? message might help, but I don?t see how. >> >> Graham > From livfoss at mac.com Sun Apr 26 06:01:25 2020 From: livfoss at mac.com (Graham Samuel) Date: Sun, 26 Apr 2020 12:01:25 +0200 Subject: Three very simple questions Message-ID: <3FA048A7-53BE-4C48-A870-DA39FFA64BA5@mac.com> Folks, I?m finding it difficult to search the lessons and the LC Guide to get really simple info, so forgive me for these grossly newbie questions: 1. In the IDE, the ?Align Selected Controls? menu item doesn?t allow all possible combinations of alignment, particularly aligning horizontal and vertical centres; nor does it allow alignments in relation to the stack dimensions. I think this functionality used to exist, but maybe (very likely!) my memory is faulty. If these functions are available somewhere in the IDE, I don?t see where. 2. I?ve not had to use LC arrays much, at least not ones containing my own data. The description of arrays is somewhat scattered throughout the lessons and the Guide, and I failed to find a thorough treatment of the whole idea of arrays in LC, which I find quite slippery. I am looking to use a two- or three-dimensional array, where you can script something like put myArray[2,7] into?, or get myArray[x,y,z] I still don?t know if this is possible. I kind of think it is, but I can?t grasp how to do it. 3. I can?t work out if you can construct an array using the IDE, i.e. prior to actually executing the code. I was thinking for example of an array of constants (really strings) which could be written into my script. Again, if that?s possible I don?t know how. It seems odd to have to do something like convert lists of constants into array form only when the program is running. Somehow I don?t think this is possible in LC, but I?m not sure. Maybe Klaus, who tells us that he sleeps with the LC documentation under his pillow, can help! Graham From alanstenhouse at hotmail.com Sun Apr 26 06:13:16 2020 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Sun, 26 Apr 2020 19:43:16 +0930 Subject: Detecting full Mobile Sensor activation In-Reply-To: <6BD03A75-3C9C-4DD9-86D8-E519717E849A@mac.com> References: <6BD03A75-3C9C-4DD9-86D8-E519717E849A@mac.com> Message-ID: Hi Graham So, how do you define a "meaningful" GPS signal? The GPS data you'll receive from locationChanged messages may have nothing for 1-n messages at the start, followed by an increasingly accurate number of messages (as measured by the "horizontal accuracy" and/or "vertical accuracy" data items). The other apps will be utilising these to determine a "meaningful" signal. You can define that however you like, of course! :-) Another thing you'll need to deal with is intermittent GPS signal which can happen for a number of reasons. Anyway, good luck. LC can do the sensor stuff well I think, I'ill look forward to seeing what you come up with! cheers Alan > On 26 Apr 2020, at 7:11 pm, Graham Samuel wrote: > > Alan, thanks for your two messages. II?m doing most of what you suggest (not using accuracy so far, but the prudent person probably should do!), but nevertheless I would like to emulate my fitness app example. I have apps that positively know when they have acquired a meaningful GPS signal, whereas the methods i?m using contain an element of chance or guesswork. I want to completely eliminate that. > > In practical terms, I can?t start the sensor until the user needs it, because of battery drain - you will find this in most trekking and fitness apps - one is more or less confined to a button ?Start? or something similar. At that point, my ideal would be to show the user that I?ve started the sensor acquisition and tell them when it?s succeeded or failed. I feel it has to be possible, but perhaps not with LC. > > Graham > > >> On 26 Apr 2020, at 02:47, Alan Stenhouse > wrote: >> >> Hi Graham >> >> Some ideas, from experience: >> >> 1. Start your sensor on openStack or as soon as possible. >> >> 2. Ignore locationChanged messages with empty location or if "horizontal accuracy" is outside a threshold of x metres. >> >> 3. Just set a flag or other mechanism when you want to start and stop tracking which indicates to your locationChanged handler to record or stop recording the track. >> >> Hopefully that sounds reasonable? >> >> cheers >> >> Alan >> >>> On Sat, 25 Apr 2020 14:07:01,Graham Samuel > wrote: >>> >>> >>> Typical fitness apps (such as iCardio by FitDigits) can read various sensors including a Heart Rate Monitor via Bluetooth, and one?s location via inbuilt GPS. When you start an activity like a run or a workout, the app goes through an acquisition phase, and won?t start recording until the sensors are functioning. This is made clear to the user by a display. >>> >>> I want to do this in my LC iOS app, specifically for the GPS. I know how to start the location function on the device and I know how to handle the position via ?locationChanged' and/or ?mobileCurrentLocation', and these work. The big problem is at the start of such a sequence. I can use 'mobileStartTracking Sensor ?location? ? to get going, but experience shows that this takes an unpredictable amount of time, sometimes of the order of seconds. You would think that the locationChanged messages wouldn?t start firing until the start tracking process had done its job, but it seems this is not so, and nonsense locations can appear at the beginning of the sequence. At least that?s my experience. >>> >>> I am loth to use a loop to see if the tracking is really started and legit, and anyhow this would be problematical if my app was being inundated with ?locationChanged' messages while the loop is running. >>> >>> Has anyone any experience of this issue? As usual, I feel I?m missing something. Perhaps the ?trackingError? message might help, but I don?t see how. >>> >>> Graham >> > From livfoss at mac.com Sun Apr 26 08:11:28 2020 From: livfoss at mac.com (Graham Samuel) Date: Sun, 26 Apr 2020 14:11:28 +0200 Subject: Three very simple questions Message-ID: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> I?m sending this again because some strange text appeared in my message the first time. Don?t know how it go there! Folks, I?m finding it difficult to search the lessons and the LC Guide to get really simple info, so forgive me for these grossly newbie questions: 1. In the IDE, the ?Align Selected Controls? menu item doesn?t allow all possible combinations of alignment, particularly aligning horizontal and vertical centres; nor does it allow alignments in relation to the stack dimensions. I think this functionality used to exist, but maybe (very likely!) my memory is faulty. If these functions are available somewhere in the IDE, I don?t see where. 2. I?ve not had to use LC arrays much, at least not ones containing my own data. The description of arrays is somewhat scattered throughout the lessons and the Guide, and I failed to find a thorough treatment of the whole idea of arrays in LC, which I find quite slippery. I am looking to use a two- or three-dimensional array, where you can script something like put myArray[2,7] into?, or get myArray[x,y,z] I still don?t know if this is possible. I kind of think it is, but I can?t grasp how to do it. 3. I can?t work out if you can construct an array using the IDE, i.e. prior to actually executing the code. I was thinking for example of an array of constants (really strings) which could be written into my script. Again, if that?s possible I don?t know how. It seems odd to have to do something like convert lists of constants into array form only when the program is running. Somehow I don?t think this is possible in LC, but I?m not sure. Maybe Klaus, who tells us that he sleeps with the LC documentation under his pillow, can help! Graham _______________________________________________ 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 alex at tweedly.net Sun Apr 26 08:15:26 2020 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 26 Apr 2020 13:15:26 +0100 Subject: Three very simple questions In-Reply-To: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> Message-ID: <08d8e476-f45a-f82c-225c-f3e186226f71@tweedly.net> On 26/04/2020 13:11, Graham Samuel via use-livecode wrote: > 2. I?ve not had to use LC arrays much, at least not ones containing my own data. The description of arrays is somewhat scattered throughout the lessons and the Guide, and I failed to find a thorough treatment of the whole idea of arrays in LC, which I find quite slippery. I am looking to use a two- or three-dimensional array, where you can script something like > > put myArray[2,7] into?, or > get myArray[x,y,z] > > I still don?t know if this is possible. I kind of think it is, but I can?t grasp how to do it. Forget comma-separated indices - use multi-level arrays. put myArray[2][7] into ... get myArray[x][y][z] and then it "all just works as you expect" :-) Alex From alex at tweedly.net Sun Apr 26 08:21:25 2020 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 26 Apr 2020 13:21:25 +0100 Subject: Three very simple questions In-Reply-To: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> Message-ID: On 26/04/2020 13:11, Graham Samuel via use-livecode wrote: > 1. In the IDE, the ?Align Selected Controls? menu item doesn?t allow all possible combinations of alignment, particularly aligning horizontal and vertical centres; nor does it allow alignments in relation to the stack dimensions. I think this functionality used to exist, but maybe (very likely!) my memory is faulty. If these functions are available somewhere in the IDE, I don?t see where. > Select multiple objects. Then from the menu ?? Object / Object Inspector then the rightmost tab in the property inspector should be the align icon (like a left-aligned text symbol). Select that, and you will see all the options such as? center-aligned, etc. I don't think they are available from the menu, but I didn't even realize any alignment could be done there. Alex. From alex at tweedly.net Sun Apr 26 08:27:36 2020 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 26 Apr 2020 13:27:36 +0100 Subject: Three very simple questions In-Reply-To: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> Message-ID: Sorry for sending 3 replies - but I don't know when I will run out of time, and wanted to get some sent before the oven demands attention :-) On 26/04/2020 13:11, Graham Samuel via use-livecode wrote: > 3. I can?t work out if you can construct an array using the IDE, i.e. prior to actually executing the code. I was thinking for example of an array of constants (really strings) which could be written into my script. Again, if that?s possible I don?t know how. It seems odd to have to do something like convert lists of constants into array form only when the program is running. Somehow I don?t think this is possible in LC, but I?m not sure. No easy way to do it as constants. It is odd, but easiest is to just do it in an "opencard" or openstack handler, with a global array. on opencard ? put "This is the help introduction" into gStrings["help"][1] ? put "(C) 2020 Graham Samuel" into gStrings["help"[2] ? ... end opencard Or, you can use Custom Properties (or Property Arrays) - but I don't remember how; it's just easier to do it as an array. Or you can hold it in an external text file (e.g. Tab Separated file) so it is easier to edit with your favourite text editor, or import from spreadsheet, or ...). If you do that, I'd recommend reading it into a (global?) array, and providing a "write back to file" function so you can easily update it while in the IDE, and save those changes. Alex. From klaus at major-k.de Sun Apr 26 08:28:49 2020 From: klaus at major-k.de (Klaus major-k) Date: Sun, 26 Apr 2020 14:28:49 +0200 Subject: Three very simple questions In-Reply-To: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> Message-ID: <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> Hi Graham, someone called my name? :-D > Am 26.04.2020 um 14:11 schrieb Graham Samuel via use-livecode : > > I?m sending this again because some strange text appeared in my message the first time. Don?t know how it go there! > > Folks, I?m finding it difficult to search the lessons and the LC Guide to get really simple info, so forgive me for these grossly newbie questions: > > 1. In the IDE, the ?Align Selected Controls? menu item doesn?t allow all possible combinations of alignment, particularly aligning horizontal and vertical centres; nor does it allow alignments in relation to the stack dimensions. I think this functionality used to exist, but maybe (very likely!) my memory is faulty. If these functions are available somewhere in the IDE, I don?t see where. not sure I understand you correctly. If the inspector does not offer some alignement that you need, it will be easy to script, the inspector does the same. > particularly aligning horizontal and vertical centres Just use the two items of THE LOC OF WHATEVER to do youralignement: x -> horizontal centre y -> vertical centre > 2. I?ve not had to use LC arrays much, at least not ones containing my own data. The description of arrays is somewhat scattered throughout the lessons and the Guide, and I failed to find a thorough treatment of the whole idea of arrays in LC, which I find quite slippery. I am looking to use a two- or three-dimensional array, where you can script something like > put myArray[2,7] into?, or > get myArray[x,y,z] > I still don?t know if this is possible. I kind of think it is, but I can?t grasp how to do it. Yes, sure, but read up Alex last mail for "better" syntax. > 3. I can?t work out if you can construct an array using the IDE, i.e. prior to actually executing the code. That depends. :-D You can create an array whenever you need one and we can also store an array into a custom property, so it will survive the LC session if you save the stack. ... put "this is string1_1" into tArray[1]["string1"] put "this is string1_2" into tArray[1]["string2"] put "this is string2_1" into tArray[2]["string1"] put "this is string2_1" into tArray[2]["string2"] ## etc. ... answer "This is the string 1, stored in my array[2][string2]:" && tArray[2]["string2"] ... Silly example, but you shlould get the picture... And if possible, named keys are much more readable > I was thinking for example of an array of constants (really strings) which could be written into my script. Again, if that?s possible I don?t know how. It seems odd to have to do something like convert lists of constants into array form only when the program is running. Monsieur? Well, when else would you like to do it in LC, when it is not running? :-D I'm sure I did nto really understand what you mean. > Somehow I don?t think this is possible in LC, but I?m not sure. > Maybe Klaus, who tells us that he sleeps with the LC documentation under his pillow, can help! Hope I did! > Graham Best Klaus -- Klaus Major https://www.major-k.de klaus at major-k.de From alex at tweedly.net Sun Apr 26 09:41:46 2020 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 26 Apr 2020 14:41:46 +0100 Subject: Three very simple questions In-Reply-To: <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> Message-ID: <4438a25c-28a9-7e05-498d-7ea3520b63f6@tweedly.net> On 26/04/2020 13:28, Klaus major-k via use-livecode wrote: > > I was thinking for example of an array of constants (really strings) which could be written into my script. Again, if that?s possible I don?t know how. It seems odd to have to do something like convert lists of constants into array form only when the program is running. > Monsieur? > Well, when else would you like to do it in LC, when it is not running? :-D > I'm sure I did nto really understand what you mean. > I think Graham was hoping for more powerful 'constant' statement. I know I'd like to be able to say things like constant kA["help"][1] = "This is the help string" or constant N = 1 constant kA["help"][N] = "some string" constant kA["help"][N+1] = "next string" or indeed my old favourite constant kManyLinesOfText = """ here's a version of the constant string which spans multiple lines""" Alex. From livfoss at mac.com Sun Apr 26 12:21:21 2020 From: livfoss at mac.com (Graham Samuel) Date: Sun, 26 Apr 2020 18:21:21 +0200 Subject: Three very simple questions In-Reply-To: <4438a25c-28a9-7e05-498d-7ea3520b63f6@tweedly.net> References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> <4438a25c-28a9-7e05-498d-7ea3520b63f6@tweedly.net> Message-ID: <2ED09B5C-3410-4512-8D8A-359EC59C62D7@mac.com> Yes, thanks! That?s exactly what I was hoping for. I know that LC is strictly a real-time interpreter of a script rather than a compiler -> runtime system, but nevertheless it would be more comfortable to allow a better range of constants. Right now you can?t even write constant K= 2/3 and get the calculation done by the IDE before the script is executed. "So what??, you might say, but it would be grand to be able to declare an entire array structure without writing a program to make it happen every time a script is executed. Still, I got the answer to my question: it?s ?NO? Graham > On 26 Apr 2020, at 15:41, Alex Tweedly via use-livecode wrote: > > > On 26/04/2020 13:28, Klaus major-k via use-livecode wrote: >> >> I was thinking for example of an array of constants (really strings) which could be written into my script. Again, if that?s possible I don?t know how. It seems odd to have to do something like convert lists of constants into array form only when the program is running. >> Monsieur? >> Well, when else would you like to do it in LC, when it is not running? :-D >> I'm sure I did nto really understand what you mean. >> > I think Graham was hoping for more powerful 'constant' statement. > > I know I'd like to be able to say things like > > constant kA["help"][1] = "This is the help string" > > or > > constant N = 1 > constant kA["help"][N] = "some string" > constant kA["help"][N+1] = "next string" > > or indeed my old favourite > > constant kManyLinesOfText = """ > here's a version of the constant string > which spans multiple lines""" > > Alex. > > > > > _______________________________________________ > 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 livfoss at mac.com Sun Apr 26 12:30:05 2020 From: livfoss at mac.com (Graham Samuel) Date: Sun, 26 Apr 2020 18:30:05 +0200 Subject: Three very simple questions In-Reply-To: References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> Message-ID: <812B1EAE-AB7A-4F0F-B70A-A21303334286@mac.com> Thanks Alex, I just missed it! I knew it was there somewhere? have written to Klaus about it too. Graham > On 26 Apr 2020, at 14:21, Alex Tweedly via use-livecode wrote: > > > On 26/04/2020 13:11, Graham Samuel via use-livecode wrote: >> 1. In the IDE, the ?Align Selected Controls? menu item doesn?t allow all possible combinations of alignment, particularly aligning horizontal and vertical centres; nor does it allow alignments in relation to the stack dimensions. I think this functionality used to exist, but maybe (very likely!) my memory is faulty. If these functions are available somewhere in the IDE, I don?t see where. >> > Select multiple objects. > > Then from the menu Object / Object Inspector > > then the rightmost tab in the property inspector should be the align icon (like a left-aligned text symbol). Select that, and you will see all the options such as center-aligned, etc. > > I don't think they are available from the menu, but I didn't even realize any alignment could be done there. > > Alex. > > > > _______________________________________________ > 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 livfoss at mac.com Sun Apr 26 12:31:06 2020 From: livfoss at mac.com (Graham Samuel) Date: Sun, 26 Apr 2020 18:31:06 +0200 Subject: Three very simple questions In-Reply-To: References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> Message-ID: Thanks, see my other replies. Three questions deserve three replies - I hope the cooking went well. Graham > On 26 Apr 2020, at 14:27, Alex Tweedly via use-livecode wrote: > > Sorry for sending 3 replies - but I don't know when I will run out of time, and wanted to get some sent before the oven demands attention :-) > > On 26/04/2020 13:11, Graham Samuel via use-livecode wrote: >> 3. I can?t work out if you can construct an array using the IDE, i.e. prior to actually executing the code. I was thinking for example of an array of constants (really strings) which could be written into my script. Again, if that?s possible I don?t know how. It seems odd to have to do something like convert lists of constants into array form only when the program is running. Somehow I don?t think this is possible in LC, but I?m not sure. > > No easy way to do it as constants. It is odd, but easiest is to just do it in an "opencard" or openstack handler, with a global array. > > on opencard > put "This is the help introduction" into gStrings["help"][1] > put "(C) 2020 Graham Samuel" into gStrings["help"[2] > ... > end opencard > > > Or, you can use Custom Properties (or Property Arrays) - but I don't remember how; it's just easier to do it as an array. > > Or you can hold it in an external text file (e.g. Tab Separated file) so it is easier to edit with your favourite text editor, or import from spreadsheet, or ...). If you do that, I'd recommend reading it into a (global?) array, and providing a "write back to file" function so you can easily update it while in the IDE, and save those changes. > > Alex. > > > _______________________________________________ > 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 livfoss at mac.com Sun Apr 26 12:43:07 2020 From: livfoss at mac.com (Graham Samuel) Date: Sun, 26 Apr 2020 18:43:07 +0200 Subject: Three very simple questions In-Reply-To: <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> Message-ID: <5D65FC70-4EBB-446E-A38E-94610AEB0474@mac.com> Thanks Klaus, you are very patient with my stupid questions, as is Alex. In general I am looking for ways to define stuff in the IDE to create objects and align them etc during the design phase, rather than make such essentially static things happen at run time. It seems silly to have to run a setting-up routine to do something that could have been set up once as a declaration before the program runs. Maybe that?s the legacy of HyperCard, where there wasn?t much of a difference between scripting a program and running it. Apropos of alignment, of course you can do anything by script. I was just hoping the IDE could help with the static layout of objects on cards. Turns out it can, because the rather odd menu item in the IDE (?Align Selected Controls?) is not the whole story. Actually as Alex explains, you can get a more comprehensive set of alignments via the Property Inspector when multiple objects are selected. I just forgot about that. I wonder why the strangely incomplete menu item is there at all. Arrays - Alex confirms there is no such thing as a constant declaration for arrays. Ah well. As to multi-dimensional arrays, I see the answer is ?yes?, but I have to struggle to create the array (both structure and contents) rather than create it at design time as it were in the IDE as you would any other object. I will simply learn to live with it. Sorry for all the bandwidth. Graham > On 26 Apr 2020, at 14:28, Klaus major-k via use-livecode wrote: > > Hi Graham, > > someone called my name? :-D > >> Am 26.04.2020 um 14:11 schrieb Graham Samuel via use-livecode : >> >> I?m sending this again because some strange text appeared in my message the first time. Don?t know how it go there! >> >> Folks, I?m finding it difficult to search the lessons and the LC Guide to get really simple info, so forgive me for these grossly newbie questions: >> >> 1. In the IDE, the ?Align Selected Controls? menu item doesn?t allow all possible combinations of alignment, particularly aligning horizontal and vertical centres; nor does it allow alignments in relation to the stack dimensions. I think this functionality used to exist, but maybe (very likely!) my memory is faulty. If these functions are available somewhere in the IDE, I don?t see where. > > not sure I understand you correctly. > If the inspector does not offer some alignement that you need, it will be easy to script, the inspector does the same. > >> particularly aligning horizontal and vertical centres > > Just use the two items of THE LOC OF WHATEVER to do youralignement: > x -> horizontal centre > y -> vertical centre > >> 2. I?ve not had to use LC arrays much, at least not ones containing my own data. The description of arrays is somewhat scattered throughout the lessons and the Guide, and I failed to find a thorough treatment of the whole idea of arrays in LC, which I find quite slippery. I am looking to use a two- or three-dimensional array, where you can script something like >> put myArray[2,7] into?, or >> get myArray[x,y,z] >> I still don?t know if this is possible. I kind of think it is, but I can?t grasp how to do it. > > Yes, sure, but read up Alex last mail for "better" syntax. > >> 3. I can?t work out if you can construct an array using the IDE, i.e. prior to actually executing the code. > > That depends. :-D > > You can create an array whenever you need one and we can also store an array into a custom property, > so it will survive the LC session if you save the stack. > > ... > put "this is string1_1" into tArray[1]["string1"] > put "this is string1_2" into tArray[1]["string2"] > put "this is string2_1" into tArray[2]["string1"] > put "this is string2_1" into tArray[2]["string2"] > ## etc. > ... > answer "This is the string 1, stored in my array[2][string2]:" && tArray[2]["string2"] > ... > Silly example, but you shlould get the picture... > And if possible, named keys are much more readable > >> I was thinking for example of an array of constants (really strings) which could be written into my script. Again, if that?s possible I don?t know how. It seems odd to have to do something like convert lists of constants into array form only when the program is running. > > Monsieur? > Well, when else would you like to do it in LC, when it is not running? :-D > I'm sure I did nto really understand what you mean. > >> Somehow I don?t think this is possible in LC, but I?m not sure. >> Maybe Klaus, who tells us that he sleeps with the LC documentation under his pillow, can help! > > Hope I did! > >> Graham > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > 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 Sun Apr 26 13:06:37 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 26 Apr 2020 10:06:37 -0700 Subject: Three very simple questions In-Reply-To: <2ED09B5C-3410-4512-8D8A-359EC59C62D7@mac.com> References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> <4438a25c-28a9-7e05-498d-7ea3520b63f6@tweedly.net> <2ED09B5C-3410-4512-8D8A-359EC59C62D7@mac.com> Message-ID: <296536ef-92f1-3360-0301-fa36d5fb6178@sonic.net> On 4/26/20 9:21 AM, Graham Samuel via use-livecode wrote: > Yes, thanks! That?s exactly what I was hoping for. I know that LC is strictly a real-time interpreter of a script rather than a compiler -> runtime system, but nevertheless it would be more comfortable to allow a better range of constants. Right now you can?t even write > > constant K= 2/3 > > and get the calculation done by the IDE before the script is executed. "So what??, you might say, but it would be grand to be able to declare an entire array structure without writing a program to make it happen every time a script is executed. > > Still, I got the answer to my question: it?s ?NO? The concept of 'constants' has been a problem at least since Revolution 2.1.2. Some 15 years ago someone named Waddingham made the comment that "Global constants are certainly something which we are looking into adding..." https://quality.livecode.com/show_bug.cgi?id=1180 https://quality.livecode.com/show_bug.cgi?id=2401 https://quality.livecode.com/show_bug.cgi?id=1241 https://quality.livecode.com/show_bug.cgi?id=12802 https://quality.livecode.com/show_bug.cgi?id=13955 https://quality.livecode.com/show_bug.cgi?id=3680 https://quality.livecode.com/show_bug.cgi?id=8737 https://quality.livecode.com/show_bug.cgi?id=11306 https://quality.livecode.com/show_bug.cgi?id=19413 -- Mark Wieder ahsoftware at gmail.com From brahma at hindu.org Sun Apr 26 13:58:25 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 26 Apr 2020 17:58:25 +0000 Subject: Android Issue: Crashes &ANRs Message-ID: I have posted SivaSiva app to Google Play. Problem: from the stats we see lots of new users, and then in a few days, those same users are "lost" I see Crashes & ANRs 113 # in the last few days "Number of times your app crashes or served an Application Not Responding errors". SivaSiva accessing the internet for lots of "modules" Another app on play has 5000 active installs, it shows 2 Crashes & ANRs in the past month. It is "self-contained" and does not have to access the internet. In SivaSiva, I have built in a "Loading" banner, first we check for Internet connection with a simple ping.txt file on the server which returns "true" if it is empty, we tell the user he has no connective otherwise it displays "Loading...." and wait while TS Net get a 200 response...theoretically the using click loading, and the use it back in the app. (see function below) Now, "at home" I have no SIM card in my MOTOG6. So using wifi, the app seems quite stable. So question is. Given the apparent "is runs ok on Android with WiFI at home", it would seem a good idea to send those crashes and ANRs to Edinburgh for analysis: either we have to change our code, OR the spot bugs in the engine that can be fixed. What is the proper say to tell TSNet to stop the process initiated by tsNetHeadSync? I may need to rethink who whole frame work integrate a browser widget the in the app. Send the user off go Chrome using Launch URL... but we get important booksmark from browser widget... function checkURLAvailable pSelectedURL local tHeaders, tSentHeaders, tResult, tBytes,tMsg # useful to simulate a slow connection --wait 5 seconds with messages put tsNetHeadSync(pSelectedURL, tSentHeaders, tResult, tBytes) into tHeaders ## get url pSelectedURL if (tResult is 200) then return true else ntInfo tResult && pSelectedURL return false end if end checkURLAvailable BR From jacque at hyperactivesw.com Sun Apr 26 14:10:07 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 26 Apr 2020 13:10:07 -0500 Subject: Three very simple questions In-Reply-To: <5D65FC70-4EBB-446E-A38E-94610AEB0474@mac.com> References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> <5D65FC70-4EBB-446E-A38E-94610AEB0474@mac.com> Message-ID: <171b7ae9c30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> When I need a calculated constant I use a script local variable instead and populate its content on preopencard or preOpenStack. After that its available just as a constant would be. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 26, 2020 11:45:04 AM Graham Samuel via use-livecode wrote: > > Arrays - Alex confirms there is no such thing as a constant declaration for > arrays. From harrison at all-auctions.com Sun Apr 26 14:24:52 2020 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 26 Apr 2020 14:24:52 -0400 Subject: Wildcard? replaceText, offset? In-Reply-To: <171b7ae9c30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> <5D65FC70-4EBB-446E-A38E-94610AEB0474@mac.com> <171b7ae9c30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <0AAD11D2-BBF8-4912-818B-0F6A288D0B51@all-auctions.com> I have a very long string. In the middle-end part of the string I have ?(x)? where x represents some integer. it could be (4) or (10) or (5) etc. I just want to replace the number inside the () with whatever other number I need to. I have been trying to find an easy way to do this. Ideally a wildcard character like ? or * would probably do it, but after going through the dictionary and getting lost with filter, matchText, ? I finally decided perhaps one of you could make a better suggestion. It seems like this one should be very easy, but it?s not so easy if you don?t do this kind of thing all the time. Thanks, Rick From dochawk at gmail.com Sun Apr 26 14:40:08 2020 From: dochawk at gmail.com (doc hawk) Date: Sun, 26 Apr 2020 11:40:08 -0700 Subject: Wildcard? replaceText, offset? In-Reply-To: <0AAD11D2-BBF8-4912-818B-0F6A288D0B51@all-auctions.com> References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> <5D65FC70-4EBB-446E-A38E-94610AEB0474@mac.com> <171b7ae9c30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0AAD11D2-BBF8-4912-818B-0F6A288D0B51@all-auctions.com> Message-ID: On Apr 26, 2020, at 11:24 AM, Rick reasoned > In the middle-end part of the string I have ?(x)? where x represents some integer. > it could be (4) or (10) or (5) etc. If you?re certain that this is the only, or even the first, integer, a regular expression search and replace or [0-9]+ would do the trick. From dunbarx at aol.com Sun Apr 26 15:08:52 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 26 Apr 2020 19:08:52 +0000 (UTC) Subject: Wildcard? replaceText, offset? In-Reply-To: <0AAD11D2-BBF8-4912-818B-0F6A288D0B51@all-auctions.com> References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> <5D65FC70-4EBB-446E-A38E-94610AEB0474@mac.com> <171b7ae9c30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0AAD11D2-BBF8-4912-818B-0F6A288D0B51@all-auctions.com> Message-ID: <186321836.381048.1587928132577@mail.yahoo.com> Or, more oil-fashioned, and again assuming that the integer in question is always the very first one in parentheses: on?mouseUpput?random(99)?into?char?offset("(",yourString) +?1?of?yourStringend?mouseUp You will get tired of running this after only a few?invocations. Craig -----Original Message----- From: Rick Harrison via use-livecode To: How to use LiveCode Cc: Rick Harrison Sent: Sun, Apr 26, 2020 2:26 pm Subject: Wildcard? replaceText, offset? I have a very long string. In the middle-end part of the string I have ?(x)? where x represents some integer. it could be (4) or (10) or (5) etc. I just want to replace the number inside the () with whatever other number I need to. I have been trying to find an easy way to do this.? Ideally a wildcard character like ? or * would probably do it, but after going through the dictionary and getting lost with filter, matchText, ?? I finally decided perhaps one of you could make a better suggestion.? It seems like this one should be very easy, but it?s not so easy if you don?t do this kind of thing all the time. 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 brahma at hindu.org Sun Apr 26 15:09:04 2020 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 26 Apr 2020 19:09:04 +0000 Subject: Three very simple questions In-Reply-To: <171b7ae9c30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> <5D65FC70-4EBB-446E-A38E-94610AEB0474@mac.com> <171b7ae9c30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: "globals are evil" But we use one array Global gConfigA and we stuff it with all manner of "things" including another arrays it turns about to quite useful ?On 4/26/20, 8:11 AM, "use-livecode on behalf of J. Landman Gay via use-livecode" wrote: When I need a calculated constant I use a script local variable instead and populate its content on preopencard or preOpenStack. After that its available just as a constant would be. From dunbarx at aol.com Sun Apr 26 15:15:14 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 26 Apr 2020 19:15:14 +0000 (UTC) Subject: Wildcard? replaceText, offset? In-Reply-To: References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> <5D65FC70-4EBB-446E-A38E-94610AEB0474@mac.com> <171b7ae9c30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0AAD11D2-BBF8-4912-818B-0F6A288D0B51@all-auctions.com> Message-ID: <1506332899.372285.1587928514370@mail.yahoo.com> Pay no attention to the previous post, which only dealt with a single integer. Sloppy. THIS old fashioned method works, though: on?mouseUpput?offset("(",yourString)?into?startCharput?offset(")",?yourString)?into?endCharput?random(999)?into?char?(startChar +?1)?to?(endChar -1)?of?yourStringend?mouseUp Craig -----Original Message----- From: doc hawk via use-livecode To: How to use LiveCode Cc: doc hawk Sent: Sun, Apr 26, 2020 2:41 pm Subject: Re: Wildcard? replaceText, offset? On Apr 26, 2020, at 11:24 AM, Rick reasoned > In the middle-end part of the string I have ?(x)? where x represents some integer. > it could be (4) or (10) or (5) etc. If you?re certain that this is the only, or even the first, integer, a regular expression search and replace or [0-9]+? would? do the trick. _______________________________________________ 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 Sun Apr 26 15:20:18 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 26 Apr 2020 19:20:18 +0000 (UTC) Subject: How do I format a handler in the use-List? In-Reply-To: References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> <5D65FC70-4EBB-446E-A38E-94610AEB0474@mac.com> <171b7ae9c30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <302574325.371854.1587928818543@mail.yahoo.com> Try as I might, I cannot format a handler example copied from the SE. The result is always run-on, even though I add spaces and returns where appropriate. The text seems readable when I send, but reverts to a run-on string when I read in the list. Why is this so much more difficult than the forum? Is AOL the culprit? Craig From ahsoftware at sonic.net Sun Apr 26 15:23:58 2020 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 26 Apr 2020 12:23:58 -0700 Subject: Three very simple questions In-Reply-To: References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> <5D65FC70-4EBB-446E-A38E-94610AEB0474@mac.com> <171b7ae9c30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <84d9f315-ce4c-61cb-dfc5-c61a18c75324@sonic.net> On 4/26/20 12:09 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > "globals are evil" > > But we use one array > > Global gConfigA > > and we stuff it with all manner of "things" including another arrays > > it turns about to quite useful Yes, I do what you and Jacque do as a workaround, of course. I recently implemented a feature management infrastructure the same way, given the lack of globally available constants. on preOpenStack global gFeatures put "feature1,feature2,feature3" into gFeatures end preOpenStack ...some other stack global gfeatures if "feature2" is among the items of gfeatures then ... on closeStackRequest delete variable gFeatures end closestackRequest great for A/B testing, rolling out new features without messing with existing code, being able to roll back unwanted or not-working features after beta testing... and would be so much cleaner if we didn't have to resort to global variables and remember to put a reference to them in each place they're referenced... -- Mark Wieder ahsoftware at gmail.com From livfoss at mac.com Sun Apr 26 17:43:44 2020 From: livfoss at mac.com (Graham Samuel) Date: Sun, 26 Apr 2020 23:43:44 +0200 Subject: How to make a mobile app stay alive in the background? Message-ID: <07B93BC0-C2F9-4639-890E-11E691A968C7@mac.com> The app I?m developing runs continuously once launched, recording quantities such as the elepsed time and sensor data. In the version I?ve managed to load into my phone (thanks, Panos!) it does this quite efficiently, but if the phone locks or another app is launched, my app stops running and apparently quits. It quits in good order and can be restarted with cached data from the last run, but it doesn?t continue to run in the background. It does seem to be still in the machine, as one can see it among the currently loaded apps, but if I bring it back to the front, I see the splash screen, and it restarts. I want my app to continues to run in the background unless it?s explicitly stopped. Existing apps can do it, typically sports apps like Strava, which records information which needs constant updating such as distance travelled. But I don?t know how. I notice in the Standalone Settings for iOS in LC 9.5.1, a button ?Background Execution?. If I click it, I get a warning that I don?t really understand which suggests that LC doesn?t officially support the feature. I?m not even sure if this feature is what I need. Has anyone produced a mobile app that runs in the background? Or should I be asking LC Support about this? Graham PS - Klaus, if your name appears as part of the ?to? address of this mail, it?s unintentional, and sue to a quirk of Mac mail. I apologise. From prothero at earthlearningsolutions.org Sun Apr 26 17:52:48 2020 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Sun, 26 Apr 2020 14:52:48 -0700 Subject: Three very simple questions In-Reply-To: <84d9f315-ce4c-61cb-dfc5-c61a18c75324@sonic.net> References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> <5D65FC70-4EBB-446E-A38E-94610AEB0474@mac.com> <171b7ae9c30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <84d9f315-ce4c-61cb-dfc5-c61a18c75324@sonic.net> Message-ID: Folks: I think Graham is doing LiveCode a favor by pointing out some of the ways a newby (even though he isn?t) might get messed up when learning LiveCode. We all get used to various approaches and newbies (even tho Graham isn?t) alert us to impediments for that very vital population of potential or new users. One thing that has bugged me is that when I click on the dictionary, I get a nice display of commands, etc, searchable. But when I click on the ?Guide? tab, I get what looks like a very informative document. However, if I?m looking for a particular task and want to do a search, there is none. So, it seems to me like a very valuable newby document is crippled by the omission of a very basic feature. Or have I just missed something? Best, Bill William A. Prothero Santa Barbara, CA. 93105 http://earthlearningsolutions.org/ > On Apr 26, 2020, at 12:23 PM, Mark Wieder via use-livecode wrote: > > On 4/26/20 12:09 PM, Sannyasin Brahmanathaswami via use-livecode wrote: >> "globals are evil" >> But we use one array >> Global gConfigA >> and we stuff it with all manner of "things" including another arrays >> it turns about to quite useful > > Yes, I do what you and Jacque do as a workaround, of course. I recently implemented a feature management infrastructure the same way, given the lack of globally available constants. > > on preOpenStack > global gFeatures > put "feature1,feature2,feature3" into gFeatures > end preOpenStack > > ...some other stack > > global gfeatures > if "feature2" is among the items of gfeatures then > ... > > on closeStackRequest > delete variable gFeatures > end closestackRequest > > great for A/B testing, rolling out new features without messing with existing code, being able to roll back unwanted or not-working features after beta testing... and would be so much cleaner if we didn't have to resort to global variables and remember to put a reference to them in each place they're referenced... > > -- > 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 sundown at pacifier.com Sun Apr 26 22:55:35 2020 From: sundown at pacifier.com (JB) Date: Sun, 26 Apr 2020 19:55:35 -0700 Subject: ** Livecode Ratings ** Message-ID: <1494ED67-579D-4BED-9207-EB0A9BC82DE7@pacifier.com> In the past Richard Gaskin posted some info about Livecode and its position in some programming ratings. One of the top languages was C and it appears the ratings are based on search results. If you are really concerned about Livecode ratings then you can change them by posting C or other code that you access from Livecode with a shell command. When someone does a search for that type of code they will see the C code and how it is used with Livecode. It certainly would not hurt the ratings for Livecode. JB From harrison at all-auctions.com Mon Apr 27 00:18:46 2020 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 27 Apr 2020 00:18:46 -0400 Subject: Wildcard? replaceText, offset? In-Reply-To: <1506332899.372285.1587928514370@mail.yahoo.com> References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> <5D65FC70-4EBB-446E-A38E-94610AEB0474@mac.com> <171b7ae9c30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0AAD11D2-BBF8-4912-818B-0F6A288D0B51@all-auctions.com> <1506332899.372285.1587928514370@mail.yahoo.com> Message-ID: Thanks for the suggestions! I was hoping that perhaps there was a very simple one liner or character that would do it for me. I think I have a solution now. Rick > On Apr 26, 2020, at 3:15 PM, dunbarx--- via use-livecode wrote: > > on mouseUpput offset("(",yourString) into startCharput offset(")", yourString) into endCharput random(999) into char (startChar + 1) to (endChar -1) of yourStringend mouseUp From jacque at hyperactivesw.com Mon Apr 27 02:25:57 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 27 Apr 2020 01:25:57 -0500 Subject: How to make a mobile app stay alive in the background? In-Reply-To: <07B93BC0-C2F9-4639-890E-11E691A968C7@mac.com> References: <07B93BC0-C2F9-4639-890E-11E691A968C7@mac.com> Message-ID: <1c62fe29-3903-fed4-5379-7fa607ecb31e@hyperactivesw.com> On 4/26/20 4:43 PM, Graham Samuel via use-livecode wrote: > I notice in the Standalone Settings for iOS in LC 9.5.1, a button ?Background Execution?. If I click it, I get a warning that I don?t really understand which suggests that LC doesn?t officially support the feature. I?m not even sure if this feature is what I need. You are probably running an older version of LC since that checkbox has been removed recently. iOS now runs all apps in the background, much as Android always has, and if you use that checkbox now the App Store will reject your app. The deal is, the OS will keep the app in the background until it needs RAM for something else and then it dumps the app. There's no telling when that will happen. This came up yesterday in the forums. The poster wanted his app *not* to run in the background after a certain amount of time. We get no messages once the app goes into the background, the only message sent is "shutdown" when the app gets wiped by the OS. In the meantime, the app becomes inactive if it isn't frontmost. Other apps seem to be able to manage this better, so it seems there's something available that LC doesn't support. The imperfect workaround, such as it is, is to write everything to disk that the app might possibly need if it suddenly stops. When it comes to the front again, reload everything and carry on (you'll get an openstack message when that happens.) For example, if your app has a login screen then you'd need to store the credentials on disk and automatically log the user in when the app restarts. Provide a "log out" button so they can quit on purpose; it would delete the credentials from disk so they'd need to log in again next time. Basically you have to save the user state repeatedly whenever anything significant changes, in case the app goes dormant. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Apr 27 02:33:15 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 27 Apr 2020 01:33:15 -0500 Subject: How do I format a handler in the use-List? In-Reply-To: <302574325.371854.1587928818543@mail.yahoo.com> References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> <5D65FC70-4EBB-446E-A38E-94610AEB0474@mac.com> <171b7ae9c30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <302574325.371854.1587928818543@mail.yahoo.com> Message-ID: <6335ea42-986f-b948-63dc-62e02e11a9cc@hyperactivesw.com> On 4/26/20 2:20 PM, dunbarx--- via use-livecode wrote: > Try as I might, I cannot format a handler example copied from the SE. The result is always run-on, even though I add spaces and returns where appropriate. The text seems readable when I send, but reverts to a run-on string when I read in the list. > Why is this so much more difficult than the forum? > Is AOL the culprit? Maybe. The list may be expecting different line endings than AOL provides. What we usually see when people paste here from the SE is a bunch of markup symbols, but the carriage returns generally come through okay. Here's a copy/paste test from my LC editor, let's see what happens: on mouseUp hide me end mouseUp -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Apr 27 02:37:11 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 27 Apr 2020 01:37:11 -0500 Subject: Wildcard? replaceText, offset? In-Reply-To: <0AAD11D2-BBF8-4912-818B-0F6A288D0B51@all-auctions.com> References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> <5D65FC70-4EBB-446E-A38E-94610AEB0474@mac.com> <171b7ae9c30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0AAD11D2-BBF8-4912-818B-0F6A288D0B51@all-auctions.com> Message-ID: On 4/26/20 1:24 PM, Rick Harrison via use-livecode wrote: > In the middle-end part of the string I have ?(x)? where x represents some integer. > it could be (4) or (10) or (5) etc. > > I just want to replace the number inside the () with whatever other number I need to. If there is only a single instance, you could: replace "(x)" with "(" & someNumber & ")" in myString If there is more than one instance then each instance would need a unique character inside the parentheses. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mark at livecode.com Mon Apr 27 02:48:36 2020 From: mark at livecode.com (Mark Waddingham) Date: Mon, 27 Apr 2020 07:48:36 +0100 Subject: How to make a mobile app stay alive in the background? In-Reply-To: <1c62fe29-3903-fed4-5379-7fa607ecb31e@hyperactivesw.com> References: <07B93BC0-C2F9-4639-890E-11E691A968C7@mac.com> <1c62fe29-3903-fed4-5379-7fa607ecb31e@hyperactivesw.com> Message-ID: On 2020-04-27 07:25, J. Landman Gay via use-livecode wrote: > On 4/26/20 4:43 PM, Graham Samuel via use-livecode wrote: >> I notice in the Standalone Settings for iOS in LC 9.5.1, a button >> ?Background Execution?. If I click it, I get a warning that I don?t >> really understand which suggests that LC doesn?t officially support >> the feature. I?m not even sure if this feature is what I need. > > Basically you have to save the user state repeatedly whenever anything > significant changes, in case the app goes dormant. You actually need to do this regardless of having suspend/resume messages as there's no guarantee that (1) you will get them and (2) you will be able to execute them long enough to save all current state. Both mergBgTask and mergNotify provide features to enable managing the background task feature of iOS, and the suspend/resume notifications though. Warmest Regards Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From th.douez at gmail.com Mon Apr 27 02:57:34 2020 From: th.douez at gmail.com (Thierry Douez) Date: Mon, 27 Apr 2020 08:57:34 +0200 Subject: Wildcard? replaceText, offset? In-Reply-To: References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> <5D65FC70-4EBB-446E-A38E-94610AEB0474@mac.com> <171b7ae9c30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0AAD11D2-BBF8-4912-818B-0F6A288D0B51@all-auctions.com> Message-ID: <94ED2EAC-696F-4F9F-88F8-892C87CAAED0@gmail.com> > Le 27 avr. 2020 ? 08:37, J. Landman Gay via use-livecode a ?crit : > > On 4/26/20 1:24 PM, Rick Harrison via use-livecode wrote: >> In the middle-end part of the string I have ?(x)? where x represents some integer. >> it could be (4) or (10) or (5) etc. >> I just want to replace the number inside the () with whatever other number I need to. > local T = "aaaaa(1)bbbb(z)(345)xxx(567Z33)(666)" if sunnYreplace( T, "\((\d+)\)", "(42)", Tr ) then put Tr --> aaaaa(42)bbbb(z)(42)xxx(567Z33)(42) Thanks to check https://sunny-tdz.com/livecode/sunnyrex Thierry From livfoss at mac.com Mon Apr 27 03:41:29 2020 From: livfoss at mac.com (Graham Samuel) Date: Mon, 27 Apr 2020 09:41:29 +0200 Subject: How to make a mobile app stay alive in the background? In-Reply-To: References: <07B93BC0-C2F9-4639-890E-11E691A968C7@mac.com> <1c62fe29-3903-fed4-5379-7fa607ecb31e@hyperactivesw.com> Message-ID: <3DBF7FDC-88A3-4AEF-AA4A-F897EFD3DD3D@mac.com> Thanks Jacque and Mark - very interesting! Your messages told me stuff I did not know. mergBgTask looks scary and somewhat unsure of itself, but i?ll try. What is happening to me is that the app is suspended and effectively stopped when it goes into the background. From this state it can only be relaunched, showing the splash screen which I had to provide to iOS (this is not a card in my stack, just a PNG file insisted on by Apple), so the user does not perceive the app to be resuming, but rather restarting. I want them to see the screen they last saw when the app was in the foreground. Plenty of apps do this - Strava, FitDigits, etc. More importantly they do continue to actually run in the background, so that there are for example no gaps in the sensor records they are displaying, either via Bluetooth (Heart Rate Monitors for example) or direct via the OS (GPS information). I need that facility or my app is dead in the water. I don?t have trouble restoring the app?s status on a restart, as I keep updating the status and storing it in the cache area of my app - but that doesn?t help with the continuous-monitoring-in-the-background requirement. BTW, Jacque you said > You are probably running an older version of LC since that checkbox has been removed recently. Perhaps in the latest DP, but it?s there in the latest official version, 9.5.1, at least in Indy, which I use. Will keep trying. Graham > On 27 Apr 2020, at 08:48, Mark Waddingham via use-livecode wrote: > > On 2020-04-27 07:25, J. Landman Gay via use-livecode wrote: >> On 4/26/20 4:43 PM, Graham Samuel via use-livecode wrote: >>> I notice in the Standalone Settings for iOS in LC 9.5.1, a button ?Background Execution?. If I click it, I get a warning that I don?t really understand which suggests that LC doesn?t officially support the feature. I?m not even sure if this feature is what I need. >> Basically you have to save the user state repeatedly whenever anything >> significant changes, in case the app goes dormant. > > You actually need to do this regardless of having suspend/resume messages as there's no guarantee that (1) you will get them and (2) you will be able to execute them long enough to save all current state. > > Both mergBgTask and mergNotify provide features to enable managing the background task feature of iOS, and the suspend/resume notifications though. > > Warmest Regards > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > 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 Mon Apr 27 04:24:12 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 27 Apr 2020 11:24:12 +0300 Subject: How to make a mobile app stay alive in the background? In-Reply-To: <3DBF7FDC-88A3-4AEF-AA4A-F897EFD3DD3D@mac.com> References: <07B93BC0-C2F9-4639-890E-11E691A968C7@mac.com> <1c62fe29-3903-fed4-5379-7fa607ecb31e@hyperactivesw.com> <3DBF7FDC-88A3-4AEF-AA4A-F897EFD3DD3D@mac.com> Message-ID: Hello all, Just to add to the discussion that one of Graham's phones runs iOS 10.x, so in this case, if you need your app to continue running in the background, you do need to build it with 9.5.1 and check the "enable background execution" checkbox in the iOS settings. However, you will not be able to submit this build to the AppStore, as Apple no longer accepts applications that have this key that is added to the plist if you check "Enable Background execution". Devices running newer iOS versions will allow apps running in the background anyway, so you do not need this key in the plist - and this is why this key (i.e. the checkbox) was removed in LC 9.6 DP-3. So, to conclude, given that you are not interested in submitting the app to the AppStore, I believe you can include this key to the plist (i.e. check "Enable Background Execution" checkbox), so your app will continue running in the background in both old and new iOS devices. Kind regards, Panos -- On Mon, 27 Apr 2020 at 10:42, Graham Samuel via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks Jacque and Mark - very interesting! Your messages told me stuff I > did not know. mergBgTask looks scary and somewhat unsure of itself, but > i?ll try. > > What is happening to me is that the app is suspended and effectively > stopped when it goes into the background. From this state it can only be > relaunched, showing the splash screen which I had to provide to iOS (this > is not a card in my stack, just a PNG file insisted on by Apple), so the > user does not perceive the app to be resuming, but rather restarting. I > want them to see the screen they last saw when the app was in the > foreground. Plenty of apps do this - Strava, FitDigits, etc. More > importantly they do continue to actually run in the background, so that > there are for example no gaps in the sensor records they are displaying, > either via Bluetooth (Heart Rate Monitors for example) or direct via the OS > (GPS information). I need that facility or my app is dead in the water. I > don?t have trouble restoring the app?s status on a restart, as I keep > updating the status and storing it in the cache area of my app - but that > doesn?t help with the continuous-monitoring-in-the-background requirement. > > BTW, Jacque you said > > > You are probably running an older version of LC since that checkbox has > been removed recently. > > Perhaps in the latest DP, but it?s there in the latest official version, > 9.5.1, at least in Indy, which I use. > > Will keep trying. > > Graham > > > On 27 Apr 2020, at 08:48, Mark Waddingham via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > On 2020-04-27 07:25, J. Landman Gay via use-livecode wrote: > >> On 4/26/20 4:43 PM, Graham Samuel via use-livecode wrote: > >>> I notice in the Standalone Settings for iOS in LC 9.5.1, a button > ?Background Execution?. If I click it, I get a warning that I don?t really > understand which suggests that LC doesn?t officially support the feature. > I?m not even sure if this feature is what I need. > >> Basically you have to save the user state repeatedly whenever anything > >> significant changes, in case the app goes dormant. > > > > You actually need to do this regardless of having suspend/resume > messages as there's no guarantee that (1) you will get them and (2) you > will be able to execute them long enough to save all current state. > > > > Both mergBgTask and mergNotify provide features to enable managing the > background task feature of iOS, and the suspend/resume notifications though. > > > > Warmest Regards > > > > Mark. > > > > -- > > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > > LiveCode: Everyone can create apps > > > > _______________________________________________ > > 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 livfoss at mac.com Mon Apr 27 07:12:55 2020 From: livfoss at mac.com (Graham Samuel) Date: Mon, 27 Apr 2020 13:12:55 +0200 Subject: How to make a mobile app stay alive in the background? In-Reply-To: References: <07B93BC0-C2F9-4639-890E-11E691A968C7@mac.com> <1c62fe29-3903-fed4-5379-7fa607ecb31e@hyperactivesw.com> <3DBF7FDC-88A3-4AEF-AA4A-F897EFD3DD3D@mac.com> Message-ID: <00FCCC99-EAFA-4484-8041-A75AF6ED4307@mac.com> Panos, thanks for that info. The truth is my particular app has proved such a challenge for me in so many different ways that it may never reach its intended user population - but on the off-chance that I do finish it, then I think I may have to get involved with the Apple App Store, if only to use TestFlight to get it out to quite a lot of people. So maybe my announcement at that point will be that if your phone only runs earlier versions of iOS, sorry it won?t work unless you are willing to use it without ever letting the app go into the background - something very awkward in practice if you?re walking for an hour, which is what first use is all about. Can you say what is the lowest version of iOS is that would allow background working without a problem? Right now in my other test device I?m running iOS 13, which must be OK, but are there others, 11.x and 12. x that would be OK? Having asked that, please note that ?running in the background? seems to mean different things to different people, but to me it means continuing to receive sensor data while in the background, since as far as I know, such data would be unrecoverable if not collected in real time. A good example would be working out how far a person has walked. This can only be done by accumulating increments of change of location (via GPS) without any serious gaps, so data acquisition has to be continuous. There are lots of other examples, specially if we?re allowing Bluetooth connected sensors. Just for completeness I should say that I have asked LC Support to explain commands like mergBgTask, as the available documentation does not give examples etc. and really does not help the newbie in this area. Graham > On 27 Apr 2020, at 10:24, panagiotis merakos via use-livecode wrote: > > Hello all, > > Just to add to the discussion that one of Graham's phones runs iOS 10.x, so > in this case, if you need your app to continue running in the background, > you do need to build it with 9.5.1 and check the "enable background > execution" checkbox in the iOS settings. However, you will not be able to > submit this build to the AppStore, as Apple no longer accepts applications > that have this key that is added to the plist if you check "Enable > Background execution". Devices running newer iOS versions will allow apps > running in the background anyway, so you do not need this key in the plist > - and this is why this key (i.e. the checkbox) was removed in LC 9.6 DP-3. > > So, to conclude, given that you are not interested in submitting the app to > the AppStore, I believe you can include this key to the plist (i.e. check > "Enable Background Execution" checkbox), so your app will continue running > in the background in both old and new iOS devices. > > Kind regards, > Panos > -- > > On Mon, 27 Apr 2020 at 10:42, Graham Samuel via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Thanks Jacque and Mark - very interesting! Your messages told me stuff I >> did not know. mergBgTask looks scary and somewhat unsure of itself, but >> i?ll try. >> >> What is happening to me is that the app is suspended and effectively >> stopped when it goes into the background. From this state it can only be >> relaunched, showing the splash screen which I had to provide to iOS (this >> is not a card in my stack, just a PNG file insisted on by Apple), so the >> user does not perceive the app to be resuming, but rather restarting. I >> want them to see the screen they last saw when the app was in the >> foreground. Plenty of apps do this - Strava, FitDigits, etc. More >> importantly they do continue to actually run in the background, so that >> there are for example no gaps in the sensor records they are displaying, >> either via Bluetooth (Heart Rate Monitors for example) or direct via the OS >> (GPS information). I need that facility or my app is dead in the water. I >> don?t have trouble restoring the app?s status on a restart, as I keep >> updating the status and storing it in the cache area of my app - but that >> doesn?t help with the continuous-monitoring-in-the-background requirement. >> >> BTW, Jacque you said >> >>> You are probably running an older version of LC since that checkbox has >> been removed recently. >> >> Perhaps in the latest DP, but it?s there in the latest official version, >> 9.5.1, at least in Indy, which I use. >> >> Will keep trying. >> >> Graham >> >>> On 27 Apr 2020, at 08:48, Mark Waddingham via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> On 2020-04-27 07:25, J. Landman Gay via use-livecode wrote: >>>> On 4/26/20 4:43 PM, Graham Samuel via use-livecode wrote: >>>>> I notice in the Standalone Settings for iOS in LC 9.5.1, a button >> ?Background Execution?. If I click it, I get a warning that I don?t really >> understand which suggests that LC doesn?t officially support the feature. >> I?m not even sure if this feature is what I need. >>>> Basically you have to save the user state repeatedly whenever anything >>>> significant changes, in case the app goes dormant. >>> >>> You actually need to do this regardless of having suspend/resume >> messages as there's no guarantee that (1) you will get them and (2) you >> will be able to execute them long enough to save all current state. >>> >>> Both mergBgTask and mergNotify provide features to enable managing the >> background task feature of iOS, and the suspend/resume notifications though. >>> >>> Warmest Regards >>> >>> Mark. >>> >>> -- >>> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >>> LiveCode: Everyone can create apps >>> >>> _______________________________________________ >>> 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 merakosp at gmail.com Mon Apr 27 08:11:33 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 27 Apr 2020 15:11:33 +0300 Subject: How to make a mobile app stay alive in the background? In-Reply-To: <00FCCC99-EAFA-4484-8041-A75AF6ED4307@mac.com> References: <07B93BC0-C2F9-4639-890E-11E691A968C7@mac.com> <1c62fe29-3903-fed4-5379-7fa607ecb31e@hyperactivesw.com> <3DBF7FDC-88A3-4AEF-AA4A-F897EFD3DD3D@mac.com> <00FCCC99-EAFA-4484-8041-A75AF6ED4307@mac.com> Message-ID: Hello Graham, I could not find any *official* source from Apple, as their docs are scattered around and it is not easy to determine always if a document is out of date, but from what I understand iOS apps are running in the background by default since iOS 12+. Given how quickly people are moving (or forced to move) to using the latest iOS versions, I would not worry if my app (in the AppStore) only covered iOS 12+: iOS version stats: (from https://david-smith.org/iosversionstats/) 13.X --> 92.5% 12.X --> 5.1% 11.X --> 0.7% 10.X --> 0.7% 9.X --> 1.0% For your use case, I think this should work: - Use LC 9.5.1 and check "Enable Background Execution" and "Location Updates" in the background modes in the iOS settings. This should allow your app to receive the "locationChanged" msg even when in background. Then use an ad-hoc distribution profile to sign your app and deliver it to specific devices (including pre-ios12) to get some feedback - When you are ready for publishing the app to the AppStore, just rebuild it with LC 9.6, using an AppStore distribution profile, and upload it to the AppStore. You will be able to deliver it to some beta testers via TestFlight at this point (running iOS 12+) Hope this helps. Kind regards, Panos -- On Mon, 27 Apr 2020 at 14:14, Graham Samuel via use-livecode < use-livecode at lists.runrev.com> wrote: > Panos, thanks for that info. The truth is my particular app has proved > such a challenge for me in so many different ways that it may never reach > its intended user population - but on the off-chance that I do finish it, > then I think I may have to get involved with the Apple App Store, if only > to use TestFlight to get it out to quite a lot of people. So maybe my > announcement at that point will be that if your phone only runs earlier > versions of iOS, sorry it won?t work unless you are willing to use it > without ever letting the app go into the background - something very > awkward in practice if you?re walking for an hour, which is what first use > is all about. Can you say what is the lowest version of iOS is that would > allow background working without a problem? Right now in my other test > device I?m running iOS 13, which must be OK, but are there others, 11.x and > 12. x that would be OK? > > Having asked that, please note that ?running in the background? seems to > mean different things to different people, but to me it means continuing to > receive sensor data while in the background, since as far as I know, such > data would be unrecoverable if not collected in real time. A good example > would be working out how far a person has walked. This can only be done by > accumulating increments of change of location (via GPS) without any serious > gaps, so data acquisition has to be continuous. There are lots of other > examples, specially if we?re allowing Bluetooth connected sensors. > > Just for completeness I should say that I have asked LC Support to explain > commands like mergBgTask, as the available documentation does not give > examples etc. and really does not help the newbie in this area. > > Graham > > > On 27 Apr 2020, at 10:24, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hello all, > > > > Just to add to the discussion that one of Graham's phones runs iOS 10.x, > so > > in this case, if you need your app to continue running in the background, > > you do need to build it with 9.5.1 and check the "enable background > > execution" checkbox in the iOS settings. However, you will not be able to > > submit this build to the AppStore, as Apple no longer accepts > applications > > that have this key that is added to the plist if you check "Enable > > Background execution". Devices running newer iOS versions will allow > apps > > running in the background anyway, so you do not need this key in the > plist > > - and this is why this key (i.e. the checkbox) was removed in LC 9.6 > DP-3. > > > > So, to conclude, given that you are not interested in submitting the app > to > > the AppStore, I believe you can include this key to the plist (i.e. check > > "Enable Background Execution" checkbox), so your app will continue > running > > in the background in both old and new iOS devices. > > > > Kind regards, > > Panos > > -- > > > > On Mon, 27 Apr 2020 at 10:42, Graham Samuel via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Thanks Jacque and Mark - very interesting! Your messages told me stuff I > >> did not know. mergBgTask looks scary and somewhat unsure of itself, but > >> i?ll try. > >> > >> What is happening to me is that the app is suspended and effectively > >> stopped when it goes into the background. From this state it can only be > >> relaunched, showing the splash screen which I had to provide to iOS > (this > >> is not a card in my stack, just a PNG file insisted on by Apple), so the > >> user does not perceive the app to be resuming, but rather restarting. I > >> want them to see the screen they last saw when the app was in the > >> foreground. Plenty of apps do this - Strava, FitDigits, etc. More > >> importantly they do continue to actually run in the background, so that > >> there are for example no gaps in the sensor records they are displaying, > >> either via Bluetooth (Heart Rate Monitors for example) or direct via > the OS > >> (GPS information). I need that facility or my app is dead in the water. > I > >> don?t have trouble restoring the app?s status on a restart, as I keep > >> updating the status and storing it in the cache area of my app - but > that > >> doesn?t help with the continuous-monitoring-in-the-background > requirement. > >> > >> BTW, Jacque you said > >> > >>> You are probably running an older version of LC since that checkbox has > >> been removed recently. > >> > >> Perhaps in the latest DP, but it?s there in the latest official version, > >> 9.5.1, at least in Indy, which I use. > >> > >> Will keep trying. > >> > >> Graham > >> > >>> On 27 Apr 2020, at 08:48, Mark Waddingham via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >>> > >>> On 2020-04-27 07:25, J. Landman Gay via use-livecode wrote: > >>>> On 4/26/20 4:43 PM, Graham Samuel via use-livecode wrote: > >>>>> I notice in the Standalone Settings for iOS in LC 9.5.1, a button > >> ?Background Execution?. If I click it, I get a warning that I don?t > really > >> understand which suggests that LC doesn?t officially support the > feature. > >> I?m not even sure if this feature is what I need. > >>>> Basically you have to save the user state repeatedly whenever anything > >>>> significant changes, in case the app goes dormant. > >>> > >>> You actually need to do this regardless of having suspend/resume > >> messages as there's no guarantee that (1) you will get them and (2) you > >> will be able to execute them long enough to save all current state. > >>> > >>> Both mergBgTask and mergNotify provide features to enable managing the > >> background task feature of iOS, and the suspend/resume notifications > though. > >>> > >>> Warmest Regards > >>> > >>> Mark. > >>> > >>> -- > >>> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > >>> LiveCode: Everyone can create apps > >>> > >>> _______________________________________________ > >>> 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 > > > _______________________________________________ > 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 Mon Apr 27 10:01:17 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 27 Apr 2020 14:01:17 +0000 (UTC) Subject: Wildcard? replaceText, offset? In-Reply-To: References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> <5D65FC70-4EBB-446E-A38E-94610AEB0474@mac.com> <171b7ae9c30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0AAD11D2-BBF8-4912-818B-0F6A288D0B51@all-auctions.com> <1506332899.372285.1587928514370@mail.yahoo.com> Message-ID: <672689525.594758.1587996077859@mail.yahoo.com> You are welcome. Er, my offering IS a one liner. Craig -----Original Message----- From: Rick Harrison via use-livecode To: How to use LiveCode Cc: Rick Harrison Sent: Mon, Apr 27, 2020 12:20 am Subject: Re: Wildcard? replaceText, offset? Thanks for the suggestions! I was hoping that perhaps there was a very simple one liner or character that would do it for me. I think I have a solution now. Rick > On Apr 26, 2020, at 3:15 PM, dunbarx--- via use-livecode wrote: > > on mouseUpput offset("(",yourString) into startCharput offset(")", yourString) into endCharput random(999) into char (startChar + 1) to (endChar -1) of yourStringend mouseUp _______________________________________________ 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 Mon Apr 27 11:25:24 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 27 Apr 2020 15:25:24 +0000 (UTC) Subject: How do I format a handler in the use-List? In-Reply-To: <6335ea42-986f-b948-63dc-62e02e11a9cc@hyperactivesw.com> References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> <5D65FC70-4EBB-446E-A38E-94610AEB0474@mac.com> <171b7ae9c30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <302574325.371854.1587928818543@mail.yahoo.com> <6335ea42-986f-b948-63dc-62e02e11a9cc@hyperactivesw.com> Message-ID: <1258277934.636776.1588001124308@mail.yahoo.com> Jacque. Came over just fine. I will try to reset the use-list to my business eMail. Thanks, Craig -----Original Message----- From: J. Landman Gay via use-livecode To: How to use LiveCode Cc: J. Landman Gay Sent: Mon, Apr 27, 2020 2:34 am Subject: Re: How do I format a handler in the use-List? On 4/26/20 2:20 PM, dunbarx--- via use-livecode wrote: > Try as I might, I cannot format a handler example copied from the SE. The result is always run-on, even though I add spaces and returns where appropriate. The text seems readable when I send, but reverts to a run-on string when I read in the list. > Why is this so much more difficult than the forum? > Is AOL the culprit? Maybe. The list may be expecting different line endings than AOL provides. What we usually see when people paste here from the SE is a bunch of markup symbols, but the carriage returns generally come through okay. Here's a copy/paste test from my LC editor, let's see what happens: on mouseUp ? hide me end mouseUp -- 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 livfoss at mac.com Mon Apr 27 11:34:42 2020 From: livfoss at mac.com (Graham Samuel) Date: Mon, 27 Apr 2020 17:34:42 +0200 Subject: How to make a mobile app stay alive in the background? In-Reply-To: References: <07B93BC0-C2F9-4639-890E-11E691A968C7@mac.com> <1c62fe29-3903-fed4-5379-7fa607ecb31e@hyperactivesw.com> <3DBF7FDC-88A3-4AEF-AA4A-F897EFD3DD3D@mac.com> <00FCCC99-EAFA-4484-8041-A75AF6ED4307@mac.com> Message-ID: Panos, as usual, this is terrific information! I am applying your advice immediately. Not to start an argument, the statistics you quote don?t accord with my personal experience. Almost everyone I know who owns Apple kit has at least one phone or iPad that can?t be upgraded to the latest OS version - and these devices still work well. In our house for example there are three iPhones, only one of which can run 13.x; two iPads, one newish one and another which is back at iOS 9 I think (still works for email and browsing, at any rate). However, to be practical I will do as you suggest with my own app. Thanks for your continued interest in these issues. Graham > On 27 Apr 2020, at 14:11, panagiotis merakos via use-livecode wrote: > > Hello Graham, > > I could not find any *official* source from Apple, as their docs are > scattered around and it is not easy to determine always if a document is > out of date, but from what I understand iOS apps are running in the > background by default since iOS 12+. Given how quickly people are moving > (or forced to move) to using the latest iOS versions, I would not worry if > my app (in the AppStore) only covered iOS 12+: > > iOS version stats: (from https://david-smith.org/iosversionstats/) > > 13.X --> 92.5% > 12.X --> 5.1% > 11.X --> 0.7% > 10.X --> 0.7% > 9.X --> 1.0% > > For your use case, I think this should work: > > - Use LC 9.5.1 and check "Enable Background Execution" and "Location > Updates" in the background modes in the iOS settings. This should allow > your app to receive the "locationChanged" msg even when in background. Then > use an ad-hoc distribution profile to sign your app and deliver it to > specific devices (including pre-ios12) to get some feedback > > - When you are ready for publishing the app to the AppStore, just rebuild > it with LC 9.6, using an AppStore distribution profile, and upload it to > the AppStore. You will be able to deliver it to some beta testers via > TestFlight at this point (running iOS 12+) > > Hope this helps. > > Kind regards, > Panos > -- > > On Mon, 27 Apr 2020 at 14:14, Graham Samuel via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Panos, thanks for that info. The truth is my particular app has proved >> such a challenge for me in so many different ways that it may never reach >> its intended user population - but on the off-chance that I do finish it, >> then I think I may have to get involved with the Apple App Store, if only >> to use TestFlight to get it out to quite a lot of people. So maybe my >> announcement at that point will be that if your phone only runs earlier >> versions of iOS, sorry it won?t work unless you are willing to use it >> without ever letting the app go into the background - something very >> awkward in practice if you?re walking for an hour, which is what first use >> is all about. Can you say what is the lowest version of iOS is that would >> allow background working without a problem? Right now in my other test >> device I?m running iOS 13, which must be OK, but are there others, 11.x and >> 12. x that would be OK? >> >> Having asked that, please note that ?running in the background? seems to >> mean different things to different people, but to me it means continuing to >> receive sensor data while in the background, since as far as I know, such >> data would be unrecoverable if not collected in real time. A good example >> would be working out how far a person has walked. This can only be done by >> accumulating increments of change of location (via GPS) without any serious >> gaps, so data acquisition has to be continuous. There are lots of other >> examples, specially if we?re allowing Bluetooth connected sensors. >> >> Just for completeness I should say that I have asked LC Support to explain >> commands like mergBgTask, as the available documentation does not give >> examples etc. and really does not help the newbie in this area. >> >> Graham >> >>> On 27 Apr 2020, at 10:24, panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Hello all, >>> >>> Just to add to the discussion that one of Graham's phones runs iOS 10.x, >> so >>> in this case, if you need your app to continue running in the background, >>> you do need to build it with 9.5.1 and check the "enable background >>> execution" checkbox in the iOS settings. However, you will not be able to >>> submit this build to the AppStore, as Apple no longer accepts >> applications >>> that have this key that is added to the plist if you check "Enable >>> Background execution". Devices running newer iOS versions will allow >> apps >>> running in the background anyway, so you do not need this key in the >> plist >>> - and this is why this key (i.e. the checkbox) was removed in LC 9.6 >> DP-3. >>> >>> So, to conclude, given that you are not interested in submitting the app >> to >>> the AppStore, I believe you can include this key to the plist (i.e. check >>> "Enable Background Execution" checkbox), so your app will continue >> running >>> in the background in both old and new iOS devices. >>> >>> Kind regards, >>> Panos >>> -- >>> >>> On Mon, 27 Apr 2020 at 10:42, Graham Samuel via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Thanks Jacque and Mark - very interesting! Your messages told me stuff I >>>> did not know. mergBgTask looks scary and somewhat unsure of itself, but >>>> i?ll try. >>>> >>>> What is happening to me is that the app is suspended and effectively >>>> stopped when it goes into the background. From this state it can only be >>>> relaunched, showing the splash screen which I had to provide to iOS >> (this >>>> is not a card in my stack, just a PNG file insisted on by Apple), so the >>>> user does not perceive the app to be resuming, but rather restarting. I >>>> want them to see the screen they last saw when the app was in the >>>> foreground. Plenty of apps do this - Strava, FitDigits, etc. More >>>> importantly they do continue to actually run in the background, so that >>>> there are for example no gaps in the sensor records they are displaying, >>>> either via Bluetooth (Heart Rate Monitors for example) or direct via >> the OS >>>> (GPS information). I need that facility or my app is dead in the water. >> I >>>> don?t have trouble restoring the app?s status on a restart, as I keep >>>> updating the status and storing it in the cache area of my app - but >> that >>>> doesn?t help with the continuous-monitoring-in-the-background >> requirement. >>>> >>>> BTW, Jacque you said >>>> >>>>> You are probably running an older version of LC since that checkbox has >>>> been removed recently. >>>> >>>> Perhaps in the latest DP, but it?s there in the latest official version, >>>> 9.5.1, at least in Indy, which I use. >>>> >>>> Will keep trying. >>>> >>>> Graham >>>> >>>>> On 27 Apr 2020, at 08:48, Mark Waddingham via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>> On 2020-04-27 07:25, J. Landman Gay via use-livecode wrote: >>>>>> On 4/26/20 4:43 PM, Graham Samuel via use-livecode wrote: >>>>>>> I notice in the Standalone Settings for iOS in LC 9.5.1, a button >>>> ?Background Execution?. If I click it, I get a warning that I don?t >> really >>>> understand which suggests that LC doesn?t officially support the >> feature. >>>> I?m not even sure if this feature is what I need. >>>>>> Basically you have to save the user state repeatedly whenever anything >>>>>> significant changes, in case the app goes dormant. >>>>> >>>>> You actually need to do this regardless of having suspend/resume >>>> messages as there's no guarantee that (1) you will get them and (2) you >>>> will be able to execute them long enough to save all current state. >>>>> >>>>> Both mergBgTask and mergNotify provide features to enable managing the >>>> background task feature of iOS, and the suspend/resume notifications >> though. >>>>> >>>>> Warmest Regards >>>>> >>>>> Mark. >>>>> >>>>> -- >>>>> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >>>>> LiveCode: Everyone can create apps >>>>> >>>>> _______________________________________________ >>>>> 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 >> >> >> _______________________________________________ >> 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 panos.merakos at livecode.com Mon Apr 27 11:44:57 2020 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 27 Apr 2020 18:44:57 +0300 Subject: [ANN] This Week in LiveCode 223 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 #223 here: https://bit.ly/2yPFixO 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 skiplondon at gmail.com Mon Apr 27 13:24:01 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Mon, 27 Apr 2020 13:24:01 -0400 Subject: Counting unique items in a file Message-ID: Good afternoon LC'ers, I am loading a tab delimited file into a variable and I need to pull out all unique names from a certain column (let's say column 10) and count how many times that name appears in that column. I know there has to be an easy way of doing it. Every time I try to start coding this it get waaaayyy too long :) Simple approach? SKIP From jacque at hyperactivesw.com Mon Apr 27 13:31:37 2020 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 27 Apr 2020 12:31:37 -0500 Subject: How to make a mobile app stay alive in the background? In-Reply-To: References: <07B93BC0-C2F9-4639-890E-11E691A968C7@mac.com> <1c62fe29-3903-fed4-5379-7fa607ecb31e@hyperactivesw.com> Message-ID: <7f333626-edcc-dd99-7ead-bf221bc9a7a9@hyperactivesw.com> On 4/27/20 1:48 AM, Mark Waddingham via use-livecode wrote: > > Both mergBgTask and mergNotify provide features to enable managing the background task feature > of iOS, and the suspend/resume notifications though. And for Android...what? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dan at clearvisiontech.com Mon Apr 27 13:34:07 2020 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 27 Apr 2020 17:34:07 +0000 Subject: Counting unique items in a file In-Reply-To: References: Message-ID: Skip, Haven't tested, but pope about this... function getUniqueNames inData,pColumn put "" into uNames set the itemDel to tab repeat for each line l in inData add 1 to uNames[item pColumn of l] end repeat return uNames end getUniqueNames You should get back an array keyed by the unique names, and how many instances of each one -Dan ?On 4/27/20, 10:25 AM, "use-livecode on behalf of Skip Kimpel via use-livecode" wrote: Good afternoon LC'ers, I am loading a tab delimited file into a variable and I need to pull out all unique names from a certain column (let's say column 10) and count how many times that name appears in that column. I know there has to be an easy way of doing it. Every time I try to start coding this it get waaaayyy too long :) Simple approach? SKIP _______________________________________________ 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 skiplondon at gmail.com Mon Apr 27 13:51:13 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Mon, 27 Apr 2020 13:51:13 -0400 Subject: Counting unique items in a file In-Reply-To: References: Message-ID: Thanks Dan! Upon very quick implementation, I am getting empty results back. I think I need to play around with this a little bit more but I feel you got me on the right track. Thanks again, SKIP On Mon, Apr 27, 2020 at 1:34 PM Dan Friedman wrote: > Skip, > > Haven't tested, but pope about this... > > function getUniqueNames inData,pColumn > put "" into uNames > set the itemDel to tab > repeat for each line l in inData > add 1 to uNames[item pColumn of l] > end repeat > > return uNames > end getUniqueNames > > You should get back an array keyed by the unique names, and how many > instances of each one > > > -Dan > > > > ?On 4/27/20, 10:25 AM, "use-livecode on behalf of Skip Kimpel via > use-livecode" use-livecode at lists.runrev.com> wrote: > > Good afternoon LC'ers, > > I am loading a tab delimited file into a variable and I need to pull > out > all unique names from a certain column (let's say column 10) and count > how > many times that name appears in that column. > > I know there has to be an easy way of doing it. Every time I try to > start > coding this it get waaaayyy too long :) > > Simple approach? > > SKIP > _______________________________________________ > 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 Mon Apr 27 14:26:06 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 27 Apr 2020 18:26:06 +0000 (UTC) Subject: Counting unique items in a file In-Reply-To: References: Message-ID: <1064474411.724013.1588011966768@mail.yahoo.com> Hi. You are getting empty because the information returned from the function is an array. "combine " the array with "return and "comma" Craig -----Original Message----- From: Skip Kimpel via use-livecode To: Dan Friedman Cc: Skip Kimpel ; How to use LiveCode Sent: Mon, Apr 27, 2020 1:52 pm Subject: Re: Counting unique items in a file Thanks Dan! Upon very quick implementation, I am getting empty results back.? I think I need to play around with this a little bit more but I feel you got me on the right track. Thanks again, SKIP On Mon, Apr 27, 2020 at 1:34 PM Dan Friedman wrote: > Skip, > > Haven't tested, but pope about this... > > function getUniqueNames inData,pColumn >? put "" into uNames >? set the itemDel to tab >? repeat for each line l in inData >? ? add 1 to uNames[item pColumn of l] >? end repeat > >? return uNames > end getUniqueNames > > You should get back an array keyed by the unique names, and how many > instances of each one > > > -Dan > > > > ?On 4/27/20, 10:25 AM, "use-livecode on behalf of Skip Kimpel via > use-livecode" use-livecode at lists.runrev.com> wrote: > >? ? Good afternoon LC'ers, > >? ? I am loading a tab delimited file into a variable and I need to pull > out >? ? all unique names from a certain column (let's say column 10) and count > how >? ? many times that name appears in that column. > >? ? I know there has to be an easy way of doing it.? Every time I try to > start >? ? coding this it get waaaayyy too long :) > >? ? Simple approach? > >? ? SKIP >? ? _______________________________________________ >? ? 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 Mon Apr 27 14:33:08 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 27 Apr 2020 11:33:08 -0700 Subject: mouseColor randomly returning "0,0,0" Message-ID: For years I've relied on the mouseColor to pick up colors for my layouts, but lately I've found something weird: Most of the time it works, but sometimes it return "0,0,0" over things I know aren't black. For example, this morning it's returning that color of a large block of solid light green. Has anyone else seen oddities with the mousecolor? Current test environment: LC 9.6dp4, Ubuntu 18.04 -- 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 skiplondon at gmail.com Mon Apr 27 15:05:16 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Mon, 27 Apr 2020 15:05:16 -0400 Subject: Counting unique items in a file In-Reply-To: <1064474411.724013.1588011966768@mail.yahoo.com> References: <1064474411.724013.1588011966768@mail.yahoo.com> Message-ID: Silly me... of course. Thank you, Dunbarx for pointing out the obvious :) SKIP On Mon, Apr 27, 2020 at 2:27 PM dunbarx--- via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi. > You are getting empty because the information returned from the function > is an array. > "combine " the array with "return and "comma" > Craig > > > -----Original Message----- > From: Skip Kimpel via use-livecode > To: Dan Friedman > Cc: Skip Kimpel ; How to use LiveCode < > use-livecode at lists.runrev.com> > Sent: Mon, Apr 27, 2020 1:52 pm > Subject: Re: Counting unique items in a file > > Thanks Dan! > > Upon very quick implementation, I am getting empty results back. I think I > need to play around with this a little bit more but I feel you got me on > the right track. > > Thanks again, > > SKIP > > On Mon, Apr 27, 2020 at 1:34 PM Dan Friedman > wrote: > > > Skip, > > > > Haven't tested, but pope about this... > > > > function getUniqueNames inData,pColumn > > put "" into uNames > > set the itemDel to tab > > repeat for each line l in inData > > add 1 to uNames[item pColumn of l] > > end repeat > > > > return uNames > > end getUniqueNames > > > > You should get back an array keyed by the unique names, and how many > > instances of each one > > > > > > -Dan > > > > > > > > ?On 4/27/20, 10:25 AM, "use-livecode on behalf of Skip Kimpel via > > use-livecode" > use-livecode at lists.runrev.com> wrote: > > > > Good afternoon LC'ers, > > > > I am loading a tab delimited file into a variable and I need to pull > > out > > all unique names from a certain column (let's say column 10) and count > > how > > many times that name appears in that column. > > > > I know there has to be an easy way of doing it. Every time I try to > > start > > coding this it get waaaayyy too long :) > > > > Simple approach? > > > > SKIP > > _______________________________________________ > > 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 skiplondon at gmail.com Mon Apr 27 15:28:33 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Mon, 27 Apr 2020 15:28:33 -0400 Subject: Counting unique items in a file In-Reply-To: References: <1064474411.724013.1588011966768@mail.yahoo.com> Message-ID: All of that works perfectly. Thank you everybody! Let's through a layer of complexity in here... each of of those names has another column with a time associated with it, for instance "13:02:58" I would like to only show the LATEST time associated with that particular name. Premise behind this whole exercise: I have a list of drivers and I want to produce a report that shows the driver name, number of jobs (both of these accomplished through the last script) and when they finished their last delivery. Should I just break this out into a separate function or would it make sense to modify this function to fit these additional needs? SKIP On Mon, Apr 27, 2020 at 3:05 PM Skip Kimpel wrote: > Silly me... of course. Thank you, Dunbarx for pointing out the obvious :) > > SKIP > > On Mon, Apr 27, 2020 at 2:27 PM dunbarx--- via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi. >> You are getting empty because the information returned from the function >> is an array. >> "combine " the array with "return and "comma" >> Craig >> >> >> -----Original Message----- >> From: Skip Kimpel via use-livecode >> To: Dan Friedman >> Cc: Skip Kimpel ; How to use LiveCode < >> use-livecode at lists.runrev.com> >> Sent: Mon, Apr 27, 2020 1:52 pm >> Subject: Re: Counting unique items in a file >> >> Thanks Dan! >> >> Upon very quick implementation, I am getting empty results back. I think >> I >> need to play around with this a little bit more but I feel you got me on >> the right track. >> >> Thanks again, >> >> SKIP >> >> On Mon, Apr 27, 2020 at 1:34 PM Dan Friedman >> wrote: >> >> > Skip, >> > >> > Haven't tested, but pope about this... >> > >> > function getUniqueNames inData,pColumn >> > put "" into uNames >> > set the itemDel to tab >> > repeat for each line l in inData >> > add 1 to uNames[item pColumn of l] >> > end repeat >> > >> > return uNames >> > end getUniqueNames >> > >> > You should get back an array keyed by the unique names, and how many >> > instances of each one >> > >> > >> > -Dan >> > >> > >> > >> > ?On 4/27/20, 10:25 AM, "use-livecode on behalf of Skip Kimpel via >> > use-livecode" > > use-livecode at lists.runrev.com> wrote: >> > >> > Good afternoon LC'ers, >> > >> > I am loading a tab delimited file into a variable and I need to pull >> > out >> > all unique names from a certain column (let's say column 10) and >> count >> > how >> > many times that name appears in that column. >> > >> > I know there has to be an easy way of doing it. Every time I try to >> > start >> > coding this it get waaaayyy too long :) >> > >> > Simple approach? >> > >> > SKIP >> > _______________________________________________ >> > 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 andreas.bergendal at gmail.com Mon Apr 27 15:52:00 2020 From: andreas.bergendal at gmail.com (Andreas Bergendal) Date: Mon, 27 Apr 2020 21:52:00 +0200 Subject: Which git service suits a LiveCoder best? In-Reply-To: References: <76CE3A40-713A-445E-AB6B-8DFBFFC7E5AE@gmail.com> Message-ID: <746635A5-19C0-47A8-9601-BE3960E3DFC7@gmail.com> As to the ?how?, I planned to move into script-only stacks more anyway, and will also test the Levure framework, and/or Script Tracker. I?m not sure if those two are compatible though? I mean, if I use Levure framework I can?t (needn?t?) use Script Tracker as well, right? Anyway, with the help of a good free tutorial I?ve set up a GitHub account and done the necessary local stuff, including doing basic command line actions (yeah, wasn?t that scary after all?), so I?m progressing one step at a time? :) Andreas From rdimola at evergreeninfo.net Mon Apr 27 16:17:15 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 27 Apr 2020 16:17:15 -0400 Subject: Counting unique items in a file In-Reply-To: References: <1064474411.724013.1588011966768@mail.yahoo.com> Message-ID: <004901d61cd0$dac02890$904079b0$@net> I would change the first line below and add one line and one parameter(dateTimeColumn). This assumes that the date/time is converted into seconds or milliseconds). add 1 to uNames[item pColumn of l]["Count"] if item dateTimeColumn of l > uNames[item pColumn of l]["DateTime"] then put item dateTimeColumn of l into uNames[item pColumn of l]["DateTime"] Then the returned array will still have the keys of all unique drivers and each key will have 2 keys "Count" and "Datetime" 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 Skip Kimpel via use-livecode Sent: Monday, April 27, 2020 3:29 PM To: How to use LiveCode Cc: Skip Kimpel Subject: Re: Counting unique items in a file All of that works perfectly. Thank you everybody! Let's through a layer of complexity in here... each of of those names has another column with a time associated with it, for instance "13:02:58" I would like to only show the LATEST time associated with that particular name. Premise behind this whole exercise: I have a list of drivers and I want to produce a report that shows the driver name, number of jobs (both of these accomplished through the last script) and when they finished their last delivery. Should I just break this out into a separate function or would it make sense to modify this function to fit these additional needs? SKIP On Mon, Apr 27, 2020 at 3:05 PM Skip Kimpel wrote: > Silly me... of course. Thank you, Dunbarx for pointing out the > obvious :) > > SKIP > > On Mon, Apr 27, 2020 at 2:27 PM dunbarx--- via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi. >> You are getting empty because the information returned from the >> function is an array. >> "combine " the array with "return and "comma" >> Craig >> >> >> -----Original Message----- >> From: Skip Kimpel via use-livecode >> To: Dan Friedman >> Cc: Skip Kimpel ; How to use LiveCode < >> use-livecode at lists.runrev.com> >> Sent: Mon, Apr 27, 2020 1:52 pm >> Subject: Re: Counting unique items in a file >> >> Thanks Dan! >> >> Upon very quick implementation, I am getting empty results back. I >> think I need to play around with this a little bit more but I feel >> you got me on the right track. >> >> Thanks again, >> >> SKIP >> >> On Mon, Apr 27, 2020 at 1:34 PM Dan Friedman >> >> wrote: >> >> > Skip, >> > >> > Haven't tested, but pope about this... >> > >> > function getUniqueNames inData,pColumn put "" into uNames set the >> > itemDel to tab repeat for each line l in inData >> > add 1 to uNames[item pColumn of l] end repeat >> > >> > return uNames >> > end getUniqueNames >> > >> > You should get back an array keyed by the unique names, and how >> > many instances of each one >> > >> > >> > -Dan >> > >> > >> > >> > ?On 4/27/20, 10:25 AM, "use-livecode on behalf of Skip Kimpel via >> > use-livecode" > > use-livecode at lists.runrev.com> wrote: >> > >> > Good afternoon LC'ers, >> > >> > I am loading a tab delimited file into a variable and I need to >> > pull out >> > all unique names from a certain column (let's say column 10) and >> count >> > how >> > many times that name appears in that column. >> > >> > I know there has to be an easy way of doing it. Every time I >> > try to start >> > coding this it get waaaayyy too long :) >> > >> > Simple approach? >> > >> > SKIP >> > _______________________________________________ >> > 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 >> > _______________________________________________ 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 Mon Apr 27 16:21:46 2020 From: brian at milby7.com (Brian Milby) Date: Mon, 27 Apr 2020 16:21:46 -0400 Subject: Which git service suits a LiveCoder best? In-Reply-To: <746635A5-19C0-47A8-9601-BE3960E3DFC7@gmail.com> References: <76CE3A40-713A-445E-AB6B-8DFBFFC7E5AE@gmail.com> <746635A5-19C0-47A8-9601-BE3960E3DFC7@gmail.com> Message-ID: <048b88b0-868b-44d9-88f1-0b3765e6ee23@Spark> ScriptTracker isn?t necessarily incompatible with Levure, but if using that framework as intended then all of the scripts would be in script only stacks as behaviors which would make it unnecessary. I have thought about setting up a hybrid project as a test but never have gotten around to playing with it. Thanks, Brian On Apr 27, 2020, 3:53 PM -0400, Andreas Bergendal via use-livecode , wrote: > As to the ?how?, I planned to move into script-only stacks more anyway, and will also test the Levure framework, and/or Script Tracker. > I?m not sure if those two are compatible though? I mean, if I use Levure framework I can?t (needn?t?) use Script Tracker as well, right? > > Anyway, with the help of a good free tutorial I?ve set up a GitHub account and done the necessary local stuff, including doing basic command line actions (yeah, wasn?t that scary after all?), so I?m progressing one step at a time? :) > > Andreas > _______________________________________________ > 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 Mon Apr 27 16:29:24 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 27 Apr 2020 13:29:24 -0700 Subject: Mobile screen sizes - another naive question In-Reply-To: References: Message-ID: Graham (and Brahmanathaswami may enjoy this too): I've been itching to write a tutorial on using specific object placement ("Responsive Design", as the kids call it) to compliment the Lesson we've had for years on the other mobile layout option, FullScreenMode. I had a few minutes over the weekend, and a discussion with a new developer prompted me to craft a simple example of how groups can be used to handle common design patterns with little code. This may be fleshed out more fully in the future, but for now at least it's more than the zero tutorials we've had on it thus far: https://forums.livecode.com/viewtopic.php?f=53&t=33989&start=15#p190927 -- Richard Gaskin Fourth World Systems -------------- original post from 9 April --------------------- Graham Samuel wrote: > Folks, yet again I don?t know where to look for an answer in the LC > documentation. > > The issue is the enormous variety of screen sizes on smart phones. > For example the iPhone XS Max has 1242 pixels width, the iPhone 5 has > 640. And there are many many more before we even get to tablets? > > The question is, how do most of you tackle this, and does LC help? > Obviously an object taking up a fixed number of pixels on one phone > will look absurdly large or small on another one, or of course may not > fit on the screen at all. Not all objects can be vector drawings, and > the ones that are still have to be resized according to device > > Is there anything better than the obvious trick of resizing everything > in sight when the app is being initialised, including substituting the > more sensitive graphics from a library of appropriate sizes? Seems > tedious. Is it all that tedious? Computers have had resizable windows since Mac 1.0, and even HyperCard stacks could be resize after its first version. True, in the very olden days we all enjoyed the simplicity of knowing we never had to accommodate any screen size other than 512x342. Ah, those were the days! :) But 640x480 came along not long after, and it caused much concern among developers. Suddenly we had to become aware of screen metrics, and rearrange our layouts to make good use of the available space. Then 1024x768 came along, and then we had THREE(!) screen sizes to contend with. Oh the humanity! :) Then by the early 90s we got over it. Anticipating multiple screen sizes became the norm, new tools like SuperCard, OMO, and MetaCard came along offering true resizable windows, and we learned to respond to notification that the window had resized so we can adjust our interior contents nicely. Flash forward to 2010: iPhone comes out, with the presumption that one size will satisfy all tastes. That didn't last long. History doesn't always repeat itself, but it often rhymes. :) ---- As with desktop software, I find it instructive to observe how the best apps on mobile behave, and then - because those establish user expectations - do what they do. And what we see is not all that different from how designers handle resizable windows on the desktop: some objects stay where they are, those that make sense to enlarge enlarge, those that make sense to remain adjacent to something next to them remain adjacent to something next to them, etc. If you've written resizeStack handlers at any point in the last 28 years since MC premiered, you've already learned most of what you need to know to handle a resizeStack message on a mobile device. The specifics of how this plays out in your layout will of course depend entirely on your layout. But I have found a few things that have greatly simplified my UI work, chiefly: - Use Groups Smartly Relatively recently (a few years ago) the engine now sends a resizeControl message to groups whenever they're resized by any means, either user interaction with the pointer tool (as had always been the case) or via script (the new addition). This allows us to work with our UIs very cleanly, recognizing that an app is ultimately a set of rows, and that some rows are divided into blocks. When we group controls by their location/purpose logically, we get to take advantage of a wonderfully simplifying cascading effect with regard to resizing, which allows us to keep control adjustments local to their containing group. Imagine a simple message form, where the rows are: - Icons for navigating to different screens - Message, which includes three rows: - Subject field - Body field - Send button With that, our card script need only bother itself with the general placement of the two main goups: on resizeStack x,y set the rect of grp "Nav" to 0,0,x,40 set the rect of grp "Message" to 0,40,x,y end resizeStack And because the groups will get a resizeControl message when that card script adjust them, each can contain its own handler to take care of its interior contents. This might be the script for the Message group: on resizeControl set the rect of fld "Subject" to the left of me, the top of me, \ the right of me, the top of me + 40 set the rect of fld "Body" to the left of me, 40, the right of me, \ the bottom of me - 60 set the bottomRight of btn "Send" to x-20, y-10 end resizeControl Encapsulating resizing within the group not only keeps the logic simple and tidy, but by using the group bounds as its basis rather than the card (e.g., "the left of me") the group is maintainable and even portable - the card script that sets its rect can change at any time, and the group's resizeControl handler will continue to work well. There are probably other tips and tricks worth considering, but none have radically streamlined the process of delivering the UI I want my user to enjoy as much as using groups as containers for logically/geometrically related controls. As you explore these and other ideas in the crafting of your UI, drop back in here with questions. There are always many ways to skin cats in LC, and the diversity of experience on this list can help solve anything. -- Richard Gaskin Fourth World Systems From hlowe at me.com Mon Apr 27 16:32:00 2020 From: hlowe at me.com (HENRY LOWE) Date: Mon, 27 Apr 2020 13:32:00 -0700 Subject: Dark Mode support and iOS startup screens Message-ID: <50E05557-CF8F-453B-A1FC-1ADB2D4886D4@me.com> As of LC 9.6.0 (dp4) there is support for detecting whether the system is in dark or light mode and also a message that signals when the display mode changes. This works well and we have successfully added dark mode support to our iOS app. However, there appears to be no support for adding a light & dark mode startup screen. So when the app launches in dark mode it will displays the bright light mode start up screen. Different dark and light mode startup screens are supported by Xcode?s storyboards, which will soon be mandated by Apple as the only way to support iOS launch screens. Any idea when this support might be available? We were hoping to release an update to our iOS app implementing dark mode, as this is a much requested feature, but are now blocked by the startup screen issue. Thanks, Henry From merakosp at gmail.com Mon Apr 27 16:43:39 2020 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 27 Apr 2020 23:43:39 +0300 Subject: Dark Mode support and iOS startup screens In-Reply-To: <50E05557-CF8F-453B-A1FC-1ADB2D4886D4@me.com> References: <50E05557-CF8F-453B-A1FC-1ADB2D4886D4@me.com> Message-ID: Hello Henry, Support for storyboards is coming in the next LC 9.6 RC-1 release. Kind regards, Panos -- On Mon, 27 Apr 2020 at 23:32, HENRY LOWE via use-livecode < use-livecode at lists.runrev.com> wrote: > As of LC 9.6.0 (dp4) there is support for detecting whether the system is > in dark or light mode and also a message that signals when the display mode > changes. This works well and we have successfully added dark mode support > to our iOS app. However, there appears to be no support for adding a light > & dark mode startup screen. So when the app launches in dark mode it will > displays the bright light mode start up screen. Different dark and light > mode startup screens are supported by Xcode?s storyboards, which will soon > be mandated by Apple as the only way to support iOS launch screens. Any > idea when this support might be available? We were hoping to release an > update to our iOS app implementing dark mode, as this is a much requested > feature, but are now blocked by the startup screen issue. > > Thanks, > > Henry > _______________________________________________ > 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 devin_asay at byu.edu Mon Apr 27 17:42:37 2020 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 27 Apr 2020 21:42:37 +0000 Subject: Can a stack know which standalone engine it's running on? Message-ID: The subject line says it. Is there a way for my stack to know which Windows standalone engine it is running on? For diagnostic purposes I would like to be able to report the current LiveCode standalone engine. I?m probably missing something obvious. Devin Devin Asay Director Office of Digital Humanities Brigham Young University From mark at livecode.com Mon Apr 27 17:56:11 2020 From: mark at livecode.com (Mark Waddingham) Date: Mon, 27 Apr 2020 22:56:11 +0100 Subject: Can a stack know which standalone engine it's running on? In-Reply-To: References: Message-ID: The version almost uniquely identifies every public engine build - the buildNumber always does. The platform together with the processor uniquely identify the target it was built for. Warmest Regards, Mark. Sent from my iPhone > On 27 Apr 2020, at 22:43, Devin Asay via use-livecode wrote: > > ?The subject line says it. Is there a way for my stack to know which Windows standalone engine it is running on? For diagnostic purposes I would like to be able to report the current LiveCode standalone engine. I?m probably missing something obvious. > > Devin > > Devin Asay > Director > Office of Digital Humanities > Brigham Young University > > _______________________________________________ > 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 devin_asay at byu.edu Mon Apr 27 18:08:33 2020 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 27 Apr 2020 22:08:33 +0000 Subject: Can a stack know which standalone engine it's running on? In-Reply-To: References: Message-ID: <57B9F31D-6988-42DA-B4EA-D6B465797EA5@byu.edu> But doesn?t the processor just report on the host operating system? I wan?t to know which LiveCode engine is running. Here?s the scenario: I have a LiveCode splash screen-type application for which I?ve compiled both Windows-32 and Windows-64-bit versions. The standalone opens a stack that contains the actual business logic. In my About dialog, I?d like to be able to report which LiveCode engine the stack is running under. Do we have a way to get that information? Devin > On Apr 27, 2020, at 3:56 PM, Mark Waddingham via use-livecode wrote: > > The version almost uniquely identifies every public engine build - the buildNumber always does. > > The platform together with the processor uniquely identify the target it was built for. > > Warmest Regards, > > Mark. > > Sent from my iPhone > >> On 27 Apr 2020, at 22:43, Devin Asay via use-livecode wrote: >> >> ?The subject line says it. Is there a way for my stack to know which Windows standalone engine it is running on? For diagnostic purposes I would like to be able to report the current LiveCode standalone engine. I?m probably missing something obvious. >> >> Devin >> >> Devin Asay >> Director >> Office of Digital Humanities >> Brigham Young University >> >> _______________________________________________ >> 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 Devin Asay Director Office of Digital Humanities Brigham Young University From hlowe at me.com Mon Apr 27 19:58:23 2020 From: hlowe at me.com (hlowe at me.com) Date: Mon, 27 Apr 2020 18:58:23 -0500 (CDT) Subject: Dark Mode support and iOS startup screens Message-ID: <230005181.30580.1588031903122.JavaMail.administrator@n4.nabble.com> Thank you Panos. Looking forward to seeing this. Best wishes, Henry Hello Henry, Support for storyboards is coming in the next LC 9.6 RC-1 release. Kind regards, Panos -- On Mon, 27 Apr 2020 at 23:32, HENRY LOWE via use-livecode < use-livecode at lists.runrev.com> wrote: > As of LC 9.6.0 (dp4) there is support for detecting whether the system is > in dark or light mode and also a message that signals when the display > mode > changes. This works well and we have successfully added dark mode support > to our iOS app. However, there appears to be no support for adding a light > & dark mode startup screen. So when the app launches in dark mode it will > displays the bright light mode start up screen. Different dark and light > mode startup screens are supported by Xcode?s storyboards, which will soon > be mandated by Apple as the only way to support iOS launch screens. Any > idea when this support might be available? We were hoping to release an > update to our iOS app implementing dark mode, as this is a much requested > feature, but are now blocked by the startup screen issue. > > Thanks, > > Henry > _______________________________________________ > 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 Quoted from: http://runtime-revolution.278305.n4.nabble.com/Dark-Mode-support-and-iOS-startup-screens-tp4737982p4737983.html _____________________________________ Sent from http://runtime-revolution.278305.n4.nabble.com From alex at tweedly.net Mon Apr 27 21:26:52 2020 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 28 Apr 2020 02:26:52 +0100 Subject: Mobile screen sizes - another naive question In-Reply-To: References: Message-ID: On 27/04/2020 21:29, Richard Gaskin via use-livecode wrote: > > I've been itching to write a tutorial on using specific object > placement ("Responsive Design", as the kids call it) to compliment the > Lesson we've had for years on the other mobile layout option, > FullScreenMode. > > I had a few minutes over the weekend, and a discussion with a new > developer prompted me to craft a simple example of how groups can be > used to handle common design patterns with little code. > > This may be fleshed out more fully in the future, but for now at least > it's more than the zero tutorials we've had on it thus far: > > https://forums.livecode.com/viewtopic.php?f=53&t=33989&start=15#p190927 > Interesting, and as you say, a good start can be made easily. But it has many built-in assumption that may come back to bite you .... > on resizeControl -- Allow the user to enjoy whichever orientation -- > they prefer with responsive design: -- put item 1 of the loc of me > into tMidX put item 2 of the loc of me into tMidY -- if the width of > this cd < the height of this cd then -- Portrait: set the loc of grp > "UserInfo" to \ tMidX, tMidY - (the formattedHeight of grp "UserInfo" > div 2) set the loc of grp "MembershipInfo" to \ tMidX, tMidY + (the > formattedHeight of grp "MembershipInfo" div 2) else -- Landscape: set > the loc of grp "UserInfo" to \ tMidX - (the formattedWidth of grp > "UserInfo" div 2), tMidY set the loc of grp "MembershipInfo" to \ > tMidX + (the formattedWidth of grp "MembershipInfo" div 2), tMidY end > if -- end resizeControl In Portrait mode, this assumes that the two groups are the same height (or nearly so). If they're not, one or other of them will finish up bumping against the top (or bottom) of the card. Similarly, in Landscape, it assumes they are same-ish width, otherwise one of them will stick out the side. *AND* it assumes they are the same height, otherwise the tops will be mis-aligned and potentially ugly. ( you could add lines like put the min(top of grp "MembershipInfo", the top of grp "Userinfo") into temp if temp < the top of me + 10 then put the top of me + 10 into temp set the top of grp "MembershipInfo" to temp set the top of grp "UserInfo" to temp to the end of the Landscape case). And there are other assumptions 1. the fields are sized suitable to fit in the width of the narrowest device. If a narrow device is small enough, maybe the labels should slide around to above its field, rather than be beside it. 2. assumes that you don't want to widen the fields on not-very-narrow devices - whether stretching the fields, or increasing spacing between them. 3. In landscape, there may well not be enough width to allow the two groups side-by-side (say, on a phone), and you would really prefer to have the stacked vertically, even though in Landscape. 4. (perhaps the hardest) if you have text areas (i.e. multi-line fields), how do you decide whether to expand vertically depending on the height of the card, versus simply allowing vertical scroll bars within the field. In summary - I absolutely agree that LC has everything needed to provide responsive layouts, and that with even a modicum of effort (which might seem tedious the first few times :-), it can produce layouts which are MUCH more responsive than a typical web page/app. But there is a danger of thinking it is too easy, and producing semi-responsive designs which are not quite good enough. Things that would help: 1. either a widget or a compound-control for labelled field which wold allow the encapsulation for the sizing options for label+field; and would allow for labelling above or beside the field depending on context, space available and kind of field. And there are others -library functions or behaviours that will help with the common cases - more thought on that tomorrow. Alex. . From mark at livecode.com Tue Apr 28 01:16:32 2020 From: mark at livecode.com (Mark Waddingham) Date: Tue, 28 Apr 2020 06:16:32 +0100 Subject: Can a stack know which standalone engine it's running on? In-Reply-To: <57B9F31D-6988-42DA-B4EA-D6B465797EA5@byu.edu> References: <57B9F31D-6988-42DA-B4EA-D6B465797EA5@byu.edu> Message-ID: <74b92ea083244ca33b79912a4bcfa0ac@livecode.com> On 2020-04-27 23:08, Devin Asay via use-livecode wrote: > But doesn?t the processor just report on the host operating system? I > wan?t to know which LiveCode engine is running. No 'the processor' reports what architecture the engine was built for. From the dictionary: Use the processor function to determine the system architecture. The system architecture may either be emulated or the architecture of the host CPU. For example, when running the application in an android emulator the processor will return the emulated architecture rather than the architecture of the host CPU. Note: Some operating systems have emulators built in. For example, Windows has WOW64 which allows x86 executables to run under x86_64 versions of Windows. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From livfoss at mac.com Tue Apr 28 08:06:24 2020 From: livfoss at mac.com (Graham Samuel) Date: Tue, 28 Apr 2020 14:06:24 +0200 Subject: Mobile screen sizes - another naive question In-Reply-To: References: Message-ID: Richard, thanks for these valuable insights. I am doing my best to absorb them as quick as I can, meanwhile making use of FullScreen mode just to get my app running before it becomes redundant. You are right, it has been very difficult to gather comprehensive info on the topic until now. Graham > On 27 Apr 2020, at 22:29, Richard Gaskin via use-livecode wrote: > > Graham (and Brahmanathaswami may enjoy this too): > > I've been itching to write a tutorial on using specific object placement ("Responsive Design", as the kids call it) to compliment the Lesson we've had for years on the other mobile layout option, FullScreenMode. > > I had a few minutes over the weekend, and a discussion with a new developer prompted me to craft a simple example of how groups can be used to handle common design patterns with little code. > > This may be fleshed out more fully in the future, but for now at least it's more than the zero tutorials we've had on it thus far: > > https://forums.livecode.com/viewtopic.php?f=53&t=33989&start=15#p190927 > > -- > Richard Gaskin > Fourth World Systems > > > > -------------- original post from 9 April --------------------- > > Graham Samuel wrote: > > > Folks, yet again I don?t know where to look for an answer in the LC > > documentation. > > > > The issue is the enormous variety of screen sizes on smart phones. > > For example the iPhone XS Max has 1242 pixels width, the iPhone 5 has > > 640. And there are many many more before we even get to tablets? > > > > The question is, how do most of you tackle this, and does LC help? > > Obviously an object taking up a fixed number of pixels on one phone > > will look absurdly large or small on another one, or of course may not > > fit on the screen at all. Not all objects can be vector drawings, and > > the ones that are still have to be resized according to device > > > > Is there anything better than the obvious trick of resizing everything > > in sight when the app is being initialised, including substituting the > > more sensitive graphics from a library of appropriate sizes? Seems > > tedious. > > Is it all that tedious? > > Computers have had resizable windows since Mac 1.0, and even HyperCard > stacks could be resize after its first version. > > True, in the very olden days we all enjoyed the simplicity of knowing we > never had to accommodate any screen size other than 512x342. Ah, those > were the days! :) > > But 640x480 came along not long after, and it caused much concern among > developers. Suddenly we had to become aware of screen metrics, and > rearrange our layouts to make good use of the available space. > > Then 1024x768 came along, and then we had THREE(!) screen sizes to > contend with. Oh the humanity! :) > > Then by the early 90s we got over it. Anticipating multiple screen > sizes became the norm, new tools like SuperCard, OMO, and MetaCard came > along offering true resizable windows, and we learned to respond to > notification that the window had resized so we can adjust our interior > contents nicely. > > Flash forward to 2010: iPhone comes out, with the presumption that one > size will satisfy all tastes. That didn't last long. History doesn't > always repeat itself, but it often rhymes. :) > > ---- > > As with desktop software, I find it instructive to observe how the best > apps on mobile behave, and then - because those establish user > expectations - do what they do. > > And what we see is not all that different from how designers handle > resizable windows on the desktop: some objects stay where they are, > those that make sense to enlarge enlarge, those that make sense to > remain adjacent to something next to them remain adjacent to something > next to them, etc. > > If you've written resizeStack handlers at any point in the last 28 years > since MC premiered, you've already learned most of what you need to know > to handle a resizeStack message on a mobile device. > > The specifics of how this plays out in your layout will of course depend > entirely on your layout. But I have found a few things that have > greatly simplified my UI work, chiefly: > > - Use Groups Smartly > > Relatively recently (a few years ago) the engine now sends a > resizeControl message to groups whenever they're resized by any means, > either user interaction with the pointer tool (as had always been the > case) or via script (the new addition). > > This allows us to work with our UIs very cleanly, recognizing that an > app is ultimately a set of rows, and that some rows are divided into > blocks. When we group controls by their location/purpose logically, we > get to take advantage of a wonderfully simplifying cascading effect with > regard to resizing, which allows us to keep control adjustments local to > their containing group. > > Imagine a simple message form, where the rows are: > > - Icons for navigating to different screens > > - Message, which includes three rows: > - Subject field > - Body field > - Send button > > With that, our card script need only bother itself with the general > placement of the two main goups: > > on resizeStack x,y > set the rect of grp "Nav" to 0,0,x,40 > set the rect of grp "Message" to 0,40,x,y > end resizeStack > > And because the groups will get a resizeControl message when that card > script adjust them, each can contain its own handler to take care of its > interior contents. This might be the script for the Message group: > > on resizeControl > set the rect of fld "Subject" to the left of me, the top of me, \ > the right of me, the top of me + 40 > set the rect of fld "Body" to the left of me, 40, the right of me, \ > the bottom of me - 60 > set the bottomRight of btn "Send" to x-20, y-10 > end resizeControl > > > Encapsulating resizing within the group not only keeps the logic simple > and tidy, but by using the group bounds as its basis rather than the > card (e.g., "the left of me") the group is maintainable and even > portable - the card script that sets its rect can change at any time, > and the group's resizeControl handler will continue to work well. > > > There are probably other tips and tricks worth considering, but none > have radically streamlined the process of delivering the UI I want my > user to enjoy as much as using groups as containers for > logically/geometrically related controls. > > As you explore these and other ideas in the crafting of your UI, drop > back in here with questions. There are always many ways to skin cats in > LC, and the diversity of experience on this list can help solve anything. > > -- > Richard Gaskin > Fourth World Systems > > > _______________________________________________ > 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 livfoss at mac.com Tue Apr 28 08:22:18 2020 From: livfoss at mac.com (Graham Samuel) Date: Tue, 28 Apr 2020 14:22:18 +0200 Subject: Another widget grumble Message-ID: <1936AFB0-46A3-4E8C-9CC4-FACD09AC1C8A@mac.com> I?m still trying to use the ?mobile native? style of widget. Previously I?ve objected to the idea of an object that displays its name and has no label or alias. My objection was mostly that names that the user sees often have spaces in them (?Stop Now? or whatever), whereas names with spaces in them are dangerous to refer to in scripts because it?s so easy to put two in instead of one, and is either illegal or deprecated in almost all computer languages. Today I came across an even more annoying aspect of this, when I added a facility to my app to change the language of the display. So a button in English displaying ?Cancel? gets changed to ?Annuler?. So if I need to refer to the button in script, the simplest way is to use its ID and not its name. The ID is a fine thing, but it doesn?t make for readable code! Seriously, is there any chance of these widgets being improved by somebody? They just need more properties really. Graham From brian at milby7.com Tue Apr 28 08:38:39 2020 From: brian at milby7.com (Brian Milby) Date: Tue, 28 Apr 2020 08:38:39 -0400 Subject: Another widget grumble In-Reply-To: <1936AFB0-46A3-4E8C-9CC4-FACD09AC1C8A@mac.com> References: <1936AFB0-46A3-4E8C-9CC4-FACD09AC1C8A@mac.com> Message-ID: For any that are part of the main product, a PR to add that feature would not be very difficult. ?If I get some time I will take a look. ?I do agree that a distinct label would be a good idea for native control widgets. Thanks, Brian On Apr 28, 2020, 8:23 AM -0400, Graham Samuel via use-livecode , wrote: > I?m still trying to use the ?mobile native? style of widget. Previously I?ve objected to the idea of an object that displays its name and has no label or alias. My objection was mostly that names that the user sees often have spaces in them (?Stop Now? or whatever), whereas names with spaces in them are dangerous to refer to in scripts because it?s so easy to put two in instead of one, and is either illegal or deprecated in almost all computer languages. > > Today I came across an even more annoying aspect of this, when I added a facility to my app to change the language of the display. So a button in English displaying ?Cancel? gets changed to ?Annuler?. So if I need to refer to the button in script, the simplest way is to use its ID and not its name. The ID is a fine thing, but it doesn?t make for readable code! > > Seriously, is there any chance of these widgets being improved by somebody? They just need more properties really. > > Graham > _______________________________________________ > 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 Apr 28 08:55:03 2020 From: brian at milby7.com (Brian Milby) Date: Tue, 28 Apr 2020 08:55:03 -0400 Subject: Mobile screen sizes - another naive question In-Reply-To: References: Message-ID: On the MobileDemo stack, there are a couple scripts that would be useful. https://github.com/bwmilby/mobileDemo/tree/master/mobileDemo_Scripts stack_MobileDemo_button_id_1024 stack_MobileDemo_card_id_1002 The button script is a behavior applied to 2 groups on the card. There are 6 buttons that will change how they are laid out depending on the width of the screen (2 rows for narrow, 1 row for wide). The card script has the resizeStack handler that positions the 2 groups. It will adjust the second one based on the first (so if the buttons unwrap, then it moves up). This will show an example of handling a couple of the issues brought up. (I jump through some hoops in other pieces of code trying to handle the arbitrary change of fullScreenMode which would not be necessary in a real application since you would normally pick a mode and stick with it.) Thanks, Brian On Tue, Apr 28, 2020 at 8:07 AM Graham Samuel via use-livecode < use-livecode at lists.runrev.com> wrote: > Richard, thanks for these valuable insights. I am doing my best to absorb > them as quick as I can, meanwhile making use of FullScreen mode just to get > my app running before it becomes redundant. You are right, it has been very > difficult to gather comprehensive info on the topic until now. > > Graham > > > On 27 Apr 2020, at 22:29, Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Graham (and Brahmanathaswami may enjoy this too): > > > > I've been itching to write a tutorial on using specific object placement > ("Responsive Design", as the kids call it) to compliment the Lesson we've > had for years on the other mobile layout option, FullScreenMode. > > > > I had a few minutes over the weekend, and a discussion with a new > developer prompted me to craft a simple example of how groups can be used > to handle common design patterns with little code. > > > > This may be fleshed out more fully in the future, but for now at least > it's more than the zero tutorials we've had on it thus far: > > > > https://forums.livecode.com/viewtopic.php?f=53&t=33989&start=15#p190927 > > > > -- > > Richard Gaskin > > Fourth World Systems > > > > > > > > -------------- original post from 9 April --------------------- > > > > Graham Samuel wrote: > > > > > Folks, yet again I don?t know where to look for an answer in the LC > > > documentation. > > > > > > The issue is the enormous variety of screen sizes on smart phones. > > > For example the iPhone XS Max has 1242 pixels width, the iPhone 5 has > > > 640. And there are many many more before we even get to tablets? > > > > > > The question is, how do most of you tackle this, and does LC help? > > > Obviously an object taking up a fixed number of pixels on one phone > > > will look absurdly large or small on another one, or of course may not > > > fit on the screen at all. Not all objects can be vector drawings, and > > > the ones that are still have to be resized according to device > > > > > > Is there anything better than the obvious trick of resizing everything > > > in sight when the app is being initialised, including substituting the > > > more sensitive graphics from a library of appropriate sizes? Seems > > > tedious. > > > > Is it all that tedious? > > > > Computers have had resizable windows since Mac 1.0, and even HyperCard > > stacks could be resize after its first version. > > > > True, in the very olden days we all enjoyed the simplicity of knowing we > > never had to accommodate any screen size other than 512x342. Ah, those > > were the days! :) > > > > But 640x480 came along not long after, and it caused much concern among > > developers. Suddenly we had to become aware of screen metrics, and > > rearrange our layouts to make good use of the available space. > > > > Then 1024x768 came along, and then we had THREE(!) screen sizes to > > contend with. Oh the humanity! :) > > > > Then by the early 90s we got over it. Anticipating multiple screen > > sizes became the norm, new tools like SuperCard, OMO, and MetaCard came > > along offering true resizable windows, and we learned to respond to > > notification that the window had resized so we can adjust our interior > > contents nicely. > > > > Flash forward to 2010: iPhone comes out, with the presumption that one > > size will satisfy all tastes. That didn't last long. History doesn't > > always repeat itself, but it often rhymes. :) > > > > ---- > > > > As with desktop software, I find it instructive to observe how the best > > apps on mobile behave, and then - because those establish user > > expectations - do what they do. > > > > And what we see is not all that different from how designers handle > > resizable windows on the desktop: some objects stay where they are, > > those that make sense to enlarge enlarge, those that make sense to > > remain adjacent to something next to them remain adjacent to something > > next to them, etc. > > > > If you've written resizeStack handlers at any point in the last 28 years > > since MC premiered, you've already learned most of what you need to know > > to handle a resizeStack message on a mobile device. > > > > The specifics of how this plays out in your layout will of course depend > > entirely on your layout. But I have found a few things that have > > greatly simplified my UI work, chiefly: > > > > - Use Groups Smartly > > > > Relatively recently (a few years ago) the engine now sends a > > resizeControl message to groups whenever they're resized by any means, > > either user interaction with the pointer tool (as had always been the > > case) or via script (the new addition). > > > > This allows us to work with our UIs very cleanly, recognizing that an > > app is ultimately a set of rows, and that some rows are divided into > > blocks. When we group controls by their location/purpose logically, we > > get to take advantage of a wonderfully simplifying cascading effect with > > regard to resizing, which allows us to keep control adjustments local to > > their containing group. > > > > Imagine a simple message form, where the rows are: > > > > - Icons for navigating to different screens > > > > - Message, which includes three rows: > > - Subject field > > - Body field > > - Send button > > > > With that, our card script need only bother itself with the general > > placement of the two main goups: > > > > on resizeStack x,y > > set the rect of grp "Nav" to 0,0,x,40 > > set the rect of grp "Message" to 0,40,x,y > > end resizeStack > > > > And because the groups will get a resizeControl message when that card > > script adjust them, each can contain its own handler to take care of its > > interior contents. This might be the script for the Message group: > > > > on resizeControl > > set the rect of fld "Subject" to the left of me, the top of me, \ > > the right of me, the top of me + 40 > > set the rect of fld "Body" to the left of me, 40, the right of me, \ > > the bottom of me - 60 > > set the bottomRight of btn "Send" to x-20, y-10 > > end resizeControl > > > > > > Encapsulating resizing within the group not only keeps the logic simple > > and tidy, but by using the group bounds as its basis rather than the > > card (e.g., "the left of me") the group is maintainable and even > > portable - the card script that sets its rect can change at any time, > > and the group's resizeControl handler will continue to work well. > > > > > > There are probably other tips and tricks worth considering, but none > > have radically streamlined the process of delivering the UI I want my > > user to enjoy as much as using groups as containers for > > logically/geometrically related controls. > > > > As you explore these and other ideas in the crafting of your UI, drop > > back in here with questions. There are always many ways to skin cats in > > LC, and the diversity of experience on this list can help solve anything. > > > > -- > > Richard Gaskin > > Fourth World Systems > > > > > > _______________________________________________ > > 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 MikeKerner at roadrunner.com Tue Apr 28 09:49:14 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 28 Apr 2020 09:49:14 -0400 Subject: Which git service suits a LiveCoder best? In-Reply-To: <048b88b0-868b-44d9-88f1-0b3765e6ee23@Spark> References: <76CE3A40-713A-445E-AB6B-8DFBFFC7E5AE@gmail.com> <746635A5-19C0-47A8-9601-BE3960E3DFC7@gmail.com> <048b88b0-868b-44d9-88f1-0b3765e6ee23@Spark> Message-ID: I wouldn't say it's using levure as intended. trevor, in his videos, anyway, does not export every script to an SOS, only ones that are a certain length. if you do it that way, then scriptTracker could be valuable. I choose to put every script in SOS's, so scriptTracker isn't particularly useful for me. On Mon, Apr 27, 2020 at 4:23 PM Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > ScriptTracker isn?t necessarily incompatible with Levure, but if using > that framework as intended then all of the scripts would be in script only > stacks as behaviors which would make it unnecessary. > > I have thought about setting up a hybrid project as a test but never have > gotten around to playing with it. > > Thanks, > Brian > On Apr 27, 2020, 3:53 PM -0400, Andreas Bergendal via use-livecode < > use-livecode at lists.runrev.com>, wrote: > > As to the ?how?, I planned to move into script-only stacks more anyway, > and will also test the Levure framework, and/or Script Tracker. > > I?m not sure if those two are compatible though? I mean, if I use Levure > framework I can?t (needn?t?) use Script Tracker as well, right? > > > > Anyway, with the help of a good free tutorial I?ve set up a GitHub > account and done the necessary local stuff, including doing basic command > line actions (yeah, wasn?t that scary after all?), so I?m progressing one > step at a time? :) > > > > Andreas > > _______________________________________________ > > 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 ambassador at fourthworld.com Tue Apr 28 11:22:01 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 28 Apr 2020 08:22:01 -0700 Subject: Mobile screen sizes - another naive question In-Reply-To: References: Message-ID: <873bd5a2-42d2-5dcd-7674-f7393aa11a99@fourthworld.com> Very good thoughts there, Alex. The assumptions you list would be important to keep in mind if one were aiming to generalize basic layout handling, with libraries that have nicely-designed APIs, or even further with virtual props that would lend themselves well to reducing things further to simple point-and-click authoring. But in this exercise I'm making no assumptions at all; I'm just looking at the UI and writing purpose-built code to make it do what I want. And with only a dozen lines, why not? There's good value in generalizing app development. Data binding is ripe with unexplored opportunities, as are field entry validation, window management, menu management, exception handling and reporting, socket comms, and many other things we write. Sometimes we make tools or libraries to reduce the scripting we would use to deliver those. Sometimes we generalize far enough to reduce it further to assigning the desired behavior with property settings which would then lend themselves to a point-and-click development workflow. But often we just write a few lines of script to do what we want to do for the case at hand and be done with it. The draft Lesson I posted serves only as a reminder that placing objects where we want them isn't all that deep, and if we use groups well we can reduce that scripting even farther. That this wasn't clear in the writing suggests the draft is possibly too long. "Set the loc of to " doesn't really require a whole page. Different apps require different code. Layout is the least of it. LiveCode is a scripting language. We script. And when we look at the apps we use from others, regardless what tool they're written in, we see those authors do the same thing: they look at their layout, consider what they want to communicate to the user, and put things where they want them to support that. What I had tried to convey was that putting things where you want them is neither mysterious nor difficult in a nice language like LC. Clearly I overwrote. -- Richard Gaskin Fourth World Systems Alex Tweedly wrote: > On 27/04/2020 21:29, Richard Gaskin via use-livecode wrote: >> >> I've been itching to write a tutorial on using specific object >> placement ("Responsive Design", as the kids call it) to compliment the >> Lesson we've had for years on the other mobile layout option, >> FullScreenMode. >> >> I had a few minutes over the weekend, and a discussion with a new >> developer prompted me to craft a simple example of how groups can be >> used to handle common design patterns with little code. >> >> This may be fleshed out more fully in the future, but for now at least >> it's more than the zero tutorials we've had on it thus far: >> >> https://forums.livecode.com/viewtopic.php?f=53&t=33989&start=15#p190927 >> > Interesting, and as you say, a good start can be made easily. But it has > many built-in assumption that may come back to bite you .... > >> on resizeControl -- Allow the user to enjoy whichever orientation -- >> they prefer with responsive design: -- put item 1 of the loc of me >> into tMidX put item 2 of the loc of me into tMidY -- if the width of >> this cd < the height of this cd then -- Portrait: set the loc of grp >> "UserInfo" to \ tMidX, tMidY - (the formattedHeight of grp "UserInfo" >> div 2) set the loc of grp "MembershipInfo" to \ tMidX, tMidY + (the >> formattedHeight of grp "MembershipInfo" div 2) else -- Landscape: set >> the loc of grp "UserInfo" to \ tMidX - (the formattedWidth of grp >> "UserInfo" div 2), tMidY set the loc of grp "MembershipInfo" to \ >> tMidX + (the formattedWidth of grp "MembershipInfo" div 2), tMidY end >> if -- end resizeControl > In Portrait mode, this assumes that the two groups are the same height > (or nearly so). If they're not, one or other of them will finish up > bumping against the top (or bottom) of the card. > > Similarly, in Landscape, it assumes they are same-ish width, otherwise > one of them will stick out the side. > *AND* it assumes they are the same height, otherwise the tops will be > mis-aligned and potentially ugly. > ( you could add lines like > put the min(top of grp "MembershipInfo", the top of grp "Userinfo") into > temp if temp < the top of me + 10 then put the top of me + 10 into temp > set the top of grp "MembershipInfo" to temp set the top of grp > "UserInfo" to temp > > to the end of the Landscape case). > > And there are other assumptions > > 1. the fields are sized suitable to fit in the width of the narrowest > device. If a narrow device is small enough, maybe the labels should > slide around to above its field, rather than be beside it. > > 2. assumes that you don't want to widen the fields on not-very-narrow > devices - whether stretching the fields, or increasing spacing between them. > > 3. In landscape, there may well not be enough width to allow the two > groups side-by-side (say, on a phone), and you would really prefer to > have the stacked vertically, even though in Landscape. > > 4. (perhaps the hardest) if you have text areas (i.e. multi-line > fields), how do you decide whether to expand vertically depending on the > height of the card, versus simply allowing vertical scroll bars within > the field. > > > In summary - I absolutely agree that LC has everything needed to provide > responsive layouts, and that with even a modicum of effort (which might > seem tedious the first few times :-), it can produce layouts which are > MUCH more responsive than a typical web page/app. But there is a danger > of thinking it is too easy, and producing semi-responsive designs which > are not quite good enough. > > Things that would help: > > 1. either a widget or a compound-control for labelled field which wold > allow the encapsulation for the sizing options for label+field; and > would allow for labelling above or beside the field depending on > context, space available and kind of field. > > And there are others -library functions or behaviours that will help > with the common cases - more thought on that tomorrow. > > Alex. > From alex at tweedly.net Tue Apr 28 11:25:31 2020 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 28 Apr 2020 16:25:31 +0100 Subject: Another widget grumble In-Reply-To: References: <1936AFB0-46A3-4E8C-9CC4-FACD09AC1C8A@mac.com> Message-ID: <536f254a-8842-d04c-7e9c-2d3cf847df44@tweedly.net> On 28/04/2020 13:38, Brian Milby via use-livecode wrote: > For any that are part of the main product, a PR to add that feature would not be very difficult. ?If I get some time I will take a look. ?I do agree that a distinct label would be a good idea for native control widgets. How do you tell whether a widget is "part of the main product" ? Or, conversely, how do you find out what other source it came from ? I don't see anything in the dictionary about owner/source of the widgets. Alex. From alex at tweedly.net Tue Apr 28 11:35:29 2020 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 28 Apr 2020 16:35:29 +0100 Subject: Mobile screen sizes - another naive question In-Reply-To: <873bd5a2-42d2-5dcd-7674-f7393aa11a99@fourthworld.com> References: <873bd5a2-42d2-5dcd-7674-f7393aa11a99@fourthworld.com> Message-ID: <59036683-5cb3-a5b0-470e-84f2aaddf312@tweedly.net> Richard, it wasn't that you over-wrote it - the problem was I over-thought it. My excuse is that I have been thinking quite a bit this last week about whether there was a (simple enough) approach to layout that would allow "rows & columns" semi-flow layout to be nearly automatic, and be possible to provide a UI that would make it practical (and quick) to provide extra guidance to such a system. You message just happened to fit into that thought exercise - causing me to over-complicate things. So my apologies. I think what you wrote was perfectly clear, it just didn't happen to be the same as I was working on :-) Alex. On 28/04/2020 16:22, Richard Gaskin via use-livecode wrote: > Very good thoughts there, Alex. > > The assumptions you list would be important to keep in mind if one > were aiming to generalize basic layout handling, with libraries that > have nicely-designed APIs, or even further with virtual props that > would lend themselves well to reducing things further to simple > point-and-click authoring. > > But in this exercise I'm making no assumptions at all; I'm just > looking at the UI and writing purpose-built code to make it do what I > want. > > And with only a dozen lines, why not? > > There's good value in generalizing app development.? Data binding is > ripe with unexplored opportunities, as are field entry validation, > window management, menu management, exception handling and reporting, > socket comms, and many other things we write. > > Sometimes we make tools or libraries to reduce the scripting we would > use to deliver those. > > Sometimes we generalize far enough to reduce it further to assigning > the desired behavior with property settings which would then lend > themselves to a point-and-click development workflow. > > But often we just write a few lines of script to do what we want to do > for the case at hand and be done with it. > > The draft Lesson I posted serves only as a reminder that placing > objects where we want them isn't all that deep, and if we use groups > well we can reduce that scripting even farther. > > That this wasn't clear in the writing suggests the draft is possibly > too long.? "Set the loc of to " doesn't really require a > whole page. > > Different apps require different code. Layout is the least of it. > LiveCode is a scripting language.? We script. > > And when we look at the apps we use from others, regardless what tool > they're written in, we see those authors do the same thing: they look > at their layout, consider what they want to communicate to the user, > and put things where they want them to support that. > > What I had tried to convey was that putting things where you want them > is neither mysterious nor difficult in a nice language like LC.? > Clearly I overwrote. > From ambassador at fourthworld.com Tue Apr 28 12:05:15 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 28 Apr 2020 09:05:15 -0700 Subject: Mobile screen sizes - another naive question In-Reply-To: References: Message-ID: <7d051530-d81a-d02b-7449-edf40830c5b9@fourthworld.com> Thank you for your feedback, Graham. If it takes more than a quick skim to get to the "a ha!" of using groups well to reduce scripting, I'll bet I can revise that to be clearer. Help me understand something - anyone, please chime in: Resizable windows have been around since the dawn of GUI OSes, and putting things where we want them by setting the rect and loc of objects has been central to all xTalk dialects since HC 1.0. What parts of putting objects where you want them have been challenging? Have most LC devs been delivering fixed-size windows all this time? My aim with that brief tutorial is to encourage folks to use the object placement commands they already know to deliver UIs that behave like the other apps they use. Setting loc and rect gets us there, and using groups well gets us there with a fraction of the code. FullScreenMode is easy, but when you look at the apps on your phone you'll see very few that do anything like it. In most other tools designers put things where they want them in ways that make optimal use of the screen, at any size screen, any ratio, in either orientation. We can do this in LC at least as easily. And groups make short work of much of it. Why is it our community often makes apps that don't have the look and feel of most others with regard to object placement? We share this level of interest in the appearance of individual controls, with much discussion about getting every detail as nice as we can make it to meet user expectations. Heck, we even have at least five ways to make a simple button so we can be sure to get the exact look we want. But somehow when it comes to how those controls work together to respond to changes in screen/window size, the interest wanes. I'm not sure why. -- Richard Gaskin Fourth World Systems Graham Samuel wrote: > Richard, thanks for these valuable insights. I am doing my best to > absorb them as quick as I can, meanwhile making use of FullScreen mode > just to get my app running before it becomes redundant. You are right, > it has been very difficult to gather comprehensive info on the topic > until now. > > Graham > >> On 27 Apr 2020, at 22:29, Richard Gaskin wrote: >> >> Graham (and Brahmanathaswami may enjoy this too): >> >> I've been itching to write a tutorial on using specific object >> placement ("Responsive Design", as the kids call it) to compliment >> the Lesson we've had for years on the other mobile layout option, >> FullScreenMode. >> >> I had a few minutes over the weekend, and a discussion with a new >> developer prompted me to craft a simple example of how groups can >> be used to handle common design patterns with little code. >> >> This may be fleshed out more fully in the future, but for now at >> least it's more than the zero tutorials we've had on it thus far: >> >> https://forums.livecode.com/viewtopic.php?f=53&t=33989&start=15#p190927 >> >> -- >> Richard Gaskin >> Fourth World Systems From brian at milby7.com Tue Apr 28 12:11:06 2020 From: brian at milby7.com (Brian Milby) Date: Tue, 28 Apr 2020 12:11:06 -0400 Subject: Another widget grumble In-Reply-To: <536f254a-8842-d04c-7e9c-2d3cf847df44@tweedly.net> References: <1936AFB0-46A3-4E8C-9CC4-FACD09AC1C8A@mac.com> <536f254a-8842-d04c-7e9c-2d3cf847df44@tweedly.net> Message-ID: Anything you can find here can be updated by the community (either via PR, or compiled and used in your own project): https://github.com/livecode/livecode/tree/develop/extensions/widgets On Tue, Apr 28, 2020 at 11:26 AM Alex Tweedly via use-livecode < use-livecode at lists.runrev.com> wrote: > > On 28/04/2020 13:38, Brian Milby via use-livecode wrote: > > For any that are part of the main product, a PR to add that feature > would not be very difficult. If I get some time I will take a look. I do > agree that a distinct label would be a good idea for native control widgets. > > How do you tell whether a widget is "part of the main product" ? > > Or, conversely, how do you find out what other source it came from ? > > I don't see anything in the dictionary about owner/source of the widgets. > > Alex. > > > _______________________________________________ > 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 lists at mangomultimedia.com Tue Apr 28 12:18:23 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 28 Apr 2020 11:18:23 -0500 Subject: Which git service suits a LiveCoder best? In-Reply-To: References: <76CE3A40-713A-445E-AB6B-8DFBFFC7E5AE@gmail.com> <746635A5-19C0-47A8-9601-BE3960E3DFC7@gmail.com> <048b88b0-868b-44d9-88f1-0b3765e6ee23@Spark> Message-ID: On Tue, Apr 28, 2020 at 8:50 AM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > I wouldn't say it's using levure as intended. > trevor, in his videos, anyway, does not export every script to an SOS, only > ones that are a certain length. if you do it that way, then scriptTracker > could be valuable. > I choose to put every script in SOS's, so scriptTracker isn't particularly > useful for me. To clarify, my guide wasn?t really script length. It was scripts in buttons that only called a handler in the group, card, or stack script (which would be SOS). So something like this: on mouseUp pBtnNum if pBtnNum is 1 then uiDoSomething end if end mouseUp It seemed counter productive to have SOS stacks for every button. After a couple of rounds of refactoring I?ve changed my approach. I only use SublimeText to work on code and when searching for handlers the ones stored as part of the stack wouldn?t show up. In the above example I now leave the button script empty and move the mouseUp to the group the button is in. The mouseUp in the group branches based on the target. This approach allows me to do a search and replace in all code within SublimeText if I need to. Since I organize the UI into groups of controls with their own behavior scripts no single mouseUp handler becomes too unwieldy. It isn?t like there is one script that is branching for every possible button click on the card. Regarding the question of whether or not you would want to use Script Tracker with Levure - Levure doesn?t really care :-) Levure has excellent support for workflows that use script-only stacks. If you choose to it can encrypt all of them when packing up a standalone. But it doesn?t require it at all. Levure will happily work with any sort of stack file you add. For example, one could add their existing stacks to a Levure app and start leveraging the available Helpers (spell check, notary, auto update, installer builders, etc.) without extracting any scripts to script-only stacks. - - Trevor DeVore ScreenSteps > From ambassador at fourthworld.com Tue Apr 28 12:18:57 2020 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 28 Apr 2020 09:18:57 -0700 Subject: Mobile screen sizes - another naive question In-Reply-To: <59036683-5cb3-a5b0-470e-84f2aaddf312@tweedly.net> References: <59036683-5cb3-a5b0-470e-84f2aaddf312@tweedly.net> Message-ID: You never need an excuse with me. On the contrary, having an adventurous mind hardly needs an excuse at all. In fact, where you're headed is a potentially exciting place. I have a need for something tangentially related for a web production tool, where I need to reproduce in an LC lib some of the key benefits of CSS Grid. Having thought about this for some time, FWIW I would suggest considering: - Both FlexBox and Grid merit attention for design inspiration, but between the two it seems most designers find Grid more generally applicable, so where they differ consider how Grid does things, at least for a first pass. - Allowing Grid to serve as more than just inspiration, but an actual model in terms of properties and how setting those adjusts behavior would seem very useful for two reasons: - The design work for something like that is the hard part, and Grid's design process was thorough, its result very good. - A lot of us do both native and web apps, so being able to transfer knowledge from one domain to another simplifies adoption. When I think of adaptation of web methods for native apps in LC, my mind often returns to the excellent work of Ralf Bitter with his revIgniter framework. Inspired by the popular PHP-based webIgniter, his implementation carries forward the best of what that offers, enhanced in ways that make very good sense for LC devs. Our community could benefit from more things like that, popular ideas from other parts of the world re-envisioned in LC-savvy implementations. If the parts I need for my web production tool become generally useful I'll happily contribute them to any more generalized effort toward a CSS Grid-like lib for LC. -- Richard Gaskin Fourth World Systems Alex Tweedly wrote: > Richard, > > it wasn't that you over-wrote it - the problem was I over-thought it. > > My excuse is that I have been thinking quite a bit this last week > about whether there was a (simple enough) approach to layout that > would allow "rows & columns" semi-flow layout to be nearly automatic, > and be possible to provide a UI that would make it practical (and > quick) to provide extra guidance to such a system. > > You message just happened to fit into that thought exercise - causing > me to over-complicate things. > > So my apologies. I think what you wrote was perfectly clear, it just > didn't happen to be the same as I was working on :-) > > Alex. From Bernd.Niggemann at uni-wh.de Tue Apr 28 12:26:42 2020 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Tue, 28 Apr 2020 16:26:42 +0000 Subject: Another widget grumble Message-ID: > Alex Tweedly wrote: > How do you tell whether a widget is "part of the main product" ? > Or, conversely, how do you find out what other source it came from ? If you look at a widget in the Properties Inspector in the "basic" pane you will find its name and then "Kind" for the Cock widget: name: clock kind: com.livecode.widget.clock com.livecode.widget tells you that it is a, well, livecode widget. Kind regards Bernd From livfoss at mac.com Tue Apr 28 15:43:26 2020 From: livfoss at mac.com (Graham Samuel) Date: Tue, 28 Apr 2020 21:43:26 +0200 Subject: Three very simple questions In-Reply-To: References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> <5D65FC70-4EBB-446E-A38E-94610AEB0474@mac.com> <171b7ae9c30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <84d9f315-ce4c-61cb-dfc5-c61a18c75324@sonic.net> Message-ID: Bill, I think you?re right about the Guide not being searchable. I was going to point it out myself, but I began to think that I had used up my grumbling allowance, or at least I had not much left and needed to use it for other things. Of course the Giude should be searchable! Graham Re grumbling - I have always been delighted by the way people on this list come to each other?s aid. This ?invisible college? is a really essential part of the LiveCode experience, I believe. I hope I say ?thank you? enough. > On 26 Apr 2020, at 23:52, prothero--- via use-livecode wrote: > > Folks: > I think Graham is doing LiveCode a favor by pointing out some of the ways a newby (even though he isn?t) might get messed up when learning LiveCode. We all get used to various approaches and newbies (even tho Graham isn?t) alert us to impediments for that very vital population of potential or new users. > > One thing that has bugged me is that when I click on the dictionary, I get a nice display of commands, etc, searchable. But when I click on the ?Guide? tab, I get what looks like a very informative document. However, if I?m looking for a particular task and want to do a search, there is none. So, it seems to me like a very valuable newby document is crippled by the omission of a very basic feature. > > Or have I just missed something? > > Best, > Bill > > William A. Prothero > Santa Barbara, CA. 93105 > http://earthlearningsolutions.org/ > >> On Apr 26, 2020, at 12:23 PM, Mark Wieder via use-livecode wrote: >> >> On 4/26/20 12:09 PM, Sannyasin Brahmanathaswami via use-livecode wrote: >>> "globals are evil" >>> But we use one array >>> Global gConfigA >>> and we stuff it with all manner of "things" including another arrays >>> it turns about to quite useful >> >> Yes, I do what you and Jacque do as a workaround, of course. I recently implemented a feature management infrastructure the same way, given the lack of globally available constants. >> >> on preOpenStack >> global gFeatures >> put "feature1,feature2,feature3" into gFeatures >> end preOpenStack >> >> ...some other stack >> >> global gfeatures >> if "feature2" is among the items of gfeatures then >> ... >> >> on closeStackRequest >> delete variable gFeatures >> end closestackRequest >> >> great for A/B testing, rolling out new features without messing with existing code, being able to roll back unwanted or not-working features after beta testing... and would be so much cleaner if we didn't have to resort to global variables and remember to put a reference to them in each place they're referenced... >> >> -- >> 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 brian at milby7.com Tue Apr 28 15:54:43 2020 From: brian at milby7.com (Brian Milby) Date: Tue, 28 Apr 2020 15:54:43 -0400 Subject: Three very simple questions In-Reply-To: References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> <5D65FC70-4EBB-446E-A38E-94610AEB0474@mac.com> <171b7ae9c30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <84d9f315-ce4c-61cb-dfc5-c61a18c75324@sonic.net> Message-ID: Correct about the guide. ?A PDF is included which can be searched (help... user guide). ?There is a bug about the guide search. ?It is probably going to take JavaScript though. Thanks, Brian On Apr 28, 2020, 3:44 PM -0400, Graham Samuel via use-livecode , wrote: > Bill, I think you?re right about the Guide not being searchable. I was going to point it out myself, but I began to think that I had used up my grumbling allowance, or at least I had not much left and needed to use it for other things. > > Of course the Giude should be searchable! > > Graham > > Re grumbling - I have always been delighted by the way people on this list come to each other?s aid. This ?invisible college? is a really essential part of the LiveCode experience, I believe. I hope I say ?thank you? enough. > > > > > On 26 Apr 2020, at 23:52, prothero--- via use-livecode wrote: > > > > Folks: > > I think Graham is doing LiveCode a favor by pointing out some of the ways a newby (even though he isn?t) might get messed up when learning LiveCode. We all get used to various approaches and newbies (even tho Graham isn?t) alert us to impediments for that very vital population of potential or new users. > > > > One thing that has bugged me is that when I click on the dictionary, I get a nice display of commands, etc, searchable. But when I click on the ?Guide? tab, I get what looks like a very informative document. However, if I?m looking for a particular task and want to do a search, there is none. So, it seems to me like a very valuable newby document is crippled by the omission of a very basic feature. > > > > Or have I just missed something? > > > > Best, > > Bill > > > > William A. Prothero > > Santa Barbara, CA. 93105 > > http://earthlearningsolutions.org/ > > > > > On Apr 26, 2020, at 12:23 PM, Mark Wieder via use-livecode wrote: > > > > > > On 4/26/20 12:09 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > > > > "globals are evil" > > > > But we use one array > > > > Global gConfigA > > > > and we stuff it with all manner of "things" including another arrays > > > > it turns about to quite useful > > > > > > Yes, I do what you and Jacque do as a workaround, of course. I recently implemented a feature management infrastructure the same way, given the lack of globally available constants. > > > > > > on preOpenStack > > > global gFeatures > > > put "feature1,feature2,feature3" into gFeatures > > > end preOpenStack > > > > > > ...some other stack > > > > > > global gfeatures > > > if "feature2" is among the items of gfeatures then > > > ... > > > > > > on closeStackRequest > > > delete variable gFeatures > > > end closestackRequest > > > > > > great for A/B testing, rolling out new features without messing with existing code, being able to roll back unwanted or not-working features after beta testing... and would be so much cleaner if we didn't have to resort to global variables and remember to put a reference to them in each place they're referenced... > > > > > > -- > > > 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 > > > _______________________________________________ > 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 Apr 28 16:28:24 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 28 Apr 2020 20:28:24 +0000 (UTC) Subject: Three very simple questions In-Reply-To: References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> <5D65FC70-4EBB-446E-A38E-94610AEB0474@mac.com> <171b7ae9c30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <84d9f315-ce4c-61cb-dfc5-c61a18c75324@sonic.net> Message-ID: <2114800869.1204182.1588105704463@mail.yahoo.com> The user guide? It certainly is searchable. I do it all the time. Craig -----Original Message----- From: Graham Samuel via use-livecode To: How to use LiveCode Cc: Graham Samuel Sent: Tue, Apr 28, 2020 3:44 pm Subject: Re: Three very simple questions Bill, I think you?re right about the Guide not being searchable. I was going to point it out myself, but I began to think that I had used up my grumbling allowance, or at least I had not much left and needed to use it for other things. Of course the Giude should be searchable! Graham Re grumbling - I have always been delighted by the way people on this list come to each other?s aid. This ?invisible college? is a really essential part of the LiveCode experience, I believe. I hope I say ?thank you? enough. > On 26 Apr 2020, at 23:52, prothero--- via use-livecode wrote: > > Folks: > I think Graham is doing LiveCode a favor by pointing out some of the ways a newby (even though he isn?t) might get messed up when learning LiveCode. We all get used to various approaches and newbies (even tho Graham isn?t) alert us to impediments for that very vital population of potential or new users. > > One thing that has bugged me is that when I click on the dictionary, I get a nice display of commands, etc, searchable. But when I click on the ?Guide? tab, I get what looks like a very informative document. However, if I?m looking for a particular task and want to do a search, there is none. So, it seems to me like a very valuable newby document is crippled by the omission of a very basic feature. > > Or have I just missed something? > > Best, > Bill > > William A. Prothero > Santa Barbara, CA. 93105 > http://earthlearningsolutions.org/ > >> On Apr 26, 2020, at 12:23 PM, Mark Wieder via use-livecode wrote: >> >> On 4/26/20 12:09 PM, Sannyasin Brahmanathaswami via use-livecode wrote: >>> "globals are evil" >>> But we use? one array >>> Global gConfigA >>> and we stuff it with all manner of "things" including another arrays >>> it turns about to quite useful >> >> Yes, I do what you and Jacque do as a workaround, of course. I recently implemented a feature management infrastructure the same way, given the lack of globally available constants. >> >> on preOpenStack >> global gFeatures >> put "feature1,feature2,feature3" into gFeatures >> end preOpenStack >> >> ...some other stack >> >> global gfeatures >> if "feature2" is among the items of gfeatures then >> ... >> >> on closeStackRequest >> delete variable gFeatures >> end closestackRequest >> >> great for A/B testing, rolling out new features without messing with existing code, being able to roll back unwanted or not-working features after beta testing... and would be so much cleaner if we didn't have to resort to global variables and remember to put a reference to them in each place they're referenced... >> >> -- >> 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 _______________________________________________ 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 jiml at netrin.com Tue Apr 28 18:12:16 2020 From: jiml at netrin.com (Jim Lambert) Date: Tue, 28 Apr 2020 15:12:16 -0700 Subject: Counting unique items in a file In-Reply-To: References: Message-ID: <16A88D1D-EEC2-4633-925A-4A252CB71544@netrin.com> function getUniqueNames inData,pColumn split inData by column split inData[pColumn] by return and return combine inData[pColumn] by return and space return inData[pColumn] end getUniqueNames Jim Lambert From livfoss at mac.com Wed Apr 29 06:52:26 2020 From: livfoss at mac.com (Graham Samuel) Date: Wed, 29 Apr 2020 12:52:26 +0200 Subject: Three very simple questions In-Reply-To: <2114800869.1204182.1588105704463@mail.yahoo.com> References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> <5D65FC70-4EBB-446E-A38E-94610AEB0474@mac.com> <171b7ae9c30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <84d9f315-ce4c-61cb-dfc5-c61a18c75324@sonic.net> <2114800869.1204182.1588105704463@mail.yahoo.com> Message-ID: OK, I?ll bite - how d?ya do it? Graham > On 28 Apr 2020, at 22:28, dunbarx--- via use-livecode wrote: > > The user guide? > It certainly is searchable. I do it all the time. > Craig > > > -----Original Message----- > From: Graham Samuel via use-livecode > To: How to use LiveCode > Cc: Graham Samuel > Sent: Tue, Apr 28, 2020 3:44 pm > Subject: Re: Three very simple questions > > Bill, I think you?re right about the Guide not being searchable. I was going to point it out myself, but I began to think that I had used up my grumbling allowance, or at least I had not much left and needed to use it for other things. > > Of course the Giude should be searchable! > > Graham > > Re grumbling - I have always been delighted by the way people on this list come to each other?s aid. This ?invisible college? is a really essential part of the LiveCode experience, I believe. I hope I say ?thank you? enough. > > > >> On 26 Apr 2020, at 23:52, prothero--- via use-livecode wrote: >> >> Folks: >> I think Graham is doing LiveCode a favor by pointing out some of the ways a newby (even though he isn?t) might get messed up when learning LiveCode. We all get used to various approaches and newbies (even tho Graham isn?t) alert us to impediments for that very vital population of potential or new users. >> >> One thing that has bugged me is that when I click on the dictionary, I get a nice display of commands, etc, searchable. But when I click on the ?Guide? tab, I get what looks like a very informative document. However, if I?m looking for a particular task and want to do a search, there is none. So, it seems to me like a very valuable newby document is crippled by the omission of a very basic feature. >> >> Or have I just missed something? >> >> Best, >> Bill >> >> William A. Prothero >> Santa Barbara, CA. 93105 >> http://earthlearningsolutions.org/ >> >>> On Apr 26, 2020, at 12:23 PM, Mark Wieder via use-livecode wrote: >>> >>> On 4/26/20 12:09 PM, Sannyasin Brahmanathaswami via use-livecode wrote: >>>> "globals are evil" >>>> But we use one array >>>> Global gConfigA >>>> and we stuff it with all manner of "things" including another arrays >>>> it turns about to quite useful >>> >>> Yes, I do what you and Jacque do as a workaround, of course. I recently implemented a feature management infrastructure the same way, given the lack of globally available constants. >>> >>> on preOpenStack >>> global gFeatures >>> put "feature1,feature2,feature3" into gFeatures >>> end preOpenStack >>> >>> ...some other stack >>> >>> global gfeatures >>> if "feature2" is among the items of gfeatures then >>> ... >>> >>> on closeStackRequest >>> delete variable gFeatures >>> end closestackRequest >>> >>> great for A/B testing, rolling out new features without messing with existing code, being able to roll back unwanted or not-working features after beta testing... and would be so much cleaner if we didn't have to resort to global variables and remember to put a reference to them in each place they're referenced... >>> >>> -- >>> 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 > > > _______________________________________________ > 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 benr_mc at cogapp.com Wed Apr 29 08:09:54 2020 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 29 Apr 2020 13:09:54 +0100 Subject: Wildcard? replaceText, offset? In-Reply-To: <1506332899.372285.1587928514370@mail.yahoo.com> References: <517A9CE8-CF62-4528-9219-EE30931EC350@mac.com> <77D17E5E-5BBE-4059-8D07-7B664E1B806B@major-k.de> <5D65FC70-4EBB-446E-A38E-94610AEB0474@mac.com> <171b7ae9c30.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <0AAD11D2-BBF8-4912-818B-0F6A288D0B51@all-auctions.com> <1506332899.372285.1587928514370@mail.yahoo.com> Message-ID: Not sure what 'previous post' referred to. Reg ex "[0-9]+" (or equivalently "\d+") would match one or more integers. Provided this is the first/only instance of the pattern, I would have thought that regex does provide the neatest solution, e.g.: put "(" & iNewNumber ")" into tReplacement put replaceText(tOldString , "\(\d+\)", tReplacement) into tNewString On 26/04/2020 20:15, dunbarx--- via use-livecode wrote: > Pay no attention to the previous post, which only dealt with a single integer. Sloppy. > THIS old fashioned method works, though: > on?mouseUpput?offset("(",yourString)?into?startCharput?offset(")",?yourString)?into?endCharput?random(999)?into?char?(startChar +?1)?to?(endChar -1)?of?yourStringend?mouseUp > > Craig > > -----Original Message----- > From: doc hawk via use-livecode > To: How to use LiveCode > Cc: doc hawk > Sent: Sun, Apr 26, 2020 2:41 pm > Subject: Re: Wildcard? replaceText, offset? > > > On Apr 26, 2020, at 11:24 AM, Rick reasoned > >> In the middle-end part of the string I have ?(x)? where x represents some integer. >> it could be (4) or (10) or (5) etc. > > > If you?re certain that this is the only, or even the first, integer, a regular expression search and replace or [0-9]+? would? do the trick. From livfoss at mac.com Wed Apr 29 09:11:46 2020 From: livfoss at mac.com (Graham Samuel) Date: Wed, 29 Apr 2020 15:11:46 +0200 Subject: Quick IDE question Message-ID: Since yesterday, running either LC 9.5.1 or 9.6.0 dp4 on a Mac, every time I open the Script Editor window, it overfills my screen, so I can?t see the bottom of the window. There are no decorations, so I can?t resize or minimise the window; and dragging the window by the title bar doesn?t work either. I?ve restarted both versions but no joy. Everything else seems to be working normally and the other LC windows have decorations. I don?t believe I?ve ever seen this before. Does anyone know how I can get out of it? Graham From dunbarx at aol.com Wed Apr 29 09:20:08 2020 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 29 Apr 2020 13:20:08 +0000 (UTC) Subject: Quick IDE question In-Reply-To: References: Message-ID: <494832333.1425531.1588166408758@mail.yahoo.com> Can you explicitly set the rect of the SE? I do this all the time because I have it located on a large vertically oriented monitor adjacent to my main screen, and the loc needs to be refreshed now and then depending on other stuff I use them for. Craig -----Original Message----- From: Graham Samuel via use-livecode To: How to use LiveCode Cc: Graham Samuel Sent: Wed, Apr 29, 2020 9:13 am Subject: Quick IDE question Since yesterday, running either LC 9.5.1? or 9.6.0 dp4 on a Mac, every time I open the Script Editor window, it overfills my screen, so I can?t see the bottom of the window. There are no decorations, so I can?t resize or minimise the window; and dragging the window by the title bar doesn?t work either. I?ve restarted both versions but no joy. Everything else seems to be working normally and the other LC windows have decorations. I don?t believe I?ve ever seen this before. Does anyone know how I can get out of it? Graham _______________________________________________ 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 mkoob at rogers.com Wed Apr 29 09:35:25 2020 From: mkoob at rogers.com (Martin Koob) Date: Wed, 29 Apr 2020 09:35:25 -0400 Subject: Quick IDE question In-Reply-To: References: Message-ID: Hi Graham Try this in the message box set the rect of stack "revNewScriptEditor 1" to the screenrect; set the height of stack "revNewScriptEditor 1" to 750 Regards, Martin Koob > On Apr 29, 2020, at 9:11 AM, Graham Samuel via use-livecode wrote: > > Since yesterday, running either LC 9.5.1 or 9.6.0 dp4 on a Mac, every time I open the Script Editor window, it overfills my screen, so I can?t see the bottom of the window. There are no decorations, so I can?t resize or minimise the window; and dragging the window by the title bar doesn?t work either. I?ve restarted both versions but no joy. Everything else seems to be working normally and the other LC windows have decorations. > > I don?t believe I?ve ever seen this before. Does anyone know how I can get out of it? > > Graham > _______________________________________________ > 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 mkoob at rogers.com Wed Apr 29 09:48:53 2020 From: mkoob at rogers.com (Martin Koob) Date: Wed, 29 Apr 2020 09:48:53 -0400 Subject: Quick IDE question In-Reply-To: <494832333.1425531.1588166408758@mail.yahoo.com> References: <494832333.1425531.1588166408758@mail.yahoo.com> Message-ID: <06F63F6B-5764-4DAD-83B9-0AC73181DE52@rogers.com> Hi Craig The script editor is a stack just like any other so what you can do to a stack you can do to it. To find the name of it you can type the following into the Message Box: put the openstacks That will show a list in the message box of all the stacks open including the stack you are working on, here ?My great app? and all the UI currently opened UI stacks. Message Box revNewScriptEditor 1 My great app revPropertyInspector 1 revInspector revTools Improve LiveCode Handler Finder revMenuBar com.livecode.palette.autocomplete.completions If you have more than one SE or property inspector it numbers them. i.e.. 1. open new Script in a new window 2. open a property inspector for a second object 3. Type in message box "put the openstacks" New listing Message Box revPropertyInspector 2 revInspector My great app revTools revNewScriptEditor 1 revNewScriptEditor 2 Improve LiveCode Handler Finder revMenuBar revPropertyInspector 1 com.livecode.palette.autocomplete.completions from the list of open stacks you can find the stack names so you can set their properties. You can set stack properties like loc rect, height, etc. You could make a small stack with buttons that set all your UI elements where you want them for each of your use cases and have them all fly to their respective positions and sizes. Maybe someone has made a plugin like that. Regards, Martin Koob > On Apr 29, 2020, at 9:20 AM, dunbarx--- via use-livecode wrote: > > Can you explicitly set the rect of the SE? I do this all the time because I have it located on a large vertically oriented monitor adjacent to my main screen, and the loc needs to be refreshed now and then depending on other stuff I use them for. > Craig > > > -----Original Message----- > From: Graham Samuel via use-livecode > To: How to use LiveCode > Cc: Graham Samuel > Sent: Wed, Apr 29, 2020 9:13 am > Subject: Quick IDE question > > Since yesterday, running either LC 9.5.1 or 9.6.0 dp4 on a Mac, every time I open the Script Editor window, it overfills my screen, so I can?t see the bottom of the window. There are no decorations, so I can?t resize or minimise the window; and dragging the window by the title bar doesn?t work either. I?ve restarted both versions but no joy. Everything else seems to be working normally and the other LC windows have decorations. > > I don?t believe I?ve ever seen this before. Does anyone know how I can get out of it? > > Graham > _______________________________________________ > 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 skiplondon at gmail.com Wed Apr 29 09:54:29 2020 From: skiplondon at gmail.com (Skip Kimpel) Date: Wed, 29 Apr 2020 09:54:29 -0400 Subject: Best relational database for IOS / Android Message-ID: Good morning, In your opinion, what is the best relational database to use for an IOS / Android application? Being a PC guy and always living in the Microsoft world, I always default to SQL, however, with my latest discoveries of the complexities involved and lack of support in LC I don't think that would be the best move at this point. Suggestions? SKIP From chipsm at themartinz.com Wed Apr 29 10:06:02 2020 From: chipsm at themartinz.com (chipsm at themartinz.com) Date: Wed, 29 Apr 2020 07:06:02 -0700 Subject: Best relational database for IOS / Android In-Reply-To: References: Message-ID: <041901d61e2f$514b8bd0$f3e2a370$@themartinz.com> You may want to explore LiveCloud. It is a cloud based database by Canela Software that allows for both cloud and Local- to the device- database. http://canelasoftware.com/ I am developing and testing for a while. -----Original Message----- From: use-livecode On Behalf Of Skip Kimpel via use-livecode Sent: Wednesday, April 29, 2020 6:54 AM To: How to use LiveCode Cc: Skip Kimpel Subject: Best relational database for IOS / Android Good morning, In your opinion, what is the best relational database to use for an IOS / Android application? Being a PC guy and always living in the Microsoft world, I always default to SQL, however, with my latest discoveries of the complexities involved and lack of support in LC I don't think that would be the best move at this point. Suggestions? SKIP _______________________________________________ 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 MikeKerner at roadrunner.com Wed Apr 29 10:10:23 2020 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 29 Apr 2020 10:10:23 -0400 Subject: Best relational database for IOS / Android In-Reply-To: References: Message-ID: do you mean for c/s? if it's client-only, then sqlite and mysql are perfectly integrated into lc for ios. On Wed, Apr 29, 2020 at 9:55 AM Skip Kimpel via use-livecode < use-livecode at lists.runrev.com> wrote: > Good morning, > > In your opinion, what is the best relational database to use for an IOS / > Android application? > > Being a PC guy and always living in the Microsoft world, I always default > to SQL, however, with my latest discoveries of the complexities involved > and lack of support in LC I don't think that would be the best move at this > point. > > Suggestions? > > SKIP > _______________________________________________ > 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 rdimola at evergreeninfo.net Wed Apr 29 10:12:47 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 29 Apr 2020 10:12:47 -0400 Subject: Best relational database for IOS / Android In-Reply-To: References: Message-ID: <000a01d61e30$45347ea0$cf9d7be0$@net> For a DB local on the device I use SQLite and it holds up well with very complex multi table queries. For a remote database I have had no problems with MySQL and it's open source brother MariaDB. 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 Skip Kimpel via use-livecode Sent: Wednesday, April 29, 2020 9:54 AM To: How to use LiveCode Cc: Skip Kimpel Subject: Best relational database for IOS / Android Good morning, In your opinion, what is the best relational database to use for an IOS / Android application? Being a PC guy and always living in the Microsoft world, I always default to SQL, however, with my latest discoveries of the complexities involved and lack of support in LC I don't think that would be the best move at this point. Suggestions? SKIP _______________________________________________ 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 Wed Apr 29 11:39:28 2020 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 29 Apr 2020 11:39:28 -0400 Subject: Best relational database for IOS / Android In-Reply-To: References: Message-ID: <4AA5CAF7-1962-4FDD-BA91-4C2777B992C5@all-auctions.com> Hi Skip, I have a preference for PostgreSQL. https://www.postgresql.org Free - MIT-License, Open-source, and it works really well with LC. Good luck! Rick > On Apr 29, 2020, at 9:54 AM, Skip Kimpel via use-livecode wrote: > > Good morning, > > In your opinion, what is the best relational database to use for an IOS / > Android application? > > Being a PC guy and always living in the Microsoft world, I always default > to SQL, however, with my latest discoveries of the complexities involved > and lack of support in LC I don't think that would be the best move at this > point. > > Suggestions? > > SKIP > _______________________________________________ > 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 ckelly5430 at gmail.com Wed Apr 29 11:49:30 2020 From: ckelly5430 at gmail.com (Colin Kelly) Date: Wed, 29 Apr 2020 16:49:30 +0100 Subject: Livecode HTML5 and SQL Message-ID: <5DF2DD30-4E86-4D85-8D4B-0118436020CD@gmail.com> Anyone got any insightful ways of READING/WRITING to a mySQL table using web-apps developed with Livecode HTML5? Thanks Col. -- Colin Kelly M 07951 920680 From dochawk at gmail.com Wed Apr 29 12:15:10 2020 From: dochawk at gmail.com (doc hawk) Date: Wed, 29 Apr 2020 09:15:10 -0700 Subject: Best relational database for IOS / Android In-Reply-To: <4AA5CAF7-1962-4FDD-BA91-4C2777B992C5@all-auctions.com> References: <4AA5CAF7-1962-4FDD-BA91-4C2777B992C5@all-auctions.com> Message-ID: Rick rejoined, > I have a preference for PostgreSQL. I recoded for Postgres from mysql a few years ago simply because, at the time at least, livecode can send a compound transaction to Postgres, and only single transactions to mysql. From harrison at all-auctions.com Wed Apr 29 12:59:15 2020 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 29 Apr 2020 12:59:15 -0400 Subject: Best relational database for IOS / Android In-Reply-To: References: <4AA5CAF7-1962-4FDD-BA91-4C2777B992C5@all-auctions.com> Message-ID: <6BEA40AB-1FCB-42DD-95B8-D44B2D194F37@all-auctions.com> Nice! > On Apr 29, 2020, at 12:15 PM, doc hawk via use-livecode wrote: > > I recoded for Postgres from mysql a few years ago simply because, at the time at least, livecode can send a compound transaction to Postgres, and only single transactions to mysql. From devin_asay at byu.edu Wed Apr 29 14:06:18 2020 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 29 Apr 2020 18:06:18 +0000 Subject: Livecode HTML5 and SQL In-Reply-To: <5DF2DD30-4E86-4D85-8D4B-0118436020CD@gmail.com> References: <5DF2DD30-4E86-4D85-8D4B-0118436020CD@gmail.com> Message-ID: Colin, I haven?t tried it myself, but I would think you?d have to write an API layer using LiveCode Server scripting. All of the MySQL reads and writes would take place in your .lc scripts on LC Server. Then it would be simple, RESTful http calls from your HTML5 app. Of course, this all depends upon whether the internet libraries have been ported over to the HTML5 platform. LiveCode Server?I?ve done lots. HTML5 deployment, almost none. Hope this helps. Devin > On Apr 29, 2020, at 9:49 AM, Colin Kelly via use-livecode wrote: > > Anyone got any insightful ways of READING/WRITING to a mySQL table using web-apps developed with Livecode HTML5? > > > > Thanks > > Col. > > > > -- > > Colin Kelly > > M 07951 920680 > > > > _______________________________________________ > 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 Devin Asay Director Office of Digital Humanities Brigham Young University From matthias_livecode_150811 at m-r-d.de Wed Apr 29 14:13:54 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 29 Apr 2020 20:13:54 +0200 Subject: Livecode HTML5 and SQL In-Reply-To: References: <5DF2DD30-4E86-4D85-8D4B-0118436020CD@gmail.com> Message-ID: <70F6FB11-4B33-4780-990B-FA409DBCB800@m-r-d.de> I was also thinking about using LC Server or PHP scripts, but if i understand it correctly then "put URL" or "POST.. to URL" aren't currently supported in the LC HTML5 engine. Only "load URL" is supported and only for http / https. Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 29.04.2020 um 20:06 schrieb Devin Asay via use-livecode : > > Colin, > > I haven?t tried it myself, but I would think you?d have to write an API layer using LiveCode Server scripting. All of the MySQL reads and writes would take place in your .lc scripts on LC Server. Then it would be simple, RESTful http calls from your HTML5 app. Of course, this all depends upon whether the internet libraries have been ported over to the HTML5 platform. LiveCode Server?I?ve done lots. HTML5 deployment, almost none. > > Hope this helps. > > Devin > > >> On Apr 29, 2020, at 9:49 AM, Colin Kelly via use-livecode wrote: >> >> Anyone got any insightful ways of READING/WRITING to a mySQL table using web-apps developed with Livecode HTML5? >> >> >> >> Thanks >> >> Col. >> >> >> >> -- >> >> Colin Kelly >> >> M 07951 920680 >> >> >> >> _______________________________________________ >> 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 > > Devin Asay > Director > Office of Digital Humanities > Brigham Young University > > _______________________________________________ > 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 devin_asay at byu.edu Wed Apr 29 14:19:25 2020 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 29 Apr 2020 18:19:25 +0000 Subject: Livecode HTML5 and SQL In-Reply-To: <70F6FB11-4B33-4780-990B-FA409DBCB800@m-r-d.de> References: <5DF2DD30-4E86-4D85-8D4B-0118436020CD@gmail.com> <70F6FB11-4B33-4780-990B-FA409DBCB800@m-r-d.de> Message-ID: <4A356D50-4CD0-46D3-813D-6842A00CAEC0@byu.edu> That?s good to know, Matthias. So it seems that what you?d have to do is, still do the MySQL I/O in LC Server scripts, but also dynamically construct the HTML output in your LC server scripts, so that the calling HTML5 app could make sense of it. Am I interpreting the situation correctly, Matthias? Devin > On Apr 29, 2020, at 12:13 PM, matthias rebbe via use-livecode wrote: > > I was also thinking about using LC Server or PHP scripts, but if i understand it correctly then "put URL" or "POST.. to URL" aren't currently supported in the LC HTML5 engine. > Only "load URL" is supported and only for http / https. > > Matthias > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 29.04.2020 um 20:06 schrieb Devin Asay via use-livecode : >> >> Colin, >> >> I haven?t tried it myself, but I would think you?d have to write an API layer using LiveCode Server scripting. All of the MySQL reads and writes would take place in your .lc scripts on LC Server. Then it would be simple, RESTful http calls from your HTML5 app. Of course, this all depends upon whether the internet libraries have been ported over to the HTML5 platform. LiveCode Server?I?ve done lots. HTML5 deployment, almost none. >> >> Hope this helps. >> >> Devin >> >> >>> On Apr 29, 2020, at 9:49 AM, Colin Kelly via use-livecode wrote: >>> >>> Anyone got any insightful ways of READING/WRITING to a mySQL table using web-apps developed with Livecode HTML5? >>> >>> >>> >>> Thanks >>> >>> Col. >>> >>> >>> >>> -- >>> >>> Colin Kelly >>> >>> M 07951 920680 >>> >>> >>> >>> _______________________________________________ >>> 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 >> >> Devin Asay >> Director >> Office of Digital Humanities >> Brigham Young University >> >> _______________________________________________ >> 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 Devin Asay Director Office of Digital Humanities Brigham Young University From alex at tweedly.net Wed Apr 29 14:42:49 2020 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 29 Apr 2020 19:42:49 +0100 Subject: Best relational database for IOS / Android In-Reply-To: <041901d61e2f$514b8bd0$f3e2a370$@themartinz.com> References: <041901d61e2f$514b8bd0$f3e2a370$@themartinz.com> Message-ID: <17c1a623-5476-1310-e6d6-ff54a7822c0e@tweedly.net> Livecloud is indeed from Canela Software - but there's no obvious link from their own website for it. Go straight to livecloud.io to get the info about it. It does require Indy or above LC license Alex. On 29/04/2020 15:06, Clarence Martin via use-livecode wrote: > You may want to explore LiveCloud. It is a cloud based database by Canela > Software that allows for both cloud and Local- to the device- database. > http://canelasoftware.com/ > I am developing and testing for a while. > > -----Original Message----- > From: use-livecode On Behalf Of Skip > Kimpel via use-livecode > Sent: Wednesday, April 29, 2020 6:54 AM > To: How to use LiveCode > Cc: Skip Kimpel > Subject: Best relational database for IOS / Android > > Good morning, > > In your opinion, what is the best relational database to use for an IOS / > Android application? > > Being a PC guy and always living in the Microsoft world, I always default to > SQL, however, with my latest discoveries of the complexities involved and > lack of support in LC I don't think that would be the best move at this > point. > > Suggestions? > > SKIP > _______________________________________________ > 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 livfoss at mac.com Wed Apr 29 14:46:55 2020 From: livfoss at mac.com (Graham Samuel) Date: Wed, 29 Apr 2020 20:46:55 +0200 Subject: Quick IDE question In-Reply-To: References: Message-ID: Stone the crows, it worked!! Even the decorations came back, and the ability to drag the window - neither of which are obviously related to the rect or height of the stack, as far as I can see. Thanks so much Martin. I wonder how just the Script Editor got so out of whack - but it?s just a theoretical wonder, as I am back to normal. Thanks again. > On 29 Apr 2020, at 15:35, Martin Koob via use-livecode wrote: > > Hi Graham > > Try this in the message box > > set the rect of stack "revNewScriptEditor 1" to the screenrect; set the height of stack "revNewScriptEditor 1" to 750 > > > > > Regards, > > Martin Koob > > > > > >> On Apr 29, 2020, at 9:11 AM, Graham Samuel via use-livecode wrote: >> >> Since yesterday, running either LC 9.5.1 or 9.6.0 dp4 on a Mac, every time I open the Script Editor window, it overfills my screen, so I can?t see the bottom of the window. There are no decorations, so I can?t resize or minimise the window; and dragging the window by the title bar doesn?t work either. I?ve restarted both versions but no joy. Everything else seems to be working normally and the other LC windows have decorations. >> >> I don?t believe I?ve ever seen this before. Does anyone know how I can get out of it? >> >> Graham >> _______________________________________________ >> 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 mkoob at rogers.com Wed Apr 29 14:56:33 2020 From: mkoob at rogers.com (Martin Koob) Date: Wed, 29 Apr 2020 14:56:33 -0400 Subject: Quick IDE question In-Reply-To: References: Message-ID: <6BA4DECB-FE19-41E5-A3B1-4275E7370063@rogers.com> Hi Graham Glad it worked. Getting the decorations and dragability back is just a matter of getting the stack rect within the rect of the screen. LiveCode IDE parts sometimes get a mind of their own and set out a wanderin? ? who knows why. Setting their loc to the screenloc will put them right in the centre of the screen so you can deal with them there. Martin > On Apr 29, 2020, at 2:46 PM, Graham Samuel via use-livecode wrote: > > Stone the crows, it worked!! Even the decorations came back, and the ability to drag the window - neither of which are obviously related to the rect or height of the stack, as far as I can see. > > Thanks so much Martin. I wonder how just the Script Editor got so out of whack - but it?s just a theoretical wonder, as I am back to normal. > > Thanks again. > >> On 29 Apr 2020, at 15:35, Martin Koob via use-livecode wrote: >> >> Hi Graham >> >> Try this in the message box >> >> set the rect of stack "revNewScriptEditor 1" to the screenrect; set the height of stack "revNewScriptEditor 1" to 750 >> >> >> >> >> Regards, >> >> Martin Koob >> >> >> >> >> >>> On Apr 29, 2020, at 9:11 AM, Graham Samuel via use-livecode wrote: >>> >>> Since yesterday, running either LC 9.5.1 or 9.6.0 dp4 on a Mac, every time I open the Script Editor window, it overfills my screen, so I can?t see the bottom of the window. There are no decorations, so I can?t resize or minimise the window; and dragging the window by the title bar doesn?t work either. I?ve restarted both versions but no joy. Everything else seems to be working normally and the other LC windows have decorations. >>> >>> I don?t believe I?ve ever seen this before. Does anyone know how I can get out of it? >>> >>> Graham >>> _______________________________________________ >>> 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 matthias_livecode_150811 at m-r-d.de Wed Apr 29 15:00:17 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 29 Apr 2020 21:00:17 +0200 Subject: Livecode HTML5 and SQL In-Reply-To: <4A356D50-4CD0-46D3-813D-6842A00CAEC0@byu.edu> References: <5DF2DD30-4E86-4D85-8D4B-0118436020CD@gmail.com> <70F6FB11-4B33-4780-990B-FA409DBCB800@m-r-d.de> <4A356D50-4CD0-46D3-813D-6842A00CAEC0@byu.edu> Message-ID: If "post... to url" and "put URL..." would work, then it should work with HTLM5. But currently only load URL is supported. But to be true, i am not sure about "load URL.." I?ve used load URL only for downloading files in the past. I am not sure if the command can also be used with parameters in the URL. But why shouldn't it work. I?ve did a quick test today without parameters in the URL to just load an URL and display the returned data in a field. This script local tMyURL on mouseup put "start" into fld 1 put "https://www.google.com " into tMyUrl load URL tMyUrl with message "myUrlDownloadFinished" END MOUSEUP on myUrlDownloadFinished answer "Download Complete" &return &return &the cachedURLS with "Okay" set the text of fld 1 to url tMyURL end myUrlDownloadFinished worked in the IDE, but not in HTML5. While "start" was displayed in field 1, the returned data of the cached URL wasn't. But maybe i am missing something. Matthias > Am 29.04.2020 um 20:19 schrieb Devin Asay via use-livecode >: > > That?s good to know, Matthias. So it seems that what you?d have to do is, still do the MySQL I/O in LC Server scripts, but also dynamically construct the HTML output in your LC server scripts, so that the calling HTML5 app could make sense of it. > > Am I interpreting the situation correctly, Matthias? > > Devin > > >> On Apr 29, 2020, at 12:13 PM, matthias rebbe via use-livecode > wrote: >> >> I was also thinking about using LC Server or PHP scripts, but if i understand it correctly then "put URL" or "POST.. to URL" aren't currently supported in the LC HTML5 engine. >> Only "load URL" is supported and only for http / https. >> >> Matthias >> >> >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >> >>> Am 29.04.2020 um 20:06 schrieb Devin Asay via use-livecode >: >>> >>> Colin, >>> >>> I haven?t tried it myself, but I would think you?d have to write an API layer using LiveCode Server scripting. All of the MySQL reads and writes would take place in your .lc scripts on LC Server. Then it would be simple, RESTful http calls from your HTML5 app. Of course, this all depends upon whether the internet libraries have been ported over to the HTML5 platform. LiveCode Server?I?ve done lots. HTML5 deployment, almost none. >>> >>> Hope this helps. >>> >>> Devin >>> >>> >>>> On Apr 29, 2020, at 9:49 AM, Colin Kelly via use-livecode > wrote: >>>> >>>> Anyone got any insightful ways of READING/WRITING to a mySQL table using web-apps developed with Livecode HTML5? >>>> >>>> >>>> >>>> Thanks >>>> >>>> Col. >>>> >>>> >>>> >>>> -- >>>> >>>> Colin Kelly >>>> >>>> M 07951 920680 >>>> >>>> >>>> >>>> _______________________________________________ >>>> 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 >>> >>> Devin Asay >>> Director >>> Office of Digital Humanities >>> Brigham Young University >>> >>> _______________________________________________ >>> 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 > > Devin Asay > Director > Office of Digital Humanities > Brigham Young University > > _______________________________________________ > 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 - Matthias Rebbe Life Is Too Short For Boring Code From sean at pidigital.co.uk Wed Apr 29 15:45:00 2020 From: sean at pidigital.co.uk (Pi Digital) Date: Wed, 29 Apr 2020 20:45:00 +0100 Subject: Livecode HTML5 and SQL In-Reply-To: References: Message-ID: <2E29F5AE-69A0-4A40-910C-129878CCEDE4@pidigital.co.uk> Hi Colin I have a library I?ve created for HTML5 and php for LiveCode Deployment. Pm me at sean at pidigital.co.uk Sean Cole Pi Digital Productions Ltd eMail Ts & Cs > On 29 Apr 2020, at 20:00, matthias rebbe via use-livecode wrote: > > ?If "post... to url" and "put URL..." would work, then it should work with HTLM5. > > But currently only load URL is supported. > > But to be true, i am not sure about "load URL.." > I?ve used load URL only for downloading files in the past. I am not sure if the command can also be used with parameters in the URL. But why shouldn't it work. > > > I?ve did a quick test today without parameters in the URL to just load an URL and display the returned data in a field. > > This script > > local tMyURL > > on mouseup > > put "start" into fld 1 > > put "https://www.google.com " into tMyUrl > > load URL tMyUrl with message "myUrlDownloadFinished" > > END MOUSEUP > > > > on myUrlDownloadFinished > > answer "Download Complete" &return &return &the cachedURLS with "Okay" > > set the text of fld 1 to url tMyURL > > end myUrlDownloadFinished > > > > worked in the IDE, but not in HTML5. While "start" was displayed in field 1, the returned data of the cached URL wasn't. > > But maybe i am missing something. > > Matthias > > > > >> Am 29.04.2020 um 20:19 schrieb Devin Asay via use-livecode >: >> >> That?s good to know, Matthias. So it seems that what you?d have to do is, still do the MySQL I/O in LC Server scripts, but also dynamically construct the HTML output in your LC server scripts, so that the calling HTML5 app could make sense of it. >> >> Am I interpreting the situation correctly, Matthias? >> >> Devin >> >> >>>> On Apr 29, 2020, at 12:13 PM, matthias rebbe via use-livecode > wrote: >>> >>> I was also thinking about using LC Server or PHP scripts, but if i understand it correctly then "put URL" or "POST.. to URL" aren't currently supported in the LC HTML5 engine. >>> Only "load URL" is supported and only for http / https. >>> >>> Matthias >>> >>> >>> - >>> Matthias Rebbe >>> Life Is Too Short For Boring Code >>> >>>> Am 29.04.2020 um 20:06 schrieb Devin Asay via use-livecode >: >>>> >>>> Colin, >>>> >>>> I haven?t tried it myself, but I would think you?d have to write an API layer using LiveCode Server scripting. All of the MySQL reads and writes would take place in your .lc scripts on LC Server. Then it would be simple, RESTful http calls from your HTML5 app. Of course, this all depends upon whether the internet libraries have been ported over to the HTML5 platform. LiveCode Server?I?ve done lots. HTML5 deployment, almost none. >>>> >>>> Hope this helps. >>>> >>>> Devin >>>> >>>> >>>>> On Apr 29, 2020, at 9:49 AM, Colin Kelly via use-livecode > wrote: >>>>> >>>>> Anyone got any insightful ways of READING/WRITING to a mySQL table using web-apps developed with Livecode HTML5? >>>>> >>>>> >>>>> >>>>> Thanks >>>>> >>>>> Col. >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> Colin Kelly >>>>> >>>>> M 07951 920680 >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 >>>> >>>> Devin Asay >>>> Director >>>> Office of Digital Humanities >>>> Brigham Young University >>>> >>>> _______________________________________________ >>>> 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 >> >> Devin Asay >> Director >> Office of Digital Humanities >> Brigham Young University >> >> _______________________________________________ >> 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 > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > _______________________________________________ > 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 matthias_livecode_150811 at m-r-d.de Wed Apr 29 16:01:09 2020 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Wed, 29 Apr 2020 22:01:09 +0200 Subject: Livecode HTML5 and SQL In-Reply-To: References: <5DF2DD30-4E86-4D85-8D4B-0118436020CD@gmail.com> <70F6FB11-4B33-4780-990B-FA409DBCB800@m-r-d.de> <4A356D50-4CD0-46D3-813D-6842A00CAEC0@byu.edu> Message-ID: <86FB0E51-390B-4A42-AE6A-49CE3EE3096D@m-r-d.de> I have to correct myself. The script works when i call an url that is on the same server as the html5 app is called from. And more important parameters can also be used. And as Sean already posted about a HTML5 library, it?s possible to use an HTML5 app with an api layer using LC Server or PHP scripts. > Am 29.04.2020 um 21:00 schrieb matthias rebbe via use-livecode : > > If "post... to url" and "put URL..." would work, then it should work with HTLM5. > > But currently only load URL is supported. > > But to be true, i am not sure about "load URL.." > I?ve used load URL only for downloading files in the past. I am not sure if the command can also be used with parameters in the URL. But why shouldn't it work. > > > I?ve did a quick test today without parameters in the URL to just load an URL and display the returned data in a field. > > This script > > local tMyURL > > on mouseup > > put "start" into fld 1 > > put "https://www.google.com " into tMyUrl > > load URL tMyUrl with message "myUrlDownloadFinished" > > END MOUSEUP > > > > on myUrlDownloadFinished > > answer "Download Complete" &return &return &the cachedURLS with "Okay" > > set the text of fld 1 to url tMyURL > > end myUrlDownloadFinished > > > > worked in the IDE, but not in HTML5. While "start" was displayed in field 1, the returned data of the cached URL wasn't. > > But maybe i am missing something. > > Matthias > > > > >> Am 29.04.2020 um 20:19 schrieb Devin Asay via use-livecode >: >> >> That?s good to know, Matthias. So it seems that what you?d have to do is, still do the MySQL I/O in LC Server scripts, but also dynamically construct the HTML output in your LC server scripts, so that the calling HTML5 app could make sense of it. >> >> Am I interpreting the situation correctly, Matthias? >> >> Devin >> >> >>> On Apr 29, 2020, at 12:13 PM, matthias rebbe via use-livecode > wrote: >>> >>> I was also thinking about using LC Server or PHP scripts, but if i understand it correctly then "put URL" or "POST.. to URL" aren't currently supported in the LC HTML5 engine. >>> Only "load URL" is supported and only for http / https. >>> >>> Matthias >>> >>> >>> - >>> Matthias Rebbe >>> Life Is Too Short For Boring Code From david.bovill at gmail.com Wed Apr 29 16:30:01 2020 From: david.bovill at gmail.com (David Bovill) Date: Wed, 29 Apr 2020 21:30:01 +0100 Subject: Google Drive or Dropbox integration In-Reply-To: <86FB0E51-390B-4A42-AE6A-49CE3EE3096D@m-r-d.de> References: <5DF2DD30-4E86-4D85-8D4B-0118436020CD@gmail.com> <70F6FB11-4B33-4780-990B-FA409DBCB800@m-r-d.de> <4A356D50-4CD0-46D3-813D-6842A00CAEC0@byu.edu> <86FB0E51-390B-4A42-AE6A-49CE3EE3096D@m-r-d.de> Message-ID: <7d7847fd-2423-4ec1-ab86-ca57812fbbb3@Spark> I?m looking to create some tools to automate / augment the work of volunteers working on the Sound Garden media archive we created for the radio station. I want to create desktop and mobile apps I can distribute to volunteers as the project moves forwards. At this early stage we have both Dropbox and Google drive storage - and I?m looking for the apps to integrate into the workflow ie read and write to the archive. I?m wondering if anyone has experience with the Livecode libraries that do this - which is easier to code against for mobile and desktop? Anyone got a demo stack? From dochawk at gmail.com Wed Apr 29 16:54:37 2020 From: dochawk at gmail.com (doc hawk) Date: Wed, 29 Apr 2020 13:54:37 -0700 Subject: Best relational database for IOS / Android In-Reply-To: <6BEA40AB-1FCB-42DD-95B8-D44B2D194F37@all-auctions.com> References: <4AA5CAF7-1962-4FDD-BA91-4C2777B992C5@all-auctions.com> <6BEA40AB-1FCB-42DD-95B8-D44B2D194F37@all-auctions.com> Message-ID: Rick remanded, > Nice! Not just nice, but necessary for consistency?if I have a variable change which also causes two more to change, it is absolutely critical that either all three change, or that the whole thing fail. You just can?t do that without begin/end, AFAIK, unless you have a followup that checks all three once all are done?and what if you lose power or otherwise crash before that happens? From waprothero at gmail.com Wed Apr 29 18:34:54 2020 From: waprothero at gmail.com (William Prothero) Date: Wed, 29 Apr 2020 15:34:54 -0700 Subject: Corona Virus app idea In-Reply-To: <7d7847fd-2423-4ec1-ab86-ca57812fbbb3@Spark> References: <5DF2DD30-4E86-4D85-8D4B-0118436020CD@gmail.com> <70F6FB11-4B33-4780-990B-FA409DBCB800@m-r-d.de> <4A356D50-4CD0-46D3-813D-6842A00CAEC0@byu.edu> <86FB0E51-390B-4A42-AE6A-49CE3EE3096D@m-r-d.de> <7d7847fd-2423-4ec1-ab86-ca57812fbbb3@Spark> Message-ID: <71877995-EA83-4903-9CC0-51A671F7AEA4@gmail.com> Folks: I had an idea for a Corona Virus app that Livecode is perfect for, and which could be coded up fairly quickly. I don?t have the time for doing it, but offer this idea just in case someone on the list wants a project for this. The idea is to solve the problem that is now being created as folks who are severely impacted by the social lockdown policies being invoked in various countries. Here in the US, only ?essential businesses? like grocery stores, hardware stores, post offices, etc are open, with the requirement that each person must stay 6 feet away from another, and wear a mask. I am now observing increasing communications, on social media, advocating for open up more businesses so folks can get back to earning money to survive and get back to their normal lives. Retired folks generally have some kind of retirement pension or income, but younger ones work at jobs. As one of the retired group who is older and possibly more susceptible to the ?death? side effect, I am fine with lockdown (bored maybe), but arguments are being made that many closed businesses (like restaurants) can be opened safely, with special distancing restrictions. This is in spite of the more informed policymakers advocating for caution. So, here is my idea: Each business that wants to open would register on the app, possibly with the city administration able to approve. Maybe there would be a checklist of policies the business could check off. After registration, the business might get a ?seal of approval? from the city (or responsible agency). After it is approved, each visitor (or the business staff) would ?sign in? the visitor. This would be enforced by the business's staff. It would post the name of the business, customer contact info and time. This way, a database of visitors to all of the businesses (restaurants, haircut shops, beauty salons, etc) would be generated. A person who gets infected would also get an entry by ..??someone (self/doctor/hospital?). The database would be available to city administration who could then do contact tracing. Obviously, this would require adoption by the city and hospital management. It?s a simple database entry project. I?d probably add some other features, like a checklist of current city requirements, best practices, etc. Ok, yeah, this sounds like what Apple and Google are building. However, there is no attempt to detect all close contact persons using bluetooth (or whatever), with its privacy issues. But the businesses visited are identified, and this also would provide an incentive for them to be very careful. It?s a bit like a Yelp for Corona Virus. The app could be built quickly and get out as pressure to ease the lockdown restrictions builds. Businesses could get a ?success score?. Visitors could do ratings. This is such an easy app to build that a programming student could do it. The hardest part for me would be to get it into the Android and Apple stores, and also to promote it to the local pandemic ?powers that be?. I?m retired and don?t want to take on a project of this size, but perhaps someone on the list would find it appealing. Be Well, Bill William A. Prothero https://earthlearningsolutions.org From lists at mangomultimedia.com Wed Apr 29 19:25:09 2020 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 29 Apr 2020 18:25:09 -0500 Subject: Spell Checker Message-ID: Hi folks, FYI I've published a Github repo with a spell checker. The code is code I've been developing for a spell checker replacement in apps I develop for macOS and Windows. It uses NSSpellChecker on macOS and Hunspell on Windows. If some kind soul wants to compile a Hunspell 1.6.2 .so library for Linux the it would support Linux as well (I don't develop for Linux). The url where you can go to learn about it, download it, or contribute to it I?m using mergAv to access video on mobile. I can access the front camera but only one of the rear cameras on my iPhone 11, the 1x ?normal? lens rather than the 0.5x ?wide angle?. Is there a way to access the multiple lenses that Apple has on their newer devices? ?Andrew Bell From devin_asay at byu.edu Thu Apr 30 11:11:22 2020 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 30 Apr 2020 15:11:22 +0000 Subject: mergAV Select specific rear camera In-Reply-To: <0B0A6653-759C-4022-B0B5-4AF855410C91@midwestcoastmedia.com> References: <0B0A6653-759C-4022-B0B5-4AF855410C91@midwestcoastmedia.com> Message-ID: <47AE7AE1-C4C6-4026-9FF8-21E9DF2B302B@byu.edu> Andrew, I?m not sure about mergAV, but if you gave an Indy license you might want to check out cameraControl, which keeps getting better with each new release. I was playing around with it in 9.6.0DP4 yesterday, and it seems pretty capable. It also has the advantage of being cross-platform on Mac, Win, iOS, and Android. Devin > On Apr 30, 2020, at 9:01 AM, Andrew at MidWest Coast Media via use-livecode wrote: > > I?m using mergAv to access video on mobile. I can access the front camera but only one of the rear cameras on my iPhone 11, the 1x ?normal? lens rather than the 0.5x ?wide angle?. Is there a way to access the multiple lenses that Apple has on their newer devices? > > ?Andrew Bell > _______________________________________________ > 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 Devin Asay Director Office of Digital Humanities Brigham Young University From mkoob at rogers.com Thu Apr 30 12:03:27 2020 From: mkoob at rogers.com (Martin Koob) Date: Thu, 30 Apr 2020 12:03:27 -0400 Subject: mergAV Select specific rear camera In-Reply-To: <47AE7AE1-C4C6-4026-9FF8-21E9DF2B302B@byu.edu> References: <0B0A6653-759C-4022-B0B5-4AF855410C91@midwestcoastmedia.com> <47AE7AE1-C4C6-4026-9FF8-21E9DF2B302B@byu.edu> Message-ID: <768D17A6-5A5D-4956-B3E7-A6760134C232@rogers.com> Hi Andrew. I haven?t used it on iOS but this is what you need to do on Mac OS X to use internal or external cameras. To choose a particular camera use merAVCamSet ?camera? , tCameraID So or your case using iOS I think you can use just ?rear camera? as the tCameraID merAVCamSet?camera?, ?rear camera? See the dictionary for details. For Mac OS X there is a bit more to do first you have to check to see what cameras are available and find their device IDs are: merAVCamGet ?Video Devices? You also have to check the audio devices it you want to switch both your video and audio sources. merAVCamGet ?Audio Devices? If you are using DV cams which used FireWire as the connector and include both Video and Audio together you need to use ?Muxed devices? as the param merAVCamGet ?Muxed Devices? See the dictionary for details on how the camera info is returned. Once you have retrieved the video and audio device IDs you set the camera that will be used and the microphone with the same merAVCamSet command and use the device IDs you just retrieved. merAVCamSet ?camera?, pCameraID merAVCamSet ?microphone?, pAudioID I agree with Devin though it is better to switch to the new cameraControl. It will be the video and audio capture technology supported going forward. I have transitioned to it so I can deploy my application on Windows. I would use the LC 9.6 version as there were bugs in the 9.5.1 version that are fixed in LC9.6. I haven?t tried it on IOS though so you should see if that works. Martin > On Apr 30, 2020, at 11:11 AM, Devin Asay via use-livecode wrote: > > Andrew, > > I?m not sure about mergAV, but if you gave an Indy license you might want to check out cameraControl, which keeps getting better with each new release. I was playing around with it in 9.6.0DP4 yesterday, and it seems pretty capable. It also has the advantage of being cross-platform on Mac, Win, iOS, and Android. > > Devin > > >> On Apr 30, 2020, at 9:01 AM, Andrew at MidWest Coast Media via use-livecode wrote: >> >> I?m using mergAv to access video on mobile. I can access the front camera but only one of the rear cameras on my iPhone 11, the 1x ?normal? lens rather than the 0.5x ?wide angle?. Is there a way to access the multiple lenses that Apple has on their newer devices? >> >> ?Andrew Bell >> _______________________________________________ >> 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 > > Devin Asay > Director > Office of Digital Humanities > Brigham Young University > > _______________________________________________ > 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 craig at starfirelighting.com Thu Apr 30 14:30:49 2020 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 30 Apr 2020 14:30:49 -0400 Subject: Test only, Do not reply In-Reply-To: <768D17A6-5A5D-4956-B3E7-A6760134C232@rogers.com> References: <0B0A6653-759C-4022-B0B5-4AF855410C91@midwestcoastmedia.com> <47AE7AE1-C4C6-4026-9FF8-21E9DF2B302B@byu.edu> <768D17A6-5A5D-4956-B3E7-A6760134C232@rogers.com> Message-ID: From craig at starfirelighting.com Thu Apr 30 14:39:23 2020 From: craig at starfirelighting.com (Craig Newman) Date: Thu, 30 Apr 2020 14:39:23 -0400 Subject: Test. Do not reply Message-ID: <22C45409-7772-447C-8EDD-E12F6021294F@starfirelighting.com> From bogdanoff at me.com Thu Apr 30 15:10:10 2020 From: bogdanoff at me.com (Peter Bogdanoff) Date: Thu, 30 Apr 2020 12:10:10 -0700 Subject: Accessibility in LC projects In-Reply-To: <22C45409-7772-447C-8EDD-E12F6021294F@starfirelighting.com> References: <22C45409-7772-447C-8EDD-E12F6021294F@starfirelighting.com> Message-ID: Hi, I?m looking at modifying my Music in the Air application to enhance its accessibility, specifically for the sight impaired. I would be using text to speech to make it what is called in the accessibility world-- ?self voicing.? The goal is to not only speak the text (which is the easy part in LiveCode), but allow the user to identify and control the UI elements by a combination of keyboard strokes and speech-to-text identification of the semantic hierarchy of objects on the LC card. Does anyone have experience with this before I jump in and try to invent the wheel? There are screen reader applications, including the built-in VoiceOver on MacOS, and a couple of applications for Windows that work with web browsers and certain common applications. But as far as I know, I have to script everything to emulate a screen reader with a LC application. Any insight would be much appreciated! Peter Bogdanoff ArtsInteractive From mike at golddogcoffee.com Thu Apr 30 16:51:39 2020 From: mike at golddogcoffee.com (Mike for GDC) Date: Thu, 30 Apr 2020 14:51:39 -0600 Subject: Xcode 11.4 Message-ID: <005a01d61f31$26665eb0$73331c10$@golddogcoffee.com> Can you create a build for app submission using Xcode 11.4? From rdimola at evergreeninfo.net Thu Apr 30 17:01:34 2020 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 30 Apr 2020 17:01:34 -0400 Subject: Xcode 11.4 In-Reply-To: <005a01d61f31$26665eb0$73331c10$@golddogcoffee.com> References: <005a01d61f31$26665eb0$73331c10$@golddogcoffee.com> Message-ID: <004101d61f32$8abcc060$a0364120$@net> In the LC 9.6 (dp4) release notes from Panos. ----------------------------- To build iOS apps with LiveCode you must have the appropriate versions of Xcode as follows: - macOS 10.13.4: Xcode 10.1 - LiveCode builds iOS apps using the iOS 12.1 SDK - macOS 10.14.4: Xcode 11.3.1 - LiveCode builds iOS apps using the iOS 13.2 SDK (also covers iOS 13.3) - macOS 10.15.3: Xcode 11.3.1 - LiveCode builds iOS apps using the iOS 13.2 SDK (also covers iOS 13.3) There is a full list of working LiveCode/macOS/Xcode combinations here: https://livecode.com/docs/9-5-0/faq/faq/ Note: Whilst we endeavour to release updated versions of LiveCode supporting the latest Xcode/iOS SDKs as quickly as possible; we strongly recommend disabling automatic update of Xcode or downloading the specific version of Xcode required directly from the Apple developer portal and installing it separately. Important: From the end of June 2020, Apple will only be accepting apps built using iOS13 SDKs. This means that, if you wish to submit apps to the AppStore you will have to be running at least macOS 10.14 in order to be able to install the necessary version of Xcode. ------------------------- 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 for GDC via use-livecode Sent: Thursday, April 30, 2020 4:52 PM To: use-livecode at lists.runrev.com Cc: Mike for GDC Subject: Xcode 11.4 Can you create a build for app submission using Xcode 11.4? _______________________________________________ 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 Thu Apr 30 17:51:18 2020 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Thu, 30 Apr 2020 17:51:18 -0400 Subject: mergAV Select specific rear camera In-Reply-To: References: Message-ID: The only devices that are returned by mergAVCamGet(?video devices?) is: com.apple.avfondation.avcapturedvice.built-in_video:0 Back Camera com.apple.avfondation.avcapturedvice.built-in_video:1 Front Camera mergAVPick(?rear camera?) brings up the native camera controls, but my goal is to have a live feed from the camera but WITHOUT all the overlays the native camera adds. I can do this easily with the mergAV demo stack, but can?t access all the features. I?ve been able to utilize the mergAVCamGet/Set("zoom?) to work on the normal (non wide-angle) lens from 1x to 2x but it won?t go all the way to 3x or down to 0.5x like the native camera will do (0.5x-1x by using the wide-angle, not sure why I can?t use 2x-3x even without a telephoto lens if the native control does). -Andrew Bell From monte at appisle.net Thu Apr 30 19:19:57 2020 From: monte at appisle.net (Monte Goulding) Date: Fri, 1 May 2020 09:19:57 +1000 Subject: mergAV Select specific rear camera In-Reply-To: References: Message-ID: <854E0F04-CC4D-4A4F-BC92-4E9E909A9FDB@appisle.net> Hi Andrew It looks like both mergAVCam and the cameraControl in the Indy+ engines need to be updated to use APIs added in iOS 11 for `minAvailableVideoZoomFactor` and `maxAvailableVideoZoomFactor`. The multiple lens back camera is treated as one device and it switches between the lenses depending on the zoom factor. If you would like to open a report about this so it gets prioritised that would be great. Cheers Monte > On 1 May 2020, at 7:51 am, Andrew at MidWest Coast Media via use-livecode wrote: > > The only devices that are returned by mergAVCamGet(?video devices?) is: > com.apple.avfondation.avcapturedvice.built-in_video:0 Back Camera > com.apple.avfondation.avcapturedvice.built-in_video:1 Front Camera > > mergAVPick(?rear camera?) brings up the native camera controls, but my goal is to have a live feed from the camera but WITHOUT all the overlays the native camera adds. I can do this easily with the mergAV demo stack, but can?t access all the features. > > I?ve been able to utilize the mergAVCamGet/Set("zoom?) to work on the normal (non wide-angle) lens from 1x to 2x but it won?t go all the way to 3x or down to 0.5x like the native camera will do (0.5x-1x by using the wide-angle, not sure why I can?t use 2x-3x even without a telephoto lens if the native control does). > > -Andrew Bell > _______________________________________________ > 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 Thu Apr 30 19:50:36 2020 From: andrew at midwestcoastmedia.com (Andrew at MidWest Coast Media) Date: Thu, 30 Apr 2020 19:50:36 -0400 Subject: mergAV Select specific rear camera In-Reply-To: References: Message-ID: <95B40F57-C1BD-48C5-9819-998CC607C9F0@midwestcoastmedia.com> ?Bug? submitted, though this is probably a Feature Enhancement in hindsight. https://quality.livecode.com/show_bug.cgi?id=22714 -Andrew Bell From bobsneidar at iotecdigital.com Thu Apr 30 21:43:45 2020 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 1 May 2020 01:43:45 +0000 Subject: sqLite delete memory database Message-ID: <00D27339-50F1-4028-9B91-91C5745B6F1C@iotecdigital.com> I can create memory databases, but how do I delete it once created? revdb_disconnect still leaves it in memory. revCloseDatabase is just a synonym of revdb_disconnect. Bob S From sundown at pacifier.com Thu Apr 30 23:21:21 2020 From: sundown at pacifier.com (JB) Date: Thu, 30 Apr 2020 20:21:21 -0700 Subject: sqLite delete memory database In-Reply-To: <00D27339-50F1-4028-9B91-91C5745B6F1C@iotecdigital.com> References: <00D27339-50F1-4028-9B91-91C5745B6F1C@iotecdigital.com> Message-ID: <63C0333D-26D0-4731-A741-178167F3A06D@pacifier.com> I am not saying I know how to do it but are you able to read the memory like you can with a regular variable? If so maybe you can just assign each block of memory a null character. If you actually can get the memory address of the data it would be easy to delete it using C code. JB > On Apr 30, 2020, at 6:43 PM, Bob Sneidar via use-livecode wrote: > > I can create memory databases, but how do I delete it once created? revdb_disconnect still leaves it in memory. revCloseDatabase is just a synonym of revdb_disconnect. > > 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 >