Re: Reference (maybe Live) Distribution for Rev Linux

2010-02-10 Thread Peter Alcibiades
We have a couple of completely clean installs of Debian (don't ask...), so can have a go on one of them. Also I have someplace a Mandriva install, so will try to dig it out and verify that again with 4.0. Give me a couple of days, not moving very fast right now. Peter -- View this message in

AW: Win7 Apps don't launch - just nothing ?

2010-02-10 Thread Tiemo Hollmann TB
Hi Jim, only revzip and revxml My customer now told me, that the icon of my app has the blue-yellow Win7 admin shield (don't know the correct name). I know that this has anything to do with permission / user rights, but I don't know what exactly and why this only affects my Rev Apps and not all

RevNix ?

2010-02-10 Thread Richmond Mathewson
This looks jolly interesting: http://www.geekconnection.org/remastersys/ I will try, within the next month, to pump out a RUBUNTU (well, not with that name), or RABID ROTTWEILER (well, one has to think up a suitably stupid name for the distro to keep 'in' with Ubuntu's stupid names.

For Sale: Source Code and Full Rights

2010-02-10 Thread Derek Bump
Hello All, I am looking for anyone interested in purchasing the Source Code and Full Rights to one of Dreamscape Software's most successful programs, JPEGCompress. http://www.dreamscapesoftware.com/jpegcompress/ The reason I am looking to sell the source code and full rights is because I have

Re: Properly formatted large numbers

2010-02-10 Thread Alex Tweedly
Michael Lew wrote: Dear Listers I'm working on some statistical simulations and regularly get output numbers with anything from 1 to 7 digits. They are hard to read when they don't have the conventional commas separating the thousands and millions. I've written a simple function that does the

RE: Win7 Apps don't launch - just nothing ?

2010-02-10 Thread Jim Bufalini
Tiemo Hollmann wrote: only revzip and revxml My customer now told me, that the icon of my app has the blue-yellow Win7 admin shield (don't know the correct name). I know that this has anything to do with permission / user rights, but I don't know what exactly and why this only affects my

AW: Win7 Apps don't launch - just nothing ?

2010-02-10 Thread Tiemo Hollmann TB
Hi Jim, thanks for your hints, I will follow them and get back. It's already late over there, you're still up? :) Tiemo -Ursprüngliche Nachricht- Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution- boun...@lists.runrev.com] Im Auftrag von Jim Bufalini Gesendet:

Time date [completely OT]

2010-02-10 Thread Sarah Reichelt
Over here, it is now 10 to 10 on 10-2-10 :-) (since we have our dates in d-m-y order) Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Time date [completely OT]

2010-02-10 Thread Richmond Mathewson
On 10/02/2010 13:50, Sarah Reichelt wrote: Over here, it is now 10 to 10 on 10-2-10 :-) (since we have our dates in d-m-y order) It has always escaped me why US dates are m-d-y d-m-y or y-m-d makes some sort of sense; moving from finer-grained division to coarser, or vice versa.

Devawriter

2010-02-10 Thread Richmond Mathewson
For ALL of you who just cannot stop writing Sanskrit letters to your uncle who is a sadhu at Rishikesh a new version of Devawriter is available here: http://andregarzia.on-rev.com/richmond/dwriter.html 1.0.7 This one has a floating palette that gives latin transcription values for Devanagari

Re: Reading/Deleting Last Line Of File

2010-02-10 Thread Warren Kuhl
Thanks for all the suggestions. I will look into trying some of them to see what works best for me. The file currently contains 105,750,304 records. I will report back my findings. Thanks, Warren On Tue, Feb 9, 2010 at 11:58 PM, J. Landman Gay jac...@hyperactivesw.com wrote: Jim Bufalini

Re: SVG from IREV server question

2010-02-10 Thread Michael Kann
Andre, thank you very much. Both of your solutions work. --- On Tue, 2/9/10, Andre Garzia an...@andregarzia.com wrote: From: Andre Garzia an...@andregarzia.com Subject: Re: SVG from IREV server question To: How to use Revolution use-revolution@lists.runrev.com Date: Tuesday, February 9,

