Re: Message watcher and selectionChanged

2020-07-06 Thread Mark Talluto via use-livecode
On Jul 6, 2020, at 2:05 PM, Richard Gaskin via use-livecode 
 wrote:
> 
> Mark Talluto wrote:
> 
> > You might try Richard Gaskin’s ‘Flight Recorder’. I use it all the
> > time.
> > You can get it from his site at:
> > https://www.fourthworld.com/livecode/index.html
> >
> > I have a modified version that includes a performance boost that I am
> > not sure are part of the original distribution.
> > http://www.canelasoftware.com/pub/canela/4W_FlightRecorder.rev.zip
> 
> I was unaware that forks of my tool were being distributed, so I could not 
> have incorporated any change requests.
> 
> I'll find the diffs and incorporate them into the master at my site this week.
> 
> Thank you for the enhancement, and for letting me know about it.

You know you have arrived when there are forks of your works in the wild. 
I do not remember the changes I made. I’ll look up the email I sent you. In all 
fairness, it was many years ago. 
I know you are a busy developer with a full life.

I’ll dig up the original email and fire it over to you.

Best regards,

Mark Talluto
livecloud.io 
nursenotes.net 
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: OAuth2 on Win10: not returning to my app

2020-07-06 Thread Richard Gaskin via use-livecode

Thanks for confirming my hunch about the redirect URI.

I've passed along a localhost string to the Azure admin with a port 
specifier that matches the one I'm passing into the lib.  Still no go - 
same result, no browser widget close.


One possible issue: the admin tells me the Azure admin UI doesn't allow 
"http" as a scheme, so he used "https".  Azure accepted it so that much 
is fine, but of course SSL isn't used for local host so is that what's 
throwing this off?


Any guidance would be greatly appreciated, even if it's just to docs for 
the lib.  So far all I've found it one example Lesson about Slack.


TIA -

--
 Richard Gaskin
 Fourth World Systems


Monte Goulding wrote:

> It does sound like an issue with the redirect uri.
>
> Perhaps a configuration issue in your app on the endpoint? Some
> endpoints will use the redirect uri from the request, some will ensure
> it matches perfectly with your settings for your app on their portal,
> some will just use the redirect in the portal settings.
>
> Whatever is happening, there is no HTTP request to localhost on your
> specified port because if there was the dialog would close by itself.
>
>> On 30 Jun 2020, at 6:14 am, Richard Gaskin wrote:
>>
>> I've been working with the Oauth2 lib included with v9 (superhandy,
>> team, thanks!), and I've run into a snag:
>>
>> When I call it, the browser widgets opens and goes to the
>> authentication provider (in this case Office 365), and authentication
>> seems to work well.
>>
>> However, at that point I'd expect the browser widget's window to
>> close and "it" would contain the approved auth scope info.
>>
>> Instead what I'm seeing is the browser widget window remains open,
>> and it redirects into my Office 365 account.  I can close the window
>> manually with the "Cancel" button, but then "it" in my calling script
>> contains "Cancel", no auth info.
>>
>> Have any of you successfully used LC's OAuth2 lib to log into MS
>> Office 365 or other MS product that uses OAuth?
>>
>> If so, what did you use for the redirect URL?  Or is there something
>> else I should be considering?
>>
>> TIA -
>>
>> --



___
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: Message watcher and selectionChanged

2020-07-06 Thread Richard Gaskin via use-livecode

Mark Talluto wrote:

> You might try Richard Gaskin’s ‘Flight Recorder’. I use it all the
> time.
> You can get it from his site at:
> https://www.fourthworld.com/livecode/index.html
>
> I have a modified version that includes a performance boost that I am
> not sure are part of the original distribution.
> http://www.canelasoftware.com/pub/canela/4W_FlightRecorder.rev.zip

I was unaware that forks of my tool were being distributed, so I could 
not have incorporated any change requests.


I'll find the diffs and incorporate them into the master at my site this 
week.


Thank you for the enhancement, and for letting me know about it.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


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


Re: Message watcher and selectionChanged

2020-07-06 Thread Mark Talluto via use-livecode
On Jul 6, 2020, at 9:41 AM, Alex Tweedly via use-livecode 
 wrote:
> 
> 
> On 06/07/2020 17:19, J. Landman Gay via use-livecode wrote:
>> There's a button at the lower right of the window that allows you to select 
>> which messages are suppressed. The default is to suppress unused messages 
>> but you can change that. IDE messages aren't shown by default either and you 
>> can add your own if you want.
>> 
> Thanks Jacqueline.
> 
> I tried that button, and it tells me (or seems to tell me) that the only 
> 'suppressed' message is 'mousemove' (and it doesn't mention 'unused' at all - 
> only 'handled' and 'not handled' - and neither of those is selected as 
> suppressed). So it's a confusing 'default'.
> 
> Now that I know, I will always test with a handler rather than assuming the 
> Watcher is telling the truth.
> 
> (Hmmm - that last line feels like I'm in an episode of Buffy, or Once Upon a 
> Time, or ... :-)
> 
> Thanks
> 
> Alex.

Alex,

You might try Richard Gaskin’s ‘Flight Recorder’. I use it all the time. 
You can get it from his site at:  
https://www.fourthworld.com/livecode/index.html 


I have a modified version that includes a performance boost that I am not sure 
are part of the original distribution.
http://www.canelasoftware.com/pub/canela/4W_FlightRecorder.rev.zip 



Best regards,

Mark Talluto
livecloud.io 
nursenotes.net 
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: Mobile Keyboard

2020-07-06 Thread J. Landman Gay via use-livecode
I got busy and couldn't get back to this for a while. But the proposed fix isn't really any 
different from the one I've used and others have suggested. You still have to send a message on 
preOpen-anything and then do something that deselects the field, whether it's unsetting/setting 
traversalOn, lockText, or focus.


If you have editable fields on several or all cards, then doing the workaround isn't enough on 
preopenstack. You have to include the kludge on every card.


I wish we had a field property that avoided the issue altogether.

On 6/24/20 1:46 PM, panagiotis merakos via use-livecode wrote:

By the way, this has worked for me, tested on iOS:

on preopenstack
do_stuff
send "hideMobileKeyword" to me in 100 millisec
end preopenstack

on hideMobileKeyword
focus on nothing
end hideMobileKeyword

Kind regards,
Panos
--

On Wed, 24 Jun 2020 at 21:40, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:


We've all had that problem:


On 6/23/20 6:53 PM, Dan Friedman via use-livecode wrote:

Ralph,

I had this same issue on a project.  The problem is when the card/stack

opens, LiveCode want to activate the first typable field it finds.  If my
old memory is correct, what I did was this:


on preOpenCard
   set the lockText of fld "thisDarnField" to true
end preOpenCard

on openCard
   send "doUnlockTheField" to this card in 1 tick //don't send this

until everything is done loading (you could probably send this in the
preOpenCard too)

end openCard

on doUnlockTheField
   set the lockText of fld "thisDarnField" to false
end doUnlockTheField


Hope that helps and I hope it works!   I hope my cobweb-ridden brain

remembers this correctly!


-Dan



--
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: Message watcher and selectionChanged

2020-07-06 Thread J. Landman Gay via use-livecode

On 7/6/20 11:41 AM, Alex Tweedly via use-livecode wrote:


On 06/07/2020 17:19, J. Landman Gay via use-livecode wrote:
There's a button at the lower right of the window that allows you to select which messages 
are suppressed. The default is to suppress unused messages but you can change that. IDE 
messages aren't shown by default either and you can add your own if you want.



Thanks Jacqueline.

I tried that button, and it tells me (or seems to tell me) that the only 'suppressed' message 
is 'mousemove' (and it doesn't mention 'unused' at all - only 'handled' and 'not handled' - and 
neither of those is selected as suppressed). So it's a confusing 'default'.


Now that I know, I will always test with a handler rather than assuming the Watcher is telling 
the truth.


(Hmmm - that last line feels like I'm in an episode of Buffy, or Once Upon a 
Time, or ... :-)


"Unused" = "not handled" when I'm not at the Mac to look. ;)

