Re: Gaussian pseudo-random numbers -- math issues

2008-10-23 Thread rchilderic
Selon Mark Smith [EMAIL PROTECTED]: Timothy, the only way I could find of doing what you want is called 'the polar form of the Box-Muller transformation'. Fortunately, it's not as bad as it sounds. :) I've copied an ADA implementation, and here it is: function polarBoxMuller pLength,

Re: Learning Rev3 - Calendar Tutorial Questions

2008-10-23 Thread rchilderic
Selon Mark Srebnik [EMAIL PROTECTED]: THANKS, Jacqueline, for this and your previous reply. It really helps make things clearer for me Onward and upward ;-) Mark -Original Message- From: J. Landman Gay [EMAIL PROTECTED] Sent: Oct 20, 2008 12:49 PM To: How to use

Re: Learning Rev3 - Calendar Tutorial Questions

2008-10-23 Thread rchilderic
Selon J. Landman Gay [EMAIL PROTECTED]: Mark Srebnik wrote: 2. Good Way to Edit Background Group Across Multiple Cards Found myself editing February card and then realizing that this was probably a mistake, as I'd need to make the same corrections to about 9-10 more cards...one for

OT: take-up of netbooks has been staggering

2008-10-23 Thread Bernard Devlin
http://www.itwire.com/content/view/21221/53/ It looks like my experiences in the week when I bought my AA1 were typical - in seven days my local PC store went from selling two types of netbook, to having a whole section devoted to eight different netbooks (most running Linux). The same store

Re: OT: take-up of netbooks has been staggering

2008-10-23 Thread Richard Gaskin
Bernard Devlin wrote: http://www.itwire.com/content/view/21221/53/ It looks like my experiences in the week when I bought my AA1 were typical - in seven days my local PC store went from selling two types of netbook, to having a whole section devoted to eight different netbooks (most running

Re: OT: take-up of netbooks has been staggering

2008-10-23 Thread Bernard Devlin
I think the keyboard size is ok (I can touch type on it). The only thing I think is bad are the trackpad buttons - they're in an uncomfortable place (either side of the trackpad), and they are very stiff. I have to use a mouse with it. From what I've read, it looks like others feel the same way

Two DB questions

2008-10-23 Thread Klaus Major
Hi all, 1. One can move to the first/prev/next/last record in a DB cursor with: revdb_moveXXX(Cursor_ID) Is it also possible to go to a specific record NUMBER? Maybe I overlooked this in the docs... 2. Since I cannot test it in the moment, how can one check if an existing table does NOT

Q: timeout in http/ftp functions

2008-10-23 Thread [EMAIL PROTECTED]
Hello, in using put into URL or post xyz to URL zyx runrev works for a while if the URL does not exist or any problem occurs with the connection. Can I set a timeout like in Perl? ## use strict; use LWP::UserAgent; use HTTP::Request::Common; my $ua = LWP::UserAgent-new; $ua-timeout(30); ...

Re: Q: timeout in http/ftp functions

2008-10-23 Thread Klaus Major
Hi Franz, Hello, in using put into URL or post xyz to URL zyx runrev works for a while if the URL does not exist or any problem occurs with the connection. Can I set a timeout like in Perl? ## use strict; use LWP::UserAgent; use HTTP::Request::Common; my $ua = LWP::UserAgent-new;

Re-2: Q: timeout in http/ftp functions

2008-10-23 Thread [EMAIL PROTECTED]
Hello Klaus, thank you. I will test this global variable - perhaps it is used in the put and post functions within runrev also. Regards, Franz Original Messageprocessed by David InfoCenter Subject: Re: Q: timeout in http/ftp functions (23-Okt-2008 12:02) From:Klaus Major [EMAIL

Re: Handling custom URL protocols in Mac OS X?

2008-10-23 Thread Lyn Teyla
Ben Rubinstein wrote: Note the crazy GURL/LRUG test; this became necessary when Intel Macs came out. I think it applied when running under Rosetta on an Intel Mac. I don't know if it's still an issue - ie whether it was a bug in Rev, or in Apple's code. Thanks Ben, the code works great.

Re: Gaussian pseudo-random numbers -- math issues

2008-10-23 Thread Mark Smith
Correction, I messed up with last night's version, so here's a correct one. function polarBoxMuller pLength, pMean, pStd put 2 ^ 32 -1 into tMax repeat plength div 2 repeat put (random(tMax) / tMax) * 2 - 1 into x put (random(tMax) / tMax) * 2 - 1 into y

Re: Two DB questions

2008-10-23 Thread Jan Schenkel
--- Klaus Major [EMAIL PROTECTED] wrote: Hi all, 1. One can move to the first/prev/next/last record in a DB cursor with: revdb_moveXXX(Cursor_ID) Is it also possible to go to a specific record NUMBER? Maybe I overlooked this in the docs... Nope, you have to look at

Another DB question

2008-10-23 Thread Klaus Major
Hi all, although I did not receive a response to my first DB questions, I dare to ask another question :-) Is it possible to directly search in the data of a db cursor? Or will on have to use a repeat loop through all the data in a cursor to find the desired data? Know what I mean? Background:

formatting

2008-10-23 Thread Larry Watts
I want to generate a random number between 1 and 1,000,000,000,000,000 but after experimenting, it seems the largest number I'm allowed to put in for upperLimit in the random function is 1,999,999,999. Does anyone know if that is a limitation of Rev (not mentioned in the documentation) or a

Re: formatting

2008-10-23 Thread Mark Schonewille
Hi Larry, Maybe this helps with regard to the formatting: http://thread.gmane.org/gmane.comp.ide.revolution.user/1599 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum/

Re: Two DB questions

2008-10-23 Thread Klaus Major
Hi Jan, --- Klaus Major [EMAIL PROTECTED] wrote: Hi all, 1. One can move to the first/prev/next/last record in a DB cursor with: revdb_moveXXX(Cursor_ID) Is it also possible to go to a specific record NUMBER? Maybe I overlooked this in the docs... Nope, you have to look at

Re: Two DB questions

2008-10-23 Thread Ruslan Zasukhin
On 10/23/08 2:55 PM, Jan Schenkel [EMAIL PROTECTED] wrote: --- Klaus Major [EMAIL PROTECTED] wrote: Hi all, 1. One can move to the first/prev/next/last record in a DB cursor with: revdb_moveXXX(Cursor_ID) Is it also possible to go to a specific record NUMBER? Maybe I overlooked this

Re: formatting

