Re: Can I copy a card from one stack to another?

2017-05-19 Thread Jonathan Lynch via use-livecode
Why not?

Copy card "mycard" of stack "stack1" to stack "stack2"

Copy button "button1" of card "mycard" of stack "stack2" to card "myothercard" 
of stack "stack1"


Sent from my iPhone

> On May 19, 2017, at 8:45 PM, William Prothero via use-livecode 
>  wrote:
> 
> Folks,
> I inadvertently deleted a group from all my cards and then did new work I 
> don’t want to lose on a  card. Can I copy this card to another stack with a 
> different name, then copy objects from that stack back to my original stack? 
> This seems very iffy.
> 
> Possible?
> Bill
> 
> 
> William A. Prothero
> http://earthlearningsolution.org/
> 
> ___
> 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

Can I copy a card from one stack to another?

2017-05-19 Thread William Prothero via use-livecode
Folks,
I inadvertently deleted a group from all my cards and then did new work I don’t 
want to lose on a  card. Can I copy this card to another stack with a different 
name, then copy objects from that stack back to my original stack? This seems 
very iffy.

Possible?
Bill


William A. Prothero
http://earthlearningsolution.org/

___
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: Why doesn't this work?

2017-05-19 Thread Bill Vlahos via use-livecode
Oh never mind. I was mistaken that it worked in the first “if statement”.

I needed to make vNum a global variable and now it works.

Bill

> On May 19, 2017, at 12:00 PM, Bill Vlahos via use-livecode 
>  wrote:
> 
> JB,
> 
> It is the vNum variable itself that is empty in the if statement. If I put 
> vNum the result is blank.
> 
> Thanks,
> Bill
> 
>> On May 19, 2017, at 11:40 AM, JB via use-livecode 
>>  wrote:
>> 
>> It could be one of the fields has a space
>> at the end and the other does not.
>> 
>> JB
>> 
>> 
>>> On May 19, 2017, at 11:20 AM, Bill Vlahos via use-livecode 
>>>  wrote:
>>> 
>>> I’m concatenating one field & a passed phone number & another field.
>>> 
>>> The variable vNum works in the first if statement but is blank in the 
>>> second. Why?
>>> 
>>> Thank you,
>>> Bill Vlahos
>>> 
>>> 
>>> on searchNow vNum
>>> if the hilite of button "Enable1" then
>>>put field "f1a" & vNum & field "f1b" into vQuery
>>>revGoURL vQuery
>>> end if
>>> if the hilite of button "Enable2" then
>>>put field "f2a" & vNum & field "f2b" into vQuery
>>>revGoURL vQuery
>>> end if
>>> end searchNow
>>> ___
>>> 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: news about the new Google Play policy

2017-05-19 Thread Matthias Rebbe via use-livecode

> Am 19.05.2017 um 23:47 schrieb J. Landman Gay via use-livecode 
> >:
> 
> On 5/19/17 4:00 PM, Colin Holgate via use-livecode wrote:
>> I asked one of the Google Play developer support team if there was
>> someone at Google whose job it is to be familiar with non-Google
>> development tools. He didn’t know who that would be, but he asked
>> about which tool I meant. Pointed him towards the LiveCode site, and
>> he said he would check it out.
>> 
>> I had already had lunch with him and a colleague, and beat him at
>> pool too, so we were on friendly terms. I think he really will check
>> it out.
> 
> You go, Colin!
> But you should have let him win.
> 
That was my first thought, too. ;)


Matthias

Matthias Rebbe
+49 5741 31
‌matthiasrebbe.eu ‌
___
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: news about the new Google Play policy

2017-05-19 Thread J. Landman Gay via use-livecode

On 5/19/17 4:00 PM, Colin Holgate via use-livecode wrote:

I asked one of the Google Play developer support team if there was
someone at Google whose job it is to be familiar with non-Google
development tools. He didn’t know who that would be, but he asked
about which tool I meant. Pointed him towards the LiveCode site, and
he said he would check it out.

I had already had lunch with him and a colleague, and beat him at
pool too, so we were on friendly terms. I think he really will check
it out.


You go, Colin! But you should have let him win.

--
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: news about the new Google Play policy

2017-05-19 Thread Colin Holgate via use-livecode
I asked one of the Google Play developer support team if there was someone at 
Google whose job it is to be familiar with non-Google development tools. He 
didn’t know who that would be, but he asked about which tool I meant. Pointed 
him towards the LiveCode site, and he said he would check it out.

I had already had lunch with him and a colleague, and beat him at pool too, so 
we were on friendly terms. I think he really will check it out.
___
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: [Blog] New post for your reading pleasure

2017-05-19 Thread Mike Kerner via use-livecode
Don't be hating on mikey like that.  Mikey needs his protein.
___
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: [Blog] New post for your reading pleasure

2017-05-19 Thread J. Landman Gay via use-livecode

On 5/19/17 2:11 PM, Roger Eller wrote:

On Fri, May 19, 2017 at 2:42 PM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:


On 5/19/17 9:15 AM, Mike Kerner via use-livecode wrote:


I paid up and send in my shirt size, yesterday.  Heather's response was
"What does 'two bolts' mean?"



You win the internet today. :) But my stereotype has been destroyed,
everyone knows that programmers are skinny and live on Jolt and coffee.



