Re: LiveCode Server Script reference on DevDocs.io

2016-04-28 Thread Pierre Sahores
Thanks for sharing this link, Erik.

> Le 28 avr. 2016 à 09:44, Erik Beugelaar <ebeugel...@gmail.com> a écrit :
> 
> Dear Members,
> 
> 
> 
> One of the best language reference sites in my opinion is
> http://www.devdocs.io.
> 
> 
> 
> DevDocs also works offline and can be installed in Chrome.
> 
> DevDocs is free and open source and would it be an idea to vote for the
> availability of  LiveCode Server Script on their site?
> 
> I know some members are keeping the online documentation up to date on
> Github.
> 
> 
> 
> For further info please take a look at http://devdocs.io/about#plugins
> section Question and Answers how to suggest and vote for LiveCode Server
> Script to be added on DevDocs.io
> 
> 
> 
> Cheers,
> 
> Erik
> 
> 
> 
> 
> 
> Sent from  <http://www.solidit.nl> solidit
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com
https://github.com/arsheos/openresty-dedicated-toolsets


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

Fwd: Following our last weeks AB testing reports and exchanges : some Livecode TCP application’s server and Livecode CGI server sample apps and resources

2016-04-16 Thread Pierre Sahores
You welcome, Richard! 

Thanks for the kind words. Will add the two little php scripts making the LC 
TCP server natively available to Apache2, OpenLiteSpeed and Lighttpd after 
launch pose.

Best,

Pierre

> Début du message réexpédié :
> 
> De: Richard Gaskin <ambassa...@fourthworld.com>
> Objet: Rép : Following our last weeks AB testing reports and exchanges : some 
> Livecode TCP application’s server and Livecode CGI server sample apps and 
> resources
> Date: 16 avril 2016 17:46:25 UTC+2
> À: use-livecode@lists.runrev.com
> Répondre à: How to use LiveCode <use-livecode@lists.runrev.com>
> 
> Pierre Sahores wrote:
> 
> > Some OpenResty’s LuaJIT, Livecode TCP application’s server and
> > Livecode CGI server sample apps and resources to share with our
> > sweet Livecode community. MIT licensed and free for any use.
> >
> > https://github.com/arsheos/openresty-dedicated-toolsets/branches/all
> >
> > Livecode TCP and CGI applications are aimed to run under Apache2,
> > OpenLiteSpeed and Lighted too without big changes.
> 
> Super-cool, Pierre - thanks!
> 
> -- 
> 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

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com
https://github.com/arsheos/openresty-dedicated-toolsets


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

Following our last weeks AB testing reports and exchanges : some Livecode TCP application’s server and Livecode CGI server sample apps and resources

2016-04-16 Thread Pierre Sahores
Dear LC fellows,

Some OpenResty’s LuaJIT, Livecode TCP application’s server and Livecode CGI 
server sample apps and resources to share with our sweet Livecode community. 
MIT licensed and free for any use. 

https://github.com/arsheos/openresty-dedicated-toolsets/branches/all

Livecode TCP and CGI applications are aimed to run under Apache2, OpenLiteSpeed 
and Lighted too without big changes.

Cheers,
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.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

Fwd: Siege benchmarks for Pierre

2016-04-07 Thread Pierre Sahores
Good Evening Everyone,

Same tests done against Citalis, a real world web app next to come live online 
in its OpenLiteSpeed + Livecode CGI + MySQL version and on GITHUB for download 
in its two OpenResty's prefered versions (Livecode application’s server, LuaJIT 
+ Redis, both powered by a PostgreSQL database).

TCP socket’s application's server magnitude : Asus X200CA, 14.04, Openresty 
1.9.7 (Nginx, LuaJIT powering the Lua load balanced socket’s proxy, Livecode 
application’s and cache server, PostgreSQL 9.3

> root@pierre-X200CA:/home/pierre# siege -b -c 100 -r 50 -q 
> http://192.168.1.15/citalis.lls
>  done.
> 
> Transactions: 5000 hits
> Availability: 100.00 %
> Elapsed time: 7.28 secs
> Data transferred: 22.67 MB
> Response time:0.14 secs
> Transaction rate: 686.81 trans/sec
> Throughput:   3.11 MB/sec
> Concurrency:  98.73
> Successful transactions:  5000
> Failed transactions:  0
> Longest transaction:  0.17
> Shortest transaction: 0.01

FastCGI magnitude : Asus X200CA, 14.04, Openresty 1.9.7 (Nginx, LuaJIT powering 
there the core application), Redis 2.8 (cache server), PostgreSQL 9.3
> 
> root@pierre-X200CA:/home/pierre# siege -b -c 100 -r 50 -q 
> http://192.168.1.15/citalis.orc
>  done.
> 
> Transactions: 5000 hits
> Availability: 100.00 %
> Elapsed time: 21.43 secs
> Data transferred: 48.66 MB
> Response time:0.42 secs
> Transaction rate: 233.32 trans/sec
> Throughput:   2.27 MB/sec
> Concurrency:  98.84
> Successful transactions:  5000
> Failed transactions:  0
> Longest transaction:  0.44
> Shortest transaction: 0.01
> 

CGI magnitude : Asus X200CA, 14.04, Openresty 1.9.7 (Nginx, LuaJIT unused at 
all there), FCGIWrap, Livecode CGI server, PostgreSQL 9.3
> 
> root@pierre-X200CA:/home/pierre# siege -b -c 100 -r 50 -q 
> http://192.168.1.15/citalis.lc
> ^  done.
> 
> Transactions: 5000 hits
> Availability: 100.00 %
> Elapsed time: 738.69 secs
> Data transferred: 48.74 MB
> Response time:14.64 secs
> Transaction rate: 6.77 trans/sec
> Throughput:   0.07 MB/sec
> Concurrency:  99.09
> Successful transactions:  5000
> Failed transactions:  0
> Longest transaction:  17.29
> Shortest transaction: 1.32

Story made short : in keeping LC CGI server as the unit reference of 1,

1.- the LuaJIT fastCGI platform is 34 X times faster;
2.- the Livecode AS platform is 100 X times faster.

Cheers,

Pierre

> Le 29 mars 2016 à 22:29, Richard Gaskin <ambassa...@fourthworld.com> a écrit :
> 
> Pierre Sahores wrote:
> 
>>> Le 29 mars 2016 à 17:44, Richard Gaskin a écrit :
>>> 
>>> Pierre Sahores wrote:
> ...
>> Interesting reads even if the 2d article's last test related to
>> micro-caching needs to be read with care...
> 
> Understood.  I offered them merely as inspiration for the scope of 
> specialized services that can be delivered on super-affordable VPSes. Mine 
> are costing only US$5 and US$6 per month, and both are well below capacity 
> when running these stress tests.
> 
> Of course each type of app will have its own unique requirements, but my 
> crude early tests coupled with the results we see elsewhere reinforce your 
> ongoing support for LiveCode as a very powerful addition to one's server-side 
> toolkit.
> 
> 
>> If you read this, Mark, Kevin,… Well powered behind an Opentesty
>> front-end (Nginx/LuaJIT), Livecode application’s server (demon fork)
>> can do exactly all what Tarantool is able to do « et réciproquement
>> », no less, no more while, in the mean time, Tomcat, JBos

Re: Siege benchmarks for Pierre

2016-03-29 Thread Pierre Sahores

> Le 29 mars 2016 à 22:29, Richard Gaskin <ambassa...@fourthworld.com> a écrit :
> 
> Pierre Sahores wrote:
> 
> >> Le 29 mars 2016 à 17:44, Richard Gaskin a écrit :
> >>
> >> Pierre Sahores wrote:
> ...
> > Interesting reads even if the 2d article's last test related to
> > micro-caching needs to be read with care...
> 
> Understood.  I offered them merely as inspiration for the scope of 
> specialized services that can be delivered on super-affordable VPSes. Mine 
> are costing only US$5 and US$6 per month, and both are well below capacity 
> when running these stress tests.
> 
> Of course each type of app will have its own unique requirements, but my 
> crude early tests coupled with the results we see elsewhere reinforce your 
> ongoing support for LiveCode as a very powerful addition to one's server-side 
> toolkit.
> 
> 
> > If you read this, Mark, Kevin,… Well powered behind an Opentesty
> > front-end (Nginx/LuaJIT), Livecode application’s server (demon fork)
> > can do exactly all what Tarantool is able to do « et réciproquement
> > », no less, no more while, in the mean time, Tomcat, JBoss2,
> > Websphere, etc… just can’t, even in a very more costly price range
> > (millions), as i use to verify it recently in being hired for an
> > audit of one of the two SAP Hybris multi canal e-commerce suite /
> > associated soft/hardware infrastructure handling the online shop
> > services of the french « La Poste » postal service company...
> 
> I would imagine interest is quite high in such things at the company.

Even if, as a typical JVM powered app example, SAP Hybris can work clearly well 
as long as it’s not urbanized in a head-down way to go with dozens of 
bottlenecks mainly aimed to makes the invoice fly to the sky, SAP Hybris will 
never work smoother, nor as fast as a well urbanized LC application’s server or 
Tarantool powered solution. Why ? At least because the JVM Heap Memory model 
will never being 50% as reliable as the C based LiveCode or Lua (Tarantool) 
based ones. At least, because the Java pseudo-multithreading model don’t work 
more well than a clean and fast single-threaded process. Where some ones are 
thinking that Livecode should be revamped as a multi-threaded engine to being 
able compete on the app's servers market, Tarantool (LuaJIT powered witch is 
officially a single-thread engine) proves that this assertion is irrelevant.

To illustrante this point, a simple demonstration will suffice :

50 HTTP POST incoming requests —> Lua script proxy able to connect TCP ports 
5941 to 5945 —> one LC application server deamon (launched via init.d at boot 
in starting the same application stack file via symlinks attached to the five 
standalone runners) behind each port —> each LC server will handle its 10 
requests before going back to idle and that’s all the story. This way to go 
works so fine and perfectly that i permits us to reserve a port to development 
work while the other are in production mode. At this point, a simple restart 
suffice to update the production app’s servers each time it is appropriate. 
Simple, is’t ? 

At a point or an other, after adding, say, a dozen of Application’s servers to 
the config, the hardware host will begin to say STOP with a TOP average over 
50%, the regular way to go to improve scalability in a smooth, reliable and 
affordable way will be to deport the RDBMS server on a separate hardware box, 
to add new app servers on a new box, to build a RDBMS cluster (multiple 
hardware boxes where the master  RDBMS is configured to the receive all the 
incoming write operations while its slaves (the other RDBMS boxes are playing 
two complementary roles : a.- they receive replication requests triggers from 
the master after each write operation completed on it - important : UDP 
replications methods have to be forbidden there in favor of TCP ones; b.- they 
respond to all read requests to avoid asynchronous loads on both the master and 
the slaves RDBMS.

More practical and simple as it should appears at first glance and an infinite 
way to scale up configurations in the most simple way to go (linear complexity 
model à la LegoLand).

> The nature of these types of deployments make it a longer-term payoff for 
> them, as GPL works well for server work.

Would be the case, for sure, as soon as a reference project could be 
established and, at this point, the legitimacy of Edinburgh to act in this way 
is at 100% for both UK and Western Europ at least. As an example, about what is 
starting up on the Lua side, the most reliable company is a 6 persons web 
agency established at Vincennes (near Paris). Visit them at to see what they 
are successfully doing with lots of smart methods and low if no investment 
needs at all :

http://mamas.am/

Amazing works and prestigious clients, is’t ?

Re: Siege benchmarks for Pierre

2016-03-29 Thread Pierre Sahores

> Le 29 mars 2016 à 22:30, Tom Glod <t...@makeshyft.com> a écrit :
> 
> Fascinating thread! thanks guys.
> 
> Any test with node.js as a file server?

While raw JS and JQuery are, beside fine prebuild templates alike those ones ! :

http://html5up.net/

i like to tune web interface from (as some of the ways to waste the less 
possible time in about web client-side design and coding) and persist to watch 
most of the JS most hype frameworks as irrelevant because redundancy (if not 
recursive bord-effects) of the functions they all implements and runs each at 
their turn even if one should suffice … to slow down the code display by 2 
times, 4 times, etc for each new JS framework added to the loop…

A web server + a sockets and round-robin proxy + an application server + 1 
RDBMS on the server-side, HTML5 + CSS3 + tax JS + JQuery on the web 
client-side, per deployed app should probably stay the most direct way for a 
long time in both elegance, affordability and reliability terms.

About node.js, as long as i understand without error the reports i got about 
it, i don’t expect to never get more from it in about reliability, security and 
speed than what can be done in running LC app server or Tarantool. If so, « ma 
paresse » recommends me to stay away from it.

> 
> On Tue, Mar 29, 2016 at 3:54 PM, <s...@sahores-conseil.com> wrote:
> 
>> Sorry. Found a mistake in my last mail. please, see the rectification
>> below.
>> 
>>> - 50% read / 50% write : nginx+luajit (openresty) + LUA or fine
>> tuned/Heap RAM scaled Tomcat7 : some hundreds of requests / second (lots
>> less under apache2)
>> 
>> Best,
>> --
>> Pierre Sahores
>> mobile : 06 03 95 77 70
>> www.sahores-conseil.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

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: Siege benchmarks for Pierre

2016-03-29 Thread Pierre Sahores
Hello Richard,

> Le 29 mars 2016 à 17:44, Richard Gaskin <ambassa...@fourthworld.com> a écrit :
> 
> Pierre Sahores wrote:
> 
>> If your lcHTTPd standalone is a TCP sockets server, the low TOP load
>> (less than 25%) is not surprising at all and can even go lots less in
>> using nginx instead of apache...
> 
> Yes, the benefits of using NginX as the broker instead of Apache are well 
> documented in these articles on achieving high concurrency counts on cheap 
> VPSes (see note on funky url formats below):
>  http COLON SLASH SLASH 
> markmaunder.com/2009/12/01/how-to-handle-1000s-of-concurrent-users-on-a-360mb-vps/
>  http COLON SLASH SLASH 
> reviewsignal.com/blog/2014/06/25/40-million-hits-a-day-on-wordpress-using-a-10-vps/

Interesting reads even if the 2d article's last test related to micro-caching 
needs to be read with care : this will only work against CMS targets where 
mostly always the same pages are served. As soon as a real-world networked apps 
will serve millions of atomic different requests (E-Commerce, CRM, ERP, Most of 
the big Saas applications,…), those performances will reasonably and rationally 
decrease in the following way :

In using multi-core standalone servers (VLANs always deliver less suitable 
performances per buck invested), if needed interconnected in master-slaves 
modes via software proxying (Nginx excels in this task too) :

- more than 90% read requests : nginx+luajit (openresty) + well configured 
micro caching -> multi-thousands of requests / second (lots less under apache2 
because its architecture bottlenecks);

- 50% read / 50% write : nginx+luajit (openresty) + well configured socket’s 
accessible application server (my own Livecode’s application server fork soon 
on GITHUB, Tarantool by mail.ru, as both the most suitable to date, ) + 
PostgreSQL or an other serious skilled ACID-SQL RDBMS (AKA: MySQL/MariaDB 
excluded) + round-robin proxying of the client’s incoming requests ->  : up to 
thousands of requests / second (lots less under apache2)

- 50% read / 50% write : nginx+luajit (openresty) + LUA or fine tuned/Heap RAM 
scaled Tomcat7 : thousands of requests / second (lots less under apache2)

- 50% read / 50% write : nginx+luajit (openresty) in its fastCGI different API 
(FastCGI, FMP-PHP,  FCGIWrap,…) + CGI engine (JSP, PHP, LC, Perl, Python, RoR,… 
: hundreds of requests / second (lots less under apache2)

- 30% read / 70% write and less : nginx+luajit (openresty) + well configured 
socket’s accessible application's servers (my own Livecode’s application server 
fork, Tarantool by mail.ru, or, lots more expensive options instead : JBoss2, 
Websphere, WebLogic,… ) + PostgreSQL or an other serious skilled ACID-SQL RDBMS 
are mandatory to be sure that the full scalable periodic bottleneck will always 
stay on the RDBMS side. It will, by the way, never become a problem as long as 
technical skills are, there, the sole needs to scale-up on demand such 
configurations (dynamically or manually) in adding application’s servers 
instances (one per TCP port behind a round-robin proxy to made the story short) 
and slave nodes to the RDBMS cluster (physical servers instances needed there, 
even if lots of VirtualBoxed ones are, in fact, promoted by the IT services 
providers… -> unrecoverable crashes happening on ACID-SQL RDBMS what is 
conceptually impossible in hosting each one on its own physical server) 

note : see about Tarantool : 
http://tarantool.org/doc/intro.html#an-application-server-together-with-a-database-manager
note : Tarantool is the platform i have decided to choose after careful AB 
tests as the host of my Livecode’s application server port to LUA with lots 
less to do as i expected previously, most of the work having been very well 
done for us by the mail.ru engineers.
note : Tarantool is , in short, a deamon witch embedded the LuaJIT virtual 
machine in the exact same way Livecode let us embed the Livecode engine inside 
a deamon. 

If you read this, Mark, Kevin,… Well powered behind an Opentesty front-end 
(Nginx/LuaJIT), Livecode application’s server (demon fork) can do exactly all 
what Tarantool is able to do « et réciproquement », no less, no more while, in 
the mean time, Tomcat, JBoss2, Websphere, etc… just can’t, even in a very more 
costly price range (millions), as i use to verify it recently in being hired 
for an audit of one of the two SAP Hybris multi canal e-commerce suite / 
associated soft/hardware infrastructure handling the online shop services of 
the french « La Poste » postal service company...
> 
> But my test setup was a bit weirder: lcHTTPd doesn't use Apache at at all.
> 
> The only thing handling the transactions is that one humble single-threaded 
> LC standalone process.

Probably not the best way to go to setup a slave-mode reliable and WAF well 
protected server-side solution. I would recommend, at least, a basic Apache+LC 
CGI s

Re: Siege benchmarks for Pierre

2016-03-27 Thread Pierre Sahores
Richard,

If your lcHTTPd standalone is a TCP sockets server, the low TOP load (less than 
25%) is not surprising at all and can even go lots less in using nginx instead 
of apache (6 to 8%) while the power consomption increase on the PostgreSQL 
controllers pool side (-> LC app’s server will never acts as a bottleneck in 
the global service stack). 

Best,

Pierre

Le 27 mars 2016 à 21:10, Richard Gaskin <ambassa...@fourthworld.com> a écrit :
> 
> 
> Pierre, thanks for introducing me to Siege in your benchmark posts from Feb.
> 
> For those who missed them he has some great stuff there:
> http://lists.runrev.com/pipermail/use-livecode/2016-February/223352.html
> http://lists.runrev.com/pipermail/use-livecode/2016-February/223496.html
> http://lists.runrev.com/pipermail/use-livecode/2016-February/223514.html
> 
> Below are this morning's Siege runs here on a small NUC.  Each test is just 
> delivering the default Apache page, but done in three ways: first Apache 
> alone, then LC Server running under Apache as a CGI, then with just a 
> LiveCode standalone handling HTTP directly:
> 
> 
> Apache 2.4.12
> -
> > siege http:///index.html -b -c200 -r10 -q
> Transactions: 2000 hits
> Availability:   100.00 %
> Elapsed time:29.38 secs
> Data transferred: 6.07 MB
> Response time:2.49 secs
> Transaction rate:68.07 trans/sec
> Throughput:   0.21 MB/sec
> Concurrency:169.45
> Successful transactions:2000
> Failed transactions: 0
> Longest transaction: 20.78
> Shortest transaction: 0.22
> 
> Apache + CGI, LC Server 8.0dp16
> ---
> > siege http:///tindex.lc -b -c200 -r10 -q
> Transactions: 2000 hits
> Availability:   100.00 %
> Elapsed time:53.79 secs
> Data transferred: 6.07 MB
> Response time:5.22 secs
> Transaction rate:37.18 trans/sec
> Throughput:   0.11 MB/sec
> Concurrency:194.18
> Successful transactions:2000
> Failed transactions: 0
> Longest transaction: 10.42
> Shortest transaction: 0.23
> 
> lcHTTPd standalone, made with LC 8.0dp16
> 
> > siege http://:8080/index.html -b -c200 -r10 -q
> Transactions: 2000 hits
> Availability:   100.00 %
> Elapsed time:12.55 secs
> Data transferred: 6.07 MB
> Response time:1.07 secs
> Transaction rate:   159.36 trans/sec
> Throughput:   0.48 MB/sec
> Concurrency:170.67
> Successful transactions:2000
> Failed transactions: 0
> Longest transaction:  3.29
> Shortest transaction: 0.07
> 
> 
> Not shown in Siege but observable in Htop is the impact on CPU: both Apache 
> by itself and the lcHTTPd standalone run the test without ever going much 
> above 25% load, but Apache + LC Server spikes all four cores of the N3150 in 
> my NUC for almost the full duration of the test.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for Desktop, Mobile, and 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

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: Siege benchmarks for Pierre

2016-03-27 Thread Pierre Sahores
Hi Richard,

Good stuff, this siege, is’t ? Probably more readable than Apache Bench. Stay 
tuned. I will be back soon with more to share : advanced testing against a real 
word web application with up to seventy PostgreSQL calls per request (ways to 
setup best pg urbanization but the goal was in this case to test the app’s 
ability to resist to heavy loads) the results will probably seems amazing at 
some point :

LiveCode application’s server outperforms LuaJIT with an ability to deliver 80 
transactions/second (per core/socket binding) where the Lua version of the same 
web app deliver 13 connections/second only in the same conditions.

It’s not surprising at all as LuaJIT runs the Lua version of this app in 
FASTCGI mode (process started from RAM) where the Livecode one don’t restart at 
all for each socket’s incoming request and, even, is able to cache in hash 
tables redundant PostgreSQL responses (active cache application level proxy).

I’m, at this time, porting my Livecode’s application’s server to Lua (srLua 
should be used) to see if this implementation will become as fast as the LC 
original. It should be the case … or not. I expect to publish both the LC and 
Lua versions of those application’s servers on GITHUB as GPL3 (Livecode) and 
MIT (Lua) licensed stuff as soon as the second one will be up and running.

The more i can say at this point, is that Tomcat7, JBoss2 and PHP5.6 are 
definitively the turtles of the competition :

- Ubuntu / Openresty / Lua round-robin proxy and TCP sockets gateway / Livecode 
Application Server / PostgreSQL : 80 t/s per server’s core
- Ubuntu / Openresty / PHP round-robin proxy and TCP sockets gateway / Livecode 
Application Server / PostgreSQL : 14 t/s per server’s core
- Ubuntu / Openresty / Lua Web Application (server page mode) / PostgreSQL : 13 
t/s per server’s core
- Ubuntu / Openresty / FASTCGI / Livecode CGI server / PostgreSQL : 10 t/s per 
server’s core

note 1 : My Tomcat7’s and JBoss2 first tests went so low performant that i 
stopped to code the Java’s implementations of the test app (Scala code is not 
really a pleasure to write, to the end...) as soon as i could seen that they 
would never do best than PHP…
note 2 : While MySQL/MariaDB running the InnoDB engine are able to be 3 times 
faster than PostgreSQL 9.5 against atomic requests in read mode, PostgreSQL 
become up to 8 times faster than MySQL/MariaDB as soon as real world requests 
(READ with Inner joints, full text search in vector mode, etc…) are served. In 
about write mode requests, PostgreSQL outperforms for years MySQL and, even 
Oracle 8i to 11g (can’t say about 12c) …
note 3 : Livecode and Lua shares 90% of their concepts and anyone coding in one 
of them should be very confortable in the other one in some hours. The main 
difference i can see is that some tierce-party Lua modules are not reliable at 
all (some DB drivers and Json parsers, at least) while in using trusty sourced 
ones only, development cycles are just as fast an reliable as they are in using 
Livecode.
note 4 : Openresty (Nginx + LuaJIT + native RDBMS drivers and lots more) 
outperforms definitively Apache as a Livecode or Lua server side platform. Its 
speed and security model (WAF using locations and IP/Port rules, etc…) are just 
amazing and no far from perfect, conceptually speaking. A pleasure to work with 
!

Cheers,

Pierre
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.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

Fwd: Signing Identity Issue When Building Standalone

2016-02-15 Thread Pierre Sahores
Scott,

They (Apple) announced this certificate update need (because their own switch 
needs) by email last week.

> Le 15 févr. 2016 à 21:40, Scott Rossi <sc...@tactilemedia.com> a écrit :
> 
> If any of you are having difficulty building iOS standalones today, you're
> not alone. Apple's own Worldwide Developer Relations Certificate expired
> yesterday (Feb 14) which will likely cause your developer certificates to
> display with an "This certificate has an invalid user" error message, and
> will prevent LiveCode from generating standalones with a "A valid signing
> identity could not be found" error.  I was beyond irked trying to figure
> why I could build standalones last week and not this week.
> 
> What solved the problem for me was to delete the Apple Worldwide Developer
> Relations Certification Authority certificate from Keychain, and then
> downloading and installing the certificate mentioned here:
> https://developer.apple.com/support/certificates/expiration/
> 
> 
> Hope this saves a few people some aggravation.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design

Best Regards,

Pierre

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.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

Rép : some AB testing ...

2016-02-15 Thread Pierre Sahores
andles memory management 
against heavy loads.

At this point, i can confirm that LC application’s server (and before it, MC 
and Rev ones) i had to setup over the 15 last years went always perfectly 
reliables in about this. 

On the other hand, the clear and functional programming oriented Nginx and Lua 
platforms lets us expect that n-tier apps developed and running over the 
Openresty platform have reasonable chances to stay twice as fast than the ones 
developed on top of Nginx + Livecode application’s server.

Note : more there unreported tests went done against the Apache 2, 
OpenLiteSpeed and Lighttpd HTTPd servers on both the Ubuntu 14.04 and Mac OS X 
El Capitan platforms. None of those HTTPd servers could really compete with 
Nginx in a case or an other (some times yes, some time not !). 

In about the El Capitan case, my surprise went high to discover how slow went 
my MacBooks Pro i5 (2.4 Ghz, 2.5 Ghz, 8 Go RAM and SSD 512 Go drives on both). 
In having them sets up to handle the Apache+PHP+Livecode application’s server 
stack’s work in slave round-robin mode where the eeePC powered Nginx went 
configured to proxy the requests to the Macs, an average of 3000 
connections/second went out of the tests (PHP proxied). Should i have replaced 
the MacBooks by two new eeePC and 4400 (php proxy) to 7200 (lua proxy) 
connections/second would probably have being there.

In all cases, anyone, out there, deploying LC CGI server applications, those 
embedded on top of RevIgniter ones included, should really choose to switch 
them to the Nginx + Lua proxy + Livecode application’s server [ + RevIgniter ] 
way to go. Anyone interested in such a migration process is welcome to contact 
me off-list for a free cotation.

--

The next step ? Because most of the well known and used Cart scripts are still 
mostly very slow (PHP) and less reliable (JVM heap memory redundant outrages on 
the Java side) than their should be (Java : SAP Hybris, Oracle ATG, Websphere 
Commerce,…; PHP : Magento, Prestashop, Drupal Commerce,...), i expect that it 
should be a good initiative to build and market (out of a well engineered 
existing GPL3 PHP Cart script; there are some ones available around…) a GPL3 
licensed Cart script port to :

1.- Openresty / Livecode application’s server / MySQL / PostgreSQL platform, if 
adequate marketing/sponsoring resources can be involved in the project;

2.- Openresty / LuaJIT / ngx.Lua / MySQL / PostgreSQL platform, if adequate 
marketing/sponsoring resources can be involved in the project;

Anyone interested in supporting such an initiative will be welcome to joint me 
off-list.

--

Thanks for reading.

Warm Regards,

Pierre
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

re: some AB testing ...

2016-02-13 Thread Pierre Sahores
Hi Livecoders,

Question 1 : is Livecode application’s server really faster than Livecode CGI 
server running on Nginx, OpenLiteSpeed or Apache2 and how to get this proven 
(in counting successfully TCP connexions only) ? Just se below :

#http://localhost:80/index.lc;  # eeePCU : Nginx + FCGIWrap + 
LC CGI Server 7.1.1   --> 60 conn/sec 
#http://localhost:81/index.lc;  # eeePCU : OpenLiteSpeed CGI + 
LC CGI Server 7.1.1  --> 60 conn/sec
#http://localhost:82/index.lc;  # eeePCU : Apache 2.4.7 CGI + 
LC CGI Server 7.1.1   --> 60 conn/sec

In the three cases, it’s the same LC CGI server witch execute the following 
code on a little 350 euros eeePC (ubuntu 14.04, indeed 150% faster than both of 
my MacBooks i5 costing 1800 euros each !) :

put "Hello World from LiveCode CGI Server" && the 
version & \
"on" && the internet date & ""


Question 2 : is Livecode applications server really faster than PHP running on 
OpenResty in FMP/FastCGI mode and how to get this proven (in counting 
successfully TCP connexions only) ? Just se below :

#http://localhost/index.php;# eeePCU : Nginx + FMP/FastCGI 
+ PHP 5.5.9
# + PHP sockets 
proxy --> localhost:9578
# --> LC 6.1.3 
APP Server -ui (eeePCU)  --> 2200 conn/sec

#http://localhost/lc;   # eeePCU : Openresty 
1.9.7.2 (LuaJIT 5.1.a)
# + ngx.lua 
sockets proxy --> localhost:9578
# --> LC 6.1.3 
APP Server -ui (eeePCU)  --> 3600 conn/sec


In both cases, it’s the same LC application’s server witch execute the 
following code on a little 350 euros eeePC (ubuntu 14.04, still 150% faster 
than both my MacBooks i5 costing 1800 euros each !) :

put "Hello World from OpenLiteSpeed's LiveCode CGI 
Server" && the version & \
"on" && the internet date & ""


Note: all tests done at twice in using both ApacheBench 2.3 Revision 1528965 
and Siege 3.0.5

Stay tuned. More to come soon!

Thanks for reading,

Pierre
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

re: some AB testing ...

2016-02-13 Thread Pierre Sahores
> Hi Livecoders,
> 
> Question 1 : is Livecode application’s server really faster than Livecode CGI 
> server running on Nginx, OpenLiteSpeed or Apache2 and how to get this proven 
> (in counting successfully TCP connexions only) ? Just se below :
> 
>   #http://localhost:80/index.lc;  # eeePCU : Nginx + FCGIWrap + 
> LC CGI Server 7.1.1   --> 60 conn/sec 
>   #http://localhost:81/index.lc;  # eeePCU : OpenLiteSpeed CGI + 
> LC CGI Server 7.1.1  --> 60 conn/sec
>   #http://localhost:82/index.lc;  # eeePCU : Apache 2.4.7 CGI + 
> LC CGI Server 7.1.1   --> 60 conn/sec
> 
> In the three cases, it’s the same LC CGI server witch execute the following 
> code on a little 350 euros eeePC (ubuntu 14.04, indeed 150% faster than both 
> of my MacBooks i5 costing 1800 euros each !) :
> 
> put "Hello World from LiveCode CGI Server" && the 
> version & \
>   "on" && the internet date & ""
> 
> 
> Question 2 : is Livecode applications server really faster than PHP running 
> on OpenResty in FMP/FastCGI mode and how to get this proven (in counting 
> successfully TCP connexions only) ? Just se below :
> 
>   #http://localhost/index.php;# eeePCU : Nginx + FMP/FastCGI 
> + PHP 5.5.9
>   # + PHP sockets 
> proxy --> localhost:9578
>   # --> LC 6.1.3 
> APP Server -ui (eeePCU)  --> 2200 conn/sec
> 
>   #http://localhost/lc;   # eeePCU : Openresty 
> 1.9.7.2 (LuaJIT 5.1.a)
>   # + ngx.lua 
> sockets proxy --> localhost:9578
>   # --> LC 6.1.3 
> APP Server -ui (eeePCU)  --> 3600 conn/sec
> 
> 
> In both cases, it’s the same LC application’s server witch execute the 
> following code on a little 350 euros eeePC (ubuntu 14.04, still 150% faster 
> than both my MacBooks i5 costing 1800 euros each !) :

the mistake :
> 
> put "Hello World from OpenLiteSpeed LiveCode CGI 
> Server" && the version & \
>   "on" && the internet date & " »

seems that copying via the adequate edit menu item only works under LC 6.1.3 / 
ubuntu 14.04 (nope via mouse right)

the correction :

put "Hello World from LiveCode Application's Server" && 
the version & \
    "on" && the internet date & " »

...

> Note: all tests done at twice in using both ApacheBench 2.3 Revision 1528965 
> and Siege 3.0.5
> 
> Stay tuned. More to come soon!
> 
> Thanks for reading,
> 
> Pierre
> --
> Pierre Sahores
> mobile : 06 03 95 77 70
> www.sahores-conseil.com

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: some AB testing ...

2016-02-08 Thread Pierre Sahores
> Le 9 févr. 2016 à 01:27, Richard Gaskin <ambassa...@fourthworld.com> a écrit :
> 
> Pierre Sahores wrote:
> 
> > Story made short : Appart the amazing Lua platform (preferably set as
> > an Openresty one), well configured LC application’s servers still
> > outperforms anything available around (Websphere, Tomcat, PHP5/7,
> > Perl5, NodeJS, Go, Python, RoR,…). In-between, LC application’s
> > server is 60 times faster than the stock’s Livecode CGI Server.
> > Using Nginx as the load balancer of the same LC app running on
> > clustered front-end servers can make a very reliable scalable
> > configuration : 1500 connections for each server added to the
> > cluster. In taking care to scale the ACID-SQL backend cluster as
> > attendee, the platform can handle very high-end solutions at a
> > fraction of the cost of more known main stream proposals.
> 
> Can we have the story made long? :)

Only related to the test config set-up using voluntarily a very minimalistic 
cluster of 3 low-powered boxes. Nginx does perfectly the load-balancer job 
(very low top average) but OpenLiteSpeed should have being a good proposal too 
in the same rôle (untested), where lighttpd or apache2 seemed less productive, 
at least, at first glance.
> 
> What do you mean by "LC application’s servers"?  A socket server?  

Precisely.

> Can you share some code?

Not at this time. The final release will probably not rely on a PHP sockets 
proxy script anymore but on a direct FastCGI set-up with the advantage to 
provide a way to relaunch automatically the app’s sever instances in case of 
need; an ExternalAppClass directive will replace the PHP sockets proxy script 
in the new set-up. Each app node will rely on its own localhost web server 
instead of on the currents ones, for yet, running on the box witch hosts the 
Nginx proxy server. The ACID-SQL back-end cluster will, in a first time, runs 
only a PostgreSQL 9 instance and, if needed, (but i’m reserved on this point, 
as long as PostgreSQL should be able to handle 10 of thousands of connections 
at once without stress), a master instance dedicated to write operations and 
two slave nodes dedicated to read operations and master writes replications 
(one box peer PostgreSQL instance). To avoid unwanted side-effects, this 
configuration will not rely on UDP sockets « à la Oracle VLAN’s » at all to 
synchronize data flows in-between db nodes.

Cheers,

Pierre

> 
> Exciting stuff - eager to learn more
> 
> -- 
> 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

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.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

some AB testing ...

2016-02-08 Thread Pierre Sahores
   #server localhost:82;   # eeePCU : Apache 2.4.7 + 
mod_lua   --> 2500 conn/sec
#server localhost:80;   # eeePCU : OpenResty 1.9.7.2 + 
LUAJit 5.1.a --> 8000 conn/sec

}

...

Cheers,

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: Can Handler Know What Params It Should Have

2016-02-02 Thread Pierre Sahores
Bernard,

It’s the way most AI programs are running (functional programming + 
lambda-calcul => 24/7 enabled recursive call-backs)

1.- as a startup example :

on idle
 if var1 and var2 is «  » then
get function function_1
else
get function function_n
end if
end idle

or more simple :

on idle
get function function_1(var1, var2)
end idle

function function_1
…
end function_1

…


function function_n
…
end function_n

2.- where idle can be replaced with a first direct call (on startup, on 
opencard,…) to function_1 as long as function_n ends up with :

wait 10
send function_1 to me in 10 ticks — garbage collector

HTH,


> Le 2 févr. 2016 à 17:05, Bernard Devlin <bdrun...@gmail.com> a écrit :
> 
> I know the params can be called to find out what parameters were passed to
> the handler when it is called. However, I'm wondering if a handler has a
> way of knowing what parameters it had at the time it was defined.
> 
> I don't think so.
> 
> Regards
> Bernard
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: HTML5 update: why it is slow?

2016-01-07 Thread Pierre Sahores


> Le 7 janv. 2016 à 03:56, Lyn Teyla <lyn.te...@gmail.com> a écrit :
> 
> Monte Goulding wrote:
> 
>> Personally I’d rather you declare force majeure on wait for HTML5 and apply 
>> your considerable talents to implementing non-blocking versions of 
>> everything.
> 
> Agreed. Won’t the planned improvements to networking include asynchronous 
> communication in any case?
> 
> If a stop-gap solution for HTTP request support is required, what about the 
> suggestions listed at:
> 
> http://stackoverflow.com/questions/16987080/whats-the-c-side-of-an-emscripten-xmlhttprequest-call

or what’s amazingly well minded and reliable on the lua, openresty/nginx and 
gideros side…

> Lyn
> 
> 

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: HTML5 update: why it is slow?

2016-01-07 Thread Pierre Sahores


> Le 7 janv. 2016 à 14:18, Peter TB Brett <peter.br...@livecode.com> a écrit :
> 
> On 07/01/2016 11:59, Pierre Sahores wrote:
>> 
>> 
>>> Le 7 janv. 2016 à 03:56, Lyn Teyla <lyn.te...@gmail.com> a écrit :
>>> 
>>> Monte Goulding wrote:
>>> 
>>>> Personally I’d rather you declare force majeure on wait for HTML5 and 
>>>> apply your considerable talents to implementing non-blocking versions of 
>>>> everything.
>>> 
>>> Agreed. Won’t the planned improvements to networking include asynchronous 
>>> communication in any case?
>>> 
>>> If a stop-gap solution for HTTP request support is required, what about the 
>>> suggestions listed at:
>>> 
>>> http://stackoverflow.com/questions/16987080/whats-the-c-side-of-an-emscripten-xmlhttprequest-call
> 
> Doing a synchronous XMLHttpRequest isn't a totally insane idea and might be a 
> decent temporary workaround.  Thanks Lyn -- I'll look into it.
> 
>> or what’s amazingly well minded and reliable on the lua, openresty/nginx and 
>> gideros side…
> 
> Since I'm not very well-versed in Lua programming, would you mind going into 
> more detail about how the model used there and how you envisage it working in 
> LiveCode Script?

https://openresty.org/ <https://openresty.org/>

Cheers,

Pierre
> 
>Peter
> 
> 
> -- 
> Dr Peter Brett <peter.br...@livecode.com>
> LiveCode Open Source Team
> 
> LiveCode on reddit: https://reddit.com/r/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

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: "fork" command?

2016-01-07 Thread Pierre Sahores

> Le 7 janv. 2016 à 20:03, Richard Gaskin <ambassa...@fourthworld.com> a écrit :
> 
> I'm just far enough into Robert Love's "Linux System Programming" that I 
> think the solution to FastCGI may be much simpler than I'd previously thought.
> 
<—snip —>

> Forking seems so common in other tools, and not having it appears to be the 
> one detail standing between where we are now and having not just FastCGI, but 
> also being able to build truly excellent application servers on par with 
> Node.js and other similar systems.
> 
> LiveCode is a great language, and if we had the ability to fork we should be 
> able to build a wide range of powerful, scalable, efficient systems, breaking 
> far beyond the limitations of CGI we're limited to now.

+1

Livecode behind NGINX would probably run as fast as OpenResty powered app’s 
servers.

https://www.techempower.com/benchmarks/

Best,

Pierre
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: Keeping up to date with

2015-10-24 Thread Pierre Sahores
Hello David,

Xcode 7.0.1 (7A1001) + LC 6.7.6 are, at least, working together …

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com

> Le 24 oct. 2015 à 09:28, David Bovill <david@viral.academy> a écrit :
> 
> I just upgraded Xcode to 7.1 - and again I get the issue that Livecode does
> not recognise this version. I think this has happened every time I upgrade
> for the last 6 months. Is there a better way to keep things in sync here?
> 
> I think it would be good to have a place where it is documented which
> version of Xcode you need to get working with which version of Livecode -
> and where to download the version of Xcode you are looking for (it's not
> easy to find).
> 
> I'm presently downloading Xcode 7.0 in the hope that that will work with
> Livecode 7.1 - if anyone has Xcode 7.1 working that would be great to know?
> 
> This is where you can find old versions of Xcode:
> https://developer.apple.com/downloads/?name=Xcode
> ___
> use-livecode mailing list
> use-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: Inter process communication

2015-10-01 Thread Pierre Sahores
Hello,

Works perfectly in a 100% reliable mode for years :

- Mobile App : HTTP POST to Apache or OpenLiteSpeed Http Deamon
- httpd to Linux LC server in cgi mode
- LC server to MySQL/INNODB or PostgreSQL RDBMS*

*needed to free-up LC-Server from complex requests best suited by ACID-SQL 
servers.

Note1 : in case of Web dedicated development : not to forget to include 
Revigniter in the loop.

Note2 : to code with optimal confort LC-Server stack’s librairies :

- first save them at the web hosting right path;
- reopen them from the FTP-client in choosing LC-Desktop IDE as the default 
editor;
- each command-S action will directly saves changes to the remote path.
- don’t forget to use an LC script.lc to bind together the httpd to the 
LC-Server stack lib.

Have fun,
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com

> Le 1 oct. 2015 à 08:24, Ethan L <ethanl...@gmail.com> a écrit :
> 
> Greetings 
> Has anyone done any work on inter process communications between two livecode 
> instances. 
> Specifically, I would like to be able to have a client instance (eg iPhone LC 
> app) make native LC commands calls to a remote instance (eg UNIX LC server) 
> while masking / embedding all of the plumbing (eg pipe establishment, 
> authentication, session encryption, etc). 
> This idealized two tier architecture would seperate the solution 
> (application) developer logic from the administrative logic. Hopefully 
> isolating the configuration details outside of the application into a 
> configuration manifest / file which could then be runtime manipulated / 
> selected based upon conditions at that time. 
> Yes, one could accomplish this through a combination of LC, JSON, SQL, etc. I 
> am hoping to achieve an end to end LC solution. 
> One could then easily leverage server based resources in a n-tier distributed 
> compute architecture while maintaining the benefits a high level language to 
> deliver a flexible elegant solution 
> Thanks in advanceEthan
> 
> et...@lish.net
> 240.876.1389
> ___
> use-livecode mailing list
> use-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

Fwd: [OT] Good Read/View on The Uncertainty Of The Future

2015-09-17 Thread Pierre Sahores
+1. Thanks !
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com

> Début du message réexpédié :
> 
> De: Bob Sneidar <bobsnei...@iotecdigital.com>
> Objet: Rép : [OT] Good Read/View on The Uncertainty Of The Future
> Date: 17 septembre 2015 19:02:45 UTC+2
> À: How to use LiveCode <use-livecode@lists.runrev.com>
> Répondre à: How to use LiveCode <use-livecode@lists.runrev.com>
> 
> Excellent post. I think this mail list actually is one of the great examples 
> of collaboration I have yet seen. We have graphic guys, core developers, 
> database guys, interface guys all cooperating and communicating and helping 
> one another, but not for a specific company, but rather for the love of the 
> development environment itself.
> 
> I also think that Livecode is a fairly good example of what he is talking 
> about. It provides us with a series of objects that can be put together as we 
> see fit. Of course, dealing with the issue of being compatible with current 
> and future devices is, as the author concedes, an ongoing one, and while 
> improvements can and perhaps should be made to the geometry manager (as an 
> example) the problem of open scaling is really one that if you think about it 
> an extremely complex one.
> 
> I don't see how we can ever get away from special case development to be 
> compatible with all potential devices, even from a web based perspective, as 
> powerful as the tools presently available and soon to be available are. We 
> will never be able to design for a full sized monitor on a high end 
> workstation and expect to scale to a watch on someone's wrist, or vise versa 
> for that matter. The problem is not just one of scale, but of ability. There 
> are simply some things that cannot be done on a watch based browser.
> 
> But I really like the bit:
> 
> Great minds discuss ideas. Average minds discuss events. Small minds discuss 
> people. Henry Thomas 
> Buckle<http://quoteinvestigator.com/2014/11/18/great-minds/>
> 
> I have expressed to up and coming IT people who are struggling with the vast 
> amount of information and learning that seems to be so oppressive, that the 
> trick is not learning everything about a particular system, but rather 
> understanding the system itself. What are the problems the system is 
> addressing? How do the components of the system interact with each other? 
> When I went through Naval training on the radar system I was to operate and 
> maintain many years ago, their approach to the training was top down, 
> starting with the major components, the operator console, the director, the 
> CW and pulse transmitters etc. Then they went into each major subsystem and 
> broke that down until we were looking at individual circuit boards. Because 
> we got that overview first, we were able to understand each subsystem and how 
> each component integrated with the whole, and why.
> 
> I read in a really good book once, "Get knowledge. And with it, get 
> understanding."
> 
> Bob S
> 
> 
> On Sep 16, 2015, at 15:42 , Scott Rossi 
> <sc...@tactilemedia.com<mailto:sc...@tactilemedia.com>> wrote:
> 
> A video with transcript by web designer/consultant Brad Frost.  The talk
> is targeted at web developers, but the concepts are applicable to any
> coder or application developer.
> 
> I Have No Idea What The Hell I Am Doing
> http://bradfrost.com/blog/post/i-have-no-idea-what-the-hell-i-am-doing/
> 
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> 
> ___
> use-livecode mailing list
> use-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: Release: 8.0 DP4... also, HTML5

2015-09-04 Thread Pierre Sahores
> Le 4 sept. 2015 à 12:55, Colin Holgate <colinholg...@gmail.com> a écrit :
> 
> In my test Chrome and Opera were equally slow, and Safari and Firefox were 
> both as fast as running inside LiveCode.

Intersting !
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com



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


Re: Business Application Framework

2015-08-12 Thread Pierre Sahores
 Le 12 août 2015 à 19:01, Kevin Miller ke...@livecode.com a écrit :
 
 The Business Application Framework is a framework for writing more serious
 applications in LiveCode. It is far more than simply adding ³GitHub to
 LiveCode. It brings in advanced concepts such as object-orientation, a
 model-view controller architecture and hooks into data sync and other
 heavyweight features. It is not for everyone. If you are an individual
 building an application then you might want to evaluate whether its worth
 the extra effort, level of complexity and abstractions associated with
 using it.

IMHO, beside the GPL3 license availability, LiveCode fully merits such its 
Business Application Framework, with, « cerise sur le gateau », both OOP and 
Functional Programming official support !

Warm Regards,
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com



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


Re: [YO EDINBURGH!] Microsoft Open-Sources It's Toolkit For Making iOS Apps Run On Win 10

2015-08-10 Thread Pierre Sahores
Hi Roger,

It’s simply no way to achieve 100% of cross platform ability as long as some 
features available, say, on the native Xcode’s iOS platform are not on the 
native Android SDK/NDK/JNI side and vice-versa ! Instead of complaining about 
this fact and, again, instead of limiting the cross platform ability of 
LiveCode to the less commun denominator of the different platforms LC covers, 
Edinburgh and external providers (Monte, …) extends it, each time it can be 
reliable and useful with special targeted features on one or an other platform 
and, gracefully, it’s, IMHO, the most we can get for staying as productive as 
possible from all of these beloved LC cookers ;D

Best,

Pierre
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com

 Le 10 août 2015 à 16:26, Roger Eller roger.e.el...@sealedair.com a écrit :
 
 Although LC calls itself cross-platform, I despise the fact that commands
 in the dictionary, particularly for mobile, have quirks that make it a
 little different for Android than iOS.  If it wants to call itself
 cross-platform, a term that is in the dictionary should work exactly the
 same across all supported platforms.  I would also be more likely to invest
 more into externals if they didn't focus on a single preferred OS rather
 than looking at the market potential for LC devs to build x-plat apps.  LC
 tools should all be required to be x-plat - period. /just one opinion.
 
 ~Roger
 
 On Mon, Aug 10, 2015 at 9:56 AM, Mike Kerner mikeker...@roadrunner.com
 wrote:
 
 Back in The Days Of The Language Wars, it was important, but now, with so
 many specialty languages for so many reasons, it becomes much less of an
 issue.  The PL bigots have been upended by uncompiled web languages.
 
 Whether it's this or Xojo or something else, LC still has a lead for
 building cross-platform apps.  Hopefully 8 will extend that lead and
 exploit it, more, because, really, web portals aren't the same.
 
 --
 On the first day, God created the heavens and the Earth
 On the second day, God created the oceans.
 On the third day, God put the animals on hold for a few hours,
   and did a little diving.
 And God said, This is good.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


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

Re: New Indy License Pricing

2015-07-21 Thread Pierre Sahores
 Le 21 juil. 2015 à 23:12, JB sund...@pacifier.com a écrit :
 
 I hope they are making money because it is a good
 programming language.

For sure ! It’s both an amazing XTalk and, less well known, one of the best and 
most mature functional programming language ever published... 
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com



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

Re: New Indy License Pricing

2015-07-21 Thread Pierre Sahores
Le 21 juil. 2015 à 23:35, Richard Gaskin ambassa...@fourthworld.com a écrit :
 
 And given human nature, those who are satisfied with the change will be 
 happily enjoying it rather than writing about it, giving disproportionate 
 voice to a relatively small subset of the group.

;D
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: put url web service timeout

2015-07-06 Thread Pierre Sahores
Should this sendmail script helps ?

function emailLC7 pTo, pSub, pMsg, pFrom, pFromName
   local tMsg
   put From:  pFromNamepFromcr  To:  pTo  cr  
Subject:  pSub  cr  Content-Type: text/html; charset=  
setQuote(utf-8)  cr  cr  pMsg into tMsg
   put the tempName into tFile
   put tMsg into url (binfile:  tFile)
   put /usr/sbin/sendmail -oi -t -f  setQuote(escapeShellArg(  
tFromEmail  ))setQuote(escapeShellArg(tFile)) into tCmd
   put shell(tCmd) into tOutput
   delete file tFile
end emailLC7

