Re: Find some text characters

2017-07-17 Thread Thierry Douez via use-livecode
2017-07-18 6:31 GMT+02:00 Peter Bogdanoff via use-livecode <
use-livecode@lists.runrev.com>:

> Thierry, I ended up using your first Regex example—works great!
>
> It is very good to know about \p{} matches—everything from Arabic to Yi.

That may come in handy later.
>
> Thanks,
>
> Peter
>
>
​Glad that you like it :)
​

> >> function testForChinese T
> >> ​xt​
> >> ​ -- any htmltext​
> >>   return matchText(
> >> ​Txt
> >> , "&#\d{5};")
> >> end testForChinese
>

​funny way to re-organize my 3 lines of code ???
Might be a Opera thing ???

should be read as:

function testForChinese Txt
return matchText( Txt, "&#\d{5};" )
end testForChinese



-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
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: Find some text characters

2017-07-17 Thread Peter Bogdanoff via use-livecode
Thierry, I ended up using your first Regex example—works great!

It is very good to know about \p{} matches—everything from Arabic to Yi. That 
may come in handy later.

Thanks,

Peter

> On Jul 17, 2017, at 8:54 PM, Thierry Douez via use-livecode 
>  wrote:
> 
> 2017-07-18 3:53 GMT+02:00 Thierry Douez :
> 
>> 
>>> I want to know if this data contains Chinese characters
>>> 
>>> Thanks for suggestions!
>>> 
>>> Peter Bogdanoff
>>> 
>>> 
>> ​Hi Peter,
>> 
> 
> 
> ​Ok, back after my second morning coffee :)
> 
> A better way to check for Chinese code points would be
> something like that (not tested and never used myself) :
> 
> 
> function testForChinese utf8Text
>   return matchText( utf8Text, "\p{Han}")
> end testForChinese
> 
> Of course, it won't work with  htmlText, but straight with
> the text of a field, assuming it's coded in UTF8 !!!
> 
> 
> HTH,
> 
> Thierry
> ​
> 
>> ​
>> ​Mmm, not sure you'll get *only* Chinese characters,
>> but at least any entity with only 5 numbers.
>> 
>> This function returns true if find any, false otherwise:
>> ​
>> function testForChinese T
>> ​xt​
>> ​ -- any htmltext​
>>   return matchText(
>> ​Txt
>> , "&#\d{5};")
>> end testForChinese
>> 
>> ​Regards,
>> 
>> Thierry​
>> 
> 
> 
> -- 
> 
> Thierry Douez - sunny-tdz.com
> sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
> ___
> 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: Find some text characters

2017-07-17 Thread Thierry Douez via use-livecode
2017-07-18 3:53 GMT+02:00 Thierry Douez :

>
>> I want to know if this data contains Chinese characters
>>
>> Thanks for suggestions!
>>
>> Peter Bogdanoff
>>
>>
> ​Hi Peter,
>


​Ok, back after my second morning coffee :)

A better way to check for Chinese code points would be
something like that (not tested and never used myself) :


function testForChinese utf8Text
   return matchText( utf8Text, "\p{Han}")
end testForChinese

Of course, it won't work with  htmlText, but straight with
the text of a field, assuming it's coded in UTF8 !!!


HTH,

Thierry
​

> ​
> ​Mmm, not sure you'll get *only* Chinese characters,
> but at least any entity with only 5 numbers.
>
> This function returns true if find any, false otherwise:
> ​
> function testForChinese T
> ​xt​
> ​ -- any htmltext​
>return matchText(
> ​Txt
> , "&#\d{5};")
> end testForChinese
>
> ​Regards,
>
> Thierry​
>


-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
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: intersect . . . invisible images

2017-07-17 Thread Jim Lambert via use-livecode

> Richmond wrote:
> 
> all the cheap American series... Oh, and, inevitably "Mission Impossible”.

Yesterday the actor Martin Landau, who appeared in that show, died at the age 
of 89.

Jim Lambert


___
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: Find some text characters

2017-07-17 Thread Thierry Douez via use-livecode
2017-07-17 23:40 GMT+02:00 Peter Bogdanoff via use-livecode <
use-livecode@lists.runrev.com>:

> Is there a easy way to do this?:
>
> Given this htmlText that may contain Chinese characters and/or some
> horizontal tabs—
>
> 			大胆的强
>
> I want to know if this data contains Chinese characters, that is an entity
> with 5 numbers between the “#” and the “;”
>
> Only data containing 5 numbers between the “#” and the “;” would return
> true. Having ONLY "	” but not the other would return false.
>
> Thanks for suggestions!
>
> Peter Bogdanoff
>
>
​Hi Peter,
​

​Mmm, not sure you'll get *only* Chinese characters,
but at least any entity with only 5 numbers.

This function returns true if find any, false otherwise:
​
function testForChinese T
​xt​
​ -- any htmltext​
   return matchText(
​Txt
, "&#\d{5};")
end testForChinese


​Regards,

Thierry​


-- 

Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
___
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: Find some text characters

2017-07-17 Thread Jonathan Lynch via use-livecode
Another way... just playing around

Replace tab with empty in tstring
Replace ";" with empty in tstring
Replace "#" with empty in tstring
Replace "&" with linefeed in tstring
Repeat for each line tLine in tstring 
If the number of chars in tLine = 5 then
Put tLine and linefeed after tList
End if
End repeat
Delete char -1 of tList

Sent from my iPhone

> On Jul 17, 2017, at 7:50 PM, jonathandly...@gmail.com wrote:
> 
> Another way, just for fun
> 
> Put empty into tnums 
> Repeat for each char tchar in tstring 
> 
> If isnumber(tchar) = true then
> Put tchar after tnums
> Else if tnums <> empty then
> If the number of chars in tnums = 5 then
> Put tnums & linefeed after tnumlist 
> End if
> Put empty into tnums
> End if
> End repeat
> 
> This should give a list of all 5 number sets
> 
> Sent from my iPhone
> 
>> On Jul 17, 2017, at 6:45 PM, dunbarx via use-livecode 
>>  wrote:
>> 
>> This cries out for regex.
>> 
>> Thierry?
>> 
>> 
>> 
>> --
>> View this message in context: 
>> http://runtime-revolution.278305.n4.nabble.com/Find-some-text-characters-tp4717138p4717143.html
>> Sent from the Revolution - User mailing list archive at Nabble.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: Find some text characters

2017-07-17 Thread Jonathan Lynch via use-livecode
Another way, just for fun

Put empty into tnums 
Repeat for each char tchar in tstring 

If isnumber(tchar) = true then
Put tchar after tnums
Else if tnums <> empty then
If the number of chars in tnums = 5 then
Put tnums & linefeed after tnumlist 
End if
Put empty into tnums
End if
End repeat

This should give a list of all 5 number sets

Sent from my iPhone

> On Jul 17, 2017, at 6:45 PM, dunbarx via use-livecode 
>  wrote:
> 
> This cries out for regex.
> 
> Thierry?
> 
> 
> 
> --
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/Find-some-text-characters-tp4717138p4717143.html
> Sent from the Revolution - User mailing list archive at Nabble.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: Find some text characters

2017-07-17 Thread dunbarx via use-livecode
This cries out for regex.

Thierry?



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Find-some-text-characters-tp4717138p4717143.html
Sent from the Revolution - User mailing list archive at Nabble.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: Find some text characters

2017-07-17 Thread Jonathan Lynch via use-livecode
Could replace tab with empty first, if the tabs do not matter in the final 
product

I imagine LC provides many ways to do this :)

Sent from my iPhone

> On Jul 17, 2017, at 6:20 PM, Niggemann, Bernd via use-livecode 
>  wrote:
> 
> 
> Given this htmlText that may contain Chinese characters and/or some horizontal
> tabs—
> 
> 			大胆的强
> 
> I want to know if this data contains Chinese characters, that is an entity 
> with
> 5 numbers between the “#” and the “;”
> 
> 
> 
> 
> according to google-translate this means "bold and strong"
> 
> maybe this is a way?
> 
> 
>   set the htmlText of field 1 to 
> "			大胆的强"
> 
>   put the number of truewords of field 1 into field 2
> 
>   set the itemDelimiter to tab
> 
>   put cr & the number of items of field 1 after field 2
> 
> still doesn't tell you if is numbers or not though
> 
> Kind regards
> Bernd
> 
> ___
> 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: Find some text characters

2017-07-17 Thread Niggemann, Bernd via use-livecode

Given this htmlText that may contain Chinese characters and/or some horizontal
tabs—

			大胆的强

I want to know if this data contains Chinese characters, that is an entity with
5 numbers between the “#” and the “;”




according to google-translate this means "bold and strong"

maybe this is a way?


   set the htmlText of field 1 to 
"			大胆的强"

   put the number of truewords of field 1 into field 2

   set the itemDelimiter to tab

   put cr & the number of items of field 1 after field 2

still doesn't tell you if is numbers or not though

Kind regards
Bernd

___
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: Find some text characters

2017-07-17 Thread Jonathan Lynch via use-livecode
If the number of chars in tItem = 8 then...

You always have three extra chars, so that should be right.

If you need an itemdelimiter, use "&" and check if the number of chars in each 
item = 7

Sent from my iPhone

> On Jul 17, 2017, at 5:40 PM, Peter Bogdanoff via use-livecode 
>  wrote:
> 
> Is there a easy way to do this?:
> 
> Given this htmlText that may contain Chinese characters and/or some 
> horizontal tabs—
> 
> 			大胆的强
> 
> I want to know if this data contains Chinese characters, that is an entity 
> with 5 numbers between the “#” and the “;”
> 
> Only data containing 5 numbers between the “#” and the “;” would return true. 
> Having ONLY "	” but not the other would return false. 
> 
> Thanks for suggestions!
> 
> Peter Bogdanoff
> ___
> 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: intersect . . . invisible images

2017-07-17 Thread Dr. Hawkins via use-livecode
On Mon, Jul 17, 2017 at 12:36 PM, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> These gave me an incredibly distorted view of American culture . . .


>
> After all the series all seemed to consist of John Wayne knock-offs
> walking around
> as if they had filled their underpants, men dressed up as odd-looking
> chimpanzees,
> or Peter Graves watching tape-recorders disappear in puffs of smoke in the
> backs of sleazy head shops.
>

What nonsense--we don't walk around looking as if our draws were just
filled!  Unless, that is, we were standing too close to one of the
participants at the daily high noon gunfight on main street, and got our
whiskers trimmed . . .

(and you've also tripped across the reason we invented CDs--it wasn't about
audio; we just got tired of buying new tape players each week . . .)
-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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


Find some text characters

2017-07-17 Thread Peter Bogdanoff via use-livecode
Is there a easy way to do this?:

Given this htmlText that may contain Chinese characters and/or some horizontal 
tabs—

			大胆的强

I want to know if this data contains Chinese characters, that is an entity with 
5 numbers between the “#” and the “;”

Only data containing 5 numbers between the “#” and the “;” would return true. 
Having ONLY "	” but not the other would return false. 

Thanks for suggestions!

Peter Bogdanoff
___
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: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread Monte Goulding via use-livecode

> On 17 Jul 2017, at 11:36 pm, Mark Waddingham via use-livecode 
>  wrote:
> 
> Okay, so having just read the form thread as well...
> 
> There are two things here:
> 
>  1) Bracket highlighting
> 
>  2) Bracket completion
> 
> They should both be preferences.
> 
> Secondly, both should really only function on 'real' tokens which are part of 
> script (hence why '{' isn't appropriate at this time for it to function on). 
> If you are typing a string or a comment then it shouldn't trigger completion 
> nor highlighting. This is actually quite hard to get right efficiently 
> (indeed, a lot of editors don't get this right, so I end up turning such 
> features off).


Actually it’s quite helpful within strings. Consider a string to be used with 
the merge function or just the likelihood of wanting a pair of brackets in a 
string rather than a single one. As for quotes as they are not valid within a 
string if you are typing one it’s highly likely you want two and to concatenate 
something between. For example:

put “foo baz”
— come along later and edit to
put “foo” && tBar && “baz”

There is already an autocomplete preference which the bracket completion and 
control structure completion checks but it’s currently not exposed in the IDE 
UI. Do we want fine grained control over which parts of autocompletion we want 
active? That could be confusing.

Bracket highlighting does need a color pref… I guess if this is empty it could 
turn it off entirely if people want that.

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: intersect . . . invisible images

2017-07-17 Thread Richmond Mathewson via use-livecode

My parents got a TV when I was 9 (1971), but, because they were educational
and social snobs did not allow me to watch anything except "nice" 
children's programmes

on the BBC (one of the presenters later went to prison for paedophilia).

I did not really get into TV until, oddly enough, I was shipped off to 
boarding school
 where I encountered all the cheap American series such as 'Planet of 
the Apes'
(the series - which I now own on DVD), "Alias Smith and Jones" and that 
one with Telly Savalas

sucking a lollipop, Oh, and, inevitably "Mission Impossible".

Plus loads of cowboy stuff.

These gave me an incredibly distorted view of American culture (as it 
did to many school kids
brought up inwith the British Isles in the 1970s) which was not 
completely wiped away by 3 years in
Carbondale, Illinois (with a few side trips to Pennsylvania and 
Connecticut).


My "high spot" was when I met a Sin-Eater in the Ozarks, in Arkansas.

One thing it did not do was tell me anything about an American sense of 
humour.


After all the series all seemed to consist of John Wayne knock-offs 
walking around
as if they had filled their underpants, men dressed up as odd-looking 
chimpanzees,
or Peter Graves watching tape-recorders disappear in puffs of smoke in 
the backs of sleazy head shops.


Actually, in Britain we had our own sort of 'Twilight Zone', also called 
'The 1970s' when nothing worked,
90% of everyone was on constant strike because the Labour Party couldn't 
keep the Unions happy,

and we had electricity cuts (Unions), the "Work to Rule" rubbish and so on.

After the 'Twilight Zone" we had "The Woman in The Blue Suit" who was 
neither better nor worse, only very, very different.


Then we had "The Man with No Face" . . . by which time I'd b*ggered off 
to more interesting places such as Egypt, Sweden,

Israel, the UAE, and just post-Commie Bulgaria.

However, I have watched 'ALF' at various times dubbed into 7 languages; 
but never in the original.


Not forgetting "Mein namen is Herr Bond."

Richmond.

On 7/17/17 8:52 pm, J. Landman Gay via use-livecode wrote:

On 7/17/17 2:56 AM, Richmond Mathewson via use-livecode wrote:

That's because Richmond doesn't share your sense of humour,
and never really could understand North American jokes . . .


In this case it's probably because you were either an infant or mostly 
just potential when the Twilight Zone series first aired. You are also 
at a disadvantage because it was American TV and I'm not sure if or 
when it was shown elsewhere.


"Little Girl Lost" involved a child that disappeared into another 
dimension through an invisible portal in her bedroom wall:




There are links on YouTube too. It wasn't my favorite episode but it's 
one of the classics.




___
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: postgres table query not getting all names

2017-07-17 Thread Dr. Hawkins via use-livecode
On Sun, Jul 16, 2017 at 12:25 PM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> If there is a built in function for getting the schema of the particular
> database, I would use that. For instance you can query sqLite master
> database for a list of tables using:
>

That's where I started, but getTableNames() frequently missed tables.
Adding my own query ws a self-defense.

I don't remember whether I reported this and the mothership couldn't
reproduce, or whether it clearly couldn't be reproduced.   Iirc, it only
affected postgres, and that my own function uses getTableNames() for mySQL

There is no possibility of allowing access to my database; confidential
information from far too many people.
-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: intersect . . . invisible images

2017-07-17 Thread J. Landman Gay via use-livecode

On 7/17/17 2:56 AM, Richmond Mathewson via use-livecode wrote:

That's because Richmond doesn't share your sense of humour,
and never really could understand North American jokes . . .


In this case it's probably because you were either an infant or mostly 
just potential when the Twilight Zone series first aired. You are also 
at a disadvantage because it was American TV and I'm not sure if or when 
it was shown elsewhere.


"Little Girl Lost" involved a child that disappeared into another 
dimension through an invisible portal in her bedroom wall:




There are links on YouTube too. It wasn't my favorite episode but it's 
one of the classics.


--
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: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread Mark Wieder via use-livecode

On 07/17/2017 05:33 AM, hh via use-livecode wrote:


The following compiles ;-)

on shouldn'tYouNotAppear?
answer "Just for fun: No."
end shouldn'tYouNotAppear?


I *do* use "?" trailers in the ruby sense for functions that return 
boolean values.

But double negatives? Eek!

--
 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: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread Mark Wieder via use-livecode

On 07/17/2017 03:41 AM, Mark Waddingham via use-livecode wrote:

On Purpose. '{' is not a valid LCS bracket - so it shouldn't be appear 
outside of strings.


I would find "{}" completion *inside* strings very useful in generating 
json key:value pairs.


--
 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: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread Mark Waddingham via use-livecode

On 2017-07-17 18:39, Mark Wieder via use-livecode wrote:

On 07/17/2017 03:41 AM, Mark Waddingham via use-livecode wrote:

Indeed, bracket completion has to ignore content of strings otherwise 
you can't write stuff like:


   put ( ")" & "'" ) & ( "'" ) into tVar

Without funky things happening.


...and with good reason. I can't think why I would *ever* write that.
If I had to do something that daft I'd write it as

put ")''" into tVar

but I would hope the occasion would never arise.


Indeed - it is a bit of tortuous example...

However cases of double quotes, single-quotes, un-balanced brackets, 
braces and parentheses all occur in various domains - most notably 
anything which processes or generates source-code.


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: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread Mark Wieder via use-livecode

On 07/17/2017 03:41 AM, Mark Waddingham via use-livecode wrote:

Indeed, bracket completion has to ignore content of strings otherwise 
you can't write stuff like:


   put ( ")" & "'" ) & ( "'" ) into tVar

Without funky things happening.


...and with good reason. I can't think why I would *ever* write that.
If I had to do something that daft I'd write it as

put ")''" into tVar

but I would hope the occasion would never arise.

--
 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 server, timeout and processes

2017-07-17 Thread Richard Gaskin via use-livecode

jbv wrote:

> A few days ago I ran into a severe problem with livecode server.
> A subtil and unexpected change in the way one of my clients inputs
> data via his app caused an endless loop to appear in one of the LC
> scripts on the server, which lead to a 504 Gateway Timeout error.
> As this script is called during a login procedure, it triggered
> pretty quickly a kind of chain reaction with many side effects :
> - many 504 Gateway Timeout errors in browsers
> - many 500 Internal server errors
> - huge slow down of the server
> - emails not sent/nor received in webmails
> - several other services unavailable due to server slowdown...
>
> All these problems were caused by the accumulation of livecode
> server processes on the server that kept running even if timeout
> errors were issued.
> As the source of the problem took a few hours to track down and
> to fix, we (on-rev support and I) had to kill dozens of processes
> manually to avoid any server crash.
>
> I know this might sound amateuristic to most of you, but nevertheless
> I was wondering if there is any way to prevent something like that,
> like for instance having all timedout processes to be killed
> automatically, or even better : avoiding any endless loop in the first
> place...

Without seeing the code it won't be possible to offer suggestions on 
prevention.


As for remedies, SSH is a must for server management.  I believe on-rev 
offers SSH access on request. Once you have direct access to the machine 
you can monitor processes and kill any errant ones.


--
 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: Correct img format for browser widget.

2017-07-17 Thread james--- via use-livecode
Hi Jonathan,

Cool.
Works a treat and no need for array.
Using a percentage also means I can allow the browser widget to be resized.
Very cool.


img {
   Max-width: 90%;
  }


James

On 17 Jul 2017, at 22:00, jonathandly...@gmail.com wrote:
> Just a quick note - you can set the max-width of images in CSS. That will 
> limit their size with just one line.


___
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: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread Mark Waddingham via use-livecode

On 2017-07-17 14:33, hh via use-livecode wrote:

Isn't this more a thing of editing only than of debugging/compiling?
The current completions occur also while I am typing inside of a 
string..


Okay, so having just read the form thread as well...

There are two things here:

  1) Bracket highlighting

  2) Bracket completion

They should both be preferences.

Secondly, both should really only function on 'real' tokens which are 
part of script (hence why '{' isn't appropriate at this time for it to 
function on). If you are typing a string or a comment then it shouldn't 
trigger completion nor highlighting. This is actually quite hard to get 
right efficiently (indeed, a lot of editors don't get this right, so I 
end up turning such features off).



on shouldn'tYouNotAppear?
   answer "Just for fun: No."
end shouldn'tYouNotAppear?


Heh - well ' was a bad example - its something we'd prefer wasn't 
allowed in identifiers as it means the token cannot be used for anything 
else (e.g. this stack's textColor). Similarly, the fact that '.' is also 
allowed in identifiers means that it could never be an operator (e.g. 
tRect.x).


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: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread hh via use-livecode
> Mark Waddingham wrote:
> On 2017-07-17 11:05, panagiotis merakos via use-livecode wrote:
> > @Hermann
> > I am not sure if "{}" were left out on purpose or not, I'll ask Monte.
> > However, if you want to add them, you have to:
> 
> On Purpose. '{' is not a valid LCS bracket - so it shouldn't be appear 
> outside of strings.
> Similarly, single-quote isn't a valid LCS token - so it shouldn't appear 
> outside of strings.
> Indeed, bracket completion has to ignore content of strings otherwise 
> you can't write stuff like:
>put ( ")" & "'" ) & ( "'" ) into tVar
> Without funky things happening.

Accepted that it's not there, of course.
But honestly, what I don't understand in your argumentation is:

Code completion doesn't force "{" or "'" to be outside of a string!?

Isn't this more a thing of editing only than of debugging/compiling?
The current completions occur also while I am typing inside of a string...

> single-quote isn't a valid LCS token - so it shouldn't appear outside
> of strings

The following compiles ;-)

on shouldn'tYouNotAppear?
   answer "Just for fun: No."
end shouldn'tYouNotAppear?


___
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: Correct img format for browser widget.

2017-07-17 Thread Jonathan Lynch via use-livecode
Hi James,

Just a quick note - you can set the max-width of images in CSS. That will limit 
their size with just one line.

Sent from my iPhone

> On Jul 16, 2017, at 11:42 PM, James Hale via use-livecode 
>  wrote:
> 
> Thank you so much Hermann and Jonathan
> 
> It took me a little time but I worked out what to do after looking at your 
> suggestions.
> 
> The fact that setting the htmltext of the browser widget breaks the img URL's 
> makes sense from a security and logical point of view.
> 
> I then tried Jonathan's technique of using the image data. 
> This worked a treat but for some files was quite slow on my larger files.
> e.g. one html had 200 images. It took some 20 secs for the browser to load.
> 
> So I thought I would try Hermann's later suggesting of just saving the file 
> as an html and setting the URL of the browser to it.
> The conversion from markdown left the img tags in the correct format for a 
> browser to locate the files.
> 
> After finding Trevor's function for correctly URL encoding the file name I 
> was able to successfully load the files into the browser widget and display 
> the images.
> The 200 image file loaded in less than a second which was good.
> 
> The final issue was the varying width of the images.
> I simply loaded an array keyed on the file names with a single value, image 
> width.
> I didn't want any widths greater than 800 pixels so a simply if statement set 
> all widths > 800 to 800
> Then a simple replace loop using the image size array "gimagescale"...
> repeat for each key ikey in gimagescale
> 
>replace ikey"e&" " with ikey"e&" width = 
> ""e&gimagescale[ikey]"e in nfile
> 
> end repeat
> 
> and the img tags were in a format I wanted.
> 
> Loading into the browser widget was fast and the images all fitted in the 
> browser's width.
> 
> Setting the htmltext of a field was my first choice. But the html of the 
> converted markdown docs was more than LC's htmltext function could handle.
> And to be honest, the browser's rendering looked better.
> Had the html been simpler, using a field would have been just as fast.
> 
> Anyway, my issue is resolved.
> 
> Thank you both again for your help.
> 
> James
> 
> 
> 
> 
> 
> 
> ___
> 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 crashing when I try to make a Mac standalone

2017-07-17 Thread Jonathan Lynch via use-livecode
Thank you Panos

Sent from my iPhone

> On Jul 14, 2017, at 7:07 AM, panagiotis merakos via use-livecode 
>  wrote:
> 
> Hi Jonathan,
> 
> You could:
> 
> 1. Type in the message box: "put true into grevdevelopment"
> 2. And then "edit the script of stack revsaveasstandalone"
> 3. Add breakpoints to the command "revSaveAsMacStandalone"
> 4. Save as standalone
> 5. The debugger should now stop at the first breakpoint
> 6. Click the "step over" button until you find the line that causes the
> crash
> 
> However, since LC should not crash, I would suggest you file a bug report
> and attach (or send to panos.mera...@livecode.com directly) the sample stack
> 
> Best regards,
> Panos
> --
> 
> On Fri, Jul 14, 2017 at 11:44 AM, Jonathan Lynch via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> I have tried this with 8.1.5 rc2, 8.1.5, and 8.1.6 rc1.
>> 
>> LiveCode unexpectedly quits while making the standalone. Sometimes it gets
>> far enough for the resulting app to function and sometimes it does not. The
>> resulting app does not appear to have the icon attached.
>> 
>> What are some things I should be checking for?
>> 
>> Sent from my iPhone
>> ___
>> 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: Correct img format for browser widget.

2017-07-17 Thread Jonathan Lynch via use-livecode
It sounds like the dataURL method costs about a tenth of a second per image, 
for moderately large images.

I had never tested that, but it's good to know. For my purposes right now, that 
is not an issue, but it could be for plenty of situations.


Sent from my iPhone

> On Jul 16, 2017, at 11:42 PM, James Hale via use-livecode 
>  wrote:
> 
> Thank you so much Hermann and Jonathan
> 
> It took me a little time but I worked out what to do after looking at your 
> suggestions.
> 
> The fact that setting the htmltext of the browser widget breaks the img URL's 
> makes sense from a security and logical point of view.
> 
> I then tried Jonathan's technique of using the image data. 
> This worked a treat but for some files was quite slow on my larger files.
> e.g. one html had 200 images. It took some 20 secs for the browser to load.
> 
> So I thought I would try Hermann's later suggesting of just saving the file 
> as an html and setting the URL of the browser to it.
> The conversion from markdown left the img tags in the correct format for a 
> browser to locate the files.
> 
> After finding Trevor's function for correctly URL encoding the file name I 
> was able to successfully load the files into the browser widget and display 
> the images.
> The 200 image file loaded in less than a second which was good.
> 
> The final issue was the varying width of the images.
> I simply loaded an array keyed on the file names with a single value, image 
> width.
> I didn't want any widths greater than 800 pixels so a simply if statement set 
> all widths > 800 to 800
> Then a simple replace loop using the image size array "gimagescale"...
> repeat for each key ikey in gimagescale
> 
> replace ikey"e&" " with ikey"e&" width = 
> ""e&gimagescale[ikey]"e in nfile
> 
> end repeat
> 
> and the img tags were in a format I wanted.
> 
> Loading into the browser widget was fast and the images all fitted in the 
> browser's width.
> 
> Setting the htmltext of a field was my first choice. But the html of the 
> converted markdown docs was more than LC's htmltext function could handle.
> And to be honest, the browser's rendering looked better.
> Had the html been simpler, using a field would have been just as fast.
> 
> Anyway, my issue is resolved.
> 
> Thank you both again for your help.
> 
> James
> 
> 
> 
> 
> 
> 
> ___
> 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


[ANN] This Week in LiveCode 91

2017-07-17 Thread panagiotis merakos via use-livecode
Hi all,

Read about new developments in LiveCode open source and the open source
community in today's edition of the "This Week in LiveCode" newsletter!

Read issue #91 here: https://goo.gl/kWftcT

This is a weekly newsletter about LiveCode, focussing on what's been
going on in and around the open source project. New issues will be
released weekly on Mondays. We have a dedicated mailing list that will
deliver each issue directly to you e-mail, so you don't miss any!

If you have anything you'd like mentioned (a project, a discussion
somewhere, an upcoming event) then please get in touch.


-- 
Panagiotis Merakos 
LiveCode Software Developer

Everyone Can Create Apps 
___
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 server, timeout and processes