I don't get the connection, so I googled it, which resulted in some light
reading suggestions:

   Albert Einstein: And the Frontiers of Physics


   Cumulative Sum Charts and Charting for Quality Improvement


   The Nuts and Bolts of Proofs: An Introduction to Mathematical Proofs


https://www.google.com/search?tbm=bks=en=What+does+%27two+bolts%27+mean%3F


I suppose math and physics may apply here but a bolt of cloth is up to 
100 yards of fabric wrapped around a cardboard core. Google "bolt of 
cloth" for an image.


If Mike needs 200 yards of fabric for his tee shirt then I suspect he 
also needs custom-made door frames and chairs. Frankly, I don't believe it.



--
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: [Blog] New post for your reading pleasure

2017-05-19 Thread Mike Kerner via use-livecode
Roger,
two bolts as in two bolts of cloth.

Jolt is goood, as are any of the sugar-based sodas.  Corn
syrup and agave just don't have it (but Game Fuel and several of the
Rockstar drinks are pretty tasty)

On Fri, May 19, 2017 at 3:24 PM, Dr. Hawkins via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On Fri, May 19, 2017 at 7:15 AM, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > I paid up and send in my shirt size, yesterday.  Heather's response was
> > "What does 'two bolts' mean?
> >
>
> Mire than enough cloth to redo both my classic Cadillac and my wife's
> full-sixe van?
>
>
> --
> 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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: [Blog] New post for your reading pleasure

2017-05-19 Thread Dr. Hawkins via use-livecode
On Fri, May 19, 2017 at 7:15 AM, Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I paid up and send in my shirt size, yesterday.  Heather's response was
> "What does 'two bolts' mean?
>

Mire than enough cloth to redo both my classic Cadillac and my wife's
full-sixe van?


-- 
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: [Blog] New post for your reading pleasure

2017-05-19 Thread Dr. Hawkins via use-livecode
On Fri, May 19, 2017 at 12:01 PM, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Cannot get 'Jolt' (whatever it is) in Bulgaria; so; lots of coffee with
> cardamon.
>

A cola with cane sugar instead o corn syrup and fortified with extra
caffeine.


-- 
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: [Blog] New post for your reading pleasure

2017-05-19 Thread Roger Eller via use-livecode
On Fri, May 19, 2017 at 2:42 PM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 5/19/17 9:15 AM, Mike Kerner via use-livecode wrote:
>
>> I paid up and send in my shirt size, yesterday.  Heather's response was
>> "What does 'two bolts' mean?"
>>
>
> You win the internet today. :) But my stereotype has been destroyed,
> everyone knows that programmers are skinny and live on Jolt and coffee.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>


I don't get the connection, so I googled it, which resulted in some light
reading suggestions:

   Albert Einstein: And the Frontiers of Physics


   Cumulative Sum Charts and Charting for Quality Improvement


   The Nuts and Bolts of Proofs: An Introduction to Mathematical Proofs


https://www.google.com/search?tbm=bks=en=What+does+%27two+bolts%27+mean%3F

~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: [Blog] New post for your reading pleasure

2017-05-19 Thread Richmond Mathewson via use-livecode



On 5/19/17 9:42 pm, J. Landman Gay via use-livecode wrote:

On 5/19/17 9:15 AM, Mike Kerner via use-livecode wrote:

I paid up and send in my shirt size, yesterday.  Heather's response was
"What does 'two bolts' mean?"


You win the internet today. :) But my stereotype has been destroyed, 
everyone knows that programmers are skinny and live on Jolt and coffee.


That explains why I have a 55 year old's beer gut (largely without the 
help of beer); because I not a programmer, even

though I (still) have  pretensions to be one.

Cannot get 'Jolt' (whatever it is) in Bulgaria; so; lots of coffee with 
cardamon.


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: Why doesn't this work?

2017-05-19 Thread Bill Vlahos via use-livecode
JB,

It is the vNum variable itself that is empty in the if statement. If I put vNum 
the result is blank.

Thanks,
Bill

> On May 19, 2017, at 11:40 AM, JB via use-livecode 
>  wrote:
> 
> It could be one of the fields has a space
> at the end and the other does not.
> 
> JB
> 
> 
>> On May 19, 2017, at 11:20 AM, Bill Vlahos via use-livecode 
>>  wrote:
>> 
>> I’m concatenating one field & a passed phone number & another field.
>> 
>> The variable vNum works in the first if statement but is blank in the 
>> second. Why?
>> 
>> Thank you,
>> Bill Vlahos
>> 
>> 
>> on searchNow vNum
>>  if the hilite of button "Enable1" then
>> put field "f1a" & vNum & field "f1b" into vQuery
>> revGoURL vQuery
>>  end if
>>  if the hilite of button "Enable2" then
>> put field "f2a" & vNum & field "f2b" into vQuery
>> revGoURL vQuery
>>  end if
>> end searchNow
>> ___
>> 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: [Blog] New post for your reading pleasure

2017-05-19 Thread J. Landman Gay via use-livecode

On 5/19/17 9:15 AM, Mike Kerner via use-livecode wrote:

I paid up and send in my shirt size, yesterday.  Heather's response was
"What does 'two bolts' mean?"


You win the internet today. :) But my stereotype has been destroyed, 
everyone knows that programmers are skinny and live on Jolt and coffee.


--
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: Why doesn't this work?