I just did a short test with "not handled" unchecked and I'm getting messages for things like 
resumeStack, openField, focusOut, etc. which have no supporting handlers in my scripts. I 
wonder if the messages you want to track are considered part of the (suppressed) IDE messages? 
Hard to say.


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


[ANN] This Week in LiveCode 232

2020-07-06 Thread panagiotis merakos via use-livecode
Hi all,

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

Read issue #232 here: https://bit.ly/31NaZV6

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

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

-- 
Panagiotis Merakos 
LiveCode Software Developer

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


RE: What's Going On In The IDE

2020-07-06 Thread Ralph DiMola via use-livecode
I can repeat it every time I load the stack. It never is fast once the SE is
opened. So the 64k question. What am a doing that can wack out the SE from
square one? The 128k question how do I find it?

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Mark Wieder via use-livecode
Sent: Monday, July 06, 2020 12:23 PM
To: Ralph DiMola via use-livecode
Cc: Mark Wieder
Subject: Re: What's Going On In The IDE

On 7/3/20 10:13 AM, Ralph DiMola via use-livecode wrote:


This card renders sub second but is unresponsive for an additional 14
seconds. What's going on here? The IDE stacks totals out to 13 seconds. 
This is after I made 1 minor edit in the script with the message box open.
If I open the IDE without opening the script editor or message box then it
only takes 4 seconds of which almost 3 seconds is in IDE scripts. I can
expect some IDE overhead but waiting 14 to 20 seconds to get the IDE back
after a minor edit that might not even be on this card is a problem. It
slows development down to a crawl. The IDE hang is proportional to the
number of fields on the card. The same card with only say 3 groups with 1
field each of 20 characters causes the IDE hang to go down to one second.

I see similar things every once in a while, but unexpectedly so I don't have
a causal relationship to narrow down. I always just figure I did something
weird in my code.

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

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


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


Re: Message watcher and selectionChanged

2020-07-06 Thread J. Landman Gay via use-livecode
By the way, I'd keep mouseMove in the blocked messages or else the whole 
window will fill up and bump the stuff you do want to see off the top.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 6, 2020 11:21:40 AM "J. Landman Gay via use-livecode" 
 wrote:



There's a button at the lower right of the window that allows you to select
which messages are suppressed. The default is to suppress unused messages
but you can change that. IDE messages aren't shown by default either and
you can add your own if you want.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 6, 2020 8:34:17 AM Alex Tweedly via use-livecode
 wrote:


I was using the Message Watcher in the IDE to check on which messages
were sent in different cases, and noticed that:

'selectionChanged' was not being reported when I changed the selection
or insertion point within a field.

BUT if I add a 'selectionChanged' handler to the field, the handler is
called, and the Message Watcher THEN does report it.

Does that seem right ?

Should messages only be reported if they are being checked for somewhere ?

-- Alex.

P.S. or if anyone wants to answer the *real* question :
   does anyone have a general purpose 'undo/redo' handler-set for text
fields that they could share :-) ?


___
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: Message watcher and selectionChanged

2020-07-06 Thread Alex Tweedly via use-livecode



On 06/07/2020 17:19, J. Landman Gay via use-livecode wrote:
There's a button at the lower right of the window that allows you to 
select which messages are suppressed. The default is to suppress 
unused messages but you can change that. IDE messages aren't shown by 
default either and you can add your own if you want.



Thanks Jacqueline.

I tried that button, and it tells me (or seems to tell me) that the only 
'suppressed' message is 'mousemove' (and it doesn't mention 'unused' at 
all - only 'handled' and 'not handled' - and neither of those is 
selected as suppressed). So it's a confusing 'default'.


Now that I know, I will always test with a handler rather than assuming 
the Watcher is telling the truth.


(Hmmm - that last line feels like I'm in an episode of Buffy, or Once 
Upon a Time, or ... :-)


Thanks

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: What's Going On In The IDE

2020-07-06 Thread Mark Wieder via use-livecode

On 7/3/20 10:13 AM, Ralph DiMola via use-livecode wrote:


This card renders sub second but is unresponsive for an additional 14 
seconds. What's going on here? The IDE stacks totals out to 13 seconds. 
This is after I made 1 minor edit in the script with the message box 
open. If I open the IDE without opening the script editor or message box 
then it only takes 4 seconds of which almost 3 seconds is in IDE 
scripts. I can expect some IDE overhead but waiting 14 to 20 seconds to 
get the IDE back after a minor edit that might not even be on this card 
is a problem. It slows development down to a crawl. The IDE hang is 
proportional to the number of fields on the card. The same card with 
only say 3 groups with 1 field each of 20 characters causes the IDE hang 
to go down to one second.


I see similar things every once in a while, but unexpectedly so I don't 
have a causal relationship to narrow down. I always just figure I did 
something weird in my code.


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

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


Re: Message watcher and selectionChanged

2020-07-06 Thread J. Landman Gay via use-livecode
There's a button at the lower right of the window that allows you to select 
which messages are suppressed. The default is to suppress unused messages 
but you can change that. IDE messages aren't shown by default either and 
you can add your own if you want.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 6, 2020 8:34:17 AM Alex Tweedly via use-livecode 
 wrote:



I was using the Message Watcher in the IDE to check on which messages
were sent in different cases, and noticed that:

'selectionChanged' was not being reported when I changed the selection
or insertion point within a field.

BUT if I add a 'selectionChanged' handler to the field, the handler is
called, and the Message Watcher THEN does report it.

Does that seem right ?

Should messages only be reported if they are being checked for somewhere ?

-- Alex.

P.S. or if anyone wants to answer the *real* question :
   does anyone have a general purpose 'undo/redo' handler-set for text
fields that they could share :-) ?


___
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: WebSites made using Livecode.

2020-07-06 Thread Ralph DiMola via use-livecode
I use Html==>JS==>Async xhttp request.

The xhttp request is fielded by LC Server and is cors compliant so LC Server 
doesn't even need to be on the same web server. (this allows you to test html 
pages from desktop without a web server)

LC server returns html in a json packet.

The async JS handler in the html fires up receiving the LC server json. So the 
data path continued as JS==>html to the web page. In JS I convert the json to 
an array and send the LC server generated html to various s.

Works great. No php. I was able to continue coding in LC and was able to 
leverage all my existing LC libraries(20,000+ lines). I had to learn a little 
JS but all the heavy lifting is done in LC.

My little slice...

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




___
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: WebSites made using Livecode.

2020-07-06 Thread Heriberto Torrado via use-livecode

> if you look at your server log files you will see that
> China hacker bots are heavily searching for PHP
> and when they can’t find it they even try to install
> it so they can continue hacking away.

That's a really good point!
I use fail2ban and various security modifications for Apache on our 
servers, but if you see the server logs it still feels scary.


Hery

On 7/5/20 7:53 PM, Rick Harrison via use-livecode wrote:

Hi Hery,

You can set up your Livecode Server to work
with your database directly on the same computer.
You do not need PHP at all for anything.  In fact
if you look at your server log files you will see that
China hacker bots are heavily searching for PHP
and when they can’t find it they even try to install
it so they can continue hacking away.

Livecode Server is fun!

Good luck!

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


--

Best regards/ Saludos cordiales/ Cordialement

Heriberto Torrado
​Chief Technology Officer (CTO)
​Director de informática
Directeur informatique

*NetDreams S.C.*
http://www.networkdreams.net

 Address / Dirección / Adresse:​

*USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA
*Europe / Europa: *Paseo de la Castellana 135 10ª Planta Madrid 28024 
Spain / España


*Tel - Phone - Fax:*

Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787
Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48

   Please consider the environment before printing this email / Por 
favor considera tu responsabilidad medioambiental antes de imprimir esta 
página.


Confidentiality: The information contained in this message as well as 
the attached file(s) is confidential/privileged and is only intended for 
the person(s) to whom it is addressed. If the reader of this message is 
not the intended recipient or the employee or agent responsible for 
delivering the message to the intended recipient, or you have received 
this comunication in error, please be aware that any dissemination, 
distribution or duplication is strictly prohibited, and can be illegal, 
and please notify us immediately and return the original message to us 
at the address above. Thank you.


