Re: Best Practices in Rev development

2007-06-19 Thread Jerry Daniels
Thanks, Devin, for the honorable mention! Best, Jerry Daniels Makers of Galaxy http://www.daniels-mara.com On Jun 19, 2007, at 11:18 AM, Devin Asay wrote: Hello list, During the summer I have time to rethink some of the materials in my beginning programming course. For those of you not

Re: Programming challenge : spelling corrector

2007-06-19 Thread Viktoras Didziulis
By the way, and this is off-topic, except that it is about the coming Perl 6 programming language, the interesting citation: the vision for Perl 6 is more than simply a rewrite of Perl 5. By separating the parsing from the compilation and the runtime, we're opening the doors for multiple

Perl 6 project

2007-06-19 Thread Viktoras Didziulis
By the way, the snapshot of Perl 6 technology (called Parrot) can be downloaded from http://www.parrotcode.org/ Parrot is a virtual machine designed to efficiently compile and execute bytecode for dynamic languages. Parrot currently hosts a variety of language implementations in various stages

[ANN] Scripter's Scrapbook 5.2.10 Update

2007-06-19 Thread FlexibleLearning
www.FlexibleLearning.com/ssbk or www.ssBk.co.uk UPDATE AVAILABLE Thanks to feedback and feature requests, a major incremental update has been uploaded and is now available. The following are some of the main improvements. For full release notes including all bugfixes see

can Revolution Media 2 be used to build legacy stacks for CGI?

2007-06-19 Thread Andre Garzia
Hello Folks, I know that Rev Media tags the stacks it saves as belonging to itself. Can it be used to create legacy stacks for CGI use? Andre ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe,

A list with useful resources for new runtime revolution web app developers.

2007-06-19 Thread Andre Garzia
Hello Friends, Cool Web Resources for Runtime Revolution developershttp://andregarzia.com/blog/files/articles/webapp_resources.html A list with useful web app development resources for you all. Cheers andre ___ use-revolution mailing list

Re: A list with useful resources for new runtime revolution web app developers.

2007-06-19 Thread Joe Lewis Wilkins
Andre, most of the links from the following cited site cannot be found. At least that is the result I'm getting. Joe Wilkins On Jun 19, 2007, at 4:57 PM, Andre Garzia wrote: Hello Friends, Cool Web Resources for Runtime Revolution developershttp://andregarzia.com/blog/files/articles/

Application Speakable Items

2007-06-19 Thread kevin
Hi All, I was hoping someone could help me to solve a dilemma. I can't seem to get my application made in Rev to respond to speakable items placed in the appropriate folder in the Application Speakable Items folder. I noticed an earlier poster also had trouble with this. The same AppleScript

Re: Revolution Freezing or Quitting Unexpectedly

2007-06-19 Thread Shari
Hey, when you guys report things like this, it would be very helpful if we knew what you're using. Computer and OS and Rev version. Joe Wilkins In my case this has occurred on two computers: MacPro Macintel 10.4.7 running a standalone built with 2.8.1. The standalone was built as a

Re: A list with useful resources for new runtime revolution web app developers.

2007-06-19 Thread Andre Garzia
My bad, my bad, link is wrong, it's here http://andregarzia.com/blog/files/webapp_resources.html :-/ sorry for the inconvenience. can you try again? Andre On 6/19/07, Joe Lewis Wilkins [EMAIL PROTECTED] wrote: Andre, most of the links from the following cited site cannot be found. At least

Re: Revolution Freezing or Quitting Unexpectedly

2007-06-19 Thread Joe Lewis Wilkins
Hi Shari, Now that I know we're running somewhat similar environments, you've got my interest. First, this pList that you refer to: is this one that you created manually, or was it generated by RR from the objects and stuff that you've created. I'm assuming this is probably a game of

Re: A list with useful resources for new runtime revolution web app developers.

2007-06-19 Thread Joe Lewis Wilkins
Atta boy! Great scenery. Just wish I had time to check it all out. Joe Wilkins On Jun 19, 2007, at 5:30 PM, Andre Garzia wrote: My bad, my bad, link is wrong, it's here http://andregarzia.com/blog/files/webapp_resources.html :-/ sorry for the inconvenience. can you try again? Andre On