2017-05-19 Thread JB via use-livecode
It could be one of the fields has a space
at the end and the other does not.

JB


> On May 19, 2017, at 11:20 AM, Bill Vlahos via use-livecode 
>  wrote:
> 
> I’m concatenating one field & a passed phone number & another field.
> 
> The variable vNum works in the first if statement but is blank in the second. 
> Why?
> 
> Thank you,
> Bill Vlahos
> 
> 
> on searchNow vNum
>   if the hilite of button "Enable1" then
>  put field "f1a" & vNum & field "f1b" into vQuery
>  revGoURL vQuery
>   end if
>   if the hilite of button "Enable2" then
>  put field "f2a" & vNum & field "f2b" into vQuery
>  revGoURL vQuery
>   end if
> end searchNow
> ___
> 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: Writing Extensions

2017-05-19 Thread J. Landman Gay via use-livecode

On 5/19/17 2:18 AM, Mark Waddingham via use-livecode wrote:

Referring to yourself as "this me"... Does that mean you are just a link
in a longer behavior chain then, Mark? ;)


He has a split personality.

--
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: news about the new Google Play policy

2017-05-19 Thread J. Landman Gay via use-livecode

On 5/18/17 10:56 PM, Mark Wieder via use-livecode wrote:

On 05/18/2017 07:46 PM, J. Landman Gay via use-livecode wrote:

Colin, you are an incredibly handy person to know. :) What a stroke of
luck that you were there exactly when the new policy changes were
released.


Hmmm. Coincidence? I think not.
Colin seems to be a magnet for these things.
He's like a lightning rod - you can feel the electricity crackle, and
then Zap! there's just the person you need to talk with or Zap! there's
an unannounced product release or Zap! there's the singularity...



So *that's* why he won the game-writing contest at the LC con a few 
years ago. I knew it had to be something.


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


Why doesn't this work?

2017-05-19 Thread Bill Vlahos via use-livecode
I’m concatenating one field & a passed phone number & another field.

The variable vNum works in the first if statement but is blank in the second. 
Why?

Thank you,
Bill Vlahos


on searchNow vNum
   if the hilite of button "Enable1" then
  put field "f1a" & vNum & field "f1b" into vQuery
  revGoURL vQuery
   end if
   if the hilite of button "Enable2" then
  put field "f2a" & vNum & field "f2b" into vQuery
  revGoURL vQuery
   end if
end searchNow
___
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: Sort so that "Hello" is always before "hello"

2017-05-19 Thread hh via use-livecode
Thierry,

out of interest, for a lazy day:
Have you ever thought of a sort function of type

sort by replaceText(each,...) ?

Must have a series of really good applications.
For example if one wishes, not for the container, but for
the sort only, to exchange several chars.

Hermann

___
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: which port is beeing used with get URL?

2017-05-19 Thread Bob Sneidar via use-livecode
You will never get this completely right. I go on customer networks all the 
live long day, and there are places where IT people seem more interested in 
preventing communication than enabling it. Also, as mentioned, some 
anti-malware software is horrible. One particular one was preventing a user 
from printing to a brand new copier from his Windows 10 desktop. I was pulling 
my hair out trying to figure it out, then I said, "Just for kicks and grins, 
let's disable your AV software." Worked a peach. 

Bob S