2008-10-23 Thread Larry Watts
Thanks Mark! - Original Message - From: Mark Schonewille [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: Thursday, October 23, 2008 5:06 AM Subject: Re: formatting Hi Larry, Maybe this helps with regard to the formatting:

Re: Two DB questions

2008-10-23 Thread Ruslan Zasukhin
On 10/23/08 2:55 PM, Jan Schenkel [EMAIL PROTECTED] wrote: 2. Since I cannot test it in the moment, how can one check if an existing table does NOT contain any data/records (yet)? I presume one can get a db cursor first and then check revdb_recordcount = 0. Is that correct? Depending on

Re: Another DB question

2008-10-23 Thread Ruslan Zasukhin
On 10/23/08 2:58 PM, Klaus Major [EMAIL PROTECTED] wrote: Hi Klaus, Is it possible to directly search in the data of a db cursor? Usually no. Bad news this time, Valentina also do not provide this. Or will on have to use a repeat loop through all the data in a cursor to find the desired

Re: Two DB questions

2008-10-23 Thread Klaus Major
Strastwutje Ruslan, On 10/23/08 2:55 PM, Jan Schenkel [EMAIL PROTECTED] wrote: --- Klaus Major [EMAIL PROTECTED] wrote: Hi all, 1. One can move to the first/prev/next/last record in a DB cursor with: revdb_moveXXX(Cursor_ID) Is it also possible to go to a specific record NUMBER? Maybe I

XML Data Problem

2008-10-23 Thread Dave
Hi, The following in a string of XML data causes revCreateXMLTree() to return an error: a:DescriptionGorillaz Killers/a:Description Is there a way to handle this? All the best Dave ___ use-revolution mailing list

More - XML Data Problem

2008-10-23 Thread Dave
Opps! Meant to say; If I change the string to: a:DescriptionGorillaz and Killers/a:Description All is Fine! Thanks a lot Dave -- Hi, The following in a string of XML data causes revCreateXMLTree() to return an error: a:DescriptionGorillaz Killers/a:Description Is

Re: making a tooltip (for Japanese)

2008-10-23 Thread Thomas McGrath III
Nicolas, Go to the Rev Online User space mcgrath3 and look at my sample tooltips stack ToolTip Tricks. It shows many ways to play with tooltips that might help. Tom McGrath III On Oct 23, 2008, at 12:04 AM, Nicolas Cueto wrote: Hello List, I'd like to add a tooltip with Japanese text

Re: More - XML Data Problem

2008-10-23 Thread coiin
I was going to reply to say that apparently colon is used with namespaces, and authors are not supposed to use them in tags, but even so, parsers are supposed to cope with that. As the problem may be with the ampersand, try this: a:DescriptionGorillaz amp; Killers/a:Description

Re: making a tooltip (for Japanese)

2008-10-23 Thread Mark Schonewille
Hi Tom, If I click the Run button on the Walkthrough pane of your stack and immediately thereafter click on the Changing Tooltips tab, I get an execution error. I think that Nicolas' problem is that Rev tooltips can't display unicode. He is probably trying to make his own tooltips and

Re: XML Data Problem

2008-10-23 Thread Ben Rubinstein
Dave wrote: The following in a string of XML data causes revCreateXMLTree() to return an error: a:DescriptionGorillaz Killers/a:Description Is there a way to handle this? revCreateXMLTree is correct to return an error; is an illegal character in XML. (One of two, the other is .) The

no live resizeStack on Mac?

2008-10-23 Thread Tiemo Hollmann TB
Hello, Rev 3.0, Win XP. I just experienced, when resizing a stack on Win the window size follows the resizing mouse. But on Mac (standalone) the resize is done after mouse up. Is this a standard Mac / Win difference of Rev? Am I missing something in coding for Mac? Or is it a bug? Thanks for

Re: no live resizeStack on Mac?

2008-10-23 Thread Klaus Major
Hi Tiemo, Hello, Rev 3.0, Win XP. I just experienced, when resizing a stack on Win the window size follows the resizing mouse. But on Mac (standalone) the resize is done after mouse up. Is this a standard Mac / Win difference of Rev? Am I missing something in coding for Mac? Or is it a

AW: no live resizeStack on Mac?

2008-10-23 Thread Tiemo Hollmann TB
Oh boy, sorry for not having searched effective :) Thanks Klaus Tiemo -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:use-revolution- [EMAIL PROTECTED] Im Auftrag von Klaus Major Gesendet: Donnerstag, 23. Oktober 2008 15:28 An: How to use Revolution Betreff: Re: no live

Re: AW: no live resizeStack on Mac?

2008-10-23 Thread Klaus Major
Hi Tiemo, Oh boy, sorry for not having searched effective :) Now you will have to write 1000 times: I will search the Rev docs first! :-D Thanks Klaus Tiemo Best Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution

Re: Another DB question

2008-10-23 Thread Jan Schenkel
--- Klaus Major [EMAIL PROTECTED] wrote: Hi all, although I did not receive a response to my first DB questions, I dare to ask another question :-) Is it possible to directly search in the data of a db cursor? Or will on have to use a repeat loop through all the data in a cursor to

Re: making a tooltip (for Japanese)

2008-10-23 Thread Thomas McGrath III
Mark, I just noticed that error as well. It was not there before. The second pane Walkthroughs is the one that I thought might apply to Nicolas. I thought the Unicode issue in tooltips was fixed??? Regards, Tom McGrath On Oct 23, 2008, at 9:14 AM, Mark Schonewille wrote: Hi Tom, If I

AW: AW: no live resizeStack on Mac?

2008-10-23 Thread Tiemo Hollmann TB
Yup :) -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:use-revolution- [EMAIL PROTECTED] Im Auftrag von Klaus Major Gesendet: Donnerstag, 23. Oktober 2008 15:50 An: How to use Revolution Betreff: Re: AW: no live resizeStack on Mac? Hi Tiemo, Oh boy, sorry for not

Re: making a tooltip (for Japanese)