Re: A list with useful resources for new runtime revolution web app developers.

2007-06-19 Thread Joe Lewis Wilkins
My apologies for not stripping all the stuff at the bottom the last couple of times. Joe Wilkins On Jun 19, 2007, at 5:43 PM, Joe Lewis Wilkins wrote: Atta boy! Great scenery. Just wish I had time to check it all out. Joe Wilkins On Jun 19, 2007, at 5:30 PM, Andre Garzia wrote: My bad,

Re: Revolution Freezing or Quitting Unexpectedly

2007-06-19 Thread Shari
Joe, Every Mac OSX app has a pList file. Rev creates one in the standalone, however, to customize your application you must change it. So I use a custom pList file, simply replacing the Rev generated one. I've been replacing the Rev created one for years without any problems until now.

Re: Revolution Freezing or Quitting Unexpectedly

2007-06-19 Thread Joe Lewis Wilkins
Shari, If I were developing RR, I'd probably - sometimes - forget that some might be using a different IDE; consequently, some problems might crop in unexpectedly. They're probably not as ab sent minded as I might be, but as you update your programs to the latest RR, I'd consider

Re: Revolution Freezing or Quitting Unexpectedly

2007-06-19 Thread J. Landman Gay
Shari wrote: As I use a different IDE to build the standalone, I do not know if the actual Rev standalone builder customizes it now so that we don't have to. Rev has created customized plist files for quite a while now. You shouldn't have to do anything except set the info in the Standalone

Re: Revolution Freezing or Quitting Unexpectedly

2007-06-19 Thread Shari
Looking at the crash log you posted, there does seem to be a problem with an image display, but I'm no expert on crash logs. Really what you need to do is run this past the team via a bug report. Crashes are never the fault of your script, all crashes are engine-related and need to be fixed.

Re: Revolution Freezing or Quitting Unexpectedly

2007-06-19 Thread Shari
If I were developing RR, I'd probably - sometimes - forget that some might be using a different IDE; consequently, some problems might crop in unexpectedly. They're probably not as ab sent minded as I might be, but as you update your programs to the latest RR, I'd consider abandoning the other

Re: Best Practices in Rev development

2007-06-19 Thread Kay C Lan
On 6/20/07, Devin Asay [EMAIL PROTECTED] wrote: I like this technique, but there are lots of times when I've created a button, given it a name and label, then down the road decided that the label isn't exactly right and needs to be changed for clarity's sake. Often in these cases I have already

Re: Revolution Freezing or Quitting Unexpectedly

2007-06-19 Thread Kay C Lan
On 6/20/07, Shari [EMAIL PROTECTED] wrote: I tried to post this earlier, but it got caught in the moderator's web and they never did post it or tell me they weren't going to. So I've deleted the crash log from the email and posted it here: Although I've seen 1 or 2 text file attachments

Re: For Each Anomaly

2007-06-19 Thread Björnke von Gierke
The behavior is as described in the docs (see the Dictionary entry for repeat). Please consider closing the bug report. ... The larger BZ is the harder it gets to wade through. Thanks. Sounds like just the right time to throw it away and put in a better way of reporting, monitoring and

Re: can Revolution Media 2 be used to build legacy stacks for CGI?

2007-06-19 Thread J. Landman Gay
Andre Garzia wrote: Hello Folks, I know that Rev Media tags the stacks it saves as belonging to itself. Can it be used to create legacy stacks for CGI use? No, Media stacks are 2.7 only. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software |

Re: Revolution Freezing or Quitting Unexpectedly

2007-06-19 Thread Shari
Although I've seen 1 or 2 text file attachments make it onto the list I believe the general rule is all posts with attachments are rejected. If you need to send logs to the list, copy and paste the text is your best bet. For screen shots or images, for those like you who are fortunate to be able

Re: Application Speakable Items

2007-06-19 Thread J. Landman Gay
kevin wrote: Hi All, I was hoping someone could help me to solve a dilemma. I can't seem to get my application made in Rev to respond to speakable items placed in the appropriate folder in the Application Speakable Items folder. I noticed an earlier poster also had trouble with this. The

