Re: Go to card has become slow

2020-04-12 Thread Mark Waddingham via use-livecode

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 ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Video format for mobile

2020-04-12 Thread J. Landman Gay via use-livecode

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 | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Go to card has become slow

2020-04-12 Thread Neville Smythe via use-livecode
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
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LiveCode useless seems to be Junk

2020-04-12 Thread J. Landman Gay via use-livecode

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 | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Apps to fight COVID-19

2020-04-12 Thread dsc--- via use-livecode
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.
>>> co...@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@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> 

Re: Apps to fight COVID-19

2020-04-12 Thread Dar Scott Consulting via use-livecode
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-...@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.
>> co...@4catalyzer.com 
>> 
>> Anybody want to talk about a containment game? Or 

Re: MP3s

2020-04-12 Thread Richard Gaskin via use-livecode

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
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sample Stacks tab in IDE is not functional

2020-04-12 Thread Richard Gaskin via use-livecode

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
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Sample Stacks tab in IDE is not functional

2020-04-12 Thread kee nethery via use-livecode
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



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Video format for mobile

2020-04-12 Thread Monte Goulding via use-livecode


> 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
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LiveCode useless seems to be Junk

2020-04-12 Thread dunbarx--- via use-livecode
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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: MP3s

2020-04-12 Thread Graham Samuel via use-livecode
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
> ahsoftw...@gmail.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Livecode and AWS Sql

2020-04-12 Thread matthias rebbe via use-livecode
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@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@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@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@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@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, 

Re: MP3s

2020-04-12 Thread Colin Holgate via use-livecode
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
> ahsoftw...@gmail.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: MP3s

2020-04-12 Thread Mark Wieder via use-livecode

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
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LiveCode useless seems to be Junk

2020-04-12 Thread Mark Wieder via use-livecode

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
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Livecode and AWS Sql

2020-04-12 Thread 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@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@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@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@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@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


LiveCode useless seems to be Junk

2020-04-12 Thread Richmond via use-livecode
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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: What is a token

2020-04-12 Thread Mark Wieder via use-livecode

A token is passed among nodes in a network to allow subway entry. :P

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: MP3s

2020-04-12 Thread Richmond via use-livecode

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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Livecode and AWS Sql

2020-04-12 Thread Skip Kimpel via use-livecode
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@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@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@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@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@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Livecode and AWS Sql

2020-04-12 Thread Skip Kimpel via use-livecode
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@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@lists.runrev.com> wrote:
> >
> >> Am 12.04.2020 um 01:11 schrieb Bob Sneidar via use-livecode <
> use-livecode@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@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@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@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Video format for mobile

2020-04-12 Thread J. Landman Gay via use-livecode

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 | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: MP3s

2020-04-12 Thread Richmond via use-livecode

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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


MP3s

2020-04-12 Thread Graham Samuel via use-livecode
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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: What is a token

2020-04-12 Thread Mark Wieder via use-livecode

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
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: What is a token

2020-04-12 Thread Bob Sneidar via use-livecode
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
> ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: What is a token

2020-04-12 Thread Mark Wieder via use-livecode

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
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Video format for mobile

2020-04-12 Thread Mark Waddingham via use-livecode

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 ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Livecode and AWS Sql

2020-04-12 Thread Bob Sneidar via use-livecode
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@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@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: What is a token

2020-04-12 Thread Bob Sneidar via use-livecode
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 ~ m...@livecode.com ~ http://www.livecode.com/
>> LiveCode: Everyone can create apps
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: What is a token

2020-04-12 Thread Bob Sneidar via use-livecode
:-) 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 ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: WebDAV library for LC community available which does not depend on tsNet

2020-04-12 Thread matthias rebbe via use-livecode
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@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Livecode and AWS Sql

2020-04-12 Thread matthias rebbe via use-livecode
> 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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Livecode and AWS Sql

2020-04-12 Thread matthias rebbe via use-livecode


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@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@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@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: What is a token

2020-04-12 Thread Mark Waddingham via use-livecode

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 ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode