Re: TS Net for Indy vs Business

2016-12-30 Thread Sannyasin Brahmanathaswami
SFTP var content only? 

Wow… Strange strategy… Indy should/could be LC's bread and butter.. a product 
that works may be a better strategy in the long run than providing a crippled 
option. Reserve business only feature for true enterprise features, not for a 
simple options that come with any modern $15.00 app that lets you set sharing 
to your own server (and uploads files by SFTP). There's a "kajillion" web 
developers, including "your little sister" out there whose servers are all 
blocking FTP in the clear… 

BR


Skip Kimpel  wrote:

+1

LC needs to reconsider breaking up functionality based upon licensing.

SKIP

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

Re: how to create a list in easyJSON

2016-12-30 Thread Matt Maier
   put "12345,12345,12345" into tArray["one"]
   put "12345,12345" into tArray["two"]
   split tArray["one"] by comma
   put jsonfromarray(tArray) into tWhatever

result

{"one":{"3":12345,"1":12345,"2":12345},"two":"12345,12345"}

So looks like that just created an array with a numeric index, which is
preserved in the JSON conversion.

On Fri, Dec 30, 2016 at 10:12 PM, Andre Garzia 
wrote:

> Try placing a:
>
>   Split tArray[one] by comma
>
> Before converting to json.
>
> Om om
> Andre
> Ps: typing on the phone, sorry for my brevity
>
> Em 30 de dez de 2016 15:29, "Matt Maier"  escreveu:
>
> > I'm trying to send a list of strings to an API. Best I can tell it's
> > interpreting the entire list as one string. Is there a way to send data
> to
> > easyJSON such that it returns a JSON  list of strings instead of one
> > monolithic string?
> >
> > For example, I've got something like this:
> >
> > array[one] = 12345,12345,12345
> > array[two] = 12345,12345
> >
> > and what I get back from easyJSON is this:
> >
> > {"one":"12345,12345,12345","two":"12345,12345"}
> >
> > when what I'm trying to get is more like this
> >
> > {"one":["12345","12345","12345"],"two":["12345","12345"]}
> > ___
> > 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: how to create a list in easyJSON

2016-12-30 Thread Andre Garzia
Try placing a:

  Split tArray[one] by comma

Before converting to json.

Om om
Andre
Ps: typing on the phone, sorry for my brevity

Em 30 de dez de 2016 15:29, "Matt Maier"  escreveu:

> I'm trying to send a list of strings to an API. Best I can tell it's
> interpreting the entire list as one string. Is there a way to send data to
> easyJSON such that it returns a JSON  list of strings instead of one
> monolithic string?
>
> For example, I've got something like this:
>
> array[one] = 12345,12345,12345
> array[two] = 12345,12345
>
> and what I get back from easyJSON is this:
>
> {"one":"12345,12345,12345","two":"12345,12345"}
>
> when what I'm trying to get is more like this
>
> {"one":["12345","12345","12345"],"two":["12345","12345"]}
> ___
> 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: OK, the list *really* needs to be fixed

2016-12-30 Thread William Prothero
A very popular listserve named “Mailman” does this. It comes with most VPS 
hosting service.
Bill

> On Dec 30, 2016, at 6:29 PM, Mike Kerner  wrote:
> 
> Unfortunately several newsgroups I belong to do something like this - and
> the Valentina one, even helpfully sends me an email in the clear once a
> month with my password, no matter what.  Uncool.
> 
> On Fri, Dec 30, 2016 at 8:48 PM, Kay C Lan  wrote:
> 
>> Yes same here, but what is far more concerning to me is that the
>> Notification I get to remedy the situation includes a link to log in
>> AND my password. Is this not a security hole just waiting to be
>> exploited? If I go to the link and I can't remember my password there
>> should be a 'forgot password' link and the usual method of resetting.
>> 
>> On Sat, Dec 31, 2016 at 6:48 AM, Dr. Hawkins  wrote:
>>> This is about the fourth time I've been unsubscribed in the last few
>> months.
>>> 
>>> --
>>> 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
>> 
>> ___
>> 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


___
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: OK, the list *really* needs to be fixed

2016-12-30 Thread Mike Kerner
Unfortunately several newsgroups I belong to do something like this - and
the Valentina one, even helpfully sends me an email in the clear once a
month with my password, no matter what.  Uncool.

On Fri, Dec 30, 2016 at 8:48 PM, Kay C Lan  wrote:

> Yes same here, but what is far more concerning to me is that the
> Notification I get to remedy the situation includes a link to log in
> AND my password. Is this not a security hole just waiting to be
> exploited? If I go to the link and I can't remember my password there
> should be a 'forgot password' link and the usual method of resetting.
>
> On Sat, Dec 31, 2016 at 6:48 AM, Dr. Hawkins  wrote:
> > This is about the fourth time I've been unsubscribed in the last few
> months.
> >
> > --
> > 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
>
> ___
> 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: OK, the list *really* needs to be fixed

2016-12-30 Thread Kay C Lan
Yes same here, but what is far more concerning to me is that the
Notification I get to remedy the situation includes a link to log in
AND my password. Is this not a security hole just waiting to be
exploited? If I go to the link and I can't remember my password there
should be a 'forgot password' link and the usual method of resetting.

On Sat, Dec 31, 2016 at 6:48 AM, Dr. Hawkins  wrote:
> This is about the fourth time I've been unsubscribed in the last few months.
>
> --
> 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

___
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


how to create a list in easyJSON

2016-12-30 Thread Matt Maier
I'm trying to send a list of strings to an API. Best I can tell it's
interpreting the entire list as one string. Is there a way to send data to
easyJSON such that it returns a JSON  list of strings instead of one
monolithic string?

For example, I've got something like this:

array[one] = 12345,12345,12345
array[two] = 12345,12345

and what I get back from easyJSON is this:

{"one":"12345,12345,12345","two":"12345,12345"}

when what I'm trying to get is more like this

{"one":["12345","12345","12345"],"two":["12345","12345"]}
___
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: Irritating Discord between LC 8 and Apple Mail

2016-12-30 Thread panagiotis merakos
Hi Mark,

This is already reported, in case you want to add your email in the cc list:

http://quality.livecode.com/show_bug.cgi?id=18699

Best,
Panos

On 30 Dec 2016 11:33 pm, "MitchellMark"  wrote:

If you copy text from a field in LC 8 and try to paste into Apple Mail, it
inserts a blank line after each line (except empty lines.. so it totally
destroys your line formatting). If you paste it from LC into a different
Apple program, eg. Pages, it is fine. Moreover, you can now recopy it from
Pages and paste it into mail and it is now fixed.  So there is a ready
work-around… just pass everything through a different apple program. But
it’s an extra pain. LC 7 and LC 6 do not have this problem.

Thanks!

Mark (proud owner of a new Indy For LIFE!!  License… :-)
___
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: imageSource broken in LC 8?

2016-12-30 Thread Devin Asay

On Dec 30, 2016, at 4:52 PM, hh > wrote:

This is also defunct in LC 9.

Here a workaround for LC 8/9 that works for me:

Create an img x and set filename of img x to the url.
Then set imagesource of  to the short id of img x.

Thanks hh. In fact I have just been implementing that very workaround. :)

Devin


Devin Asay
Director
Office of Digital Humanities
Brigham Young University

___
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: imageSource broken in LC 8?

2016-12-30 Thread hh
This is also defunct in LC 9.

Here a workaround for LC 8/9 that works for me:

Create an img x and set filename of img x to the url.
Then set imagesource of  to the short id of img x.

___
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: TS Net for Indy vs Business

2016-12-30 Thread Andre Garzia
Charles,

Thanks a lot for the quick reply! Things are much clearer now. I have some
comments below.

On Fri, Dec 30, 2016 at 12:13 AM, Charles Warwick <
char...@techstrategies.com.au> wrote:

> 2.  For Indy users, SFTP and SMTP can only be performed to/from a variable
> - not directly using a file.
>
> This means you will also get an error if you use any of the blocking
> functions which directly reference a file when using these protocols.
>
> For tsNet, these functions are:
>
> "tsNetGetFileSync", "tsNetUploadFileSync", "tsNetSmtpFileSync"
>


This above is really unfortunate. We are uploading backups of our large
media assets. We're talking about files here that can weight more than
100mb. We shouldn't need to allocate this amount of space into a variable,
this is not sound. What if we're trying to upload a movie that is 2gb or
3gb? We can't realistically be expected to place such large amount of data
into variables.

This kind of arbitrary limitations of functionally makes it impossible for
us to use the new external in a pleasant way. Inserting huge amounts of
data into variables just to please licensing is not my idea of good memory
usage.

I really hope HQ reconsider the above limitation, it makes for some very
bad practices of memory allocation.

om om
andre

-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
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: save stack as filename failing most of the time

2016-12-30 Thread Dr. Hawkins
Just saw it happen.

Apparently, it is simply ignoring the new name--I see the ~ stack renaming,
and then the new stack is created with the original name, not the contents
of filNam, and the ~ stack deleted.
-- 
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


OK, the list *really* needs to be fixed

2016-12-30 Thread Dr. Hawkins
This is about the fourth time I've been unsubscribed in the last few months.

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


save stack as filename failing most of the time

2016-12-30 Thread Dr. Hawkins
I have a routine that I haven't used in probably over a year to prepare for
compilation.

In it, it pulls the filename of the stack, and adds "to_compile." in a
variable.

So far, so good.

But then

save stack "mcp" as filNam

fails about three times out of four.

*something* happens, as I can see the finder window flicker, but I can't
tell what it is.

filNam is something like
/Users/hawk/Documents/dhbk/16/1612/161230/dochawkbk.161230a.to_compile.livecode

yet no such file is there.


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


Contains vs is in

2016-12-30 Thread J. Landman Gay
Did someone once say that between "contains" and "is in", one is faster 
than the other?


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


Irritating Discord between LC 8 and Apple Mail

2016-12-30 Thread MitchellMark
If you copy text from a field in LC 8 and try to paste into Apple Mail, it 
inserts a blank line after each line (except empty lines.. so it totally 
destroys your line formatting). If you paste it from LC into a different Apple 
program, eg. Pages, it is fine. Moreover, you can now recopy it from Pages and 
paste it into mail and it is now fixed.  So there is a ready work-around… just 
pass everything through a different apple program. But it’s an extra pain. LC 7 
and LC 6 do not have this problem.

Thanks!

Mark (proud owner of a new Indy For LIFE!!  License… :-)
___
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: imageSource broken in LC 8?

2016-12-30 Thread Devin Asay
Should have checked quality.livecode.com first. 
Jim Lambert reported it a few weeks ago:

http://quality.livecode.com/show_bug.cgi?id=18606


On Dec 30, 2016, at 1:28 PM, Devin Asay 
> wrote:

Has anyone else noticed this?

LiveCode has for years allowed you to set the imageSource property of a 
character to some valid image specifier, including a URL.

This seems to be broken in LC 8. Try this:

Create a field with a few characters in it.

Now try this in the message box:

set the imageSource of char -1 of fld 1 to 
"http://livecode.byu.edu/imgs/runmode.png;

Nothing happens.

But if you import an image file, say, “foo.png” and try it:


set the imageSource of char -1 of fld 1 to  “foo.png"

It works as expected.

I just tried it in LC 7.1.4 and it didn’t work either. Had to go all the way 
back to 6.7.11 before it would work.

If it’s been broken that long, maybe no one except me uses this technique.

Anyone else seeing this?

Devin


Devin Asay
Director
Office of Digital Humanities
Brigham Young University

___
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

Devin Asay
Director
Office of Digital Humanities
Brigham Young University

___
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

imageSource broken in LC 8?

2016-12-30 Thread Devin Asay
Has anyone else noticed this?

LiveCode has for years allowed you to set the imageSource property of a 
character to some valid image specifier, including a URL.

This seems to be broken in LC 8. Try this:

Create a field with a few characters in it.

Now try this in the message box:

set the imageSource of char -1 of fld 1 to 
"http://livecode.byu.edu/imgs/runmode.png;

Nothing happens.

But if you import an image file, say, “foo.png” and try it:


set the imageSource of char -1 of fld 1 to  “foo.png"

It works as expected.

I just tried it in LC 7.1.4 and it didn’t work either. Had to go all the way 
back to 6.7.11 before it would work.

If it’s been broken that long, maybe no one except me uses this technique.

Anyone else seeing this?

Devin


Devin Asay
Director
Office of Digital Humanities
Brigham Young University

___
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: Launching a subprocess under OSX?

2016-12-30 Thread Mark Talluto

> On Dec 29, 2016, at 11:44 AM, Paul Dupuis  wrote:
> 
> Does any one know how to launch a real subprocess under OSX from
> LiveCode that stay hidden or in the background at least?

Hi Paul,

Is the process a LiveCode standalone or some other executable?

Best regards,

Mark Talluto
livecloud.io
canelasoftware.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: Ask Password not asking

2016-12-30 Thread dunbarx
Bob.


I know that (even going back to HC days) sometimes a handler will work when 
stepping through, but not when it runs. I also believe that oftentimes, once I 
have indeed stepped through, the handler thereafter works just fine.


 It is almost the opposite of what you are seeing. In my case, it is as if 
stepping through somehow repairs (resets?, regroups?) the handler. But in yours 
it seems the command is not even registered at all.


This is likely of no help to you at all.


Craig



-Original Message-
From: Bob Sneidar 
To: How to use LiveCode 
Sent: Fri, Dec 30, 2016 12:47 pm
Subject: Ask Password not asking

I am having an issue I have seen crop up in the past and I just assumed I had 
something wrong in a repeat loop. I have an Ask Password Clear inside a repeat 
loop. Every now and again, it does NOT ask, and once this begins to happen, it 
won't ask again. The trouble is I cannot exit from the repeat loop until the 
user cancels (which never happens because the dialog never displays) or the 
password matches the stored password (which never happens for the same reason). 

To make sure I was not out of my mind, (always a possibility) I stepped through 
the code. Sure enough the ask password command just steps over without 
executing. Keep in mind it works most of the time. I cannot even begin to come 
up with a recipe to reproduce it. 

Anyone else seeing this? Anyone have a custom ask password dialog? I really do 
not want to create one myself, but I will if I have to. 

Bob S



___
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


Ask Password not asking

2016-12-30 Thread Bob Sneidar
I am having an issue I have seen crop up in the past and I just assumed I had 
something wrong in a repeat loop. I have an Ask Password Clear inside a repeat 
loop. Every now and again, it does NOT ask, and once this begins to happen, it 
won't ask again. The trouble is I cannot exit from the repeat loop until the 
user cancels (which never happens because the dialog never displays) or the 
password matches the stored password (which never happens for the same reason). 

To make sure I was not out of my mind, (always a possibility) I stepped through 
the code. Sure enough the ask password command just steps over without 
executing. Keep in mind it works most of the time. I cannot even begin to come 
up with a recipe to reproduce it. 

Anyone else seeing this? Anyone have a custom ask password dialog? I really do 
not want to create one myself, but I will if I have to. 

Bob S



___
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: How to tell if something is put into the message box

2016-12-30 Thread Bob Sneidar
So THAT's what that does! It reminds me of those Self Destruct buttons that 
have a sign underneath them that say, "DO NOT PUSH THIS BUTTON!" So I never 
did. ;-)

Bob S


On Dec 30, 2016, at 01:00 , Ali Lloyd 
> wrote:

The target icon at the bottom of the message box will take you to the line
of script that last 'put' something there.

___
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: Hanging from the washing line.

2016-12-30 Thread Bob Sneidar
What is the font Richmond is trying to use? Having played around a lot with 
fonts in my early Mac days, I became aware that font foundries of lesser repute 
may not craft their fonts properly. If the line height and leading is not set 
to accomodate both the tallest ascender and the lowest descender can display 
incorrectly.

Bob S


On Dec 29, 2016, at 16:38 , Peter Bogdanoff 
> wrote:

I tried with a field set to zapfino (the most vertically expansive font I have) 
14, text height 6.

I’m seeing that in LC 8.1.2 on Mac, that with the field fixed line height off 
things look right, showing wide line height and no attenuation. With fixed line 
height on, LC pushes all the text off the top of the field except for the 
bottom line and part of the second line from the bottom--where I see the 
descenders of the upper line overlapping the ascenders of the bottom line. 
Setting the line height to fixed 30, again pushes the text up off the field 
except for the last 1 1/2 lines—they are just spaced wider.

LC does have a problem with displaying this kind of text with fixed line height 
on, but I’m not seeing the chopping off of text, but the pushing text up the 
top of the field. With fixed line height off, it looks OK.

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: {Merry | Happy} [{Christmas | Hanukkah | Solstice | Holidays | Festivus | Saturnalia}]

