RE: Building a Standalone MacOS App in 9.6.1

2021-01-06 Thread Heriberto Torrado via use-livecode
Hi Terence,

This last year I've compiled and run several apps for Catalina. In the last 
month I've made four builds for MacOS Big Sur.
I have never needed to sign the app.

I have taken the applications on a USB to several clients and the only message 
I have received is the typical message:  "Are you sure to run this application. 
It has been downloaded from the Internet and may not be reliable and bla, bla.."

Sometimes, when MacOS blocks you from opening an app, it lists the app on the 
General tab on the Security & Privacy panel in System Preferences. Head to that 
panel and you'll see the blocked app listed with an Open Anyway button to 
create an exception and install it.

Best,

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


-Original Message-
From: use-livecode  On Behalf Of Terence 
Heaford via use-livecode
Sent: Wednesday, January 6, 2021 9:11 AM
To: use-livecode@lists.runrev.com
Cc: Terence Heaford 
Subject: Building a Standalone MacOS App in 9.6.1 

I thought I would try to build a standalone app with the Community Edition in 
Catalina 

Many errors. Perhaps someone could shed some light.

This error is the first. "replacing existing signature xcrun: error active 
developer path”

I did see a comment on the LC Forum that suggested

sudo xcode-select —install, to install the command line tools.

I carried this out, still no luck.

Installed 9.6.1 RC1. Still no luck.

Is it necessary to have Xcode installed for this to work?


Thanks

Terry




___
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: CentOS Death in 2021

2020-12-15 Thread Heriberto Torrado via use-livecode

Hi Sean & Richmond,

I think it is best to only support LTS versions and just one desktop 
(Gnome).  This will standardize the platform a bit (Hey, I don't want to 
start a flame, I'm just saying that Gnome and Ubuntu / Debian are the 
most used).
The problem with LINUX is the sheer number of different desktops and 
configurations out there.
A small company like Livecode cannot be pretended to support all of 
these variations.


I believe that if Debian LTS is supported, Ubuntu will automatically be 
supported. Ubuntu is a derivative of Debian, so theoretically they 
should be compatible.  With the death of CENTOS there will be a massive 
migration of people to other distros (like us) and I think Debian and 
Ubuntu will be the winners.
However, it is true that many certified hardware and many government 
platforms only support RedHat / CENTOS.  Especially those in which you 
have to comply with certifications and bureaucratic regulations.

So escaping from IBM is not an option for a big-medium size business.

I only code in Livecode with Linux.  Honestly, one of the reasons that 
led me to choose Livecode over other solutions was its Linux support.


Best,
Hery

On 12/14/20 8:19 PM, Sean Cole (Pi) via use-livecode wrote:

Hi Richmond,

You're probably right. However, with security issues constantly needing
keeping up to date with, it's probably worth working out if it is worth
supporting Linux at all, then. If they, LC, feel it 'is' worth supporting
Linux, it is surely, then, essential to keep up with these latest versions
to help their customers avoid security issues.

That, I guess, is an issue in of itself. It is remarkable LC is as well
supporting of newish OS's as it is, particularly MacOS and Win10, keeping
security by encryption and TLS, etc, up to date. Linux is a wayward child,
however. Difficult to keep on top off. Even though their update cycles are
not as frequent as Win/Mac.

Thanks

Sean Cole
*Pi Digital *

On Mon, 14 Dec 2020 at 08:14, Richmond via use-livecode <
use-livecode@lists.runrev.com> wrote:


"I wonder why LC don’t state support for later Ubuntu, Fedora or Debian
builds?"

I suspect that LiveCode believes that the uptake of the Linux version is
insufficient to justify the effort of testing LC on those platforms.

Richmond.

On 14.12.20 2:20, Pi Digital via use-livecode wrote:

Thanks all. These insights are useful. Hery’s explanation of their

choice to move to Debian provides a good argument. I had just tried Ubuntu
20.04 in a parallels virtual machine and my server app worked ok. I will
try a Debian build too. I wonder why LC don’t state support for later
Ubuntu, Fedora or Debian builds?

Sean Cole
Pi Digital


On 13 Dec 2020, at 19:27, Heriberto Torrado via use-livecode <

use-livecode@lists.runrev.com> wrote:

Hi Sean,

I've been using LiveCode on Ubuntu 16.04 and 18.04 for years (Servers

and Desktops) and it worked fine.  A years ago we migrated everything to
CentOS / RedHat and Fedora (development machines and servers).  However, we
are going to migrate everything  to Debian.

Debian is very stable and offers the same user experience on Laptops,

Workstations and Servers.

Ubuntu is a good system, but after the drift from CentOS with IBM I

don't want to put the heart of our systems in the hands of any big company.

What would happen if tomorrow Ubuntu is acquired by Microsoft and they

decide to charge money for it? That's not the case with Debian: Debian is
completely independent and rock solid.

I live between Madrid and New York and in both cities there are good

professional companies who offer commercial technical support for Debian,
so you don't need any big and greedy corps getting their hands on your IT
systems.

Best,
Hery





On 12/13/20 12:40 PM, Sean Cole (Pi) via use-livecode wrote:
Hi all,

I just heard the news that RedHat is going to be dropping support for
CentOS. With my recent issues with PDF Printing in CentOS, I was

already

looking to perhaps try out CentOS8 or another Dist. but now we have

this

news I'm thinking of going to Ubuntu.

The release notes for LC says it supports Ubuntu 16.04, which is cool.

But

I notice my server host says they have 16.04, 18.04, 20.04 and 20.10.

Is

anyone out there running LC on one of these later builds of Ubuntu? I'd
like to hear your thoughts. Or maybe I should be looking at Fedora.

All the very best

Sean Cole
*Pi Digital *
___
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

Re: CentOS Death in 2021

2020-12-13 Thread Heriberto Torrado via use-livecode

Hi Sean,

I've been using LiveCode on Ubuntu 16.04 and 18.04 for years (Servers 
and Desktops) and it worked fine.  A years ago we migrated everything to 
CentOS / RedHat and Fedora (development machines and servers).  However, 
we are going to migrate everything  to Debian.
Debian is very stable and offers the same user experience on Laptops, 
Workstations and Servers.


Ubuntu is a good system, but after the drift from CentOS with IBM I 
don't want to put the heart of our systems in the hands of any big company.
What would happen if tomorrow Ubuntu is acquired by Microsoft and they 
decide to charge money for it? That's not the case with Debian: Debian 
is completely independent and rock solid.


I live between Madrid and New York and in both cities there are good 
professional companies who offer commercial technical support for 
Debian, so you don't need any big and greedy corps getting their hands 
on your IT systems.


Best,
Hery




On 12/13/20 12:40 PM, Sean Cole (Pi) via use-livecode wrote:

Hi all,

I just heard the news that RedHat is going to be dropping support for
CentOS. With my recent issues with PDF Printing in CentOS, I was already
looking to perhaps try out CentOS8 or another Dist. but now we have this
news I'm thinking of going to Ubuntu.

The release notes for LC says it supports Ubuntu 16.04, which is cool. But
I notice my server host says they have 16.04, 18.04, 20.04 and 20.10. Is
anyone out there running LC on one of these later builds of Ubuntu? I'd
like to hear your thoughts. Or maybe I should be looking at Fedora.

All the very best

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



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


Re: Livecode server UNIX version (not Linux).

2020-10-31 Thread Heriberto Torrado via use-livecode

Richard, Brian thank you very much,

I read about this Livecode execution method a time ago and found it amazing.

Livecode is an amazing product!

So, these are my thoughts:

1) It seems we can run a Livecode headless binary on BSD using the Linux 
compatibility layer. Is that so?
2) How difficult could it be porting Livecode Server to ARM? I tried to 
do this last year using the source code but I got this error: Unknown 
platform.
I tried to remove from the source code the target platform check but it 
didn't work.


Best,
Hery




On 10/29/20 1:57 PM, Richard Gaskin via use-livecode wrote:

Brian Milby wrote:

> On Oct 28, 2020, at 11:57 PM, Richard Gaskin wrote:
>> But Heriberto's up for an adventure, one enhancement that would lower
>> RAM use and speed things up a bit is this one:
>>
>> https://quality.livecode.com/show_bug.cgi?id=14115
>>
>> Heriberto, if that's interesting to you let me know. I have a
>> workaround in place now...
>
> What is the workaround that you ended up using?  I looked at the code
> once but it quickly went over my head.  I couldn’t see where the fonts
> were pulled in, at least not where it could be cleanly intercepted.

I appreciate the time you and Mark Wieder spent looking into that - 
thanks again.


I just ran another test this morning to verify that the setup works 
reasonably well, and after I get some client work out of the way I'll 
post some notes on it.


In the meantime, another option just occurred to me which may be 
simpler and more complete:



What happens when standalones are run with -ui, and can that flag be 
added to LC Server?


If -ui not only bypasses font init but all other graphics init (like 
the Skia subsystem, buffering, etc.) it should be a far better solution.


And since -ui is already supported for standalones, my hope is it 
would be simpler to make it available for LC Server than any new flag 
which would require a new implementation throughout.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.com http://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


--

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

Re: Livecode server UNIX version (not Linux).

2020-10-31 Thread Heriberto Torrado via use-livecode
Not very sure, but months ago I read this (but he seems to talk about 
BSD user utils more than the Kernel).


https://www.quora.com/Is-macOS-considered-to-be-a-BSD-UNIX

Yes, Apple’s macOS can be considered to be a BSD UNIX.

   1) Apple’s macOS is an officially certified UNIX, that takes care of 
the UNIX part of the question.


   2) NeXT was created by using BSD OS, the Mach microkernel and then 
modifying those with new modules created by NeXT.


   3) Today's macOS is descended from NeXT (which Apple acquired and 
transitioned macOS to in 1999)


   4) Apple replaced the NeXT user interface with the world famous 
Macintosh user interface


   5) Apple, slowly over the years removed the NeXT modules and 
replaced them with pure BSD modules and some Apple custom modules


   6) The Mach microkernel was replaced with the Appel XNU hybrid kernel

   7) As of macOS Catalina 10.15, there is no longer any NeXT modules 
in macOS, macOS is now mostly BSD with a few custom Apple modules and of 
course the Macintosh user interface, which has been polished over the years


   8) So yes, macOS is BSD and at the same time it still is Apple Macintosh

   9) If you go to the command line you will see that it is almost 
completely BSD with a few Apple commands for security, file system, etc.


   10) If you are using it normally, then what you see is a pure 
Macintosh user experience.




On 10/29/20 1:32 PM, Bob Sneidar via use-livecode wrote:

Are we sure about this?? I thought Apple had moved completely away from BSD a 
long while back.

Bob S



On Oct 28, 2020, at 12:53 , Heriberto Torrado via use-livecode 
 wrote:

Thanks Andre,

I realized that BSD kernels are not the same as MacOS kernels.
As you say: MacOS has a hybrid kernel based on XNU and some parts of BSD.


___
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 <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: Livecode server UNIX version (not Linux).

2020-10-31 Thread Heriberto Torrado via use-livecode

Hi Richard,


Although I love UNIX, I think this is a much better point.
Looking at the feedback comments I have realized that porting Livecode 
to BSD may not be worth it.


However, I think it is critical for our community to be able to run 
Livecode scripting on IOT devices.


IOT and Edge computing is the future (and the present).

I dare to say that Livecode is a much simpler language for IOT than 
Python (although this is a personal opinion).


If you learn Livecode you kill five birds with one stone:
Desktop, Mobile, Scripting, Web and Server development.

Have you tried developing desktop or mobile applications with Python? It 
is a tremendous pain.


We need a much wider community to be able to extend Livecode to all areas.

Can you imagine Livecode as a popular option on most the important job 
posting sites?


I think the first step would be to have a working version of Livecode 
server for Raspberry.


Livecode currently compiles for many ARM versions.

How difficult could it be to adapt Livecode Server to these versions?


On 10/28/20 11:06 PM, Richard Gaskin via use-livecode wrote:

Heriberto Torrado wrote:

> So, here is my idea: What about to create non official versions of
> Livecode server (for scripting purposes) for other platforms not yet
> supported?
> I think it could be good for RunRev: They won't have to work
> supporting those versions and Livecode language will spread to other
> fields.
>
> What do you guys think? Do you think we'll have enough manpower into
> our community to do that?

Raspberry Pi, w/ Raspbian or other Debian-based Linux (Linux ARM).

Home servers, school labs, IoT, and so much more - all currently lost 
to us by not having a build for that engine.


The last build was an experiment done by a team member no longer with 
the company, for LC v7.1.


If you could update the Server edition to v9.6 we could at least have 
a modern version to work with for faceless applications, and any 
remaining work for the GUI side would likely be relatively small 
(certainly smaller than one person trying to knock it all off by 
themselves).





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


Re: Livecode server UNIX version (not Linux).

2020-10-28 Thread Heriberto Torrado via use-livecode

Thanks Andre,

I realized that BSD kernels are not the same as MacOS kernels.
As you say: MacOS has a hybrid kernel based on XNU and some parts of BSD.

I'm only interested in running the Livecode server version and not the IDE.
So, I think that compiling could be the best solution.

I have been coding with Livecode for several years almost every week.
So my mind is very "Livecodized".
In fact, when I have to change to PHP, JS, Python or Golang, I feel very 
unproductive. Everything takes much more time than doing it with Livecode.


I would like not only to run Livecode server on BSD, but also on 
different hardware platforms.
I think on the IOT field Livecode script could have a good opportunity 
to be a killer language.


In the past, I tried to compile Livecode server for this devices, but I 
got several errors: 
https://www.friendlyarm.com/index.php?route=product/product=69_id=279


So, here is my idea: What about to create non official versions of 
Livecode server (for scripting purposes) for other platforms not yet 
supported?
I think it could be good for RunRev: They won't have to work supporting 
those versions and Livecode language will spread to other fields.


What do you guys think? Do you think we'll have enough manpower into our 
community to do that?


Best,
Hery



On 10/28/20 11:24 AM, Andre Garzia via use-livecode wrote:

On Mon, 19 Oct 2020 at 21:31, Paul McClernan via use-livecode <
use-livecode@lists.runrev.com> wrote:


OS X, Windows 95 through Windows 10, Raspberry Pi and "several variations
of Unix (I think is just means Linux)".

I'm thinking about tinkering with a FreeBSD server and LiveCode server,
but I didn't see a "UNIX" version, so I suppose that I have to compile

it.

Have any of you installed LiveCode server on FreeBSD (or Solaris)?


As others mentioned, this is dated information. However, last I checked
macOS (or rather the "Darwin" layer of macOS) is POSIX compliant and built
from BSD UNIX 4.4 & bits of FreeBSD. So, I would not be all that surprised
if a LiveCode for macOS GUI-less/CLI executable could run on some other
BSD.



That is not really how this works.

macOS is built on top of old NEXTSTEP and it is POSIX compliant but
that doesn't mean that LC from mac can work on BSD. MacOS uses the XNU
kernel, its executable file format and shared library file format are
unique and not related at all to anything that a BSD can run.

FreeBSD can run Linux binaries though as can be seen in the FreeBSD
Handbook:

https://www.freebsd.org/doc/handbook/linuxemu.html

This is done through emulation and I can't vouch for the performance or
correctness of it but, in theory you can install the necessary components
and libraries and then be able to run the Linux version of LC in FreeBSD.

Another option is trying to build from source. To be effective, this would
require knowledge of the FreeBSD ports and packages system besides knowing
enough of LC source and C++ to patch anything needed. I bet they'd love
such a contribution if you have the chops to do it.




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


Re: Livecode server UNIX version (not Linux).

2020-10-18 Thread Heriberto Torrado via use-livecode

Hi Richmond,

I think it's because since the early 2000's, Linux is the UNIX-like 
standard platform in the world, and maybe Runrev realized that it is not 
worth it to put more effort into other UNIX platforms rather than Linux


It is a pity because now, Linux runs on 90% of the internet servers.
I love Linux, but monopolies are not good (even "free" monopolies).

Solaris, AIX and HP-UX are almost dead and BSDs and illumos derivations 
are decaying day by day.


There are still some companies using them in Spain, but they lack 
technicians, so they are stepping on the gas to get rid of them.
There are still some grey beards that refuse to toss them away, and 
maybe there are some opportunities working with them.


Still here in the US there are many governmental apartments using them.

Sadly, UNIX is part of a world that no longer exists.

Nice an updated reading: 
https://www.unixsheikh.com/articles/freebsd-is-an-amazing-operating-system.html


Best,
Hery

On 10/17/20 2:44 PM, Richmond via use-livecode wrote:
"But rightly LC saw where the future was headed with mobile computing 
and they obviously had to make sacrifices along the way (e.g. FreeBSD, 
etc)"


That sounds super if it were true, but I don't think it is as RunRev 
(as they then were) dropped support for SPARC, UNIX and so

forth a long time before they began work on mobile platforms.

Richmond.

On 16.10.20 10:55, Bernard Devlin via use-livecode wrote:

  Hi Heriberto

Back in the day (20 years ago) the engine/IDE ran on FreeBSD and various
proprietary unixes.

The Linux server version has been seen to work on FreeBSD back in 2011
(after installing Linux compatibility layer).

http://runtime-revolution.278305.n4.nabble.com/Yay-Victory-RevServer-runs-on-FreeBSD-with-Linux-Compat-installed-td3445454.html 



You _might_ be able to get that to work now.  I doubt it would be 
supported
by Livecode.  What amazes me nowadays is just how much more complex 
things
are than they were 20 years ago - looking at the compatibility matrix 
for
Livecode dependencies on OS version, XCode version, device version -- 
all

just to produce apps that run on iOS:

https://livecode.com/docs/9-5-0/faq/faq/

If someone had said 20 years ago that a small company in Scotland could
manage that kind of complexity people would have laughed in 
disbelief.  But
rightly LC saw where the future was headed with mobile computing and 
they
obviously had to make sacrifices along the way (e.g. FreeBSD, etc) to 
be in

a situation to take on this level of complexity.

HTH Bernard

On Thu, Oct 15, 2020 at 5:08 PM Heriberto Torrado via use-livecode <
use-livecode@lists.runrev.com> wrote:


Dear all,

I have a question.   It's not a very important question and I don’t 
want

to bother you y 'all, so if you think is off-topic, feel free to not to
respond,  I'm just curious.

I've been working with Livecode for almost five years, and I never 
saw a

LiveCode server  "UNIX" version.

The LiveCode Wikipedia’s article says this: LiveCode runs on iOS, 
Android,
OS X, Windows 95 through Windows 10, Raspberry Pi and "several 
variations

of Unix (I think is just means Linux)".

I'm thinking about tinkering with a FreeBSD server and LiveCode server,
but I didn't see a "UNIX" version, so I suppose that I have to 
compile it.

Have any of you installed LiveCode server on FreeBSD (or Solaris)?

I'm just thinking, but maybe there's a small niche working with 
LiveCode
server on BSD or Solaris (still many companies use them and not many 
people

develop software for this platforms nowadays).
We have a few companies in Spain (my country) still using Solaris or 
BSD

servers (mainly in the Graphic arts business).

PS, I currently work with LiveCode Server on Centos, but it could be
interesting  to test it in FreeBSD.

Best regards/ Saludos cordiales/ Cordialement

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

https://networkdreams.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


___
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 <http://www

Re: Livecode server UNIX version (not Linux).

2020-10-18 Thread Heriberto Torrado via use-livecode

Barnand, Thanks for your kindly response

"What amazes me nowadays is just how much more complex things
are than they were 20 years ago"

Yes,that's the main problem today.

Regardless of the programming language, nowadays we have to deal with desktops, 
mobiles, servers, etc. and that is crazy.

In the web design world, they "fixed" it using CSS + HTML + JS + SQL + "insert your 
favorite server language here", but that is also a mess too.

