Re: [teaser] for third party developers

2009-08-05 Thread Bernard Devlin
Sean, I think this is a great idea. Not only would it centralize documentation for different libraries, but it could also serve as a kind of advert/reminder of those libraries. Many users of this list have written a wide variety of helpful libraries. If these libraries could have their

[script optimization challenge] Multi dimensional array filtering

2009-08-05 Thread Malte Brill
Hey all, I just try to implement a life search on a datagrid. I was doing this with the dgtext property. However this turns out to be too slow on elder machines if there are many records (30k +) Now I am trying to instead of setting the dgtext, to work with the dgdata. This could speed

Re: [script optimization challenge] Multi dimensional array filtering

2009-08-05 Thread Jim Sims
On Aug 5, 2009, at 3:16 PM, Malte Brill wrote: Also I´d like the runtime on your machines, especially Macs pre Intel era. 17 PB PPC G4 2 GB Ram mac os version: 10.5.7 84 ms sims ___ use-revolution mailing list

Re: [teaser] for third party developers

2009-08-05 Thread dam-pro.gir...@laposte.net
Sean, this is a really great things! I contact you off-list on how to integrate your extension inside NativeDoc. Damien Girard Dam-pro, France. http://www.dam-pro.com - Check out the new website! Message du 05/08/09 10:57 De : Bernard Devlin A : How to use Revolution Copie à : Objet : Re:

Re: [script optimization challenge] Multi dimensional array filtering

2009-08-05 Thread Andre Garzia
Malte, I don't know if there would be any improvement in what I am telling you but what if you combined the array, filtered the lines and split up again? Andre On Wed, Aug 5, 2009 at 2:16 PM, Malte Brill revolut...@derbrill.de wrote: Hey all, I just try to implement a life search on a

Installer Standalone Settings

2009-08-05 Thread Marty Knapp
I'm getting ready to distribute a Mac only standalone that has some stacks that I'll need to put into a folder within the Application support folder. Would it be a good choice to make my own installer program with Rev and suck up the App and all needed stacks into custom properties, then upon

Re: [script optimization challenge] Multi dimensional array filtering

2009-08-05 Thread Andre Garzia
Malte, On my machine, your original code took between 28 and 31 milisecs, this code here: on mouseUp    local testarray,tprocess,test    repeat with i=1 to 3       put any item of meier,müller,john,doe into testarray[i][name]    end repeat    answer the number of lines of the keys of

Re: Digging Huge Files

2009-08-05 Thread Mark Wieder
Sivakatirswami- Well, your tCompleted also remains constant - it's just the ratio of download locations that changes. Which makes sense, since what you're displaying is line 1: tRevHits line 2: tCompleted - tRevHits Also, are you really saying put (1quote200 ) into tCompleteCode? Shouldn't that

Re: [script optimization challenge] Multi dimensional array filtering

2009-08-05 Thread Bernard Devlin
Malte, using your original handler I was getting an approx time of 22ms. Creating a new array instead of deleting the variable (see below) gives me an approx time of 7ms. Will that work for you? It's very significantly faster. Powerbook G4 PPC 1.67ghz Bernard on mouseUp local

cookbook for putting Rev app on the web?

2009-08-05 Thread Sadhu Nadesan
Greetings, Is there a simple cookbook list somewhere of how to convert a stand alone application to a web application? Something like 1) recompile using these settings 2) put this code on your web page 3) put your executable here on the server 4) you are done or similar? Mahalo Sadhu

Re: [script optimization challenge] Multi dimensional array filtering

2009-08-05 Thread Mark Wieder
Andre- Wednesday, August 5, 2009, 8:34:36 AM, you wrote: I don't know if there would be any improvement in what I am telling you but what if you combined the array, filtered the lines and split up again? I thought so too, but the combine operator seems to be pretty slow. In addition, I

Re: [script optimization challenge] Multi dimensional array filtering

2009-08-05 Thread Mark Wieder
Malte- Here's my attempt. Putting the results into a variable instead of an array element seems to shave about 25% off the total run time. I'm assuming you want the results here rather than just a count - doing a total count is quite a bit faster than accumulating the actual hits. on mouseUp

Re: QTVR no longer works on new Windows computers

2009-08-05 Thread Trevor DeVore
On Aug 5, 2009, at 1:01 PM, stgoldb...@aol.com wrote: Does anyone know of a workaround for this problem, or whether Apple plans to update its Quicktime Player to support QTVR on new Windows computers? I filed a bug report on this and have been exchanging emails with someone at Apple over

Re: [script optimization challenge] Multi dimensional array filtering

2009-08-05 Thread Brian Yennie
Malte, Beyond the ideas already presented, the only thing I can think of - and this would be a bit of work - is that if there are particular fields you know you will want to filter on, you could maintain a *sorted* copy of dgdata. For example, if you had a copy of dgdata sorted by name,