Re: Revolution Freezing or Quitting Unexpectedly

2007-06-19 Thread Scott Kane
From: Shari [EMAIL PROTECTED] Actually I did insert it as text, and not an attachment, but the filter catches the size of the email apparently. I never was officially rejected or accepted. I just got an automated post that a moderator would make the decision and let me know. I didn't know

Re: Best Practices in Rev development

2007-06-19 Thread Shari
The list is at http://revolution.byu.edu/design/bestpractices.html I'm interested in anyone's thoughts about them. Are they helpful? Could some of them inadvertently cause problems down the road? Have I left something important out? on Thoughts Name all objects: Absolutely! Even using an

[OT] Moderators (was Revolution Freezing or Quitting Unexpectedly)

2007-06-19 Thread Shari
I believe the term used here is List Mom and that role seems to usually go to Heather N. She's to nice to yell - quite different to how I do things - and her way is probably much nicer for all. ;-) Scott Scott, I've never seen you yell at anybody unless they were awful bad kiddies.

Re: [OT] Moderators (was Revolution Freezing or Quitting Unexpectedly)

2007-06-19 Thread Scott Kane
From: Shari [EMAIL PROTECTED] Hi Shari, I've never seen you yell at anybody unless they were awful bad kiddies. Rotten little buggers who deserved to be yelled at :-) If you've ever read the message boards for various stocks, now THEY could use a heavy hand! LOL! It was very different in

create field on specific positoin

2007-06-19 Thread runrev260805
Hi, i need to create several fields, 3 at a line, from a script. The number of fields depends on the number of lines a textfile contains. Each field then must contain an item of the text file. Excatly said, 3 items of each line of the text file have to be put into the 3 fields. Creating the

Re: My son Andro.

2007-06-19 Thread Kay C Lan
On 6/19/07, Scott Kane [EMAIL PROTECTED] wrote: I've just been through this on the kids Windows boxes. It's not written in Rev else I'd share the code. Fortunately the whole issue has been solved with OSX and it's Admin (Dad) and User (Child) accounts, Parental Control features, a router

Re: create field on specific positoin

2007-06-19 Thread Ian McKnight
Hi Matthias You could try the the following Create your three fields, size them and apply any formatting you need. Name each field X_1; X_2; X_3 as 'X' will contain your line number Correctly position the fields relative to each other, as they would appear on your card, and group them. Now hide

More Problem with Player Object in Library Stack

2007-06-19 Thread Dave
Hi, Further to the problems I was having with Opening a Library stack from within a function inside the same library. I found that having a player object inside the stack caused RunRev to Crash when the go stack command is executed. The object I removed had a fileName set, when I

Re: create field on specific positoin

2007-06-19 Thread Ian McKnight
Oops. Pressed send too early On 19/06/07, Ian McKnight [EMAIL PROTECTED] wrote: Hi Matthias You could try the the following put the number of lines in myTextFile into tNumberOfLines put 20 into theDistanceBetweenLines -- this value is determined by the height of your field and the distance

Re: create field on specific positoin

2007-06-19 Thread Viktoras Didziulis
I do this like that (just copied from an existing app): lock screen create group gLegendKeeper in group gLegend of card mainCard repeat with i=1 to 100 put f i into gName create field gName in group gLegendKeeper of group gLegend of card mainCard set the left of field fName of card

Re: create field on specific positoin

2007-06-19 Thread Viktoras Didziulis
whoops, omitted a typo - it should be : lock screen create group gLegendKeeper in group gLegend of card mainCard repeat with i=1 to 30 put f i into fName create field fName in group gLegendKeeper of group gLegend of card mainCard set the left of field fName of card mainCard to (myLeft +

More Problem with Player Object in Library Stack

2007-06-19 Thread Michael Binder
Hi Dave, you wrote: breakpoint put the short name of this stack into myCallingStack show me go stack the (short name of me) set the fileName of player PlayerThumbnail of me to theMovieFilePathName The file is valid and plays find in another player object. Any ideas on how to

Re: More Problem with Player Object in Library Stack

2007-06-19 Thread Dave
On 19 Jun 2007, at 10:10, Michael Binder wrote: Hi Dave, you wrote: breakpoint put the short name of this stack into myCallingStack show me go stack the (short name of me) set the fileName of player PlayerThumbnail of me to theMovieFilePathName The file is valid and plays

281 installer problems

2007-06-19 Thread xavier . bury
Hi everyone, anyone having problems with the 2.8.1 installer? I had a previous install of 2.8 (gm1, 2, 3, 4 - all too buggy to be used) and decided to test the 2.8.1. First the custom install path c:\app doesn't work. second the default path c:\app\revolution enterprise wont work either! It

Re: More Problem with Player Object in Library Stack

2007-06-19 Thread Eric Chatonet
Hi Dave, Le 19 juin 07 à 09:15, Dave a écrit : Further to the problems I was having with Opening a Library stack from within a function inside the same library. I found that having a player object inside the stack caused RunRev to Crash when the go stack command is executed. The object I

Re: String or number?

2007-06-19 Thread Torbjörn Nordlindh
Jim Ault wrote: Seems like a bug to me. But if you use this form it works as expected. put 123456.7890 into a put 123456.7890 + 0 into b split a using cr and . split b using cr and . -- or split b using tab and . split b using null and . That's interesting... Anyway, here's the

Re: More Problem with Player Object in Library Stack

2007-06-19 Thread Dave
Hi, Further to this problem! I found that if I turn off always buffer in the property inspector for the Player Object, IT DOES NOT CRASH!!! So, why should it crash if the always buffer is set true? Also, by setting it false, what implications does this have on movie playback and my

Re: 281 installer problems

2007-06-19 Thread Viktoras Didziulis
Hi, In 2.8.1 annoucement it warned: ..I recommend you do a full install from the downloads page rather than using your update button inside the program, as this version corrects a number of issues with the installer/uninstaller, and you will not see the benefit of this unless you do a full

Re: happy anniversary

2007-06-19 Thread Dave
! ! ! ! ! ! ! ! ! ! C O N G R A T U L A T I O N S ! ! ! ! ! ! ! ! ! Well, you beat me by 20 years! I started in 1973, working on Key-to- Disk system to replace paper tape and punched cards! Out of interest: What is the thing that most impresses you about modern computer technology? What

Re: 281 installer problems

2007-06-19 Thread xavier . bury
I didn't see any announcement or read me in the download page! What's a newbie to expect? At least this version now works better than 2.8! cheers [EMAIL PROTECTED] wrote on 19/06/2007 12:15:07: Hi, In 2.8.1 annoucement it warned: ..I recommend you do a full install from the downloads

Re: happy anniversary

2007-06-19 Thread Tereza Snyder
On Jun 18, 2007, at 7:19 PM, Cal Horner wrote: A Challenge to the list members. On June 14, 1957 I entered into my life long love affair with the computer. Back then it wasn't called IT. It was simply DP. COBOL and Basic didn't exist. Fortran was only a baby. My first computer was peg

Location of Handlers that Trap Messages

2007-06-19 Thread Gregory Lypny
Hello everyone, I'm a little rusty here. Does it matter much where I place handlers that trap openCard, closeField, and such messages? In a simple stack, I put them all in the stack script, but I guess I could put them in group script. I'm interested in speed as opposed to which

Re: Location of Handlers that Trap Messages

2007-06-19 Thread Eric Chatonet
Hi Greg, Le 19 juin 07 à 14:36, Gregory Lypny a écrit : I'm a little rusty here. Does it matter much where I place handlers that trap openCard, closeField, and such messages? In a simple stack, I put them all in the stack script, but I guess I could put them in group script. I'm

Re: happy anniversary

2007-06-19 Thread Graham Samuel
Congratulations Cal! I'm maybe closer than the average member of this list, but not too close: I think I saw a digital computer in late 57 as an undergraduate in Manchester, UK. It would have been something to do with Professor Tom Kilburn in the Electrical Engineering department. As a

Re:happy anniversary

2007-06-19 Thread Glenn E. Fisher
Cal, I started programming in 1962, so you've got 5 years on me. :-( Look at My Computing Experience on my UH web page below for a rundown of what I've been upto over the years. Congrats and happy anniversary, Glenn On June 18, 2007 7:19:50 PM CDT Cal Homer wrote: A Challenge to the

happy anniversary

2007-06-19 Thread Richmond Mathewson
Gosh, I don't stand a chance: born in 1962, sent off Hollerith cards to Imperial College in 1974, worked with a Research Machine 1976. Graham Samual wrote: The sheer intellectual drive and sense of fun and it seems to have gone; to be replaced by people who are deadly earnest and wouldn't know

For Each Anomaly

2007-06-19 Thread Michael Kann
This seems urgent enough to send out an alert. If you use the for each loop to manipulate text this bug will be of interest. http://quality.runrev.com/qacenter/show_bug.cgi?id=5157 Luggage? GPS? Comic

Re: For Each Anomaly

2007-06-19 Thread Eric Chatonet
Hi Michael, Using repeat for each *must not* modify the variable used: Here tPerson is modified when running: repeat for each line tPerson in tpeople put s after tPerson put tPerson return after holder end repeat This leads to unexpected results. Instead try: repeat for each

Re: For Each Anomaly

2007-06-19 Thread Richard Gaskin
Eric Chatonet wrote: Using repeat for each *must not* modify the variable used: Here tPerson is modified when running: repeat for each line tPerson in tpeople put s after tPerson put tPerson return after holder end repeat This leads to unexpected results. Instead try:

Re: For Each Anomaly

2007-06-19 Thread Dave
On 19 Jun 2007, at 15:51, Richard Gaskin wrote: The behavior is as described in the docs (see the Dictionary entry for repeat). Please consider closing the bug report. Somewhere between a fourth and a third of all entries in Bugzilla are noise, either reports submitted in error, or

I-beam Artifact bug?

2007-06-19 Thread FlexibleLearning
Has anyone else noticed an I-beam artifact when locking a field? Try this in a field on Win32... on mouseLeave set the locktext of me to true end mouseLeave on mouseEnter set the locktext of me to false end mouseEnter Not affected on OSX. /H

Re: For Each Anomaly

2007-06-19 Thread Richard Gaskin
Dave wrote: On 19 Jun 2007, at 15:51, Richard Gaskin wrote: The behavior is as described in the docs (see the Dictionary entry for repeat). Please consider closing the bug report. Somewhere between a fourth and a third of all entries in Bugzilla are noise, either reports submitted in

Re: Location of Handlers that Trap Messages

2007-06-19 Thread Devin Asay
On Jun 19, 2007, at 6:36 AM, Gregory Lypny wrote: Hello everyone, I'm a little rusty here. Does it matter much where I place handlers that trap openCard, closeField, and such messages? In a simple stack, I put them all in the stack script, but I guess I could put them in group script.

Best Practices in Rev development

2007-06-19 Thread Devin Asay
Hello list, During the summer I have time to rethink some of the materials in my beginning programming course. For those of you not familiar with it (probably most of you) this course is part of a larger curriculum for teaching applied computing skills to non-techies--our Computers and

Re: Location of Handlers that Trap Messages

2007-06-19 Thread Gregory Lypny
Thanks Eric, That's what I figured. I'll look into the private commands. Regards, Gregory On Tue, Jun 19, 2007, at 10:52 AM, use-revolution- [EMAIL PROTECTED] wrote: Hi Greg, Le 19 juin 07 à 14:36, Gregory Lypny a écrit : I'm a little rusty here. Does it matter much where I

Re: String or number?

2007-06-19 Thread Ken Ray
On Tue, 19 Jun 2007 12:07:25 +0200, Torbjörn Nordlindh wrote: Anyway, here's the real puzzle: If you put 1 into a put 1 + 0 into b Then a is a number and b is a number and a is an integer and b is an integer and a=b. Split treats them differently: split a by comma gives an array

Re: Best Practices in Rev development

2007-06-19 Thread Richard Gaskin
Devin Asay wrote: One of the things I introduced last Fall was a list of Best Practices for beginning Revolution developers. It was inspired in part by an excellent presentation by Jerry Daniels at RevCon 06. It was a good year for Best Practices sessions; Ken and I did our second

Re: I-beam Artifact bug?

2007-06-19 Thread Martin Baxter
[EMAIL PROTECTED] wrote: Has anyone else noticed an I-beam artifact when locking a field? Try this in a field on Win32... on mouseLeave set the locktext of me to true end mouseLeave on mouseEnter set the locktext of me to false end mouseEnter Not affected on OSX. /H You mean that if

Re: I-beam Artifact bug?

2007-06-19 Thread Eric Chatonet
Hi Hugh, Le 19 juin 07 à 16:59, [EMAIL PROTECTED] a écrit : Has anyone else noticed an I-beam artifact when locking a field? Try this in a field on Win32... on mouseLeave set the locktext of me to true end mouseLeave on mouseEnter set the locktext of me to false end mouseEnter Just

Re: Best Practices in Rev development

2007-06-19 Thread Devin Asay
On Jun 19, 2007, at 10:46 AM, Richard Gaskin wrote: Devin Asay wrote: One of the things I introduced last Fall was a list of Best Practices for beginning Revolution developers. It was inspired in part by an excellent presentation by Jerry Daniels at RevCon 06. It was a good year for

Re: I-beam Artifact bug? (Now Bug #5161)

2007-06-19 Thread FlexibleLearning
I wrote: Has anyone else noticed an I-beam artifact when locking a field? Try this in a field on Win32... on mouseLeave set the locktext of me to true end mouseLeave on mouseEnter set the locktext of me to false end mouseEnter Not affected on OSX. Martin Baxter wrote: You

Re: Best Practices in Rev development

2007-06-19 Thread Ken Ray
On Tue, 19 Jun 2007 10:18:26 -0600, Devin Asay wrote: Are they helpful? Very nice, Devin! Could some of them inadvertently cause problems down the road? Have I left something important out? Well, I don't know if this is *important*, but it works for me - it's along the lines of Use

Quick way to sort arrays?

2007-06-19 Thread David Bovill
Is there a quick way to sort array? Or do I have to get the elements of each and sort them? I want to sort an array in which each element is a numeric value, and I want the keys sorted accordinlgly. The best i can come up with is this: function array_GetSortByNumber someArray combine

Re: Best Practices in Rev development

2007-06-19 Thread Devin Asay
On Jun 19, 2007, at 12:16 PM, Ken Ray wrote: On Tue, 19 Jun 2007 10:18:26 -0600, Devin Asay wrote: Are they helpful? Very nice, Devin! Could some of them inadvertently cause problems down the road? Have I left something important out? Well, I don't know if this is *important*, but it

Re: Best Practices in Rev development

2007-06-19 Thread J. Landman Gay
Devin Asay wrote: On Jun 19, 2007, at 12:16 PM, Ken Ray wrote: I generally don't give names to label fields, but if I do need to, I follow the rule above and add lbl in front of it (so the label field I describe above would be called lblFirstName if I needed to address it). Yep, I do the

Re: I-beam Artifact bug?

2007-06-19 Thread Peter T. Evensen
Do you mean the flashing insertion bar gets stuck in the field when you set locktext to true? This is already bug #4840 http://quality.runrev.com/qacenter/show_bug.cgi?id=4840 You can work around it by adding a *type tab* before you set the locktext to true. This defocusses the text filed

Json library - some fragments

2007-06-19 Thread David Bovill
I've put a few handlers together to parse JSON data - http://www.json.org/ It is not exactly a library, but my aim is to put together some useful and fast handlers to dig out the data people most need from JSON feeds. My approach at the moment is to construct tables that can easily be converted

Programming challenge : spelling corrector

2007-06-19 Thread Mark Wieder
All- While I've never particularly liked lines-of-code metrics as benchmarks of programming efficiency (tends to reward obfuscation by cramming too much code into single lines), here's an interesting look at coding a spelling corrector in Python and then in several alternative languages for