> On May 19, 2017, at 02:00 , Mark Waddingham via use-livecode 
>  wrote:
> 
> On 2017-05-19 10:40, Tiemo Hollmann TB via use-livecode wrote:
>> Am I right, that using "put URL" is a standard http:// protocol via port
>> 8080? Or is there a special port being used by LC?
> 
> HTTP is port 80 - HTTPS is port 443.
> 
> LC does not do anything non-standard here (unless you specify, e.g. 
> http://livecode.com:93).
> 
>> Are there any ideas from your experience, what and how to check for to find
>> the blocking factor in a customer network?
> 
> Right, so - we know there are problems with LiveCode's networking stack 
> communicating in some network environments. However, the problem is that 
> we're not sure what configurations are actually causing the problem.
> 
> Trevor DeVore has done a lot of work over the years to help improve the 
> internet settings auto-discovery, to make LiveCode much better in this 
> regard; however, things still aren't perfect.
> 
> If we can find a way to fetch all the info about places which are not letting 
> libURL work, then we can look into making it work... The problem is working 
> out how to collect that information.
> 
> If anyone has any ideas on this score then that would be most helpful!
> 
> 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: Sort so that "Hello" is always before "hello"

2017-05-19 Thread Thierry Douez via use-livecode
​Hallo Hermann,
​

>
>> sort lines of T numeric by each & AaZz_sort( each) ?
>> sort lines of T
>>
>> Else the container is sorted by the first char of each line only.
>>
>
>
​Ok, I can't find a way to do it with a single sort.

Therefore your solution 1st or mine adding a
second sort after it.

Enjoy your week-ed,

Thierry
​

​Yes, you are right, so I rewrite it a bit to be more *readable*:
>
>
> sort lines of T numeric by AaZz_sort(char 1 of each)
>
> function AaZz_sort x
>get chartonum( x)
>if IT > 96 then return ( IT - 96) * 2 + 1
>else return ( IT - 64) * 2
> end AaZz_sort
> ​
>

-- 

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: WannaCry [OT]

2017-05-19 Thread Bob Sneidar via use-livecode
I don't think it's a matter of programming standards. The methods used to 
exploit systems are almost always something you could never have guessed. Flaws 
in code can be extremeny difficult to see, as was the case in the SSL 
Heartbleed bug. None of the devs saw the bug when it was approved for merging. 
Seeing what it was and what it ought to have been would be like seeing a needle 
in a haystack. I have thought for some time that it is the nature of digital 
information and our human minds incapacity to comprehend it in its real form 
that makes it nearly impossible to produce "unhackable" code. 

Bob S


> On May 18, 2017, at 19:48 , Kay C Lan via use-livecode 
>  wrote:
> 
> On Tue, May 16, 2017 at 6:46 PM, Mark Waddingham via use-livecode
>  wrote:
>> 
>> I'd at least hope that 'smart cars' software is engineered to a much
>> higher standard than other places:
>> 
> Well it may not even be 'smart' cars, even just modern cars may have
> problems depending on circumstances. This article also raises an
> interesting issue with regard to Uber and/or similar:


___
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: news about the new Google Play policy

2017-05-19 Thread J. Landman Gay via use-livecode
I think there may be an opportunity here to make Google aware of LiveCode 
and its capabilities. Who knows, they may take an interest.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com



On May 19, 2017 3:12:10 AM Mark Waddingham via use-livecode 
 wrote:



On 2017-05-19 04:39, Colin Holgate via use-livecode wrote:

Let me know what you think.


All I'd really like is a more well-defined policy - that's all that's
needed here I think. After all, if one is going to use terms in a policy
then it seems wise that those terms be explicitly defined.

What Google is trying to do is 100% clear - it is also very easy to
state
in a completely unambiguous way. e.g.

"Apps submitted to the Google Play Store must not download any files
which allow the app to access more Android APIs which it could at the
point it was submitted to the Google Play Store."

This covers all possible cases as far as I can see - and covers cases
which their current policy does not (as worded, at least).

If you can get an email of someone to whom I can 'whinge' at, then I'll
do some suitable 'whinging' ;)

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: Seeking recommendations / suggestions for use of library stacks.

2017-05-19 Thread Bob Sneidar via use-livecode
I would agree, but I have become fond of constants, especially in objects where 
code is similar but need certain things to be different. For instance I have a 
button bar which opens for edit, creates new form, deletes data, saves data 
etc. I copy this bar to each of my forms. The code in most buttons is 
identical, but the tables and validations, as well as parameters passed to 
library functions changes for each form. In this case it becomes useful to me 
because to make the bar usable by any of my forms, I only have to edit the 
constants of each button. 

Bob S


> On May 18, 2017, at 19:33 , Andre Garzia via use-livecode 
>  wrote:
> 
> I usually follow Alis approach. I have a separate initialization handler
> which I can call repeatedly if needed. The librarystack call just call it
> once but if needed I can call it from the messagebox as well.
> 
> On the topic of libraries, it is good to follow a "functional programming"
> approach where you try not to rely on script local and global variables. If
> you library functions need nothing but their own parameters to work on, it
> becomes easier to test them and calling them over and over seldon generate
> side effects. It is way easier to test (and debug) a function that doesn't
> touch anything outside of its own script (as in it processes data and
> return data but doesn't cause changes outside itself).


___
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: filter? replace? wildcard? reg exp? help please!

2017-05-19 Thread Thierry Douez via use-livecode
​

Is there life without internet for one week?

- lucky you are connected to the world again!
> Tiemo
>

​Hallo Tiemo,

Except some hurdles with the administration ( sold my old car and bought a
new one) plus being insulted by a couple of stressed and egotist people for
not answering sooner,
I did use this time to clean my garden,
did some house construction and enjoyed
to talk longer with friends in the city :)

But I'll have to work all the week-end now :)

Kind regards,

Thierry
​

> >
> >> put "1 [A] 2 [B] 3." into tText
> >> put  removeBrackets( tText)
> >>
> >
> > I see that the middle section is omitted with my regex, so I forgot to
> > make it non-greedy. But I've forgotten how to do that, something about
> > a question mark, I think?
>
>
> ​Sorry about the delay, we had a thunderstorm which broke all Internet
> network in our area since last Friday.
>
> You can do this in 2 ways:
>
> - make your .* non greedy by adding a '?' suffix
>
> - or modify your regex this way:
>
>"\[ [^\]]*]" which means looking for an open bracket followed by zero
> to any number of chars which are not a close bracket, and last a close
> bracket.
> BTW, no need to escape the last closing bracket; the regex engine is smart
> enough.
>
>
> PCRE library accepts the 2 forms.
>
> HTH,
>
> 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: [Blog] New post for your reading pleasure

2017-05-19 Thread Mike Kerner via use-livecode
I paid up and send in my shirt size, yesterday.  Heather's response was
"What does 'two bolts' mean?"

On Fri, May 19, 2017 at 9:16 AM, Heather Laine via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Dear List Folks,
>
> There is a new blog post up with interesting information for you from
> Kevin:
>
> https://livecode.com/livecode-global-our-next-conference-in-your-city/ <
> https://livecode.com/livecode-global-our-next-conference-in-your-city/>
>
> Enjoy!
>
> Warm Regards,
>
> Heather
>
> p.s. Anyone else completely baffled by the phrase "yak shave"? I'd never
> heard it before, had to google it.
>
> Heather Laine
> Customer Services Manager
> LiveCode Ltd
> www.livecode.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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: Sort so that "Hello" is always before "hello"