revlet and path

2009-08-05 Thread Yves COPPE
Hi list Here is a very simple script : on mouseUp put empty into fld resultat set itemDel to / put item 1 to -2 of the effective fileName of this stack into tPath set itemDel to comma put tPath into fld resultat end mouseUp In the IDE, it gives the right path when I build a

Chunks vs Arrays - surprising benchmarking results

2009-08-05 Thread Richard Gaskin
The Multi dimensional array filtering thread reminded me of a benchmarking test I've been wanting to do for some time, and since I have some tasks coming up on a client project which needs this sort of stuff it was a good time to dive in. The goal is simple enough: one of the most common

Re: revlet and path

2009-08-05 Thread Richard Gaskin
Yves COPPE wrote: Here is a very simple script : on mouseUp put empty into fld resultat set itemDel to / put item 1 to -2 of the effective fileName of this stack into tPath set itemDel to comma put tPath into fld resultat end mouseUp In the IDE, it gives the right path

Re: Digging Huge Files

2009-08-05 Thread Sivakatirswami
Mark Wieder wrote: Sivakatirswami- Well, your tCompleted also remains constant - it's just the ratio of download locations that changes. Which makes sense, since what you're displaying is line 1: tRevHits line 2: tCompleted - tRevHits Also, are you really saying put (1quote200 ) into

Re: Chunks vs Arrays - surprising benchmarking results

2009-08-05 Thread Trevor DeVore
On Aug 5, 2009, at 3:05 PM, Richard Gaskin wrote: Any thoughts on how I might optimize the array functions? Did I just overlook something obvious which would make them run faster? Richard, The main slowdown in your test for GetFromMainArray seems to be in transferring the data from the

Re: Digging Huge Files

2009-08-05 Thread Jim Ault
Tip: There are globals, script locals, and handler locals. Globals belong to Revolution, not the stack or script that created them in memory. These values persist even if the stack is removed from memory. Script locals are kept in memory as long as the stack is open. In a way. like globals,

Re: Chunks vs Arrays - surprising benchmarking results

2009-08-05 Thread Richard Gaskin
Trevor DeVore wrote: On Aug 5, 2009, at 3:05 PM, Richard Gaskin wrote: Any thoughts on how I might optimize the array functions? Did I just overlook something obvious which would make them run faster? Richard, The main slowdown in your test for GetFromMainArray seems to be in

Re: Chunks vs Arrays - surprising benchmarking results

2009-08-05 Thread Trevor DeVore
I had hoped that I might be able to get around the need to copy the data out of the properties by using array notation directly on those properties, but alas it doesn't seem the property array syntax is yet parallel with variable array syntax as it used to be before we got

Re: Chunks vs Arrays - surprising benchmarking results

2009-08-05 Thread Paul Looney
Richard, I have nothing to add directly to the chunk vs array discussion (Trevor's reply was very good) but I have often found it helpful to increase the speed of compound selections by breaking them into individual ones. For instance if you have a large database of names and sexes and

MacSpeech?

2009-08-05 Thread Peter Brigham MD
Anyone know if the new Dragon speech recognition/dictation app for the Mac, MacSpeech Dictate -- which is getting fairly good reviews -- will pour text into a field in a rev stack? I'd like to confirm that this will work before I shell out $200 for this thing, since my main use of it will

Re: cookbook for putting Rev app on the web?

2009-08-05 Thread Sarah Reichelt
Is there a simple cookbook list somewhere of how to convert a stand alone application to a web application?  Something like 1) recompile using these settings 2) put this code on your web page 3) put your executable here on the server 4) you are done 1. Go to Standalone settings - Web and

Re: MacSpeech?

2009-08-05 Thread Rick Harrison
Hi Peter, Yes MacSpeech Dictate version 1.3 works great with Revolution. I just finished talking into a scrolling field in Pre-beta 4.0 with no problems at all. Rick On Aug 5, 2009, at 7:16 PM, Peter Brigham MD wrote: Anyone know if the new Dragon speech recognition/dictation app for

Re: Digging Huge Files

2009-08-05 Thread Sivakatirswami
Jim Ault wrote: Tip: There are globals, script locals, and handler locals. Globals belong to Revolution, not the stack or script that created them in memory. These values persist even if the stack is removed from memory. Script locals are kept in memory as long as the stack is open. In a

Re: [teaser] for third party developers

2009-08-05 Thread Shao Sean
Not only would it centralize documentation for different libraries, Which is the main point of it, even for my own libraries I forget what they do ;) Many users of this list have written a wide variety of helpful libraries. Yes and I use many of them in my personal toolbox thank you

onrev client as stack?

2009-08-05 Thread Nicolas Cueto
Is the onrev client available as a stack? I'd like to modify it to suit my own way of working. -- Nicolas Cueto ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription