Re: Times ARE changing

2020-06-06 Thread Richmond via use-livecode
My best friend (in fact the only friend that has been consistently my 
friend for 58 years), Rohit Das, who was
born in Scotland in the same hospital as me, has Indian parents (and, in 
fact, he bides in India just now),
used to read Little Black Sambo with me, and we used to laugh together. 
We also went through all of Angela Banner's

other books in that series about Black Jumbo, Black Mumbo and so on.

Now my friend's skin is the same colour as that of Little Black Sambo. 
Neither he nor I (I was red-haired and
pink) were ever consious that we were laughing at anything promoting 
racial stereotypes. I remember I told my
Mum that I wanted to climb up a tree to see if that would attract tigers 
that would turn into butter.


I own the complete set of Angela Banner's books and fully intend to read 
them to any grandchildren who come along.
This could be fun as my younger son (3/8 Bulgarian, 1/8 Albanian, 3/8 
Scots, 1/8 English) looks set to marry a
wonderful young lady from California (1/2 Taiwan Chinese, 1/4 Jamaican 
Chinese, 1/4 Chigro); in all probability

producing kids that I will love to bits.

When I was 2 I asked my Mum what was wrong with me because my skin was 
not black like Rohit's.


If some of these types who go on endlessly about anything that might be 
vaguely construed as 'racist' were capable of
slightly more subtle thought they might examine intentions: after all if 
we all judged people on what they looked like most

of us would be out of a job and starving.

On 6.06.20 23:29, PEL via use-livecode wrote:

Children,

As you all remember, I did a lot of work with a certain nation-wide restaurant chain 
 in the 80s. 
I ate cherry pancakes at over 300 locations - including the original in Santa 
Barbara. I knew both “Sam” and “Bo”.

Back then the company fought fiercely to protect the name - which was composed 
of the founders: Sam Battistone and Newell “Bo” Bohnet. They pointed out, 
correctly, that “Little Black Sambo” was Indian, not African. And it was 
obvious that most protesters had not “read” the book.

Yet, recognizing that in our fact-free age, image counts a lot, the kids have 
made a good move. I think Sam and Bo would understand.

Suddenly I’m hungry for cherry pancakes… Road Trip to Santa Barbara, anyone?

Dad
___
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: Times ARE changing

2020-06-06 Thread Paul Looney via use-livecode
Correct. Sorry.

> On Jun 6, 2020, at 2:04 PM, doc hawk via use-livecode 
>  wrote:
> 
> I don’t think this went whereto meant :)

___
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: Times ARE changing

2020-06-06 Thread doc hawk via use-livecode

On Jun 6, 2020, at 1:29 PM, PEL via use-livecode 
 wrote:

>  They pointed out, correctly, that “Little Black Sambo” was Indian, not 
> African. And it was obvious that most protesters had not “read” the book.


I don’t think this went whereto meant :)

However, skids, we thought Sambo was cool, and admired outwitting the tiger .. 
. . 
___
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


Times ARE changing

2020-06-06 Thread PEL via use-livecode
Children,

As you all remember, I did a lot of work with a certain nation-wide restaurant 
chain  in 
the 80s. I ate cherry pancakes at over 300 locations - including the original 
in Santa Barbara. I knew both “Sam” and “Bo”.

Back then the company fought fiercely to protect the name - which was composed 
of the founders: Sam Battistone and Newell “Bo” Bohnet. They pointed out, 
correctly, that “Little Black Sambo” was Indian, not African. And it was 
obvious that most protesters had not “read” the book.

Yet, recognizing that in our fact-free age, image counts a lot, the kids have 
made a good move. I think Sam and Bo would understand.

Suddenly I’m hungry for cherry pancakes… Road Trip to Santa Barbara, anyone?

Dad
___
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: Scrolling jitter