2017-05-19 Thread Thierry Douez via use-livecode
2017-05-19 15:44 GMT+02:00 hh
​:

> Thierry wrote:
> > sort lines of T numeric by AaZz_sort( each)
> > function AaZz_sort x
> >get chartonum( char 1 of x)
> >if IT > 96 then return ( IT - 96) * 2 + 1
> >else return ( IT - 64) * 2
> > end AaZz_sort
>
>
> Hi Thierry,
>
> don't you need a second sort as 'primary' sort?
>

​Mmm, no ?
I thought that was the question from the OP... misreading  :)
​

>
> sort lines of T numeric by each & AaZz_sort( each) ?
> sort lines of T
>
> Else the container is sorted by the first char of each line only.
>

​Yes, you are right, so I rewrite it a bit to be more *readable*:


sort lines of T numeric by AaZz_sort(char 1 of each)

function AaZz_sort x
   get chartonum( x)
   if IT > 96 then return ( IT - 96) * 2 + 1
   else return ( IT - 64) * 2
end AaZz_sort
​


> But your ASCII-number-formula for uppercase/lowercase A-Za-z
> ordering is really worth to go in a lib!
>
> Hermann
>
> By the way, my "solution" is the following, that handles uppercase
> char before lowercase char sorting for each char of the lines.
>
>   set the casesensitive to true -- secondary sort:
>   sort myContainer
>   set the casesensitive to false -- primary sort:
>   sort myContainer
>
>
​I'll try to come up with something else later...

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: Sort so that "Hello" is always before "hello"

2017-05-19 Thread hh via use-livecode
> Thierry wrote:
> sort lines of T numeric by AaZz_sort( each)
> function AaZz_sort x
>get chartonum( char 1 of x)
>if IT > 96 then return ( IT - 96) * 2 + 1
>else return ( IT - 64) * 2
> end AaZz_sort


Hi Thierry,

don't you need a second sort as 'primary' sort?

sort lines of T numeric by each & AaZz_sort( each) ?
sort lines of T

Else the container is sorted by the first char of each line only.

But your ASCII-number-formula for uppercase/lowercase A-Za-z
ordering is really worth to go in a lib!

Hermann

By the way, my "solution" is the following, that handles uppercase
char before lowercase char sorting for each char of the lines.

  set the casesensitive to true -- secondary sort:
  sort myContainer
  set the casesensitive to false -- primary sort:
  sort myContainer


___
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


[Blog] New post for your reading pleasure

2017-05-19 Thread Heather Laine via use-livecode
Dear List Folks,

There is a new blog post up with interesting information for you from Kevin:

https://livecode.com/livecode-global-our-next-conference-in-your-city/ 


Enjoy!

Warm Regards,

Heather

p.s. Anyone else completely baffled by the phrase "yak shave"? I'd never heard 
it before, had to google it.

Heather Laine
Customer Services Manager
LiveCode Ltd
www.livecode.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: news about the new Google Play policy

2017-05-19 Thread Colin Holgate via use-livecode
I will reply to the manager guy and give him your email address. Not even sure 
what your title is, but I’ll say you’re CTO, Americans know what one of those 
is! If he let’s me know who it is that will be in touch I’ll give you a heads 
up.


> On May 19, 2017, at 1:10 AM, Mark Waddingham via use-livecode 
>  wrote:
> 
> On 2017-05-19 04:39, Colin Holgate via use-livecode wrote:
>> Let me know what you think.
> 
> All I'd really like is a more well-defined policy - that's all that's
> needed here I think. After all, if one is going to use terms in a policy
> then it seems wise that those terms be explicitly defined.
> 
> What Google is trying to do is 100% clear - it is also very easy to state
> in a completely unambiguous way. e.g.
> 
> "Apps submitted to the Google Play Store must not download any files
> which allow the app to access more Android APIs which it could at the
> point it was submitted to the Google Play Store."
> 
> This covers all possible cases as far as I can see - and covers cases
> which their current policy does not (as worded, at least).
> 
> If you can get an email of someone to whom I can 'whinge' at, then I'll
> do some suitable 'whinging' ;)
> 
> 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

AW: filter? replace? wildcard? reg exp? help please!

2017-05-19 Thread Tiemo Hollmann TB via use-livecode
Is there life without internet for one week? - lucky you are connected to the 
world again!
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Thierry Douez via use-livecode
Gesendet: Freitag, 19. Mai 2017 13:56
An: How to use LiveCode 
Cc: Thierry Douez 
Betreff: Re: filter? replace? wildcard? reg exp? help please!

>
>
>> put "1 [A] 2 [B] 3." into tText
>> put  removeBrackets( tText)
>>
>
> I see that the middle section is omitted with my regex, so I forgot to 
> make it non-greedy. But I've forgotten how to do that, something about 
> a question mark, I think?


​Sorry about the delay, we had a thunderstorm which broke all Internet network 
in our area since last Friday.

You can do this in 2 ways:

- make your .* non greedy by adding a '?' suffix

- or modify your regex this way:

   "\[ [^\]]*]" which means looking for an open bracket followed by zero to any 
