Re: [OT)ish iOS app rejection issue

2015-02-08 Thread Gerry
What was the reason given for the rejection? g On Sat Feb 07 2015 at 1:45:41 AM Ralph DiMola rdim...@evergreeninfo.net wrote: I submitted 2 apps on the same day last week. Both apps are identical in every way except for the data set. One was approved, one was rejected??? Just an FYI on the

[not quite OT] Serving a standalone

2015-02-08 Thread Graham Samuel
As with so much in this world, technical and otherwise, I am profoundly ignorant of the following, and I’d be grateful for any explanations, best practice etc. The idea is as follows: 1. I write a desktop program (OK, an app) that runs, say, on PC and Mac. Good LC territory. This program is

Re: [not quite OT] Serving a standalone

2015-02-08 Thread Earthednet-wp
Graham, I've had a lot of experience doing this for a 300seat oceanography class. I used my own server to store student work. Students downloaded the software in this instance. They were identified by a 7 digit number. I used a combination of files uploaded and downloaded to a local temp

Re: [not quite OT] Serving a standalone

2015-02-08 Thread Graham Samuel
Paul, that’s a great summary. I shall be studying it carefully. Thanks so much Graham On 8 Feb 2015, at 16:01, Paul Dupuis p...@researchware.com wrote: On 2/8/2015 8:52 AM, Graham Samuel wrote: 6. What happens now when that downloaded instance of the app is called upon to save a file? Is

Re: [not quite OT] Serving a standalone

2015-02-08 Thread William Prothero
Graham, I think that you should think in terms of “licenses” rather than apps downloaded when trying to enforce limits. Education, nowadays is less centralized and students want to be able to access resources from multiple places. School, home, mobile phones, tablets. Then, if there is too much

Re: [not quite OT] Serving a standalone

2015-02-08 Thread Richmond
On 08/02/15 15:52, Graham Samuel wrote: Right . . . As with so much in this world, technical and otherwise, I am profoundly ignorant of the following, and I’d be grateful for any explanations, best practice etc. The idea is as follows: 1. I write a desktop program (OK, an app) that runs,

Re: [not quite OT] Serving a standalone

2015-02-08 Thread Graham Samuel
OK, you live in Bulgaria. If you lived in the UK, it is highly probable that you would have read, seen on TV (still some episodes to go!) or possibly in the theatre, a version of “Wolf Hall” by Hilary Mantel (both volumes produced so far won the prestigious Booker Prize). Then you’d know who

Re: Best Practice: Prevent Substacks from Triggering Main Stack Scripts

2015-02-08 Thread Dr. Hawkins
On Fri, Feb 6, 2015 at 12:33 PM, J. Landman Gay jac...@hyperactivesw.com wrote: If almost everything needs to use the open* handlers except one or two stacks, then I put the handlers into the mainstack stack script and put blocking handlers into the stacks that are an exception. This. I

Re: [not quite OT] Serving a standalone

2015-02-08 Thread Paul Dupuis
On 2/8/2015 8:52 AM, Graham Samuel wrote: 6. What happens now when that downloaded instance of the app is called upon to save a file? Is it just saved on the local computer? If so, what if Jack and Jill both use the program on the same machine at different times? Will Jill’s files overwrite

Reverse a list

2015-02-08 Thread J. Landman Gay
Just tinkering around on a lazy Sunday, and I thought I'd come up with a neat way to reverse a list without using the traditional clunky method: function reverseSort pList repeat for each line l in pList put l cr before tList end repeat return tList end reverseSort One of the best

Re: [not quite OT] Serving a standalone

2015-02-08 Thread Richard Gaskin
William Prothero wrote: Hopefully the coming HTML5 export will make it easier to integrate Livecode apps into a web delivery. The main advantage of this is the ease of updating the software. The HTML output option will be a great thing for many projects, but I think it's safe to say it's

Re: Detecting key and mouse actions in the background

2015-02-08 Thread tbodine
Thanks, Mike. It helped to see your approach. I was using keydown and mousedown handlers and that was not detecting events outside of the LC app itself. So I adapted your method using the keys down and mouseloc, and it works nicely. Thanks! Tom -- View this message in context:

Re: Detecting key and mouse actions in the background

2015-02-08 Thread Mike Bonner
Glad it helped, have a good one! On Sun, Feb 8, 2015 at 1:25 PM, tbodine bod...@bodinetraininggames.com wrote: Thanks, Mike. It helped to see your approach. I was using keydown and mousedown handlers and that was not detecting events outside of the LC app itself. So I adapted your method

Re: Reverse a list

2015-02-08 Thread Mike Bonner
Just curious.. How does this compare? local scount on mouseUp put the number of lines in field 1 + 1 into scount sort lines of field 1 by getCount() end mouseUp function getCount subtract 1 from sCount return sCount end getCount On Sun, Feb 8, 2015 at 2:52 PM, J. Landman Gay

Re: Reverse a list

2015-02-08 Thread Mike Bonner
Oops, make sure the sort is numeric, which I forgot. On Sun, Feb 8, 2015 at 3:09 PM, Mike Bonner bonnm...@gmail.com wrote: Just curious.. How does this compare? local scount on mouseUp put the number of lines in field 1 + 1 into scount sort lines of field 1 by getCount() end mouseUp

Re: Reverse a list

2015-02-08 Thread Mike Bonner
Using numeric sort, 100k lines being reversed takes 126 millisec on my system. On Sun, Feb 8, 2015 at 3:13 PM, Mike Bonner bonnm...@gmail.com wrote: Oops, make sure the sort is numeric, which I forgot. On Sun, Feb 8, 2015 at 3:09 PM, Mike Bonner bonnm...@gmail.com wrote: Just curious.. How

Re: Reverse a list

2015-02-08 Thread Mike Bonner
doh. Same thing you did. *sigh* Except i'm not passing the actual text back and forth since theres no point. Ignore me. :) On Sun, Feb 8, 2015 at 3:15 PM, Mike Bonner bonnm...@gmail.com wrote: Using numeric sort, 100k lines being reversed takes 126 millisec on my system. On Sun, Feb 8, 2015

Re: Reverse a list

2015-02-08 Thread Mike Bonner
Ok, last part and I'll shut up. On 100k lines, not passing the text itself back and forth to the reverse sort saves about 50 millisec on my system. On Sun, Feb 8, 2015 at 3:22 PM, Mike Bonner bonnm...@gmail.com wrote: doh. Same thing you did. *sigh* Except i'm not passing the actual text back

Re: [not quite OT] Serving a standalone

2015-02-08 Thread William Prothero
Richard: This sounds like a great way to go! I think I’m getting that the “Splash” app downloads the executables and whatever media is needed, and then these are erased at the end of the session, so that new ones are downloaded each session? Or is it done more like the browser cache, where it

Re: [not quite OT] Serving a standalone

2015-02-08 Thread William Prothero
Richard: Whoops, I see you said the downloads were erased at the end of each session. Where do you put the executables? On the Mac, in the Applications folder there would have to be the admin permissions given. The Documents folder? The Application Support folder inside the user’s Library

Re: Reverse a list

2015-02-08 Thread Alex Tweedly
Indeed. Jerry was (as usual) correct - if the engine can do it, then the engine will normally be faster. BUT sorting a list requires moving the data around quite a lot, AND sorting something that actually reverses it can be a pathologically bad case (e.g. if the engine uses any variant of

Re: [not quite OT] Serving a standalone

2015-02-08 Thread Richard Gaskin
William Prothero wrote: Richard: This sounds like a great way to go! And it has the best feature of all: it's fun to make. :) I think I’m getting that the “Splash” app downloads the executables and whatever media is needed, and then these are erased at the end of the session, so that new

Re: Question re project organization

2015-02-08 Thread Kay C Lan
On Sat, Feb 7, 2015 at 11:16 PM, Earthednet-wp proth...@earthednet.org wrote: Videos are important and I'm thinking more of streaming them, probably from YouTube, rather than downloading them. Of course, there's the Flash problem on iOS. youTube has announced that it's default will no longer

Re: Reverse a list

2015-02-08 Thread Mike Bonner
Version 6.6.2, your by position method is by FAR the fastest 26 millisec for 80k lines. repeat takes almost 9 seconds. The sort function method not passing text back and forth, takes 102 millisec which isn't slouchy by any means. Jump to version 7.0.1 and the by position method needs some

Re: Question re project organization

2015-02-08 Thread William Prothero
Great news! Thanks for the heads up, Kay. Bill On Feb 8, 2015, at 4:23 PM, Kay C Lan lan.kc.macm...@gmail.com wrote: On Sat, Feb 7, 2015 at 11:16 PM, Earthednet-wp proth...@earthednet.org wrote: Videos are important and I'm thinking more of streaming them, probably from YouTube, rather

Re: [not quite OT] Serving a standalone

2015-02-08 Thread William Prothero
Richard: This sounds very attractive. I hadn’t thought of just opening the app directly from the server and running it in memory. Thanks for the encouragement. I think it’s a good idea. Best, Bill On Feb 8, 2015, at 3:21 PM, Richard Gaskin ambassa...@fourthworld.com wrote: William Prothero

Rev 5.5.5 question

2015-02-08 Thread Charles Szasz
Are Apps created for Windows using Rev 5.5.5 32 bit or 64 bit? If apps are 32 bit, what does the user do if he is running a 64 bit Windows operating system? And, what stable version of LiveCode do I need to use to create a 64 bit app? Charles Szasz csz...@mac.com

Re: Reverse a list

2015-02-08 Thread J. Landman Gay
On 2/8/2015 5:18 PM, Mike Bonner wrote: The sort function method not passing text back and forth Odd. I started out that way, returning only the numerical reference. The sort wasn't stable and the list got jumbled. When I added the text parameter in, it worked. I've just reverted my function

Re: [not quite OT] Serving a standalone

2015-02-08 Thread Richard Gaskin
William Prothero wrote: Richard: Whoops, I see you said the downloads were erased at the end of each session. Where do you put the executables? On the Mac, in the Applications folder there would have to be the admin permissions given. The Documents folder? The Application Support folder

Re: Reverse a list

2015-02-08 Thread Mike Bonner
Yeah, the difference is rather shocking. Really hoping for a major tuneup. On Sun, Feb 8, 2015 at 4:37 PM, Alex Tweedly a...@tweedly.net wrote: Wow. I can see why LC7 would be expected to be slower for this case - in the multi-byte Unicode world, char indexing isn't as simple as it used to

Re: Reverse a list

2015-02-08 Thread Alex Tweedly
Wow. I can see why LC7 would be expected to be slower for this case - in the multi-byte Unicode world, char indexing isn't as simple as it used to be. BUT in this specific case, you can actually replace all use of char by byte and still be sure it works (ummm - except if the CR equivalent can

Re: [not quite OT] Serving a standalone

2015-02-08 Thread Kay C Lan
On Mon, Feb 9, 2015 at 5:59 AM, Richard Gaskin ambassa...@fourthworld.com wrote: With LiveCode we can do the same by merely extending the anchor window (or splash stack) setup to open stacks from URLs rather than local files: go url http://yourdomain/stacks/stackfile.livecode; And if you

Re: [not quite OT] Serving a standalone

2015-02-08 Thread William Prothero
Richard and Kay: Thanks for the stimulating thoughts. Each of your arguments are very persuasive. And it seems that the most important thing is where you decide to start. If you focus is on mobile, Kay’s approach is the most sensible. I like Richard’s for desktop, but would expect to have to