2020-06-06 Thread Ralph DiMola via use-livecode
No I did not set either of those. In fact they are all created dynamically
every time the card is opened. Now that you mention it I don't even set any
scrolling modes. Create master group, create sub groups , put in fields and
images in to sub groups and let er rip. Maybe my stuff is not complex enough
to be a problem?

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of J. Landman Gay via use-livecode
Sent: Saturday, June 06, 2020 1:43 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: RE: Scrolling jitter

Actually, did you adjust any of the default values like tilesize or
compositorCacheLimit? I wonder if that would help.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software |
http://www.hyperactivesw.com On June 6, 2020 12:16:46 PM "J. Landman Gay via
use-livecode" 
 wrote:

> Thanks. On my test devices I see a very slight stutter but it's barely 
> noticeable. Apparently on other devices it's worse. I am not using 
> container mode since I only have a single field in each case enclosed 
> by a scrolling group.
>
> I guess there's nothing I can do about it.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software 
> | http://www.hyperactivesw.com On June 6, 2020 12:05:21 PM Ralph 
> DiMola via use-livecode  wrote:
>
>> I am not getting jitters on either mobile platform using native scroller.
>> Scrolling is very smooth. I have 10 or so groups(variable) in a 
>> containing group with 1 or more fields that are clickable. One of the 
>> inner groups contains a small image. I have not seen this or received 
>> complaints. I do get complaints that while scrolling sometimes the 
>> fields mouseup handlers trigger unintentionally. I guess I should put 
>> in a timer to ignore the mouseUPs until a short time after the 
>> scrolling stops. Android is most affected. iOS rarely has this issue.
>>
>> Ralph DiMola
>> IT Director
>> Evergreen Information Services
>> rdim...@evergreeninfo.net
>>
>> -Original Message-
>> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On 
>> Behalf Of J. Landman Gay via use-livecode
>> Sent: Friday, June 05, 2020 6:27 PM
>> To: How to use LiveCode
>> Cc: J. Landman Gay
>> Subject: Re: Scrolling jitter
>>
>> On 6/4/20 2:49 PM, J. Landman Gay via use-livecode wrote:
>>> On 6/4/20 2:22 PM, J. Landman Gay via use-livecode wrote:
 So far I've had two complaints from Android users that scrolling 
 fields in our app are jittering when scrolled. Every field that 
 needs to
>> scroll is set up identically:

 Field expanded to full formattedheight Enclosing (shorter) group is 
 unadorned Group is set to scrolling layermode AcceleratedRendering 
 is set to true (on launch, and remains unchanged throughout)

 But when I check the "effective layermode" I get "static". Why?

>>>
>>> Update: that was in IDE and acceleratedRendering wasn't turned on 
>>> there. However, it is set to true on mobile and that's where the 
>>> jitter
>> happens.
>>>
>>> Anything else I can do about that?
>>
>> Today's feedback: It also jitters on iOS. Migraine-inducing. Do 
>> people think this is a serious issue or is it likely to remain like that
for a long time?
>>
>> Does anyone else see significant issues with native scrollers on 
>> either mobile platform? LC 9.6.
>>
>> --
>> 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
>>
>>
>> ___
>> 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: Unicode and languages

2020-06-06 Thread Jim Lambert via use-livecode
Not LC native but take a look at Google Translate API 


Jim Lambert

> Language detection
> When you don’t know your source text language — for instance, in 
> user-generated content that doesn’t include a language code — our translation 
> products automatically identify languages with high accuracy.
___
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: Scrolling jitter

2020-06-06 Thread J. Landman Gay via use-livecode
Actually, did you adjust any of the default values like tilesize or 
compositorCacheLimit? I wonder if that would help.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On June 6, 2020 12:16:46 PM "J. Landman Gay via use-livecode" 
 wrote:



Thanks. On my test devices I see a very slight stutter but it's barely
noticeable. Apparently on other devices it's worse. I am not using
container mode since I only have a single field in each case enclosed by a
scrolling group.

I guess there's nothing I can do about it.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On June 6, 2020 12:05:21 PM Ralph DiMola via use-livecode
 wrote:


I am not getting jitters on either mobile platform using native scroller.
Scrolling is very smooth. I have 10 or so groups(variable) in a containing
group with 1 or more fields that are clickable. One of the inner groups
contains a small image. I have not seen this or received complaints. I do
get complaints that while scrolling sometimes the fields mouseup handlers
trigger unintentionally. I guess I should put in a timer to ignore the
mouseUPs until a short time after the scrolling stops. Android is most
affected. iOS rarely has this issue.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of J. Landman Gay via use-livecode
Sent: Friday, June 05, 2020 6:27 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Scrolling jitter

On 6/4/20 2:49 PM, J. Landman Gay via use-livecode wrote:

On 6/4/20 2:22 PM, J. Landman Gay via use-livecode wrote:

So far I've had two complaints from Android users that scrolling
fields in our app are jittering when scrolled. Every field that needs to

scroll is set up identically:


Field expanded to full formattedheight Enclosing (shorter) group is
unadorned Group is set to scrolling layermode AcceleratedRendering is
set to true (on launch, and remains unchanged throughout)

But when I check the "effective layermode" I get "static". Why?



Update: that was in IDE and acceleratedRendering wasn't turned on
there. However, it is set to true on mobile and that's where the jitter

happens.


Anything else I can do about that?


Today's feedback: It also jitters on iOS. Migraine-inducing. Do people think
this is a serious issue or is it likely to remain like that for a long time?

Does anyone else see significant issues with native scrollers on either
mobile platform? LC 9.6.

--
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


___
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: Scrolling jitter

2020-06-06 Thread J. Landman Gay via use-livecode
Thanks. On my test devices I see a very slight stutter but it's barely 
noticeable. Apparently on other devices it's worse. I am not using 
container mode since I only have a single field in each case enclosed by a 
scrolling group.


I guess there's nothing I can do about it.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On June 6, 2020 12:05:21 PM Ralph DiMola via use-livecode 
 wrote:



I am not getting jitters on either mobile platform using native scroller.
Scrolling is very smooth. I have 10 or so groups(variable) in a containing
group with 1 or more fields that are clickable. One of the inner groups
contains a small image. I have not seen this or received complaints. I do
get complaints that while scrolling sometimes the fields mouseup handlers
trigger unintentionally. I guess I should put in a timer to ignore the
mouseUPs until a short time after the scrolling stops. Android is most
affected. iOS rarely has this issue.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of J. Landman Gay via use-livecode
Sent: Friday, June 05, 2020 6:27 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Scrolling jitter

On 6/4/20 2:49 PM, J. Landman Gay via use-livecode wrote:

On 6/4/20 2:22 PM, J. Landman Gay via use-livecode wrote:

So far I've had two complaints from Android users that scrolling
fields in our app are jittering when scrolled. Every field that needs to

scroll is set up identically:


Field expanded to full formattedheight Enclosing (shorter) group is
unadorned Group is set to scrolling layermode AcceleratedRendering is
set to true (on launch, and remains unchanged throughout)

But when I check the "effective layermode" I get "static". Why?



Update: that was in IDE and acceleratedRendering wasn't turned on
there. However, it is set to true on mobile and that's where the jitter

happens.


Anything else I can do about that?


Today's feedback: It also jitters on iOS. Migraine-inducing. Do people think
this is a serious issue or is it likely to remain like that for a long time?

Does anyone else see significant issues with native scrollers on either
mobile platform? LC 9.6.

--
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


___
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: Scrolling jitter

2020-06-06 Thread Ralph DiMola via use-livecode
I am not getting jitters on either mobile platform using native scroller.
Scrolling is very smooth. I have 10 or so groups(variable) in a containing
group with 1 or more fields that are clickable. One of the inner groups
contains a small image. I have not seen this or received complaints. I do
get complaints that while scrolling sometimes the fields mouseup handlers
trigger unintentionally. I guess I should put in a timer to ignore the
mouseUPs until a short time after the scrolling stops. Android is most
affected. iOS rarely has this issue. 

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of J. Landman Gay via use-livecode
Sent: Friday, June 05, 2020 6:27 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Scrolling jitter