number of chars which are not a close bracket, and last a close bracket.
BTW, no need to escape the last closing bracket; the regex engine is smart 
enough.


PCRE library accepts the 2 forms.

HTH,

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: filter? replace? wildcard? reg exp? help please!

2017-05-19 Thread Thierry Douez via use-livecode
>
>
>> put "1 [A] 2 [B] 3." into tText
>> put  removeBrackets( tText)
>>
>
> I see that the middle section is omitted with my regex, so I forgot to
> make it non-greedy. But I've forgotten how to do that, something about a
> question mark, I think?


​Sorry about the delay, we had a thunderstorm which broke all Internet
network
in our area since last Friday.

You can do this in 2 ways:

- make your .* non greedy by adding a '?' suffix

- or modify your regex this way:

   "\[ [^\]]*]" which means looking for an open bracket followed by zero to
any number of chars which are not a close bracket, and last a close bracket.
BTW, no need to escape the last closing bracket; the regex engine is smart
enough.


PCRE library accepts the 2 forms.

HTH,

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

AW: which port is beeing used with get URL?

2017-05-19 Thread Tiemo Hollmann TB via use-livecode
There are different firewalls used at different customers. Sometimes, even
the admin of the customer has no knowledge or access to the firewalls. E.g.
a lot of public schools are routed thru the federal states network of their
state and the admin of the school doesn't have access to that network.

I didn't tested yet the pure tsnet commands. Perhaps I should create a test
program with that. Unfortunately often the admins are very impatient and
have no joy in testing different situations.

Thanks for your ideas
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Jonathan Lynch via use-livecode
Gesendet: Freitag, 19. Mai 2017 11:24
An: How to use LiveCode 
Cc: jonathandly...@gmail.com
Betreff: Re: which port is beeing used with get URL?

Do tsnet commands hit the same network blocks as put? 

Sent from my iPhone

> On May 19, 2017, at 5:05 AM, Matthias Rebbe via use-livecode
 wrote:
> 
> Hi Timo,
> 
> a firewall setting also might cause this. Many security tools have a app
control included which controls the network access of applications. It could
be that the LC app is not allowed to do any networking.  Can you check with
the  customer which Antivirus/Firewall software is used?
> 
> Matthias
> 
> 
> Matthias Rebbe
> +49 5741 31
> matthiasrebbe.eu 
> 
>> Am 19.05.2017 um 10:40 schrieb Tiemo Hollmann TB via use-livecode
>:
>> 
>> Hello,
>> 
>> LC6 and 8. Again and again I have customers, where my program doesn't 
>> gets an internet connection with standard "put URL foo into res". 
>> This happens only at "institutional customers" with "bigger" 
>> networks, obviously with proxy servers, firewalls, etc. On "private" 
>> PCs I never happen this. The user can setup the proxy credentials in 
>> my program, that is ok for some customers. At other customers my 
>> program still doesn't gets access to the internet and often the admin 
>> of the customer doesn't find the reason what is blocking my program. 
>> Usually most firewalls pop up with a request, if they are blocking a 
>> new program, but in these cases the firewalls keep silent, so it is hard
to find the reason.
>> 
>> 
>> 
>> Am I right, that using "put URL" is a standard http:// protocol via 
>> port 8080? Or is there a special port being used by LC?
>> 
>> 
>> 
>> Are there any ideas from your experience, what and how to check for 
>> to find the blocking factor in a customer network?
>> 
>> 
>> 
>> Thanks for your experiences
>> 
>> Tiemo
>> 
>> 
>> 
>> ___
>> 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: Sort so that "Hello" is always before "hello"

2017-05-19 Thread Thierry Douez via use-livecode
A slight variation from Hermann's code,
working *only* with ASCII:


sort lines of T numeric by AaZz_sort( each)


function AaZz_sort x
   get chartonum( char 1 of x)
   if IT > 96 then return ( IT - 96) * 2 + 1
   else return ( IT - 64) * 2
end AaZz_sort


I can explain if someone is asking for...

and I have no ideas if the double-sort is faster then this one.


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: which port is beeing used with get URL?

2017-05-19 Thread Jonathan Lynch via use-livecode
Do tsnet commands hit the same network blocks as put? 

Sent from my iPhone

> On May 19, 2017, at 5:05 AM, Matthias Rebbe via use-livecode 
>  wrote:
> 
> Hi Timo,
> 
> a firewall setting also might cause this. Many security tools have a app 
> control included which controls the network access of applications. It could 
> be that the LC app is not allowed to do any networking.  Can you check with 
> the  customer which Antivirus/Firewall software is used?
> 
> Matthias
> 
> 
> Matthias Rebbe
> +49 5741 31
> matthiasrebbe.eu 
> 
>> Am 19.05.2017 um 10:40 schrieb Tiemo Hollmann TB via use-livecode 
>> >:
>> 
>> Hello,
>> 
>> LC6 and 8. Again and again I have customers, where my program doesn't gets
>> an internet connection with standard "put URL foo into res". This happens
>> only at "institutional customers" with "bigger" networks, obviously with
>> proxy servers, firewalls, etc. On "private" PCs I never happen this. The
>> user can setup the proxy credentials in my program, that is ok for some
>> customers. At other customers my program still doesn't gets access to the
>> internet and often the admin of the customer doesn't find the reason what is
>> blocking my program. Usually most firewalls pop up with a request, if they
>> are blocking a new program, but in these cases the firewalls keep silent, so
>> it is hard to find the reason.
>> 
>> 
>> 
>> Am I right, that using "put URL" is a standard http:// protocol via port
>> 8080? Or is there a special port being used by LC?
>> 
>> 
>> 
>> Are there any ideas from your experience, what and how to check for to find
>> the blocking factor in a customer network?
>> 
>> 
>> 
>> Thanks for your experiences
>> 
>> Tiemo
>> 
>> 
>> 
>> ___
>> 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: which port is beeing used with get URL?