I miss the old days: Just Desktop & servers.:-(

As you said: I don't know how runrev (Livecode) can deal with that complexity 
level.
Five different platforms and 32 & 64 bits.

I'll try the Linux compatibility layer. I think the latest Solaris versions 
have it too.

Best,
Hery//


On 10/16/20 3:55 AM, Bernard Devlin via use-livecode wrote:

  Hi Heriberto

Back in the day (20 years ago) the engine/IDE ran on FreeBSD and various
proprietary unixes.

The Linux server version has been seen to work on FreeBSD back in 2011
(after installing Linux compatibility layer).

http://runtime-revolution.278305.n4.nabble.com/Yay-Victory-RevServer-runs-on-FreeBSD-with-Linux-Compat-installed-td3445454.html

You _might_ be able to get that to work now.  I doubt it would be supported
by Livecode.  What amazes me nowadays is just how much more complex things
are than they were 20 years ago - looking at the compatibility matrix for
Livecode dependencies on OS version, XCode version, device version -- all
just to produce apps that run on iOS:

https://livecode.com/docs/9-5-0/faq/faq/

If someone had said 20 years ago that a small company in Scotland could
manage that kind of complexity people would have laughed in disbelief.  But
rightly LC saw where the future was headed with mobile computing and they
obviously had to make sacrifices along the way (e.g. FreeBSD, etc) to be in
a situation to take on this level of complexity.

HTH Bernard

On Thu, Oct 15, 2020 at 5:08 PM Heriberto Torrado via use-livecode <
use-livecode@lists.runrev.com> wrote:


Dear all,

I have a question.   It's not a very important question and I don’t want
to bother you y 'all, so if you think is off-topic, feel free to not to
respond,  I'm just curious.

I've been working with Livecode for almost five years, and I never saw a
LiveCode server  "UNIX" version.

The LiveCode Wikipedia’s article says this: LiveCode runs on iOS, Android,
OS X, Windows 95 through Windows 10, Raspberry Pi and "several variations
of Unix (I think is just means Linux)".

I'm thinking about tinkering with a FreeBSD server and LiveCode server,
but I didn't see a "UNIX" version, so I suppose that I have to compile it.
Have any of you installed LiveCode server on FreeBSD (or Solaris)?

I'm just thinking, but maybe there's a small niche working  with LiveCode
server on BSD or Solaris (still many companies use them and not many people
develop software for this platforms nowadays).
We have a few companies in Spain (my country) still using Solaris or BSD
servers (mainly in the Graphic arts business).

PS, I currently work with LiveCode Server on Centos, but it could be
interesting  to test it in FreeBSD.

Best regards/ Saludos cordiales/ Cordialement

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

https://networkdreams.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


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

Livecode server UNIX version (not Linux).

2020-10-15 Thread Heriberto Torrado via use-livecode
Dear all,

I have a question.   It's not a very important question and I don’t want to 
bother you y 'all, so if you think is off-topic, feel free to not to respond,  
I'm just curious.

I've been working with Livecode for almost five years, and I never saw a 
LiveCode server  "UNIX" version.

The LiveCode Wikipedia’s article says this: LiveCode runs on iOS, Android, OS 
X, Windows 95 through Windows 10, Raspberry Pi and "several variations of Unix 
(I think is just means Linux)".

I'm thinking about tinkering with a FreeBSD server and LiveCode server,  but I 
didn't see a "UNIX" version, so I suppose that I have to compile it. 
Have any of you installed LiveCode server on FreeBSD (or Solaris)?

I'm just thinking, but maybe there's a small niche working  with LiveCode 
server on BSD or Solaris (still many companies use them and not many people 
develop software for this platforms nowadays).
We have a few companies in Spain (my country) still using Solaris or BSD 
servers (mainly in the Graphic arts business).

PS, I currently work with LiveCode Server on Centos, but it could be 
interesting  to test it in FreeBSD.

Best regards/ Saludos cordiales/ Cordialement 

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

https://networkdreams.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: Strange behavior between Mysql, MariaDB and SSL.

2020-08-27 Thread Heriberto Torrado via use-livecode
Thanks Mattias,

 

I appreciate your knowledge.

 

You are very useful and kind (as always).

 

Best,

Hery

 

From: matthias_livecode_150...@m-r-d.de  
Sent: Thursday, August 27, 2020 12:09 PM
To: How to use LiveCode 
Cc: htorr...@networkdreams.net
Subject: Re: Strange behavior between Mysql, MariaDB and SSL.

 

Heriberto,

 

i just tried the ODBC drivers from Oracle here with MacOS X and MariaDB.

 

If you would like i can list the needed steps:

 

1. download and install the drivers for your operating system

 

2. Open ODBC Manager on Mac, i am not sure how this is called in English for 
the Windows app, but if you search for ODBC in the search field of Windows 
you'll get the configuration tool listed.

 

3. Add a new User or System DSN. You can select between Ansi and Unicode driver

 

4.1 In the following configuration dialog enter a name for the DNS, e.g. 
HeribertoDSN

4.2 Add the Keyword 'SERVER' and add the name or the ip address of the DB 
Server as value, e.g. HeribertoDB

If the DB is not using the standard port, then please add the port also. e.g. 
192.168.1.1:3308

4.3 Add the Keyword DATABASE and enter the name of the DB as value

There are several other keywords you can use. But the above are the basic ones 
you need.

 

now use 

revOpenDatabase("odbc", "HeribertoDSN","HeribertoDB",dbUsername,dbPassword,)

 

replace dbUsername and dbPassword with the user credentials for the DB.

 

You could also add the keywords USERNAME and PASSWORD in the DSN configuration 
from step 4, but i would do that only for testing.

 

Btw. the documentation for the ODBC driver can be found here.

 

Regards,

 

Matthias Rebbe
Life Is Too Short For Boring Code





Am 27.08.2020 um 01:03 schrieb Heriberto Torrado mailto:htorr...@networkdreams.net> >:

 

Hi Matthias,

Do you mean connecting to MySQL using ODBC instead of the built-in LiveCode 
MySQL client?

Best,
Hery

-Original Message-
From: use-livecode mailto:use-livecode-boun...@lists.runrev.com> > On Behalf Of matthias rebbe 
via use-livecode
Sent: Wednesday, August 26, 2020 10:42 AM
To: How to use LiveCode mailto:use-livecode@lists.runrev.com> >
Cc: matthias_livecode_150...@m-r-d.de 
<mailto:matthias_livecode_150...@m-r-d.de> 
Subject: Re: Strange behavior between Mysql, MariaDB and SSL.

There are also free MySQL Connectors/ODBC available for different operating 
systems. The current ones are for Server 8.0,5.7 and 5.6.

https://dev.mysql.com/downloads/connector/odbc/

They connectors can be downloaded without the need to be logged in. So no need 
for an account registration at dev.mysql.com

Maybe this is an option instead of lowering the encryption level?

Matthias
-
Matthias Rebbe
Life Is Too Short For Boring Code




Am 26.08.2020 um 16:08 schrieb panagiotis merakos via use-livecode 
mailto:use-livecode@lists.runrev.com> >:

Hello all,

This is because MySQL 8 supports a stronger authentication method 
based on SHA256, and this method is used by default.

LiveCode (as well as some other MySQL connectors/clients) do not 
support this authentication method yet. In this case, you could 
configure your MySQL installation to use the legacy authentication 
(password encryption) method.

See the suggested answers in this link:
https://stackoverflow.com/questions/50093144/mysql-8-0-client-does-not
-support-authentication-protocol-requested-by-server/50961428

Hope this helps.

Kind regards,
Panos
--

On Tue, 25 Aug 2020 at 18:41, Bob Sneidar via use-livecode < 
use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com> > wrote:




mySQL for which platform? Last I checked, the build for Windows did 
NOT support encryption. There is a special branch that does, but I 
could never get it to work.

What I came up with is an agent that resides on the SQL server, built 
in Livecode that listens for connections. It then handles the queries 
locally and returns the data.

The client and Server encrypt the data before sending it using a 
method only I know, so it’s very secure. The communications are done 
but I haven’t done the actual query side yet. That will be a half day’s work at 
most.

I think this client server approach is far better than native 
encryption, because I control the method and use a technique where 
even if someone tried brute force, or somehow discovered the key, 
they still could not decrypt the data, and wouldn’t know why.

Bob S


On Aug 24, 2020, at 3:25 PM, Heriberto Torrado via use-livecode < 
use-livecode@lists.runrev.com 
<mailto:use-livecode@lists.runrev.com%3cmailto:use-livecode@lists.runrev.com> 
<mailto:use-livecode@lists.runrev.com>>
wrote:

Dear livecode programmers,

For a few years we ran an internal app that accessed a MariaDB 
database (no PHP or LiveCode Server middleware, just a raw connection) using 
SSL.
The server running the database is old, so we moved to a new one.

The new one comes w

RE: Strange behavior between Mysql, MariaDB and SSL.

2020-08-27 Thread Heriberto Torrado via use-livecode
Thanks Mattias,

Yes, it is an internal app, but I have a few users using Android.

Best,
Hery

-Original Message-
From: use-livecode  On Behalf Of
matthias rebbe via use-livecode
Sent: Thursday, August 27, 2020 11:55 AM
To: How to use LiveCode 
Cc: matthias_livecode_150...@m-r-d.de
Subject: Re: Strange behavior between Mysql, MariaDB and SSL.

You are correct.
But as Heriberto wort, it is an inhouse app, i thought using ODBC connector
from Oracle might be better than lowering the security level of the
database.



-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 27.08.2020 um 17:40 schrieb Bob Sneidar via use-livecode
:
> 
> Just a heads up, ODBC is a local service, not a network protocol. You have
to create a DSN on the client OS which handles the network communications
for you. So every client that connects will need to have this DSN set up
first. For the experienced, this is no big deal, but for the first time
initiate it can be confusing.
> 
> Bob S
> 
> 
> On Aug 26, 2020, at 4:03 PM, Heriberto Torrado via use-livecode
mailto:use-livecode@lists.runrev.com>> wrote:
> 
> Hi Matthias,
> 
> Do you mean connecting to MySQL using ODBC instead of the built-in
LiveCode MySQL client?
> 
> Best,
> Hery
> 
> ___
> 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: Strange behavior between Mysql, MariaDB and SSL.

2020-08-27 Thread Heriberto Torrado via use-livecode
Got it, but it could be a problem for mobile users.

I know how to create a ODBC connection on Windows/Linux/Mac, but doing it on
Android it's out of my reach.

Best,
Hery

-Original Message-
From: use-livecode  On Behalf Of Bob
Sneidar via use-livecode
Sent: Thursday, August 27, 2020 11:41 AM
To: How to use LiveCode 
Cc: Bob Sneidar 
Subject: Re: Strange behavior between Mysql, MariaDB and SSL.

Just a heads up, ODBC is a local service, not a network protocol. You have
to create a DSN on the client OS which handles the network communications
for you. So every client that connects will need to have this DSN set up
first. For the experienced, this is no big deal, but for the first time
initiate it can be confusing.

Bob S


On Aug 26, 2020, at 4:03 PM, Heriberto Torrado via use-livecode
mailto:use-livecode@lists.runrev.com>> wrote:

Hi Matthias,

Do you mean connecting to MySQL using ODBC instead of the built-in LiveCode
MySQL client?

Best,
Hery

___
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: Strange behavior between Mysql, MariaDB and SSL.

2020-08-26 Thread Heriberto Torrado via use-livecode
Hi Matthias,

Do you mean connecting to MySQL using ODBC instead of the built-in LiveCode 
MySQL client?

Best,
Hery

-Original Message-
From: use-livecode  On Behalf Of 
matthias rebbe via use-livecode
Sent: Wednesday, August 26, 2020 10:42 AM
To: How to use LiveCode 
Cc: matthias_livecode_150...@m-r-d.de
Subject: Re: Strange behavior between Mysql, MariaDB and SSL.

There are also free MySQL Connectors/ODBC available for different operating 
systems. The current ones are for Server 8.0,5.7 and 5.6.

https://dev.mysql.com/downloads/connector/odbc/

They connectors can be downloaded without the need to be logged in. So no need 
for an account registration at dev.mysql.com

Maybe this is an option instead of lowering the encryption level?

Matthias
-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 26.08.2020 um 16:08 schrieb panagiotis merakos via use-livecode 
> :
> 
> Hello all,
> 
> This is because MySQL 8 supports a stronger authentication method 
> based on SHA256, and this method is used by default.
> 
> LiveCode (as well as some other MySQL connectors/clients) do not 
> support this authentication method yet. In this case, you could 
> configure your MySQL installation to use the legacy authentication 
> (password encryption) method.
> 
> See the suggested answers in this link:
> https://stackoverflow.com/questions/50093144/mysql-8-0-client-does-not
> -support-authentication-protocol-requested-by-server/50961428
> 
> Hope this helps.
> 
> Kind regards,
> Panos
> --
> 
> On Tue, 25 Aug 2020 at 18:41, Bob Sneidar via use-livecode < 
> use-livecode@lists.runrev.com> wrote:
> 
>> mySQL for which platform? Last I checked, the build for Windows did 
>> NOT support encryption. There is a special branch that does, but I 
>> could never get it to work.
>> 
>> What I came up with is an agent that resides on the SQL server, built 
>> in Livecode that listens for connections. It then handles the queries 
>> locally and returns the data.
>> 
>> The client and Server encrypt the data before sending it using a 
>> method only I know, so it’s very secure. The communications are done 
>> but I haven’t done the actual query side yet. That will be a half day’s work 
>> at most.
>> 
>> I think this client server approach is far better than native 
>> encryption, because I control the method and use a technique where 
>> even if someone tried brute force, or somehow discovered the key, 
>> they still could not decrypt the data, and wouldn’t know why.
>> 
>> Bob S
>> 
>> 
>> On Aug 24, 2020, at 3:25 PM, Heriberto Torrado via use-livecode < 
>> use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>>
>> wrote:
>> 
>> Dear livecode programmers,
>> 
>> For a few years we ran an internal app that accessed a MariaDB 
>> database (no PHP or LiveCode Server middleware, just a raw connection) using 
>> SSL.
>> The server running the database is old, so we moved to a new one.
>> 
>> The new one comes with a Mysql 8 Database instead of MariaDB and the 
>> SSL encryption suddenly stopped working.
>> 
>> The new MYSQL database has a working SSL encryption cert (Let's encrypt).
>> 
>> There are the tests:
>> 
>> *From the server:*
>> 
>> ___
>> 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: Strange behavior between Mysql, MariaDB and SSL.

2020-08-26 Thread Heriberto Torrado via use-livecode
Hi Panagiotis,

It makes sense, I'm going to try it.

Thank you very much for your recommendations.
I would like to say that this list is great.

Best,
Hery


-Original Message-
From: use-livecode  On Behalf Of 
panagiotis merakos via use-livecode
Sent: Wednesday, August 26, 2020 10:09 AM
To: How to use LiveCode 
Cc: panagiotis merakos 
Subject: Re: Strange behavior between Mysql, MariaDB and SSL.

Hello all,

This is because MySQL 8 supports a stronger authentication method based on 
SHA256, and this method is used by default.

LiveCode (as well as some other MySQL connectors/clients) do not support this 
authentication method yet. In this case, you could configure your MySQL 
installation to use the legacy authentication (password encryption) method.

See the suggested answers in this link:
https://stackoverflow.com/questions/50093144/mysql-8-0-client-does-not-support-authentication-protocol-requested-by-server/50961428

Hope this helps.

Kind regards,
Panos
--

On Tue, 25 Aug 2020 at 18:41, Bob Sneidar via use-livecode < 
use-livecode@lists.runrev.com> wrote:

> mySQL for which platform? Last I checked, the build for Windows did 
> NOT support encryption. There is a special branch that does, but I 
> could never get it to work.
>
> What I came up with is an agent that resides on the SQL server, built 
> in Livecode that listens for connections. It then handles the queries 
> locally and returns the data.
>
> The client and Server encrypt the data before sending it using a 
> method only I know, so it’s very secure. The communications are done 
> but I haven’t done the actual query side yet. That will be a half day’s work 
> at most.
>
> I think this client server approach is far better than native 
> encryption, because I control the method and use a technique where 
> even if someone tried brute force, or somehow discovered the key, they 
> still could not decrypt the data, and wouldn’t know why.
>
> Bob S
>
>
> On Aug 24, 2020, at 3:25 PM, Heriberto Torrado via use-livecode < 
> use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>>
> wrote:
>
> Dear livecode programmers,
>
> For a few years we ran an internal app that accessed a MariaDB 
> database (no PHP or LiveCode Server middleware, just a raw connection) using 
> SSL.
> The server running the database is old, so we moved to a new one.
>
> The new one comes with a Mysql 8 Database instead of MariaDB and the 
> SSL encryption suddenly stopped working.
>
> The new MYSQL database has a working SSL encryption cert (Let's encrypt).
>
> There are the tests:
>
> *From the server:*
>
> ___
> 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: Strange behavior between Mysql, MariaDB and SSL.

2020-08-26 Thread Heriberto Torrado via use-livecode
Hi Bob,

It worked from Linux, Mac, and Windows.

Your idea sounds really good, but to be honest, I'm pretty busy these days and 
I wouldn't like  to deal with making middleware.
I just looking for a quick fix.

Maybe in the future, I’ll have to do it.


Best,
Hery

-Original Message-
From: use-livecode  On Behalf Of Bob 
Sneidar via use-livecode
Sent: Tuesday, August 25, 2020 11:40 AM
To: How to use LiveCode 
Cc: Bob Sneidar 
Subject: Re: Strange behavior between Mysql, MariaDB and SSL.

mySQL for which platform? Last I checked, the build for Windows did NOT support 
encryption. There is a special branch that does, but I could never get it to 
work.

What I came up with is an agent that resides on the SQL server, built in 
Livecode that listens for connections. It then handles the queries locally and 
returns the data.

The client and Server encrypt the data before sending it using a method only I 
know, so it’s very secure. The communications are done but I haven’t done the 
actual query side yet. That will be a half day’s work at most.

I think this client server approach is far better than native encryption, 
because I control the method and use a technique where even if someone tried 
brute force, or somehow discovered the key, they still could not decrypt the 
data, and wouldn’t know why.

Bob S


On Aug 24, 2020, at 3:25 PM, Heriberto Torrado via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

Dear livecode programmers,

For a few years we ran an internal app that accessed a MariaDB database (no PHP 
or LiveCode Server middleware, just a raw connection) using SSL.
The server running the database is old, so we moved to a new one.

The new one comes with a Mysql 8 Database instead of MariaDB and the SSL 
encryption suddenly stopped working.

The new MYSQL database has a working SSL encryption cert (Let's encrypt).

There are the tests:

*From the server:*

___
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


Strange behavior between Mysql, MariaDB and SSL.

2020-08-24 Thread Heriberto Torrado via use-livecode

Dear livecode programmers,

For a few years we ran an internal app that accessed a MariaDB database 
(no PHP or LiveCode Server middleware, just a raw connection) using SSL.

The server running the database is old, so we moved to a new one.

The new one comes with a Mysql 8 Database instead of MariaDB and the SSL 
encryption suddenly stopped working.


The new MYSQL database has a working SSL encryption cert (Let's encrypt).

There are the tests:

*From the server:*

mysql> show variables like '%ssl%';
+++
| Variable_name      | Value                          |
+++
| have_openssl       | YES                            |
| have_ssl           | YES                            |
| mysqlx_ssl_ca      |                                |
| mysqlx_ssl_capath  |                                |
| mysqlx_ssl_cert    |                                |
| mysqlx_ssl_cipher  |                                |
| mysqlx_ssl_crl     |                                |
| mysqlx_ssl_crlpath |                                |
| mysqlx_ssl_key     |                                |
| ssl_ca             | /var/lib/mysql/pki/chain.pem   |
| ssl_capath         |                                |
| ssl_cert           | /var/lib/mysql/pki/cert.pem    |
| ssl_cipher         |                                |
| ssl_crl            |                                |
| ssl_crlpath        |                                |
| ssl_fips_mode      | OFF                            |
| ssl_key            | /var/lib/mysql/pki/privkey.pem |
+++
17 rows in set (0.00 sec)

*From a client forcing using SSL (from remote machine):*

MySQL [(none)]> show status like 'ssl_cipher';
+---++
| Variable_name | Value                  |
+---++
| Ssl_cipher    | TLS_AES_256_GCM_SHA384 |
+---++

Server: Centos 8.0


This is the error I get: SSL connection error.


This is my livecode DB sequence connection (From a Livecode 9.5 Indy 
version).



   put revOpenDatabase("mysql", tserver, tDatabaseName, tuser, 
tpass,true,,,true) into tResult


   if tResult is a number then
  put tResult into gConnectionID

   else
  put empty into gConnectionID
  answer error "Upps, Cannot connect to the data base!, ¡Hay 
problemas!, Try it again: "& cr  & tResult

  exit to top
   end if

Do you know what can be the problem?


--

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 

RE: sending email attachments from Linux works but not in Windows

2020-08-21 Thread Heriberto Torrado via use-livecode
Hi Matthias,

I really appreciate your tip: It works.

Best,
Hery

-Original Message-
From: use-livecode  On Behalf Of
matthias rebbe via use-livecode
Sent: Friday, August 21, 2020 2:40 AM
To: How to use LiveCode 
Cc: matthias_livecode_150...@m-r-d.de
Subject: Re: sending email attachments from Linux works but not in Windows

Heriberto,

are you sure that posted code is working on Linux?

Anyway, i would say this part of you script is wrong

-- Attachments (3)

put specialfolderpath("Home") into filepath

put "Questions1.zip" into tAttachments[1]["filepath"]

put "Questions2.zip" into tAttachments[2]["filepath"]

put "Questions3.zip" into tAttachments[3]["filepath"]


tAttachments[]["filepath"] must contain the full file path to the file but
in your case 

tAttachments[1]["filepath"] contains Questions1.zip
tAttachments[2]["filepath"] contains Questions2.zip
tAttachments[3]["filepath"] contains Questions3.zip

without the full path

Assuming that the files you want to be attached are located on the
Desktop...
Change your thar part of you code as follows  and it should work

-- Attachments (3)
put specialfolderpath("Home")" & "/Questions1.zip" into
tAttachments[1]["filepath"]

put specialfolderpath("Home") & "/Questions2.zip" into
tAttachments[2]["filepath"]

put specialfolderpath("Home") & /"/Questions3.zip" into
tAttachments[3]["filepath"]

Now tAttachments[...]["filepath"] array contains the complete paths to the
files



The line
put specialfolderpath("Home") into filepath can be deleted.


Regards,

Matthias



-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 21.08.2020 um 00:02 schrieb Heriberto Torrado via use-livecode
:
> 
> -- Attachments (3)
> 
> put specialfolderpath("Home") into filepath
> 
> put "Questions1.zip" into tAttachments[1]["filepath"]
> 
> put "Questions2.zip" into tAttachments[2]["filepath"]
> 
> put "Questions3.zip" into tAttachments[3]["filepath"]

___
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: sending email attachments from Linux works but not in Windows

2020-08-21 Thread Heriberto Torrado via use-livecode
Hi Mathias, 

Yes, it works on Linux but not in Windows (it is weird). 

I'm going to check your recommendations and I'll tell you if it works. 

Thank you very much! 

El 21-08-2020 06:40, matthias rebbe via use-livecode escribió:

> Heriberto,
> 
> are you sure that posted code is working on Linux?
> 
> Anyway, i would say this part of you script is wrong
> 
> -- Attachments (3)
> 
> put specialfolderpath("Home") into filepath
> 
> put "Questions1.zip" into tAttachments[1]["filepath"]
> 
> put "Questions2.zip" into tAttachments[2]["filepath"]
> 
> put "Questions3.zip" into tAttachments[3]["filepath"]
> 
> tAttachments[]["filepath"] must contain the full file path to the file 
> but in your case 
> 
> tAttachments[1]["filepath"] contains Questions1.zip
> tAttachments[2]["filepath"] contains Questions2.zip
> tAttachments[3]["filepath"] contains Questions3.zip
> 
> without the full path
> 
> Assuming that the files you want to be attached are located on the Desktop...
> Change your thar part of you code as follows  and it should work
> 
> -- Attachments (3)
> put specialfolderpath("Home")" & "/Questions1.zip" into 
> tAttachments[1]["filepath"]
> 
> put specialfolderpath("Home") & "/Questions2.zip" into 
> tAttachments[2]["filepath"]
> 
> put specialfolderpath("Home") & /"/Questions3.zip" into 
> tAttachments[3]["filepath"]
> 
> Now tAttachments[...]["filepath"] array contains the complete paths to the 
> files
> 
> The line 
> put specialfolderpath("Home") into filepath 
> can be deleted.
> 
> Regards,
> 
> Matthias
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 21.08.2020 um 00:02 schrieb Heriberto Torrado via use-livecode 
>> :
>> 
>> -- Attachments (3)
>> 
>> put specialfolderpath("Home") into filepath
>> 
>> put "Questions1.zip" into tAttachments[1]["filepath"]
>> 
>> put "Questions2.zip" into tAttachments[2]["filepath"]
>> 
>> put "Questions3.zip" into tAttachments[3]["filepath"]
> 
> ___
> 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


sending email attachments from Linux works but not in Windows

2020-08-20 Thread Heriberto Torrado via use-livecode
Dear livecode programmers,

 

I'm going crazy trying to send three attachments in one email using the tsNet 
external function.

it works in Linux without problems (Fedora 32), but from Windows it doesn´t 
(Windows Server 2019). 

I get the emails from Windows, but there are no attachments.

 

I have tried a thousand things: 

 

*   Putting the Special folder to Desktop, Documents or Temporary
*   Turning “/” into “\”
*   Using non Zipped files.
*   Adding “\” or “/” to the path
*   Adding “\” or “/” in from of the name of the files

 

Nothing seems to work

 

 

Livecode Version: 9.6.0 Indy

 

Test Machines:

Fedora32 (development machine) : It works like a charm.

Windows Server 2019 (development machine): It doesn’t work.

 

This is my code.

 

-- Variables

local tUrl, tEmailMessage, tRecipient, tBody, tFrom, tTo, tCc, tSubject, 
tAttachments

local tSettings, tResult, tBytes, tResponseHeaders

 

-- Specify the e-mail server settings

 

-- Server

put "smtp://nwd-lnx01.networkdreams.net/" into tUrl

-- Username

put "htorr...@networkdreams.net" into tSettings["username"]

-- Password

put "thepassword" into tSettings["password"]

 

-- Enable TLS for SMTP

-- TLS seems to no work, so I put it to false (it works)

put  false into tSettings["use_ssl"] 

 

-- Body

put "Esto es una prueba de envío de ficheros adjuntos" into temailMessage

 

-- Encode the e-mail message body

put mimeEncodeFieldAsMIMEMultipartDocument(temailMessage) into tBody

 

-- Attachments (3)

put specialfolderpath("Home") into filepath

put "Questions1.zip" into tAttachments[1]["filepath"]

put "Questions2.zip" into tAttachments[2]["filepath"]

put "Questions3.zip" into tAttachments[3]["filepath"]

 

-- From, to, CC, Subject

put "htorr...@networkdreams.net" into tFrom

put "htorr...@networkdreams.net" into tTo

put "i...@networkdreams.net" into tCc

put "Test" into tSubject

 

-- Encode the e-mail headers and body

mimeEncodeAsMIMEEmail tBody, tFrom, tTo, tCc, tSubject, tAttachments

put it into tEmailMessage

 

-- Make tRecipient a list of all recipients (To and Cc)

put tTo & cr & tCc into tRecipient

 

-- Send the e-mail

put tsNetSmtpSync(tURL, tFrom, tRecipient, tEmailMessage, tResponseHeaders, 
tBytes, tSettings) into tResult 

 

-- Check the result

if the first word of tResult is "tsneterr:" then

answer "Error" && tResult && "returned from server"

else

answer "E-mail sent"

end if

 

 


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

Sorting numbers on a datagrid

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

Dear LiveCode experts,

I have had an annoying problem with a datagrid since years ago.  Now is 
the time to fix it.


One of the columns is numeric (CustomerID). It takes the data form an 
MYSQL Database.


When I sort the data by clicking on the CustomerID column, the customer 
numbers appear as follows: 1,10,100,101 and not 1,2,3,4,5.


Do you know how to fix this problem?

Thank you very much.

Off-topic: Yesterday I bought my first Livecode Indy license. :-)
I'd like to say thanks to LiveCode Ltd for creating this awesome product.

--

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: Live code server with Debian 8 Jesse

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

Hi Willian,

We currently have four Centos 7/8 Servers running LiveCode Server.
They work like a charm.

I'm pretty busy, but I'll create a brief tutorial next week.
I'll let you know when I'm finished.

Best,
Hery

On 7/15/20 2:53 PM, William Prothero via use-livecode wrote:

Hery:
I know that I would appreciate this. I have been at the periphery of deciding 
to mess with the livecode server, and a good tutorial that is up to date would 
be very helpful. My server is on Centos 7, and I would probably debug locally 
on my Apple using MAMP, though. But, before I invest any time on it, I would 
want to make sure I could get it working on my LiquidWeb (CentOS) server.

Best,
Bill

William A. Prothero
https://earthlearningsolutions.org


On Jul 14, 2020, at 9:03 AM, Heriberto Torrado via use-livecode 
 wrote:

Thanks Richard,

I'll do it and I'll create an English version of the article.

Best,

Hery

El 13-07-2020 20:18, Richard Gaskin via use-livecode escribió:


Good tutorial, Heriberto:


I use Livecode server on several Linux machines:

Centos 7 / 8 and Ubuntu 14/16/18.

I didn't need 32bits libraries.

I created a brief installation tuto in my blog:

https://www.hermanotemblon.com/instalacion-de-livecode-server-en-ubuntu/

It is in Spanish, but you could use Google translator.

If you put those individual bash statements together into an executable script 
file you'd have a pretty handy installer.

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


--
Hola, buenos días:



Un abrazo

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

Re: Live code server with Debian 8 Jesse

2020-07-14 Thread Heriberto Torrado via use-livecode
Thanks Richard, 

I'll do it and I'll create an English version of the article. 

Best, 

Hery 

El 13-07-2020 20:18, Richard Gaskin via use-livecode escribió:

> Good tutorial, Heriberto:
> 
>> I use Livecode server on several Linux machines:
>> 
>> Centos 7 / 8 and Ubuntu 14/16/18.
>> 
>> I didn't need 32bits libraries.
>> 
>> I created a brief installation tuto in my blog:
>> 
>> https://www.hermanotemblon.com/instalacion-de-livecode-server-en-ubuntu/
>> 
>> It is in Spanish, but you could use Google translator.
> 
> If you put those individual bash statements together into an executable 
> script file you'd have a pretty handy installer.
> 
> --
> 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: Live code server with Debian 8 Jesse

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

Hi Kevin,

I use Livecode server on several Linux machines:

Centos 7 / 8 and Ubuntu 14/16/18.

I didn't need 32bits libraries.

I created a brief installation tuto in my blog:

https://www.hermanotemblon.com/instalacion-de-livecode-server-en-ubuntu/

It is in Spanish, but you could use Google translator.

Best,
Hery




On 7/13/20 1:53 PM, Mark Wieder via use-livecode wrote:

On 7/13/20 9:28 AM, Kevin Stallibrass via use-livecode wrote:
> Thanks Mark,
> Debian is 64bit and I’m using the linux64 downloads of live code 
server. Do I not need the 32bit libraries? Documentation is very 
unclear about this. I’d presumed that live code server was still 32bit


Ah... documentation...
I just looked at the release notes. Apparently Debian 7 and 8 are all 
that's officially supported. That's unfortunate.


and rereading your original post, I see you're looking at a "lesson" 
to figure this out. I assume that's


http://lessons.livecode.com/m/4070/l/36652-how-do-i-install-livecode-server-on-linux-with-apache 



where I see the bewildering statement

"32bit libraries are required for LiveCode server to run on a 64bit 
Linux distribution"


I ran ldd on the server binary and I don't see any 32-bit 
dependencies. I assume that's an old statement in the lesson and 
should be deleted. Those instructions were written in 2013. I wouldn't 
trust them for any recent builds. I just assume that fiddling with 
.htaccess would get things working, the same as on other distros.


That said, I haven't tried to set this up on Debian so I can't really 
help with this. There is (now) a longer comment from Russell Martin on 
that lesson page, and it might help to follow his lead on that rather 
than the outdated lesson. Even Russell's comment, though, is from some 
six years ago, so YMMV.




___
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: Web help needed

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

You can use Unison:

https://www.cis.upenn.edu/~bcpierce/unison/

I use it to synchronize several servers between them.
It works like a Charm.


Best

On 7/12/20 2:30 PM, Richard Gaskin via use-livecode wrote:

Bill Prothero wrote:
> Sorry if this is off, but what about just transferring them with ftp?

FTP is good enough for a small number of files.  But for automating 
large numbers of file transfers rsync is hard to beat, a much smarter 
tool making things much more efficient.


By default, rsync will only transfer files that have changed, and even 
then only transfers the portions of a file that's changed.


It can be used to sync folders locally or remotely - I run all my 
backups with it, in addition to using it post files to servers from my 
local master copy.


rsync is preinstalled with macOS, can be added to Windows, and is a 
standard part of most popular Linux distros used on servers.


It's secure using SSH, so if you add your SSH public key to your 
server (useful for a good many things) you not only get good security 
but it makes it easy to automate with LiveCode's shell function.



@Michael Doub: I believe HostM uses Ubuntu, so rsync is preinstalled 
there.  And since you use macOS, your copy is preinstalled on your Mac.


IMNSHO, you'll want to request SSH for any hosting service that 
doesn't offer it by default.  With SSH, not only do you get to use 
standard Unix/Linux utilities like rsync, scp, and others, but sooner 
or later you're likely to need or want to do something on that server 
outside of the limited scope of what FTP is designed for.  With shell 
access you can do anything you need, just as good as having the server 
sitting on your desk, even if it's thousands of miles away.




--
Hola, buenos días:



Un abrazo

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: Downloading LiveCode Slow...

2020-07-08 Thread Heriberto Torrado via use-livecode
I got 22 MB/sec from New York City  and 14MB/Sec form Madrid (Spain).

-Original Message-
From: use-livecode  On Behalf Of Tore 
Nilsen via use-livecode
Sent: Wednesday, July 8, 2020 12:42 PM
To: How to use LiveCode 
Cc: Tore Nilsen 
Subject: Re: Downloading LiveCode Slow...

I got + - 10MB/sec from Norway. Downloaded the Business Edition in under 1 min.

Tore Nilsen

> 7. jul. 2020 kl. 23:46 skrev Rick Harrison via use-livecode 
> :
> 
> I was wondering if anyone has tried to download any version of 
> LiveCode from the website recently.  I just tried today and it is 
> glacially slow.
> 
> I’m also running into a problem where
> version 9.5.1 which used to work fine
> is now complaining that the license
> isn’t any good anymore.  I tried the
> manual fix and even that didn’t work.
> My licenses are all up to date too.
> 
> Anyone else having similar problems?
> 
> Let me know.
> 
> Thanks,
> 
> 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


___
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
nt 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.*
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





--

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 

Re: WebSites made using Livecode.

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

Hi Seen,

I'm talking about using Livecode server.
I think you mean Livecode HTML5.

I'll explore that option (it seems very usefully too), but although I do 
a lot of work with JS, I wanted to try Livecode Server. I have used it a 
bit and it looks very reliable.


We have four dedicated servers on a hosting company, so I installed a 
Livecode server on them.


I'll tell you my impressions on a couple of months.

Off-topic:

The Southlands are a wonderful place, but Scotland is too.
I spend some time traveling across them.
There is good beer in both places. ;-)

Best,
Hery


On 7/5/20 5:02 PM, Pi Digital via use-livecode wrote:



On 5 Jul 2020, at 21:16, Heriberto Torrado via use-livecode 
 wrote:

Hi Sean,

So, as far as I know, you use PHP as a middleware between the database and the 
Livecode code app. Isn't it?

Yes

I guess you do that because of security reasons to not expose the database.

No. It needs it to talk directly to the database on the same host. The security 
is served by encrypting both the request and response. JS has a hole in it 
where the message can be intercepted while talking to php that I’m avoiding 
getting exploited.


My main goal is to use Livecode instead of PHP to create a small website (about 
ten forms and some logic layer to edit them).
I think it will be fun.

Perfect. That will work nicely. You host doesn’t need to be anything special. 
As long as gzip can be enabled and is happy running JS then you just upload the 
LC emscripten js file and your standalone zip you’ll be good to go.


I use Livecode to create apps, and as a console scripting to substitute some 
Bash scripts.
So now, I'd like to explore the server options.
It will be a a dream to use the same language for the server.

I'm trying to convince my customer.

Off-topic:

Would you guys like to work in Alaska for some time? It could be a good 
experience.
They are looking for a LiveCode programmer.

https://www.indeed.com/jobs?q=livecode=571a9274563c52bc

I would love this. I’ve been having enough trouble convincing the family to 
move from the south of England up to Scotland. Alaska, I fear, would be an even 
bigger sell.

All the best
Sean

___
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

Re: WebSites made using Livecode.

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

Hi Sean,

So, as far as I know, you use PHP as a middleware between the database 
and the Livecode code app. Isn't it?

I guess you do that because of security reasons to not expose the database.

My main goal is to use Livecode instead of PHP to create a small website 
(about ten forms and some logic layer to edit them).

I think it will be fun.

I use Livecode to create apps, and as a console scripting to substitute 
some Bash scripts.

So now, I'd like to explore the server options.
It will be a a dream to use the same language for the server.

I'm trying to convince my customer.

Off-topic:

Would you guys like to work in Alaska for some time? It could be a good 
experience.

They are looking for a LiveCode programmer.

https://www.indeed.com/jobs?q=livecode=571a9274563c52bc


Best,
Hery

On 7/4/20 1:36 PM, Pi Digital via use-livecode wrote:

Hi

I’ve been creating a website built in LiveCode but NOT LC Server. I opted to using php for 
server end calls as we connect into a mySQL database on the server. The message path is LC 
> tiny amounts of JS > a small PHP library of function calls > JS message 
transport > LC. LC does all the heavy lifting. JS is ONLY for sending messages to and 
from php. PHP is pretty much only for communication with the database, sending emails, 
downloading and uploading files to and from the users desktop/file system.

What was you wanting LC Server accomplish? Was you using an LC front end or 
only looking to use it for backend stuff?

Sean Cole
Pi Digital Productions Ltd


eMail Ts & Cs


--

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-03 Thread Heriberto Torrado via use-livecode

Hi Dan,

The customer cares about the backend, because he wants to be sure he 
will find a livecode hosting company in the future. We will host the web 
page into our own servers.

We currently offer PHP, Python  and LiveCode hosting.
I'm honest with my customers and I told him about Livecode backend 
hosting pros & cons.


There are other companies offering LiveCode hosting, but in Spain it is 
not very popular.


It will not be the typical Wordpress webpage, it will be a small Human 
Resources website for their employees.
It would be easier to do it with Python-Flask or Django, but I'm very 
excited to do it using livecode.


Thank you very much for those links.

Hery

On 7/3/20 8:51 AM, Dan Brown via use-livecode wrote:

I'd be surprised if the client cares at all about the websites backend, you
might be better off picking a modern frontend framework (bulma,react,vue
etc) and showing examples of websites using it.

As for the backend, there are some great flat file CMS's that could be
managed with livecode scripts ( creating directories, template files, html
templates )

https://getgrav.org/

https://getkirby.com/


On Fri, Jul 3, 2020 at 12:43 PM Torsten Holmer via use-livecode <
use-livecode@lists.runrev.com> wrote:


Do you know revIgniter, the Livecode Framework for Websites?
https://revigniter.com/

"Many websites have been successfully built with revIgniter including the
presumably largest Hindu website <https://www.himalayanacademy.com/> in
existence."
https://www.himalayanacademy.com/ <https://www.himalayanacademy.com/>

Best regards,
Torsten



Am 02.07.2020 um 21:39 schrieb Heriberto Torrado via use-livecode <

use-livecode@lists.runrev.com>:

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

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to 

Re: WebSites made using Livecode.

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

Thank you Matthias it looks so cool.

I'm going to check it out.

    > I would say creating a website just with Livecode Server is too 
much work.


I know, but as you say in your signature: Life Is Too Short For Boring Code

Hery


On 7/2/20 5:19 PM, matthias rebbe via use-livecode wrote:

Some of our customers are using Wordpress and some have websitet that were created the 
"normal" way by hand or with tools like Dreamweaver or Rapidweaver.
But they are also using Livecode server on their sites for special tasks, e.g. 
webform processing, generating and providing downloads, double-opt-in routines 
for newsletter subscriptions and other tasks.

I would say creating a website just with Livecode Server is too much work.

But there is a framework from Ralph Bitter available called RevIgniter which 
is, according to comments of some users, a great tool and a timesaver.
https://revigniter.com

Unfortunately i had no time so far to play around with it, but i will as soon 
as time allows.

-
Matthias Rebbe
Life Is Too Short For Boring Code


Am 02.07.2020 um 21:39 schrieb Heriberto Torrado via use-livecode 
:

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


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

Re: WebSites made using Livecode.

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

Hi Richard,

Thank you very much for your rapid response.

My customer asks me about a popular site created with Livecode because 
they would like to make sure that if I get hit by a car, or we have a 
problem, another company could maintain their website. I mean, they 
would like to be sure of their business continuum.  I know, it is always 
the same story ...


I have been making websites for twenty years and I want to do something 
different. I have never made a website with Livecode and I feel excited 
thinking about it.


I feel very comfortable with Livecode and I don't want to start a 
customized web site using PHP or Python again.
Sometimes it is not enough to do a good job, it is also important to 
have some fun doing it.
Livecode allows me to think in a different way than I have using other 
programming languages, and that is like a drug that I can no longer stop.


    > What is a "modern" website?  That's not a trick question, just 
curious what specific types of features you're looking for.


A fully responsible website.

    > Because it gets the job done at low cost

I understand it, but if we all don't start creating more things with 
Livecode, it will always be an exotic language without many job 
opportunities.
More job opportunities will give us more community, more programming 
libraries, more documentation, etc.


    > In general, it's only worthwhile building custom software that 
doesn't already exist.


Maybe we can rebuild those software using LiveCode.

    > LC can be a good choice when you have specialized needs not 
already addressed off-the-shelf.


We use it into our company for that: internal apps.

But I think that Livecode could give people again, the full control of 
their computer, and the gap between a programmer and a computer user 
would get narrower. Something like that happened in the 1980s.


I have my own company in Spain, but I moved to NYC 2 years ago and I 
work as an IT director at an arts school in New York City.
In our coding classes I see those teens dealing with Python and with the 
command console...


It will be a dream for them to use livecode, but teachers refuse to use 
it because they told me it is not very spread.


Hery


On 7/2/20 4:09 PM, Richard Gaskin via use-livecode wrote:

Heriberto Torrado wrote:

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

If you're dealing with the sort who goes only by popularity, nothing 
else matters.  They live in a world where there are only two choices: 
C for the desktop and PHP for servers.


It may be worth noting, though, that if they'd been consistent about 
their fixation on popularity they'd still be using Perl, and would 
have ignored the advent of PHP. ;)


And they never would have enjoyed Ruby on Rails, but even at its peak 
it was never the most popular solution.


> Do you know modern websites created with LiveCode

What is a "modern" web site?  That's not a trick question, just 
curious what specific types of features you're looking for.



> I have seen that the current LiveCode site runs Wordpress + PHP.
> Do you know why?

Because it gets the job done at low cost.

LC Ltd has generic needs for content management, no evident content 
strategy in terms of syndication, simple editorial workflow with 
minimal roles - for generic stuff generic tools are great.


With the question of build or buy, it's almost always cheaper to buy. 
And with WP the hard cost is zero, so it's just learning curve.


In general, it's only worthwhile building custom software that doesn't 
already exist.


LC can be a good choice when you have specialized needs not already 
addressed off-the-shelf.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.com http://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


--

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 

WebSites made using Livecode.

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

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.*
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: How many objects (IDs) can be generated by script?

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

Thank you very much Richard.

4 Billions is a lot, but I think it could be possible to reach it using 
some kind of automation tool.  I'm thinking about a stock exchange app 
or something that uses many changes and/or math calculations and it is 
displayed on a real time on a created field at runtime.
But it could be the same if for example, we use a long int 32bits data 
type in C language on a 32 bits system and we don't take care.


Nothing to be worried about for the 99.9% of Livecode users.

Best,
Hery

On 6/26/20 5:21 PM, Richard Gaskin via use-livecode wrote:

Heriberto Torrado wrote:

> I read this thread, but it's old and it is not very clear to me.
>
> http://forums.livecode.com/viewtopic.php?t=22112
>
> I have the same problem than "Havanna".
>
> About six years ago I developed a Livecode desktop app for my company.
> Several employees open and close the app several times a day.
> Many fields are created at runtime.
>
> The current IDs are in the 250.000
>
> Is there a limit?
> Can we have a problem on the next years?
> Did it changed with Livecode 64bits versions?

My understanding is that the 64-bit versions of LC are compatible with 
64-bit OSes, but internal addressing is still 32-bit.


So AFAIK my comment from the thread you linked to still applies:

   IDs are 32-bit unsigned integers, so the range of possible values
   goes up to about 4 billion.

   If you never manually set IDs, since the engine begins with ID 101
   and increments within a stack from there with each object created,
   for all practical purposes over the life cycle of an app there's
   little risk of running out of IDs.

   If you're curious about what happens when you exceed the range of
   possible values, you can set a control's ID to the highest value
   allowed (UINT4, or 4294967295), and then create some new controls.
   Last time I did that (several versions ago) I found nothing amiss
   during the current session, but after saving the stack I was unable
   to open it again.

   As long as you work with ID ranges well below the maximum, you should
   have no problem for many years even with the DataGrid or other
   controls that create large numbers of objects dynamically. Given
   practical memory limits, ID range could only be a problem if you go
   out of your way to set IDs to unnecessarily large numbers.

   If by chance you happen to have the first project in this community's
   history that actually runs out of IDs, the worse thing that would be
   needed would be to simply copy the controls to a new stack (could
   easily be automated), in which the ID numbers would be reset starting
   at 101.




--

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, 

How many objects (IDs) can be generated by script?

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

Dear Livecode developers and experts:

I read this thread, but it's old and it is not very clear to me.

http://forums.livecode.com/viewtopic.php?t=22112

I have the same problem than "Havanna".

About six years ago I developed a Livecode desktop app for my company.
Several employees open and close the app several times a day.
Many fields are created at runtime.

The current IDs are in the 250.000

Is there a limit?
Can we have a problem on the next years?
Did it changed with Livecode 64bits versions?

Thank you very much.

--

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: JavaScript-Livecode integration question

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

Got it! :-)

On 6/18/20 5:22 PM, Ralph DiMola via use-livecode wrote:

revBrowserAddJavaScriptHandler is for the browser control.

javascriptHandlers is for the browser widget. You will need to use the widget 
to get this to work on mobile.

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 
Heriberto Torrado via use-livecode
Sent: Thursday, June 18, 2020 4:13 PM
To: use-livecode@lists.runrev.com
Cc: Heriberto Torrado
Subject: Re: JavaScript-Livecode integration question

Hi Ralph,

Thanks you very much for your quick response!

I found some information about the command "revBrowserAddJavaScriptHandler", but you say 
I can use the command "javascriptHandlers".
it's that new? I cannot find information about it on the Livecode dictionary.

Anyway, I'm going to try it and I'll tell you if it works.

I think a lot of  people will ask me why I want to do that, and why I just 
don't use Electron.. :-) I don't want to create a flame, so this these are my 
reasons.

1) I have an strong background with HTML, CSS and Javascript, but I love 
Livecode scripting (especially its strong text manipulation options.).
2) If you use the Indy edition, it's easy to hide the code (passwords, command 
calls, etc). It's not possible to do it with Electron or NW.js (NW.js has more 
options to do that, but they are far to be ideal).
3) I don't like nodejs: promises, asynchronous technology, difficult tracing 
errors, etc.

Best,
Hery


On 6/18/20 3:21 PM, Ralph DiMola via use-livecode wrote:

Heriberto,

LC makes it easy... Works for me on Mobile also.

In LC do this once.
set the javascriptHandlers of widget "MyBrowerWidget" to "LCHandlerName"

Create this handler:

command LCHandlerName pNum
answer pNum
end LCHandlerName

Javascript:
liveCode.LCHandlerName('315');

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 Heriberto Torrado via use-livecode
Sent: Thursday, June 18, 2020 2:27 PM
To: use-livecode@lists.runrev.com
Cc: Heriberto Torrado
Subject: JavaScript-Livecode integration question

Dear LiveCode programmers.

I have a question about the Livecode-Javascript integration.

I love LiveCode, but IMO I think CSS+HTML+JS are better technologies for 
styling applications (it is just a personal opinion).

So, I'm trying  to create Deskops apps using JS+HTML+CSS for the "front"
and LiveCode for  the "back-end".
I'm using the CEF embedded browser.

My idea is to create something like Electron or NW.js but using Livecode.

Note that I'm talking about Desktop apps, not Web apps.

I have managed to send data from Livecode to JavaScript using the instruction  "do 
"document.getElementById -xx" in widget "Browser", but I'm stuck doing the 
opposite.
My idea is to send an event or data from the CEF to Livecode when someone press 
a button on the CEF embedded browser.

I found the documentation confused and I'd like to have, if it is possible, a 
real example about how to do that.

Another question: Does it works on Android/Apple? I'm afraid it won't
work


Thanks a lot.

PS: I'm going to try to answer you guys as soon as possible, but sometimes I 
have to read your responses on the use-livecode mail list archives , because 
our mail server has the ugly habit of blocking some emails that come from the 
list.



--

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 es

Re: JavaScript-Livecode integration question

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

Hi Ralph,

Thanks you very much for your quick response!

I found some information about the command 
"revBrowserAddJavaScriptHandler", but you say I can use the command 
"javascriptHandlers".
it's that new? I cannot find information about it on the Livecode 
dictionary.


Anyway, I'm going to try it and I'll tell you if it works.

I think a lot of  people will ask me why I want to do that, and why I 
just don't use Electron.. :-)

I don't want to create a flame, so this these are my reasons.

1) I have an strong background with HTML, CSS and Javascript, but I love 
Livecode scripting (especially its strong text manipulation options.).
2) If you use the Indy edition, it's easy to hide the code (passwords, 
command calls, etc). It's not possible to do it with Electron or NW.js 
(NW.js has more options to do that, but they are far to be ideal).
3) I don't like nodejs: promises, asynchronous technology, difficult 
tracing errors, etc.


Best,
Hery


On 6/18/20 3:21 PM, Ralph DiMola via use-livecode wrote:

Heriberto,

LC makes it easy... Works for me on Mobile also.

In LC do this once.
set the javascriptHandlers of widget "MyBrowerWidget" to "LCHandlerName"

Create this handler:

command LCHandlerName pNum
answer pNum
end LCHandlerName

Javascript:
liveCode.LCHandlerName('315');

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 
Heriberto Torrado via use-livecode
Sent: Thursday, June 18, 2020 2:27 PM
To: use-livecode@lists.runrev.com
Cc: Heriberto Torrado
Subject: JavaScript-Livecode integration question

Dear LiveCode programmers.

I have a question about the Livecode-Javascript integration.

I love LiveCode, but IMO I think CSS+HTML+JS are better technologies for 
styling applications (it is just a personal opinion).

So, I'm trying  to create Deskops apps using JS+HTML+CSS for the "front"
and LiveCode for  the "back-end".
I'm using the CEF embedded browser.

My idea is to create something like Electron or NW.js but using Livecode.

Note that I'm talking about Desktop apps, not Web apps.

I have managed to send data from Livecode to JavaScript using the instruction  "do 
"document.getElementById -xx" in widget "Browser", but I'm stuck doing the 
opposite.
My idea is to send an event or data from the CEF to Livecode when someone press 
a button on the CEF embedded browser.