On 6/4/20 2:49 PM, J. Landman Gay via use-livecode wrote:
> On 6/4/20 2:22 PM, J. Landman Gay via use-livecode wrote:
>> So far I've had two complaints from Android users that scrolling 
>> fields in our app are jittering when scrolled. Every field that needs to
scroll is set up identically:
>>
>> Field expanded to full formattedheight Enclosing (shorter) group is 
>> unadorned Group is set to scrolling layermode AcceleratedRendering is 
>> set to true (on launch, and remains unchanged throughout)
>>
>> But when I check the "effective layermode" I get "static". Why?
>>
> 
> Update: that was in IDE and acceleratedRendering wasn't turned on 
> there. However, it is set to true on mobile and that's where the jitter
happens.
> 
> Anything else I can do about that?

Today's feedback: It also jitters on iOS. Migraine-inducing. Do people think
this is a serious issue or is it likely to remain like that for a long time?

Does anyone else see significant issues with native scrollers on either
mobile platform? LC 9.6.

-- 
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


___
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: Unicode and languages

2020-06-06 Thread Alex Tweedly via use-livecode
If you simply need to protect users in the scenario you describe, then 
you could try a simple heuristic


 - extract the first 100 (200? - 500?) characters (or first 20 words)

 - spell check that

 - if there are more than 10 (20? - 50??) spelling errors then flag it 
as a likely language mismatch.

 - and if not, proceed to do the spellcheck.

Adjust the numbers until it gives protection without too many false 
positives.


Alex.

On 05/06/2020 18:15, Paul Dupuis via use-livecode wrote:
In all the added stuff the LC7 and higher Unicode engine includes, is 
there any way to determine the LANGUAGE of a range of text?


USE-CASE

We have a tool that helps researchers transcribe text from digital 
media. It is used internationally. We have added spell checking using 
lclSpell form Live Code Labs, a LiveCode store add-on.


For lclSpell, we only have Dictionaries for a small set of languages. 
You can build you own Dictionaries for lclSpell, but we'll still only 
have Dictionaries for a small subset of the languages people 
transcribe in. We also have people who do BOTH transcription AND 
translations.


For example, transcribing a Chinese language media recording, typing 
in the Simplified or Traditional Chinese characters AND then translate 
it to English, typing the English translation after the transcription.


With lclSpell (or I suspect ANY LiveCode compatible spell checker) if 
you try to spell check a reasonably large chunk of text that is NOT in 
the same language as your Dictionary, it ties up LiveCode forever, or 
at least such a long time and most people would force-quit. It is 
after all marking every word as misspelled and trying to do whatever 
it does to determine  that.


Now, you can react, that the researcher should just KNOW better than 
to do Spell check a text in a language that is not their loaded 
Dictionary! However, people are people, and will do such things and 
expect software to protect them from their own mistakes. Also, with 
mixed transcription and translation, you do want to spell check the 
English part and skip the Chinese (if you do not have a Chinese 
Dictionary)


So, we're looking for a way to detect the LANGUAGE of a range of text, 
in a LiveCode field, to be able to then determine whether it matches 
the current (or any available) dictionary or not and act accordingly.


There is a "fontLanguage" function in LC, but that seem to predate 
Unicode Everywhere and seem pretty useless now.


For example. in a new stack, with a single scrolling field, we paste 
in a Chinese text and then execute:


put the fontLanguage of (the effective textfont of char 1 to -1 of fld 1)

and get "ansi". Even you you set the range (char 2 to 3) that is 
specifically Chinese (no white space), it still returns "ansi". The 
textFont returns empty and the effective textFont returns "Segue UI"


I don't even know if language exists in the IBM Unicode engine as some 
exportable property a future version of LiveCode could expose.


Any clever ideas or thoughts on this problem are welcome.



___
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