2008-10-23 Thread Thomas McGrath III
Nicolas, You might want to look at mouseLeave as well to see if the mouse left the object. Tom McGrath On Oct 23, 2008, at 12:04 AM, Nicolas Cueto wrote: The challenge for me is how to measure whether the mouse has moved or not. All I can figure out is to add a send command to the

Re: AW: AW: no live resizeStack on Mac?

2008-10-23 Thread Klaus Major
Hi Tiemo, Yup :) be prepared, I will check this later this evening! ;-) Hi Tiemo, Oh boy, sorry for not having searched effective :) Now you will have to write 1000 times: I will search the Rev docs first! :-D Best Klaus Major [EMAIL PROTECTED] http://www.major-k.de

Re: AW: no live resizeStack on Mac?

2008-10-23 Thread Luis
Should be easy in Rev... :) Cheers, Luis. On 23 Oct 2008, at 14:50, Klaus Major wrote: Hi Tiemo, Oh boy, sorry for not having searched effective :) Now you will have to write 1000 times: I will search the Rev docs first! :-D Thanks Klaus Tiemo Best Klaus Major [EMAIL PROTECTED]

Re: AW: no live resizeStack on Mac?

2008-10-23 Thread Klaus Major
Hi Luis, Should be easy in Rev... :) Nice try! Of course I meant HANDWRITTEN! :-D Cheers, Luis. Best Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to

AW: no live resizeStack on Mac?

2008-10-23 Thread Richard Gaskin
Tiemo Hollmann wrote: Rev 3.0, Win XP. I just experienced, when resizing a stack on Win the window size follows the resizing mouse. But on Mac (standalone) the resize is done after mouse up. Is this a standard Mac / Win difference of Rev? Am I missing something in coding for Mac? Or is it a

Re: OT: take-up of netbooks has been staggering

2008-10-23 Thread Richard Gaskin
Bernard Devlin wrote: I think the keyboard size is ok (I can touch type on it). The only thing I think is bad are the trackpad buttons - they're in an uncomfortable place (either side of the trackpad), and they are very stiff. I have to use a mouse with it. From what I've read, it looks like

Re: no live resizeStack on Mac?

2008-10-23 Thread Eric Chatonet
Bonsoir Tiemo, Le 23 oct. 08 à 15:26, Tiemo Hollmann TB a écrit : Rev 3.0, Win XP. I just experienced, when resizing a stack on Win the window size follows the resizing mouse. But on Mac (standalone) the resize is done after mouse up. Is this a standard Mac / Win difference of Rev? Am I

Re: OT: take-up of netbooks has been staggering

2008-10-23 Thread Bernard Devlin
It was various issues with the engine and the IDE. Problems with hanging and crashing, memory leaking, the script editor being very slow, the backdrop not working properly (window decorations disappearing until next restart), virtual desktops not working, etc. Maybe some of those issues are

Re: OT: take-up of netbooks has been staggering

2008-10-23 Thread Richard Gaskin
Bernard Devlin wrote: It was various issues with the engine and the IDE. Problems with hanging and crashing, memory leaking, the script editor being very slow, the backdrop not working properly (window decorations disappearing until next restart), virtual desktops not working, etc. Maybe some

Re: Searching the list - alternative to gzip files?

2008-10-23 Thread Michael
Hi: Many of the list search results at lists.runrev.com are gzip files. This is the opposite of useful for web searching. Is there a way to search the list archives on the web with an actual web browser (Safari)? Or can all the archives be downloaded as a gzip in ONE file? Thanks, m

Re: Searching the list - alternative to gzip files?

2008-10-23 Thread Mark Schonewille
Hi Michael, There is a good alternative to Google/GZip files, called GMane. If you go to http://economy-x-talk.com/developers.html, you can find a FireFox search plugin for the Revolution archives at GMane near the bottom of the page. -- Best regards, Mark Schonewille Economy-x-Talk

Re: Searching the list - alternative to gzip files?

2008-10-23 Thread Richard Gaskin
Michael wrote: Many of the list search results at lists.runrev.com are gzip files. This is the opposite of useful for web searching. Is there a way to search the list archives on the web with an actual web browser (Safari)? Or can all the archives be downloaded as a gzip in ONE file? For

