Re: On-Rev antispam

2011-03-10 Thread Medard
> How about comparing our scripts in the On-Rev forums? > > > > IMHO, it would be more appropriate to show large pieces of code! Ahem! I found in the forums an article about... captchas! it would be a goo

Re: On-Rev antispam (& reCAPTCHA)

2011-03-10 Thread Medard
Alex Tweedly wrote: > I took a similar approach, and didn't find the html + rev too akward ... OK, but it is enclosed in a rocket with several stories (?) ;-) How about comparing our scripts in the On-Rev forums? IMHO, it would be more appropriate to show

Re: Writing Externals in Pascal?

2011-03-10 Thread Mark Wieder
Scott- Thursday, March 10, 2011, 5:29:49 PM, you wrote: > While I did not expect it to take this long, the free time did finally > arrive and progress has been made. > A Pascal SDK for writing Externals for LiveCode *can* be done, and I will be > releasing the results of my investigation soon.

Re: Live LiveCode Code Event #14

2011-03-10 Thread Jerry J
Yabut, the entire qery.us domain is pegged as fraudulent on some blacklist that Safari uses. Its not Mark's fault, but it may be his problem to get un-blacklisted. Don't get me wrong - I hold Mark in high esteem. He has helped me selflessly in the past. I don't worry much, being only on macs, bu

Re: Live LiveCode Code Event #14

2011-03-10 Thread Judy Perry
Oh, and you're more lucky than me: Safari refused to load the page until I changed my security settings to ignore it. Judy On Thu, 10 Mar 2011, Jerry J wrote: And again, Safari thinks that link is dangerous. I ignored the warning and it did indeed lead to your page, but... ___

Re: Live LiveCode Code Event #14

2011-03-10 Thread Judy Perry
Yes, this is a sore spot. It's not Mark's fault. If you alter your security settings in Safari, I've found that solves the problem (thanks, Bjoernke!). Judy The LiveCode Village Idiot Who's Now Been Drafted TWICE To Do A Presentation On Thu, 10 Mar 2011, Jerry J wrote: On Mar 10, 2011, a

Re: [ANN} iOS UINavigationBar Kit V 1.4.2 Released

2011-03-10 Thread Thomas McGrath III
Minor upgrade to iOSUINavigationBar Kit V1.4.2 I uploaded a revision that includes the Android resizeStack dimensions although rotation is not yet supported with the plugin. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Mar 10, 2011, at 10:29 PM, Thomas McGrath III wro

Re: [ANN} iOS UINavigationBar Kit V 1.4.2 Released

2011-03-10 Thread Thomas McGrath III
Roger, Rotation is not yet supported in the Android Plugin. Tom -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Mar 10, 2011, at 9:39 PM, Roger Eller wrote: > On Thu, Mar 10, 2011 at 7:02 PM, Thomas McGrath III wrote: >> One note: >> >> The funny thing is when I open t

Re: Writing Externals in Pascal?

2011-03-10 Thread -=>JB<=-
Glad to hear the news! -=>JB<=- On Mar 10, 2011, at 5:29 PM, Scott McDonald wrote: > In my original post I said, > >> Note, I have little free time for such a project, so even if there >> is significant interest, I make no promises about whether it will >> happen, or when. > > While I did n

Re: [ANN} iOS UINavigationBar Kit V 1.4.2 Released

2011-03-10 Thread Roger Eller
On Thu, Mar 10, 2011 at 7:02 PM, Thomas McGrath III wrote: > One note: > > The funny thing is when I open this in the Android simulator I get this very > weird feeling inside like I just did something wrong?!?!?! SO, in the next > update I plan on making a unique to Android Navigation Bar. Not as

Re: Live LiveCode Code Event #14

2011-03-10 Thread Jerry J
On Mar 10, 2011, at 5:40 PM, Mark Schonewille wrote: > Hi everybody, > > You can contact me off-list by replying to my e-mail address or use the web > form at http://qery.us/du . And again, Safari thinks that link is dangerous. I ignored the warning and it did indeed lead to your page, but..

Live LiveCode Code Event #14

2011-03-10 Thread Mark Schonewille
Hi everybody, Before making the announcement, I have an urgent request. For next week, we have no presenters yet and if YOU don't speak up, Björnke's wonderful initiative might die a silent death eventually. I'm sure YOU don't want that, so YOU are urgently requested to take the stand. Who, ME?

Re: Efficiency question for list modification

