Re: Comparison of Speed of LiveCode with PHP

2014-11-25 Thread Peter W A Wood
Geoff Thanks for your input. I think you are correct that the memory access comparison isn’t fair. I don’t have time right now but I’ll try to come up with a better comparison. I’m not convinced that the file comparison is fair. If LiveCode is appending the data to the file rather than

Re: Comparison of Speed of LiveCode with PHP

2014-11-25 Thread Peter W A Wood
Hi Andre I agree with your comments on the appropriateness of the tests. I’ll give some thought to incorporating more I/O based tests. Do you think that having FastCGI support so that LiveCode could be run behind a load balancing server would be an improvement from a scalability point of view.

Re: Comparison of Speed of LiveCode with PHP

2014-11-25 Thread Simon Smith
The benefit of FastCGI would be that the Fast cgi instance would always be running and would not need to be restarted every time a .lc script is parsed saving on the execution time. Even as a CGI process, LiveCode should already be able to run behind a load balancing server, Kind Regards Simon

Re: Comparison of Speed of LiveCode with PHP

2014-11-25 Thread Andre Garzia
Eons ago I created a library to do FastCGI from LiveCode. Even though my library supported multiplexing stuff LiveCode could not respond to more than one user at a time. If LC was multithreaded or had co-routines or fibers or whatever lightweight gizmo they could create in Scotland to let us run

Re: LC Script in PHP File

2014-11-25 Thread Andre Garzia
Peter, Most PHP installations will not allow file_get_contents() to be run on localhost to prevent infinite loops. I've been hurt by that before. cheers On Sun, Nov 23, 2014 at 5:09 AM, Peter W A Wood peterwaw...@gmail.com wrote: You should be able to use file_get_contents in PHP to do what

Re: LC Script in PHP File

2014-11-25 Thread Andre Garzia
I've just replied on another thread why FastCGI is not a good candidate for LiveCode in my humble opinion. As for Apache Modules, those things are on the way out. If we want LC Server to be taken seriously then it need to work with Apache and Nginx. it needs to work like Node, Ruby, Python and

Re: LC Script in PHP File

2014-11-25 Thread Peter W A Wood
Thanks for the clarification Andre. On 25 Nov 2014, at 19:18, Andre Garzia an...@andregarzia.com wrote: Peter, Most PHP installations will not allow file_get_contents() to be run on localhost to prevent infinite loops. I've been hurt by that before. cheers On Sun, Nov 23, 2014 at

Re: Stack Menu Mystery - Disappointing Documentation (Long, sorry)

2014-11-25 Thread Bob Sneidar
There is a checkbox in the menu builder called Set as Stack Menu bar. I’m wondering if that is what everyone means by a stack menu? If so, it seems that in order for your application to look and feel like a *real* app, you will need to employ this, at least for some apps. I have never heard of

Re: any use of pass by reference breaks any omitted variable?

2014-11-25 Thread Bob Sneidar
I went the other direction. on testReference put 8 into someVariable put 5 into someOtherVariable setVariable , someVariable -- second param omitted answer someVariable was 8, and is is now: someVariable end testReference on setVariable incomingVar, @someOtherVariable add 1 to

Re: any use of pass by reference breaks any omitted variable?

2014-11-25 Thread Bob Sneidar
correction first parameter omitted. On Nov 25, 2014, at 07:29 , Bob Sneidar bobsnei...@iotecdigital.commailto:bobsnei...@iotecdigital.com wrote: setVariable , someVariable -- first param omitted ___ use-livecode mailing list

Re: Stack Menu Mystery - Disappointing Documentation (Long, sorry)

2014-11-25 Thread Richard Gaskin
Bob Sneidar wrote: There is a checkbox in the menu builder called Set as Stack Menu bar. I’m wondering if that is what everyone means by a stack menu? Stack menus are far more primitive than that, going back to the very early days of MetaCard in which making a menu meant laying out buttons

[OT] Personal

2014-11-25 Thread Ralph DiMola
To all you RR-Liveers. I would like to first thank all of you that every year made Margaret feel at home and part of the extended LiveCode family. I am happy to report that after a 7.25 hour operation on her neck on 11/14 she is feeling much better today. She is up out of bed and the first set of