2016-12-30 Thread Martin Koob
Hi Monte

Happy Holidays to you as well.  All the best in the new year to you and your
family and to the rest of the LC team as well.

Martin




--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Merry-Happy-Christmas-Hanukkah-Solstice-Holidays-Festivus-Saturnalia-tp4711158p4711261.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: TS Net for Indy vs Business

2016-12-30 Thread Colin.Kelly
+1

On 30/12/2016, 11:40, "use-livecode on behalf of Roger Eller" 
 wrote:

I am really disappointed that SFTP (for Indy) is limited to a variable
(RAM) -vs- writing directly to a file.  Moving large files that exceed
system RAM is very common.

~Roger

On Dec 30, 2016 5:13 AM, "Charles Warwick" 
wrote:

> Hi Andre,
>
> I will be adding a fair amount of documentation for tsNet over the coming
> weeks that I hope will better answer a number of the questions that are
> being asked on the list.
>
> In the mean time, I hope that the following two points will explain what
> is happening for you.
>
>
> 1.  For Indy users, SFTP and SMTP can only be performed in "blocking"
> operations.
>
> This means if you call any of the non-blocking variants of the libUrl or
> tsNet commands/functions with these protocols, you will get an error.
>
> For libUrl commands, non-blocking commands are:
>
> "load url", "libUrlDownloadToFile", "libUrlFtpUpload",
> "libUrlFtpUploadFile"
>
> For tsNet commands, non-blocking functions are:
>
> "tsNetGet", "tsNetGetFile", "tsNetUpload", "tsNetUploadFile", "tsNetSmtp",
> "tsNetSmtpFile", "tsNetSendCmd", "tsNetPost", "tsNetHead", "tsNetCustom"
>
>
> 2.  For Indy users, SFTP and SMTP can only be performed to/from a variable
> - not directly using a file.
>
> This means you will also get an error if you use any of the blocking
> functions which directly reference a file when using these protocols.
>
> For tsNet, these functions are:
>
> "tsNetGetFileSync", "tsNetUploadFileSync", "tsNetSmtpFileSync"
>
>
> Cheers,
>
> Charles
>
>
> On 28/12/2016 5:31 AM, Andre Garzia wrote:
>
>> Hey,
>>
>> Yes, we found that page as well. The problem is that even though the page
>> lists features available to each license, there is no list of commands 
and
>> functions per license. For example, it says that public key 
authentication
>> is only available to business license holders, so we'd assume that if we
>> call tsNetUploadFileSync passing a username and password as an SFTP URL,
>> should work but it doesn't. Then we'd look into the docs and see that we
>> can pass a settings array with username and password which also doesn't
>> work.
>>
>> When I say "doesn't work", I don't mean it is buggy, I mean it returns an
>> error saying the external is unlicensed. Which will probably make me
>> fallback to using shell commands to scp/sftp/rsync or whatever I need to
>> make file transfers.
>>
>> This "escalation of features" for file transfers based on your license 
for
>> me is cumbersome as I am more prone to use other solutions than stay
>> inside
>> LC but this is a whole different thread.
>>
>> What I think would be useful and not disruptive to HQ business model is
>> more info about this license limitations inside the LC dictionary. When
>> you
>> look at a given entry there, you don't see this info.
>>
>> om om
>> andre
>> PS: It has been a while hasn't it?
>>
>> On Tue, Dec 27, 2016 at 7:32 AM, Richard Gaskin <
>> ambassa...@fourthworld.com>
>> wrote:
>>
>> Sannyasin Brahmanathaswami wrote:
>>>
>>> We need some help.

 We know that we can do SFTP with TS-Net external

 but

 functions that we try to use from an Indy LC return "unlicensed" even
 when, the documentation make not indication that they should fail
 without the business license.

 What we need is

 Documention on what functions and methods work for SFTP in Indy.

>>> There's probably a more intuitive taxonomic placement for this (though
>>> admittedly I can't decide on one offhand - suggestions?), but I poked
>>> around the livecode.com site and discovered that if I click "Pricing"
>>> then about the middle of the price comparison page is a link labeled
>>> "Compare Networking Fearures", which leads to this page that offers a
>>> breakdown by edition:
>>>
>>> >> networking-layer/>
>>>
>>> --
>>>   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, 

Re: TS Net for Indy vs Business

2016-12-30 Thread Skip Kimpel
+1

LC needs to reconsider breaking up functionality based upon licensing.

SKIP

> On Dec 30, 2016, at 6:40 AM, Roger Eller  wrote:
> 
> I am really disappointed that SFTP (for Indy) is limited to a variable
> (RAM) -vs- writing directly to a file.  Moving large files that exceed
> system RAM is very common.
> 
> ~Roger
> 
> On Dec 30, 2016 5:13 AM, "Charles Warwick" 
> wrote:
> 
>> Hi Andre,
>> 
>> I will be adding a fair amount of documentation for tsNet over the coming
>> weeks that I hope will better answer a number of the questions that are
>> being asked on the list.
>> 
>> In the mean time, I hope that the following two points will explain what
>> is happening for you.
>> 
>> 
>> 1.  For Indy users, SFTP and SMTP can only be performed in "blocking"
>> operations.
>> 
>> This means if you call any of the non-blocking variants of the libUrl or
>> tsNet commands/functions with these protocols, you will get an error.
>> 
>> For libUrl commands, non-blocking commands are:
>> 
>> "load url", "libUrlDownloadToFile", "libUrlFtpUpload",
>> "libUrlFtpUploadFile"
>> 
>> For tsNet commands, non-blocking functions are:
>> 
>> "tsNetGet", "tsNetGetFile", "tsNetUpload", "tsNetUploadFile", "tsNetSmtp",
>> "tsNetSmtpFile", "tsNetSendCmd", "tsNetPost", "tsNetHead", "tsNetCustom"
>> 
>> 
>> 2.  For Indy users, SFTP and SMTP can only be performed to/from a variable
>> - not directly using a file.
>> 
>> This means you will also get an error if you use any of the blocking
>> functions which directly reference a file when using these protocols.
>> 
>> For tsNet, these functions are:
>> 
>> "tsNetGetFileSync", "tsNetUploadFileSync", "tsNetSmtpFileSync"
>> 
>> 
>> Cheers,
>> 
>> Charles
>> 
>> 
>>> On 28/12/2016 5:31 AM, Andre Garzia wrote:
>>> 
>>> Hey,
>>> 
>>> Yes, we found that page as well. The problem is that even though the page
>>> lists features available to each license, there is no list of commands and
>>> functions per license. For example, it says that public key authentication
>>> is only available to business license holders, so we'd assume that if we
>>> call tsNetUploadFileSync passing a username and password as an SFTP URL,
>>> should work but it doesn't. Then we'd look into the docs and see that we
>>> can pass a settings array with username and password which also doesn't
>>> work.
>>> 
>>> When I say "doesn't work", I don't mean it is buggy, I mean it returns an
>>> error saying the external is unlicensed. Which will probably make me
>>> fallback to using shell commands to scp/sftp/rsync or whatever I need to
>>> make file transfers.
>>> 
>>> This "escalation of features" for file transfers based on your license for
>>> me is cumbersome as I am more prone to use other solutions than stay
>>> inside
>>> LC but this is a whole different thread.
>>> 
>>> What I think would be useful and not disruptive to HQ business model is
>>> more info about this license limitations inside the LC dictionary. When
>>> you
>>> look at a given entry there, you don't see this info.
>>> 
>>> om om
>>> andre
>>> PS: It has been a while hasn't it?
>>> 
>>> On Tue, Dec 27, 2016 at 7:32 AM, Richard Gaskin <
>>> ambassa...@fourthworld.com>
>>> wrote:
>>> 
>>> Sannyasin Brahmanathaswami wrote:
 
 We need some help.
> 
> We know that we can do SFTP with TS-Net external
> 
> but
> 
> functions that we try to use from an Indy LC return "unlicensed" even
> when, the documentation make not indication that they should fail
> without the business license.
> 
> What we need is
> 
> Documention on what functions and methods work for SFTP in Indy.
> 
 There's probably a more intuitive taxonomic placement for this (though
 admittedly I can't decide on one offhand - suggestions?), but I poked
 around the livecode.com site and discovered that if I click "Pricing"
 then about the middle of the price comparison page is a link labeled
 "Compare Networking Fearures", which leads to this page that offers a
 breakdown by edition:
 
 
 
 --
  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
 
 
>>> 
>>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription 

Re: TS Net for Indy vs Business

2016-12-30 Thread Roger Eller
I am really disappointed that SFTP (for Indy) is limited to a variable
(RAM) -vs- writing directly to a file.  Moving large files that exceed
system RAM is very common.

~Roger

On Dec 30, 2016 5:13 AM, "Charles Warwick" 
wrote:

> Hi Andre,
>
> I will be adding a fair amount of documentation for tsNet over the coming
> weeks that I hope will better answer a number of the questions that are
> being asked on the list.
>
> In the mean time, I hope that the following two points will explain what
> is happening for you.
>
>
> 1.  For Indy users, SFTP and SMTP can only be performed in "blocking"
> operations.
>
> This means if you call any of the non-blocking variants of the libUrl or
> tsNet commands/functions with these protocols, you will get an error.
>
> For libUrl commands, non-blocking commands are:
>
> "load url", "libUrlDownloadToFile", "libUrlFtpUpload",
> "libUrlFtpUploadFile"
>
> For tsNet commands, non-blocking functions are:
>
> "tsNetGet", "tsNetGetFile", "tsNetUpload", "tsNetUploadFile", "tsNetSmtp",
> "tsNetSmtpFile", "tsNetSendCmd", "tsNetPost", "tsNetHead", "tsNetCustom"
>
>
> 2.  For Indy users, SFTP and SMTP can only be performed to/from a variable
> - not directly using a file.
>
> This means you will also get an error if you use any of the blocking
> functions which directly reference a file when using these protocols.
>
> For tsNet, these functions are:
>
> "tsNetGetFileSync", "tsNetUploadFileSync", "tsNetSmtpFileSync"
>
>
> Cheers,
>
> Charles
>
>
> On 28/12/2016 5:31 AM, Andre Garzia wrote:
>
>> Hey,
>>
>> Yes, we found that page as well. The problem is that even though the page
>> lists features available to each license, there is no list of commands and
>> functions per license. For example, it says that public key authentication
>> is only available to business license holders, so we'd assume that if we
>> call tsNetUploadFileSync passing a username and password as an SFTP URL,
>> should work but it doesn't. Then we'd look into the docs and see that we
>> can pass a settings array with username and password which also doesn't
>> work.
>>
>> When I say "doesn't work", I don't mean it is buggy, I mean it returns an
>> error saying the external is unlicensed. Which will probably make me
>> fallback to using shell commands to scp/sftp/rsync or whatever I need to
>> make file transfers.
>>
>> This "escalation of features" for file transfers based on your license for
>> me is cumbersome as I am more prone to use other solutions than stay
>> inside
>> LC but this is a whole different thread.
>>
>> What I think would be useful and not disruptive to HQ business model is
>> more info about this license limitations inside the LC dictionary. When
>> you
>> look at a given entry there, you don't see this info.
>>
>> om om
>> andre
>> PS: It has been a while hasn't it?
>>
>> On Tue, Dec 27, 2016 at 7:32 AM, Richard Gaskin <
>> ambassa...@fourthworld.com>
>> wrote:
>>
>> Sannyasin Brahmanathaswami wrote:
>>>
>>> We need some help.

 We know that we can do SFTP with TS-Net external

 but

 functions that we try to use from an Indy LC return "unlicensed" even
 when, the documentation make not indication that they should fail
 without the business license.

 What we need is

 Documention on what functions and methods work for SFTP in Indy.

>>> There's probably a more intuitive taxonomic placement for this (though
>>> admittedly I can't decide on one offhand - suggestions?), but I poked
>>> around the livecode.com site and discovered that if I click "Pricing"
>>> then about the middle of the price comparison page is a link labeled
>>> "Compare Networking Fearures", which leads to this page that offers a
>>> breakdown by edition:
>>>
>>> >> networking-layer/>
>>>
>>> --
>>>   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
>>>
>>>
>>
>>
>
> ___
> 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: How to tell if something is put into the message box

2016-12-30 Thread Alex Tweedly

On 30/12/2016 09:07, Kay C Lan wrote:


That is where the misunderstanding is, \w is a word character,
equivalent to [a-zA-Z0-9_], not a word, so to get a single word
(variable name) that is equal to or longer than a single character you
need \w+

See - I said I was not an expert; I should have said I lacking even 
basic knowledge :-)


Sorry for taking us down a wrong path 

-- Alex.

___
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: TS Net for Indy vs Business

2016-12-30 Thread Charles Warwick

Hi Andre,

I will be adding a fair amount of documentation for tsNet over the 
coming weeks that I hope will better answer a number of the questions 
that are being asked on the list.


In the mean time, I hope that the following two points will explain what 
is happening for you.



1.  For Indy users, SFTP and SMTP can only be performed in "blocking" 
operations.


This means if you call any of the non-blocking variants of the libUrl or 
tsNet commands/functions with these protocols, you will get an error.


For libUrl commands, non-blocking commands are:

"load url", "libUrlDownloadToFile", "libUrlFtpUpload", "libUrlFtpUploadFile"

For tsNet commands, non-blocking functions are:

"tsNetGet", "tsNetGetFile", "tsNetUpload", "tsNetUploadFile", 
"tsNetSmtp", "tsNetSmtpFile", "tsNetSendCmd", "tsNetPost", "tsNetHead", 
"tsNetCustom"



2.  For Indy users, SFTP and SMTP can only be performed to/from a 
variable - not directly using a file.


This means you will also get an error if you use any of the blocking 
functions which directly reference a file when using these protocols.


For tsNet, these functions are:

"tsNetGetFileSync", "tsNetUploadFileSync", "tsNetSmtpFileSync"


Cheers,

Charles


On 28/12/2016 5:31 AM, Andre Garzia wrote:

Hey,

Yes, we found that page as well. The problem is that even though the page
lists features available to each license, there is no list of commands and
functions per license. For example, it says that public key authentication
is only available to business license holders, so we'd assume that if we
call tsNetUploadFileSync passing a username and password as an SFTP URL,
should work but it doesn't. Then we'd look into the docs and see that we
can pass a settings array with username and password which also doesn't
work.

When I say "doesn't work", I don't mean it is buggy, I mean it returns an
error saying the external is unlicensed. Which will probably make me
fallback to using shell commands to scp/sftp/rsync or whatever I need to
make file transfers.

This "escalation of features" for file transfers based on your license for
me is cumbersome as I am more prone to use other solutions than stay inside
LC but this is a whole different thread.

What I think would be useful and not disruptive to HQ business model is
more info about this license limitations inside the LC dictionary. When you
look at a given entry there, you don't see this info.

om om
andre
PS: It has been a while hasn't it?

On Tue, Dec 27, 2016 at 7:32 AM, Richard Gaskin 
wrote:


Sannyasin Brahmanathaswami wrote:


We need some help.

We know that we can do SFTP with TS-Net external

but

functions that we try to use from an Indy LC return "unlicensed" even
when, the documentation make not indication that they should fail
without the business license.

What we need is

Documention on what functions and methods work for SFTP in Indy.

There's probably a more intuitive taxonomic placement for this (though
admittedly I can't decide on one offhand - suggestions?), but I poked
around the livecode.com site and discovered that if I click "Pricing"
then about the middle of the price comparison page is a link labeled
"Compare Networking Fearures", which leads to this page that offers a
breakdown by edition:



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







___
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: How to tell if something is put into the message box

2016-12-30 Thread Kay C Lan
On Fri, Dec 30, 2016 at 8:10 AM, Alex Tweedly  wrote:
> OK, I am NOT a regex expert, but ...
>
> wouldn't that give you other lines like
>put tVar into myVar

No, because \w doesn't match white space chars like space and tab.

> should it not be simply
> ^put \w$

that would only work if you have something like

put x
put y
put t

as it is only matching a single word char

> so that you don't get all the other put statements ... that "+" allows any
> number (>=1) of words.

That is where the misunderstanding is, \w is a word character,
equivalent to [a-zA-Z0-9_], not a word, so to get a single word
(variable name) that is equal to or longer than a single character you
need \w+

> And even then, you will miss
>if x = y then put tVar

That is a good point and there are other examples where my basic
suggestion would fail, but I was simply pointing out that there
already exists a simple mechanism built into Find and Replace that is
powerful and extremely useful and with a little tweaking would be able
to quickly locate what you are looking for.

Oh, and Ali's tip is very useful too!

___
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