Re: Go to card has become slow

2020-04-09 Thread Richard Gaskin via use-livecode
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. >

Re: Apps to fight COVID-19

2020-04-09 Thread Dar Scott Consulting via use-livecode
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

Livecode and AWS Sql

2020-04-09 Thread Skip Kimpel via use-livecode
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

Re: File paths truncated

2020-04-09 Thread J. Landman Gay via use-livecode
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

File paths truncated

2020-04-09 Thread J. Landman Gay via use-livecode
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

Re: Video format for mobile

2020-04-09 Thread Colin Holgate via use-livecode
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

Re: Video format for mobile

2020-04-09 Thread J. Landman Gay via use-livecode
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

Re: Video format for mobile

2020-04-09 Thread J. Landman Gay via use-livecode
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

Re: Video format for mobile

2020-04-09 Thread J. Landman Gay via use-livecode
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

Re: Old Fossil seeks fast track assistance

2020-04-09 Thread Graham Samuel via use-livecode
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

mobileControlGet and htmlText

2020-04-09 Thread Dan Friedman via use-livecode
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 ___ use-livecode

Re: Video format for mobile

2020-04-09 Thread Colin Holgate via use-livecode
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,

Re: Video format for mobile

2020-04-09 Thread Mark Waddingham via use-livecode
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.

Re: Video format for mobile

2020-04-09 Thread J. Landman Gay via use-livecode
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: Old Fossil seeks fast track assistance

2020-04-09 Thread Curry Kenworthy via use-livecode
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

Re: Video format for mobile

2020-04-09 Thread Tom Glod via use-livecode
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

Re: Video format for mobile

2020-04-09 Thread Klaus major-k via use-livecode
> 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 kl...@major-k.de

Re: Video format for mobile

2020-04-09 Thread 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. 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

Re: Video format for mobile

2020-04-09 Thread Tom Glod via use-livecode
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

Re: Video format for mobile

2020-04-09 Thread Klaus major-k via use-livecode
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

Re: Old Fossil seeks fast track assistance

2020-04-09 Thread Devin Asay via use-livecode
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

Re: Video format for mobile

2020-04-09 Thread 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. It would make sense that its the same

Re: Video format for mobile

2020-04-09 Thread Jerry Jensen via use-livecode
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

Re: Another Apple iOS Deadline

2020-04-09 Thread Dev via use-livecode
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,

Re: Video format for mobile

2020-04-09 Thread Klaus major-k via use-livecode
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

Re: Video format for mobile

2020-04-09 Thread 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? I got the licensing documents 2 years ago from MPEG-LA.. and had I started to read them

Re: Another Apple iOS Deadline

2020-04-09 Thread matthias rebbe via use-livecode
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

Re: Hide stack change focus not supported 64bit

2020-04-09 Thread Bill Vlahos via use-livecode
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

Re: Video format for mobile

2020-04-09 Thread Richard Gaskin via use-livecode
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

Re: Another Apple iOS Deadline

2020-04-09 Thread 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

Re: Another Apple iOS Deadline

2020-04-09 Thread matthias rebbe via use-livecode
> 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

Re: Another Apple iOS Deadline

2020-04-09 Thread Brian Milby via use-livecode
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

Re: Another Apple iOS Deadline

2020-04-09 Thread 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. -- Jacqueline Landman Gay

Re: Video format for mobile

2020-04-09 Thread Klaus major-k via use-livecode
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

Re: Mobile screen sizes - another naive question

2020-04-09 Thread J. Landman Gay via use-livecode
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

Re: Video format for mobile

2020-04-09 Thread Tom Glod via use-livecode
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@lists.runrev.com> wrote: > On 4/9/20 9:53 AM,

Re: Video format for mobile

2020-04-09 Thread 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

Re: Video format for mobile

2020-04-09 Thread Tom Glod via use-livecode
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 <

Re: Video format for mobile

2020-04-09 Thread J. Landman Gay via use-livecode
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

Re: Another Apple iOS Deadline

2020-04-09 Thread matthias rebbe via use-livecode
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

Re: Another Apple iOS Deadline

2020-04-09 Thread matthias rebbe via use-livecode
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

Re: Another Apple iOS Deadline

2020-04-09 Thread 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

Re: Mobile screen sizes - another naive question

2020-04-09 Thread Richard Gaskin via use-livecode
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

Another Apple iOS Deadline

2020-04-09 Thread 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

Re: [OT] Banks, Governments looking for COBOL programmers

2020-04-09 Thread Richard Gaskin via use-livecode
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

Re: Go to card has become slow

2020-04-09 Thread Richard Gaskin via use-livecode
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

[OT] Banks, Governments looking for COBOL programmers

2020-04-09 Thread Martin Koob via use-livecode
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

Mobile screen sizes - another naive question

2020-04-09 Thread Graham Samuel via use-livecode
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

Re: Video format for mobile

2020-04-09 Thread Klaus major-k via use-livecode
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

Re: Go to card has become slow

2020-04-09 Thread Bob Sneidar via use-livecode
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:") into tData >> put the long seconds into t >> put tData into url ("binfile:"& fName) >> put the long

Re: Old Fossil seeks fast track assistance

2020-04-09 Thread Graham Samuel via use-livecode
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

Re: Video format for mobile

2020-04-09 Thread 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. 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

Re: Video format for mobile

2020-04-09 Thread Bob Sneidar via use-livecode
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

Re: Go to card has become slow

2020-04-09 Thread Bob Sneidar via use-livecode
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

Re: Umlauts (again) and arraytojson

2020-04-09 Thread Trevor DeVore via use-livecode
On Thu, Apr 9, 2020 at 8:06 AM Klaus major-k via use-livecode < use-livecode@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

Re: Video format for mobile

2020-04-09 Thread Mark Talluto via use-livecode
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@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

Re: Umlauts (again) and arraytojson

2020-04-09 Thread Tom Glod via use-livecode
definitely not correct. On Thu, Apr 9, 2020 at 9:06 AM Klaus major-k via use-livecode < use-livecode@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

Umlauts (again) and arraytojson

2020-04-09 Thread Klaus major-k via use-livecode
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 -> {}

RE: Go to card has become slow

2020-04-09 Thread Ralph DiMola via use-livecode
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 rdim...@evergreeninfo.net -Original Message-

Re: Apps to fight COVID-19

2020-04-09 Thread Mark Smith via use-livecode
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

Re: Go to card has become slow

2020-04-09 Thread Richard Gaskin via use-livecode
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

Re: Go to card has become slow

2020-04-09 Thread Richard Gaskin via use-livecode
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