RE: reopen app from background iOS 7 and 8 / multitask

2014-11-25 Thread Ralph DiMola
I have used the plist hack for 3 years now. I know there are some threading issues with LC and the plist hack IS NOT supported or recommended by RunRev. That being said I have had no problems/customer complaints or trouble getting the app approved by Apple. My apps are a DB based applications and

Re: LC Script in PHP File

2014-11-25 Thread Richard Gaskin
Andre Garzia wrote: I've just replied on another thread why FastCGI is not a good candidate for LiveCode in my humble opinion. As for Apache Modules, those things are on the way out. If we want LC Server to be taken seriously then it need to work with Apache and Nginx. I like to imagine this

Re: [OT] Personal

2014-11-25 Thread Roger Eller
Prayers for a speedy recovery, and safe travels! It was a pleasure meeting you both at RR14. ~Roger Sent from my Android tablet On Nov 25, 2014 11:11 AM, Ralph DiMola rdim...@evergreeninfo.net wrote: To all you RR-Liveers. I would like to first thank all of you that every year made Margaret

Re: Comparison of Speed of LiveCode with PHP

2014-11-25 Thread Geoff Canyon
On Tue, Nov 25, 2014 at 5:16 AM, Andre Garzia an...@andregarzia.com wrote: co-routines mmm, co-routines... ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Detecting the active monitor under Mavericks and Yosemite...

2014-11-25 Thread Paul Dupuis
Starting with OSX 10.9 and 10.10, Apple introduced changes to how multiple monitors are handled. The menubar appears on all monitors and when you drag a window from one monitor to another the menubar for the application that window belongs to becomes active on the target monitor. Question: Does

Re: Stack Menu Mystery - Disappointing Documentation (Long, sorry)

2014-11-25 Thread Bob Sneidar
Nice. And along with that we should probably have the Menu Builder automatically create File and Edit menus complete with the script commands that make them work. For instance Save will save the current stack, Copy will copy whatever is currently selected, etc. We can code it now, but with many

Re: [OT] Personal

2014-11-25 Thread J. Landman Gay
I'm glad it all went well, Ralph. Please give my best wishes to Margaret, and hopes for a speedy recovery. On 11/25/2014, 10:11 AM, Ralph DiMola wrote: To all you RR-Liveers. I would like to first thank all of you that every year made Margaret feel at home and part of the extended LiveCode

Re: reopen app from background iOS 7 and 8 / multitask

2014-11-25 Thread Gerry
Ralph is referring to a method that involves changing some settings in a file in the LiveCode application package. That change stops iOS apps quitting when they are sent to the background. It's insane that we have to resort to such hacks but RunRev don't seem interested in providing a real

Re: Stack Menu Mystery - Disappointing Documentation (Long, sorry)

2014-11-25 Thread Richard Gaskin
Bob Sneidar wrote: And along with that we should probably have the Menu Builder automatically create File and Edit menus complete with the script commands that make them work. For instance Save will save the current stack, Copy will copy whatever is currently selected, etc. We can code it

RE: Stack Menu Mystery - Disappointing Documentation (Long, sorry)

2014-11-25 Thread John Dixon
The menu builder has been a problem since runRev's beginnings... it would pay them to look at 'superCard', they have building menus 'down pat'...:-) Date: Tue, 25 Nov 2014 12:09:07 -0800 From: ambassa...@fourthworld.com To: use-livecode@lists.runrev.com Subject: Re: Stack Menu Mystery -

Re: Stack Menu Mystery - Disappointing Documentation (Long, sorry)

2014-11-25 Thread J. Landman Gay
Bob Sneidar wrote: And along with that we should probably have the Menu Builder automatically create File and Edit menus complete with the script commands that make them work. Another way to get the same result is to copy an existing menu group and paste it into another stack. --

Re: Stack Menu Mystery - Disappointing Documentation (Long, sorry)

2014-11-25 Thread J. Landman Gay
On 11/25/2014, 2:15 PM, John Dixon wrote: The menu builder has been a problem since runRev's beginnings... What problems do you see? Just curious, since I've been using it without any trouble for some time. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive

Re: shared group loses buttons scripts when changing cards

2014-11-25 Thread J. Landman Gay
On 11/24/2014, 10:03 PM, Dr. Hawkins wrote: On Mon, Nov 24, 2014 at 3:39 PM, J. Landman Gay jac...@hyperactivesw.com wrote: I see. That sounds like either the card or the stack has cantModify set to true. But I'm having no problem changing the custom properties of groups on that page (in

Re: Stack Menu Mystery - Disappointing Documentation (Long, sorry)

2014-11-25 Thread Richard Gaskin
John Dixon wrote: Richard Gaskin wrote: Bob Sneidar wrote: And along with that we should probably have the Menu Builder automatically create File and Edit menus complete with the script commands that make them work. Maybe. It's a tough call with a toolkit as flexible as LiveCode, since

Re: BBEdit Language Module for LiveCode

2014-11-25 Thread Brahmanathaswami
Done: https://github.com/Brahmanathaswami/LiveCode-BBEdit-Language-Module a public repository. Devin Asay wrote: So after the confusion, is there now a separate github account set up for the BBEdit-LiveCode language module? I’m looking for it but can’t find it. Devin

Re: OT: Need help with Indiegogo, Twitter, Facebook etc.

2014-11-25 Thread Simon Smith
Hi Rick If you are new to social media, I would suggest choosing a platform and getting use to it and then looking at the others. Personally I would start with Facebook,and setting up a fan page and maybe Twitter, and take it from there. Facebook has by far the biggest audience. I would not

Re: Stack Menu Mystery - Disappointing Documentation (Long, sorry)

2014-11-25 Thread Bob Sneidar
Are you saying you still have problems with the menu builder? Bob S On Nov 25, 2014, at 12:15 , John Dixon dixo...@hotmail.co.ukmailto:dixo...@hotmail.co.uk wrote: The menu builder has been a problem since runRev's beginnings... it would pay them to look at 'superCard', they have building

Re: Detecting the active monitor under Mavericks and Yosemite...

2014-11-25 Thread Scott Rossi
The theory is: In its plural form (screenRects) this function returns a list containing the virtual co-ordinates of all the screens currently attached to the system. The first line is always that of the primary display, and the order of the rest are in an OS-specific order.” Regards, Scott

Focus on next field

2014-11-25 Thread Magicgate Software - Skip Kimpel
Hey LC'ers How the heck to you pass focus to the next positioned field? I am trying to simulate the tab key action of tabbing if the user hits the enter or return key instead inside of the enterInField and returnInField commands. Thank you! SKIP ___

Re: Focus on next field

2014-11-25 Thread dunbarx
Hi. If the fields are in order by number, then in the card script, on returninfield focus on fld (the number of the target + 1) end return infield on EnterInField returnInField end enterInField If they are in some other order, you should be able to modify as needed... Craig Newman

RE: Stack Menu Mystery - Disappointing Documentation (Long, sorry)

2014-11-25 Thread John Dixon
Always have done... I have always found it to be clunky and difficult to use... scripting menus in SuperCard on the other hand always seemed to be intuitive and easy to manipulate... From: bobsnei...@iotecdigital.com To: use-livecode@lists.runrev.com Subject: Re: Stack Menu Mystery -

Re: Detecting the active monitor under Mavericks and Yosemite...

2014-11-25 Thread Paul Dupuis
On 11/25/2014 4:07 PM, Scott Rossi wrote: The theory is: In its plural form (screenRects) this function returns a list containing the virtual co-ordinates of all the screens currently attached to the system. The first line is always that of the primary display, and the order of the rest

Re: Focus on next field

2014-11-25 Thread Magicgate Software - Skip Kimpel
That's it... works perfectly. Thanks for making that connection for me :) SKIP On Tue, Nov 25, 2014 at 4:24 PM, dunb...@aol.com wrote: Hi. If the fields are in order by number, then in the card script, on returninfield focus on fld (the number of the target + 1) end return infield