function escapeShellArg pString
   repeat for each char tChar in (\`!$  quote)
  replace tChar with (\  tChar) in pString
   end repeat
   return pString
end escapeShellArg

function setQuote texte
return quote  texte  quote
end setQuote

Works fine against LC Server 7

note : pTo param can handle multiple emails in using « , » as the itemdelimiter
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com

 Le 6 juil. 2015 à 22:32, Ralph DiMola rdim...@evergreeninfo.net a écrit :
 
 The
 reason I am testing long delays is to debug why my sendmail request to the
 web service was returning empty. Sendmail on the server is taking 11 seconds
 to finish so I never received a return status.


___
use-livecode mailing list
use-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: POST command and Previous Request Not completed

2015-06-20 Thread Pierre Sahores
Guten Tag Freud Klaus,

Does it still occurs if each POST command is followed by a « put it into 
mylocalVar » :

Post ...
put it ...
Post ...
put it …

etc…

Tchuss,
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com

 Le 20 juin 2015 à 14:35, Klaus major-k kl...@major-k.de a écrit :
 
 Hi friends,
 
 I have a little understanding problem. 8-)
 
 Say we have some POST commands and fire them one after another.
 
 Now according to the docs, the POST command is blocking, so we should 
 NOT see the error dialog Previous Request Not completed“ any time, right?
 
 But under some (mysterious) circumstances we actually do, what am I missing?
 
 Thanks a lot for any insight!
 
 
 Best
 
 Klaus
 --
 Klaus Major
 http://www.major-k.de
 kl...@major-k.de
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


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

Re: How do you handle the poor performance of LC 7?

2015-05-30 Thread Pierre Sahores

 Le 30 mai 2015 à 01:17, Richard Gaskin ambassa...@fourthworld.com a écrit :
 
 The ability to deliver a single compact binary file that contains both 
 objects and code contributes strongly to LiveCode's uncommon productivity,

Not only…

Nobody seems to care around about something possibly more important about the 
LiveCode uncommon productivity…

...

« Can programming be liberated from the von Neumann style? : a functional style 
and its algebra of programs »

John Backus (Fortran Lead Designer, IBM researcher, inventor of the Functional 
Programming paradigm).

http://www.columbia.edu/cu/computinghistory/backus.html

…

http://en.wikipedia.org/wiki/Functional_programming

The main superiority of the Functional Programming Paradigm over the Object 
Oriented Programming Paradigm is very simple :

- FP permits to software designers to describe and implement the software 
complexity trough 2D representation’s plans of what has to be done. This is not 
possible in the OOP world where UML is intended to suits the same needs.
- The Stack’s model is a lots more productive way to go than the Decision Tree 
will ever been.

…

Scala and LiveCode are today two of the most productive functional programming 
languages available around but :

- LiveCode is not intended to be incredibly productive because it’s a 
functional language but because it’s an XTalk.

http://en.wikipedia.org/wiki/LiveCode

- Scala is intended to be incredibly productive because it’s a functional 
language.

http://en.wikipedia.org/wiki/Scala_%28programming_language%29

…

Apple (Hypercard, Swift), Oracle (Oracle Media Object), IBM (Rexx), NASA, EADS, 
and, probably, even Microsoft and Google, are using functional programming 
languages for their own internal development needs.

Why ? 

- Because what can be implemented in one line of code in FP will in average 
need 20 to 50 lines of code in OOP.

Why FP is not intended to be used by the most important companies selling 
development services to (beside their now internal needs) to the outside world ?

- Because they are selling days, months and years of developments, not 
development performance.

…

LiveCode will probably never be pushed up and being seen as a first class 
professional grade programming language as long as it will not assume pliantly 
is FP roots.

A bon entendeur, Salut !
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: Livecode = SQL?

2015-05-23 Thread Pierre Sahores

 Le 23 mai 2015 à 16:44, Dr. Hawkins doch...@gmail.com a écrit :
 
 On Fri, May 22, 2015 at 6:13 PM, Pierre Sahores s...@sahores-conseil.com
 wrote:
 
 Oh, I see what you mean.  At the moment, I'm taking the approach of
 using a persistent server app, as the time to open a postgres database
 is significant, and could happen every couple or few seconds for each
 client.
 
 Should’t be at all. PostgreSQL works in a stateless mode. As long as each
 connection to PostgreSQL is :
 
 Maybe it's livecode then :)
 
 I think the last timing figures I had were a little under 100ms for
 revOpenDatabase() on localhost (a three or four year old quad-core i5 iMac)
 and around 250ms across town, with complex revDataFromQuery() (many
 insert/updates followed by a single query) taking something like a third as
 long
 
 e.g.,
 put the milliseconds into strt
 put revDataFromQuery(,,5,dcmd) into theData
 put the milliseconds-strt into stp
 ck elapsed:   stp
 
 (ck is a simple data writing handler)
 
 
 1.- opened (by the client, the LC server or the persistant server)
 2.- processed (the request)
 3.- closed as soon as the expected data are returned
 
 PostgreSQL will be able to respond very smoothly to thousands of
 différent client requests peer second (lost more than Apache can provide
 it…).
 
 
 Apache as a bottleneck?

Yes, it went for years and still is ! Have an eye to this, if needed : 
http://open.litespeedtech.com/mediawiki/
 
 :)
 
 
 On the other hand, if each connection is not closed as soon as the job is
 done, the main PostgreSQL controller will
 become less and less responsive because the unneeded still opened
 connections in its RAM array.
 
 Right now, what I'm writing is a persistent application running on the
 server, to which the remote client opens a socket and then writes to.  On
 initial open, licensing is verified for the session, and some setup is
 done.  Once initialized and authenticated, client uses write to socket to
 send it a command (inserts  updates  a query) with the changed data, and
 continues on.  When the command is done, the server will write to the
 socket, and the client will make local updates.

A way i used for years but never in the exact same way you do. To secure 
against interlocking issues the runrev's application’s server running as a 
process in the background, i used the following way :

Windows/MacOS native or Web browser clients - HTTP(S) - Apache - PHP sockets 
listener - TCP socket - Rev Application’s server - PostgreSQL

Was 100% reliable in the early 2000 up to 800 connections peer seconds in 
running on a simple Linux P4 powered sever.

You can have an eye on this at this old paper :  
http://www.sahores-conseil.com/insead/index_en.html
 
 An http solution would be blocking,

Yes (in theory) and no (in practice) as long as each cgi thread opened by the 
http server (ideally openLiteSpeed instead of Apache 2) acts independently from 
each other.

 which would be bad in this
 context--these updates are written while the user is working (it actually
 waits until 2 seconds after the last keystroke), but any perceivable delay
 would be bad.
 
 The server can close the postgres connection when the socket closes.
 
 Also, I'm thinking that I may be able to drop the query--it's purpose is to
 find data updated by other users in nearly real time.  Instead, with the
 socket staying open, the server could push data to every client using that
 table (not conceivably more than a handful), which would mean significantly
 less transactions (currently, client is checking every couple of seconds
 for updates)
 
 -- 
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: Livecode = SQL?

2015-05-23 Thread Pierre Sahores

 Le 23 mai 2015 à 18:20, Dr. Hawkins doch...@gmail.com a écrit :
 
 On Sat, May 23, 2015 at 9:12 AM, Pierre Sahores s...@sahores-conseil.com
 wrote:
 
 An http solution would be blocking,
 
 Yes (in theory) and no (in practice) as long as each cgi thread opened by
 the http server (ideally openLiteSpeed instead of Apache 2) acts
 independently from each other.
 
 
 It would be blocking at the *client* end--the user app would have to wait
 for the http response, wouldn't it?  

Yes, it blocks until the HTTP POST reply comes back as the it variable (for 
just some ticks as long as the server-side stuff is perfectly tuned).

 Or is there a message-based way to do
 this?
 
Did’t never, for my own, need to go in this way in about client - server - 
databases based information systems.

Note : in about such kind of systems, as pure functional languages, LiveCode 
and Scala (Polytechnic School of Lausanne) will always respond faster than any 
other server-side based solutions (PHP5, Java7/8, etc…)
 
 
 -- 
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: Livecode = SQL?

2015-05-22 Thread Pierre Sahores

 Le 23 mai 2015 à 02:30, Dr. Hawkins doch...@gmail.com a écrit :
 
 On Thu, May 21, 2015 at 7:58 PM, Pierre Sahores s...@sahores-conseil.com 
 wrote:
 I'm not sure what you're saying here--I'm assuming a central server being 
 hit by
 clients around the country, wo how can locahost handle that?
 
 The remote client - HTTPS - Apache - (LC-Server - PostgreSQL, both those 
 two last
 components connected trough port 5432 on the 127.0.0.1 localhost IP address)
 
 Oh, I see what you mean.  At the moment, I'm taking the approach of
 using a persistent server app, as the time to open a postgres database
 is significant, and could happen every couple or few seconds for each
 client.

Should’t be at all. PostgreSQL works in a stateless mode. As long as each 
connection to PostgreSQL is :

1.- opened (by the client, the LC server or the persistant server)
2.- processed (the request)
3.- closed as soon as the expected data are returned

PostgreSQL will be able to respond very smoothly to thousands of différent 
client requests peer second (lost more than Apache can provide it…).

On the other hand, if each connection is not closed as soon as the job is done, 
the main PostgreSQL controller will become less and less responsive because the 
unneeded still opened connections in its RAM array.
 
 However, postgres itself supports SSL, and can enforce SSL only--but
 livecode doesn't support this.
 
 
 
 
 -- 
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: Livecode = SQL?

2015-05-21 Thread Pierre Sahores

 Le 22 mai 2015 à 03:47, Dr. Hawkins doch...@gmail.com a écrit :
 
 On Sun, May 17, 2015 at 3:57 PM, Pierre Sahores s...@sahores-conseil.com 
 wrote:
 
 
 Le 18 mai 2015 à 00:23, Dr. Hawkins doch...@gmail.com a écrit :
 
 
 There are definitely a couple of *whopping* holes:
 * cannot connect securely to Postgres
 
 Why don’t you access it in localhost mode only (via lc server + script/stack 
 lib). I do this
 all the time to store incoming HTTPS POST data. It’s, as long as i know, the 
 most
 reliable way to go in about server’s security task.
 
 I'm not sure what you're saying here--I'm assuming a central server being hit 
 by
 clients around the country, wo how can locahost handle that?

The remote client - HTTPS - Apache - (LC-Server - PostgreSQL, both those 
two last components connected trough port 5432 on the 127.0.0.1 localhost IP 
address)
 
 
 * cannot submit multi-line queries to mySQL
 
 Did’t try myself at this point under MariaDB/MySQL (and i will do soon as 
 i’m on
 the way to move some of my apps from PG to MariaDB) but this works perfectly
 fine against PostgreSQL.
 
 That's the problem--I trried to use mySQL as a temporary replacement
 until I have
 my server working, but the compound commands I've been using with postgres
 and mySQL bomb.

Agreed ! MariaDB is too permissive, even in using the INNODB engine...

 In another thread, it was mentioned that there is work to
 make livecode handle multiline mySQL, but it isn't there now.  

Confirmed. Just tested this today and did’t find any way to go at this point. 
Will try with shell or curl and report there if something can do the job. revDB 
don’t seems to be able to handle this at all.

 And in
 my googling,
 the top hits were from when I asked the question a couple of years ago . . .
 
 
 
 
 These are both drop-dead showstoppers.
 
 There are also conditions in whichrevdberr, is returned after successful
 transactions. I believe this applies to both both post postgres and SQLite
 
 Never had to deal with this « revdberr » glitchy until yet, at least against 
 my LC-Server+PostgreSQL server's apps.
 
 if you use revDataFromQuery() and postgres, in a couple of circumstances (I
 believe INSERT is one of them), this is the message returned on a successful
 operation.
 
 
 
 
 -- 
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: Livecode = SQL?

2015-05-18 Thread Pierre Sahores
Hi Robert,

Still works but purely outdated. It was before LC-Server came out and i warmly 
recommend to use it instead of my old fashion « PHP listener + Metacard/Rev 
stacks » way to go.

Best,

Pierre

 Le 18 mai 2015 à 15:39, Robert Brenstein r...@robelko.com a écrit :
 
 On 18.05.2015 at 0:57 Uhr +0200 Pierre Sahores apparently wrote:
 
 Why don't you access it in localhost mode only (via lc server + script/stack 
 lib). I do this all the time to store incoming HTTPS POST data. It's, as 
 long as i know, the most reliable way to go in about server's security task.
 
 
 Pierre, are you planning to update your 
 http://www.sahores-conseil.com/insead/index_en.html
 pages for the current products? Or do they still work?
 
 RObert
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: Livecode = SQL?

2015-05-18 Thread Pierre Sahores

 Le 18 mai 2015 à 17:31, Robert Brenstein r...@robelko.com a écrit :
 
 On 18.05.2015 at 16:03 Uhr +0200 Pierre Sahores apparently wrote:
 Hi Robert,
 
 Still works but purely outdated. It was before LC-Server came out and i 
 warmly recommend to use it instead of my old fashion « PHP listener + 
 Metacard/Rev stacks » way to go.
 
 Best,
 
 Pierre
 
 I haven't got into the LC-Server game yet, but it seems to be that the server 
 stacks are not staying resident.

No. You are true on this.

 My application will require lot of pre-loading of various stuff (from a db as 
 well as disk files) that stays the same for all user calls.

My old fashion « PHP listener + Metacard/Rev stacks » permits this.

 Are you saying that this is of no concern anymore?

In my experience, persistence data reliability and RAM are not the best friends 
each time we have to deal, on the other hand, with massive concurrent accesses 
in write mode. It’s the main concern making CGI mode* + RDBMS lots more 
reliable.

* the way most of the big applications servers are using, including some 
special improvements related to data caching management : previous responses 
stored in hash table can be directly accessed without new SQL call.  Java, PHP, 
Perl, LC-Server supports to be configured in this way.

Note : PostgreSQL went always my ACID-RDBMS of choice but i have to admit that 
it’s not always the simplest platform to tune in certain situations. In the 
mean time, the MariaDB 10.xx (open source version of MySQL) seems to be 
becoming a very reliable platform too (INNOdb engine) lots more trustable than 
MySQL used to be in the past (v. 3 and 4).

Best Regards,

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

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.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


Fwd: 【OT】The First Online Art Exhibition by ACM SIGGRAPH

2015-05-17 Thread Pierre Sahores
Many thanks, Kenji for sharing this with all of us :D

Allez-voir ce que ce très grand peintre réalise, ici en numérique, ailleurs en 
peinture à l’oeuf dans la plus pure continuation de l’esprit de la renaissance 
italienne…

Bise,

 Début du message réexpédié :
 
 De: Kenji Kojima in...@kenjikojima.com
 Objet: 【OT】The First Online Art Exhibition by ACM SIGGRAPH
 Date: 17 mai 2015 13:33:35 UTC+2
 À: How to use LiveCode use-livecode@lists.runrev.com
 Répondre à: How to use LiveCode use-livecode@lists.runrev.com
 
 Hi,
 
 My LiveCode project “Composition FUKUSHIMA 2011” was selected by the first 
 online art exhibition by ACM SIGGRAPH. The project was programmed by LiveCode 
 5.5 and captured to a video. It converted the image data  related online 
 press photo of Fukushima Nuclear Accident to a midi music. 
 http://enhanced-vision.siggraph.org/wp/composition-fukushima-2011/ 
 http://enhanced-vision.siggraph.org/wp/composition-fukushima-2011/ 
 There are 30 international video art works on the exhibition site. 
 
 Using Computer Graphics to Explore Social Issues
 http://bit.ly/1Gfg33f 
 
 Best,
 --
 Kenji Kojima / 小島健治
 http://www.kenjikojima.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

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: Livecode = SQL?

2015-05-17 Thread Pierre Sahores

 Le 18 mai 2015 à 00:23, Dr. Hawkins doch...@gmail.com a écrit :
 
 On Sunday, May 17, 2015, Pierre Sahores s...@sahores-conseil.com wrote:
 
 
 
 
 I never understood some discussions about the urgent need of their
 improvement. They just works as fine as our SQL queries well build are
 (complex inner joints support, etc…).
 
 
 There are definitely a couple of *whopping* holes:
 * cannot connect securely to Postgres

Why don’t you access it in localhost mode only (via lc server + script/stack 
lib). I do this all the time to store incoming HTTPS POST data. It’s, as long 
as i know, the most reliable way to go in about server’s security task.

 * cannot submit multi-line queries to mySQL

Did’t try myself at this point under MariaDB/MySQL (and i will do soon as i’m 
on the way to move some of my apps from PG to MariaDB) but this works perfectly 
fine against PostgreSQL.
 
 These are both drop-dead showstoppers.
 
 There are also conditions in whichrevdberr, is returned after successful
 transactions. I believe this applies to both both post postgres and SQLite

Never had to deal with this « revdberr » glitchy until yet, at least against my 
LC-Server+PostgreSQL server's apps.
 
 -- 
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: Livecode = SQL?

2015-05-17 Thread Pierre Sahores
+ 1

and the standard revdb libs are the most suitable API for any advanced db 
interactions with both PostgreSQL, MariaDB/MySQL and SQLite. With some care, it 
will works very well too against any Oracle db = v. 7.3. I never understood 
some discussions about the urgent need of their improvement. They just works as 
fine as our SQL queries well build are (complex inner joints support, etc…). I 
would't forget to add that revdb is the fastest db API available for Livecode ;D

 Le 17 mai 2015 à 21:02, Skip Kimpel skiplon...@gmail.com a écrit :
 
 If you plan on doing any type of database projects in the future, do yourself 
 a favor and learn SQL. Extremely powerful when combined with LC!
 
 SKIP
 
 On May 17, 2015, at 2:37 PM, Michael Gruenthal mgruent...@mac.com wrote:
 
 Take a look at Andre Garzia¹s dbLib at
 http://andregarzia.com/pages/en/dblib/
 He doesn¹t seem to be actively developing it anymore, but it works.
 
 On 5/17/15, 12:03 PM, Eric A. Engle engleer...@yahoo.com wrote:
 
 Ugh. I am learning SQL. It is ugly. I am hoping someone has a stack which
 could convert livecode statements into SQL queries. It would save me
 having to learn syntax. Any thoughts are appreciated. Thank you.
 ___
 use-livecode mailing list
 use-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

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: Posted here: HTML5 deployment is still in the far future.

2015-05-11 Thread Pierre Sahores
My own habit : LC-Server+RevIgniter+native JS/JQuery

 Le 11 mai 2015 à 21:15, Mark Rauterkus mark.rauter...@gmail.com a écrit :
 
 Hi,
 
 Okay, ... If
 HTML5 deployment is still in the far future.
 
 Then,
 What LC tools are people using NOW to help with their most simple web pages?
 
 I have never found an easy HTML editor that was written on LiveCode.
 
 Thanks.
 
 Mark Rauterkus
 m...@rauterkus.com
 
 
 
 -- 
 --
 Ta.
 
 
 Mark Rauterkus   mark.rauter...@gmail.com
 PPS Summer Dreamers' Swim and Water Polo Camp Head Coach
 Varsity Boys Swim Coach, Pittsburgh Obama Academy
 Head Water Polo Coach, Carnegie Mellon University Women's Club Team
 Pittsburgh Combined Water Polo Team
 
 http://Rauterkus.blogspot.com
 http://FixPA.wikia.com
 http://CLOH.wikia.com
 412 298 3432 = cell
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: polling only on socket, or can there be a trigger?

2015-05-09 Thread Pierre Sahores
Many thanks, Mark ! Very useful.

Pierre

 Le 9 mai 2015 à 21:03, Mark Waddingham m...@livecode.com a écrit :
 
 Or, is it starting a ping-pong between clientDataReceived and
 clientDataSent, with each calling the other when done?
 
 Yes - that's precisely what the code does that I outlined.
 
 Sockets are bidirectional in nature and so you can 'simultaneously' be 
 reading and writing to them at the same time.
 
 When you do a 'read' or a 'write' and specify a message no direct action 
 takes place at that point at all. Instead, the engine queues the read (or 
 write) request (they are separate queues) and marks the socket to notify the 
 engine when data arrives (or data is sent). As data arrives (or is sent), the 
 engine dispatches the appropriate messages in order to satisfy the requests 
 that have been made. In particular, no blocking occurs at the point of the 
 read/write command, instead things happen the next time the event loop runs 
 (typically when the current handler stack which was initiated by a message 
 completes; but also when a 'wait with messages' command occurs).
 
 The reason I wrote the outline as a 'ping-pong' of reads and writes is 
 because that is what most protocols entail, but you could schedule a sequence 
 of 'read with message' and/or a sequence of 'write with message' and they 
 would be serviced in order for each read queue and write queue (the actual 
 nature of the interleaving of the two would depend on when data finishes 
 sending, or is received).
 
 What I'm not getting is how to handle the client again using that freshly
 created new socket (call it sktRefresh) again without using polling.  For
 example, client program opens the database, which contains various customer
 files.  A few seconds later, the client wants to update the jones table, so
 it sends the server a message with the relevant database commands, by
 writing to sktRefresh.
 
 I take it by 'sktRefresh' you mean the socket identifier given to you as the 
 parameter to 'newClient'? This is the server-side of the connection to the 
 individual client, so on the server side you issue an appropriate 'read with 
 message' for that socket which will fire when the client sends it some data. 
 Then, on the server you would service that request in the callback message 
 and perform the query returning the data using 'write with message'. Now, if 
 the client needs to be able to send several requests to the client 
 simultaneously then you would probably also want to 'read with message' so 
 the server can catch another (whilst data is being written back) request - 
 but that will depend on the client and how it is going to use the server.
 
 As near as I can tell, when this happens* after* the initial opening, that
 message is going to sit around until something decides to read it, rather
 than triggering a new message.
 
 Yes - the only way to read data from a socket is to explicitly use the 'read' 
 command. The blocking form will sit and wait until the client has actually 
 sent some data (which means the server cannot be doing anything else); whilst 
 the 'with message' form tells the engine to watch for data to be delivered 
 and as soon as it satisfies the specified read condition send you a message 
 with the data. i.e. The server can happily go off and do other things until 
 the client *actually* does send some data to process.
 
 Mark.
 
 -- 
 Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
 LiveCode: Everyone can create apps
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: OT : Hosting providers

2015-05-04 Thread Pierre Sahores
Matthias,

Went you able to check them via CPANEL access ? On my side, 
https://jasmine.on-rev.com:2083/ stay unreachable with an 
ERR_CONNECTION_TIMED_OUT status.

Regards,

Pierre

 Le 4 mai 2015 à 09:11, Matthias Rebbe | M-R-D 
 matthias_livecode_150...@m-r-d.de a écrit :
 
 So if there are others who moved from Pancake to Jasmine some time ago. Check 
 your Databases.
 
 Regards,
 
 Matthias

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: Status of on-rev restore?

2015-05-03 Thread Pierre Sahores
Heather and David are, more than ever, on the bridge and I still hope they will 
agree for a Sunday's afternoon break …

 Le 3 mai 2015 à 03:20, Bruce Pokras bruc...@comcast.net a écrit :
 
 I spoke to Heather. The problem was not individualized. It was the entire 
 Pancake array.
 
 On May 2, 2015, at 3:59 PM, Dave Kilroy d...@applicationinsight.com wrote:
 
 Mark, Andy maybe go back to on-rev.com and make another urgent report? It may
 be that Heather and David think there are no more bad accounts...
 
 
 
 -
 The difference between genius and stupidity is; genius has its limits. - 
 Albert Einstein
 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/Status-of-on-rev-restore-tp4691765p4691775.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: Status of on-rev restore?

2015-05-03 Thread Pierre Sahores
http://mergext.com/ is back to service. Hour after hour...

 Le 3 mai 2015 à 03:20, Bruce Pokras bruc...@comcast.net a écrit :
 
 I spoke to Heather. The problem was not individualized. It was the entire 
 Pancake array.
 
 On May 2, 2015, at 3:59 PM, Dave Kilroy d...@applicationinsight.com wrote:
 
 Mark, Andy maybe go back to on-rev.com and make another urgent report? It may
 be that Heather and David think there are no more bad accounts...
 
 
 
 -
 The difference between genius and stupidity is; genius has its limits. - 
 Albert Einstein
 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/Status-of-on-rev-restore-tp4691765p4691775.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.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

Fwd: GitHub starter guide?

2015-05-02 Thread Pierre Sahores
Thanks Thierry. Will report how it installed on my LAN’s OS X (file, print, 
dematerialized audio source, etc…) server as soon as done. The french v2 of the 
book is a pleasant and very accessible read. I just discovered that Git is a 
Linus Torwald’s creation ;D

 Début du message réexpédié :
 
 De: Thierry Douez th.do...@gmail.com
 Objet: Rép : GitHub starter guide?
 Date: 2 mai 2015 11:35:09 UTC+2
 À: How to use LiveCode use-livecode@lists.runrev.com
 Répondre à: How to use LiveCode use-livecode@lists.runrev.com
 
 About git:
 
 http://git-scm.com/about
 
 
 A git cheat sheet:
 
 https://training.github.com/kit/downloads/github-git-cheat-sheet.pdf
 
 
 Entire Pro Git book:
 
 http://git-scm.com/book/en/v2
 
 
 Infos about this book:
 
 Download this book in PDF, mobi, or ePub form for free.
 
 This book is translated into Deutsch, 简体中文, 正體中文, Français, 日本語,
 Nederlands, Русский, 한국어, Português (Brasil) and Čeština.
 
 Partial translations available in Arabic, Español, Indonesian,
 Italiano, Suomi, Македонски, Polski and Türkçe.
 
 Translations started for Azərbaycan dili, Беларуская, Català,
 Esperanto, Español (Nicaragua), فارسی, हिन्दी, Magyar, Norwegian
 Bokmål, Română, Српски, ภาษาไทย, Tiếng Việt, Українська and Ўзбекча.
 
 
 
 Regards,
 
 Thierry
 
 
 
 
 Thierry Douez - http://sunny-tdz.com
 Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYrex
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: On-Rev server Pancake problems - old backup restored?

2015-05-01 Thread Pierre Sahores
 time and never experienced such downtime, one customer was
 doing $100k a day in transactions.
 
 
 
 
 
 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/On-Rev-server-Pancake-problems-old-backup-restored-tp4691642p4691654.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-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

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: Pancake down

2015-04-29 Thread Pierre Sahores
Confirmed. A 13 months old backup disk seems to be running instead of the 
current state of all my own sites and n-tier apps. I expect that the on-rev 
team will get all back to normal along the next hours.

 Le 29 avr. 2015 à 23:08, Marty Knapp martyknapps...@gmail.com a écrit :
 
 All my On-Rev web sites have been down (on Pancake) for at least 6 hours. 
 Have a note off to support but haven't heard anything . . .
 
 Marty K
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: mobileControlDo

2015-04-23 Thread Pierre Sahores
Hi Mark,

Many thanks for your helpful guidance !

Understood : mobileControlDo returns the last line of the executed javascript « 
as this » , so all works as expected with :

on mouseup
  -- mobileControlCreate browser, Browser1 inited in the preOpenStack 
handler --
  MobileControlDo Browser1, execute, fld « javascript
  answer the result — success --
end mouseup

the « javascript » fld contents :

window.name = Number(window.name) +1;
window.name; // correct statement

OK !

While my previous mistake was to write this, instead :

window.name = Number(window.name) +1;
return window.name; // erroneous statement 

KO !

Conclusion : mobileControlDo acts perfectly well to let us store and exchange 
persistant data between the mobile browser and LC (iOS and Android successfully 
tested).

Warm Regards,

Pierre


 Le 22 avr. 2015 à 17:46, Mark Waddingham m...@livecode.com a écrit :
 
 Hi Pierre,
 
 There is definitely code in the engine to feed the (string) result from the 
 JS script back to 'the result' variable. I've just tried (on iOS):
 
 mobileControlDo sBrowserId, execute, 1+1
 answer the result
 
 For me at least, this results in an answer dialog popping up containing the 
 value '2'.
 
 If you can't get this to work, then please do file a bug in the quality 
 center with your example script and more details of your environment.
 
 Warmest Regards,
 
 Mark.
 
 ---
 Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
 LiveCode: Everyone can create apps
 
 On 2015-04-21 17:42, Pierre Sahores wrote:
 Hi Friends,
 I can’t find any way to get the returned value (nor as it or the
 result) after executing the following line of code :
 Browser1, execute, fld  js1
 where fld « js1 acts as a simple javascript statements container.
 Do i miss something or is the mobileControlDo command 100% unable to
 let us use its execution result ?
 A simple js « alert() » box display (witch works…) don’t feet my needs...
 Thanks for any though…
 Best,
 --
 Pierre Sahores
 mobile : 06 03 95 77 70
 www.sahores-conseil.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

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: mobileControlDo

2015-04-22 Thread Pierre Sahores
No shared clipboard between the js instance and the mobile browser instance 
said, at some point, RunRev...

 Le 22 avr. 2015 à 04:19, Mike Bonner bonnm...@gmail.com a écrit :
 
 Ah k. I had just looked at this thread(
 http://forums.livecode.com/viewtopic.php?f=53t=11730p=55347hilit=mobilecontroldo#p55347
 ), and (if I understand what you're asking) it seemed to be working at some
 point in the past. Unreliably, but still working.
 
 Hopefully someone can help.
 
 On Tue, Apr 21, 2015 at 7:09 PM, Pierre Sahores s...@sahores-conseil.com
 wrote:
 
 Don’t work there. The problems seems to rely on the fact that
 mobilecontroldo acts as a pure command (no return value at all in it or in
 the result)…
 
 Thanks anyway,
 
 Pierre
 
 Le 22 avr. 2015 à 00:35, Mike Bonner bonnm...@gmail.com a écrit :
 
 You do actually have a 'return' in your js code right?
 
 You might test with something simple like
 
 function donothing() {
  return 10;
 }
 
 After the mobilecontroldo it the result should be 10.
 
 If you ARE returning a value, you might simplify and make sure you aren't
 returning nothing. I THINk that if the code is failing you would get an
 error in the result, but not sure.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 --
 Pierre Sahores
 mobile : 06 03 95 77 70
 www.sahores-conseil.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

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: mobileControlDo

2015-04-22 Thread Pierre Sahores

 Le 22 avr. 2015 à 10:46, David Bovill david@viral.academy a écrit :
 
 Hi Pierre. Thanks fir the input Mike. I'd like to get to the bottom of this
 as well.
 
 Pierre if you could post the code you are testing that would be great?
 
 I'd like to know how this sots with near-future Javascript plans. Is this
 something that is being looked at being addressed with the intended summer
 Javascript export feature?
 
 In general it would be good to have a way of regularly asking questions in
 an organised and time-limited way. A monthly 1 hour QA session?

+1

About my test (yet abandoned), i came to conclusion that :

1.- mobileControlDo is a command witch works perfectly to launch any kind of 
javascript snippets ;
2.- mobileControlDo is not intended to provide to LC any return value ;

The way to go to get back mobileControlDo javascript snippet’s calculations 
seems to write them to webkit’s localStorage or SessionStorage containers 
(supported on both iOS and Android platforms) and, from there, call them back 
from a device sandboxed local URL running the dedicated javascript code able to 
read the localStorage/sessionStorage values and let us access them in GET URL 
mode - it

I did’t test this all as long as i found how to avoid to have to depend from 
mobileControlDo return value in my current project.

Best,

Pierre

 On Wed, 22 Apr 2015 at 08:56, Pierre Sahores s...@sahores-conseil.com wrote:
 
 No shared clipboard between the js instance and the mobile browser
 instance said, at some point, RunRev...
 
 Le 22 avr. 2015 à 04:19, Mike Bonner bonnm...@gmail.com a écrit :
 
 Ah k. I had just looked at this thread(
 
 http://forums.livecode.com/viewtopic.php?f=53t=11730p=55347hilit=mobilecontroldo#p55347
 ), and (if I understand what you're asking) it seemed to be working at
 some
 point in the past. Unreliably, but still working.
 
 Hopefully someone can help.
 
 On Tue, Apr 21, 2015 at 7:09 PM, Pierre Sahores s...@sahores-conseil.com
 wrote:
 
 Don’t work there. The problems seems to rely on the fact that
 mobilecontroldo acts as a pure command (no return value at all in it or
 in
 the result)…
 
 Thanks anyway,
 
 Pierre
 
 Le 22 avr. 2015 à 00:35, Mike Bonner bonnm...@gmail.com a écrit :
 
 You do actually have a 'return' in your js code right?
 
 You might test with something simple like
 
 function donothing() {
 return 10;
 }
 
 After the mobilecontroldo it the result should be 10.
 
 If you ARE returning a value, you might simplify and make sure you
 aren't
 returning nothing. I THINk that if the code is failing you would get an
 error in the result, but not sure.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 --
 Pierre Sahores
 mobile : 06 03 95 77 70
 www.sahores-conseil.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
 
 --
 Pierre Sahores
 mobile : 06 03 95 77 70
 www.sahores-conseil.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

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.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

mobileControlDo

2015-04-21 Thread Pierre Sahores
Hi Friends,

I can’t find any way to get the returned value (nor as it or the result) after 
executing the following line of code :

 Browser1, execute, fld  js1

where fld « js1 acts as a simple javascript statements container.

Do i miss something or is the mobileControlDo command 100% unable to let us use 
its execution result ?

A simple js « alert() » box display (witch works…) don’t feet my needs...

Thanks for any though…

Best,
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.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

Fwd: mobileControlDo

2015-04-21 Thread Pierre Sahores
Hi Friends,

I can’t find any way to get the returned value (nor as it or the result) after 
executing the following line of code :

MobileControlDo Browser1, execute, fld  js1

where fld js1 acts as a simple javascript statements container.

Do i miss something or is the mobileControlDo command 100% unable to let us use 
its execution result ?

A simple js « alert() » box display (witch works…) don’t feet my needs...

Thanks for any though…

Best,
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: mobileControlDo

2015-04-21 Thread Pierre Sahores
Don’t work there. The problems seems to rely on the fact that mobilecontroldo 
acts as a pure command (no return value at all in it or in the result)…

Thanks anyway,

Pierre

 Le 22 avr. 2015 à 00:35, Mike Bonner bonnm...@gmail.com a écrit :
 
 You do actually have a 'return' in your js code right?
 
 You might test with something simple like
 
 function donothing() {
   return 10;
 }
 
 After the mobilecontroldo it the result should be 10.
 
 If you ARE returning a value, you might simplify and make sure you aren't
 returning nothing. I THINk that if the code is failing you would get an
 error in the result, but not sure.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: Can't Build for Android - could not compile application class

2015-04-13 Thread Pierre Sahores
Ray,

Be sure to comment (Android bug, iOS OK) :

# set the acceleratedRendering of this stack to true

if you use it.

Its a known issue the LC team works on to get it removed ASAP :

[Bug 14879] android mobile app launch hangs up while processing the opencard 
handler of cd 1

Best,

Pierre


 Le 14 avr. 2015 à 02:43, Ray r...@linkit.com a écrit :
 
 What SDK/Platform/Build tools?
 
 I know that's almost comical but evidently I forgot if there are things to 
 download like iTune and Xcode on the Mac.  Can you refresh my memory please?
 
 On 4/13/2015 2:40 PM, Ralph DiMola wrote:
 I get that when the Android SDK is not in sync with the version that LC
 expects. What version of the SDK/Platform/Build tools are you running?
 
 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 Ray
 Sent: Monday, April 13, 2015 7:48 PM
 To: use-livecode@lists.runrev.com
 Subject: Can't Build for Android - could not compile application class
 
 I can't build for an Android phone with 7.0.2 (rc2).
 
 I found the following thread:
 
http://forums.livecode.com/phpBB2/viewtopic.php?t=7357
 
 but it's lengthy and it's four years old.
 
 Does anybody know of a simple fix for this?
 
 ___
 use-livecode mailing list
 use-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

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: New LiveCode book

2015-04-13 Thread Pierre Sahores
Hi Stephen,

There is some few books very, very different from thousands others…

In France, lots of Hypercard’s developers discovered this magic app’s 
design/development functional/object programing language because two of those 
kind of books :

Hypercard, by Jean-Jacques Greif
Hypertalk, by Jean-Jacques Greif

two little mementos (less than 100 pages each) targeted to drive the newbies 
directly to the concepts and architecture key points directly at work behind 
the stage.

About Jean-Jacques Grief

http://mapage.noos.fr/jjgreif/bio.html

It’ went never my habit to say more than i sincerely think about any think and, 
that said, i want to thank you. It took me about some minutes to understand 
that :

LiveCode Lite: Computer Programming Made Ridiculously Simple (2015) by Stephen 
Goldberg

http://www.medmaster.net/livecode.html

is this kind of specially very rare book. I expect that it could greatly 
improve the Livecode audience and i hope that Kevin will act and help you to 
make it as visible as possible.

Warm Regards,

Pierre
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


 Le 13 avr. 2015 à 17:52, stgoldb...@aol.com a écrit :
 
 
 
 I am pleased to announce my new book, LiveCode Lite: Computer Programming 
 Made Ridiculously Simple.
 
 
 It is temporarily available as a free PDF download at 
 www.medmaster/livecode.html, along with a LiveCode scripting tutorial for Mac 
 or Windows.
 
 
 The original HyperCard language had only about 150 words, while LiveCode, 
 which is far more powerful, has close to 2000.  This can be intimidating to 
 newcomers. The book, 165 pgs, is designed for individuals with little or no 
 background in LiveCode or computer programming, providing a brief, clear, 
 hopefully enjoyable approach to LiveCode and computer programming in a 
 simple, linear step-by-step fashion. The book follows the format of other 
 Medmaster titles.  I hope to receive feedback so that the book can be 
 improved, and I thank all the LiveCode gurus on the forum, which I have 
 followed for years.
 
 
 
 Stephen Goldberg
 Prof. Emeritus, Univ Miami Miller School of Medicine
 President, Medmaster Publishing Co.
 www.medmaster.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

Re: Speed on Android

2015-03-22 Thread Pierre Sahores
Jacque,

GET and POST are perfectly supported on both iOS and Android. If you send them 
to an LC server script (connected to the DB in localhost mode), you will no 
more have to compose with any latency anymore.

working example :

on the iOS/Android mobile client app side :

 set the socketTimeoutInterval to 6
 set httpHeaders to Content-type: application/x-www-form-urlencoded  
return
 post URLEncode(gAppVars[MobileAppID]  =  hexDigest(publicmclt)  
  prevSession  stock_decrement=-1) to URL MIAS
 put it into tResponse

on the server side, each DB opened connexion (PostgreSQL 8.4 on Pancake in my 
case) need to be closed before the request is returned to the mobile app.

This kind of procedure respond in just some ticks (+ network latency itself 
witch is  100-300 ms from pancake witch is, in my case, hosted at less than 
600 miles from my office)

Pierre


 Le 21 mars 2015 à 20:01, Richard Gaskin ambassa...@fourthworld.com a écrit :
 
 Ralph DiMola wrote:
 
  Richard Gaskin wrote:
 
 How does LC connect to the database socket on platforms where it
  provides no socket support?
 
  Magic.
 
 I'm intrigued.  Does this magic work on Android as well?
 
 I wonder if we can leverage this for other socket comms...
 
 -- 
 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

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: Beyond PowerStatus: Concurrency options

2015-03-09 Thread Pierre Sahores

 Le 9 mars 2015 à 18:44, Dr. Hawkins doch...@gmail.com a écrit :
 
 On Sun, Mar 8, 2015 at 9:27 PM, Pierre Sahores s...@sahores-conseil.com
 wrote:
 
 Why not clients to an LC server gateway in SSL mode and LC to PostgreSQL
 in localhost mode ?
 
 
 From the past few days of discussions, it does not appear that livecode can
 enforce only encrypted connections--once the socket is open, it will
 apparently read whatever is written to it, encrypted or not.
 
 If it would insist on encrypted connections only, that would certainly
 solve my issues with it, and I could run a happily asynchronous system.

I see… 

— Scala
— PHP
— Java

I would choose Scala if i had to solve this my self. Have an eye on it : it’s a 
powerful functional programming language witch compile to the JVM and is able 
to handle connections to PostgreSQL via JDBC.
 
 -- 
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: Beyond PowerStatus: Concurrency options

2015-03-08 Thread Pierre Sahores
Well done Mike !

Two other possible ways in mind :

1.- home made : i7 8 logical cores under windows :
- 1 core runs an LC controller app in client mode and dispatch tasks to :
- 7 cores running an LC functional server accepting sockets connections on 
port xxx

2.- Runrev’s doable : implementation’s of the Scala’s actors model (AKKA, etc…) 
in LC 8.xx

Pierre ;D


 Le 7 mars 2015 à 21:59, Richard Gaskin ambassa...@fourthworld.com a écrit :
 
 Nicely done, Mike.
 
 Using Apache for this is a good solution - it's already set up to herd 
 workers in a way with CGI, and it handles the forking so we don't have to.
 
 -- 
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com
 
 
 Mike Bonner wrote:
 
 The last thing I did this way was more like a seti online type of work
 load.
 My web server is on the same machine as my LC in this case, so I had lc
 create individual data files for the web server to go through, used the
 load command to tell the web server which file it was, and turned it loose
 with a with message.. so that when the web server returned results, a
 message to handle the results would fire.
 
 In this way, the web server handles most of the load, spawns threads and lc
 server instances (could be php, perl, whatever) and my app continues on its
 merry way, offloading another chunk.
 
 So, yes I used files to make some of it easier, and the web server handed
 the results back directly on completion.  I could have gone an entirely
 file based method, where the results were dropped into files by the web
 server, then re-assembled after completion.
 
 Queue order in this specific case didn't matter.  Each chunk was designated
 a job number, and the results were then shoved back together in the same
 order.
 
 For the example here, race conditions did not apply.
 
 All the webserver method does is use apache, rather than spawning worker
 processes, but the end result is the same, but the threading capability is
 already set up.  All one must do is write the code to do the actual
 processing, and return the result.  This is what I would like to see built
 in to lc.
 
 Another thought just occurred to me.  Perhaps it could be made stack
 based.. go to stack whatever as new thread.  (with the option for
 invisible, etc still available)  that way, all the scripts of a stack could
 be accessible.  So, if you had a stack that you were using for a progress
 bar, you could easily modify the behavior of the bar. I think the current
 answer to this is to spawn a worker process and full blown socket
 communications.  Instead you could just dispatch whateverMessage to stack
 mystack in thread.
 
 No clue if there is anything useful here, its not very well thought out
 yet.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: Beyond PowerStatus: Concurrency options

2015-03-08 Thread Pierre Sahores
Why not clients to an LC server gateway in SSL mode and LC to PostgreSQL in 
localhost mode ?

 Le 9 mars 2015 à 02:53, Dr. Hawkins doch...@gmail.com a écrit :
 
 Heck, I'd settle
 for ssl or postgres being done correctly :)

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: mergExt Update for LC 6.7.3 and 7.0.3

2015-03-03 Thread Pierre Sahores
Congrats and thanks, Monte.

 Le 4 mars 2015 à 00:00, Monte Goulding mo...@sweattechnologies.com a écrit :
 
 Hi LiveCoders
 
 I have uploaded new builds of all my iOS externals to be compatible with the 
 latest versions of LiveCode and Apple's 64 bit requirements.
 
 Cheers
 
 Monte
 
 --
 M E R Goulding 
 Software development services
 Bespoke application development for vertical markets
 
 mergExt - There's an external for that!
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: Android SDK updated but not anymore recognized

2015-03-02 Thread Pierre Sahores
Hi Ludovic,

Same there some weeks ago and a TimeMachine rollback to the previous « 
android-sdk-macosx »  directory solved the problem.

HTH,

Pierre

 Le 2 mars 2015 à 12:56, Ludovic Thébault ludovic.theba...@laposte.net a 
 écrit :
 
 Hello,
 
 Since few weeks when i've tested my app on my android tablet, all is black 
 (expect native input field after change a card) !
 So i’ve update the SDK, but since Livecode doesn’t recognize the folder and 
 yes the 2.2 api 8 is installed.
 
 What happen ?
 
 Thanks ?
 
 Livecode 6.7.3
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: Configure.it

2015-02-10 Thread Pierre Sahores
In french, « Mobinaute » means mobile phone user ...

Le 11 févr. 2015 à 00:09, Bob Sneidar bobsnei...@iotecdigital.com a écrit :

 What is a mobinaut?
 
 Bob S
 
 
 On Feb 10, 2015, at 14:34 , Pierre Sahores 
 s...@sahores-conseil.commailto:s...@sahores-conseil.com wrote:
 
 And at $US 490 / month peer 10 mobinaut's users of a single app ...
 
 Le 10 févr. 2015 à 23:17, Bob Sneidar 
 bobsnei...@iotecdigital.commailto:bobsnei...@iotecdigital.com a écrit :
 
 Looks like a widget constructor set approach. No coding eh? I suppose that 
 means no granular control over how the objects work.
 
 Bob S
 
 
 On Feb 9, 2015, at 17:49 , Jim Lambert 
 j...@netrin.commailto:j...@netrin.com wrote:
 
 Has anyone used this mobile app dev platform?
 http://www.configure.it http://www.configure.it/
 
 If so, how is it?
 
 Thanks,
 Jim Lambert
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.commailto:use-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.commailto:use-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

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: [OT] Configure.it

2015-02-10 Thread Pierre Sahores
Hope you are right, Jim !

Le 11 févr. 2015 à 00:15, Jim Lambert j...@netrin.com a écrit :

 
 Pierre wrote:
 
 And at $US 490 / month peer 10 mobinaut's users of a single app …
 
 I sure hope they mean users of the authoring tool, not end users!
 
 I wonder if that business model of providing a platform would work for RunRev?
 
 Jim Lambert
 
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: Configure.it

2015-02-10 Thread Pierre Sahores
And at $US 490 / month peer 10 mobinaut's users of a single app ...

Le 10 févr. 2015 à 23:17, Bob Sneidar bobsnei...@iotecdigital.com a écrit :

 Looks like a widget constructor set approach. No coding eh? I suppose that 
 means no granular control over how the objects work. 
 
 Bob S
 
 
 On Feb 9, 2015, at 17:49 , Jim Lambert j...@netrin.com wrote:
 
 Has anyone used this mobile app dev platform?
 http://www.configure.it http://www.configure.it/
 
 If so, how is it?
 
 Thanks,
 Jim Lambert
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


re: Livecode server + NGINX ?

2015-01-21 Thread Pierre Sahores
100% my tough too, Richard ! With up to 3750 connections/second handled in a 
LAN test  1500 U$ dedicated server configuration with XSS/CSRF filter and 
protection set to ON, Linux/Apache/LC Server/RevIgniter/PostgreSQL is able to 
handle more than any of my clients will probably ever need in production apps. 
Should probably be less reliable in using a MySQL INNODB back-end DB 
(untested). 

Début du message réexpédié :

 And in the meantime, there are probably ways we can use the existing engine 
 in ever more clever ways to achieve scaling far beyond current expectations.

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: Livecode server + NGINX ?

2015-01-21 Thread Pierre Sahores
Thanks Richard and Peter. Cheyenne, the Rebol HTTPd (Carl Sassenrath and Cindy 
!) and Olivier Auverlot, a friend i used to be colleague with when i was 
working for the French Secretary of Education…

Warm Regards,

Pierre

Le 21 janv. 2015 à 03:14, Peter W A Wood peterwaw...@gmail.com a écrit :

 Pierre
 
 Richard is correct that nginx does not support CGI. It will forward requests 
 to an upstream server or a number of upstream servers. I support one 
 application that has been running for a couple of years that forwards CGI 
 requests to a second server. (The second server is Cheyenne from Softinnov 
 with which you may be familiar).
 
 I have also used nginx to distribute requests to a number of upstream servers 
 when the upstream server could only process  one request at a time. In my 
 case, I spread the load over four servers. This load balancing feature of 
 nginx use a simple approach in the free version, I believe the “not free” 
 version has more sophisticated load balancing.
 
 Regards
 
 Peter
 
 On 21 Jan 2015, at 08:09, Richard Gaskin ambassa...@fourthworld.com wrote:
 
 Pierre Sahores wrote:
 Did anyone know if Livecode Server can be set to use NGINX as its web 
 server ?
 
 My (admittedly limited) understanding is that NginX doesn't support CGI, 
 only FastCGI, so without threading LiveCode would seem a difficult fit for 
 that server environment.
 
 -- 
 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

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.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


Livecode server + NGINX ?

2015-01-20 Thread Pierre Sahores
Hi Friends,

Did anyone know if Livecode Server can be set to use NGINX as its web server ?

Thanks and best regards,
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: [OT] baby

2014-11-27 Thread Pierre Sahores
Congrats Monte and Rebecca. Lots of « Créer, donner, aimer »  to Sarah.

Warm Regards,

Pierre

Le 27 nov. 2014 à 21:14, Monte Goulding mo...@sweattechnologies.com a écrit :

 Hi Folks
 
 We just had a baby so I won't be able to get to mergExt related questions for 
 a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a few 
 breathing issues so needs some extra O2 for a while.
 
 Cheers
 
 Monte
 
 --
 M E R Goulding
 Software development services
 
 mergExt - There's an external for that!
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: LiveCode - Where, How, and with Who ?

2014-11-07 Thread Pierre Sahores
Please, add my vote to this !

Le 7 nov. 2014 à 13:20, Francis Nugent Dixon effe...@wanadoo.fr a écrit :

 Hi from Beautiful Brittany,
 
 As a fervent user of LiveCode for some years now, I keep on asking
 myself the question “Who uses LiveCode, and why ?”
 I don’t know whether Company Policy would prohibit divulging such
 delicate information, but I would love to know the impact of LiveCode
 on the computer community as a whole.
 I don’t expect precise and confidential data as an answer, but MAYBE
 LiveCode officials could give us some idea ……..
 
 1 - Paying Livecode Users for fun
 2 - Paying LiveCode users for commercial purposes
 3 - Breakdown of LiveCode users by Version
 4 - The impact of “Free” liveCode upon the community
  (great idea, but …. does it work, commercially ?)
 
 Maybe percentages would be acceptable, rather than numbers ?
 
 I personally talk about LiveCode to my buddies, but find that few
 are ever interested in “programming”, often because they think it is
 too complicated, or else they have no obvious reason to program.
 So we (I mean “US”) may be strange beasts that others would call
 “geeks”, when I personally do not think that we are.
 Perhaps we are all “ex” programmers, “ex” analysts, or at least “ex”
 (or current) computer personnel ?  “Un monde à part”, as the French
 would say ?
 
 Are my questions too close to the bone ? Do they fall on stony ground ?
 Is there anybody out there who is interested, like me ?
 Is it such a closely guarded secret that we, as faithful users of LiveCode
 can not see where we stand ?After all, it’s only another computer app.
 Or is it ? ……
 
 With bated breath …….
 
 -Francis
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: RELEASE LiveCode 7.0

2014-10-23 Thread Pierre Sahores
Purely amazing ! Thanks Mother Ship ;D

Warm Regards,

Pierre

 On Oct 23, 2014, at 12:36 , Benjamin Beaumont b...@runrev.com wrote:
 
 Dear list members,
 
 We're pleased to announce release of LiveCode 7.0. This is a stable release.
 
 WARNING: LiveCode 7.0 contains breaking changes particularly when reading
 and writing data out of LiveCode or working with the char chunk type.
 Details can be found in the release notes which are linked below. LiveCode
 6.7, which was also released today, provides a fully backward compatible
 new edition of LiveCode for all those users who need time to migrate their
 stacks to 7.0. Most people will be unaffected but please check the release
 notes and ask your questions on the list if you are unsure, we are very
 happy to help. LiveCode 7.0 has been available for most of 2014 so I expect
 most of you are well aware of the changes and likely already updated stacks
 where necessary.
 
 *Release contents*
 LiveCode 7.0 is a massive release for us as custodians of LiveCode and for
 us as a community. We've been working on it for almost 2 years and it sees
 us modernise the core of the engine and pave the was for LiveCode 8. We've
 introduced lots of new features, most notably, transparent unicode support
 which is a huge step forward for the technology. For more information of
 the changes in the release you can visit our website at:
 http://livecode.com/livecode-7/
 
 Our release notes contain full details of all the changes made during this
 cycle as well as details of all the bugs that were fixed. The can be found
 here: http://downloads.livecode.com/livecode/6_7_0/LiveCodeNotes-7_0_0.pdf
 
 *Yosemite*
 During the release candidate phase we added support for Yosemite and will
 be working on adding wider ranging support for that platform in the coming
 week. Apple have tweaked how some of their pickers work which we'd like
 make available to your applications. We plan to do this in the form of
 6.7.1 and 7.0.1 releases in the coming two weeks.
 
 Thanks once again to you as a community. Your support in testing and bug
 reporting does not go unnoticed!
 
 Warm regards,
 
 The LiveCode Team
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: on-rev Client

2014-10-14 Thread Pierre Sahores
Hi All,

The on-rev client used to be a good intention and tool but, with the time, it 
began to appears to me as an complex alternative to a lots more easy way to go. 
Here is the one i use instead to stay more comfortable with all the lc-server 
development tasks :

1.- web, mobile or desktop client-side apps intended to send http POST (to be 
preferred in about security tasks) or GET requests to lc-server have to be set 
to send them to a « gateway.lc » script of the following format :

 ?lc 
 
 try
 
   start using stack yourappserverstack.livecode
   get yourappserverstackglobalsinitializationprocedure()
   get yourappserverstackglobalsinitializationcontroler()
   
   catch tErr
   try
   
   start using stack  yourappserverstackclone.livecode
   get yourappserverstackglobalsinitializationprocedure()
   get yourappserverstackglobalsinitializationcontroler()
   
   catch tErr
   put Maintenance at work. Thanks to wait some minutes before 
 renewing your response...
   
   end try
   
 end try
 
 ?

Where stack « yourappserverstackclone.livecode is the copy of the main 
server’s stack intended to respond instead of it in one case only : because the 
just updated yourappserverstack.livecode » is, for some seconds, unavailable 
because in the process to be erased/uploaded on the server.

It’s always a good security related measure to choose to install both « 
gateway.lc » script,  « yourappserverstack.livecode » and « 
yourappserverstackclone.livecode » the cgi-bin directory of your app’s domain 
main directory.

...

At this point, all the « hard work » is over ;D

The next step is to open your preferred FTP client app (Transmit or Cyberduck 
on mac, Cyberduck or FileZilla on PC, etc…) and to right-clic « 
yourappserverstack.livecode » to open it in your preferred LC Desktop IDE 
version as long as it is = LC 6.0 (or perhaps 5.02 or 5.5, i can’t remember 
the right back-compatibility to apply there) to avoid legacy file-fomat 
possible troubles at the time you wants to save your server’s stack 
modifications as soon as the job is done.

...

It’s not the first time i expose this way to go and Andre Garcia reported, on 
its own, the same way to go. It just works perfectly for years and, because, 
list archive are not always consulted as they should, i wanted to refresh this 
;D

Best,

Pierre



Le 14 oct. 2014 à 18:05, Jim Lambert j...@netrin.com a écrit :

 on-rev client has also stopped working for me when going to Tio.
 
 Jim Lambert
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.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


Fwd: on-rev Client

2014-10-14 Thread Pierre Sahores
Hi Mathias,

No more than the ones that you will be able to use from within the standard iDE 
as long as you insert your own trace tags in your server’s stack code, mainly 
as « return it/the result » ones.

To the end, you will see how easy it’s to go and, more than that, if your 
server’s stacks use a MVC design and an SQL back-end for data storage. To the 
end, your server’s stacks are going to become so lightweight that there will no 
be place anymore for bugs ;D

Note 1: on the yearly average time i spend in LC n-tier development tasks, 90% 
of the time is spent in client-side (web, mobile, desktop) modeling/coding and 
10% in about server-side stacks and SQL modeling/coding.

Note 2 : any server’s stack intended to serve web apps will never being best 
build than in using the fantastic Ralf Bitter's Revigniter port of the PHP’s 
CodeIgniter framework.

What else : if i right remember, you use extensively PostgreSQL as your 
preferred SQL back-ends, is’t ? ;D

Best,

Pierre


Début du message réexpédié :

 De: Matthias Rebbe | M-R-D matthias_livecode_150...@m-r-d.de
 Objet: Rép : on-rev Client
 Date: 14 octobre 2014 20:25:06 UTC+2
 À: How to use LiveCode use-livecode@lists.runrev.com
 Répondre à: How to use LiveCode use-livecode@lists.runrev.com
 
 
 I, for one, will give that a try.
 
 But there is one thing i am really missing. On-Rev client had a really useful 
 debug function.
 Saved me lot of time back then.
 
 Matthias
 
 Am 14.10.2014 um 20:16 schrieb Pierre Sahores s...@sahores-conseil.com:
 
 Hi All,
 
 The on-rev client used to be a good intention and tool but, with the time, 
 it began to appears to me as an complex alternative to a lots more easy way 
 to go. Here is the one i use instead to stay more comfortable with all the 
 lc-server development tasks :
 
 1.- web, mobile or desktop client-side apps intended to send http POST (to 
 be preferred in about security tasks) or GET requests to lc-server have to 
 be set to send them to a « gateway.lc » script of the following format :
 
 ?lc 
 
 try
 
 start using stack yourappserverstack.livecode
 get yourappserverstackglobalsinitializationprocedure()
 get yourappserverstackglobalsinitializationcontroler()
 
 catch tErr
 try
 
 start using stack  yourappserverstackclone.livecode
 get yourappserverstackglobalsinitializationprocedure()
 get yourappserverstackglobalsinitializationcontroler()
 
 catch tErr
 put Maintenance at work. Thanks to wait some minutes before 
 renewing your response...
 
 end try
 
 end try
 
 ?
 
 Where stack « yourappserverstackclone.livecode is the copy of the main 
 server’s stack intended to respond instead of it in one case only : because 
 the just updated yourappserverstack.livecode » is, for some seconds, 
 unavailable because in the process to be erased/uploaded on the server.
 
 It’s always a good security related measure to choose to install both « 
 gateway.lc » script,  « yourappserverstack.livecode » and « 
 yourappserverstackclone.livecode » the cgi-bin directory of your app’s 
 domain main directory.
 
 ...
 
 At this point, all the « hard work » is over ;D
 
 The next step is to open your preferred FTP client app (Transmit or 
 Cyberduck on mac, Cyberduck or FileZilla on PC, etc…) and to right-clic « 
 yourappserverstack.livecode » to open it in your preferred LC Desktop IDE 
 version as long as it is = LC 6.0 (or perhaps 5.02 or 5.5, i can’t remember 
 the right back-compatibility to apply there) to avoid legacy file-fomat 
 possible troubles at the time you wants to save your server’s stack 
 modifications as soon as the job is done.
 
 ...
 
 It’s not the first time i expose this way to go and Andre Garcia reported, 
 on its own, the same way to go. It just works perfectly for years and, 
 because, list archive are not always consulted as they should, i wanted to 
 refresh this ;D
 
 Best,
 
 Pierre
 
 
 
 Le 14 oct. 2014 à 18:05, Jim Lambert j...@netrin.com a écrit :
 
 on-rev client has also stopped working for me when going to Tio.
 
 Jim Lambert
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 --
 Pierre Sahores
 mobile : 06 03 95 77 70
 www.sahores-conseil.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: [ANN] New Android Externals

2014-10-09 Thread Pierre Sahores
Hi Monte,

[This external allows you to implement either an embedded barcode reader…]

Any shortcuts about the best options to choose to suit this way to go ?

Best,

Pierre

PS : i use for yet the third party barcode reader way.


Le 10 oct. 2014 à 01:08, Monte Goulding mo...@sweattechnologies.com a écrit :

 Hi LiveCoders
 
 Today I am releasing two new android externals as public beta. Until there is 
 an official SDK for Android external development they will remain in beta and 
 only be available as a bonus to mergExt Complete users.
 
 The externals are:
 - mergZXing - This external allows you to implement either an embedded 
 barcode reader control or to use a third party barcode reader (Barcode Reader 
 or Barcode Reader +) by Intent.
 - mergAV - This external allows you to implement a camera control for 
 recording video and taking photos.
 
 For the time being you need to swap the iOS external for the Android external 
 in the standalone settings of your app depending on which platform you are 
 building for.
 
 Cheers
 
 Monte
 
 --
 M E R Goulding 
 Software development services
 Bespoke application development for vertical markets
 
 mergExt - There's an external for that!
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: audio clips crashing livecode

2014-10-03 Thread Pierre Sahores
AFAIK m4v clips works on all platforms.

Le 4 oct. 2014 à 01:05, Klaus major-k kl...@major-k.de a écrit :

 Hi revolut...@duncansoftware.on-rev.com
 
 Am 04.10.2014 um 01:00 schrieb revolut...@duncansoftware.on-rev.com:
 
 I was working on a program that included about a hundred small audio clips. 
 Suddenly they wouldn't play and produced the spinning beach ball of death on 
 my MacBook Pro running OSX 10.6.8. I couldn't see what I had done to cause 
 this since the code change that I made was minor. Eventually I quit trying 
 to work on that program when I discovered that no audio clips would play. 
 Example, create a new stack. Import one audio clip and try to play it and 
 livecode crashes. I have uninstalled all copies of livecode, searched and 
 destroyed prefs and support files and done a clean install of 6.6.2 all to 
 no avail. I just tried 6.6.3 and still no luck. These files all  play in 
 Quicktime and iTunes.
 
 LC is EXTREMELY picky when it comes to play imported audio/video files! :-)
 What format are the clips in?
 
 
 Best
 
 Klaus
 
 --
 Klaus Major
 http://www.major-k.de
 kl...@major-k.de
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: Xcode, which one?

2014-09-25 Thread Pierre Sahores
LC 6.6.3, Xcode Version 5.1.1 (5B1008), OS X 10.9.5 is OK here.

Note : i had to remove Xcode 6 as soon as installed (yesterday) and to reload 
Xcode 5.1.1 from TimeMachine backup to get all back to OK.

Best,

Pierre

Le 26 sept. 2014 à 00:07, Ralph DiMola rdim...@evergreeninfo.net a écrit :

 5.5.1 works for me with Mavericks and LC 6.6.3
 
 Ralph DiMola
 IT Director
 Evergreen Information Services
 rdim...@evergreeninfo.net
 
 
 -Original Message-
 From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
 Of Mark Smith
 Sent: Thursday, September 25, 2014 6:01 PM
 To: use-revolut...@lists.runrev.com
 Subject: Xcode, which one?
 
 Hi there,
 
 Was running LC 5.5.5 on iOS 10.7.5 (Lion), Xcode 4.5.1, SDK 6.1 and iOS 6 on
 the phone and tablet - everything worked well. Wasn't able to run the latest
 MobGUI so thought, h, maybe I should upgrade (this IS always an
 adventure, isn't it )
 
 First, upgraded the mobiles to iOS 7.
 Next upgraded iOS on the laptop to 10.9.5 (Mavericks) Then updated LC to
 6.6.3 - hmmm, doesn't like my Xcode and SDK
 
 Go to Apple site. Latest Xcode is 6.0. Check the boards doesn't seem to
 work with LC yet. Previous versions are 5.1.1, 5.1, 5.0.2 and 5.0.1. Which
 one would you recommend? A book I am reviewing suggests 5.0.2 and SDK 7.
 Sound right?
 
 Thanks
 
 
 
 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/Xcode-which-one-tp4683786.htm
 l
 Sent from the Revolution - User mailing list archive at Nabble.com.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: LiveCode to Facebook?

2014-09-24 Thread Pierre Sahores
/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: LiveCode to Facebook?

2014-09-24 Thread Pierre Sahores
Scott,

way 2 : the web sites of these services in a mobile browser with this one set 
in a standard manner :

 mobileControlCreate browser, MySocialShare
  mobileControlSet MySocialShare, visible, false ### created at 
preOpenStack time ###
  mobileControlSet MySocialShare, canBounce, false
  mobileControlSet MySocialShare, scrollingEnabled, true
  mobileControlSet MySocialShare, vIndicator, false
  mobileControlSet MySocialShare, hIndicator, false
  mobileControlSet MySocialShare, rect, the rect of grc browser_rect 
of cd 3

works fine on both iOS and Android platforms.

Best,

Pierre


Le 25 sept. 2014 à 01:37, Scott Rossi sc...@tactilemedia.com a écrit :

 Thanks Pierre.
 
 A question -- I'm not following all the code entirely below, but does your
 routine launch the local applications on the device or the web sites of
 these services in a browser?
 
 Thanks  Regards,
 
 Scott Rossi
 Creative Director
 Tactile Media, UX/UI Design
 
 
 
 
 On 9/24/14 4:20 PM, Pierre Sahores s...@sahores-conseil.com wrote:
 
 Hi Scott,
 
 Here is the way it goes on one of my project on the way to be published
 along october :
 
 on module_socialshare
 
  if url MIAS is  then
 answer tolocalisation(Désolé. Vos réseaux sociaux ne sont
 accessibles qu'en mode connecté.)
 exit module_socialshare
  end if
 
  get myCustomBusyIndicatorStart(,gray)
 
  local 
 mesResauxSociaux,mySelection,mTitle,mSummary,mURL,mImage,pageToGo,tproduct
 s_scan,tsharedproduct,tproducts_url,tsharedproduct_image
 
  if the platform is iphone then
 answer tolocalisation(Sélection du réseau social :) with
 Facebook or Google+ or Pinterest or Twitter or
 tolocalisation(Annuler)
 if it is tolocalisation(Annuler) then
### answer tolocalisation(Opération annulée à votre demande.)
exit module_socialshare
 else put it into mySelection
  else 
 put Facebook  return   Google+  return   Pinterest 
 return   Twitter into mesResauxSociaux
 # put Facebook  return   Google+  return   Pinterest 
 return   Twitter  return  @Mail into mesResauxSociaux
 mobilePick mesResauxSociaux, 1, cancelDone
 if the result is 0 then
### answer tolocalisation(Opération annulée à votre demande.)
exit module_socialshare
 else put line (the result) of mesResauxSociaux into mySelection
  end if
 
  if mySelection is @Mail then
 
 myCustomBusyIndicatorStop
 socialshare_mail
 
  else
 
 put url (http://ecows.widestep.fr/;  gAppVars[MobileAppName] 
 _  gAppVars[activecatalog]  /) into tproducts_scan
 put lineoffset('  trim(line 2 of fld page_title) 
 /a/li, tproducts_scan) into tsharedproduct
 put lineoffset(alt=  setquote(trim(line 2 of fld page_title)),
 tproducts_scan) into tsharedproduct_image
 
 if tsharedproduct  0 then
 
set itemdel to /
put http://ecows.widestep.fr/;  item 2 to 6 of line
 tsharedproduct of tproducts_scan  / into tproducts_url
set itemdel to quote
put http://ecows.widestep.fr/;  item 4 of line
 tsharedproduct_image of tproducts_scan into tsharedproduct_image
 
if mySelection is Facebook then
 
   put https://www.facebook.com/sharer/sharer.php?u=;  \
 tproducts_url   \
 title= \
 urlencode(trim(line 2 of fld page_title))  \
 desc= \
 urlencode(So high end, my Redskins...) into pageToGo
 
else if mySelection is Google+ then
 
   put https://plus.google.com/share?url=;  tproducts_url  \
 title= \
 urlencode(trim(line 2 of fld page_title))  \
 content=  \
 urlencode(So high end, my Redskins...) into pageToGo
 
else if mySelection is Pinterest then
 
   put http://pinterest.com/pin/create/button/?url=;  \
 tproducts_url  \
 description= \
 urlencode(So high end, my Redskins...)  \
 media=  \
 tsharedproduct_image into pageToGo
 
else if mySelection is Twitter then
 
   put https://twitter.com/intent/tweet?text=;  \
 urlencode(So high end, my Redskins...)  \
 url=  \
 tproducts_url into pageToGo
 
end if
 
mobileControlSet MySocialShare, url, pageToGo
mobileControlSet MySocialShare, visible, true
 
 else 
 
myCustomBusyIndicatorStop
answer tolocalisation(Oops. Référence produit erronée. Partage
 du modèle sélectionné sur les réseaux sociaux impossible.)
 
 end if
 
  end if
 
  myCustomBusyIndicatorStop
 
 end module_socialshare
 
 Best,
 
 Pierre
 
 Le 25 sept. 2014 à 01:01, Scott Rossi sc...@tactilemedia.com a écrit :
 
 Hi List:
 
 Anyone know if it's possible on mobile to launch the local Facebook app
 from a LiveCode standalone?
 
 I'm using Monte Goulding's mergSocial external for FB posting which
 works
 fine, as long as the user

Fwd: iPush from M$

2014-09-09 Thread Pierre Sahores
Hi Mark,

Works fine in one of my Win/Mac back office front-end but the messages are send 
from a server-side LC-server stack. Is it the way you act for your own ? If 
yes, you should probably search for charset compatibility issue somewhere in 
the process.

Best regards,

Début du message réexpédié :

 De: Mike Kerner mikeker...@roadrunner.com
 Objet: iPush from M$
 Date: 9 septembre 2014 19:19:48 UTC+2
 À: How to use LiveCode use-livecode@lists.runrev.com
 Répondre à: How to use LiveCode use-livecode@lists.runrev.com
 
 Did anybody ever get pushing to ios working from a win box?  I fought with
 it and fought with it, but I have never gotten over the termination hurdle
 at the very end, so I can't do it automatically.  It works fine from MacOS,
 though.
 
 -- 
 On the first day, God created the heavens and the Earth
 On the second day, God created the oceans.
 On the third day, God put the animals on hold for a few hours,
   and did a little diving.
 And God said, This is good.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.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


Goal well targeted !

2014-07-31 Thread Pierre Sahores
Congratulations Kevin, RunRev and All ! Seems that LC HTML5 is definitively on 
rails ;D

Le 31 juil. 2014 à 18:18, Chris Sheffield cmsheffi...@icloud.com a écrit :

 Looks like it’s a success! I just refreshed the page. $395,326.
 
 Way to go and congratulations!

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: function to create One Time Passwords (OTP)

2014-07-07 Thread Pierre Sahores
So amazingly elegant ! Thanks for sharing this, Matthias ;D

Le 8 juil. 2014 à 00:58, Matthias Rebbe | M-R-D 
matthias_livecode_150...@m-r-d.de a écrit :

 Hi,
 i don´t know if this of use for someone, but here is a function, which 
 creates a one time password (OTP). 
 There are many devices out there (like routers) which offer one time password 
 authentication for example for remote vpn dial in e.g. Draytek Vigor Routers.
 
 function OTP pPin,pSecret
   put the seconds into tTime
   put char 1 to -2 of tTime into tTime
   put tTime  pSecret  pPin into tString
   put md5digest(tString) into tString
   get binarydecode(H6,tString,tOTP)
   return tOTP
 end OT
 
 Regards,
 
 Matthias
 
 
 
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: URLEncode accent-i

2014-06-25 Thread Pierre Sahores
Hi Jacqueline,

When you say « I need to send this word to the server: Santería » :

Are you speaking from the web server or from the database server ?

If the database server is your problematic target, witch one are you using :

PostgreSQL;
MySQL;
SQLite;
other ?

I got, times ago such kind of troubles against PostgreSQL before solving them 
definitively in using a simple and trustable solution i can explicit if 
appropriate.

Best Regards,

Pierre 


Le 25 juin 2014 à 21:35, J. Landman Gay jac...@hyperactivesw.com a écrit :

 I had high hopes but converting to ISO didn't work. That yields: Santer%EDa
 
 The server wants UTF8 and I think (but am not sure) that I need to get:
 Santer%C3%ADa
 
 I haven't found the right combination of uniEncode/Decode and urlEncode that 
 doesn't make a mess of the string. Does anyone know how to do this without 
 manually replacing every possible combination of high-ascii characters?
 
 On 6/23/2014, 4:26 PM, Matthias Rebbe | M-R-D wrote:
 Hi,
 
 this is because you are working on Mac. You have to convert it first from 
 Mac to Iso.
 
 A URLencode(mactoiso(Santería))
 
 should do.
 
 Regards,
 
 Matthias
 
 
 Am 23.06.2014 um 22:25 schrieb J. Landman Gay jac...@hyperactivesw.com:
 
 I need to send this word to the server: Santería
 
 When urlEncoded, LiveCode produces: Santer%92a
 
 The encoded character is a backslash instead of the accent-i. The server 
 doesn't recognize that, and online URL encoders give various different 
 encodings depending on what source I designate (ascii, UTF8, UTF16, etc.)
 
 Where did LC get %92, and how would I correct the encoding? I'm using LC 
 6.6.1, we're not ready to make a switch yet.
 
 --
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.com
 
 -- 
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.com
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


re: URLEncode accent-i

2014-06-25 Thread Pierre Sahores
Début du message réexpédié :

 De: J. Landman Gay jac...@hyperactivesw.com
 Objet: Rép : URLEncode accent-i
 Date: 25 juin 2014 22:47:51 UTC+2
 À: How to use LiveCode use-livecode@lists.runrev.com
 Répondre à: How to use LiveCode use-livecode@lists.runrev.com
 
 On 6/25/2014, 3:29 PM, Trevor DeVore wrote:
 On Wed, Jun 25, 2014 at 3:35 PM, J. Landman Gay jac...@hyperactivesw.com
 wrote:
 
 
 The server wants UTF8 and I think (but am not sure) that I need to get:
  Santer%C3%ADa
 
 
 Convert the string to UTF8 prior to urlencoding it:
 
 put Santería into theStr
 put unidecode(uniencode(theStr), utf8) into thestr
 put urlencode(theStr)
 
 
 Thanks (again) Trevor, that seems to do it. I'll see if the server likes that 
 incarnation.

Hopefully, this will do the work as long as ...
 
 Pierre, the data is going to a Rails script, which does some things and then 
 puts it into a database. I'm not actually sure what type of database it is, 
 but I don't send to it directly.

… my way would’t help in this case as long as, in short, the solution consists 
to set up the client-encoding charset used by LC-Server to communicate with the 
SQL Server via an SQL request sent just after opening the SQL connection and 
before any further SQL insert/update requests.
 
 -- 
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.com
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: silent fail of revDataFromQuery() in standalone; works in IDE

2014-05-24 Thread Pierre Sahores
Hi Richard,

I don’t know how the below value are set in LC-Server preferences (PHP values 
shown below) :

max_execution_time  30  30
max_file_uploads20  20
max_input_nesting_level 64  64
max_input_time  60  60
max_input_vars  10001000
memory_limit64M

but i expect your script could die because it reaches one of the corresponding 
ones.

HTH,

Pierre

Le 24 mai 2014 à 02:57, Dr. Hawkins doch...@gmail.com a écrit :

 On Fri, May 23, 2014 at 3:50 PM, Matthias Rebbe | M-R-D 
 matthias_livecode_150...@m-r-d.de wrote:
 
 Is it possible that you have a SaveStackRequest handler in your card or
 stack script?
 And if so, could you check if maybe the line pass savestackrequest in
 that handler is missing?
 
 
 Nope.  Only just learned of it in this message :)
 
 In a script of hundreds of lines, it hits that line, executes the line
 before revDataFromQuery(), and never reaches the line after (where I could
 test the result!)
 
 Oh, and I'm usually using 5.5.4, but confirmed on 6.5.1 as well.
 
 
 -- 
 Dr. Richard E. Hawkins, Esq.
 (702) 508-8462
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: [OT] Database Engine Comparison

2014-05-23 Thread Pierre Sahores
Get in touch with Heather if you need PostgreSQL available along your account ;D

Le 23 mai 2014 à 08:06, Kay C Lan lan.kc.macm...@gmail.com a écrit :

 So I wonder why On-Rev dropped PostgreSQL as a default inclusion. I
 believe you can still request to have PostgreSQL as part of your
 install, but if the licensing terms are so good and it works so
 flawlessly it begs the question as to what is the downside that caused
 RunRev to pull it.
 
 On Tue, Oct 30, 2012 at 6:06 PM, Pierre Sahores s...@sahores-conseil.com 
 wrote:
 I use it (PostgreSQL) since 1996 and it never gave me any problem or 
 difficulty. No one crash on any config i had to set up in 17 years (Linux, 
 Solaris, OS X). Just one of the best ACID-RDBMS ever, far before Oracle or 
 Sybase… and BSD2 licensed !
 
 Le 29 oct. 2012 à 22:25, Lynn Fredricks a écrit :
 
 Postgres also has better licensing terms too. If there's a
 choice then use Postgres. The biggest problem with Postgres
 is I usually use MySQL workbench for db design. If anyone
 knows an equivalent db design tool that does SQLite schema
 export then I'm keen to hear about it.
 
 Postgre licensing doesn't have the developer gotchas of MySQL. It is
 relatively worry free.
 
 Best regards,
 
 Lynn Fredricks
 President
 Paradigma Software
 http://www.paradigmasoft.com
 
 Valentina SQL Server: The Ultra-fast, Royalty Free Database 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
 
 --
 Pierre Sahores
 mobile : 06 03 95 77 70
 www.sahores-conseil.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

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: HTML browser and mobile.

2014-04-29 Thread Pierre Sahores
Ralph,

Credits goes to LiveCode and Javascript ;D

Thanks for your kind words. 

Pierre

Le 29 avr. 2014 à 04:07, Ralph DiMola rdim...@evergreeninfo.net a écrit :

 Pierre,
 
 Thank You!! Just what the DR ordered! Works likes a charm on Android. Going
 for iOS now.
 
 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 Pierre Sahores
 Sent: Friday, April 25, 2014 2:42 PM
 To: How to use LiveCode
 Subject: Re: HTML browser and mobile.
 
 Hi Ralph,
 
 The way it works can be really simple (other ways available but this one
 fills perfectly my needs…) :
 
 1.- the html/js side :
 
 page1.html need to include some javascript :
 
 simple iOS/Android working example :
 
  script type=text/javascript
  var priogesture = 1, start_x = 0, stop_x = 0, start_y = 0,
 stop_y = 0;
  function $(id) { return document.getElementById(id); }
  $(swipe-wrap).addEventListener (touchstart, function
 (event) { 
  start_x = event.touches[0].screenX; start_y =
 event.touches[0].screenY; priogesture = 0;
  });
  $(swipe-wrap).addEventListener (touchmove, function
 (event) {
  stop_x = event.touches[0].screenX; stop_y =
 event.touches[0].screenY;
  if ((priogesture == 0)  (stop_x != 0) 
 (Math.abs(stop_x - start_x)  Math.abs(stop_y - start_y))) { 
  if (start_x  stop_x) {
 
 document.location.href=file:/data/data/com.pierresahores.alainweiz/cache/pr
 ev.html;
  } else if (start_x  stop_x) {
 
 document.location.href=file:/data/data/com.pierresahores.alainweiz/cache/ne
 xt.html;
  }
  }
  });
  /script
 
 
 a.- able to handle the touch messages it receive from your mobile app users;
 b.- and initiate a new pageN.html load;
 
 2.- the livecode scripting side :
 
 on browserLoadRequested pUrl, pType
   if the platform is iPhone then
  if /cache/prev.html is in pURL then 
 
 your iOS dedicated LC code comes there
 
 on browserStartedLoading pUrl
   if /cache/prev.html is in pURL and the platform is android then
 
 your Android dedicated LC code comes there
 
 Best,
 
 Pierre
 
 Le 25 avr. 2014 à 19:36, Ralph DiMola rdim...@evergreeninfo.net a écrit :
 
 How would one do a call back to LC from within a mobile web page? Is this
 even possible on mobile? I have a html local page with a map image. I would
 like to call an LC procedure with a parameter when the user presses within a
 specific county on the page.
 
 Ralph DiMola
 IT Director
 Evergreen Information Services
 rdim...@evergreeninfo.net
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 --
 Pierre Sahores
 mobile : 06 03 95 77 70
 www.sahores-conseil.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

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: play two sounds

2014-04-29 Thread Pierre Sahores
Hi Larry,

in the preopenstack command :

   put specialFolderPath(engine)  /CityChic.mp3 into Melodie[1] ### 
 spécifique sous-domaine : 1_a/7 ###
   put specialFolderPath(engine)  /CitySport.mp3 into Melodie[2] ### 
 spécifique sous-domaine : 1_b/7 ###
   put specialFolderPath(engine)  /Elegance.mp3 into Melodie[3] ### 
 spécifique sous-domaine : 1_c/7 ###
   put specialFolderPath(engine)  /Graphique.mp3 into Melodie[4] ### 
 spécifique sous-domaine : 1_d/7 ###

In the stack handler :

 on soundlevelonoff
if firstChannel is not in mobileSoundChannels() then
   mobilePlaySoundOnChannel Melodie[random(4)], firstChannel, now
   if soundswitcher is in the target
   then set the icon of the target to 7908
   mobileSetSoundChannelVolume firstChannel, 100
else if mobileSoundChannelStatus(firstChannel) is paused then   
   if soundswitcher is in the target
   then set the icon of the target to 7908
   mobileResumePlayingOnChannel firstChannel
else if soundswitcher is in the target then 
   mobilePausePlayingOnChannel firstChannel
   set the icon of the target to 7909
else mobilePausePlayingOnChannel firstChannel
 end soundlevelonoff
 
 
 on soundFinishedOnChannel tchannel, thesound
if thesound is Melodie[1]
then mobilePlaySoundOnChannel Melodie[2], tchannel, now
else if thesound is Melodie[2]
then mobilePlaySoundOnChannel Melodie[3], tchannel, now
else if thesound is Melodie[3]
then mobilePlaySoundOnChannel Melodie[4], tchannel, now
else mobilePlaySoundOnChannel Melodie[1], tchannel, now
 end soundFinishedOnChannel

In a button handler :

 on mouseup
   soundlevelonoff
 end mouseup


Works fine under iOS and Android. To be tested and adapted under other 
platforms.

Best,

Pierre

Le 29 avr. 2014 à 07:33, la...@significantplanet.org 
la...@significantplanet.org a écrit :

 I have two .wav files imported into my stack.
 
 When the stack opens, I want to play audio1 and when it finishes, then play 
 audio2
 
 Does anyone know the syntax for doing this?
 
 TIA
 Larry
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: HTML browser and mobile.

2014-04-25 Thread Pierre Sahores
Hi Ralph,

The way it works can be really simple (other ways available but this one fills 
perfectly my needs…) :

1.- the html/js side :

page1.html need to include some javascript :

simple iOS/Android working example :

   script type=text/javascript
   var priogesture = 1, start_x = 0, stop_x = 0, start_y = 0, 
 stop_y = 0;
   function $(id) { return document.getElementById(id); }
   $(swipe-wrap).addEventListener (touchstart, function 
 (event) { 
   start_x = event.touches[0].screenX; start_y = 
 event.touches[0].screenY; priogesture = 0;
   });
   $(swipe-wrap).addEventListener (touchmove, function (event) 
 {
   stop_x = event.touches[0].screenX; stop_y = 
 event.touches[0].screenY;
   if ((priogesture == 0)  (stop_x != 0)  
 (Math.abs(stop_x - start_x)  Math.abs(stop_y - start_y))) { 
   if (start_x  stop_x) {
   
 document.location.href=file:/data/data/com.pierresahores.alainweiz/cache/prev.html;
   } else if (start_x  stop_x) {
   
 document.location.href=file:/data/data/com.pierresahores.alainweiz/cache/next.html;
   }
   }
   });
   /script


a.- able to handle the touch messages it receive from your mobile app users;
b.- and initiate a new pageN.html load;

2.- the livecode scripting side :

 on browserLoadRequested pUrl, pType
if the platform is iPhone then
   if /cache/prev.html is in pURL then 

your iOS dedicated LC code comes there

 on browserStartedLoading pUrl
if /cache/prev.html is in pURL and the platform is android then

your Android dedicated LC code comes there

Best,

Pierre

Le 25 avr. 2014 à 19:36, Ralph DiMola rdim...@evergreeninfo.net a écrit :

 How would one do a call back to LC from within a mobile web page? Is this 
 even possible on mobile? I have a html local page with a map image. I would 
 like to call an LC procedure with a parameter when the user presses within a 
 specific county on the page.
 
 Ralph DiMola
 IT Director
 Evergreen Information Services
 rdim...@evergreeninfo.net
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: MS SQL

2014-04-24 Thread Pierre Sahores
I use it all the time in most of my projects running in a 
LC-Server+PostgreSQL+RevIgniter+JQuery context (no experimented against MS SQL 
Server at all, sorry). See below for a daily working example witch builds on 
the fly an HTML5/JQuery multi-hierarchical pulldown menu :

   put revDataFromQuery(tab, return, myDatabaseID, SELECT p.product_id, 
 c.category_id, d.department_id, p.name AS product_name, c.name_ascii127 AS 
 category_name,  \
d.name_ascii127 AS department_name, d.rank AS 
 department_rank, c.rank AS category_rank, c.name AS category_title, d.name AS 
 department_title  \
FROM  gData[product_dbtable]  p INNER JOIN  
 gData[product_category_dbtable]  \
pc on p.product_id = pc.product_id INNER JOIN  
 gData[category_dbtable]  c on pc.category_id = c.category_id  \
INNER JOIN  gData[department_dbtable]  d on 
 c.department_id = d.department_id ORDER BY department_name, category_name, 
 product_name) into dbRecordSets[ menu_r1]

Best,

Pierre

Le 25 avr. 2014 à 00:51, Rodney Green green.rod...@gmail.com a écrit :

 I'm curious, does anyone have a project that uses the revDataFromQuery()
 command? And does anyone use the Actual Technologies ODBC driver?
 
 
 On Thu, Apr 24, 2014 at 9:23 AM, Rodney Green green.rod...@gmail.comwrote:
 
 I'll put in a bug report for this. Does anyone have any kind of
 work-around for this? Have there been any updates to database in the
 developer previews? Maybe I'll give a DP a try.
 
 
 On Wed, Apr 23, 2014 at 7:53 PM, Rodney Green green.rod...@gmail.comwrote:
 
 I tried it in 6.6 and 6.6.1. I'm using Actual Technologies ODBC manager
 (demo). And I can connect successfully to the SQL server with Navicat. I'm
 on a Mac (10.9.2) and connecting via a VPN.
 
 
 On Wed, Apr 23, 2014 at 7:17 PM, Peter Haworth p...@lcsql.com wrote:
 
 That seems strange - I wouldn't expect to see field names, just the data
 in
 them.  What version of LC are you using?  Might be time to enter a bug
 report.
 
 Pete
 lcSQL Software http://www.lcsql.com
 Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
 SQLiteAdmin http://www.lcsql.com/sqliteadmin.html
 
 
 On Wed, Apr 23, 2014 at 2:47 PM, Rodney Green green.rod...@gmail.com
 wrote:
 
 I turned on tracing in the odbc driver and I can see field names in the
 data. So I'm assuming the query is working. But still can't figure out
 why
 LC is hanging. I have database checked in the stand alone settings, not
 sure if this matters while in LC. Any ideas how I can track down why
 LC is
 hanging?
 
 
 On Wed, Apr 23, 2014 at 10:13 AM, Peter Haworth p...@lcsql.com
 wrote:
 
 In gmail, you can fix that by using the Paste and match style
 option on
 the edit menu.
 
 Pete
 lcSQL Software
 On Apr 22, 2014 7:34 PM, J. Landman Gay jac...@hyperactivesw.com
 wrote:
 
 On 4/22/14, 6:49 PM, Kay C Lan wrote:
 
 I don't know if it's just your email client but what I'm seeing
 is an
 asterisk * around the words get, put and return which shouldn't be
 there.
 
 
 That happens to all keywords when a colorized script is copied
 from the
 script editor and pasted into a text-only email list. I see it
 here all
 the
 time.
 
 --
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.com
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-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

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


re: MS SQL

2014-04-24 Thread Pierre Sahores
Auto speller typo correction : read dbRecordSets[menu_r1]  instead of 
dbRecordSets[  menu_r1] 

 I use it all the time in most of my projects running in a 
 LC-Server+PostgreSQL+RevIgniter+JQuery context (no experimented against MS 
 SQL Server at all, sorry). See below for a daily working example witch builds 
 on the fly an HTML5/JQuery multi-hierarchical pulldown menu :
 
  put revDataFromQuery(tab, return, myDatabaseID, SELECT p.product_id, 
 c.category_id, d.department_id, p.name AS product_name, c.name_ascii127 AS 
 category_name,  \
   d.name_ascii127 AS department_name, d.rank AS 
 department_rank, c.rank AS category_rank, c.name AS category_title, d.name 
 AS department_title  \
   FROM  gData[product_dbtable]  p INNER JOIN  
 gData[product_category_dbtable]  \
   pc on p.product_id = pc.product_id INNER JOIN  
 gData[category_dbtable]  c on pc.category_id = c.category_id  \
   INNER JOIN  gData[department_dbtable]  d on 
 c.department_id = d.department_id ORDER BY department_name, category_name, 
 product_name) into dbRecordSets[  menu_r1]
 
 Best,
 
 Pierre
 
 Le 25 avr. 2014 à 00:51, Rodney Green green.rod...@gmail.com a écrit :
 
 I'm curious, does anyone have a project that uses the revDataFromQuery()
 command? And does anyone use the Actual Technologies ODBC driver?
 
 
 On Thu, Apr 24, 2014 at 9:23 AM, Rodney Green green.rod...@gmail.comwrote:
 
 I'll put in a bug report for this. Does anyone have any kind of
 work-around for this? Have there been any updates to database in the
 developer previews? Maybe I'll give a DP a try.
 
 
 On Wed, Apr 23, 2014 at 7:53 PM, Rodney Green green.rod...@gmail.comwrote:
 
 I tried it in 6.6 and 6.6.1. I'm using Actual Technologies ODBC manager
 (demo). And I can connect successfully to the SQL server with Navicat. I'm
 on a Mac (10.9.2) and connecting via a VPN.
 
 
 On Wed, Apr 23, 2014 at 7:17 PM, Peter Haworth p...@lcsql.com wrote:
 
 That seems strange - I wouldn't expect to see field names, just the data
 in
 them.  What version of LC are you using?  Might be time to enter a bug
 report.
 
 Pete
 lcSQL Software http://www.lcsql.com
 Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
 SQLiteAdmin http://www.lcsql.com/sqliteadmin.html
 
 
 On Wed, Apr 23, 2014 at 2:47 PM, Rodney Green green.rod...@gmail.com
 wrote:
 
 I turned on tracing in the odbc driver and I can see field names in the
 data. So I'm assuming the query is working. But still can't figure out
 why
 LC is hanging. I have database checked in the stand alone settings, not
 sure if this matters while in LC. Any ideas how I can track down why
 LC is
 hanging?
 
 
 On Wed, Apr 23, 2014 at 10:13 AM, Peter Haworth p...@lcsql.com
 wrote:
 
 In gmail, you can fix that by using the Paste and match style
 option on
 the edit menu.
 
 Pete
 lcSQL Software
 On Apr 22, 2014 7:34 PM, J. Landman Gay jac...@hyperactivesw.com
 wrote:
 
 On 4/22/14, 6:49 PM, Kay C Lan wrote:
 
 I don't know if it's just your email client but what I'm seeing
 is an
 asterisk * around the words get, put and return which shouldn't be
 there.
 
 
 That happens to all keywords when a colorized script is copied
 from the
 script editor and pasted into a text-only email list. I see it
 here all
 the
 time.
 
 --
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.com
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-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
 
 --
 Pierre Sahores
 mobile : 06 03 95 77 70
 www.sahores-conseil.com
 

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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

Re: Announcement: New Community Manager

2014-04-05 Thread Pierre Sahores
Congratulations, Richard ! What’s a deal ! Congratulations, Kevin :D

 My sentiments exactly. Congratulations!
 
 Phil
 
 
 On 4/4/14, 9:09 AM, J. Landman Gay wrote:
 On 4/4/14, 10:28 AM, Kevin Miller wrote:
 I am delighted to announce the appointment of our new Community Manager,
 Richard Gaskin.
 
 That's great! No one is better qualified. Congrats, Richard.
 
 
 -- 
 Phil Davis
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: Force LiveCode to Honor Returns In Server Text File?

2014-03-02 Thread Pierre Sahores
Hi Scott,

The way used to handle connections between my LC client apps and LC server 
stacks :

Client side :

1.- set httpHeaders to Content-type: application/x-www-form-urlencoded  
return
2a.- Windows/Linux LC Client app : POST urlencode(datakey=datavalue…) to url…
2b.- MacOS X LC client app : POST urlencode(mactoiso(datakey=datavalue…)) to 
url…

Server side :

3.- Linux LC-Server stack :  put urldecode($_POST_RAW) into PostIn
4.- PostIn = key:value… is available for further uses

I expect that if the server is running under MacOS X :

2a.- Windows/Linux LC Client app : POST 
urlencode(isotomac(datakey=datavalue…)) to url…
2b.- MacOS X LC client app : POST urlencode(datakey=datavalue…) to url…

will do the job (untested)

Regards,

Le 2 mars 2014 à 14:47, Scott Rossi sc...@tactilemedia.com a écrit :

 Anyone know if there's a combination of CR and/or LF (or something else)
 that can be used when posting a text file on a server so that LiveCode is
 able to understand the line returns when reading the file from the server?
 
 In the tests I'm doing, I get inconsistent results.  With some files,
 answering the downloaded text sometimes renders correctly in the answer
 dialog (lines include returns), but never renders correctly in the message
 box (return characters are ignored).
 
 At this point I'm trying to avoid HTML formatting because there's a bunch
 and front and backend stuff that would need to be updated -- trying to
 avoid that, if possible.
 
 Thanks for any suggestions.
 
 Regards,
 
 Scott Rossi
 Creative Director
 Tactile Media, UX/UI Design
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: Console output

2014-03-01 Thread Pierre Sahores
Hi Jacque,

What does it do if you try :

on log pMsg
local tPsg
put pMsg into tMsg
answer tMsg
end log

Le 1 mars 2014 à 21:45, J. Landman Gay jac...@hyperactivesw.com a écrit :

 I'm trying to debug a standalone by using put statements:
 
 on log pMsg
  put pMsg
 end log
 
 In Console (OS X Mavericks) I never see any of the messages. The only thing 
 it lists is this, on every startup of the app:
 
 Class TSSandboxPrefs is implemented in both 
 /Library/Frameworks/TSLicense.framework/Versions/A/TSLicense and 
 /Library/QuickTime/Flip4Mac WMV Advanced.component/Contents/MacOS/Flip4Mac 
 WMV Advanced. One of the two will be used. Which one is undefined.
 
 I don't know what that means exactly, but it doesn't seem related to my 
 debugging efforts. Does anyone know if something changed with a basic put 
 statement now? Or is there somewhere else I need to look in Console? I have 
 All messages selected, with my app's name as the filter.
 
 This used to work.
 
 -- 
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.com
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.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


Fwd: Console output

2014-03-01 Thread Pierre Sahores
Sorry for the typo. Should be correct below :

on log pMsg
local tMsg
put pMsg into tMsg
answer tMsg
end log

Début du message réexpédié :

 De: J. Landman Gay jac...@hyperactivesw.com
 Objet: Console output
 Date: 1 mars 2014 21:45:48 UTC+1
 À: LiveCode Mailing List use-livecode@lists.runrev.com
 Répondre à: How to use LiveCode use-livecode@lists.runrev.com
 
 I'm trying to debug a standalone by using put statements:
 
 on log pMsg
  put pMsg
 end log
 
 In Console (OS X Mavericks) I never see any of the messages. The only thing 
 it lists is this, on every startup of the app:
 
 Class TSSandboxPrefs is implemented in both 
 /Library/Frameworks/TSLicense.framework/Versions/A/TSLicense and 
 /Library/QuickTime/Flip4Mac WMV Advanced.component/Contents/MacOS/Flip4Mac 
 WMV Advanced. One of the two will be used. Which one is undefined.
 
 I don't know what that means exactly, but it doesn't seem related to my 
 debugging efforts. Does anyone know if something changed with a basic put 
 statement now? Or is there somewhere else I need to look in Console? I have 
 All messages selected, with my app's name as the filter.
 
 This used to work.
 
 -- 
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.com
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: [OT] stop scrolling text - Spritz

2014-02-27 Thread Pierre Sahores
Merci Thierry for sharing this link !

Le 27 févr. 2014 à 19:30, Thierry Douez th.do...@gmail.com a écrit :

 Sleeves up designers :)
 
 http://learn2spritz.com/
 
 
 Thierry
 
 
 Thierry Douez - http://sunny-tdz.com
 Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: Getting UTF8 data from Oracle, using revdb

2014-02-15 Thread Pierre Sahores
Hi Ben,

Did't had to deal with Oracle backends for a while now but it should work in 
the same way PostgreSQL UTF8 configured dbs does. Here is what works under 
PostgreSQL 8.4 to 9.2 :


The worflow configuration context : LC Editor client app / Web Browser - 
internet - LC server socket lisrener .lc script -- LC lib stack.livecode - 
localhost - PostgreSQL ;


Each LC server to PostgreSQL connection begins with the following line of code :

revExecuteSQL myDatabaseID,SET client_encoding TO 'LATIN9';

before any inteaction (INSERT  /UPDATE / SELECT) follows as below described :


1.- Sending INSERT / UPDATE urlencoded data via POST to the server :

- Web browsers : UTF8 sets a as the charset (Head metatag of the displayed 
HTML) ;

1.2.- Insert/Update with LC Editor client app running under windows (ISO 
charset) : nothing to code on the LC Editor client app side : PostgreSQL 
automatically converts the ISO received datas to UTF8 before inserting them in 
the database ;

1.3.- Insert/Update with LC Editor client app running under macos x (Mac Roman 
charset) : i just apply a MacToISO conversion to the datas to be posted to the 
server before sending them : PostgreSQL automatically converts the ISO received 
datas to UTF8 before inserting them in the database ;

1.4.-  Insert/Update with LC Editor client app running under Linux (untested) : 
should work in the same way Windows does ;


2.- Retrieving SELECT data from the server and displaying them on the client 
app :

2.1.- Web browsers : UTF8 sets as the charset (Head metatag of the displayed 
HTML) ;

2.2.- LC client app running under windows or android : nothing to do ;

2.3.- LC client app running under mac os x or iOS : IsotoMac conversion of the 
received data before using them ;

2.4.- LC client app running under Linux (untested) : should work in the same 
way Windows does ;


In your own context, and as long as no special coding would be needed to have 
your Windows LC client app against PostgreSQL, i suspect that using :

revExecuteSQL myDatabaseID,SET client_encoding TO 'LATIN9';

should do the job. If not testing other client_encoding options would be what 
to test first.


Best Regards,

Pierre


Le 14 févr. 2014 à 20:35, Ben Rubinstein a écrit :

 I'm having trouble getting some data from an Oracle database using a LiveCode 
 app.
 
 The application is running on a Windows 2008r2 machine, addressing Oracle 
 Database 11g Release 11.2.0.2.0 - 64bit Production.
 
 The particular column in the database is apparently in UTF8, according to the 
 Oracle SQL Developer application.  And making the SQL query in that app 
 returns the text as expected.  But making the query through the LiveCode, 
 characters such as the degree symbol, or a right single quote, come through 
 as ?.  I don't think this is happening in my script - I think that the data 
 has been pre-converted before LiveCode gets it.  (Unfortunately I can only 
 access the database by moving a compiled standalone onto the Windows 2008 
 machine and running it there - I can't operate interactively.)
 
 Does anyone have any experience of this, including that might confirm that it 
 should be possible?  If this was through ODBC I'd be looking at the DSN 
 properties for character set conversion, but for Oracle it's a direct driver, 
 so I don't know how this would work.
 
 Is it possible that the Oracle driver is just so old (I can't see any 
 evidence that it's been updated for years) that it somehow connects to the 
 database in a way that causes the database not to offer it UTF8?
 
 Any suggestions, tips, or personal experience gratefully received.
 
 Ben
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: Koding vm cloud development

2014-01-31 Thread Pierre Sahores
Hi jbv,

The on-rev platform represents probably one of the most trustables solutions we 
can find around and i'm hosting all my clients solutions on it with great 
confidence. The on-rev team moved last year its servers to a first class 
professional-grade ISP than it used to be before and the servers configuration 
and security went very strongly improved along this move. Last but not least, 
the on-rev team can help you with special services offer such as reasonable 
priced dedicated servers if your needs goes up to such kind of solutions.

In all cases, urgent support requests are permanently managed at the best level 
on a less than one hour response delay basis.

Best Regards,

Pierre

Le 31 janv. 2014 à 10:49, Dave Kilroy a écrit :

 Hi jbv
 
 Yes I keep client's data on my on-rev account servers (I got the lifetime 
 option), on their servers, or on Dropbox in a variety of methods
 
 Regarding koding.com - I just signed up to have a play with it later on 
 sometime. Very unlikely to put client's data on there but might use it for 
 some of the non-profit projects I'm involved with
 
 Kind regards
 
 Dave Kilroy
 
 
 Application Insight
 
 Web: www.applicationinsight.com
 Email: d...@applicationinsight.com
 Twitter: @App_Insight_
 Tel: (0845) 337 2995
 
 Application Insight is part of Social Enterprise Outcomes Ltd, registered in 
 England (company registration no: 05761203) Registered Office: 22 Hartley 
 Park Gardens, Plymouth PL3 5HU http://www.socialenterpriseoutcomes.co.uk The 
 contents and any attachments of this electronic mail message are confidential 
 and intended only for the named addressees. Dissemination, forwarding, 
 publication or other use of the message or attachments by any unauthorised 
 person is strictly prohibited. Unless stated to the contrary, any opinions 
 expressed in this message are personal and may not be attributed to 
 Application Insight or Social Enterprise Outcomes Ltd.
 
 On 31 Jan 2014, at 09:29, jbv [via Runtime Revolution] 
 ml-node+s278305n4675353...@n4.nabble.com wrote:
 
 My remark is probably OT, but I'm still reluctant in putting my 
 clients' data in the cloud, and prefer to keep them on our own 
 servers... Just curious : what is your approach to the problem 
 all of you guys ? 
 Best, 
 jbv 
 
 koding.com is a pretty cool cloud development site, they've got a chrome 
 extension that lets you connect to a VM to do development. 
 
 https://koding.com/R/mwieder
 
 if you sign up with that link you get 5GB of storage 
 this week only (four more days). The site is pretty busy now because of 
 the 
 promotion, but I got in after a few tries. 
 
 https://koding.com/R/mwieder
 
 --
 
 
 
 ___ 
 use-livecode mailing list 
 [hidden email] 
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences: 
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 If you reply to this email, your message will be added to the discussion 
 below:
 http://runtime-revolution.278305.n4.nabble.com/Koding-vm-cloud-development-tp4675341p4675353.html
 To unsubscribe from Koding vm cloud development, click here.
 NAML
 
 
 
 
 
 -
 Some are born coders, some achieve coding, and some have coding thrust upon 
 them. - William Shakespeare  Hugh Senior
 
 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/Koding-vm-cloud-development-tp4675341p4675355.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: SSL + static IP with an on-rev account

2014-01-31 Thread Pierre Sahores
Hi Dave,

SSL and static IP option QOS went very strongly improved over the two last 
quarters of 2013 by the on-rev team and the service is yet perfectly stable at 
a very high trustable level (monthly pingdom.com reports mostly at 100%).

Best Regards,

Pierre

Le 31 janv. 2014 à 10:56, Dave Kilroy a écrit :

 Hello all
 
 I'd like to get everyone's advice one getting SSL and static IP on one of
 the domains in my on-rev account (I got the lifetime option some time ago)
 
 Reliability and performance got rather scratchy for a while but seem to be
 pretty good now (I'm on Pancake). For a while it also seemed that people
 with an on-rev account with static IP got worse reliability than those of us
 who didn't - what is the service for you like now? 
 
 Kind regards
 
 Dave
 
 
 
 
 -
 Some are born coders, some achieve coding, and some have coding thrust upon 
 them. - William Shakespeare  Hugh Senior
 
 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/SSL-static-IP-with-an-on-rev-account-tp4675356.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: LiveCode and HTML

2014-01-30 Thread Pierre Sahores
And at this stage, JQuery is the best HTML5 companion we can dream about. It's 
learning curve can impress at first glance but you will discover in a couple of 
hours its great design's elegance, entirely logically relevant and driven.

Le 31 janv. 2014 à 05:18, stephen barncard a écrit :

 On Thu, Jan 30, 2014 at 1:43 AM, Sergio Schvarstein
 sschvarst...@gmail.comwrote:
 
 Probably is a good time to dust off my HTML knowledges.
 
 
 HTML 5 brings together the best technologies of the last 20 years of web
 design.
 
 Less ambiguousness, clear standards for all browsers, few 'exceptions' for
 IE.
 
 *--*
 *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: [OT] MIA

2014-01-20 Thread Pierre Sahores
Dear Monte, 

Life is very hard sometimes. What can we learn the sad event that hits you so 
painfully, you and yours. It will take time. I know you will not miss neither 
courage nor merit. Love protects you and yours. 

Although warmly,

Pierre

Le 20 janv. 2014 à 21:12, Monte Goulding a écrit :

 Hi Folks
 
 I'm going to be off the reservation for a little while. For those that knew 
 we had a baby due in a couple of weeks we lost her yesterday and I just need 
 to focus on family for a while. If my friends here notice anyone getting 
 upset about lack of communication from me/mergExt on the forums etc could you 
 please let people know I'll be back when life settles down a bit.
 
 Thanks
 
 Monte
 
 
 -- 
 M E R Goulding
 Software development services
 
 mergExt - There's an external for that!
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


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


Re: Pancake in trouble?

2014-01-09 Thread Pierre Sahores
Pancake works fine for me.

Best,

Pierre


Le 9 janv. 2014 à 16:32, Dave Kilroy a écrit :

 Hi all and Happy New Year to all of you
 
 I've been getting some emails bounced back and according to on-rev's status
 page (http://on-rev.com/support/server-status/) the load on Pancake is
 High
 
 I haven't yet checked whether pancake.on-rev.com is blacklisted but it could
 well be
 
 Anyway, for those of us on Pancake it is time to make storm preparations and
 batten down the hatches...
 
 Kind regards
 
 Dave
 
 PS: has anyone been in touch with on-rev and know what is the source of the
 trouble?
 
 
 
 -
 Some are born coders, some achieve coding, and some have coding thrust upon 
 them. - William Shakespeare  Hugh Senior
 
 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/Pancake-in-trouble-tp4674557.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.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


  1   2   3   4   5   >