2017-07-17 Thread jbv via use-livecode
Hello forum

A few days ago I ran into a severe problem with livecode server.
A subtil and unexpected change in the way one of my clients inputs
data via his app caused an endless loop to appear in one of the LC
scripts on the server, which lead to a 504 Gateway Timeout error.
As this script is called during a login procedure, it triggered
pretty quickly a kind of chain reaction with many side effects :
- many 504 Gateway Timeout errors in browsers
- many 500 Internal server errors
- huge slow down of the server
- emails not sent/nor received in webmails
- several other services unavailable due to server slowdown...

All these problems were caused by the accumulation of livecode
server processes on the server that kept running even if timeout
errors were issued.
As the source of the problem took a few hours to track down and
to fix, we (on-rev support and I) had to kill dozens of processes
manually to avoid any server crash.

I know this might sound amateuristic to most of you, but nevertheless
I was wondering if there is any way to prevent something like that,
like for instance having all timedout processes to be killed
automatically, or even better : avoiding any endless loop in the first
place...

Thanks in advance.
jbv



___
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: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread Mark Waddingham via use-livecode

On 2017-07-17 11:05, panagiotis merakos via use-livecode wrote:

@Hermann

I am not sure if "{}" were left out on purpose or not, I'll ask Monte.
However, if you want to add them, you have to:


On Purpose. '{' is not a valid LCS bracket - so it shouldn't be appear 
outside of strings.


Similarly, single-quote isn't a valid LCS token - so it shouldn't appear 
outside of strings.


Indeed, bracket completion has to ignore content of strings otherwise 
you can't write stuff like:


  put ( ")" & "'" ) & ( "'" ) into tVar

Without funky things happening.

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: intersect . . . invisible images

2017-07-17 Thread Richmond Mathewson via use-livecode

That's very powerful imagery; Thanks.

Richmond.

On 7/17/17 1:26 pm, Roger Eller via use-livecode wrote:

On Jul 14, 2017 6:01 AM, "Richmond Mathewson via use-livecode" <
use-livecode@lists.runrev.com> wrote:

It does seem illogical that while one can set levels of transparency with

interset

an image can continue intersecting with another when it is, supposedly,

invisible . . .

Certainly, having to explain THAT to children is going to make them take

an even

more dim view of adults than I hope they do already.

Best, Richmond.


An invisible image is like the wind.  When you intersect with it, you can
feel it and know it's there.  Adding dust particles to the wind is like
setting it's visible property to true.

~Roger
___
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: intersect . . . invisible images

2017-07-17 Thread Roger Eller via use-livecode
On Jul 14, 2017 6:01 AM, "Richmond Mathewson via use-livecode" <
use-livecode@lists.runrev.com> wrote:
>
> It does seem illogical that while one can set levels of transparency with
interset
> an image can continue intersecting with another when it is, supposedly,
invisible . . .
>
> Certainly, having to explain THAT to children is going to make them take
an even
> more dim view of adults than I hope they do already.
>
> Best, Richmond.
>

An invisible image is like the wind.  When you intersect with it, you can
feel it and know it's there.  Adding dust particles to the wind is like
setting it's visible property to true.

~Roger
___
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: intersect . . . invisible images

2017-07-17 Thread Richmond Mathewson via use-livecode

Thank you very much indeed: although I will NOT show that to
the teenagers here.

Richmond.

On 7/17/17 12:13 pm, Lagi Pittas via use-livecode wrote:

Hi,


I Didn't laugh or smile at that (not because it wasn't funny) but because
it didn't have the same effect as when as a teenager I first heard it on
the Parkinson show in the mid 70s from Billy Connolly.

I just went onto youtube and guess what I still laughed at the original
which is very different (more morbid) except for the punchline

It also has to do with the "infectious laughter" of the audience. You laugh
louder in the Cinema than when at home watching the same film by yourself -
The Black Knight in Monty Python & the Holy Grail anyone?

Here is the original in all its glory (?)

https://www.youtube.com/watch?v=Slw08b3bHFE

Regards Lagi

On 17 July 2017 at 09:47, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:


You have NOTHING to apologise for:

I never thought the jokes were against me (which they weren't);
although, to be honest, I only wear 2 socks when I'm wearing my kilt,
although, right now, as it is high summer here in Bulgaria, I am wearing
my kilt
with NO socks, just a pair of open-toed sandals . . .

What I stated was " . . . doesn't share your sense of humour",
and you, as a non-native speaker must be very well aware of how
culturally dependent jokes are.

Here in Bulgaria, although I speak Bulgarian reasonably well,
I tend to avoid attempting jokes as they always misfire, or people
laugh politely and I am filled with self-doubt.

My wife, who is Bulgarian, and I have been married for some 26 years,
and she still does not find most of my jokes funny; even those that have
my people in stitches with laughter. She finds my black humour
actively offensive . . .

  . . . let's try a wee experiment:

- Trauma Alert: potentially highly offensive joke approaching: if you
are of a sensitive
disposition go and feed the cat --

I went to see a friend of mine who is the secretary of the local
bicyclists club.
He told me that his wife had died, and because he had no money to pay for
her to be buried in a graveyard he'd buried her in the garden.

He then took me into the garden to see his wife's grave. Her bare bottom
was sticking
up out of the ground. I asked him why this was.

He replied that he needed somewhere to park his bike.

-- You can come back now -

Now I was told that by my older son, Alexander, who stays in Munich.
He found it very funny, as did his Music Professor (who told it to him)
who is German.

My wife found it foul and tasteless (well, it IS tasteless).

-- Re: intersect . . . invisible images --

Very many people, moving to another country INTERSECT with various
aspects of the culture of the new country they are in, and are unaware
of the INVISIBLE components until they suffer the hard knocks.

Moving from Scotland to England, or the other way round, there's probably
a blendLevel of about 25%

Between Britain and Canada/USA a blendLevel of about 50%

Between all those countries and the Islamic world about 90% (this, in case
we are aware of the terrible consequences).

Having worked in 17 countries with a variety of overlapping and
non-overlapping cultural tropes
experience teaches me to be 100% opaque at all times.



Anyway, people have been making jokes on this Use-List at my expense for
ages; but my ego
is so big I just bathe in the light of attention :)