Re: Focus on next field

2014-11-25 Thread dunbarx
No problem. Have you encountered the problem yet? Craig -Original Message- From: Magicgate Software - Skip Kimpel s...@magicgate.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Tue, Nov 25, 2014 4:41 pm Subject: Re: Focus on next field That's it... works perfectly.

Re: Focus on next field

2014-11-25 Thread Magicgate Software - Skip Kimpel
Just did :) If it is the last field it throws an error. I could simply working around this already knowing how many fields I have but what would be a more programmatic way of doing this? SKIP On Tue, Nov 25, 2014 at 4:53 PM, dunb...@aol.com wrote: No problem. Have you encountered the

Re: Focus on next field

2014-11-25 Thread Colin Holgate
This would let you go forward and backwards, but you can already do this with no code by using the tab key: on returninfield if the shiftkey is down then put the number of the target - 1 into f if f = 0 then put the number of fields into f end if else put

Re: Focus on next field

2014-11-25 Thread Mike Bonner
if exists(field ((the number of the target + 1)) then focus field (the number of the target +1) else focus field 1 end if Should work. Then, you can set it up as a behavior for your fields and be done with it. (or whatever alternate method you like) On Tue, Nov 25, 2014 at 2:59 PM, Magicgate

Re: Focus on next field

2014-11-25 Thread Mike Bonner
Ok. I like the colin method with mod. On Tue, Nov 25, 2014 at 3:12 PM, Colin Holgate co...@verizon.net wrote: This would let you go forward and backwards, but you can already do this with no code by using the tab key: on returninfield if the shiftkey is down then put the number

Re: any use of pass by reference breaks any omitted variable?

2014-11-25 Thread William Prothero
Folks: I’m trying out Installermaker with LC 7.0. There is a video tutorial somewhere. Could somebody post a link to it? Thanks, Bill William A. Prothero http://es.earthednet.org/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: Focus on next field

2014-11-25 Thread Skip Kimpel
Thank you everybody! SKIP On Nov 25, 2014, at 5:15 PM, Mike Bonner bonnm...@gmail.com wrote: Ok. I like the colin method with mod. On Tue, Nov 25, 2014 at 3:12 PM, Colin Holgate co...@verizon.net wrote: This would let you go forward and backwards, but you can already do this with no

Re: Stack Menu Mystery - Disappointing Documentation (Long, sorry)

2014-11-25 Thread Bob Sneidar
Still sketchy about the last time you actually created a menu from scratch using the menu builder but no matter. Rolling your own works fine. I just don’t want new users to feel that there is a problem if there currently is not. Bob S On Nov 25, 2014, at 13:29 , John Dixon

Re: Focus on next field

2014-11-25 Thread Bob Sneidar
In the application browser change the order of the fields/groups. This will become the natural tab order. I usually group labels and fields together in groups and name the groups accordingly, so I reorder my groups. I typically have all the fields/groups at the top of the order, then data

Re: reopen app from background iOS 7 and 8 / multitask

2014-11-25 Thread Mark Talluto
On Nov 25, 2014, at 11:53 AM, Gerry gerry.or...@gmail.com wrote: Ralph is referring to a method that involves changing some settings in a file in the LiveCode application package. That change stops iOS apps quitting when they are sent to the background. It's insane that we have to resort to

LiveCode Super Site: New Links Page

2014-11-25 Thread RunRevPlanet
Hi All, There is a new Links page at LiveCode Super Site. If you know of any links that fit in the categories, please let me know. http://livecodesupersite.com/links.html Cheers, -- Scott McDonald Components, Controls, Tools and Resources for LiveCode www.runrevplanet.com

Re: OT: Need help with Indiegogo, Twitter, Facebook etc.

2014-11-25 Thread Rick Harrison
Hi Simon, This all sounds like good advice. I will check out your suggestions. Thanks! Rick On Nov 25, 2014, at 3:52 PM, Simon Smith he...@simonsmith.co mailto:he...@simonsmith.co wrote: Hi Rick If you are new to social media, I would suggest choosing a platform and getting use to it