RE: Problem Updating mySQL Record

2010-02-10 Thread Andrew Kluthe
DATABASE TABLE STRUCTURE of tleasepayments LeaseIDint(11) NOT NULL LeaseNamevarchar(50) NOT NULL LeaseCropYearsmallint(5) NOT NULL LandOwnerID varchar(40) NOT NULL LeasePaymentDate timestamp NOT NULL LeasePaymentDollars decimal(19,4) NULL --- The problem field. CropSharePercent

RE: Problem Updating mySQL Record

2010-02-10 Thread Andrew Kluthe
Ok, I have spent some time trying to smooth that query out. I got the query to work if I took out LeasePaymentDollars=1337. I also got the query to work if I take everything BUT LeasePaymentDollars out. I didn't re-write the query and the spellings/syntax are the exact same. So it works

Re: AW: Andre's house - completely offtopic

2010-02-10 Thread Björnke von Gierke
Hi I made a google maps entry that is open for anyone to edit. If you have a google account of any sorts, you can go here, and click on save to my maps and then edit to add your own location:

Re: Getting some chars from a string?

2010-02-10 Thread Björnke von Gierke
you already got a few interesting entries to try, but I haven't seen this one. I'd use this, because I suck at regexp and because one never know if someone added a suffix of jpeg or jpg or j or... function removeSuffix theName set the itemdelimiter to . return item 1 to -2 of theName end

Re: AW: Andre's house - completely offtopic

2010-02-10 Thread René Micout
Hello, Where click save to my maps ? René Le 10 févr. 2010 à 15:00, Björnke von Gierke a écrit : Hi I made a google maps entry that is open for anyone to edit. If you have a google account of any sorts, you can go here, and click on save to my maps and then edit to add your own location:

Re: AW: Andre's house - completely offtopic

2010-02-10 Thread René Micout
I think it is good now... But it is not simple to understand interface !! Thanks René Le 10 févr. 2010 à 15:00, Björnke von Gierke a écrit : Hi I made a google maps entry that is open for anyone to edit. If you have a google account of any sorts, you can go here, and click on save to my

RE: Problem Updating mySQL Record

2010-02-10 Thread Andrew Kluthe
The ANDs were jacking my query up. Commas used instead makes it work just as it should. UPDATE tleasepayments SET LeasePaymentDollars=21337. , CropSharePercent='0' , Notes='PUT SOME NOTES HERE' WHERE LeaseID='1214' grr, COMMAS! You win this time... -- View this message in context:

Re: Words Indexing strategies

2010-02-10 Thread Alejandro Tejada
Hi Bernard, on Wed, 10 Feb 2010 07:20:36 + Bernard Devlin wrote: Can I just clarify your problem? You want to be able to search for phrases (partial sentences, possibly with boolean logic) inside the text stored in the xml nodes of the article, once the article is found in the index?

Re: Words Indexing strategies

2010-02-10 Thread Bernard Devlin
On Wed, Feb 10, 2010 at 2:56 PM, Alejandro Tejada capellan2...@gmail.com wrote: No, it's not a search inside the displayed article. It's a global search, within a general index created using all words from all articles of Wikipedia. (I do not believe that it's necessary to load this full

Re: Win7 Apps don't launch - just nothing ?

2010-02-10 Thread Neal Campbell
Another thing to try is just moving the application to your Library-Documents folder. It could in a UAC protected folder which will not allow it to run (I have witnessed this a zillion times). Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com (540) 645 5394 NEW PHONE NUMBER Amateur

Re: Words Indexing strategies

2010-02-10 Thread Brian Yennie
Alejandro, The first step for this would likely include creating an inverted index. This means you store something like: monkey:1,34,3827,21314 Where the word being indexed in monkey and the numbers that follow are article IDs. Using this information it is pretty trivial to implement AND /

Re: Words Indexing strategies

2010-02-10 Thread Richard Gaskin
The ambitious Alejandro Tejada wrote: It's a global search, within a general index created using all words from all articles of Wikipedia. (I do not believe that it's necessary to load this full index in memory, instead just open specific parts of this index when users start searching) For

Noob Stacks Questions

2010-02-10 Thread Andrew Kluthe
The app I am working on is to be one stack in a set of stacks for dealing with different tasks. The first one I am working on handles everything to do with managing Leases on machinery, land, etc. There are many other tasks to handle and I figured a stack for each (and seperate stacks for

Re: Getting some chars from a string?

2010-02-10 Thread Richmond Mathewson
On 10/02/2010 16:07, Björnke von Gierke wrote: you already got a few interesting entries to try, but I haven't seen this one. I'd use this, because I suck at regexp and because one never know if someone added a suffix of jpeg or jpg or j or... function removeSuffix theName set the

Re: Noob Stacks Questions

2010-02-10 Thread Richmond Mathewson
On 10/02/2010 18:44, Andrew Kluthe wrote: 1. How do you pass data to and from different stacks? (Sarah's calendar specifically, and the rest of the stacks in my Application in general) Try this: put fld MAINDATA of stack MAINSTACK into fld DATA2 of stack STACK2 ALSO: Make sure that

Re: Noob Stacks Questions

2010-02-10 Thread Andrew Kluthe
I haven't built the Main Stack yet but am building LeaseStack to be shown to my supervisor to show him Rev's capabilities. This is one of Many modules/stacks that are to be used by the Mainstack when i write it. Can I write LeaseStack and add it to MainStack as a sub-stack later? Not a lot of

Re: Quickly View Contents Of An Array

2010-02-10 Thread Bob Sneidar
Well if you know SQL syntax like the back of your hand and dream about insert statements, then you could get by without it I suppose. But if you are not that keen on SQL then I highly recommend it, because it offers a way to do quite complex database operations without knowing ANYTHING about

Re: anyone found a way around 4-5 second latency in read from process?

2010-02-10 Thread Josh Mellicker
Thanks Bernard, good tips... I am experiencing this delay compared to running the same command in Terminal in OS X... I have also tried changing the idleRate but that doesn't seem to affect read from process. Perhaps an external is the best solution. On Feb 9, 2010, at 2:22 AM, Bernard Devlin

Re: Noob Stacks Questions

2010-02-10 Thread Thomas McGrath III
Andrew, Why not stick to the main stack/ substacks paradigm? It will be a lot easier in dealing with paths and can still act like a single application. A lot of people will do this even with one stack (i.e. a splash screen stack gets built as the standalone and then all substacks stay as

Re: Noob Stacks Questions

2010-02-10 Thread Andrew Kluthe
Well, I have already spent about 3 weeks getting this LeaseStack module to function. Can I start a new Mainstack and add this leasestack as a substack? -- View this message in context: http://n4.nabble.com/Noob-Stacks-Questions-tp1476073p1476163.html Sent from the Revolution - User mailing list

Re: Noob Stacks Questions

2010-02-10 Thread Thomas McGrath III
Yes, you can always set the mainstack of any stack at anytime. Tom On Feb 10, 2010, at 12:06 PM, Andrew Kluthe wrote: Can I write LeaseStack and add it to MainStack as a sub-stack later? Not a lot of data is going to be passed from Main to the different Module stacks. Most of them are going

Re: Noob Stacks Questions

2010-02-10 Thread Trevor DeVore
On Feb 10, 2010, at 12:30 PM, Andrew Kluthe wrote: Well, I have already spent about 3 weeks getting this LeaseStack module to function. Can I start a new Mainstack and add this leasestack as a substack? Yes. But don't be concerned about using multiple mainstacks in your project. Using

Re: Noob Stacks Questions

2010-02-10 Thread Thomas McGrath III
Yes, see the other reply. Also, is is good to think modularly on larger projects so as to keep each module as independent as possible. Then like you are planning already, one module can be updated or swapped out at any time. So, now where do you store information that goes across all modules???

Re: Quickly View Contents Of An Array

2010-02-10 Thread Trevor DeVore
On Feb 9, 2010, at 7:48 PM, Andrew Kluthe wrote: And is SQL Yoga worth it? My boss told me I can get whatever plugins I need to improve my productivity. I looked into it a bit but it seems to be what I have my DB handlers written for. What is the benefit of SQL Yoga vs Custom handlers?

[OT] Happy Valentines Day to Revolution!

2010-02-10 Thread Roger . E . Eller
I can't say this about most software, but I absolutely LOVE Revolution! And the new revWeb plugin, OMG! She is a thing of beauty! My life has been improved by using Rev so much that during this week as we approach Valentines Day, I just want to say Thank You to the Revolution team and all that

AW: Win7 Apps don't launch - just nothing ?

2010-02-10 Thread Tiemo Hollmann TB
Hi Neal, one of the Apps is a App, which runs off the CD. Could the UAC also has his hands on the CD drive? Tiemo -Ursprüngliche Nachricht- Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution- boun...@lists.runrev.com] Im Auftrag von Neal Campbell Gesendet: Mittwoch,

Re: Quickly View Contents Of An Array

2010-02-10 Thread Andrew Kluthe
hmm an impressive list of features. I will have to look into it more. It seems half or more of my programming work is writing handlers and functions for database queries. -- View this message in context: http://n4.nabble.com/Quickly-View-Contents-Of-An-Array-tp1474936p1476224.html Sent from the

Re: Win7 Apps don't launch - just nothing ?

2010-02-10 Thread Neal Campbell
Just try copy and move it to the Library-Documens folder and see if it does. I don't make any promises but I have had projects that worked in the IDE under win7/64 and when you build them will exhibit the behaviour you menitoned. I just copy them somewhere my account owns (even the desktop) and it

Re: Noob Stacks Questions

2010-02-10 Thread Richmond Mathewson
On 10/02/2010 19:06, Andrew Kluthe wrote: I haven't built the Main Stack yet but am building LeaseStack to be shown to my supervisor to show him Rev's capabilities. This is one of Many modules/stacks that are to be used by the Mainstack when i write it. Can I write LeaseStack and add it to

Re: Noob Stacks Questions

2010-02-10 Thread Mark Wieder
Andrew- Wednesday, February 10, 2010, 9:30:32 AM, you wrote: Well, I have already spent about 3 weeks getting this LeaseStack module to function. Can I start a new Mainstack and add this leasestack as a substack? One thing to be very wary about is that you can't have substacks of substacks -

Re: Quickly View Contents Of An Array

2010-02-10 Thread Andrew Kluthe
I made my presentation to my supervisor and got the go ahead to purchase revEnterprise, SQL Yoga, tRev, and a printed manual dictionary. I'm starting to get my feet wet with all of this and don't want to have to re-write a very large app to work with SQL Yoga after spending so much time on DB

Re: AW: Andre's house - completely offtopic

2010-02-10 Thread stephen barncard
One has to manually click and zoom to locate - if one searches, one leaves the page. You're right - it is a spam magnet - so probably should be locked after a point. - Stephen Barncard San Francisco http://houseofcubes.com/disco.irev On 10 February 2010 06:23, René

Large Format Printing With Rev?

2010-02-10 Thread Scott Rossi
Hi List Folks: Does anybody have any experience with large format imaging using Rev? I seem to recall Rev has a size limit when it comes to card size, but if a card of simple text and graphics could be converted into some kind of common vector output, the size limit might not be a show stopper.

Re: Quickly View Contents Of An Array

2010-02-10 Thread Trevor DeVore
On Feb 10, 2010, at 2:33 PM, Andrew Kluthe wrote: I made my presentation to my supervisor and got the go ahead to purchase revEnterprise, SQL Yoga, tRev, and a printed manual dictionary. I'm starting to get my feet wet with all of this and don't want to have to re-write a very large app to

determining if a stack is locked

2010-02-10 Thread Richard Gaskin
With v4, the engine now uses a more secure method to secure scripts, but in my testing it has also removed any way to determine when a stack is password-protected without using try. In versions prior to v4, you could do this: if the password the passkey then ... The password and passkey

revBrowserSet, search a second string

2010-02-10 Thread Claus Dreischer
Hi, i see a strange behaviour when searching a second string in a revBrowser: First i open a revBroser and i can see the web page i stated Then i search in that page with: revBrowserSet sBrowserId, selected, search_text sBrowserId is the Browser ID i got from revBrowserOpen search_text

Re: Noob Stacks Questions

2010-02-10 Thread Andrew Kluthe
Thank you for all of the useful info. Truth be told, I didn't really understand the full extent of stacks in rev. 1. In order to include a stack from someone else in my application, sarah's calendar for instance, I need to use: start using stack whateverStack ? So I should do this for all my

Re: Noob Stacks Questions

2010-02-10 Thread Robert Brenstein
On 10.02.10 at 09:06 -0800 Andrew Kluthe apparently wrote: Can I write LeaseStack and add it to MainStack as a sub-stack later? Not a lot of data is going to be passed from Main to the different Module stacks. Most of them are going to be near stand-alone (my boss has a dream of charging

Re: Large Format Printing With Rev?

2010-02-10 Thread Andre Garzia
Scott, I have no clue whatsoever, but if it is all vector graphics, can you convert it to SVG? it is just fancy XML and should not care about resolution. Cheers andre On Wed, Feb 10, 2010 at 5:38 PM, Scott Rossi sc...@tactilemedia.com wrote: Hi List Folks: Does anybody have any experience

Re: Large Format Printing With Rev?

2010-02-10 Thread stephen barncard
I keep hearing more and more about SVG lately - Robert Cailliau's favorite markup. Seems like a vector to SVG converter ( and vv) could be built in rev - Stephen Barncard San Francisco http://houseofcubes.com/disco.irev On 10 February 2010 12:55, Andre Garzia

Re: revBrowserSet, search a second string

2010-02-10 Thread Terry Judd
Claus - This looks like a bug (at least on OSX). As you point out the docs say that setting the selectedtext to empty or a string that does not occur in the text should 'reset' the selection - but doesn't. Certainly worth reporting. In the meantime it looks like you can work around it by handing

Re: Properly formatted large numbers

2010-02-10 Thread Michael Lew
Thanks Terry and Alex. Yes, I suspect that your suggestions would work, but both involve me working out how to trap clicks in the datagrid. That seems like more effort than I can put in at the moment: I've found datagrids to be a bit of a mystery so far and teaching starts here next week :-(

Re: Words Indexing strategies

2010-02-10 Thread Alejandro Tejada
Many thanks for replying this question. :-) on Wed, 10 Feb 2010 15:30:23 + Bernard Devlin wrote: OK, so that's why you mention the different files for each letter of the alphabet. Yes, each one of these 28 text files will be compressed in gz format. When users look for a word, or many

Re: Noob Stacks Questions

2010-02-10 Thread Thomas McGrath III
Andrew, You only start using a stack when it is a 'library' like stack with commands and functions in it that you need in other stacks. From what I have heard you say, that is not what you need. If you use one main stack and every other stack opens from that then they will be substacks or

Re: Words Indexing strategies

2010-02-10 Thread Brian Yennie
Yes, this is correct and should work fine, but how could i write in the word index a range of article where a word appears consecutively: baboon:1934,2345,2346,2347,2348,2349,2350,2351,2352,2567,3578 If this were your format, you could compact to something like: baboon:1934,2345-2352,2567,3578

OT: Our place in Hawaii....

2010-02-10 Thread Sivakatirswami
Some may wonder where we are and what it's like here. A recent visitor, with a high end camera did an amazing job and I could not resist putting this into an iRev slide show. http://www.himalayanacademy.com/slideshows/aadheenam/2009/ka_2009-12-30_thushyanthan-aadheenam/ Music by famed Tamil

Re: revBrowserSet, search a second string

2010-02-10 Thread Claus Dreischer
Hi Terry, thanks for taking a look! I had no luck with handing the focus to another control here on Win XP. Didn't cured the problem here. But i have done some more tests: (revBrowser alread open in a substack) - revBrowserSet sBrowserId, selected, Mike works - revBrowserSet sBrowserId,

Re: determining if a stack is locked

2010-02-10 Thread zryip theSlug
2010/2/10 Richard Gaskin ambassa...@fourthworld.com: With v4, the engine now uses a more secure method to secure scripts, but in my testing it has also removed any way to determine when a stack is password-protected without using try. In versions prior to v4, you could do this:   if the

Re: OT: Our place in Hawaii....

2010-02-10 Thread stephen barncard
My safari browser launched FlipForMac for audio uncompressed AIFF?? wow hi-fi - Stephen Barncard San Francisco http://houseofcubes.com/disco.irev On 10 February 2010 14:49, Sivakatirswami ka...@hindu.org wrote: Some may wonder where we are and what it's like

Re: Noob Stacks Questions

2010-02-10 Thread Sarah Reichelt
I just added sarah's calender stack to my LeaseStack and trying to figure out how to get the information from sarah's calendar into my EditPayments card. In the case of my calendar stack, it operates as a modal dialog and uses the dialogData to pass information back forth. If you used the

Re: Embedded Flash Player

2010-02-10 Thread Jiro Harada
Alejandro, Stephen, (Sorry for the delay. I couldn't reply owing to a recent bereavement.) On 2010/02/09, at 11:32, Alejandro Tejada wrote: How do you run a Java server inside a Rev application? System requirements do not specify which Java version is needed for running this Rev application.

Re: OT: Our place in Hawaii....

2010-02-10 Thread René Micout
I like Ganapati ! Le 10 févr. 2010 à 23:49, Sivakatirswami a écrit : Some may wonder where we are and what it's like here. A recent visitor, with a high end camera did an amazing job and I could not resist putting this into an iRev slide show.

Re: Noob Stacks Questions

2010-02-10 Thread J. Landman Gay
Andrew Kluthe wrote: Thank you for all of the useful info. Truth be told, I didn't really understand the full extent of stacks in rev. Have you seen the scripting conference stacks yet? The first one in particular does a good job of explaining what a stack and substacks are, as well as other

Re: Noob Stacks Questions

2010-02-10 Thread J. Landman Gay
Sarah Reichelt wrote: With the issue of main stacks sub stacks, there are (as always in Rev) a couple of different possibilities. You've been in my head again. We have to stop meeting this way. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software |

Re: revBrowserSet, search a second string

2010-02-10 Thread Terry Judd
OK - it looks like the OSX and Win versions of the browser function differently here (nothing new about that). While the method I suggested doesn't work with the Win browser, I did find that calling the revBrowserSet command twice will do the trick. For example, using the runrev home page as a

Re: OT: Our place in Hawaii....

2010-02-10 Thread Howard Bornstein
On Wed, Feb 10, 2010 at 2:49 PM, Sivakatirswami ka...@hindu.org wrote: Some may wonder where we are and what it's like here. A recent visitor, with a high end camera did an amazing job and I could not resist putting this into an iRev slide show.

Re: Reading/Deleting Last Line Of File

2010-02-10 Thread Kay C Lan
You mean you'll report back when you only have 105,750,303 records ;-) On Wed, Feb 10, 2010 at 9:06 PM, Warren Kuhl warrenk...@gmail.com wrote: Thanks for all the suggestions. I will look into trying some of them to see what works best for me. The file currently contains 105,750,304

Re: Time date [completely OT]

2010-02-10 Thread Kay C Lan
Dang I'm late, it's already passed 20:00 down there, which would be 10 to 20:10 on 10 to 2010 ;-) On Wed, Feb 10, 2010 at 7:50 PM, Sarah Reichelt sarah.reich...@gmail.comwrote: Over here, it is now 10 to 10 on 10-2-10 :-) (since we have our dates in d-m-y order) Cheers, Sarah

Re: OT: Our place in Hawaii....

2010-02-10 Thread Kay C Lan
The link and Firefox work for me :-) Firefox 3.5.7 OS X .6.2 MBP On Thu, Feb 11, 2010 at 10:23 AM, Howard Bornstein howard.bornst...@gmail.com wrote: On Wed, Feb 10, 2010 at 2:49 PM, Sivakatirswami ka...@hindu.org wrote: Some may wonder where we are and what it's like here. A recent

Re: OT: Our place in Hawaii....

2010-02-10 Thread Mark Wieder
Howard- Wednesday, February 10, 2010, 6:23:44 PM, you wrote: Sadly, this link completely and repeatedly crashes Firefox for me :-( OK - *that* got me to look. Usually I'm the one who has problems with these things on Firefox, but what I got was a stunning multimedia display. The only problem

Re: OT: Our place in Hawaii....

2010-02-10 Thread Jim Ault
Slide show and music run fine on OSX 10.5.8 G5 PPC FF Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.1.7) Gecko/ 20091221 Firefox/3.5.7 GTB6 Jim Ault Las Vegas ___ use-revolution mailing list use-revolution@lists.runrev.com Please

Re: OT: Our place in Hawaii....

2010-02-10 Thread Howard Bornstein
Ok, I tried it in Safari and it ran fine. I don't know what's up with my version of Firefox. Beautiful photos. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com

Sorting question

2010-02-10 Thread DunbarX
If I want to randomize a string of items using the random function as a sortKey, say: put 1,2,3 into temp sort items of temp by random(3) The randomization is not nearly as effective as if I say: put 1,2,3 into temp sort items of temp by random(100) If you run this many times to create a list

Re: Reading/Deleting Last Line Of File

2010-02-10 Thread Jeff Massung
Warren, I've read through most of these suggestions, but I'm surprised that the obvious hasn't been suggested yet (that I've seen): skip everything... put the length of url file:myfile.txt into tEnd open file myfile.txt for text update seek to tEnd in file myfile.txt From here just back up a

Re: Sorting question

2010-02-10 Thread Jeff Massung
Craig, This function might help you a bit (untested): function randomItemList pItems local tRandomItems local tIdx repeat until pItems is empty put the random of the number of items in pItems into tIdx get item tIdx of pItems put it comma after tRandomItems

Re: Reading/Deleting Last Line Of File

2010-02-10 Thread Brian Yennie
Jeff, This line: put the length of url file:myfile.txt into tEnd Loads the entire file into memory in order to get its length. - Brian ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe

Re: Sorting question

2010-02-10 Thread Brian Yennie
Craig, Yes, the random function is called for each item to assign it a sort value. My guess as to why using a larger number in random(n) is as follows; If you use random(3) there is a high chance that two items will be assigned the same value. In this case, the sort algorithm may preserve

Re: Reading/Deleting Last Line Of File

2010-02-10 Thread Jeffrey Massung
On Feb 10, 2010, at 11:26 PM, Brian Yennie wrote: Jeff, This line: put the length of url file:myfile.txt into tEnd Loads the entire file into memory in order to get its length. That's a joke, right? :-( A freakin' OS call could get that just by touching an I-Node. Please, God,

Re: Sorting question

2010-02-10 Thread Mark Wieder
Craig- You might also want to play around with setting the randomseed. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Reading/Deleting Last Line Of File

2010-02-10 Thread Brian Yennie
It's more a product of the syntax than anything. url file:myfile.txt is a container, and the length operates on it as such. URL containers are pretty darn handy in general, but this is one potential gotcha. You can use the detailed files to get information about a file, including its size in