Love, Richmond.

On 7/17/17 11:18 am, hh via use-livecode wrote:


Richmond M. wrote:

That's because Richmond doesn't share your sense of humour,
and never really could understand North American jokes . . .


As I read this thread (as a non-native speaker), none of the jokes
was against you as person. And mine was based on a very old forum
thread connected to a sock in the sense of the irish "seven drunken
nights".

Some of the misunderstanding may be due to the fact that you, being
a linguist, are deeper in the meaning of some wording and phrasing
than others.

At any rate: Sorry from me.


___
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 

Re: intersect . . . invisible images

2017-07-17 Thread Lagi Pittas via use-livecode
Hi,


I Didn't laugh or smile at that (not because it wasn't funny) but because
it didn't have the same effect as when as a teenager I first heard it on
the Parkinson show in the mid 70s from Billy Connolly.

I just went onto youtube and guess what I still laughed at the original
which is very different (more morbid) except for the punchline

It also has to do with the "infectious laughter" of the audience. You laugh
louder in the Cinema than when at home watching the same film by yourself -
The Black Knight in Monty Python & the Holy Grail anyone?

Here is the original in all its glory (?)

https://www.youtube.com/watch?v=Slw08b3bHFE

Regards Lagi

On 17 July 2017 at 09:47, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:

> You have NOTHING to apologise for:
>
> I never thought the jokes were against me (which they weren't);
> although, to be honest, I only wear 2 socks when I'm wearing my kilt,
> although, right now, as it is high summer here in Bulgaria, I am wearing
> my kilt
> with NO socks, just a pair of open-toed sandals . . .
>
> What I stated was " . . . doesn't share your sense of humour",
> and you, as a non-native speaker must be very well aware of how
> culturally dependent jokes are.
>
> Here in Bulgaria, although I speak Bulgarian reasonably well,
> I tend to avoid attempting jokes as they always misfire, or people
> laugh politely and I am filled with self-doubt.
>
> My wife, who is Bulgarian, and I have been married for some 26 years,
> and she still does not find most of my jokes funny; even those that have
> my people in stitches with laughter. She finds my black humour
> actively offensive . . .
>
>  . . . let's try a wee experiment:
>
> - Trauma Alert: potentially highly offensive joke approaching: if you
> are of a sensitive
> disposition go and feed the cat --
>
> I went to see a friend of mine who is the secretary of the local
> bicyclists club.
> He told me that his wife had died, and because he had no money to pay for
> her to be buried in a graveyard he'd buried her in the garden.
>
> He then took me into the garden to see his wife's grave. Her bare bottom
> was sticking
> up out of the ground. I asked him why this was.
>
> He replied that he needed somewhere to park his bike.
>
> -- You can come back now -
>
> Now I was told that by my older son, Alexander, who stays in Munich.
> He found it very funny, as did his Music Professor (who told it to him)
> who is German.
>
> My wife found it foul and tasteless (well, it IS tasteless).
>
> -- Re: intersect . . . invisible images --
>
> Very many people, moving to another country INTERSECT with various
> aspects of the culture of the new country they are in, and are unaware
> of the INVISIBLE components until they suffer the hard knocks.
>
> Moving from Scotland to England, or the other way round, there's probably
> a blendLevel of about 25%
>
> Between Britain and Canada/USA a blendLevel of about 50%
>
> Between all those countries and the Islamic world about 90% (this, in case
> we are aware of the terrible consequences).
>
> Having worked in 17 countries with a variety of overlapping and
> non-overlapping cultural tropes
> experience teaches me to be 100% opaque at all times.
>
> 
>
> Anyway, people have been making jokes on this Use-List at my expense for
> ages; but my ego
> is so big I just bathe in the light of attention :)
>
> Love, Richmond.
>
> On 7/17/17 11:18 am, hh via use-livecode wrote:
>
>> Richmond M. wrote:
>>> That's because Richmond doesn't share your sense of humour,
>>> and never really could understand North American jokes . . .
>>>
>> As I read this thread (as a non-native speaker), none of the jokes
>> was against you as person. And mine was based on a very old forum
>> thread connected to a sock in the sense of the irish "seven drunken
>> nights".
>>
>> Some of the misunderstanding may be due to the fact that you, being
>> a linguist, are deeper in the meaning of some wording and phrasing
>> than others.
>>
>> At any rate: Sorry from me.
>>
>>
>> ___
>> 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: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread panagiotis merakos via use-livecode
@Hermann

I am not sure if "{}" were left out on purpose or not, I'll ask Monte.
However, if you want to add them, you have to:

0. Open the script of an object (needed for loading the SE behaviors
1. Type in the msg box:

edit the script of stack "com.livecode.scripteditor.behavior.editorcommon"
at 2968

2. Add the lines

case "{"
   put "}" into tCompletionChar

3. Click Apply

Note: If you want the changes to be saved permanently you either have to
change the permissions of the LC .app bundle (currently they are
read-only), OR open this file (Toolset/palettes/script
editor/behaviors/revsecommoneditorbehavior.livecodescript
)
with an external Text editor as admin and save those changes.

@Richmond
>Mayhap it could be made an option adjustable in the Script Editor
section of the Preferences?

Yes, this will make everyone happy, although I personally find this feature
*really* useful.

Best, Panos
--




On Mon, Jul 17, 2017 at 8:59 AM, hh via use-livecode <
use-livecode@lists.runrev.com> wrote:

> > Panos M. wrote:
> > Script Editor: Support for auto completion of square bracket `[`,
> > parenthesis `(` or double quote `"` is now added.
>
> After writing a long script I really like this feature and miss it
> already in LC 8.1.6.
>
> I wonder what's the reason to leave out braces "{}" (may be needed for
> connecting to LCB) and single quotes (good for writing an already quoted
> javascript string)?
>
> ___
> 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: intersect . . . invisible images

2017-07-17 Thread Richmond Mathewson via use-livecode

You have NOTHING to apologise for:

I never thought the jokes were against me (which they weren't);
although, to be honest, I only wear 2 socks when I'm wearing my kilt,
although, right now, as it is high summer here in Bulgaria, I am wearing 
my kilt

with NO socks, just a pair of open-toed sandals . . .

What I stated was " . . . doesn't share your sense of humour",
and you, as a non-native speaker must be very well aware of how
culturally dependent jokes are.

Here in Bulgaria, although I speak Bulgarian reasonably well,
I tend to avoid attempting jokes as they always misfire, or people
laugh politely and I am filled with self-doubt.

My wife, who is Bulgarian, and I have been married for some 26 years,
and she still does not find most of my jokes funny; even those that have
my people in stitches with laughter. She finds my black humour
actively offensive . . .

 . . . let's try a wee experiment:

- Trauma Alert: potentially highly offensive joke approaching: if 
you are of a sensitive

disposition go and feed the cat --

I went to see a friend of mine who is the secretary of the local 
bicyclists club.

He told me that his wife had died, and because he had no money to pay for
her to be buried in a graveyard he'd buried her in the garden.

He then took me into the garden to see his wife's grave. Her bare bottom 
was sticking

up out of the ground. I asked him why this was.

He replied that he needed somewhere to park his bike.

-- You can come back now -

Now I was told that by my older son, Alexander, who stays in Munich.
He found it very funny, as did his Music Professor (who told it to him)
who is German.

My wife found it foul and tasteless (well, it IS tasteless).

-- Re: intersect . . . invisible images --

Very many people, moving to another country INTERSECT with various
aspects of the culture of the new country they are in, and are unaware
of the INVISIBLE components until they suffer the hard knocks.

Moving from Scotland to England, or the other way round, there's 
probably a blendLevel of about 25%


Between Britain and Canada/USA a blendLevel of about 50%

Between all those countries and the Islamic world about 90% (this, in 
case we are aware of the terrible consequences).


Having worked in 17 countries with a variety of overlapping and 
non-overlapping cultural tropes

experience teaches me to be 100% opaque at all times.



Anyway, people have been making jokes on this Use-List at my expense for 
ages; but my ego

is so big I just bathe in the light of attention :)

Love, Richmond.

On 7/17/17 11:18 am, hh via use-livecode wrote:

Richmond M. wrote:
That's because Richmond doesn't share your sense of humour,
and never really could understand North American jokes . . .

As I read this thread (as a non-native speaker), none of the jokes
was against you as person. And mine was based on a very old forum
thread connected to a sock in the sense of the irish "seven drunken
nights".

Some of the misunderstanding may be due to the fact that you, being
a linguist, are deeper in the meaning of some wording and phrasing
than others.

At any rate: Sorry from me.


___
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: intersect . . . invisible images

2017-07-17 Thread hh via use-livecode
> Richmond M. wrote:
> That's because Richmond doesn't share your sense of humour,
> and never really could understand North American jokes . . .

As I read this thread (as a non-native speaker), none of the jokes
was against you as person. And mine was based on a very old forum
thread connected to a sock in the sense of the irish "seven drunken
nights".

Some of the misunderstanding may be due to the fact that you, being
a linguist, are deeper in the meaning of some wording and phrasing
than others.

At any rate: Sorry from me.


___
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: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread Richmond Mathewson via use-livecode

Not universally popular:

http://forums.livecode.com/viewtopic.php?f=8&t=29505

Mayhap it could be made an option adjustable in the Script Editor 
section of the Preferences?


Richmond.


On 7/17/17 10:59 am, hh via use-livecode wrote:

Panos M. wrote:
Script Editor: Support for auto completion of square bracket `[`,
parenthesis `(` or double quote `"` is now added.

After writing a long script I really like this feature and miss it
already in LC 8.1.6.

I wonder what's the reason to leave out braces "{}" (may be needed for
connecting to LCB) and single quotes (good for writing an already quoted
javascript string)?

___
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: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread hh via use-livecode
> Panos M. wrote:
> Script Editor: Support for auto completion of square bracket `[`,
> parenthesis `(` or double quote `"` is now added.

After writing a long script I really like this feature and miss it
already in LC 8.1.6.

I wonder what's the reason to leave out braces "{}" (may be needed for
connecting to LCB) and single quotes (good for writing an already quoted
javascript string)?

___
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: intersect . . . invisible images

2017-07-17 Thread Richmond Mathewson via use-livecode

That's because Richmond doesn't share your sense of humour,
and never really could understand North American jokes . . .

R.

On 7/17/17 10:40 am, hh via use-livecode wrote:

JLG wrote:
Has anyone noticed that since we hijacked this thread, Richmond has
disappeared?

He has the lost sock, because men wearing kilts have three woollen socks.

(Sorry, if you laugh now, one minute later, you are wrong. They simply have
a spare sock with them, just like a good car has a spare wheel attached.)

___
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: intersect . . . invisible images

2017-07-17 Thread hh via use-livecode
> JLG wrote:
> Has anyone noticed that since we hijacked this thread, Richmond has 
> disappeared?

He has the lost sock, because men wearing kilts have three woollen socks.

(Sorry, if you laugh now, one minute later, you are wrong. They simply have
a spare sock with them, just like a good car has a spare wheel attached.)

___
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