2011-03-10 Thread Jim Ault
Of course, using a faster processor would give faster results. What would be the speed difference if the data block was sent to an irev script and run on a faster processor? Jim Ault Las Vegas On Mar 10, 2011, at 12:07 PM, Alex Tweedly wrote: use repeat for each line L ... and collect the mo

Re: Writing Externals in Pascal?

2011-03-10 Thread Scott McDonald
In my original post I said, >Note, I have little free time for such a project, so even if there >is significant interest, I make no promises about whether it will >happen, or when. While I did not expect it to take this long, the free time did finally arrive and progress has been made. A Pascal

Re: Coding Challenge

2011-03-10 Thread Alex Tweedly
Hi Malte. Hope I'm not too late to the party :-) Here's some sample code that appears to work on my small sample data. It's not easy to come up with good test data here - nothing obvious could generate realistic test data by program. Summary is 1. deal with all equality cases first. For ever

Re: [ANN} iOS UINavigationBar Kit V 1.4.2 Released

2011-03-10 Thread Thomas McGrath III
One note: The White Buttons are not directly from the iOS. I am still in the process of getting the exact button elements for those as well as the split view bar and a few other button elements. That said I am using the White Buttons with the Graphic effect Overlay Color to create quick and eas

Re: [ANN} iOS UINavigationBar Kit V 1.4.2 Released

2011-03-10 Thread Thomas McGrath III
You're welcome Roger, Let me know what you think once you start using it. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Mar 10, 2011, at 5:27 PM, Roger Eller wrote: > On Thu, Mar 10, 2011 at 5:14 PM, Thomas McGrath III wrote: >> >> Thanks Jac, >> >> I have tested t

Re: [ANN} iOS UINavigationBar Kit V 1.4.2 Released

2011-03-10 Thread Roger Eller
On Thu, Mar 10, 2011 at 5:14 PM, Thomas McGrath III wrote: > > Thanks Jac, > > I have tested the UINavBarKit on iPod, iPad V1, and iPhone3GS and > iPhoneRetina. I was only able to test Android in the simulator. Looking for a > friend that has an Android to test live with. > > One note is that th

Re: [ANN} iOS UINavigationBar Kit V 1.4.2 Released

2011-03-10 Thread Thomas McGrath III
Thanks Jac, It just had to be done. We have many new opportunities as users of LC and we need to join together and share what we can. I would absolutely LOVE IT if someone could create a "working" scrollable datagrid object for iOS. The ones I've downloaded are either only good as a scrolling f

Re: Efficiency question for list modification

2011-03-10 Thread Nonsanity
On Thu, Mar 10, 2011 at 4:40 PM, Bob Sneidar wrote: > How about chunking the data with the new method? I would put money on the > notion that it won't matter much. > > Bob > It didn't. :) ~ Chris Innanen ~ Nonsanity ___ use-livecode mailing list u

Re: [ANN} iOS UINavigationBar Kit V 1.4.2 Released

2011-03-10 Thread J. Landman Gay
On 3/10/11 3:43 PM, Thomas McGrath III wrote: Looking for a UINavigationBar that will resize for each Orientation of each Device including Android? Well iOS UINavigationBar Kit V1.4.2 is Available today. One UINavBar to rule them all. The Stack includes a LAB to experiment with the features of

[ANN} iOS UINavigationBar Kit V 1.4.2 Released

2011-03-10 Thread Thomas McGrath III
Looking for a UINavigationBar that will resize for each Orientation of each Device including Android? Well iOS UINavigationBar Kit V1.4.2 is Available today. One UINavBar to rule them all. The Stack includes a LAB to experiment with the features of this Control. Just Launch this stack in your

Re: Efficiency question for list modification

2011-03-10 Thread Bob Sneidar
How about chunking the data with the new method? I would put money on the notion that it won't matter much. Bob On Mar 10, 2011, at 1:25 PM, Nonsanity wrote: > I didn't use that style because he mentioned he tried it without much > success. I tried it down on the straight-up 100,000 pass and

Re: Memory issue for iPad Livecode apps?

2011-03-10 Thread J. Landman Gay
On 3/10/11 3:06 PM, Colin Holgate wrote: On Mar 10, 2011, at 3:45 PM, Bob Sneidar wrote: The idea is to create placeholder graphic objects, include the images in your associated files, then have your code set the image of the placeholders to whatever images you have. Did I get that right? Th

Re: Memory issue for iPad Livecode apps?

2011-03-10 Thread François Chaplais
Doesn't the graphics part of the chip helps? A far as I know, there is hardware acceleration for H264 since the first iPhone, also for AAC audio... And the accelerate framework (at least for the mac) uses fast vectorization for image processing. Best François Le 10 mars 2011 à 22:07, Malt

Re: Efficiency question for list modification

2011-03-10 Thread Nonsanity
I didn't use that style because he mentioned he tried it without much success. I tried it down on the straight-up 100,000 pass and it finished in 4 seconds. Hands down the fastest. I should have tried that on my own just for completeness' sake. I guess I was too taken with the faster results I got

Re: Memory issue for iPad Livecode apps?

2011-03-10 Thread Malte Brill
What you have to keep in mind (just ran into this myself) is that an app gets terminated by the OS if it takes up too much memory. Of course the simulator will not simulate the memory situation of the device (and this sucks big heap), as well as it does not reflect the processor speed (sucks aga

Re: Memory issue for iPad Livecode apps?

2011-03-10 Thread Colin Holgate
On Mar 10, 2011, at 3:45 PM, Bob Sneidar wrote: > The idea is to create placeholder graphic objects, include the images in your > associated files, then have your code set the image of the placeholders to > whatever images you have. Did I get that right? That might have been more to do with ha

Re: Efficiency question for list modification

2011-03-10 Thread Bob Sneidar
You should also try using the form: repeat for each line theLineValue in theData Apparently this creates an internal array of theData and is much faster. The big caveat is that you do not alter what theData contains while in the repeat loop, as this will really screw things up. That is because

Re: Memory issue for iPad Livecode apps?

2011-03-10 Thread Bob Sneidar
Someone mentioned earlier that images should not be embedded in the app itself. I think it was jacque. The idea is to create placeholder graphic objects, include the images in your associated files, then have your code set the image of the placeholders to whatever images you have. Did I get that

Re: Efficiency question for list modification

2011-03-10 Thread Alex Tweedly
use repeat for each line L ... and collect the modified lines in a separate variable, replace the original variable after the loop repeat fer each line L in tData put ... & CR after temp end repeat put temp into tData should be very quick. -- Alex. btw - not needed in this case, but you cou

Re: Memory issue for iPad Livecode apps?

2011-03-10 Thread Scott Rossi
Recently, stgoldb...@aol.com wrote: > In preparing an app for iPad using Livecode, is there any issue regarding > Livecode taking up significantly more disc space than a similar app > prepared with a different programming language? If so, would this > significantly > restrict how much one cou

Re: Efficiency question for list modification

2011-03-10 Thread dunbarx
Forgot to include the other method, which you also knew about: on mouseUp put the ticks into aa put fld "rawdata" into temp put 3 into div1 put 5 into div2 repeat for each line tLine in temp put item 1 of tLine / div1 & "," & item 2 of tLine/ div2 & retuen after accum

Memory issue for iPad Livecode apps?

2011-03-10 Thread Stgoldberg
In preparing an app for iPad using Livecode, is there any issue regarding Livecode taking up significantly more disc space than a similar app prepared with a different programming language? If so, would this significantly restrict how much one could put into the app in the way of sound, ima

Re: Efficiency question for list modification

2011-03-10 Thread Nonsanity
I made a quick test stack to try out a few ides: http://dl.dropbox.com/u/144280/Divide%20List%20Tests.livecode It generates 100,000 random integer pairs into one field, then has four buttons to do the sample division you gave to the two items in each line. The first is a straight-up "repeat

Re: Efficiency question for list modification

2011-03-10 Thread stephen barncard
perhaps find a way to speed up the other code inside that is parsing and doing the math. can't you add an index (id) column to the data? even temporarily? therefore create the arrays in a way where you can restore the original order. On 10 March 2011 10:51, FlexibleLearning wrote: > Problem: >

Re: Efficiency question for list modification

2011-03-10 Thread dunbarx
I ran this with a field "rawData" containing 5000 lines: on mouseUp put the ticks into aa put fld "rawdata" into temp put 3 into div1 put 5 into div2 repeat with y = 1 to the number of lines of temp put item 1 of line y of temp / div1 & "," & item 2 of line y of temp / di

Efficiency question for list modification

2011-03-10 Thread FlexibleLearning
Problem: I have a long list of several thousand lines. Each line contains two comma-separated numbers. I want to divide the first item of each line by one divisor, and divide the second item of each line by a different divisor. The list order must stay the same. Example: Using 2 and 5 as divisors.

Re: Closing palettes

2011-03-10 Thread Richmond
Here's a "Thank you" for everyone's help: http://andregarzia.on-rev.com/richmond/STUFF/CLOSURE.zip this contains 3 png images (at various sizes) I made for my Maximise, Minimise and Close operations. They are offered here completely FREE (Use them, Abuse them, Steal them, Changes them, and so o

Re: Closing palettes

2011-03-10 Thread Bob Sneidar
At least you can see the floaters a comin'. What I worry about are submarines. Bob On Mar 10, 2011, at 9:12 AM, Keith Clarke wrote: > ...how about > > on mouseUp > go to previous card > close stack "FLOATER" > end mouseUp > > BTW As one who enjoys the surf, I try to avoid floaters whenever

Re: Standalone problem

2011-03-10 Thread Bob Sneidar
Sounds like a local system problem. Try refreshing the folder view. I have copied files before and the view for whatever reason did not refresh properly, even after I closed and reopened it. The only other thing that could affect it is special permissions on the files themselves. If you know h

Re: Closing palettes

2011-03-10 Thread Richmond
On 03/10/2011 07:22 PM, J. Landman Gay wrote: On 3/10/11 11:06 AM, Richmond wrote: I have a palette that is a substack of a multi-card stack (i.e. nothing screamingly original) called "FLOATER". On the palette I have a close 'iocn' and when the end-user clicks on it it execute this script: on

Re: Closing palettes

2011-03-10 Thread Keith Clarke
...how about an absolute reference, such as go to card 'x' of stack 'y'? Turquoise floater - rat poison! :-) On 10 Mar 2011, at 17:17, Richmond wrote: > On 03/10/2011 07:12 PM, Keith Clarke wrote: >> ...how about >> >> on mouseUp >> go to previous card >> close stack "FLOATER" >> end mouse

Re: Closing palettes

2011-03-10 Thread J. Landman Gay
On 3/10/11 11:06 AM, Richmond wrote: I have a palette that is a substack of a multi-card stack (i.e. nothing screamingly original) called "FLOATER". On the palette I have a close 'iocn' and when the end-user clicks on it it execute this script: on mouseUp close stack "FLOATER" end mouseUp whic

Re: Standalone problem

2011-03-10 Thread edward cawley
Thank you much Jacque, I'm almost there. I made the changes you suggested and I have one remaining problem. If I run it off the shared disk in VM Fusion it works fine, but if I move the app and associated files to the C drive on the students laptops, or on the C drive on the Windows OS on the V

Re: Closing palettes

2011-03-10 Thread Richmond
On 03/10/2011 07:12 PM, Keith Clarke wrote: ...how about on mouseUp go to previous card close stack "FLOATER" end mouseUp Not really, as the close 'icon' is on the palette itself. BTW As one who enjoys the surf, I try to avoid floaters whenever possible ;-) My "FLOATER" is a fairly

Re: Closing palettes

2011-03-10 Thread Keith Clarke
...how about on mouseUp go to previous card close stack "FLOATER" end mouseUp BTW As one who enjoys the surf, I try to avoid floaters whenever possible ;-) On 10 Mar 2011, at 17:06, Richmond wrote: > I have a palette that is a substack of a multi-card stack (i.e. nothing > screamingly origi

Closing palettes

2011-03-10 Thread Richmond
I have a palette that is a substack of a multi-card stack (i.e. nothing screamingly original) called "FLOATER". On the palette I have a close 'iocn' and when the end-user clicks on it it execute this script: on mouseUp close stack "FLOATER" end mouseUp which it does . . . . . which is all jo

Re: On-Rev antispam (& reCAPTCHA)

2011-03-10 Thread Alex Tweedly
I took a similar approach, and didn't find the html + rev too akward ... here's what I have -- the next section is the HTML form -- with rev snippets to fill in the default data or data already supplied put round(random(8)) into t1 put round(random(8)) into t2 p

Re: On-Rev antispam (& reCAPTCHA)

2011-03-10 Thread Medard
Medard wrote: > and (I hope) I am getting rid of that spam :-)) Ahem! i got new spams -- but I am not sure, according to the date and hour (if the spammers post in another time zone?) Nonetheless, I closed the comments in the archived articles ;-) -- _

Re: On-Rev antispam (& reCAPTCHA)

2011-03-10 Thread Medard
stephen barncard wrote: > you might do what Sarah did: create a simple handler to create, randomize > and ask a math problem to enter: I took eventually this solution :-) It was a little awkward to manage the mix of html and on-rev code, but I made it work -- not a very polished code, but it wor