2017-05-19 Thread Matthias Rebbe via use-livecode
Hi Timo,

a firewall setting also might cause this. Many security tools have a app 
control included which controls the network access of applications. It could be 
that the LC app is not allowed to do any networking.  Can you check with the  
customer which Antivirus/Firewall software is used?

Matthias


Matthias Rebbe
+49 5741 31
‌matthiasrebbe.eu ‌

> Am 19.05.2017 um 10:40 schrieb Tiemo Hollmann TB via use-livecode 
> >:
> 
> Hello,
> 
> LC6 and 8. Again and again I have customers, where my program doesn't gets
> an internet connection with standard "put URL foo into res". This happens
> only at "institutional customers" with "bigger" networks, obviously with
> proxy servers, firewalls, etc. On "private" PCs I never happen this. The
> user can setup the proxy credentials in my program, that is ok for some
> customers. At other customers my program still doesn't gets access to the
> internet and often the admin of the customer doesn't find the reason what is
> blocking my program. Usually most firewalls pop up with a request, if they
> are blocking a new program, but in these cases the firewalls keep silent, so
> it is hard to find the reason.
> 
> 
> 
> Am I right, that using "put URL" is a standard http:// protocol via port
> 8080? Or is there a special port being used by LC?
> 
> 
> 
> Are there any ideas from your experience, what and how to check for to find
> the blocking factor in a customer network?
> 
> 
> 
> Thanks for your experiences
> 
> Tiemo
> 
> 
> 
> ___
> 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: which port is beeing used with get URL?

2017-05-19 Thread Mark Waddingham via use-livecode

On 2017-05-19 10:40, Tiemo Hollmann TB via use-livecode wrote:
Am I right, that using "put URL" is a standard http:// protocol via 
port

8080? Or is there a special port being used by LC?


HTTP is port 80 - HTTPS is port 443.

LC does not do anything non-standard here (unless you specify, e.g. 
http://livecode.com:93).


Are there any ideas from your experience, what and how to check for to 
find

the blocking factor in a customer network?


Right, so - we know there are problems with LiveCode's networking stack 
communicating in some network environments. However, the problem is that 
we're not sure what configurations are actually causing the problem.


Trevor DeVore has done a lot of work over the years to help improve the 
internet settings auto-discovery, to make LiveCode much better in this 
regard; however, things still aren't perfect.


If we can find a way to fetch all the info about places which are not 
letting libURL work, then we can look into making it work... The problem 
is working out how to collect that information.


If anyone has any ideas on this score then that would be most helpful!

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


which port is beeing used with get URL?

2017-05-19 Thread Tiemo Hollmann TB via use-livecode
Hello,

LC6 and 8. Again and again I have customers, where my program doesn't gets
an internet connection with standard "put URL foo into res". This happens
only at "institutional customers" with "bigger" networks, obviously with
proxy servers, firewalls, etc. On "private" PCs I never happen this. The
user can setup the proxy credentials in my program, that is ok for some
customers. At other customers my program still doesn't gets access to the
internet and often the admin of the customer doesn't find the reason what is
blocking my program. Usually most firewalls pop up with a request, if they
are blocking a new program, but in these cases the firewalls keep silent, so
it is hard to find the reason.

 

Am I right, that using "put URL" is a standard http:// protocol via port
8080? Or is there a special port being used by LC?

 

Are there any ideas from your experience, what and how to check for to find
the blocking factor in a customer network?

 

Thanks for your experiences

Tiemo

 

___
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: Writing Extensions

2017-05-19 Thread Mark Waddingham via use-livecode

On 2017-05-18 22:08, Mark Wieder via use-livecode wrote:

On 05/18/2017 10:57 AM, Mark Waddingham via use-livecode wrote:

The point is the whole problem can be sufficiently solved quite well
with better tooling (which we are aware we need to work on); and in 
the

future can be solved completely using a little bit of cleverness and
exploiting the way LCB has been implemented.


Cool. That sounds promising.


Indeed, thinking a little more laterally about the problem of binary
module compatibility then there are actually two sides here:

1) The community edition side

2) The commercial edition side.

In the case of (1), the engine is GPL. This means that any extensions 
used in community, must be GPL too (or dual-licensed, if it is to be 
allowed to be used in Commercial). GPL apps need to give access to the 
source (widgets built with community already include the source). This 
means that compilation can happen on installation of the widget; there's 
actually no need for compilation to occur before this point (beyond 
checking that everything is present in the extension which is needed to 
compile it). So this would solve the problem in Community.


In the case of (2), then we definitely need to do something before 
commercial widgets become common-place - I agree :)


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: news about the new Google Play policy

2017-05-19 Thread Mark Waddingham via use-livecode

On 2017-05-19 04:39, Colin Holgate via use-livecode wrote:

Let me know what you think.


All I'd really like is a more well-defined policy - that's all that's
needed here I think. After all, if one is going to use terms in a policy
then it seems wise that those terms be explicitly defined.

What Google is trying to do is 100% clear - it is also very easy to 
state

in a completely unambiguous way. e.g.

"Apps submitted to the Google Play Store must not download any files
which allow the app to access more Android APIs which it could at the
point it was submitted to the Google Play Store."

This covers all possible cases as far as I can see - and covers cases
which their current policy does not (as worded, at least).

If you can get an email of someone to whom I can 'whinge' at, then I'll
do some suitable 'whinging' ;)

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: Writing Extensions

2017-05-19 Thread Mark Waddingham via use-livecode

On 2017-05-19 06:23, Mark Wieder via use-livecode wrote:

On 05/18/2017 07:14 PM, Alejandro Tejada via use-livecode wrote:
Now that we are talking about widgets and extensions, many thanks 
again

Mark Wieder for updating Peter Thirkell multicolor svg widget.

Just for curiosity, Could you write a blog entry about your process of
updating this widget? Maybe others would find this useful to update 
their

own widgets.


I'll think about it, but I'm probably the wrong person to write up the
process of creating/modifying widgets at this point. But I'd love to
see Peter write up the process he went through. All I did was add some
flexibility to the xml parsing (which in LCB ends up working with char
offsets and is ridiculously ugly, fragile, and error-prone) and
allowing hex representations of color specifications.


If we are honest then parsing XML even with LCS's excellent text 
chunking isn't
necessarily *that* much 'prettier'. XML is quite a complicated format if 
you

want a 100% compliant reader (do we have a 100% compliant XML parser
written in LiveCode?) - hence why, in this case, it would probably be 
better

to have a wrapper around a well established XML library in LCB.

Why reinvent a wheel which many other people have already decided needs 
reinventing...


(Although, having said that, there is something quite pleasing about 
this

kind of thing being written in the host language - pragmatically though,
we're probably better off with readers which are maintained by people
who live and breath these import formats - at least when you need the 
most

generality).


I had to move it out of my Extensions folder after testing it since
having both the LC8 and LC9 versions in places messes things up. This
changing binary format thing is a pain.


Point taken - it is a pain! However, it won't be like this forever - and
obviously the sooner it is stable, the better it is for the ecosystem.

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: Writing Extensions

2017-05-19 Thread Mark Waddingham via use-livecode

On 2017-05-18 22:08, Mark Wieder via use-livecode wrote:

On 05/18/2017 10:57 AM, Mark Waddingham via use-livecode wrote:
Yes, but that's comparing two different things. I'm concerned about
the differing binary formats, not the source compatibility. I'm stuck
if I want to distribute an easy-to-use extension (widget or library)
for others to use. My alternative is to distribute the source and say
"here you go... compile and install it yourself. And remember to do
that again when the next major version of LC comes out or it won't
work any more."


I was more just trying to explain the current situation, for both
source and binary compatibility.


I *don't* think we're doing badly in the realm of source-code
compatibility. I never intended to imply that. Sorry if I gave that
impression.


I was talking about the LCB ecosystem generally in comparison to
Rust / Swift / number of engineers they have working on those projects /
time it took them to get them to a release worthy state :)


To be fair about your comparisons, Rust only reached 1.0.0 stage two
years ago. My statement there was more about that fact that given all
the hoopla that accompanied the announcement of LCB, extensions, and
the Way Forward, the state of the resources and environment for
extension development seems pretty fragile at this point.


Indeed - we did - why wouldn't we? People wouldn't even have looked at
them if they didn't and if this stuff is never used it will never
reach any sort of maturity (the reality is that programming languages 
evolve

through direct use, rather than by design-in-totality-then-implement).

Just like many other open-source projects - most of which start off 
being

'fragile' in the way you suggest.

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: Writing Extensions

2017-05-19 Thread Mark Waddingham via use-livecode

On 2017-05-19 03:08, Mark Wieder via use-livecode wrote:

On 05/18/2017 12:59 AM, Mark Waddingham via use-livecode wrote:

backported to LCS. I appreciate the team's reticence to make syntax
changes to the core xtalk language, but even as a long-time C
programmer,





I wouldn't say we have a 'reticence' to make syntax changes but it 
requires

a great deal more care than in LCB for several reasons:


Heh. OK - wrong choice of word then. I'd say rather that I appreciate
the team's conservative approach to making syntax changes (although
"this me" still seems wrong to me. Or at least to this me, with a nod
to PKD).


Referring to yourself as "this me"... Does that mean you are just a link 
in a longer behavior chain then, 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


URGENT: Mixed orientation printing to PDF

2017-05-19 Thread FlexibleLearning.com via use-livecode
I have a 5.02 legacy stack that prints A4 pages to PDF using "open printing
to pdf".

The documentation says that the printPaperSize must be set before calling
open printing, suggesting that changes to the printPaperSize after "open
printing" are not supported (I tried, and it seems so).

I can successfully set the printPaperSize to 595,842 for Portrait or 842,595
for Landscape. printPaperOrientation seems redundant and also cannot be
changed after initialisation.

So is it possible to print mixed portrait and landscape pages in the same
PDF?

Help! I only get digests, so please email me direct!

Hugh Senior
FLCo


___
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