Re: Retrieve irev Value in Javascript?

2012-01-21 Thread Pierre Sahores

Le 21 janv. 2012 à 09:50, Scott Rossi a écrit :
> 
> I came across both of your scripts after posting my message, only to realize
> they won't work for me because my page that is calling the irev script is
> not located on the irev server.  And apparently XMLHttpRequest doesn't work
> across domains.

Unwanted at least and set so by web security guys
> 
> Unfortunately I have no control over the server where the my page is stored,
> and no access to any standard server functions.  Is there something else I
> can try to retrieve irev script result remotely?

Sounds not clear to me

Server A
Server B

How are dispatched the files involved in the process ? Is your project related 
to a revPlugin app ?

XMLHTTPRequest, cookies, REST GET on hidden form data are the choices we can 
compose with to exchange vars values in between lc/irev and js. It must be a 
way to go in your case too...

> 
> Thanks & Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX Design

--
Pierre Sahores
mobile : 06 03 95 77 70
www.widestep.fr : la première solution saas de développement sémantique sans 
programmation



___
use-livecode mailing list
use-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: Retrieve irev Value in Javascript?

2012-01-21 Thread Pierre Sahores
Scott,

One simple way to go is to add one of the following AJAX functions to your code 
to let it interact as needed with the irev part of your app :

1.- without using the JQuery framework :

function sendPostData(url, data) {
// sans jquery ok : deb //
var xhr_object = null;
if (window.XMLHttpRequest)  {   xhr_object = new 
XMLHttpRequest();  }   // 
Safari, Gecko & W3C
else if (window.ActiveXObject)  {   xhr_object = new 
ActiveXObject("Microsoft.XMLHTTP");}   // Internet Explorer >= 6
else if (window.ActiveXObject)  {   xhr_object = new 
ActiveXObject("Msxml2.XMLHTTP");   }   // Internet Explorer < 6
else { alert("Votre navigateur est trop ancien pour les connexions 
AJAX..."); return;   }   // AJAX non supporté
if (xhr_object)
{   xhr_object.onreadystatechange=function()
{   if (xhr_object.readyState == 4)
{   if (xhr_object.status == 200)
{ eval(xhr_object.responseText); }
}   }   }
else { return false ; }
xhr_object.open("POST", url, true); // true = asynchrone

xhr_object.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
xhr_object.send(data);
return true;
// sans jquery ok : fin //
}

2.- in using the JQuery framework :

function postCaltoWSPG(datas) {
if (datas != '')
{ 
$.ajax({
type: "POST", url: 
'http://www.example.com/yourscript.irev', data: 'yourpostitemname=' + datas, 
dataType: 'text',
async: 'true', error: function() { alert('Echec du push 
AJAX.'); }
});
}
else { alert("donnees absentes !"); }
}

Best & Regards,

Le 21 janv. 2012 à 00:04, Scott Rossi a écrit :

> Does anyone have a simple example of using Javascript to pull a value from an 
> irev script?  I've been able to get irev implementations to work using 
> iframes and simple functions, but retrieving a value with Javascript has been 
> elusive.
> 
> Thanks & Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX 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.widestep.fr : la première solution saas de développement sémantique sans 
programmation



___
use-livecode mailing list
use-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: critical socket error

2012-01-18 Thread Pierre Sahores
Did you try in testing different sockettimoutinterval values ?

HTH,

Le 18 janv. 2012 à 08:08, Terry Judd a écrit :

> More last minute network woes! I'm now having problems connecting to a 
> particular server from an app but not from the IDE. From the app the 
> connection info looks like this...
> 
> socket selected: cats.medicine.unimelb.edu.au:443|6927
> GET /api/announcements/?username=tsj2&api_key=&date=2000-01-01%20AM 
> HTTP/1.1
> Host: cats.medicine.unimelb.edu.au
> User-Agent: LiveCode (MacOS)
> socket error cats.medicine.unimelb.edu.au:443|6927
> application verification failure
> 
> ...nothing is returned and the socket doesn't appear to close. However, from 
> the IDE I get this...
> 
> socket selected: cats.medicine.unimelb.edu.au:443|6928
> GET /api/announcements/?username=tsj2&api_key=&date=2000-01-01%20AM 
> HTTP/1.1
> Host: cats.medicine.unimelb.edu.au
> User-Agent: LiveCode (MacOS)
> HTTP/1.1 200 OK
> Date: Wed, 18 Jan 2012 06:58:53 GMT
> Server: Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.3
> X-Powered-By: PHP/5.3.5
> Content-Length: 12
> Content-Type: text/html
> 
> ...and the socket closes after a bit.
> 
> Now, it's a secure connection and I've got the 'SSL and Encryption' library 
> selected in the standalone builder. I've also included a .pem file with the 
> necessary certificates (I know this works because I'm connecting to another 
> secure server on a different subdomain - cc.medicine.unimelb.edu.au rather 
> than cats.medicine.unimelb.edu.au - actually I think both of these subdomains 
> are hosted on the same server).
> 
> Any ideas on where I might be going wrong?
> 
> Terry...
> 
> Dr Terry Judd
> Senior Lecturer in Medical Education
> Medical Eduction Unit
> Faculty of Medicine, Dentistry & Health Sciences
> The University of Melbourne
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-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.widestep.fr : la première solution saas de développement sémantique sans 
programmation



___
use-livecode mailing list
use-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: Session strategies for liveCode server

2012-01-14 Thread Pierre Sahores
Hi Malte,

Encoded data inside cookies  + SQL stored sessions works well there. This two 
parts design is more secure than cookies or hidden without any SQL part in the 
process.

Best,

Le 14 janv. 2012 à 23:02, Malte Brill a écrit :

> Hi all (and especially those using server)
> 
> I would like to create a little web based thing using server that will 
> require a login on some of the pages and would really like to have sessions 
> there (until the browser closes, or the user logs out).
> 
> What would be the best way to handle this? Cookies? Any other ideas? Did 
> anyone write such a thing, without the need of adding heavy weight frameworks?
> 
> Cheers,
> 
> Malte
> ___
> use-livecode mailing list
> use-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: Perishable Press

2012-01-12 Thread Pierre Sahores
den ticket right there. The 5G Firewall is serious protection 
> for your website: extensively tested, plug-n-play, and completely free. 
> “Grab, gulp, n go” as they say. For more information, see the beta article 
> (and comments).
> 
> Troubleshooting
> 
> Remember, test thoroughly. If something stops working when the 5G is 
> installed, try removing the 5G. If things start working normally again, you 
> can either pass on the 5G or investigate further. Investigating further is 
> straightforward using something like the halving method, where you remove 
> chunks of the 5G until isolating and identifying the issue. Here is a quick 
> example:
> 
>   • I’ve installed the 5G, thanks Jeff.
>   • Uh-oh, the page at http://example.com/indonesia.html stopped loading
>   • Hmm, the URL contains the phrase “indonesia”, so let’s check the 5G 
> for it
>   • Yep, there’s a rule that blocks indonesia\.htm
>   • Removing that line resolves the issue, thanks me.
> Is it okay to remove rules that are blocking your own pages? Yes, the only 
> downside is that malicious requests that would have otherwise been blocked 
> will now get through. The 5G will continue to block a massive volume of 
> malicious requests — it’ll just be a bit less effective. The protective 
> effect is cumulative, not dependent on any one rule. So customization is 
> encouraged. Once you dial it in, you’re all set.
> 
> Disclaimer
> 
> The 5G Firewall is provided “as-is”, with the intention of helping site 
> administrators protect their sites against bad requests and other malicious 
> activity. The code is open and free to use and modify as long as the first 
> two credit lines remain intact. By using this code you assume all risk & 
> responsibility for anything that happens, whether good or bad. In short, use 
> wisely, test thoroughly, don’t sue me.
> 
> Learn more..
> 
> To learn more about the theory and development of the 5G Firewall, check out 
> my articles on building the 3G, 4G and 5G Blacklist. A search for “blacklist” 
> in the sidebar should also yield many results.
> 
> Happy securing!
> 
> © 2012 Perishable Press
> 
> 
> You are subscribed to email updates from Perishable Press 
> To stop receiving these emails, you may unsubscribe now.  Email delivery 
> powered by Google
> Google Inc., 20 West Kinzie, Chicago IL USA 60610

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

2012-01-11 Thread Pierre Sahores
loki is OK for me.

Le 11 janv. 2012 à 17:40, Bob Sneidar a écrit :

> I am trying to connect to On-Rev SQL database, and failing. Anyone else 
> having problems?
> 
> Bob
> 
> 
> 
> ___
> use-livecode mailing list
> use-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: standalone not quitting on Win7

2012-01-11 Thread Pierre Sahores
Did you try ?

on closeStack
wait 1
  quit
end closeStack

Best,


Le 11 janv. 2012 à 03:04, Nicolas Cueto a écrit :

> on closeStack
>   quit
> end closeStack
> 
> 
> Any ideas?   Thanks.
> 
> --
> Nicolas Cueto

--
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] Bill and Eric - not forgotten

2012-01-08 Thread Pierre Sahores
Before he went the Hypercardand Rev mentor and kind fellow we knowed, Eric 
went, in betwin other arts dedicated involvments, along its XTalk dedicated 
researchs and works, an architect, a musical critic for the french France 
Culture radio. He went havarded from l'Ecole des Hautes Etudes Commerciales de 
Jouy en Josas and from l'Ecole Nationale Supérieure d'Architecture de Paris. He 
came from a family involved in the steel and oil industry.

Le 8 janv. 2012 à 08:57, Kay C Lan a écrit :

> Bill, thanks for giving RunRev a quality control kick in the pants.
> 
> Thanks Eric for all those free tutorials and the matching Tutorial Picker.
> 
> For those who have no clue what I'm writing about, trust me when I say your
> LC experience has been vastly improved by the involvement of the these two
> men in the Rev community.
> 
> They maybe gone, but they are certainly not forgotten.
> 
> See you on the other side.
> ___
> use-livecode mailing list
> use-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: Sending hundreds of eMails

2012-01-06 Thread Pierre Sahores
Along Sarah's one, Ben's email script works 100% fine for such needs ;-)

http://lessons.runrev.com/s/lessons/m/4070/l/8184-Sending-Emails-From-LiveCode-Server-Scripts

Best,

Le 5 janv. 2012 à 17:17, LiveCode a écrit :

> Look into PHPList- it's a free, open source system for doing this, and has 
> tons of other functionality you need, like tracking bounces, handling 
> unsubscribes, etc.
> 
> 
> On Jan 5, 2012, at 6:51 AM, Dan Friedman  wrote:
> 
>> Hello!
>> 
>> I have a client that wants to send hundreds of eMails - each one unique, 
>> customized to the recipient.  Formatting the eMail is easy... but how do you 
>> send an eMail from within LC?  revMail brings up their eMail client which is 
>> not what we want because (a) they would have to click "Send" a zillion 
>> times, and (b) they are using gMail (a browser based mail client).
>> 
>> Any thoughts?
>> 
>> Thank you in advance,
>> -Dan
>> ___
>> use-livecode mailing list
>> use-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: OFF TOPIC virtualize windows on mac

2012-01-02 Thread Pierre Sahores
Virtualbox works always as expected in about apps or web apps testing tasks. 

Le 2 janv. 2012 à 14:45, jva...@1234web.net a écrit :

> Hello,
> 
> starting with an old Macbook would like to know your expert opinion about what
> is the best virtualization solution to run Windows on Mac, from a developer
> point of view.
> 
> Thanks and Happy New Year
> -- 
> Jose
> 
> ___
> use-livecode mailing list
> use-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: Private tag

2011-12-31 Thread Pierre Sahores
client side field (set as htmltext) tag

  #dtexte=contents comes there=dtexte#

server side code

   ### text block aligned to right : start ###
   replace "#dtexte=" with "" in tdata
   replace "=dtexte#" with "" in tdata
   ### text block aligned to right : end ###

Best,


Le 31 déc. 2011 à 11:12, FlexibleLearning a écrit :

> Can someone please remind me of the syntax to include a 'private' tag in the
> htmlText (one that can contain string data and is not removed by LC)?
> 
> Hugh Senior
> FLCo
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

--
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: Decrypting PHP preg_replace Strings

2011-12-26 Thread Pierre Sahores

Le 26 déc. 2011 à 16:40, Richard Gaskin a écrit :

> Sivakatirswami wrote:
> 
>> We have hackers on our web server getting in thru one Domain... I think
>> there is a whole in WordPress.
> ...
>> I can't wait until move our site over to RevIgniter; I think it will be
>> much more secure!
> 
>   Any of you have a similar LiveCode function to sanitize data?

Example code out of the LC-server powered widestep.fr saas eCMS and vertical 
market web apps semantic driven generator :

1.- The HTTP POST requests sanitizer

> function start_somelivecode_lib   
>if $_server[http_user_agent] is in "livecode (macos),livecode 
> (win32),livecode (ios)" and "somedomainnamecomesthere" is 
> $_SERVER["HTTP_HOST"] then
>   
>   ### active sub-domain retriever : start ###
>   
>   put "yourdatabasetype" into DbTarget ; put "thedatabasename" into DbName
>   put "thedatabaseuser" into DbUser ; put thedatabasepwd" into DBPasswd
>   
>   repeat for each key k in $_POST
>  put k & return after PostIn
>   end repeat
>   put trim(PostIn) into PostIn
>   
>   if "somepostkey1=" is char 1 to length("somepostkey1=") of PostIn or 
> "somepostkey2=" is char 1 to length("somepostkey2=") of PostIn or 
> "somepostkey3=" is char 1 to length("somepostkey3=") of PostIn
>   then put "specialervicestablename" into CustEditors
>   else if "somepostkey4=" is in PostIn then
>   
>  set itemdel to "&"
>  put trim(char 8 to -1 of item -1 of Postin) into 
> aspecialmatchboxvalue # Constante 1 #
>  put item 1 to -2 of Postin into Postin
>  
>  different related "file://" server-side service paths come there
>  
> different related db tables linkers come there
>   
>   end if
>   
>   ### active sub-domain retriever : end ###
>   
>else return pseudo404()
> 
> ...

2.- The undisclosed HTTP GET requests sanitizer code follow there

3.- The server-side incoming requests controller :

> function pseudo404
>if $_server[http_user_agent] is in "livecode (macos),livecode 
> (win32),livecode (ios)" then
>   then return "unsuitable credentials<===>unsuitable credentials"
>   else return "ERROR: File Not 
> FoundFile Not Found"
> end pseudo404
> 
> 
> function somelivecode_lib_main_ctl
>if $_server[http_user_agent] is in "livecode (macos),livecode 
> (win32),livecode (ios),livecode (android)" then
>   
>   put trim(PostIn) into PostIn
>   get char 1 to -1+offset("=",PostIn) of PostIn
>   
>   if it is "" and char 1 to -1+offset("=",encel(PostIn)) of encel(PostIn) 
> is "someknownkey1" then put pgSQL_directCall(encel(PostIn)) # credit
>   else if it is "someknownkey2" then put someknownkey2(PostIn)
>   else if it is "someknownkey3" then put someknownkey3(PostIn)
>  ...
>   else if it is "someknownkeyN" then putsomeknownkeyN(PostIn)
>   else put pseudo404()
>   
>else put pseudo404()
> end somelivecode_lib_main_ctl

4.- The undisclosed authentication dedicated sanitizer follow there

...

Comment1 : Any incoming request need to be accepted by those different kind of 
controllers to be targeted to the authentication one. If something don't match, 
the server app goes just to sleep after sending the pseudo404 response to the 
unwanted request attempt (with, optionally, blacklisting features, caching, 
etc...).

Comment2 : this code sanitize RIA clients requests ; the code don't need to be 
very different to match non AJAX web clients requests and AJAX web clients one 
but it need to be anywhere ;-)

HTH,

> 
> --
> Richard Gaskin
> Fourth World
> LiveCode training and consulting: http://www.fourthworld.com
> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
> 
> ___
> use-livecode mailing list
> use-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: 5.0.2 startup woes

2011-12-25 Thread Pierre Sahores
Hi Fred,

I can confirm that LC 5.0.2 is not working as expected. The bug you reports is 
100% reproductible there. Seems that mothership will have to solve this for us !

Along the tests, i discovered the following :

Some of my stacks are using extensively code to have all component (fields, 
buttons, bg image, etc...) owns its right relative position to each other when 
the stack is live resized to its main rect at open and resume time.

All works fine under LC 5.0.1 and previous 4.x.x / 5.0 versions (Snow Leo 
10.6.8, XP SP3 and above) and leaks under LC 5.0.2. It seems to me that my 
resize stack code is't catched in the expected way anymore. I tested the 
situation in using "set the acceleratedRendering of stack "my stack" to 
true|false" back and forth but the problem occurs in both situations and don't 
seems to depend from the acceleratedRendering prop state at all.

I reported this to support. Did you too ? Else, please do it ;-)

Best,

Pierre

Le 25 déc. 2011 à 21:31, Fred Moyer a écrit :

> Thanks for the suggestion, but that doesn't work either. And "set the tool to 
> browse" is just one command that isn't running correctly on startup with 
> 5.0.2. Does anyone know why now with 5.0.2, preopenstack, startup and 
> openstack suddenly don't work correctly when you start LiveCode by 
> double-clicking on a stack? By the way, I do sense that version 5 starts up 
> much quicker than 4, but maybe that has something to do with it -- maybe 
> there are some steps it is skipping.
> 
> Note: I can get the browse tool to change if I set the stack script to this:
> 
> on openstack
>send "doOpenStackThings" to this stack in 10 ticks
> end openstack
> 
> on doOpenStackThings
>set the tool to "browse"   
> end doOpenStackThings
> 
> but I think something as basic as 
> 
> on openstack
> choose browse tool
> end openstack
> 
> should work correctly without tortured scripts. Or am I misunderstanding 
> something?
> 
> Thanks for any advice. 
> 
> Merry Christmas, fellow Revolutionaries and LiveCoders!
> Fred
> 
> On Dec 24, 2011, at 1:00 PM, use-livecode-requ...@lists.runrev.com wrote:
> 
>> Try :
>> 
>> set the tool to "browse"
>> 
>> HTH,
>> 
>> Le 24 d?c. 2011 ? 07:30, Warren Samples a ?crit :
>> 
>>> On 12/23/2011 11:40 PM, Fred Moyer wrote:
>>>> Now with this new 5.0.2 that I just purchased, various startup, openstack 
>>>> and preopenstack commands do not implement -- that is they don't implement 
>>>> when I double-click on the stack while LiveCode is not running. 
>>>> (Everything works fine if LiveCode is already running.) But, for example, 
>>>> if you make a stack that simply consists of a stack script that says:
>>>> 
>>>> on openstack
>>>> choose browse tool
>>>> beep
>>>> end openstack
>>>> 
>>>> If you double-click on the stack with LiveCode not running, and 5.0.2 
>>>> starts up, does the tool change to browse tool? In my computer (Mac), it 
>>>> doesn't -- but the computer does beep. Am I missing something really basic 
>>>> here? If I drag my new version 5.0.2 to the trash,  which leaves 4.6.4 to 
>>>> start up, and do the same thing, the tool switches to browse tool as it 
>>>> should. There are other startup issues suddenly going on in 5.0.2 which I 
>>>> don't understand.
>>>> 
>>>> Can anyone advise?
>>>> 
>>>> Thanks
>>>> Fred
> 
> 
> ___
> use-livecode mailing list
> use-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: 5.0.2 startup woes

2011-12-24 Thread Pierre Sahores
Try :

set the tool to "browse"

HTH,

Le 24 déc. 2011 à 07:30, Warren Samples a écrit :

> On 12/23/2011 11:40 PM, Fred Moyer wrote:
>> Now with this new 5.0.2 that I just purchased, various startup, openstack 
>> and preopenstack commands do not implement -- that is they don't implement 
>> when I double-click on the stack while LiveCode is not running. (Everything 
>> works fine if LiveCode is already running.) But, for example, if you make a 
>> stack that simply consists of a stack script that says:
>> 
>> on openstack
>>   choose browse tool
>>   beep
>> end openstack
>> 
>> If you double-click on the stack with LiveCode not running, and 5.0.2 starts 
>> up, does the tool change to browse tool? In my computer (Mac), it doesn't -- 
>> but the computer does beep. Am I missing something really basic here? If I 
>> drag my new version 5.0.2 to the trash,  which leaves 4.6.4 to start up, and 
>> do the same thing, the tool switches to browse tool as it should. There are 
>> other startup issues suddenly going on in 5.0.2 which I don't understand.
>> 
>> Can anyone advise?
>> 
>> Thanks
>> Fred
>> 
> 
> 
> This also happens here in Linux. In 5.0, Livecode opens, the stack appears 
> and both parts of this script work. In 5.0.2 the stack is opening almost 
> instantly and well before the Livecode toolbar appears. It beeps but does not 
> switch to the browse tool. It would seem that Livecode is attempting to run 
> the script before it's fully ready.
> 
> Warren
> 
> ___
> use-livecode mailing list
> use-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: French Ears

2011-12-15 Thread Pierre Sahores

Le 15 déc. 2011 à 02:01, Michael Kann a écrit :

> http://www2.research.att.com/~ttsweb/tts/demo.php#top

3 / 5
> 
> http://imtranslator.net/translate-and-speak/

4 / 5

--
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: French Ears

2011-12-15 Thread Pierre Sahores
Hi Michael,

Works pretty good in using a french in french out test text, say 3.66 / 5 (1 
word over 20 is not clearly understandable). But the result seems me serious 
enough to use the service on a B2B dedicated web site.

HTH,

Le 14 déc. 2011 à 19:08, Michael Kann a écrit :

> I know there are some list listeners with exquisite ears for the French 
> Language. I was wondering if this website has the best French text to speech 
> sound, or are there better ones on the web. I'm not interested in the 
> translations, just the quality of the French accent.
> 
> Here's the site:
> 
> http://imtranslator.net/translate-and-speak/
> 
> Thank you,
> 
> Michael Kann
> ___
> use-livecode mailing list
> use-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: crossword puzzle in LiveCode

2011-12-08 Thread Pierre Sahores

Le 8 déc. 2011 à 19:15, Bob Sneidar a écrit :

> I give you http://www.crossdown.com/howtomake.htm

Handy. Thanks for the link, Bob !

--
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: crossword puzzle in LiveCode

2011-12-08 Thread Pierre Sahores
Hi there,

I had to deal with such a project in the past. The simplest way i found went to 
handle the gird as a collection of rectangle buttons driven as an array and all 
works fine. The button's label is used to display the letter under the control 
of the grid builder engine (or typed from the keyboard at game time), etc...The 
app is still used no far from twenty years later to produce the crosswords 
grids my company is delivering for sale and under the CC license 
(www.wrds.com).

HTH,

Le 8 déc. 2011 à 18:51, Chris Sheffield a écrit :

> Has anybody ever created a crossword puzzle application in LC? I'm having to 
> make one, and I'm kind of at a loss. Not really sure how to proceed. If 
> anyone has some pointers or sample code they'd be willing to share, I'd be 
> most grateful.
> 
> My idea right now is to have some kind of a grid that would get created at 
> run-time. Not sure yet whether to use square graphics or just use actual 
> fields. So the application would be fed the max number of spaces across and 
> then the max number of spaces down. So say the longest word across has 10 
> letters, and the longest word down has 6 letters. So a grid that is 10 by 6 
> would be created. Then I would somehow determine where the letters for the 
> words will be placed in the grid (still kind of fuzzy on this part), and then 
> once that's done, I would hide the unused spaces, leaving behind a crossword 
> layout. Tapping/clicking in a space would then allow the user to enter a 
> letter for that space (or something of that nature).
> 
> Does that even sound doable? Anyone have a better suggestion?
> 
> Thanks,
> Chris
> 
> 
> --
> Chris Sheffield
> Read Naturally, Inc.
> www.readnaturally.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: LiveCodeServer: redirecting with 'put header'

2011-12-07 Thread Pierre Sahores
Hi,

get "" & return & \
"" & return & "http://www.w3.org/1999/xhtml";) & ">" & return & \
"" & return & "" & return & \
"http://www.exemple.com/";) && "/>" & return & \
"widestep" & return & "" & return & \
"" & return & " "
put it

OK with Rev/LC server 3.5 to 5

HTH,

Le 8 déc. 2011 à 01:39, Matthias Rebbe a écrit :

> Hi,
> 
> i am trying to redirect to another URL 
> 
> with
> 
>  put "http://www.google.com"; into tURL
> put  header "Status: 301"
> put header "Location:" && tURL
> ?>  
> 
> I tried it with 'put new header' also. I always get an Internal Server error.
> 
> Does anyone know, how i can redirect with  'put header'?
> 
> Tried it now with LiveCodeSerer 3.5, 4.64 and 5.0.
> 
> Any suggestions?
> 
> 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: IMPORTANT: SoCal Meeting CANCELLED

2011-12-03 Thread Pierre Sahores
Hi Jacques,

I think so. Billère, the eleven fires town (XII st century) ; the first place 
in continental Europe to create its Golf club (1856) ? ;-)

Pierre

Le 2 déc. 2011 à 21:22, jacques CLAVEL a écrit :

> Pierre,
> 
> Pour info : just on the other side of the Gave there is a town called :
> Billère. Do you know?
> 
> 
> 2011/12/2 Pierre Sahores 
> 
>> Same there in France, as long as i know... Do i mistake Kevin ?
>> 
>> Le 2 déc. 2011 à 16:53, Andre Garzia a écrit :
>> 
>>> Where are they??? I would welcome some company here! I would set up a
>> group
>>> here if we had something like 4 or 5 guys/gals.
>> 
>> --
>> 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: IMPORTANT: SoCal Meeting CANCELLED

2011-12-02 Thread Pierre Sahores
Same there in France, as long as i know... Do i mistake Kevin ?

Le 2 déc. 2011 à 16:53, Andre Garzia a écrit :

> Where are they??? I would welcome some company here! I would set up a group
> here if we had something like 4 or 5 guys/gals.

--
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}] Hypercard and an uneasy read.

2011-12-02 Thread Pierre Sahores

Le 2 déc. 2011 à 14:55, René Micout a écrit :

> 
> Le 2 déc. 2011 à 14:32, Pierre Sahores a écrit :
> 
>> the workflow we need to build to solve the initial defined customer's need.
> 
> Bonjour Pierre,

Bonsoir René,

> A little precision : with HC the initial customer and programmer was the same 
> person...
> I think that will be the same with LC... But is really the case?

Probably not... Perhaps that a multileveled LC Media where features could be 
shown/hidden on demand "à la Hypercard 2" (remember its 5 distinct levels of 
functionalities) would help hobbysts and new comers to makes it learning curve 
more affordable ?

> Or is LC becomes a language like another ?

Surely not ;D We just need to remind in what the xtalk paradigm adds in 
creativity and methodology freedom terms to academic programming to get the 
answer to this. To the end, methodology makes always the main difference and 
it's perhaps why some very great frameworks (JQuery) or coding habits can 
greatly help to make JS, PHP and other... lots more productive than they would 
mostly seems instead. LC is king-sized about productivity and its the less we 
can do to remember it, time to time ;-)

What i mostly loved LC for, about the last two years of works, is the way this 
XTalk helped me to design new kind of web apps in implementing them in using a 
"Operational semantic programming" (Programmation sémantique opérationnelle) 
way to go, lots ahead before what the theory purpose in academic course about 
this since 2006 (Ecole Polytechnique, ENS,...).

Because LC, we can yet code in using OSP (PSO) to design our applications in an 
incredible productive way :

Operational semantic programming is an innovative methodology that allows us to 
regain control of the software complexity with a simple unified approach that 
encompasses both the information system architecture as the technical 
implementation of the code.

It is based on the linking of two simple structures:

- The flow algorithm, such as patterns of 2D representation of the complexity 
of the software process model, where vertices represent functions and edges the 
messages;

- Procedural programming - modular and structured - organizing the call of 
highly specialized functions, representing each, the first element of the 
dismemberment of the complexity of the entire code (or a subset of code) used 
by simple reading of the 2D modeling scheme in the composition of the computer 
program completed or under development.

Better than UML2, Operational semantic programming is probably a unique way to 
give its "music theory" to the programming work (art of) ...

Even if OSP can applies to any programming language suited to meet its 
principles (Javascript, PHP, C,...), all languages are not equal against OSP 
and XTalk are probably the most well suited for this, while Java SE 7 could, 
perhaps..., be the worst !

Kind regards,

> ___
> use-livecode mailing list
> use-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}] Hypercard and an uneasy read.

2011-12-02 Thread Pierre Sahores
I did't got the bucks to license Oracle Media Objects ;-/ What was this REAL 
"Table" object! ;-) you seems to say we can't redesign it in LC ? ;D

Kind regards,

Pierre

Le 2 déc. 2011 à 14:39, Klaus on-rev a écrit :

> Hi all,
> 
> Am 02.12.2011 um 14:32 schrieb Pierre Sahores:
> 
>> Among the comments of this interesting "http://www.loper-os.org/?p=568"; 
>> paper..., 
>> Phillip says: November 30, 2011 at 4:49 pm
>> It was killed because Hypercard on an iPod is all you would ever need to buy.
>> How do you spell APP Store killer? HYPERCARD.
>> BC says: December 1, 2011 at 12:06 pm
>> "Yes, I know why HyperCard was allowed to “die”. With all respect to Mr. 
>> Jobs, HyperCard was considered a cancer and was put through executive 
>> nuclear-chemo therapy."
>> 
>> PS : ... and Larry Ellison killed Oracle Media Objects in the mean time to 
>> "faire place nette" to Java...
> 
> Oh well, that was a great piece of software!
> I really miss its REAL "Table" object! ;-)
> 
>> ...
>> 2cts ;-)
>> --
>> Pierre Sahores
>> mobile : 06 03 95 77 70
>> www.sahores-conseil.com
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> kl...@major.on-rev.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


Rép : [OT}] Hypercard and an uneasy read.

2011-12-02 Thread Pierre Sahores
Among the comments of this interesting "http://www.loper-os.org/?p=568"; 
paper..., 


Phillip says: November 30, 2011 at 4:49 pm

It was killed because Hypercard on an iPod is all you would ever need to buy.
How do you spell APP Store killer? HYPERCARD.


BC says: December 1, 2011 at 12:06 pm

"Yes, I know why HyperCard was allowed to “die”. With all respect to Mr. Jobs, 
HyperCard was considered a cancer and was put through executive nuclear-chemo 
therapy."


PS : ... and Larry Ellison killed Oracle Media Objects in the mean time to 
"faire place nette" to Java...


David Stevens says: December 1, 2011 at 3:10 pm

A likely reason for it’s death is simple that most people do not want to 
program, and have no desire for programming. While I enjoy programming, and 
have been at it for quite some time, most people are looking for something they 
can use, not something they can use to make something they can use."


Peter M. Brigham says: December 1, 2011 at 11:44 pm

"It’s the do-it-yourself aspect of HC that made it uniquely useful as a tool 
for real people doing myriads of (non-IT) jobs. Its descendants, LiveCode, 
Supercard, Metacard, etc., carry on the tradition."


1.- Where anyone can't freely read and write by it self, the social power is 
driven by professional public and private "scribes" willings and soldiers arms. 
Traditional programming occurs mainly as the scribing paradigm of the first age 
of the computer's enabled world. XTalk owns a good place to represent the 
semantically empowered IDE RAD what can make people free to understand, read 
and write the second age of our computer's enabled little finished planet. Can 
we get part of the work done to empower this around-the-corner century 
knowledge freedom objective ?

2.- Hypertalk gave us the opportunity to understand that programming is, before 
any else, the art to convert abstract minding in automated workflows and in 
this way, i just follow the mind witch let some of us think that the computer 
expand our ability to "reduce complexity to its elegant working solution". 
Alike Bob, i think that the computer don't do the work for us and alike Todd, i 
think that the computer is the accessory and the mirror witch help us to clear 
the complexity in a collection of elementary components we need to take hand on 
and manage to build the final response (soft) to the workflow we need to build 
to solve the initial defined customer's need.

3.- When we write a GUI application in using LiveCode, most of the code behind 
the GUI is mainly automatically build for us by the framework while the 
application's logic depends entirely from our design skills and methodology. 
When we write a frontless app (say a LiveCode server or cgi app), we have to 
write 100% of the app logic. If we compare the wight of the source and binary 
codes, we can see that in the GUI driven app, as an example, the source is 
about 250 ko and the final standalone binary code (without the 3.5 Mb of 
runtime engine) will represent a wight about 1 Mb. So while we had to code 250 
ko of source, LC provided us 750 ko in automated mode. On the other hand, 
LiveCode let us entirely free about the ways and responsibility to code the app 
logic without no far from any restriction nor automated assistance. If we go 
back to compare LC to HC, we can, today, do lots more in about technical market 
enabled solutions than we ever could do with HC + Rinaldi XFCN/XCMD in a lot's 
more usable way and HC was only more easy to learn than LC as long as we did't 
have to deal with X-command / functions at all. 

2cts ;-)
--
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}] Hypercard and an uneasy read.

2011-12-02 Thread Pierre Sahores

Le 2 déc. 2011 à 02:15, Todd Geist a écrit :

> I think that
> breakthroughs in technology are really about taking a complex problem and
> making it simpler. The best solutions are the simplest ones.
> 
> "Any intelligent fool can make things bigger and more complex... It takes a
> touch of genius - and a lot of courage to move in the opposite direction."
> 
> - Albert Einstein
> 
> 
> Todd

--
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 mySQL security issues? -- or use an LC stack for the DB?

2011-11-28 Thread Pierre Sahores
Please replace below :

> get yourapplogics_code()

with

> get yourserver_response()

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

> De : Pierre Sahores 
> Date : 28 novembre 2011 11:47:37 HNEC
> À : How to use LiveCode 
> Cc : Pierre Sahores 
> Objet : Rép : On-Rev mySQL security issues? -- or use an LC stack for the DB?
> 
> Hi Tim,
> 
> In an "n-tiers" app logic build on top of LC-server, the best is to 
> 
> 1.- use a "script.lc" to bind the web UI+forms to the backend where the 
> "script.lc" is just a couple of lines :
> 
>  
> try
> 
>   start using stack "server_lib.livecode"
>   get yourapplogics_code()
>   catch tErr
>   put tolocalisation("Maintenance en cours. Merci de renouveler votre 
> demande dans quelques minutes...")
> 
> end try
> 
> ?>
> 
> 2.- start using a "server_lib.livecode"
> 
> 3.- and run the "yourapplogics_code()" function included in 
> "server_lib.livecode" as the main controller of your LC-server application's 
> logic
> 
> 4.- to code your server lib stack in launching it by a simple double-click 
> from your (S)FTP browser app witch will directly opens it in your LC IDE with 
> all the associated advantages (live debugger, app browser, changes directly 
> saved to your server, etc...)
> 
> About the contents your server has to handle and to preserve the advantage of 
> the "n-tiers" multithreading architecture LC-server give us, don't 
> handle/manage data as stack's or flat files components but bind them instead 
> from a PostgreSQL (best !) or other SQL backend.
> 
> In this way, you will get the best production's performances and rock 
> solidity in letting the different components of your "n-tiers" app works at 
> its best level in "parallelized mode" where any new client-side request will 
> be handled in its own fast running thread because the Apache+LC script+LC 
> server lib+PostgreSQL process will no contains ways to slow down this 
> collaborative thread.
> 
> If you use stack's datas or flat-files instead, your LC-server will become 
> less responsive and possibly very problematic if your server has to handle 
> more than some requests peer second, while in using a fair distribution of 
> your app logics in between the components as described before, your app will 
> be able to handle any client-side connection at its best level, even with 
> hundreds connections peer seconds (in letting Apache automatically and 
> cleanly queue them if needed).
> 
> HTH,
> 
> Best regards,
> 
> Le 28 nov. 2011 à 04:55, Tim Selander a écrit :
> 
>> Also, I understand that the new LC server available on on-rev.com can serve 
>> stacks. Would it be less hassle/security risk to use a data stack, or even a 
>> big text file, as the database? We'll probably max out at 10,000 records or 
>> so... not breaking a sweat for a sql database.
> 
> --
> 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: On-Rev mySQL security issues? -- or use an LC stack for the DB?

2011-11-28 Thread Pierre Sahores
Hi Tim,

In an "n-tiers" app logic build on top of LC-server, the best is to 

1.- use a "script.lc" to bind the web UI+forms to the backend where the 
"script.lc" is just a couple of lines :



2.- start using a "server_lib.livecode"

3.- and run the "yourapplogics_code()" function included in 
"server_lib.livecode" as the main controller of your LC-server application's 
logic

4.- to code your server lib stack in launching it by a simple double-click from 
your (S)FTP browser app witch will directly opens it in your LC IDE with all 
the associated advantages (live debugger, app browser, changes directly saved 
to your server, etc...)

About the contents your server has to handle and to preserve the advantage of 
the "n-tiers" multithreading architecture LC-server give us, don't 
handle/manage data as stack's or flat files components but bind them instead 
from a PostgreSQL (best !) or other SQL backend.

In this way, you will get the best production's performances and rock solidity 
in letting the different components of your "n-tiers" app works at its best 
level in "parallelized mode" where any new client-side request will be handled 
in its own fast running thread because the Apache+LC script+LC server 
lib+PostgreSQL process will no contains ways to slow down this collaborative 
thread.

If you use stack's datas or flat-files instead, your LC-server will become less 
responsive and possibly very problematic if your server has to handle more than 
some requests peer second, while in using a fair distribution of your app 
logics in between the components as described before, your app will be able to 
handle any client-side connection at its best level, even with hundreds 
connections peer seconds (in letting Apache automatically and cleanly queue 
them if needed).

HTH,

Best regards,
 
Le 28 nov. 2011 à 04:55, Tim Selander a écrit :

> Also, I understand that the new LC server available on on-rev.com can serve 
> stacks. Would it be less hassle/security risk to use a data stack, or even a 
> big text file, as the database? We'll probably max out at 10,000 records or 
> so... not breaking a sweat for a sql database.

--
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: revServer (again)

2011-11-25 Thread Pierre Sahores
Malte,

Can just repeat as i said before : worked fine for me (both VM and physical 
boxes) under RedHat Enterprise Linux and CentOS. I went unsuccessful under 
other Linux distro (Debian and OpenSuse) to get the PostgreSQL db correctly 
binded to the revServer / LC server installation.

HTH,

Pierre

Le 25 nov. 2011 à 09:18, Malte Brill a écrit :

> Hi folks,
> 
> after trying to install revServer on an UBUNTU server yesterday (it worked 
> flawlessly in my virtual machine of course) I am running into a new problem. 
> It seems that the Database external does not bind. The XML external does work 
> on the physical machine, however, the database external does not appear to 
> load. How would I check if it has been loaded? I tried to do:
> 
> put revOpenDatabases() which came back with an error in function error. This 
> makes me believe the external has not been loaded. Anyone got an idea what 
> might cause this? Any idea how to debug this? Server surely is a different 
> beast from desktop.  *sigh*
> 
> Any help much appreciated.
> 
> Malte
> ___
> use-livecode mailing list
> use-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: Read From Socket Question

2011-11-18 Thread Pierre Sahores
Should this production ready old example help ?

http://www.sahores-conseil.com/insead/page5_en.html

Best,

Le 18 nov. 2011 à 19:17, Warren Kuhl a écrit :

> I am trying to retrieve data from a socket.
> 
> When I try:
> 
> read from socket myDevSock for  characters
> put it into tData
> ...I get data
> 
> read from socket myDevSock until crlf
> put it into tData
> ...I get data
> 
> read from socket myDecSock until eof
> put it into tData
> ...no data
> 
> Wouldn't the read until eof pull in all data that is passed back?
> 
> Thanks for any help!
> Warren
> 
> ___
> use-livecode mailing list
> use-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: Installer - "Could not launch installer slave"

2011-11-17 Thread Pierre Sahores
Should have to do with the network config (NAT, etc...) of your Parallels VM. 
Try the different available options.

Le 17 nov. 2011 à 23:32, Mike Kerner a écrit :

> I'm trying to install LC 5.0.1 dp1 in win 7 which is running in a Parallels
> VM.
> 
> I launch the installer, click on through.  I get an error "Could not launch
> installer slave".  I get this error whether I right-click on the installer
> and tell it to run as Administrator (which I am anyway) or not.
> 
> Suggestions?
> 
> -- 
> 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


Re: OT: Live Support Chat script/solution?

2011-11-14 Thread Pierre Sahores
Untested but this AJAX lib should certainly help to build such a reliable 
solution :

https://github.com/flowersinthesand/jquery-socket

HTH,

Le 14 nov. 2011 à 02:03, Matthias Rebbe a écrit :

> Hi,
> 
> does anyone know if there is a free LiveChat/LiveSupport tool available.I am 
> looking for a solution where my website visitors can press a link on my site 
> and a chat windows opens where they can contact me online by chat.
> 
> I had something already, but the chat app for me was a windows program. But i 
> am looking either for an mac app or better a solution where i have also to 
> login from web instead from a desktop application.
> I am looking for a solution i can host on my server. Searched Google already, 
> but found only commercial ones with a monthly fee.
> 
> 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: mouse within oval filled area

2011-11-12 Thread Pierre Sahores
James,

"Magnifique*!

Pierre

Le 13 nov. 2011 à 07:01, James Hurley a écrit :

> Hugh,
> 
> Would this help? The script below will draw a polygon that looks like an 
> ellipse with a start and stop angle.
> 
> The trouble with the start angle and the arcangle in RR is that they are not 
> polar angles but are related in a complex way:
> 
> arcAngle = arctangent( b/a * tangent(polarangle)
> 
> (Don't ask.)
> 
> And then use a mousewithin handler for the "oval" grc--actually a polygon
> 
> 
> local a,b
> 
> on mouseUp
>   put 10 into tStartAngle -- Or whatever
>   put 250 into tEndAngle -- Or whatever
>   put 200 into a --Semi major axis
>   put 100 into b -- Semi minor axis
>   put 300 into x0 -- The origin
>   put 250 into y0 -- The origin
>   put x0,y0 & cr into tPoints
>   --Construct the points for the ellipse
>   repeat with i = tStartANgle to tEndANgle
>  put  r(i) into tR
>  put round ( x0 + r(i) * cos(i*pi/180)), round(y0+r(i) * sin(i*pi/180)) 
> into temp
>  put temp & cr after tPoints
>   end repeat
> 
>   put x0,y0 after tPoints
>   --Construct the graphic
>   if there is no grc "oval" then create grc "oval"
>   set the style of grc "oval" to "polygon"
>   set the opaque of grc "oval" to true
>   set the points of grc "oval" to tPoints
> end mouseUp
> 
> 
> function r tA --Radial distance to the ellipse as afunction of the angle
>   put (cos(tA*pi/180))^2 / (a*a) + (sin(tA*pi/180))^2 / (b*b) into temp
>   return 1/sqrt(temp)
> end r
> 
>> Has anyone worked out how to test if the mouseLoc is within the filled area
>> of an oval graphic (defined by startAngle and arcAngle)? I was thinking
>> polar coordinates, but this assumes a circle and a fixed radius which is not
>> necessarily the case. A btter math brain than mine is needed!
>> 
>> Hugh Senior
>> FLCo
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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

2011-11-12 Thread Pierre Sahores
Hi Malte,

I did extensive tests month ago and did't try again in the last weeks : both 
revServer and LC server works fine under Redhat Enterprise Linux and CentOS 
(free version of REHL). Works but can't bind PostgreSQL (needed for all my 
apps) under OpenSuse.

If you can switch your linux box to CentOS, all will be OK.

HTH,

Pierre

Le 11 nov. 2011 à 20:20, Malte Brill a écrit :

> Hi all,
> 
> I successfully installed liveCode on Mac Os and Windows. But on Ubuntu, for 
> the life of me I can not get it up. I assume it has to do with the mod_action 
> not being enabled by default here. However, for the life of me I can not find 
> out how to do so. The installation is rather complicated on UBUNTU it seems. 
> Has anyone succeeded here (Clean fresh out of the WEB UBUNTU) and could give 
> me a step by step guide on what I need to do (but please speak slowly, as I 
> have no idea of linuxes and apache there).
> 
> Totally lost. Any help much appreciated.
> 
> Malte
> 
> 
> ___
> use-livecode mailing list
> use-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: [ANN] tmCONTROL - Custom Interface Components for LiveCode Developers

2011-11-11 Thread Pierre Sahores
Hi Scott,

Seems useful and cool priced with the "pickup the templates you need, at your 
choice" option ! Thanks for delivring it. Will probably test it along a next 
coming project ;-)

Best,

Pierre

Le 11 nov. 2011 à 17:23, Scott Rossi a écrit :

> Hi Ken:
> 
> Yes, I should get the details into the FAQ -- thanks for the reminder.
> 
> Best Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
> 
> 
> 
> Recently, Ken Ray wrote:
> 
>> 
>> On Nov 11, 2011, at 3:21 AM, Scott Rossi wrote:
>> 
>>> If you've been using LiveCode for any length of time, you know that 2011 has
>>> been the year of custom controls.  So in honor of 11/11/11, I'm happy to
>>> announce that tmCONTROL, a custom control suite for LiveCode, is now
>>> available from Tactile Media.
>> 
>> Congratulations, Scott! This looks wonderful… I saw part of your demo on this
>> at the last LiveCode conference and I was truly impressed. Glad to see it
>> become "official"!
>> 
>> A quick question that's not on the FAQ… if someone buys Basic and then wants
>> to "go Pro", can they just pay the difference? Or is there some other
>> migration plan from Basic to Pro?
> 
> 
> 
> ___
> use-livecode mailing list
> use-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?] ADOBE DROPS FLASH for HTML5

2011-11-09 Thread Pierre Sahores
Many thanks Stephan ! Will use your recommandation as soon as tomorrow morning 
;-)

Kind regards,

Pierre

Le 9 nov. 2011 à 21:50, stephen barncard a écrit :

> I've been constructing new pages as HTML5 for over a year.  One item to
> note is that the rules are different than html 4.x and things that were
> allowed before with  ( loose ) will not validate. Constructing a web page
> with old habits could lead to 10-30 errors when attempting to validate as
> HTML5 , even though it might look fine in one's own browser.
> 
> My iRev/ lc HTML5 pages always ended up with too many errors and only
> recently have I figured out what was wrong. It's about the headers. I've
> learned a lot about creating quality, verifiable HTML5 code using the w3C
> validator <http://validator.w3.org/>
> 
> To share with those trying to make validated HTML5 pages using Livecode
> server: <http://www.jazzcubed.com/>
> 
> *[  do this before any other HTML is sent: (this will make Apache talk
> UTF-8 ) ]*
> 
>  
> put new header "Content-type: text/html; charset=utf-8"
> 
> ?>
> 
> *[   this html startup and header code validates for me ]*
> 
> * *
> * *
> * *
> * *
> * Jazzcubed Records*
> * *
> * *
> * *
> *[content]*
> * *
> * *
> 
> 
> 
> so simple and clean, universal now.  I like the standard.
> 
> sqb
> 
> 
> 
> On 9 November 2011 10:40, Richard Gaskin  wrote:
> 
>> 
>> Nice.  Very nice.
>> 
>> Another platform distinction gone, further commoditizing OSes, which is
>> always helpful for us cross-platform devs.
>> 
>> --
>> Richard Gaskin
>> 
> 
> Stephen Barncard
> San Francisco Ca. USA
> 
> more about sqb  <http://www.google.com/profiles/sbarncar>
> ___________
> use-livecode mailing list
> use-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?] ADOBE DROPS FLASH for HTML5

2011-11-09 Thread Pierre Sahores

Le 9 nov. 2011 à 20:08, Lynn Fredricks a écrit :

>> Nice.  Very nice.
>> 
>> Another platform distinction gone, further commoditizing 
>> OSes, which is always helpful for us cross-platform devs.
> 
> Im not sure how to feel about this.
> 
> Simple Flash stuff ran terribly on some devices. I have a site that has a
> Flash based gallery - nothing too complex, which would not render properly
> on some devices.
> 
> On the other hand, this means Flash developers are going to have to think
> twice about using Flash because of mobile device deployment. Doing this -
> yeah, I think the writing is on the wall for Flash. Now Flash developers can
> feel what Director users have been feeling for some time ;-)

(Beside LC server 4.6.3+ on the server-side,) javascript as the glue + JQuery & 
Mootools plugins + HTML5/CSS3 let us provide on the client-side 150% of what 
could ever be done in flash, the lightweight and elegance "en prime" along 
targetting any kind of OSes ;D
> 
> 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


Re: Simple web page commenting via on-rev?

2011-10-29 Thread Pierre Sahores
A good way to have such feature available to your on-rev app is to include the 
free http://disqus.com/ comments service to any or the selection of pages you 
want...

HTH,

Le 29 oct. 2011 à 17:34, Tim Selander a écrit :

> I joined on-rev.com as a founder when they were getting started as it was a 
> great deal on hosting, but have not done a lot with the .irev scripting...
> 
> Today I was looking for an easy way to let users leave comments on web pages 
> I host on on-rev... very low traffic stuff, basically letting old classmates 
> comment on re-union photos. I was looking at cut and paste php scripts, 
> widget providers, etc, when it occurred to me that it might be relatively 
> easy to do the .irev way.
> 
> I'm thinking you'd have a form, get the person's name and comment, append it 
> to a text file on the server. When the page holding the comments is loaded, 
> read said text file and send it to the browser mixed with appropriate html 
> tags.
> 
> Has anyone done something like this, and would you be willing to share your 
> code for my study?
> 
> Thanks,
> 
> Tim Selander
> Tokyo, Japan
> 
> ___
> use-livecode mailing list
> use-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: Jobs Passed Away

2011-10-06 Thread Pierre Sahores
<http://www.hexalto.com/blog/hommage-a-steve-jobs/>

A 2 mn video as a resume of Steve Jobs innovative creativity in about design, 
logistics, marketing, ...

+ its Stanford's conference translated to french...

Repose en paix, Monsieur Jobs et merci pour tout ce que tu nous a montré des 
possibles...

Pierre


Le 6 oct. 2011 à 22:59, Bob Sneidar a écrit :

> Steve showed us how to run a company and enjoy himself while doing it. He 
> approached his work with a dedication and passion rare it seems these days. 
> He has certainly inspired me over the years in a field that would bore most 
> people to tears. May he find himself now in that "better place". 
> 
> Bob
> 
> 
> On Oct 5, 2011, at 8:07 PM, Petrides, M.D. Marian wrote:
> 
>> So, so sad, if not entirely unexpected.  He'll be missed. :-
>> 
>> On Oct 5, 2011, at 6:47 PM, Scott Rossi wrote:
>> 
>>> Our local news just broadcast that Steve Jobs passed away recently.  Anybody
>>> else see this news?
>>> 
>>> Sad, came across a TED talk he apparently gave several years ago:
>>> http://www.ted.com/talks/steve_jobs_how_to_live_before_you_die.html
>>> 
>>> End of an era.
>>> 
>>> Regards,
>>> 
>>> Scott Rossi
>>> Creative Director
>>> Tactile Media, UX 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
> 
> 
> ___
> use-livecode mailing list
> use-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: On-Rev: irev to mysql to html charset (apostrophes, etc.) confusion?

2011-10-03 Thread Pierre Sahores

Le 3 oct. 2011 à 18:42, Bob Sneidar a écrit :

> How are you escaping your sql?

If not, it needed where "it's needed" becomes "it\'s needed" to be stored in 
your SQL backend.

> Are you using the same method in your web app? If you are not, then I think 
> this is probably the issue. I use sqlYoga and if I am not mistaken, it has 
> it's own built in escaping. You may want to have a chat with Trevor Devore 
> about this sort of thing. 
> 
> You may want to check the charset of your sql database itself. If you don't 
> ever expect to use a foreign language or exotic characters, then UTF8 should 
> work fine. 

A second way to avoid problems is to store your datas as "the HTMLText of field 
n" (the HTMLText is a property and don't apply to var contents. See the 
dictionary for the details)
> 
> Bob
> 
> 
> On Oct 3, 2011, at 9:29 AM, John Patten wrote:
> 
>> Hi All!
>> 
>> I have a LC project that pushes data to a on-rev mysql database. The data 
>> saves to the mysql  fine, however, apostrophes and other some other 
>> punctuation get saved as "non-english" characters. If I request the data 
>> from the database via my LC project, everything gets pulled back correctly, 
>> apostrophes are apostrophes, question marks are question marks. However, 
>> when I pull the data from the database using an .irev script and display as 
>> html in web browser, apostrophes are not correct (questions marks in black 
>> box, or if I change the charset in the header of the irev script, a 
>> completely different non-english character appears.)
>> 
>> How do I get my irev script to save content to database correctly, and get 
>> data displayed correctly when displaying in html in web browser?
>> 
>> I have messed with changing the charset in header, i.e :
>> 
>> 
>> 
>> 
>> ...in my irev script, but changing the charset only results in different 
>> characters. It's almost as if I have not found the correct charset? But yet, 
>> if my LC project pulls the content from the DB everything appears as it 
>> should???
>> 
>> Thanks for any tips!
>> 
>> John Patten
>> SUSD
>> 
>> ___
>> use-livecode mailing list
>> use-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: Realbasic on the web without plugins

2011-09-23 Thread Pierre Sahores

Le 23 sept. 2011 à 21:30, Richard Gaskin a écrit :

> The other approach, a sort of "virtualization", seems much simpler in many 
> respects, a similar to Heizer's LiveCard (was that the name?) which ran HC as 
> a sort of daemon process responding to minimal events over the socket.

If i right remember, it had to be started as a standard HC app and was 
communicating trough appelevents with WebSTAR 3 / MacOS 8 (single-threaded) I 
did't really use it even if i owned this tool ...

--
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: Another web challenge: state

2011-09-23 Thread Pierre Sahores
Richard,

Le 23 sept. 2011 à 21:19, Richard Gaskin a écrit :

> A way to avoid this is to have the app always running, as a sort of daemon 
> process, listening on a specified socket for incoming instructions.
> 
> The problem with that is that it'll only be allowed on dedicated servers or 
> some VPSes; I don't know of any shared host that allows custom daemons.

Yes and i had to own dedicated servers to eun such kinf of apps along the teen 
years i used, as you probably remember, this way to go.

And, probably most important and problematic, this kind of solution runs in 
single thread mode as long as the server is build on top of a simple Rev/LC 
stack. I would't use this way to go anymore, even if i did before for years. 
Works well indeed as long as there are not too many concurrent connexions (say 
10 to 15) send to the server's stack by the PHP socket listener/translator. 

But interlocking states of the Rev/LC process could always happen is this kind 
of configurations and i had to compose with someones over the years, say one 
time peer quarter of years on my biggest running app at that time (around 2500 
enrolled clients).

On the other hand pure cgi-scripts "à la metacard.mt" are - at least for me - 
no far from unsuitable for agile cgi programming. Fortunaly, LC-server solved 
this all and it's yet amazingly easy to code inside a single IDE session both 
the client and server sides parts of our n-tiers apps as Stephen Brancard 
pointed it out weeks ago.

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: Realbasic on the web without plugins

2011-09-22 Thread Pierre Sahores
Hello Richard,

Le 22 sept. 2011 à 16:39, Richard Gaskin a écrit :

> Attempting full translation of LiveCode to JavaScript would not be 
> impossible, but very expensive.  IMO, when you consider the limitations 
> inherent in such a task, it's probably much more expensive than just learning 
> JavaScript.

To stay full compliant with the best client-side JS libs (JQuey, MooTools, 
Prototype, Sliderman, etc...), i expect that a direct map from the LC 
client-side code to javascript would not be the most economical way to go. I 
would prefer instead to have (1) the LC client-side code mapped to the LC 
server-side code and (2) the LC server-side code mapped to HTML template's 
blocks (stored on the server's file system to stay updatable on demand) where 
(3) only those  HTML template's blocks would have to be linked to JS/Ajax libs. 
This design purpose is the way widestep.fr is build on.

Hope that my sad english is, at least, readable on the main idea ;-)

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: Realbasic on the web without plugins

2011-09-22 Thread Pierre Sahores
Keith,

Le 22 sept. 2011 à 09:56, Keith Clarke a écrit :

> Obviously, any technical architect reading the above will realise that I've 
> no idea what I'm talking about ;-) 

The only constraint to get in mind to achieve your proposal in a clean and 
rock-solid way is that the "stack's to html+dom+js+css" translated component 
will by definition become a multi-users application and this is what makes this 
project a little more complex - but full doable ! - task than just having 
simple stack's cards converted to html+dom+js+css widgets.
> 
> However, this it seems less than impossible - and with a modular KISS 
> approach, some aspects seem relatively easy (at least to state the 
> requirements!) 
> 
> But even if it isn't easy, if RunRev don't grasp the nettle on this, 
> developers who must deploy standards-based rich apps into cloud and 
> locked-down Enterprise environments will be forced elsewhere, which would be 
> a shame.

Again, this project is suitable in using LC to build the needed framework but 
this will need some time and invests to achieve the project in the needed 
professional-grade way.

> Best,
> Keith.. 

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: Can LiveCode be used as an intermediary for two scripts?

2011-09-17 Thread Pierre Sahores

Le 17 sept. 2011 à 22:32, Admin a écrit :

> 
> 
> Hello all. 
> 
> Before I use LiveCode for this project, I am curious
> if LiveCode can do it. 
> 
> I have two php scripts utilizing MySQL. One is
> feature poor and can ONLY export data as a CSV (no other customization
> is possible)

LiveCode Server can do this (.lc script or .lc script + livecode password 
protected server-side lib stack)

> and the other is feature rich and allows for php POST and
> GET and also allows custom tables and fields to be created. 

idem and, as a working example, some of my apps are creating/pg_dump(ing) 
postgresql tables on the fly (new saas apps accounts/backups) on a 24/7 basis.
> 
> I need to
> create a program where I intercept the data export of one and send
> specific field data to the other. 

Idem and the recommendation is to use two distinct application's servers in 
such tasks, the first for reading tasks and the second for writing ones.
> 
> It has to run in the background and
> work invisibly with no actual input. 

Idem
> 
> Can LiveCode be used to create
> such an intermediary program?

Yes, without any reserve.

> If not, what would I be better off using?
> PHP? Python or Lua? Javascript? 
> 
> As another hurdle, I think the client
> wants me to create a middle database to hold the data that passes
> through for governmental reasons. I need this to be in one program -
> Step 1 would be to intercept the incoming exported mysql data (in CSV
> format) and place specific fields into the middle database and then
> route it to the other script and database. 

LiveCode is the perfect tool to handle such processes. The best would be to 
have a client-side standalone able to manage the two LiveCode server apps 
workflows through REST (POST and GET) requests.

HTH,
> 
> Thanks for your help.
> 
> 
> Mike 
> 
> ___
> use-livecode mailing list
> use-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


field to UTF8 and UTF8 to field : the cool way

2011-09-16 Thread Pierre Sahores
Hi folks,

In case some one would have to handle massive conversions from fields contents 
to UTF8 variables and reverse, RevOnline hosts "Blowfish.livecode" by Michael 
Kuyumcu, a very reliable and elegant coded lib. Works just perfectly well in 
about both Blowfish cryptography and text to UTF8 conversions.

Thanks Michael !
--
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: Curious Glitch in My FTP App

2011-09-09 Thread Pierre Sahores

Le 9 sept. 2011 à 19:56, Gregory Lypny a écrit :

> Hello Pierre,
> 
> Thank you for responding.  Yes, it may be.  The account files are 
> comma-delimited text and are sitting on my remote Mac, which acts as the 
> server.  What you do suggest?  Clean the line endings?

How are your "account files" handled, by hand (if yes, try how it goes in 
saving them in different charset (UTF-8, ISO-8859-1 (Latin 1), ... in using 
TextMate or the excellent free TextWrangler) and different line ending options 
((LF, CR, CRLF) to track the problem) or programmatically (if yes, way one test 
should help too)?

> 
> I’ve also been looking for a LiveCode function that tells me the OS os the 
> user but cannot find one.  I know it exists!
> 
> Gregory
> 
> 
> On Fri, Sep 9, 2011, at 1:00 PM, use-livecode-requ...@lists.runrev.com wrote:
> 
>> Could it not be related to urlencode / charset handling troubles ?
> 
> ___
> use-livecode mailing list
> use-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: Curious Glitch in My FTP App

2011-09-09 Thread Pierre Sahores
Could it not be related to urlencode / charset handling troubles ?

Le 9 sept. 2011 à 17:35, Gregory Lypny a écrit :

> Hello everyone,
> 
> I created a desktop utility that allows my students to access files on my Mac 
> via FTP.  I compiled it for Mac, Windows, and Linux.  The app opens with a 
> user ID and password field so that students can create accounts.  Most 
> students have been able to create accounts without a problem, but I have had 
> three or four instances of students not being able to sign back in after 
> creating an account.  The sign-in process is a simple one where the user ID 
> and password they provide in the app is used to retrieve the account file and 
> authenticate.  Seems that for some of my Windows users, nothing happens when 
> they click the Sign In button, that is, there is no error but the app is not 
> picking anything up to authenticate.  Here’s an excerpt of an email from one 
> of my students, who refers to the sign-in not working from her PC laptop.
> 
>   When I tried to sign in on my laptop it still didn't work. But when I 
> tried on a Mac I was able to access it.
> 
>   Any thoughts?
> 
> Gregory
> 
> 
> 
> ___
> use-livecode mailing list
> use-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: How does compiling work?

2011-09-08 Thread Pierre Sahores
s on the 
> fly, but as you can see with LiveCode's blazing performance, neither the 
> runtime compilation to bytecode nor the translation of the bytecode into 
> machine instructions is particularly costly.  And by separating the tasks, 
> the more costly parsing of the script is done only once, which is one of the 
> reasons why LC outperforms fully-interpreted systems (another reason is 
> careful pruning of the lookup table used in that parsing and in the 
> subsequent bytecode jumps, but that's another story).
> 
> In fact, since so much of the actual execution takes place in the engine's 
> machine-compiled code, performance for many tasks is on par with other 
> systems where you have to wait for a compiler every time you change your 
> code. :)
> 
> There are exceptions to the general rule that script statements are 
> translated to bytecode in advance of execution.  For example, the "do" 
> command and the "value" function both require parsing during execution, since 
> they work with strings whose values cannot be known in advance, and therefore 
> cannot be compiled in advance.
> 
> But those tokens also make good examples of LiveCode's efficiency: while 
> technically slower than alternative syntax which can be precompiled to 
> bytecode, the time it takes the engine to parse those expressions and 
> translate them into a form which can be executed is usually measured in 
> microseconds, sometimes fractions of microseconds.
> 
> Along those lines, compare the time it takes LiveCode to compile a script 
> when you push the script editor's "Compile" button to compilation times in 
> almost any other system.  With each script compiled to bytecode separately, 
> and with its means of doing so being rather well tuned over a great many 
> years, it's almost instantaneous - you'll never wait for a progress bar when 
> compiling in LiveCode. :)
> 
> 
> In summary, LiveCode attempts to find a sweet spot between raw performance 
> and developer convenience.  You could write faster-executing code in 
> Assembler, but who would want to?  Even using languages like C++ will often 
> take orders of magnitude more development time to accomplish similar goals.  
> LiveCode's two-step compilation allows for blazing fast performance with 
> nearly unprecedented return on your development time.
> 
> IMO, an almost ideal sweet spot indeed.
> 
> --
> Richard Gaskin
> Fourth World
> LiveCode training and consulting: http://www.fourthworld.com
> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
> 
> ___
> use-livecode mailing list
> use-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: [revServer]http authentication -

2011-08-29 Thread Pierre Sahores
A good way to go is there to prefer to send the credentials in HTTP POST as 
encrypted datas.

Le 30 août 2011 à 01:12, Matthias Rebbe a écrit :

> Bob,
> 
> thanks. I am aware of that. The data is not top secret, but should not be 
> free available for everyone. We use other authentication methods for more 
> critical data.
> 
> Regards,
> 
> Matthias
> 
> Am 30.08.2011 um 00:49 schrieb Bob Sneidar:
> 
>> Not sure, but as you must know, cleartext passwords are easily sniffable. As 
>> long as the web site is not serving up private or critical information, I 
>> suppose there's no harm, but if it is, then you should consider using https 
>> and having a form that gets the credentials. 
>> 
>> Bob
>> 
>> 
>> On Aug 29, 2011, at 3:40 PM, Matthias Rebbe wrote:
>> 
>>> Hi,
>>> 
>>> is revServer  able to read/get the username of an http authentication, if 
>>> username and password are included in the url.
>>> 
>>> for example
>>> 
>>> http://JohnDoe:abcd...@web.com  is the url the customer uses to connect to 
>>> the server. Is it possible for revServer to get the username JohnDoe?
>>> 
>>> Or are username and password  removed by apache completely before passing 
>>> the url to revServer?
>>> 
>>> 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
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-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: is LOKI down?

2011-08-28 Thread Pierre Sahores
99% down, aka minutes needed to get a response... Seemed me it was the same 
last Sunday at the same time... Some kind of unwanted "pseudo cron job" at work 
?

Le 29 août 2011 à 00:05, Andre Garzia a écrit :

> Folks,
> 
> Can anyone confirm that loki server on on-rev is down?
> 
> Cheers
> andre
> 
> -- 
> http://www.andregarzia.com All We Do Is Code.
> ___
> use-livecode mailing list
> use-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: End of an Era: Steve Jobs

2011-08-27 Thread Pierre Sahores
"Chacun de nous est un essai de la nature dont le but est l'homme." - Hermann 
Hesse -

If ideal solutions were within our reach, we would't give us all the evil that 
we give us to try to do the best we can, as far as we can, wherever we can and 
within what we can. What people show us about their successes and failures is 
one of the most precious commodity of learning about what we can as well as 
what we can't.

If I knew him personally, I would have to thank Steve Jobs as one of those who 
gave me what I could learn and get from him.

Le 27 août 2011 à 10:59, Richmond a écrit :

> On 08/26/2011 07:44 PM, Bob Sneidar wrote:
>> Nicely done! I forwarded it to all the geeks here. Some are getting the 
>> message, especially when in a short period of time I got a very needed app 
>> here half done in a few weeks of working on it in my spare time.
>> 
>> Bob
>> 
> 
> So, next time we get cheesed-off by an apparently random or capricious act on 
> the half of Kevin Miller
> we can sublimate our frustration by softly repeating to ourselves "he's just 
> emulating Steve jobs' way
> of doing things" . . .   :)
> 
> Mind you; far better that than the Gates way, or, increasingly so, the 
> Shuttleworth way!
> 
> I hope that RunRev can go from strength to strength, but without alienating 
> quite as many as
> Steve Jobs seems to have done in his "climb to glory"; the 'love him or hate 
> him' polarisation seems
> unfortunate, and ultimately slightly counter-productive.
> 
>> On Aug 26, 2011, at 2:29 AM, Kevin Miller wrote:
>> 
>>> My take on this subject:
>>> 
>>> http://www.runrev.com/company/runrev-blog/
>>> 
> 
> 
> ___
> use-livecode mailing list
> use-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


[announcement: WideStep saas web applications builder/publisher : was Fwd: LC --> Website ?]

2011-08-27 Thread Pierre Sahores
it might be possible to make it all 
>>>>> shiny like a WordPress template, though I don't know how at the moment.
>>>>> 
>>>>> Is it really so easy as that? Is it reasonable to suppose that this is 
>>>>> the simplest and most cost-effective way for me to upgrade my website?
>>>>> 
>>>>> I've looked at alternatives -- professional website designers, WordPress 
>>>>> templates, drag and drop software. All present problems.
>>>>> 
>>>>> What does hosting cost? Any important limitations or gotchas? What are 
>>>>> the chances the LiveCode method will still be supported five years from 
>>>>> now?
>>>>> 
>>>>> Where do I learn more?
>>>>> 
>>>>> Thanks in advance,
>>>>> 
>>>>> 
>>>>> Tim
>>>>> 
>>>>> 
>>>>> 
>>>>> ___
>>>>> use-livecode mailing list
>>>>> use-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: End of an Era: Steve Jobs

2011-08-25 Thread Pierre Sahores
Le 25 août 2011 à 17:40, Bob Sneidar a écrit :

>  If all Americans loved their work the way he did, we would be unparalleled 
> in the quality of products we produced. 
> 
> Bob

--
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: Sockets Question

2011-08-24 Thread Pierre Sahores
Untested : a simple PUSH service should do the trick :

Set the clients as servers able to listen to "HTTP POST" messages sent on the 
your LAN broadcast address: your choosen port  by your real server where the 
posted message will contains the server's IP address the clients will then be 
able to store as a global var for further use.

HTH,

Le 24 août 2011 à 18:01, Andrew Henshaw a écrit :

> I hope someone might have an answer as im just back from vacation and 
> starting to pull my hair out already :)
> 
> I have an app that I would like to implement a sync feature in.  The first 
> step to this would appear to be able to exchange data between the devices 
> using the local network.  I have sockets up and running,  can exchange data 
> etc between devices,  all great so far.  
> 
> The problem is at the moment I need to enter the IP address of the 'server' 
> in the setup into the clients for them to be able to connect,  but I would 
> like the clients to be able to discover the sever automatically as would 
> happen in most apps.
> 
> Ive read all sorts of posts from simply scanning the ports,  through to using 
> 'datagrams' or broadcast messages,  but nothing seems to work.  Scanning the 
> ports seems very slow and unreliable,  while datagrams just dont seem to do 
> anything at all.
> 
> Is there anything anyone can suggest,  it really doesnt matter how its done 
> as long as it works and is reliable.  
> 
> Thanks
> 
> Andy
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-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] Can someone help me acquire a HP TouchPad?

2011-08-23 Thread Pierre Sahores
Seems impossible to get it online in France : no stocks available. Will see if 
i can get one at Carrefour, Auchan, etc... near home. Will let you know if both 
the device and its price are OK.

Regards,

Le 24 août 2011 à 02:00, Andre Garzia a écrit :

> Hello Folks,
> 
> As some people know, WebOS is my favorite mobile OS and now HP just killed
> it. Now, to get rid of the inventory, HP is selling the HP TouchPad for USD
> 99 in a firesale on selected stores such as best buy. Unfortunately I am in
> Brazil and we don't have best buys here (or anything similar). So if someone
> here would like to help me, I would send by PayPal the money needed to buy
> the HP TouchPad plus the shipping cost to Brazil. WebOS is a wonderful
> mobile OS and now without the prospect of newer devices, this is the last
> chance to get it.
> 
> cheers
> andre
> 
> 
> 
> -- 
> http://www.andregarzia.com All We Do Is Code.
> ___
> use-livecode mailing list
> use-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: Avoiding File Update Anomalies (Collisions) on a Server

2011-08-22 Thread Pierre Sahores
Would recommend to use a PHP or LC server-side front-end script to a MySQL or 
PostgreSQL SQL insert/update instruction instead. The SQL servers would manage 
this for you in a cleanest way than what can be done in using direct writes to 
flat files.

HTH,

Le 22 août 2011 à 17:05, Gregory Lypny a écrit :

> Hello everyone,
> 
> I would appreciate your thoughts on how to avoid collisions on a server on 
> those presumably rare occasions when two or more visitors attempt to write to 
> a file at exactly the same time.  In my case, it’s students writing via FTP 
> to a text log file, but the same situation can occur if visitors to a web 
> site, for example, submitting an entry to a guest book, do it at the same 
> time.  I don’t know what the consequences of this are.
> 
> My crude and imperfect attempt to minimize this possibility is to have a Busy 
> file that acts as a flag when the log file is being written to.  It contains 
> just one line of data:
> 
>   False, the seconds
> 
> If the first item is False, it means that the log file is not currently being 
> written to.  A user about to write to the file invokes a handler that changes 
> this first item to True, and inserts a timestamp in the form of the seconds.  
> When they are finished writing to the file, the same handler sets the Busy 
> file to False and inserts a new timestamp.  The purpose of the timestamp is 
> to cover for the possibility of the write process or the handler being 
> aborted, therefore failing to set the Busy file back to False.  If the 
> timestamp is more than, say, four minutes old, the True flag can be 
> overridden.  This method is obviously imperfect because it is possible that 
> two people might be writing to the Busy file at the same time!  I’m curious 
> to know of other handler-based approaches that do not involve setting up 
> separate databases.
> 
> 
> 
> Regards,
> 
> Gregory
> ___
> use-livecode mailing list
> use-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 App Developed in LiveCode

2011-08-19 Thread Pierre Sahores
Hopefully, we will get its new implementation, UTF-8 support included, before 
the end of the fourth quarter of 2011 or, instead, before the end of the first 
quarter of 2012 ;-)

Please, Edinburgh, add five votes to the first timeline !

Le 19 août 2011 à 16:46, Trevor DeVore a écrit :

> The only major pain point has been the field object.
> 
> -- 
> Trevor DeVore
> Blue Mango Learning Systems

--
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: [livecodeServer] new header error

2011-08-17 Thread Pierre Sahores

Le 17 août 2011 à 12:17, Ralf Bitter a écrit :

> 
> Anyone . . . ?

>From the 4_6_4_dp_2-Server release Notes: 
>http://www.runrev.com/downloads/livecode/4_6_4/LiveCodeNotes-4_6_4_dp_2-Server.pdf
> (page 15) :

4.6.4-dp-2 (2011-08-16) MM Fixed bug with put new header.

Should it works now ?
> 
> 
> Ralf
> 
> 
> On 15.08.2011, at 13:35, Ralf Bitter wrote:
> 
>> 
>> Hello,
>> 
>> please, could anybody confirm that "put new header"
>> is broken with the latest version of the server engine?
>> 
>> I get a "can't find handler (header)" error. 
>> 
>> "put header" still works, though.
>> 
>> 
>> Ralf
> 
> 
> ___
> use-livecode mailing list
> use-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] advice as to whether this is a scam?

2011-08-13 Thread Pierre Sahores
Well said +100% true + 99% of the mails we get from the real PayPal company are 
advertisements in the form of promotions. If any doubt, just login in your 
account to see if you have messages and don't never respond to unwanted 
doubtful mails ;-)

Le 13 août 2011 à 15:52, Mark Schonewille a écrit :

> Richmond,
> 
> Obviously, this is a scam. "Which has javascript enabled [...] please allow 
> ActiveX for scripts" really should make you hear alarm bells. You don't need 
> to respond to e-mails that come from PayPal ever. If you do business with 
> PayPal and log in once a day, you will find all the notifications and other 
> information listed in your account. Any genuine e-mail from PayPal is nothing 
> but a notification that it might be useful to log in to your account now. You 
> will never need to send any information whatsoever in any other way than 
> logging on to the website and filling out web forms there, except for a 
> one-time request to send a copy of your passport to PayPal. When you get this 
> request, again you log in to your account and follow the instructions there. 
> You never ever download any files from anywhere else and "follow 
> instructions". Really. Never.
> 
> Now, if you or anyone else still think that there might be cases when you 
> need to give PayPal any information without logging in on your account first: 
> read the above again. There are no such cases. Period.
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> 
> What does that error mean? Buy LiveCodeErrors for iPhone now 
> http://qery.us/v4 A must-have for LiveCode programmers.
> 
> On 13 aug 2011, at 15:40, Richmond Mathewson wrote:
> 
>> Dear Liovecode users, I need a spot of advice re the following e-mail I just 
>> recieved:
>> 
>> "Dear PayPal member, Your account has been temporarily limited. Please 
>> download the form and follow the instructions on your screen. NOTE: The form 
>> needs to be opened in a modern browser which has javascript enabled (ex: 
>> Internet Explorer, Firefox ,Netscape) Submitting this form you will unlimit 
>> and restore your PayPal account . If you are using Internet Explorer please 
>> allow ActiveX for scripts to perform all data transfers securely . Thank 
>> You. Thanks for using PayPal ."
>> 
>> Why, Oh Why, does that make me feel uneasy?
>> 
>> Should I or shouldn't I?
>> 
>> Please advise.
>> 
>> Richmond.
> 
> 
> _______
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

--
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] advice as to whether this is a scam?

2011-08-13 Thread Pierre Sahores
In addition to Richard's notes, PayPal does never send you emails without 
naming you by your compete registration name. If the mail don't contains it, 
it's scram. Those scams are very current and we just have to trash them (and 
never follow the provided phishing links...).

Le 13 août 2011 à 17:38, Richard Gaskin a écrit :

> Richmond wrote:
>> Dear Liovecode users, I need a spot of advice re the following e-mail I
>> just recieved:
>> 
>> "Dear PayPal member, Your account has been temporarily limited. Please
>> download the form and follow the instructions on your screen. NOTE: The
>> form needs to be opened in a modern browser which has javascript enabled
>> (ex: Internet Explorer, Firefox ,Netscape) Submitting this form you will
>> unlimit and restore your PayPal account . If you are using Internet
>> Explorer please allow ActiveX for scripts to perform all data transfers
>> securely . Thank You. Thanks for using PayPal ."
>> 
>> Why, Oh Why, does that make me feel uneasy?
>> 
>> Should I or shouldn't I?
>> 
>> Please advise.
> 
> Definitely a scam.
> 
> When in doubt you can forward any questionable email that claims to be from 
> PayPal to an address that PayPal maintains to collect and advise on such 
> things:
> 
> sp...@paypal.com
> 
> In most cases (every time so far for me) you'll get an email confirming that 
> it's a scam.
> 
> I very much appreciate that PayPal takes this proactive approach to spoofs.
> 
> PayPal rarely sends emails, so most you'll see that appear to come from them 
> are scams, esp. those with some sort of claim that your account is "limited".
> 
> Moreover, nothing at PayPal requires any platform-specific components like 
> ActiveX.
> 
> Until Microsoft throws their IE engine into the trash where it belongs and 
> adopts WebKit instead (yeah, right, that'll happen when they replace their 
> kernel with a more sensible Unix derivative; i.e., "not anytime soon"), 
> ActiveX remains one of the most serious security vulnerabilities affecting a 
> majority of computing users and should always be as restricted as possible.
> 
> Any developer making public web sites which require ActiveX should be 
> replaced with someone possessing better professional judgment.
> 
> --
> Richard Gaskin
> Fourth World
> LiveCode training and consulting: http://www.fourthworld.com
> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
> 
> ___
> use-livecode mailing list
> use-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: AW: AW: how to copy a folder from preferences under lion?

2011-08-10 Thread Pierre Sahores
Thanks Apple to invite us to understand that good time is coming for FOSS Posix 
OS ;-)

Le 10 août 2011 à 17:46, Bob Sneidar a écrit :

> I think if Apple decided to lock people out of their own preference files, 
> they should have provided a migration utility themselves. 
> 
> Bob
> 
> 
> On Aug 10, 2011, at 8:30 AM, Tiemo Hollmann TB wrote:
> 
>> Thanks Richard,
>> I think for my usage of offering a migration tool it's a bit to much. I
>> think I'll let die my old files where they are and let the user install them
>> fresh in the new location. If somebody complains about my dead files I'll
>> let him call apple.
>> Tiemo
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

--
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: [Server] create stack trouble

2011-08-10 Thread Pierre Sahores
Hello Björnke,

We probably need to get in mind that desktop apps stacks and server's stacks 
are not dedicated to do the same jobs !

On the left, desktop apps stacks are handled in RAM as long running processes 
and this give us lots of possibilities, sockets management included. If you 
really search a way to handle such stacks in a server-side long running 
application's server context, feel free to refer and use the method and tools i 
forwarded to the community years ago about the subject in visiting 
<http://www.sahores-conseil.com/insead/>. This is a good way to go as long as 
we remind that the stack component is not running in multithread mode...

On the right, LC-server stacks are only dedicated to work as command-line or 
CGI driven protected libs components and because this restriction they are able 
to run in multithread mode and this was wanted/needed to get LC-server able to 
become a rock-solid server-side alternative to Java or PHP.

In a perfect world - and this will perhaps become the case later if RunRev get 
good incomes from the LC-server product - the next step could be to get a new 
kind of product as an LC-application's server running in the way JBoss, 
WebSphere, WebLogic, etc... are able to do. But, at this point, frankly, i'm 
not sure that this way to go would really helps as long as all good n-tier apps 
relies mainly on methodology, design and good practices to handle their tasks 
as stateless jobs.

In other words, if an n-tier app can be build on top of JBoss (long running 
process), it can be build as well as a CGI tasks collection too and the 
difference will mainly rely on the fact that the second code implementation 
will need to be more clean and compact than the one we could build for JBoss in 
using toons of unproductive frameworks (Eclipe, Ant, Hibernate, Struts, etc...).

Just a simple tough ;-)

Kind Regards,

Pierre

> The stack is a complex beast, and for a reason. It allows for dozens of 
> different user cases, and to support all of those possibilities, all the 
> stack features need to be available. There is never one use for any component 
> in LC, instead everything hooks together to allow the dozens approaches we 
> all love for achieving a single goal.
> 
> Björnke
> 
> -- 
> Watch live presentations every Saturday:
> http://livecode.tv
> 
> Use an alternative Dictionary viewer:
> http://bjoernke.com/bvgdocu/
> 
> Chat with other RunRev developers:
> http://bjoernke.com/chatrev/
> 
> 
> ___
> use-livecode mailing list
> use-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: [Server] create stack trouble

2011-08-09 Thread Pierre Sahores
Hi Jacques,

Stephen (Brancard) noticed some days ago that in double clicking any server's 
stack from within our FTP browser window, the stack will be directly opened in 
our LC desktop IDE. In this way, we can edit our code exactly as if the stack 
went stored locally and we can use the IDE debbuger, etc... before saving back 
transparently the stack to the server when the work is done. Not sure, at this 
point, that the On-Rev client will really stay an easiest way to go...

Kind regards,

Pierre

(Mac OS X, CyberDuck, LC 4.6.3)

PS : LiveCode : 1 ; Java* / Harmony** + Eclipse*** + Ant**, Cocoon**, 
Geronimo**, Jakarta**, Struts**, Tomcat**, etc... : 0

* Oracle owned
** Apache Fundation FOSS projects
*** Eclipse fundation FOSS project


Le 9 août 2011 à 22:58, jacques CLAVEL a écrit :

> I agree, Pierre,
> 
> Nice job from RunRev guys. Now the On-Rev client has to be updated, and all
> will be perfect.
> 
> Jacques
> 
> 2011/8/9 Pierre Sahores 
> 
>> Hi Björnke,
>> 
>> The main goal of using the server's stack component is to let us store our
>> code as password protected libraries instead of storing it in unprotected
>> flat text .irev components. This server's stack component is useful each
>> time we need to install our LC-server solutions on clients servers on a
>> license basis contract.
>> 
>> In this sense, the server's stack component fits all the n-tier development
>> expectable needs and, from my point of view at least, RunRev did a 100%
>> perfect work in realizing it. We are now able to deliver our solutions in
>> the same ways Java or Zend developers are doing with their own protected
>> libs. I have to add that this new component works 100% fine in any situation
>> my apps needs to address and that RunRev need to be warmly thanks for all
>> the great opportunities that we become able to cover in using it.
>> 
>> More : on Posix platforms at least, our .lc+.livecode driven server's apps
>> are running in multi-thread mode under the control of the underlying OS +
>> Apache CGI gateway components. As we would say there in southern Europe :
>> "C'est la totale !"
>> 
>> More2 : n-tier development need to be designed with different eyes we use
>> to develop desktop apps (and relevant stack's components). LC has yet become
>> a perfect development platform in both worlds and we just have to choose the
>> right ways to go to get the job done.
>> 
>> ;D
>> 
>> Le 9 août 2011 à 15:47, Björnke von Gierke a écrit :
>> 
>>> As someone said "why use stacks when you could save your things into text
>> files". He's right and actually that makes more sense then using the
>> currently available, partially implemented stacks at all
>> 
>> --
>> 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: LC 4.6.3 last available version ?

2011-08-09 Thread Pierre Sahores
Thanks John ! 

1445 build works perfectly fine there now because you ;-)

Kind regards,

Le 9 août 2011 à 19:37, John Dixon a écrit :

> No, there is build 1445..
>> Is LC 4.6.3 build 1444 the last available version ? If yes, i can see two 
>> problems with it (MBP i7 266 Ghz, MacOS X 10.6.8) :
> 
>> Pierre Sahores
> 
> 
> ___
> use-livecode mailing list
> use-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


LC 4.6.3 last available version ?

2011-08-09 Thread Pierre Sahores
Hi Friends,

Is LC 4.6.3 build 1444 the last available version ? If yes, i can see two 
problems with it (MBP i7 266 Ghz, MacOS X 10.6.8) :

1.- The "About LiveCode" item menu don't seems to work.
2.- The "Dictionary" item menu opens an empty dictionary template.

Did i miss something ?

Kind 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: [Server] create stack trouble

2011-08-09 Thread Pierre Sahores
Hi Björnke,

The main goal of using the server's stack component is to let us store our code 
as password protected libraries instead of storing it in unprotected flat text 
.irev components. This server's stack component is useful each time we need to 
install our LC-server solutions on clients servers on a license basis contract.

In this sense, the server's stack component fits all the n-tier development 
expectable needs and, from my point of view at least, RunRev did a 100% perfect 
work in realizing it. We are now able to deliver our solutions in the same ways 
Java or Zend developers are doing with their own protected libs. I have to add 
that this new component works 100% fine in any situation my apps needs to 
address and that RunRev need to be warmly thanks for all the great 
opportunities that we become able to cover in using it.

More : on Posix platforms at least, our .lc+.livecode driven server's apps are 
running in multi-thread mode under the control of the underlying OS + Apache 
CGI gateway components. As we would say there in southern Europe : "C'est la 
totale !"

More2 : n-tier development need to be designed with different eyes we use to 
develop desktop apps (and relevant stack's components). LC has yet become a 
perfect development platform in both worlds and we just have to choose the 
right ways to go to get the job done.

;D

Le 9 août 2011 à 15:47, Björnke von Gierke a écrit :

> As someone said "why use stacks when you could save your things into text 
> files". He's right and actually that makes more sense then using the 
> currently available, partially implemented stacks at all

--
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] Internet Censorship

2011-08-05 Thread Pierre Sahores
banned in France.

Le 6 août 2011 à 05:31, stephen barncard a écrit :

> banned in San Francisco CA.
> 
> On 5 August 2011 20:25, Alejandro Tejada  wrote:
> 
>> Hi All,
>> 
>> How many of you could view this youTube video?
>> http://www.youtube.com/watch?v=R0IcvVF-p_k
>> 
>> This video is a segment of Howard Goodall's
>> 2006 documentary: How Music Works
>> 
>> You could find many more segments in youTube
>> when you select the option "Videos" in google.
>> 
>> The message that appears in my side of the world is:
>> "This video contains content from SME, who has blocked it
>> in your country on copyright grounds."
>> 
>> SME is Sony Music Entertainment...
>> 
>> Could you post your country and the message
>> that appears?
>> 
>> Thanks in advance!
>> 
>> Al
>> 
>> --
>> View this message in context:
>> http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3722715.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
>> 
> 
> 
> 
> -- 
> 
> 
> 
> Stephen Barncard
> San Francisco Ca. USA
> 
> more about sqb  <http://www.google.com/profiles/sbarncar>
> ___
> use-livecode mailing list
> use-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: Where does survive the inventive user ?

2011-08-04 Thread Pierre Sahores

Le 4 août 2011 à 06:30, Judy Perry a écrit :

> Something better is needed... and geared towards the true inventive user and 
> less towards the newbie programmer.

The great strength of HyperCard was to offer us hundreds of preprogrammed 
stacks that we could arrange as a lego to build our first applications before 
we had to put our fingers in the dust to understand how these stacks were coded.

--
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 : Where does survive the inventive user ?

2011-08-03 Thread Pierre Sahores
Hi Roger,

Thanks for the link... Loan sharking is the most destructive way of putting the 
theory of increasing returns in the interests of a few still fewer.

Saas information systems tailored to the needs of the majority are the other 
possible scope of the economic model of increasing returns to pool resources 
usually destroyed by the models of economic development of the shortage...

Usury is the first way to produce 
Le 30 juil. 2011 à 17:31, Roger Eller a écrit :
> 
> This video is a very informative explanation of where money 'actually' comes
> from.  It's shocking if you've not seen it before.
> 
> http://video.google.com/videoplay?docid=-2550156453790090544#
> 
> ˜Roger
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
--
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] Flash is NOT Dead

2011-08-03 Thread Pierre Sahores
Dear All,

In reading carefully the 
http://www.telecomtv.com/comspace_newsDetail.aspx?n=47914&id=e9381817-0593-417a-8639-c4c53e2a2a10
 article Lan pointed out to our eyes, i tough that Adobe is providing us a way 
to avoid to have to share 30% of our Apple (and others Intel's, etc...) 
targeted apps with the different app's stores lowered priced phishing systems.

In building our clients side and desktop apps n using HTML5/CSS3 GUI, we can 
stay free to make them available to market without having to depend from the 
different App's stores systems. In this way, Adobe seems to share with Google 
the idea that making the developers more free and independent from Apple (and 
other...) central online stores is the way to go, even if they have to kill 
Flash in replacing it by its new Edge package.

At this point, LC (where security tasks makes HTML5/CSS3 unusable - 
enterprise-level apps context) and LC-Server, could become two of the first 
winners of the Big One Adobe is targeting against Apple under the interested 
eyes of Google and, even, Microsoft it self...

Just as 0.5 cent ;-)

Le 3 août 2011 à 03:23, Alejandro Tejada a écrit :

> Hi All,
> 
> 
> Andre Garzia-3 wrote:
>> 
>> I personally think that flash is a great way to make web games... it has a
>> huge market penetration and looks like javascript...
>> 
> 
> Flash is not dead, but it will be making place for HTML5,
> an open standard.
> 
> This is the way it should be: an open standard that moves
> slowly but surely... and (hopefully) more than one propietary
> alternatives adding value, over the standards.
> 
> A book about Postscript language was my first programming
> book, so I keep Adobe in great esteem, so for this reason:
> 
> I wish to each development platform, a deserved and well 
> earned share of sucess in this 21st century! :-D
> 
> Al
> 
> --
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/OT-Flash-is-Dead-tp3712744p3714170.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: www.ted.com/talks -- anyone watch them?

2011-08-02 Thread Pierre Sahores
Thanks Michael !

Le 2 août 2011 à 00:30, Michael Kann a écrit :

> I've put together a web page to make it easier to navigate the videos at 
> www.ted.com/talks -- especially if your native language is not English. If 
> anyone is interested I'll polish it up and let it loose.
> 
> Mike
> 
> 
> ___
> use-livecode mailing list
> use-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 : (33) 6 03 95 77 70

www.wrds.com
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: Where does survive the inventive user ?

2011-08-02 Thread Pierre Sahores
Hi Roger,

Thanks for the link... Loan sharking is the most destructive way of putting the 
theory of increasing returns in the interests of a few still fewer.

Saas information systems tailored to the needs of the majority are the other 
possible scope of the economic model of increasing returns to pool resources 
usually destroyed by the models of economic development of the shortage...

Usury is the first way to produce 
Le 30 juil. 2011 à 17:31, Roger Eller a écrit :
> 
> This video is a very informative explanation of where money 'actually' comes
> from.  It's shocking if you've not seen it before.
> 
> http://video.google.com/videoplay?docid=-2550156453790090544#
> 
> ˜Roger
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
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: [server] using STACKS within ON-REV

2011-08-01 Thread Pierre Sahores
Problem solved : no need to care about the global vars declarations 
(unchanged). My problem was lying in the fact that LC-Server stacks libs 
statements needs to be addressed as functions or commands and that direct 
statements alike :

 Hi Friends,
> 
> Is there some special precautions to take in about global variables 
> management and share between lc flat scripts and the stacks libs referenced 
> on top of the lc script ?
> 
> My habit is to declare all my global vars on top of both the lc scripts 
> (witch works fine) :
> 
>> global var1,var2,etc...
>> 
>> function onef params
>> ...
>> end onef
>> 
>> function twof
>> ...
>> end twof
>> 
>> command onec
>> ...
>> end onec
>> 
> 
> and in the stack script (lib)
> 
> witch don't seems to be seen by the lc script after i include 
> 
>> start using stack 
> 
> 
> while the stack is clearly well seen by the script (functions no using vars 
> are well executed by the lc script)
> 
> Where am i wrong and what means that the globals are not dynamically viewable 
> in between the lc scripts and stack-lib.livecode library ?
> 
> Thanks for any help.
> 
> I hope not to have to declare each global used by the stack lib below each 
> function / command declaration alike this
> 
>> function onef
>>  global var1
>>  ...
>> end onef
> 
> 
> Kind regards,
> 
> Pierre
> 
> 
> Le 1 août 2011 à 19:30, J. Landman Gay a écrit :
> 
>> On 8/1/11 10:40 AM, Robert Mann wrote:
>> 
>>> This is the very simple test I made :: made a simple "teststack.livecode" in
>>> the IDE : it contains 3 cards and 3 fields, and a few test functions.
>>> Dropped it in a test folder on my on-rev account, and added an index.lc file
>>> at the same level.
>>> 
>>> problems ::
>>> 
>>> 1) go stack DOES NOT work
>>> 
>>> 2) start using stack, seems to swallow all handlers from stackTest into the
>>> HOME stack, so that they loose all the context of their original stack.
>>> 
>>> 3) fields on cards can be accessed IF THE name of the stack is precised each
>>> time.
>>> 
>>> So that requires to write handlers in a different way,  a standard stack
>>> will break very easily on the server if an implicit ref. to a field is used.
>>> 
>>> Any comment? Do I get it right? does "go stack work for some?
>> 
>> These things have always been true of all server-related syntax, including 
>> the old CGI method. "Go" is a GUI command, and includes an instruction to 
>> redraw a card. The server has no GUI, so a redraw throws an error. Instead 
>> of "go", just reference the card remotely.
>> 
>> Long object names have also always always been required for all server work. 
>> The rule of thumb is to always use long object names, never try to navigate 
>> within a stack, and always use remote references:
>> 
>> go card 1 -- fails
>> go stack "testStack" -- fails
>> get the text of field 1 of card 1 of stack "testStack" -- works
>> 
>> The "start using" command has also always been required. It is the only way 
>> to implement a library script on a server.
>> 
>> I don't think there is a Home stack on a server; there are only libraries 
>> that sit behind the web page in the hierarchy.
>> 
>> From my old CGI tutorial 
>> <http://www.hyperactivesw.com/cgitutorial/scripts1.html#trouble>:
>> 
>> 
>> Some native Revolution commands that don't work (and may hang your script) 
>> are:
>> 
>>   go - requires a GUI window redraw
>>   toplevel - GUI-based
>>   modeless (or any other stack modes) - GUI-based
>>   create stack (or any file creation) - CGI permissions restriction
>>   save stack (errors with "can't open stack backup file") - permissions 
>> restriction
>>   beep - GUI-based
>> 
>> 
>> I haven't worked with the new server yet, but since the current directory on 
>> the server is outside the CGI-bin folder, creating new stacks and files 
>> would be possible, unlike the old CGI method in the tutorial.
>> 
>> -- 
>> 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 : (33) 6 03 95 77 70
> 
> www.wrds.com
> www.sahores-conseil.com
> 
> 
> 
> 
> 

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
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: [server] using STACKS within ON-REV

2011-08-01 Thread Pierre Sahores
Hi Friends,

Is there some special precautions to take in about global variables management 
and share between lc flat scripts and the stacks libs referenced on top of the 
lc script ?

My habit is to declare all my global vars on top of both the lc scripts (witch 
works fine) :

> global var1,var2,etc...
> 
> function onef params
> ...
> end onef
> 
> function twof
> ...
> end twof
> 
> command onec
> ...
> end onec
> 

and in the stack script (lib)

witch don't seems to be seen by the lc script after i include 

> start using stack 


while the stack is clearly well seen by the script (functions no using vars are 
well executed by the lc script)

Where am i wrong and what means that the globals are not dynamically viewable 
in between the lc scripts and stack-lib.livecode library ?

Thanks for any help.

I hope not to have to declare each global used by the stack lib below each 
function / command declaration alike this

> function onef
>   global var1
>   ...
> end onef


Kind regards,

Pierre


Le 1 août 2011 à 19:30, J. Landman Gay a écrit :

> On 8/1/11 10:40 AM, Robert Mann wrote:
> 
>> This is the very simple test I made :: made a simple "teststack.livecode" in
>> the IDE : it contains 3 cards and 3 fields, and a few test functions.
>> Dropped it in a test folder on my on-rev account, and added an index.lc file
>> at the same level.
>> 
>> problems ::
>> 
>> 1) go stack DOES NOT work
>> 
>> 2) start using stack, seems to swallow all handlers from stackTest into the
>> HOME stack, so that they loose all the context of their original stack.
>> 
>> 3) fields on cards can be accessed IF THE name of the stack is precised each
>> time.
>> 
>> So that requires to write handlers in a different way,  a standard stack
>> will break very easily on the server if an implicit ref. to a field is used.
>> 
>> Any comment? Do I get it right? does "go stack work for some?
> 
> These things have always been true of all server-related syntax, including 
> the old CGI method. "Go" is a GUI command, and includes an instruction to 
> redraw a card. The server has no GUI, so a redraw throws an error. Instead of 
> "go", just reference the card remotely.
> 
> Long object names have also always always been required for all server work. 
> The rule of thumb is to always use long object names, never try to navigate 
> within a stack, and always use remote references:
> 
>  go card 1 -- fails
>  go stack "testStack" -- fails
>  get the text of field 1 of card 1 of stack "testStack" -- works
> 
> The "start using" command has also always been required. It is the only way 
> to implement a library script on a server.
> 
> I don't think there is a Home stack on a server; there are only libraries 
> that sit behind the web page in the hierarchy.
> 
> From my old CGI tutorial 
> <http://www.hyperactivesw.com/cgitutorial/scripts1.html#trouble>:
> 
> 
> Some native Revolution commands that don't work (and may hang your script) 
> are:
> 
>go - requires a GUI window redraw
>toplevel - GUI-based
>modeless (or any other stack modes) - GUI-based
>create stack (or any file creation) - CGI permissions restriction
>save stack (errors with "can't open stack backup file") - permissions 
> restriction
>beep - GUI-based
> 
> 
> I haven't worked with the new server yet, but since the current directory on 
> the server is outside the CGI-bin folder, creating new stacks and files would 
> be possible, unlike the old CGI method in the tutorial.
> 
> -- 
> 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 : (33) 6 03 95 77 70

www.wrds.com
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: Where does survive the inventive user?

2011-07-29 Thread Pierre Sahores
"The artistry of open source may be subtle, but it's pervasive." - Sir Richard 
Gaskin -

;-)

Le 29 juil. 2011 à 17:51, Richard Gaskin a écrit :

> Alejandro Tejada wrote:
> 
>> Thinking about inventive users and open source software...
>> 
>> When I first read about the Open Source movement,
>> I though that it was a group of developers that
>> wanted to create software in the same way that an
>> artist creates his work:
>> 
>> A lasting work of art that trascend time
>> because of his many outstanding and
>> unique qualities...
>> 
>> Hmmm, looks like I was wrong in my first impression
>> about Open source, but just in case:
>> 
>> Could anyone show me these outstanding artistic
>> qualities in Open Source software?
> 
> That's a very thoughtful question, Alejandro.  I'm certainly no FOSS expert, 
> and perhaps Mark Weider or David Bovill can contribute more concretely here, 
> but that didn't stop me from writing my own offhand thoughts on this.  ;)
> 
> As sometimes happens during my morning coffee, that got a bit lengthy for 
> this list, so out of respect for the readers' bandwidth here in this OT 
> thread I posted it to the LiveCode Journal blog:
> 
> <http://livecodejournal.com/blog.irv?pid=1311953300.756699>
> 
> --
> Richard Gaskin
> Fourth World
> LiveCode training and consulting: http://www.fourthworld.com
> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
> 
> ___
> use-livecode mailing list
> use-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 : (33) 6 03 95 77 70

www.wrds.com
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] HTML5 Amazingness

2011-07-29 Thread Pierre Sahores

Le 29 juil. 2011 à 16:24, Richard Gaskin a écrit :

> Andre Garzia wrote:
> 
>> OK Go has the best music videos... for those not familiar check out
>> http://www.youtube.com/watch?v=qybUFnY7Y8w :-)
> 
> My friend and neighbor worked on the crew for that video, one of the happy 
> cheering faces in the loft above the band near the end.  The pile of smashed 
> TVs in the background barely tells the story of how difficult it was to make; 
> more telling is the exhausted look on the band members' faces.  IIRC he told 
> me that the final take we see in that video happened around 3:30AM after many 
> dozens of takes, each one requiring all of the elements to be reset (note the 
> amount of paint on their splash suits at the start of the video).
> 
> As much as I appreciate the technical flourish of the Chrome app, I'm even 
> more impressed by the low-tech Rube Goldberg machine they set up for that 
> video.  Now *that's* ingenuity.

and still so refreshing ;-)
> 
> --
> Richard Gaskin
> Fourth World
> LiveCode training and consulting: http://www.fourthworld.com
> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
> 
> ___
> use-livecode mailing list
> use-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 : (33) 6 03 95 77 70

www.wrds.com
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: Where does survive the inventive user?

2011-07-29 Thread Pierre Sahores
If we believe that technical design can be arts relevant (my case,...), 
sailboats, cars or information's systems can be arts relevant ;-) it's probably 
why the Alan's Turing works gave the binary coding paradigm to computers, 
because why the Linus Torwalds initiative gave us Linux, because why John Mc 
Carty LISP, because the elegance of PostgresQL where Oracle is just a big sad 
truck..., because technical skills mainly serves visions and not the inverse...

Even if xtalk is not open-source, the non technical guys whose invented xtalk, 
Metacard and LiveCode and we, the xtalk dev community are dependent from the 
open-source tools we are binding to our LC solutions. It's at least my case and 
i'm every day graceful about this.

Le 29 juil. 2011 à 08:10, Alejandro Tejada a écrit :

> Could anyone show me these outstanding artistic
> qualities in Open Source software?

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
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] HTML5 Amazingness

2011-07-29 Thread Pierre Sahores
Extra ! Thanks for the link, Scott :-)

Le 29 juil. 2011 à 03:18, Scott Rossi a écrit :

> Requires Google Chrome:
> 
> http://www.allisnotlo.st/
> 
> (Note: shut down all other tabs in Chrome for a better experience.)
> 
> I think I actually said "OMG" out loud when I first saw this.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX 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 : (33) 6 03 95 77 70

www.wrds.com
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: Where does survive the inventive user ?

2011-07-29 Thread Pierre Sahores
The way was to handle TCP/IP trough MacOS 8 + WebSTAR 3 <--TCP AppleEvent 
sockets translator --> HC 2.4.1 hand made standalone server app (via Resedit, 
if i right remember...). Worked in single thread mode only because the OS and 
HC architectures ! ... Went to Linux, Apache and Metacard cgi because those 
limitations and because i did't trust in the WebObjects, ColdFusion and Visual 
Cafe first public versions i brought... ;-)

Le 29 juil. 2011 à 00:51, stephen barncard a écrit :

> I know, I tried to do it myself in the early 90s. TCP/IP on the mac was
> quite unreliable.
> 
> On 28 July 2011 15:00, Chipp Walters  wrote:
> 
>> 
>> 
>> Let's not forget, HC was a TCP/IP stack away from BEING a first browser (
>> http://www.isegoria.net/2008/05/hypercard-what-could-have-been/), so I'm
>> don't think it could happen again-- though of course I would be rooting for
>> it!
>> 
> 
> Stephen Barncard
> San Francisco Ca. USA
> 
> more about sqb  <http://www.google.com/profiles/sbarncar>
> ___
> use-livecode mailing list
> use-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 : (33) 6 03 95 77 70

www.wrds.com
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: Where does survive the inventive user?

2011-07-28 Thread Pierre Sahores
t; 
>> Today, I woke with an strange idea: Mobile computing
>> will displace desktop computing for most everyday
>> computing tasks in a really short time (5 to 10 years).
>> 
>> Tell me if this idea has a real basis or is just an echo of
>> the hype that surrounds the latest products.
>> 
>> Thanks in advance!
>> 
>> Al
>> 
>> --
>> View this message in context:
>> http://runtime-revolution.278305.n4.nabble.com/Where-does-survive-the-inventive-user-tp3696711p3696711.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
>> 
> 
> 
> 
> -- 
> http://www.andregarzia.com All We Do Is Code.
> ___
> use-livecode mailing list
> use-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 : (33) 6 03 95 77 70

www.wrds.com
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: [ANN] revIgniter v1.4b

2011-07-19 Thread Pierre Sahores
Thank you for your outstanding and major contribution to the LC-server 
frameworks main tools, Ralf ! 

All the best,

Le 19 juil. 2011 à 17:05, Ralf Bitter a écrit :

> 
> revIgniter v1.4b has been released.
> 
> This is the first version which respects the latest
> engine changes (LiveCode server version 4.6.3).
> Lots of adjustments were made and the whole
> Encrypt library is revised.
> 
> Keep in mind that this version is not compatible with
> revServer (engine versions before LiveCode server 4.6.3).
> 
> Info and download at: http://www.revigniter.com/
> 
> 
> 
> Ralf
> 
> 
> ___
> use-livecode mailing list
> use-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 : (33) 6 03 95 77 70

www.wrds.com
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 post detailing the technology and decisions behind my new website

2011-07-13 Thread Pierre Sahores
Well done ! Will probably follow you in adding it (as an option) to the 
widestep.fr platform.

;-)

Le 13 juil. 2011 à 19:18, Andre Garzia a écrit :

> Folks,
> 
> I've just added comments to the blog system by using Disqus.com I think it
> works and it is easier than writting my own.
> 
> :-)
> ___
> use-livecode mailing list
> use-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 : (33) 6 03 95 77 70

www.wrds.com
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: [ANN] AndreGarzia.Com new web page

2011-07-12 Thread Pierre Sahores
Andre,

Seems i will learn some important ways to go in reading it ;D

KR,

Pierre

Le 12 juil. 2011 à 06:02, Andre Garzia a écrit :

> On Mon, Jul 11, 2011 at 11:22 PM, Alejandro Tejada
> wrote:
> 
>> Hi Andre,
>> 
>> Your new website looks great!
>> Congratulations!
>> 
>> Only one question:
>> Does it really took 24 hours? :-)
>> 
> 
> 
> Alejandro,
> 
> It actually took less than 24h... I will write a little journal on how it
> was built shortly.
> 
> :-)
> 
> 
> 
> 
>> 
>> Alejandro
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> 
> -- 
> http://www.andregarzia.com All We Do Is Code.
> ___
> use-livecode mailing list
> use-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 : (33) 6 03 95 77 70

www.wrds.com
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: Rev Customer Databased Hacked?

2011-07-11 Thread Pierre Sahores
I changed all mine, even if they went in theory full safe. It's realy best for 
all of us to verify that our passwords are at least trusted as 100% safe by the 
cPanel AJAX tester. Any mix of letters, numbers and itemdels are always more 
trusty than only letters + numbers ;-)

Best, Pierre

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

> The advice to change password was *not* because of any success by any hacker
> at accessing your (our) password information.
> 
> BUT because the hacker now has username and on-rev domain name, *if* you
> have a weak password it would be wise to change it to one that may be harder
> to try and attack by dictionary/brute force, should the hacker try in the
> future to use the list of usernames to find a weak nut to crack.

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
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: Rev Customer Databased Hacked?

2011-07-11 Thread Pierre Sahores
An useful link to check our n-tier stuffs against those 25 rules ! Thanks 
Richard.

Pierre

Le 11 juil. 2011 à 17:48, Richard Gaskin a écrit :

> Michael Kann wrote:
> 
> > I was more concerned that any data was obtainable from the outside
> > at all.
> 
> A concern, but not a surprise, given the range of software components that 
> comprise modern web apps.  I think it speaks well of the RunRev that 
> passwords weren't compromised.
> 
> Oddly enough I was writing this morning's post to the LiveCode Journal blog 
> about security when this thread showed up here.  The post includes a couple 
> helpful links, the best one being to a recent report of the 25 Most Dangerous 
> Software Errors:
> 
> <http://livecodejournal.com/blog.irv?pid=1310397018.990871>
> 
> --
> Richard Gaskin
> Fourth World
> LiveCode training and consulting: http://www.fourthworld.com
> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
> 
> ___
> use-livecode mailing list
> use-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 : (33) 6 03 95 77 70

www.wrds.com
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: [ANN] AndreGarzia.Com new web page.

2011-07-10 Thread Pierre Sahores
Look great ;-)

Le 10 juil. 2011 à 06:05, Andre Garzia a écrit :

> Hello Folks,
> 
> It is full of joy and pride that I announce my website redesign here. Those
> that accessed my home page recently knew that it was not being updated
> often, actually, it was not being updated at all. I always wanted to
> recreate everything with LiveCode and now I've did it. I started yesterday,
> Friday and after a little more than 24h I've got a brand new website. This
> is a testimonial of how easy it is to build web stuff with the new LiveCode
> Server.
> 
> This new page will serve as a hub for all my new developments and I plan to
> release many many many things during the next days and weeks. I welcome
> feedback and comments.
> 
> http://andregarzia.com
> 
> =)
> 
> 
> For those that want to know, this homepage is driven with LiveCode Server.
> It uses RevIgniter Framework. It uses no database at all, the pages are all
> text files with HTML and special syntax in it. Keeping it simple allowed me
> to deliver a full website in less than 24h. The site is easy to extend and
> change. Since I am the developer and the user, I don't need an
> administration interface, I can create pages by simply dropping plain text
> files in the correct place and tweek things by editing special files.
> 
> -- 
> http://www.andregarzia.com All We Do Is Code.
> ___
> use-livecode mailing list
> use-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 : (33) 6 03 95 77 70

www.wrds.com
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: answer file filter

2011-07-08 Thread Pierre Sahores
the correct address is 

http://www.frederikseiffert.de/filetype/

Thanks for the Moly Revenge link ;-)


Le 8 juil. 2011 à 22:17, Pete a écrit :

> Thanks Pierre, I will get that.
> Pete
> Molly's Revenge <http://www.mollysrevenge.com>
> 
> 
> 
> 
> On Fri, Jul 8, 2011 at 1:01 PM, Pierre Sahores  wrote:
> 
>> Hi Pete,
>> 
>> Get the "FileType" free soft from http://www.frederikseiffert.de/filetype/to 
>> the needed info ;-)
>> 
>> Best,
>> 
>> Le 8 juil. 2011 à 20:10, Pete a écrit :
>> 
>>> Thanks Klaus, didn't know about "the long files".  Actually, I think the
>>> code I'm looking for is RSTK - I think "Revo" is the creator code.
>>> Pete
>>> Molly's Revenge <http://www.mollysrevenge.com>
>>> 
>>> 
>>> 
>>> 
>>> On Fri, Jul 8, 2011 at 10:34 AM, Klaus on-rev >> wrote:
>>> 
>>>> Hi Pete,
>>>> 
>>>> Am 08.07.2011 um 19:30 schrieb Pete:
>>>> 
>>>>> What is the 4-character OS X file type of LC stack files (for use in
>> the
>>>>> answer file dialog)?
>>>> 
>>>> "the long files" tell me: Revo
>>>> 
>>>> ...
>>>> 
>> cp_test.rev,866,286,1218822737,1218823007,1309956285,0,502,80,644,RevoRSTK
>>>> 
>>>> 
>> xmlandarrays.rev,14457,286,1301151956,1301151956,1309366197,0,502,80,644,MCRDMSTK
>>>> ...
>>>> 
>>>> :-)
>>>> 
>>>>> Pete
>>>> 
>>>> Best
>>>> 
>>>> Klaus
>>>> 
>>>> --
>>>> Klaus Major
>>>> http://www.major-k.de
>>>> kl...@major.on-rev.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 : (33) 6 03 95 77 70
>> 
>> www.wrds.com
>> 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 : (33) 6 03 95 77 70

www.wrds.com
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: answer file filter

2011-07-08 Thread Pierre Sahores
Hi Pete,

Get the "FileType" free soft from http://www.frederikseiffert.de/filetype/ to 
the needed info ;-)

Best,

Le 8 juil. 2011 à 20:10, Pete a écrit :

> Thanks Klaus, didn't know about "the long files".  Actually, I think the
> code I'm looking for is RSTK - I think "Revo" is the creator code.
> Pete
> Molly's Revenge <http://www.mollysrevenge.com>
> 
> 
> 
> 
> On Fri, Jul 8, 2011 at 10:34 AM, Klaus on-rev wrote:
> 
>> Hi Pete,
>> 
>> Am 08.07.2011 um 19:30 schrieb Pete:
>> 
>>> What is the 4-character OS X file type of LC stack files (for use in the
>>> answer file dialog)?
>> 
>> "the long files" tell me: Revo
>> 
>> ...
>> cp_test.rev,866,286,1218822737,1218823007,1309956285,0,502,80,644,RevoRSTK
>> 
>> xmlandarrays.rev,14457,286,1301151956,1301151956,1309366197,0,502,80,644,MCRDMSTK
>> ...
>> 
>> :-)
>> 
>>> Pete
>> 
>> Best
>> 
>> Klaus
>> 
>> --
>> Klaus Major
>> http://www.major-k.de
>> kl...@major.on-rev.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 : (33) 6 03 95 77 70

www.wrds.com
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: Approved!

2011-07-01 Thread Pierre Sahores
Bravo :D

Le 1 juil. 2011 à 21:01, Dan Friedman a écrit :

> Hey all...  Apple just approved my second app, "Custom Blind Timer".  It's a 
> timer to run your poker tournament.  Like the last app, this one was also 
> created 100% in LiveCode.
> 
> http://itunes.apple.com/us/app/custom-blind-timer/id446493355?mt=8&ls=1
> 
> -Dan
> ___
> use-livecode mailing list
> use-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 : (33) 6 03 95 77 70

www.wrds.com
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: Red5 advice, anyone ?

2011-06-30 Thread Pierre Sahores
Hi Mark,

Thanks for the tip. Did you use the QT broadcaster to handle each client-side 
AV input ?
--
Best regards,

Pierre

Le 30 juin 2011 à 20:56, Mark Schonewille a écrit :

> Hi Pierre,
> 
> I was successful doing this with DSS. It was just an experiment and I used 
> only a few clients on a local network.
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> 
> New: Download the Installer Maker Plugin 1.6 for LiveCode here 
> http://qery.us/ce
> 
> On 30 jun 2011, at 20:25, Pierre Sahores wrote:
> 
>> Dear Friends and LC dev fellows,
>> 
>> Did anyone there build an advanced p2p video chat solution in mixing a 
>> Rev/LC client and, on the server-side : Red5 (java free implementation of 
>> the Adobe FMS streaming server) or an other Streaming Server solution.
>> 
>> I did't be successful in about this with Darwin Streaming Server witch is 
>> mainly useful in about on demand video streaming and on line conferencing in 
>> broadcast mode. As long as i know, DSS is not the best way to go in about 
>> P2P video chat with more than two connected peoples.
>> 
>> Any toughs would be vey helpful and appreciated !
>> 
>> 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
> 

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
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


Red5 advice, anyone ?

2011-06-30 Thread Pierre Sahores
Dear Friends and LC dev fellows,

Did anyone there build an advanced p2p video chat solution in mixing a Rev/LC 
client and, on the server-side : Red5 (java free implementation of the Adobe 
FMS streaming server) or an other Streaming Server solution.

I did't be successful in about this with Darwin Streaming Server witch is 
mainly useful in about on demand video streaming and on line conferencing in 
broadcast mode. As long as i know, DSS is not the best way to go in about P2P 
video chat with more than two connected peoples.

Any toughs would be vey helpful and appreciated !

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


--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
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: combination iPad/web app

2011-06-22 Thread Pierre Sahores
Should work as long as you accept to embed your app in the LC-plugin on the 
browser side.

Le 22 juin 2011 à 20:08, Chris Sheffield a écrit :

> Hi all,
> 
> I'm hoping someone will have an opinion on this.
> 
> What would be the feasibility of creating a single stack to run on both iPad 
> and in a browser? Can it work? I understand there would have to be some code 
> branching in order to handle the different environments. Would it be easier 
> to maintain two separate stacks?
> 
> Also, I don't know a lot when it comes to server scripting and communicating 
> with a database via server side scripts (most likely MySQL in this case). 
> Could an app like this communicate with the same server side database, 
> whether it's run on the iPad or in the browser, so that all data is "in the 
> cloud" so to speak?
> 
> Thanks,
> Chris
> 
> --
> Chris Sheffield
> Read Naturally, Inc.
> www.readnaturally.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 : (33) 6 03 95 77 70

www.wrds.com
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: Wondering about LC and HTML5

2011-06-21 Thread Pierre Sahores
Chipp,

I just have to follow Richard, Andre, ... on this.

The way i implement HTML5/CSS3/JS in my LC-server driven apps is not really 
complex at all and no far from funny to the end, something in between the 
feelings we had, as kids, in playing Lego and Meccano :D

I use HTML templates build on top of, in between other possible choices, the 
very simple to learn "Fluid 960GS" HTML/CSS/JQuery template framework :

<http://www.designinfluences.com/fluid960gs/>

About CSS, i use the CSSEdit 2 editor (Mac only) available there :

<http://macrabbit.com/cssedit/>

and the Stylizer app (Mac only) when i find on the web an interesting HTML/CSS 
template i want to learn about :

<http://www.skybound.ca/>

To the end, the LC-server xtalk code handle 95% of the final app logic and we 
just need to care about HTML/CSS/JS for the last 5%, and best, full reusable 
from an app to an other.

I don't think that having LC handling those 5% would help us at all, because 
the collision's troubles we could get in this way because HTMLText, Unicode 
glichies and more.

Just put the hand inside alike the first time you did with (wind)surfing or 
bicycle... The first steep will be a little unfriendly but after a week you 
will like to save lots of time in combining the power of LC with the primitive 
ways HTML5/CSS3/JS can be handle ;-)

Do you know that Danny Goodman is a long time Javascript unconditional fan ?

Best,

Pierre


Le 21 juin 2011 à 17:14, Richard Gaskin a écrit :

> That said, one of the most useful things about CSS, JS, and HTML is that 
> they're all just plain text, and LiveCode is unusually adept and manipulating 
> text.
> 
> I've ported some LiveCode apps to the web, and with new versions of my 
> WebMerge product I'm expanding on those systems quite a bit.
> 
> But I don't attempt to translate code.  Too much work.  There are so many 
> great resources for learning JavaScript, and the language itself is 
> reasonably sensible and kinda fun to use, that translation carries a very low 
> ROI (usually negative).
> 
> In the 21st century, not learning JavaScript is IMNSHO the biggest mistake 
> any software consultant can make.  Given the ubiquity of the web, the fact 
> that JavaScript is the only native language browsers provide, and the many 
> millions being poured into enhancing its performance and capabilities by 
> Apple, Microsoft, Google, and others, there's no reason not to become 
> competent with it.
> 
> Besides, as numerous studies show, learning new things keeps the mind nimble 
> and helps prevent some of the cognitive effects of aging. :)
> 
> So my own approach is very much like Andre's, using LiveCode for its GUI 
> strengths but avoiding the tilting-at-windmills of language/object model 
> translation.
> 
> I've been advocating this model here for many years:
> <http://lists.runrev.com/pipermail/use-livecode/2006-June/083956.html>
> 
> There's a lot that can be done with LiveCode to build toolkits to assist with 
> production of web apps, but the client-side business logic and interactivity 
> in those apps is best served by writing native JavaScript.
> 
> It's not hard to learn, and it can be a lot of fun.  The tools and resources 
> for learning it are completely free and widely available.

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
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: Wondering about LC and HTML5

2011-06-20 Thread Pierre Sahores
I don't expect that some "LiveCard" HC equivalent will ever help us to build 
professional grade HTML5/CSS3 LC powered client-side apps. On the other hand, 
in about server-side LC-server driven apps, i expect that a full revamped set 
of htmltext and unicode LC-engine features would greatly help us to improve the 
ways we could design and code very usable new kind of LC-based n-tier solutions.

Le 21 juin 2011 à 03:22, Andre Garzia a écrit :

> been there as well, I am circunventing the problem by not trying to solve
> it. Desktop code is not portable to server environment but if you start from
> the server point of view from the beggining then it is possible.

Kind regards,
--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
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 ??] OpenXION

2011-06-20 Thread Pierre Sahores
Went not Dr Scott Raney the mainly sole developer too of a very impressive MC 
platform before ? Rebecca Bettencourt seems both very able, ambitious and 
humble. Here is the report of a recent exchange i had with her and i hope that 
along or after its university studies, she will get time to provide to our 
xtalk community its own purpose  for cgi tasks. If this can happen, i'm very 
confident that the benefits will goes to both OpenXION and LC-Server. In my 
mind, LC-Server will need to rely on some serious challenger to get a chance to 
become a more visible and well accepted professional xtalk standard. In this 
way, i expect that both RunRev and all of our sweet LC dev community should 
stay tuned and be handy with Rebecca if she need some help from us to build and 
improve its C/C++ based CLI OpenXION open source xtalk.

>> Hi Pierre,
>> 
>> It will still be a while before I even start writing OpenXION 2.0, but
>> I think it would be cool if you could use XION to build web apps, so
>> I'll certainly put 'Apache module' on my list.
>> 
>> Thanks for writing,
>> Rebecca Bettencourt
>> Kreative Software
>> 
>> 
>> On Thu, Jun 2, 2011 at 7:05 AM, Pierre Sahores  
>> wrote:
>>> Dear Rebecca Bettencourt,
>>> 
>>> I just discovered your Openxion amazing initiative and i will closely 
>>> follow the progress of your project. Are you expecting to deliver an Apache 
>>> module along the C++ based version of your Openxion 2.0 for coming 
>>> pre-announced version ?
>>> 
>>> Thanks again for your initiative !
>>> 
>>> Kind Regards,
>>> --
>>> Pierre Sahores

Kind regards,

Pierre


Le 21 juin 2011 à 02:26, Björnke von Gierke a écrit :

> Sure,  xion might not be much. But it could be an easy way to use on the 
> server side, if the person making it wants to go that direction. Sure it's a 
> one person project, and probably never going to be a replacement for 
> livecode. But then, maybe it picks up, and that would be a benefit for 
> Livecode too.
> 
> On 21 Jun 2011, at 00:37, Paul Dupuis wrote:
> 
>> On 6/20/2011 6:10 PM, Richmond Mathewson wrote:
>>> On 06/21/2011 12:25 AM, Paul Dupuis wrote:
>>>> On 6/20/2011 3:25 PM, Richmond Mathewson wrote:
>>>>> http://code.google.com/p/openxion/
>>>>> 
>>>>> "XION is an xTalk language similar to the ones used by HyperCard, 
>>>>> SuperCard, and Runtime Revolution."
>>>>> 
>>>>> 
>>>> I'd like to know if RunRev has any involvement with this Open Source 
>>>> initiative or what their take on it is?
>>>> 
>>> 
>>> No, I'm sure they haven't.
>>> 
>>> OpenXION seems very odd indeed insofar as it is an xTalk dialect WITHOUT 
>>> the objects and
>>> the stacks on which those objects reside.
>>> 
>>> Rebecca Bettencourt [who has a long track record with this type of thing] 
>>> seems to be the driving force
>>> behind it; whether it will go the same way as her TileStack remains to be 
>>> seen.
>>> 
>> 
>> Okay, from Richard's reply and yours, I can see that OpenXION is nothing I 
>> need to pay attention to. I feel compelled to mention why I was interested 
>> though.
>> 
>> As a company that develops our entire product line in LiveCode, I readily 
>> acknowledge we gain many many benefits from doing so - cross-platform 
>> deployment, rapid application development, etc. etc. - over using a 
>> traditional language like C++. One disadvantage though using almost any 
>> proprietary development system is if something happened to the vendor 
>> (RunRev). Now, for the record, I find that highly unlikely given current 
>> trends. I very much admire RunRev's accomplishments and growth over the last 
>> couple of years and consider it a very well managed company likely to be 
>> around for a long time. But I would be irresponsible to my own company, if I 
>> did not at least take note of developments which might lessen that tiny tiny 
>> risk, such as xTalk having a common, open "standard' like C++. Had XION, 
>> which I was unfamiliar with, turned out to be a broader initiative to settle 
>> on an open standard for xTalk, it would have been something worth following.
>> 
>> Thanks for the replies.
>> 
>> -- 
>> Paul Dupuis
>> Cofounder
>> Researchware, Inc.
>> http://www.researchware.com/
>> 
>> 
>> ___
>> use-livecode mailing l

Re: the mouseText and Unicode: CONCLUSION

2011-06-19 Thread Pierre Sahores

Le 19 juin 2011 à 17:24, Slava Paperno a écrit :

> Glad to hear that, Pierre. I, too, think that html entities are an
> abomination.
> 
> I use SQLite for my bilingual texts in LC (dictionary entries), and it's
> working very well. Haven't used PostgreSQL yet. For my onlne databases I use
> MS SQL Server and ColdFusion.

PostgreSQL is just a very reliable ACID-SQL platform but, as long as i remember 
my NT4-Metacard-Apache-MS SQL time, MS SQL, is too, as its Sybase ASE origins 
suggest, is't ? ;-)
> 
> If you have any experience with DataGrids and Unicode, please share.

Sorry,  i did't handle this kind of way to handle data for yet but if it comes 
on desk,... :-)

A good day : i learned "Kindly" :D
Pierre
> 
> Kindly,
> 
> Slava
> 
>> -Original Message-
>> From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-
>> boun...@lists.runrev.com] On Behalf Of Pierre Sahores
>> Sent: Sunday, June 19, 2011 11:08 AM
>> To: How to use LiveCode
>> Subject: Re: the mouseText and Unicode: CONCLUSION
>> 
>> Thanks for your fantastic work, Slava !
>> 
>> I had to hack the LC htmltext features to build recent web apps and
>> it's yet sure that i will become able to replace all this stuff with
>> your UNICODE way to go. In using your method, it become simple to store
>> data in UTF8 format inside PostgreSQL and this will make a clear and
>> useful difference.
>> 
>> Kind regards,
>> Pierre
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-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 : (33) 6 03 95 77 70

www.wrds.com
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: the mouseText and Unicode: CONCLUSION

2011-06-19 Thread Pierre Sahores
Thanks for your fantastic work, Slava !  

I had to hack the LC htmltext features to build recent web apps and it's yet 
sure that i will become able to replace all this stuff with your UNICODE way to 
go. In using your method, it become simple to store data in UTF8 format inside 
PostgreSQL and this will make a clear and useful difference.

Kind regards,
Pierre

Le 19 juin 2011 à 07:20, Slava Paperno a écrit :

> Thanks to everyone who posted all the fun stuff in this thread today.
> 
> The workaround below combines ideas from all of you.
> 
> I learned two essential things from you guys:
> 
> 1) mouseChunk, mouseText, mouseCharChunk, and a couple of related functions 
> return the positions of bytes, not characters. In a purely Roman or purely 
> non-Roman field this can be easily dealt with, but not in a bilingual text. 
> (Punctuation in a non-Roman text makes it bilingual.)
> 
> 2) a double-byte character whose first byte is such that byteToNum(it) 
> evaluates to 32 is taken by "the number of words" and probably other 
> functions to be a word boundary and makes them confused; an example is the 
> Russian upper case R (decimal 1056).
> 
> Here is a handler that works, with copious comments. If any of them are 
> wrong, please let me know.
> 
> =
> 
> on mouseUp
>   --this is attached to field  "TextToClick" that contains bilingual 
> (Russian+English) text;
>   --this field has its lockText set to true;
>   --the purpose of this exercise is to retrieve and display in another field 
> the word that the user has clicked;
>   --NOTE:  the mouseChunk and the mouseText are useless in a Unicode field;
>   --equally useless is the select command when used with these expressions, 
> as in "select the mouseChunk";
> 
>   local locStart, locEnd
>   local locClickedLine
>   local locEntireText
>   local locEscapeCounter
> 
>   if  the mouseCharChunk is empty then
>  set the unicodeText of field "ClickedWord" to uniEncode("You clicked an 
> empty space.", "UTF8")
>  exit mouseUp
>   end if
> 
>   put word 2 of the mouseLine into locClickedLine
>   --"line" is really a paragraph: it is defined by the return character, not 
> by soft wrapping; locClickedLine is not used below, but it is accurate
> 
>   put word 2 of the mouseCharChunk into locStart
>   put word 4 of the mouseCharChunk into locEnd
> 
>   --a strategy based on "the number of words in char 1 to locEnd" bombs when 
> the text before locEnd contains the upper case Russian  R (1056);
>   --this is probably because the first byte in the two-byte representation of 
> 1056 evaluates to 32, and LC takes it for a word delimiter;
> 
>   --relying on the accuracy of the values that are returned by the 
> mouseCharChunk is dubious because these are the positions of bytes, not 
> characters:
>   -- one byte for each Roman character and two bytes for each non-Roman 
> character; this kills a couple of other strategies
> 
>   --the strategy below is based of "the selection" and is not dependent on 
> the accuracy of the mouseCharChunk values: the correct chunk is selected 
> anyway
>   set useUnicode to true
>   put  the unicodeText of field "TextToClick" into locEntireText --this is 
> UTF16
>   put uniDecode(locEntireText, "UTF8") into locEntireText --this is UTF8
> 
>   --look for a word boundary to the left of the click
>   repeat until (locStart < 1)
>  if byteToNum(byte locStart of locEntireText) is among items of 9, 10, 32 
> then
> add 1 to locStart
> exit repeat
>  end if
>  subtract 1 from locStart
>   end repeat
> 
>   --look for a word boundary to the right of the click
>   repeat until (locEnd >= length(locEntireText))
>  if byteToNum(byte locEnd of locEntireText) is among items of 9, 10, 32 
> then
> subtract 1 from locEnd
> exit repeat
>  end if
>  add 1 to locEnd
>   end repeat
> 
>   select char locStart to locEnd of field "TextToClick" 
>   set the unicodeText of field "ClickedWord" to the unicodeText of the 
> selection
>   --adjacent punctuation will be displayed as part of the word and can be 
> easily trimmed   
>   pass mouseUp
> end mouseUp
> =
> 
> Slava
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-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 : (33) 6 03 95 77 70

www.wrds.com
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: ChartMaker server-side

2011-06-19 Thread Pierre Sahores
Hi Hugh,

Thanks for your message. I will investigate ChartMaker against the PHP graphs 
solutions as soon as the stack's support will be available for revServer and be 
back to you in the same time :D

Kind regards,

Pierre

Le 18 juin 2011 à 16:29, FlexibleLearning a écrit :

> Hi Pierre,
> 
> Have you tried it? I don't do anything server-side so cannot advise you
> specifically. Since it is a library of LiveCode with no other dependencies,
> it should be compatible with any LiveCode implementation. The only
> requirementis that the graphic be drawn to the first available topStack.
> 
> If a server-side ChartMaker has legs, contact me off-list and we can pursue
> the implementation.
> 
> Best regards
> 
> Hugh Senior
> FLCo
> 
> 
> 
> On Fri, 17 Jun 2011, Pierre Sahores wrote
> 
> Hi Hugh,
> 
> Thanks for this announcement. Is it or will it be soon, ways to use your
> library on the server-side (irev based, fore coming announced protected
> stacks support for LC-Server) just alike dedicated libs does under the PHP
> platform ?
> 
> Best regards,
> 
> Pierre
> 
> 
> ___
> use-livecode mailing list
> use-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 : (33) 6 03 95 77 70

www.wrds.com
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: [ANN] ChartMaker update

2011-06-17 Thread Pierre Sahores
Hi Hugh,

Thanks for this announcement. Is it or will it be soon, ways to use your 
library on the server-side (irev based, fore coming announced protected stacks 
support for LC-Server) just alike dedicated libs does under the PHP platform ?

Best regards,

Pierre

Le 17 juin 2011 à 18:49, FlexibleLearning a écrit :

> ChartMaker for LiveCode
> Version 2.1 build 49
> 
> A maintenance update is now available. It is free for all 2.1 registered
> users and a discounted price is available to version 2.0 users. Click the
> 'Check for updates' link in the software. There is a 30-day free trial if
> you do not yet have a licence.
> 
> http://www.flexiblelearning.com/chartmaker/versioning/whatsnew.htm
> 
> 
> What's New in build 49
> 
> Trend Line improvements
> • Two new chart styles.
> • DropShadows can now be applied to all chart types.
> • Improved axis labelling for smaller grid-based charts.
> • Graduated tint borders give a more polished look.
> • The Utility window now remembers its set-up and position between sessions.
> 
> 
> Video tutorials
> Are available on the support site at
> http://www.flexiblelearning.com/chartmaker/cmrc and on YouTube at
> http://www.youtube.com/user/ChartMaker4LC. All are bite-sized for easy
> digestion!
> 
> 
> Hugh Senior
> FLCo
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
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: UDP, multicast

2011-06-15 Thread Pierre Sahores
Jan,

Interesting ! 

Thanks for the tip.

Pierre

Le 15 juin 2011 à 06:59, Jan Schenkel a écrit :

> --- On Mon, 6/13/11, Maarten Koopmans  wrote:
>> Hi,
>> 
>> Is there a way to send or receive multicast in livecode? I
>> want to use that
>> with a TTL=2 so devices on the same network can discover
>> each other
>> (cross-platform).
>> 
>> Thanks,
>> 
>> Maarten
>> 
> 
> Hi Maarten,
> 
> LiveCOde has no built-in support for multicast, but you could try UDP 
> datagram broadcasting instead. If you're looking for an implementation of 
> Zeroconf (aka Bonjour in Apple parlance), you might consider using a separate 
> Java process to leverage the JmDNS library.
> 
> I wrote up a blog post a while back:
> <http://quartam.blogspot.com/2011/01/zeroconfbonjour-in-livecode-with-jmdns.html>
> And I refined it slightly for my RunRevLive.11 presentation on Extending 
> LiveCode with Java, for which you can download the source code here:
> <http://downloads.quartam.com/elcwj.zip>
> 
> Of course this won't work on a platform that lacks a Java runtime (iOS) but 
> it's a great feature for any desktop application.
> 
> HTH,
> 
> Jan Schenkel.
> =
> Quartam Reports & PDF Library for LiveCode
> www.quartam.com
> 
> =
> "As we grow older, we grow both wiser and more foolish at the same time."  
> (La Rochefoucauld)
> 
> 
> ___
> use-livecode mailing list
> use-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 : (33) 6 03 95 77 70

www.wrds.com
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   >