I found the documentation confused and I'd like to have, if it is possible, a 
real example about how to do that.

Another question: Does it works on Android/Apple? I'm afraid it won't work


Thanks a lot.

PS: I'm going to try to answer you guys as soon as possible, but sometimes I 
have to read your responses on the use-livecode mail list archives , because 
our mail server has the ugly habit of blocking some emails that come from the 
list.



--

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 
attachm

JavaScript-Livecode integration question

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

Dear LiveCode programmers.

I have a question about the Livecode-Javascript integration.

I love LiveCode, but IMO I think CSS+HTML+JS are better technologies for 
styling applications (it is just a personal opinion).


So, I'm trying  to create Deskops apps using JS+HTML+CSS for the "front" 
and LiveCode for  the "back-end".

I'm using the CEF embedded browser.

My idea is to create something like Electron or NW.js but using Livecode.

Note that I'm talking about Desktop apps, not Web apps.

I have managed to send data from Livecode to JavaScript using the 
instruction  "do "document.getElementById -xx" in widget "Browser", 
but I'm stuck doing the opposite.
My idea is to send an event or data from the CEF to Livecode when 
someone press a button on the CEF embedded browser.


I found the documentation confused and I'd like to have, if it is 
possible, a real example about how to do that.


Another question: Does it works on Android/Apple? I'm afraid it won't work


Thanks a lot.

PS: I'm going to try to answer you guys as soon as possible, but 
sometimes I have to read your responses on the use-livecode mail list 
archives , because our mail server has the ugly habit of blocking some 
emails that come from the list.


--

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: LivecodeServer for ARM Cortex-A7 (Richard Gaskin)

2020-03-05 Thread Heriberto Torrado via use-livecode
Hi Richard,

 

Thanks  a lot for your rapid response.

 

I have some glitches with our email server spam system, so I'm checking the
email list on the web page.

 

I downloaded the Raspberry Pi source code last week, but I got the same
error. I think that's because Raspberry Pi runs on a different Arm processor
model.

 

The regular raspberry pi installer doesn't work, because  I don't have
graphical environment installed on the device. In fact, I just need the
Livecode Server version.

 

I think it could be a great thing to have a Livecode Server version for ARM
devices. It could be a killer language programing for IOT.

It is easy, and less clunky than Python and C, C++ . It could also be a very
good language for displaying data from different sensors using an embedded
apache web server on the devices.

 

 

Best,

Hery

 

 

Date: Wed, 4 Mar 2020 15:44:51 -0800

From: Richard Gaskin mailto:ambassa...@fourthworld.com> >

To: use-livecode@lists.runrev.com  

Subject: Re: LivecodeServer for ARM Cortex-A7

Message-ID: <988aa030-4c8f-f278-0287-8e44805e9...@fourthworld.com
 >

Content-Type: text/plain; charset=utf-8; format=flowed

 

Heriberto Torrado wrote:

 

> I tried several times to cross-compile livecode server community

> edition from the github repository on an Allwinner H3 processor device

> (sun8iw7p1 ARM Cortex-A7) FriendElec Nano pi Plus M1.

>

> All times I tried it I got this error: Unknow platform.

 

Are you using the code base for the Raspbery Pi?

 

AFAIK it hasn't been touched since v7.0.4, but unless you need specific 

newer features it shouldn't (fingers crossed) be that hard to compile 

for your ARM device.

 

But you may not need to compile it.  Have you tried the compiled build 

from the Downloads page?:

 

https://livecodestatic.com/downloads/livecode/7_0_4/LiveCodeCommunityInstall
er-7_0_4-Linux.rpi

 

It has a few serious problems trying to run it in a GUI, but on a 

faceless server I've had good luck with it both under Raspbian and 

Ubuntu Core.

 

-- 

Richard Gaskin

Fourth World Systems

___
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


LivecodeServer for ARM Cortex-A7

2020-03-04 Thread Heriberto Torrado via use-livecode
Dear livecode programmers,

 

I tried several times to cross-compile livecode server community edition from 
the github repository on an Allwinner H3 processor device (sun8iw7p1 ARM 
Cortex-A7) FriendElec Nano pi Plus M1.

 

All times I tried it I got this error: Unknow platform.

 

Many IOT devices runs this processor: OrangePi, Nanopi m1 Plus, CherryPi, etc.

 

I’m currently using Python and PHP for command line scripting and web 
programing purposes on this device, but I would like to use Livecode Server 
instead.

 

As far as I know Livecode Server is written using portable C++, so I suppose it 
must be compatible with multiple platforms.

 

Do you know if someone compiled it successfully and how?


Best regards/ Saludos cordiales/ Cordialement 

 

Heriberto Torrado González

___
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: Live search box

2018-05-01 Thread Heriberto Torrado via use-livecode

Thank you very much Cray,

Your solution is very useful and works perfectly, but now I have another 
problem.


How could I fill out with texts this custom property ("rawText') by script?

My application is multi-language (English, Spanish and French), so when 
someone clicks on the language button, this custom property must be 
filled with the different data of the different languages.

I cannot see how to do that on the Livecode Dictionary.

Best,
Hery


On 04/30/2018 10:54 PM, dunbarx via use-livecode wrote:

Hi.

This is fun to do. Make two fields. In the target field, the one you will
type into, set a custom property "rawText" to some long list of words,
perhaps chapter 1 of your favorite novel. It is a good idea to strip all
punctation from that text before setting the prop.

In that field, place this handler:

on keyDown tKey
if the length of me > 2 then put line lineOffset(me,the rawText of me) of
the rawText of me into fld 2
pass keydown
end keyDown

Craig Newman



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
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


Live search box

2018-04-30 Thread Heriberto Torrado via use-livecode

/Dear Livecode programmers,

My customer changed his mind and now they would like to have this:

"...if you can create a "search like" box when the customer would find 
his condition by typing the 2 or 3 first letters  and selecting the 
right one by clicking on it (like the google search results)...".


Well, creating something like this with AJAX and PHP is pretty easy, but 
I don't know how to do it with livecode.
Of course I know how to connect with a MySQL database, extract data, 
insert data, put the data on a grid of field, etc with livecode (I did 
it for a lot of time and it is pretty easy).


But create a "live search" is something I never did with Livecode.

Dou you guys have a tip for that?

Thank you very much in advance./

Hery
//
___
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: Splitting long elements into two lines in an Option Menu

2018-04-29 Thread Heriberto Torrado via use-livecode

Jacqueline, Craig, Terry,

Thank you very much for your answers.

Best,
Hery

On 04/27/2018 01:36 AM, J. Landman Gay via use-livecode wrote:
Or use a normal field as Craig suggested and create soft-wrapped lines 
by inserting ASCII 11 at line breaks. These select as normal lines but 
visually appear as separate lines.


From the 5.5 release notes:

The engine will now interpret a numToChar(11) character in a field 
paragraph as an explicit line-
break when the (effective) dontWrap of the paragraph is false. This 
allows multiple ‘lines’ to be

displayed within a single paragraph.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 26, 2018 11:43:16 PM Terry Judd via use-livecode 
 wrote:


Or perhaps use a form type datagrid - which will allow you to present 
and select multi-lined option more readily.


Regards,

Terry...

On 27/04/2018 2:33 pm, "use-livecode on behalf of dunbarx via 
use-livecode"  wrote:


   Hi.

   If I were you, with the task you laid out, I would not use an 
option menu.
   It is not good with wide menuItems, and it is not natural, if even 
possible,

   to select multiple lines in the way you want.

   Use a list field instead. A field has many properties that are 
denied an

   optionMenu, which is really just a button.

   You can have multiple lines selected, by trapping "mouseUp", say, 
and with
   the clickLine, select the following line as well. Or the following 
five. Or
   the previous. That sort of thing. A field just is far more able in 
this

   regard.

   Craig Newman



   --
   Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html


   ___
   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: Splitting long elements into two lines in an Option Menu

2018-04-29 Thread Heriberto Torrado via use-livecode

Thank you very much Richmond.

Your answer was very helpful. :-)

Best,
Hery

On 04/27/2018 05:09 AM, Richmond via use-livecode wrote:
I've just set up a stack containing 2 fields; one called "fff" 
containing your


original string, another called "fCHOPPED" that is a scrolling list 
field.


I have a button containing this script:

on mouseUp
   put fld "fff" into FFF
   set the itemDelimiter to ","
   put 1 into KOUNT
   repeat until item KOUNT of FFF is empty
  put item KOUNT of FFF into line KOUNT of fld "fCHOPPED"
  add 1 to KOUNT
   end repeat
end mouseUp

which puts the string into the scrolling list field like this:

/Dialyse rénale
 insuffisance rénale
 maladie rénaleDID
 diabète de type 1//
//diabète insulino dépendant/

Richmond.


On 27.04.2018 04:48, Heriberto Torrado via use-livecode wrote:
/Dialyse rénale, insuffisance rénale, maladie rénaleDID, diabète de 
type 1//,//diabète insulino dépendant/ 



___
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

Splitting long elements into two lines in an Option Menu

2018-04-26 Thread Heriberto Torrado via use-livecode

Dear Livecode programmers,

I need you good expertise again.
I'm development an small app for a French insurance company.

I have an option menu button.
Some elements in this option menu are very large. Example:

/Dialyse rénale, insuffisance rénale, maladie rénaleDID, diabète de type 
1//,//diabète insulino dépendant/


These elements doesn't fit on a small phone screen.

So the question is:

How can I divide this item into two different lines?
I need that when customer clicking on this object in the "option menu", 
both lines are selected.

In fact: The two lines have to be the same.

I tried putting returns, "/", etc. but nothing seems to work.

Than you very much in advance.

All the best,
Heriberto Torrado


___
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

Dinamyc variables.

2018-03-18 Thread Heriberto Torrado via use-livecode


Dear Livecode programmers,

I am trying to create a new variable with the name of a dynamically 
generated card.
Please note that I would like to create a new variable, not to put the 
name of the card inside the variable.


I would like to have something like this (PseudoCode)

"Get the name of this card and create a variable with the name of the card."

I searched the forum and the dictionary but I cannot find how to do that.

Best regards/ Saludos cordiales/ Cordialement

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

*NetDreams S.C.*
http://www.networkdreams.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: use SSL inside Mysql connection

2018-01-24 Thread Heriberto Torrado via use-livecode

Hi Tom,

No, I did not search in the forum.
I will do that.

Our project is with Mysql and we don't have the time to switch to 
another database (PostreSQL).

We have a lot of data and queries running with Mysql.

Thanks a lot.


On 01/23/2018 10:26 PM, Tom Glod via use-livecode wrote:

I've seen this addressed somewhere . have you searched the forum?
my actual question is does it have to be mysql?

On Tue, Jan 23, 2018 at 9:01 PM, Heriberto Torrado via use-livecode <
use-livecode@lists.runrev.com> wrote:


Hi,

I'm going crazy trying to make a SSL mysql connection from a Livecode
Stack.
I was searching information in Livecode dictionary and Livecode guides,
but there's not much information about that.

I'm developing a small application for a customer.

This applications will be run inside my customer's premises.

I don't want to build a middleware between that database and the
applications because we don't have the time and resources.

Well, my mysql connection is this:

put revOpenDatabase("MySQL", tserver, tDatabaseName, tuser, tpass,
useSSL=true, autoReconnect) into tResult

But SSL seems not to work.

My questions are:

Is my string database connection well done?
Where do I have to put the client certificates for my MYSQL database?
Could you please send me a couple of small samples?

Thank you very much in advance.




___
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 SSL inside Mysql connection

2018-01-23 Thread Heriberto Torrado via use-livecode

Hi,

I'm going crazy trying to make a SSL mysql connection from a Livecode Stack.
I was searching information in Livecode dictionary and Livecode guides, 
but there's not much information about that.


I'm developing a small application for a customer.

This applications will be run inside my customer's premises.

I don't want to build a middleware between that database and the 
applications because we don't have the time and resources.


Well, my mysql connection is this:

put revOpenDatabase("MySQL", tserver, tDatabaseName, tuser, tpass, 
useSSL=true, autoReconnect) into tResult


But SSL seems not to work.

My questions are:

Is my string database connection well done?
Where do I have to put the client certificates for my MYSQL database?
Could you please send me a couple of small samples?

Thank you very much in advance.




___
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