Confidencialidad: La información contenida en este mensaje y/o 
archivo(s) adjunto(s) es confidencial/privilegiada y está destinada a 
ser leída sólo por la(s) persona(s) a la(s) que va dirigida. Si usted 
lee este mensaje y no es el destinatario señalado, el empleado o el 
agente responsable de entregar el mensaje al destinatario, o ha recibido 
esta comunicación por error, le informamos que está totalmente 
prohibida, y puede ser ilegal, cualquier divulgación, distribución o 
reproducción de esta comunicación, y le rogamos que nos lo notifique 
inmediatamente y nos devuelva el mensaje original a la dirección arriba 
mencionada. Gracias.


Viruses: Although we have taken steps to insure that this e-mail and 
attachments are free from any virus, we advise that in keeping with good 
computing practice, the recipient should ensure they are actually virus 
free.


Virus: Aunque hemos tomado las medidas para asegurarnos que este correo 
electrónico y sus ficheros adjuntos están libres de virus, le 
recomendamos que a efectos de mantener buenas prácticas de seguridad, el 
receptor debe asegurarse que este correo y sus ficheros adjuntos están 
libres de virus.


___
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: WebSites made using Livecode.

2020-07-06 Thread Heriberto Torrado via use-livecode

Thanks Alex,

Those sites look good and they feel very fast.

Hery

On 7/6/20 5:27 AM, Alex Tweedly via use-livecode wrote:

Hi Hery,

not sure if you've received any pointers to actual sites yet :-).

Here are a few I've made :

https://kilmelford.com/

most interesting of them - but since all events are cancelled this 
year, it's currently less interesting than other times :-) All made 
with my own CMS for LC; flat file text and text database, so really 
trivial installation, and very little attack surface (no PHP, no SQL)


http://karenliversedge.com/

done with Ralf's revigniter framework.

https://melaniechmielewska.co.uk/

not quite a 'modern' website.  Done with a very simple LC server 
script some years ago. The artist said "I want a retro appearance. I 
make stone sculptures to last 200-2000 years - I don't want a website 
that changes every 2 year". :-)


Alex.

On 06/07/2020 00:53, Rick Harrison via use-livecode wrote:

Hi Hery,

You can set up your Livecode Server to work
with your database directly on the same computer.
You do not need PHP at all for anything.  In fact
if you look at your server log files you will see that
China hacker bots are heavily searching for PHP
and when they can’t find it they even try to install
it so they can continue hacking away.

Livecode Server is fun!

Good luck!

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


--

Best regards/ Saludos cordiales/ Cordialement

Heriberto Torrado
​Chief Technology Officer (CTO)
​Director de informática
Directeur informatique

*NetDreams S.C.*
http://www.networkdreams.net

 Address / Dirección / Adresse:​

*USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA
*Europe / Europa: *Paseo de la Castellana 135 10ª Planta Madrid 28024 
Spain / España


*Tel - Phone - Fax:*

Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787
Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48

   Please consider the environment before printing this email / Por 
favor considera tu responsabilidad medioambiental antes de imprimir esta 
página.


Confidentiality: The information contained in this message as well as 
the attached file(s) is confidential/privileged and is only intended for 
the person(s) to whom it is addressed. If the reader of this message is 
not the intended recipient or the employee or agent responsible for 
delivering the message to the intended recipient, or you have received 
this comunication in error, please be aware that any dissemination, 
distribution or duplication is strictly prohibited, and can be illegal, 
and please notify us immediately and return the original message to us 
at the address above. Thank you.


Confidencialidad: La información contenida en este mensaje y/o 
archivo(s) adjunto(s) es confidencial/privilegiada y está destinada a 
ser leída sólo por la(s) persona(s) a la(s) que va dirigida. Si usted 
lee este mensaje y no es el destinatario señalado, el empleado o el 
agente responsable de entregar el mensaje al destinatario, o ha recibido 
esta comunicación por error, le informamos que está totalmente 
prohibida, y puede ser ilegal, cualquier divulgación, distribución o 
reproducción de esta comunicación, y le rogamos que nos lo notifique 
inmediatamente y nos devuelva el mensaje original a la dirección arriba 
mencionada. Gracias.