Re: Printing

2008-10-23 Thread william humphrey
I just discovered that Rev 3.0 running on Mac OS ignores the cancel button in a print dialogue. Can anyone please help me how to re-write the following so that I can have a cancel back again? * * ** * on mouseup select empty set the printmargins to 0,0,0,0 set the

Re: Printing

2008-10-23 Thread Mark Schonewille
William, on mouseup select empty set the printmargins to 0,0,0,0 set the printPaperOrientation to landscape open printing with dialog if the result is not Cancel then print card from 0,0 to 790,580 end if close printing end mouseup -- Best regards, Mark Schonewille

Re: Printing

2008-10-23 Thread william humphrey
Thanks. I tried it but should have realized that the mac os dialog wasn't going to put anything into it. I'm still surprised that somehow the cancel button on the dialog gets deactivated but I guess the RunRev PrintCard command over-rides it. Thanks again. On Thu, Oct 23, 2008 at 3:45 PM, Mark

Re: OT: take-up of netbooks has been staggering

2008-10-23 Thread Chipp Walters
I still use my eee 701 quite a bit-- but converted it to WinXP awhile ago. XP runs great on it, but the screen is small at 800 x 480. Using some 3rd party drivers I can scale it to 1024 x 768, but it's a bit hard to read. One of my favorite uses for my eee is to remote control my Mac (always

[ANN] and Re: Problem with mask

2008-10-23 Thread Wilhelm Sanke
I have uploaded a sample stack containing 8 different scripts for creating masks and generating oval images. http://www.sanke.org/Software/ThreeMasks.zip. Stack Three Masks demonstrates and lets you compare the approaches of Jim Hurley, Scott Rossi, and my own. All examples use the same

Re: OT: take-up of netbooks has been staggering

2008-10-23 Thread Matthias Rebbe
Hi, i can confirm, that the right shift key is really difficult to use. I modified the registry to swap the right shift key with the cursor up key. I just put REGEDIT4 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] @= Scancode

Re: [ANN] and Re: Problem with mask

2008-10-23 Thread BNig
Hi Wilhelm, Wilhelm Sanke wrote: I am wondering if we could avoid or suppress the flickering that appears when taking the snapshot? just add a 'lock screen' after the mouseUp in the script of Scott's version and the flicker is gone. the beauty of Scott's approach is that he has the

Re: OT: 3rd-Party iMovie Titles that Don't Suck?

2008-10-23 Thread Josh Mellicker
Judy, I would guess the titles are not pixelating due to iMovie, but probably because of the format you are exporting in? You can get very nice looking titles from iMovie by exporting using this process: http://www.dvcreators.net/how-do-i-export-a-high-quality-movie/ Give that a try and

Re: OT: 3rd-Party iMovie Titles that Don't Suck?

2008-10-23 Thread Judy Perry
Josh, Thanks, I will try that link. Will get back to you. I export movies for a variety of playback (DVD, YouTube, webpage...). I usually try to use the highest export settings but maybe I just haven't a clue! ;-) Judy On Thu, Oct 23, 2008 at 4:21 PM, Josh Mellicker [EMAIL PROTECTED] wrote:

Re: Two DB questions

2008-10-23 Thread Len Morgan
Klaus, It seems that you come from an old fashioned DB background (i.e., dBaseII, etc) where the idea of a record number meant something. If you read up on the history of SQL, you'll see that one of reasons for SQL was to get rid of the concept of a record number. In fact when you join two

Re: OT: take-up of netbooks has been staggering

2008-10-23 Thread Kay C Lan
On Thu, Oct 23, 2008 at 4:48 PM, Bernard Devlin [EMAIL PROTECTED] wrote: People think Notes is just email but it's far more. It's a distributed document database. So I store PDFs, web pages, code, executables, stacks (versioned with annotations), etc. all in Notes. Bernard, This is off

Re: [ANN] and Re: Problem with mask

2008-10-23 Thread Scott Rossi
Recently, Wilhelm Sanke wrote: Scott Ross's approach, taking a snapshot from the rect of the selection graphic, produces oval images with a very smooth fringe. As my selection tool is already a grouped one, in my minor necessary adaptation of Scott's script the grouping and later ungrouping