Viruses: Although we have taken steps to insure that this e-mail and 
attachments are free from any virus, we advise that in keeping with good 
computing practice, the recipient should ensure they are actually virus 
free.


Virus: Aunque hemos tomado las medidas para asegurarnos que este correo 
electrónico y sus ficheros adjuntos están libres de virus, le 
recomendamos que a efectos de mantener buenas prácticas de seguridad, el 
receptor debe asegurarse que este correo y sus ficheros adjuntos están 
libres de virus.


___
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: WebSites made using Livecode.

2020-07-06 Thread Heriberto Torrado via use-livecode

Thank you all very much for the solutions provided and for the advice.

How wonderful it is to belong to a club like Livecode: The community is 
incredibly kind and generous.


As you say André, it is not important if Livecode is a minority 
language: It is very powerful.
I can create a Desktop, Mobile, Server, HTML5, a web app, a command line 
script or a command line compiled binary using it.


To be honest with you: I cannot find another programming language that 
can do this without fighting with several "Frameworks of the week".


If you enter the Hacker News website you will see all those comments 
about very trendy and sexy languages like Erlang, Cloruje or Dart, which 
are probably less used than Livecode.

So, yes the programming language popularity is very subjective.

Hery

On 7/6/20 9:55 AM, Andre Garzia via use-livecode wrote:

Hi Heriberto,

I've read this thread and want to share a bit of experience of using LC as
a server engine. I'm part of the team that builds
http://www.himalayanacademy.com which is probably the largest site built
with LC Server around. I'll try to frame this email in the topics I've seen
you worried about, feel free to ask questions here on the thread and I will
try my best to answer them.

ON THE POPULARITY OF A LANGUAGE
Many managers and clients don't have the necessary context to judge
whatever tools are presented to them and will often go to generic metrics
such as popularity to try to gauge what is going on. Even though popularity
might correlate to quality it doesn't mean that something less popular is
bad. You can't really compare the engines powering behemoths of the
industry with all their gravitas to small niche languages in terms of
popularity because the small languages will always look bad. If you go
through those metrics, even extremely powerful languages like Haskell and
Elm will show as small blips when compared to PHP or Ruby.

It is important to notice that there is a very important case to be made
for choosing popular languages: the high availability of software
developers working with those tools and vendors/webhosts/ecosystems
supporting those languages. It is easier to find PHP developers, hosts, and
consulting firms, than it is to find the LC equivalents, so for a company
choosing to bet their development into some stack, the PHP solution might
seem more attractive.

To counterbalance that you can say that most people doing professional
development will be using Virtual Private Servers instead of shared host
accounts, and those type of servers give you full control over the
(virtual) machine, which means you can host LC on them. Linode, AWS, Azure,
Digital Ocean, all those popular services can host LC based solutions when
set up correctly. Besides that, LiveCode has an open source GPL version, so
they don't need to be that scared of a using it as even if the LC HQ
decides to do something else, they can still build and use the code.
Talking about LC HQ, it might be good to tell potential clients that the
company that builds the language has a consulting arm and if anything
happens then can be hired to fix or help fix the difficult unique
challenges they may face. Having this direct line to the LC HQ is a
valuable thing.

ON RESPONSIVENESS AND MODERN WEBSITES
All that happens client-side and is not related to the server engine at
all. You could be hosting a web server with an Oberon based webserver and
as long as you were shipping HTML/CSS/JS built following the current best
practices all would be well.

This means that using LC is no excuse not to learn how to do proper
webapps. Anyone working on the web these days need to have command of
"HTML5" to be able to deploy solutions that are up to the standards we
want. The good news is that HTML5 is easier than HTML < 5, if you don't
care much about compatibility with old browsers, doing a web app these days
is pretty easy.

WHERE LIVECODE SHINE (A PERSONAL TAKE)
I have been around LiveCode for a while and have developed an opinion on
which situations I think it shines. It can be used for other cases, don't
get me wrong, but it does shine in some specific patterns that make it a
lot easier to sell solutions based on it.

In my own personal and subjective experience, LiveCode shines when you are
building desktop applications, or combining desktop applications with
server-side solutions. With LiveCode you can have a webapp doing
server-side LC server and an HTML5 front-end, while still having a full
desktop application for handling all the administration stuff. Instead of
spending a ton of time to craft a webadmin panel, or a clunky CMS, you can
offer your client the full power of an offline-first desktop application to
manage the webapp you're building. That is a powerful proposition and one
that I wish would surface more in LC marketing and in the stories on this
list.

With LC you can ship a whole suite of desktop and mobile apps that act as
companions to the business your client is doing while still 

Re: Redirecting stdout to file on server

2020-07-06 Thread matthias rebbe via use-livecode
Torsten,

"the other application" that posts the data to the server should see any error 
that is returned by the server.
So if there is a server error or any error/message returned by Lc Server 
script. Both should be returned to the application.

We are also using Lc Server scripts to process data that is posted to the 
scripts.

One example is  posting price data files to a Lc Server script. The script then
checks and modifies the data in some way. I stores different versions of the 
file into different folders.
The script returns not just error messages  (the script uses put commands for 
it) if for example a file could not be written to a folder or if the posted 
data was not consistent, but also it returns information about the major step 
the script  does.

The application that posts the data to the script gets all the error/status 
messages of the script and of course and server errors  and continues further 
according to the returned data of the server/script.

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 06.07.2020 um 15:40 schrieb Torsten Holmer via use-livecode 
> :
> 
> Hi,
> 
> I use Livecode server as an API for uploading some files from another 
> application with the POST command. 
> The problem is, that I cannot see the error messages if something fails.
> In browser based interaction the command "set the errorMode to „inline"" is 
> fine, but between apps I cannot see the reply.
> 
> There seems to be a way to redirect the error messages from the server to a 
> file (like errors.txt), but I could not find any sources.
> 
> Can somebody help me out?
> 
> Kind regards,
> Torsten
> ___
> 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: WebSites made using Livecode.

2020-07-06 Thread Andre Garzia via use-livecode
Hi Heriberto,

I've read this thread and want to share a bit of experience of using LC as
a server engine. I'm part of the team that builds
http://www.himalayanacademy.com which is probably the largest site built
with LC Server around. I'll try to frame this email in the topics I've seen
you worried about, feel free to ask questions here on the thread and I will
try my best to answer them.

ON THE POPULARITY OF A LANGUAGE
Many managers and clients don't have the necessary context to judge
whatever tools are presented to them and will often go to generic metrics
such as popularity to try to gauge what is going on. Even though popularity
might correlate to quality it doesn't mean that something less popular is
bad. You can't really compare the engines powering behemoths of the
industry with all their gravitas to small niche languages in terms of
popularity because the small languages will always look bad. If you go
through those metrics, even extremely powerful languages like Haskell and
Elm will show as small blips when compared to PHP or Ruby.

It is important to notice that there is a very important case to be made
for choosing popular languages: the high availability of software
developers working with those tools and vendors/webhosts/ecosystems
supporting those languages. It is easier to find PHP developers, hosts, and
consulting firms, than it is to find the LC equivalents, so for a company
choosing to bet their development into some stack, the PHP solution might
seem more attractive.

To counterbalance that you can say that most people doing professional
development will be using Virtual Private Servers instead of shared host
accounts, and those type of servers give you full control over the
(virtual) machine, which means you can host LC on them. Linode, AWS, Azure,
Digital Ocean, all those popular services can host LC based solutions when
set up correctly. Besides that, LiveCode has an open source GPL version, so
they don't need to be that scared of a using it as even if the LC HQ
decides to do something else, they can still build and use the code.
Talking about LC HQ, it might be good to tell potential clients that the
company that builds the language has a consulting arm and if anything
happens then can be hired to fix or help fix the difficult unique
challenges they may face. Having this direct line to the LC HQ is a
valuable thing.

ON RESPONSIVENESS AND MODERN WEBSITES
All that happens client-side and is not related to the server engine at
all. You could be hosting a web server with an Oberon based webserver and
as long as you were shipping HTML/CSS/JS built following the current best
practices all would be well.

This means that using LC is no excuse not to learn how to do proper
webapps. Anyone working on the web these days need to have command of
"HTML5" to be able to deploy solutions that are up to the standards we
want. The good news is that HTML5 is easier than HTML < 5, if you don't
care much about compatibility with old browsers, doing a web app these days
is pretty easy.

WHERE LIVECODE SHINE (A PERSONAL TAKE)
I have been around LiveCode for a while and have developed an opinion on
which situations I think it shines. It can be used for other cases, don't
get me wrong, but it does shine in some specific patterns that make it a
lot easier to sell solutions based on it.

In my own personal and subjective experience, LiveCode shines when you are
building desktop applications, or combining desktop applications with
server-side solutions. With LiveCode you can have a webapp doing
server-side LC server and an HTML5 front-end, while still having a full
desktop application for handling all the administration stuff. Instead of
spending a ton of time to craft a webadmin panel, or a clunky CMS, you can
offer your client the full power of an offline-first desktop application to
manage the webapp you're building. That is a powerful proposition and one
that I wish would surface more in LC marketing and in the stories on this
list.

With LC you can ship a whole suite of desktop and mobile apps that act as
companions to the business your client is doing while still delivering a
webapp as the user facing part of your contract.



On Thu, 2 Jul 2020 at 20:41, Heriberto Torrado via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Dear LiveCode experts:
>
> I am trying to convince a customer to create their next website with
> LiveCode Server instead PHP.  The client asks me what other popular
> sites are created with LiveCode server.
>
> I have seen this in the Livecode forums , but it seems to be very old:
>
> https://forums.livecode.com/viewtopic.php?t=15689
>
> Do you know modern websites created with LiveCode?
>
> I have seen that the current LiveCode site runs Wordpress + PHP.
> Do you know why?
> --
>
> Best regards/ Saludos cordiales/ Cordialement
>
> Heriberto Torrado
> ​Chief Technology Officer (CTO)
> ​Director de informática
> Directeur informatique
>
> *NetDreams S.C.*
> 

Redirecting stdout to file on server

2020-07-06 Thread Torsten Holmer via use-livecode
Hi,

I use Livecode server as an API for uploading some files from another 
application with the POST command. 
The problem is, that I cannot see the error messages if something fails.
In browser based interaction the command "set the errorMode to „inline"" is 
fine, but between apps I cannot see the reply.

There seems to be a way to redirect the error messages from the server to a 
file (like errors.txt), but I could not find any sources.

Can somebody help me out?

Kind regards,
Torsten
___
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


Message watcher and selectionChanged

2020-07-06 Thread Alex Tweedly via use-livecode
I was using the Message Watcher in the IDE to check on which messages 
were sent in different cases, and noticed that:


'selectionChanged' was not being reported when I changed the selection 
or insertion point within a field.


BUT if I add a 'selectionChanged' handler to the field, the handler is 
called, and the Message Watcher THEN does report it.


Does that seem right ?

Should messages only be reported if they are being checked for somewhere ?

-- Alex.

P.S. or if anyone wants to answer the *real* question :
   does anyone have a general purpose 'undo/redo' handler-set for text 
fields that they could share :-) ?



___
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: WebSites made using Livecode.

2020-07-06 Thread Alex Tweedly via use-livecode

Hi Hery,

not sure if you've received any pointers to actual sites yet :-).

Here are a few I've made :

https://kilmelford.com/

most interesting of them - but since all events are cancelled this year, 
it's currently less interesting than other times :-) All made with my 
own CMS for LC; flat file text and text database, so really trivial 
installation, and very little attack surface (no PHP, no SQL)


http://karenliversedge.com/

done with Ralf's revigniter framework.

https://melaniechmielewska.co.uk/

not quite a 'modern' website.  Done with a very simple LC server script 
some years ago. The artist said "I want a retro appearance. I make stone 
sculptures to last 200-2000 years - I don't want a website that changes 
every 2 year". :-)


Alex.

On 06/07/2020 00:53, Rick Harrison via use-livecode wrote:

Hi Hery,

You can set up your Livecode Server to work
with your database directly on the same computer.
You do not need PHP at all for anything.  In fact
if you look at your server log files you will see that
China hacker bots are heavily searching for PHP
and when they can’t find it they even try to install
it so they can continue hacking away.

Livecode Server is fun!

Good luck!

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