From sunshine at public.kherson.ua Fri Feb 1 02:44:20 2008 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri, 01 Feb 2008 09:44:20 +0200 Subject: Using SQL and revDatabase methods with Valentina In-Reply-To: Message-ID: On 1/2/08 12:50 AM, "Walton Sumner" wrote: Hi Walton, First quick points. 1) Many people say very good words about Trevors db library, which is wrapper to few dbs or Rev. So you get from box universal API. 2) I advice you subscribe to Valentina list and CC to both lists questions which may be related to both Rev and Valentina, or only to Valentina list if question is specific to Valentina. Important is that Valentina engineers will be able see your questions. 3) Check V4REV/Examples/TestProject.rev It have section which tests RBDB API, so you can see how it should be used. Also it show how can be used bridges from Valentina API to RevDB and visa versa. P.S. Trevor, superbundle have got a lots new REV developers, as you know. Will be great if you once again make sure that your cool db lib works fine with all dbs. > Help, please. I'm using Valentina 2.5.8 (superbundle), and would like to use > SQL or the Revolution methods for the sake of portability, but I have not > learned to do this yet. The Valentina direct access functions work, so most > of the pieces must be in place. What am I doing wrong? Here's an example: > > function errorCheck pDialog > if Valentina_ErrNumber()<>0 then > if pDialog<>false then > answer Valentina_ErrString() > end if > return "Error" > end if > return "" > end errorCheck > > --see here for the tQuery prototype: > http://www.valentina-db.com/dokuwiki/doku.php?id=paradigma:public:en:documen > tation:vsql:reference:show:show_table > > --This function should list the tables in sDatabase > --sDatabase is a script level variable identifying the database > function DatabaseTables > > local tQuery = "SELECT name FROM (SHOW TABLES) WHERE type = 'TABLE'" > local tList,tArray,tFirstRec,tMaxRec,tCursor > put "" into tArray > > breakpoint > > put VDatabase_SqlSelectRecords(sDatabase, \ > tQuery,"kClientSide","kReadOnly","kForwardOnly", \ > tArray,1,-1,tab,CR) into tList > get errorCheck() --> Unexpected token SHOW > > put "SELECT * FROM (SHOW TABLES)" into tQuery > put VDatabase_SqlSelectRecords(sDatabase, tQuery,"kClientSide", \ > "kReadOnly","kForwardOnly",tArray,1,-1,tab,CR) \ > into tList > get errorCheck() --> Unexpected token SHOW > > put VDataBase_SqlSelect( sDatabase, tQuery,"kClientSide", \ > "kReadOnly", "kForwardOnly", tArray ) into tCursor > get errorCheck() --> Unexpected token SHOW > > --local tList > local tCount, i, tReference, tName, tID, tFields, tRecords > put VDataBase_TableCount( sDatabase ) into tCount > repeat with i = 1 to tCount > put VDatabase_Table( sDatabase, i ) into tReference > put VTable_Name( tReference ) into tName > put VTable_ID( tReference ) into tID > put VTable_FieldCount( tReference ) into tFields > put VTable_RecordCount( tReference ) into tRecords > put i & tab & tName & tab & tReference & tab & tID \ > & tab & tFields & tab & tRecords & CR after tList > end repeat > delete last char of tList > return tList --> tList is correct > end DatabaseTables > > In general, I find that Valentina examples, tutorials, etc, use the direct > Valentina calls for a wide range of operations, and SQL and revDatabase > methods for far fewer operations, if any. > > Before I surrender and use only Valentina calls, are there some working > examples of the other two strategies lying about? > > And how do you get "SHOW TABLES" to work in a select statement? > > Thanks, > > Walt Sumner -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From revlist at azurevision.co.uk Fri Feb 1 03:52:28 2008 From: revlist at azurevision.co.uk (Ian Wood) Date: Fri, 1 Feb 2008 18:52:28 +1000 Subject: Escaping shell script paths (was: Photo Processing , Gallery and IPTC Data app) In-Reply-To: <33B1E640-A359-4491-93B5-81A5F86F4D32@azurevision.co.uk> References: <4793F6B7.70904@hindu.org> <4798E6B8.1030706@hindu.org> <90FCE9D7-EE62-4D5F-BA62-B1D15F9E07E0@azurevision.co.uk> <4799470D.5020305@hindu.org> <83D7DF31-20D3-45FC-9C3B-EDA2DB4D2D79@azurevision.co.uk> <479C0ED6.1080500@hindu.org> <33B1E640-A359-4491-93B5-81A5F86F4D32@azurevision.co.uk> Message-ID: <7741A774-4B26-4AEA-ABAF-A4C6DB8A95A9@azurevision.co.uk> On 28 Jan 2008, at 10:31, Ian Wood wrote: > function ijwAPLIB_MakeOSXShellPath tPath > put "set tOut to quoted form of POSIX path of tPath" into tScript > replace "tPath" with quote & revMacFromUnixPath(tPath) & quote in > tScript > do tScript as applescript > put the result into tNewPath > delete char 1 of tNewPath > delete last char of tNewPath > return tNewPath > end ijwAPLIB_MakeOSXShellPath Oops. Just discovered that the above function doesn't cope with file paths that contain any kind of quote mark. The following function should work better, escaping characters rather than putting quote marks around the whole path. Can anyone think of other problems that might crop up when converting Rev paths to escaped paths for use in OS X shell scripts? I think I've got all the command characters that can actually be used in legal file names. function ijwAPLIB_MakeOSXShellPath tPath put "set tOut to POSIX path of tPath" into tScript replace "tPath" with quote & revMacFromUnixPath(tPath) & quote in tScript do tScript as applescript put the result into tNewPath delete char 1 of tNewPath delete last char of tNewPath replace space with "\" & space in tNewPath replace quote with "\" & quote in tNewPath replace "'" with "\" & "'" in tNewPath replace "*" with "\" & "*" in tNewPath replace "?" with "\" & "?" in tNewPath replace "[" with "\" & "[" in tNewPath replace "]" with "\" & "]" in tNewPath replace "{" with "\" & "{" in tNewPath replace "}" with "\" & "}" in tNewPath replace "$" with "\" & "$" in tNewPath replace "!" with "\" & "!" in tNewPath replace "&" with "\" & "&" in tNewPath replace "|" with "\" & "|" in tNewPath replace ">" with "\" & ">" in tNewPath replace "<" with "\" & "<" in tNewPath replace ";" with "\" & ";" in tNewPath replace "(" with "\" & "(" in tNewPath replace "(" with "\" & ")" in tNewPath return tNewPath end ijwAPLIB_MakeOSXShellPath Ian From revlist at azurevision.co.uk Fri Feb 1 04:12:00 2008 From: revlist at azurevision.co.uk (Ian Wood) Date: Fri, 1 Feb 2008 19:12:00 +1000 Subject: Escaping shell script paths (was: Photo Processing , Gallery and IPTC Data app) In-Reply-To: <7741A774-4B26-4AEA-ABAF-A4C6DB8A95A9@azurevision.co.uk> References: <4793F6B7.70904@hindu.org> <4798E6B8.1030706@hindu.org> <90FCE9D7-EE62-4D5F-BA62-B1D15F9E07E0@azurevision.co.uk> <4799470D.5020305@hindu.org> <83D7DF31-20D3-45FC-9C3B-EDA2DB4D2D79@azurevision.co.uk> <479C0ED6.1080500@hindu.org> <33B1E640-A359-4491-93B5-81A5F86F4D32@azurevision.co.uk> <7741A774-4B26-4AEA-ABAF-A4C6DB8A95A9@azurevision.co.uk> Message-ID: On 1 Feb 2008, at 18:52, Ian Wood wrote: > replace "(" with "\" & ")" in tNewPath Should of course be: replace ")" with "\" & ")" in tNewPath Ian From david at openpartnership.net Fri Feb 1 04:30:36 2008 From: david at openpartnership.net (David Bovill) Date: Fri, 1 Feb 2008 09:30:36 +0000 Subject: Escaping shell script paths (was: Photo Processing , Gallery and IPTC Data app) In-Reply-To: References: <4793F6B7.70904@hindu.org> <4798E6B8.1030706@hindu.org> <90FCE9D7-EE62-4D5F-BA62-B1D15F9E07E0@azurevision.co.uk> <4799470D.5020305@hindu.org> <83D7DF31-20D3-45FC-9C3B-EDA2DB4D2D79@azurevision.co.uk> <479C0ED6.1080500@hindu.org> <33B1E640-A359-4491-93B5-81A5F86F4D32@azurevision.co.uk> <7741A774-4B26-4AEA-ABAF-A4C6DB8A95A9@azurevision.co.uk> Message-ID: Thanks for this Ian. I've a couple of questions if not anything to add... - The applescript you start with.... I guess this deals with file names on Mac that contain the "/" character for instance? What exaclty does "set tOut to POSIX path of tPath" do? - I use this command to escape any parameter in a shell command that may contain strange chars - for instance comments. I guess your function applies to these as well? on shell_BashParamEscape @someParam > replace space with ("\" & space) in someParam > replace "|" with ("\" & "|") in someParam > replace "(" with "\(" in someFile > replace ")" with "\)" in someFile > end shell_BashParamEscape > From rmicout at online.fr Fri Feb 1 05:12:46 2008 From: rmicout at online.fr (=?ISO-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 1 Feb 2008 11:12:46 +0100 Subject: Infinite loops ! In-Reply-To: References: Message-ID: <85E63B48-CD16-406A-8898-92E1C08C88E5@online.fr> Sarah, Thank you for your reply. I think you are right. I will take your advice and change my code accordingly. In reality it is a bit complicated because there are many loops included in each other (just as some drawings of MC Escher), I am not a professional programmer, I am rather a creator of applications, it has been a little difficult ... But with a little concentration I think I can get there ... I had a 2nd point in my question: is it possible to change the controls of my loop while it runs? Rene from Paris Le 1 f?vr. 08 ? 00:16, Sarah Reichelt a ?crit : > On Feb 1, 2008 2:11 AM, Ren? Micout wrote: >> Hello from Paris, >> I have a question about infinite loops. >> I make a musical arpeggiator (a virtual replica Reactogon see video : >> http://technabob.com/blog/2007/09/08/reactogon-interactive-sequencer- >> reminds-me-of-star-trek/), the work is progressing but I have 2 >> encountering problems: 1 / When I start an endless loop (it is the >> goal of the program, I stop it by pressing a key) it stop after few >> time with the following message: "Handler: can't find handler" while >> it worked for 150 or 200 times... >> 2 / It is not possible to intervene at any time in the running of the >> program to change certain provisions > > Hi Rene, > > I think using infinite recursions is a bad idea. Even if you set the > recursionLimit to a high number, if the program is left running for > long enough it will reach that limit. I would suggest you use "send" > instead. Try something like this: > > on doLoop > -- see if the key is presses to stop the loop and if so, exit here > -- read the data from your controls to see if anything has changed > -- do whatever processing is needed > -- send "doLoop" to me in 1 second (or whatever time interval > you want) > end doLoop > > HTH, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jamesjrichards at lineone.net Fri Feb 1 06:31:35 2008 From: jamesjrichards at lineone.net (James Richards) Date: Fri, 1 Feb 2008 11:31:35 +0000 Subject: about Voyager Expanded Books In-Reply-To: References: Message-ID: Have you seen Sophie http://www.fourthworld.com/products/sophie/ index.html which was written in Revolution? I don't know exactly how it compares to VEBs, but the facility to create plugins seems to offer a wide range of capabilities. On 30 Jan 08, at 8:30p.m., Colin Holgate wrote: > I chanced across an old topic to do with the Voyager Expanded > Books, I think someone was asking about whether it would be > possible to do that in Revolution. Well, of course it would be > possible! I don't think though that converting the HyperCard > versions would be the right way to go. Instead you would just want > to reproduce the features of the HyperCard version, using whatever > the best approach would be for each feature. In some cases the > feature could be improved, no doubt. > James J Richards jamesjrichards at lineone.net Tel. +44 (0)15394 43063 From sarah.reichelt at gmail.com Fri Feb 1 06:41:44 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 1 Feb 2008 21:41:44 +1000 Subject: Infinite loops ! In-Reply-To: <85E63B48-CD16-406A-8898-92E1C08C88E5@online.fr> References: <85E63B48-CD16-406A-8898-92E1C08C88E5@online.fr> Message-ID: > I had a 2nd point in my question: is it possible to change the > controls of my loop while it runs? > Rene from Paris Certainly. Consider something like this: on doLoop put fld "HowHigh" into tSetting -- now do something with tSetting send "doLoop" to me in 1 second end doLoop If you change the value in the "HowHigh" field, the new value will get used next item the loop happens. Because you are using "send" and not a fixed loop, the system remains responsive between repeats and can accept new data from any control (field, button, scrollbar etc). Cheers, Sarah From revlist at azurevision.co.uk Fri Feb 1 07:24:24 2008 From: revlist at azurevision.co.uk (Ian Wood) Date: Fri, 1 Feb 2008 22:24:24 +1000 Subject: Escaping shell script paths (was: Photo Processing , Gallery and IPTC Data app) In-Reply-To: References: <4793F6B7.70904@hindu.org> <4798E6B8.1030706@hindu.org> <90FCE9D7-EE62-4D5F-BA62-B1D15F9E07E0@azurevision.co.uk> <4799470D.5020305@hindu.org> <83D7DF31-20D3-45FC-9C3B-EDA2DB4D2D79@azurevision.co.uk> <479C0ED6.1080500@hindu.org> <33B1E640-A359-4491-93B5-81A5F86F4D32@azurevision.co.uk> <7741A774-4B26-4AEA-ABAF-A4C6DB8A95A9@azurevision.co.uk> Message-ID: <96C62CB7-8A28-44D9-B58A-ED8644363796@azurevision.co.uk> On 1 Feb 2008, at 19:30, David Bovill wrote: > Thanks for this Ian. I've a couple of questions if not anything to > add... > > - The applescript you start with.... I guess this deals with file > names on Mac that contain the "/" character for instance? What > exaclty does > "set tOut to POSIX path of tPath" do? Pretty much all it does is add the volume name if the filepath isn't on the system partition. > - I use this command to escape any parameter in a shell command that > may contain strange chars - for instance comments. I guess your > function > applies to these as well? Pretty much. Ian > on shell_BashParamEscape @someParam >> replace space with ("\" & space) in someParam >> replace "|" with ("\" & "|") in someParam >> replace "(" with "\(" in someFile >> replace ")" with "\)" in someFile >> end shell_BashParamEscape >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From rmicout at online.fr Fri Feb 1 08:02:14 2008 From: rmicout at online.fr (=?ISO-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 1 Feb 2008 14:02:14 +0100 Subject: Infinite loops ! In-Reply-To: References: <85E63B48-CD16-406A-8898-92E1C08C88E5@online.fr> Message-ID: <95B0A6A5-2806-4916-B023-B893715E1F5B@online.fr> I have not had time to test your advice, but I do not have the possibility to modify the controls during the execution of the loop. I did not "the hand" (in french : je n'ai pas la main). But perhaps should I try before answering. Thank you very much Ren? PS : it is a musical application, and the time (tempo) is very important, the loop should not be held up during its execution ... Le 1 f?vr. 08 ? 12:41, Sarah Reichelt a ?crit : >> I had a 2nd point in my question: is it possible to change the >> controls of my loop while it runs? >> Rene from Paris > > Certainly. Consider something like this: > > on doLoop > put fld "HowHigh" into tSetting > -- now do something with tSetting > > send "doLoop" to me in 1 second > end doLoop > > If you change the value in the "HowHigh" field, the new value will get > used next item the loop happens. Because you are using "send" and not > a fixed loop, the system remains responsive between repeats and can > accept new data from any control (field, button, scrollbar etc). > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From livfoss at mac.com Fri Feb 1 08:02:57 2008 From: livfoss at mac.com (Graham Samuel) Date: Fri, 1 Feb 2008 14:02:57 +0100 Subject: OT: RE: Rev cgi vs. php In-Reply-To: <20080201013815.CEA48489CBC@mail.runrev.com> References: <20080201013815.CEA48489CBC@mail.runrev.com> Message-ID: Was it really called Pierian Spring? If so, their hubris was met by the appropriate nemesis: A little learning is a dang'rous thing Drink deep, or taste not the Pierian spring." Alexander Pope, An Essay on Criticism Graham On Thu, 31 Jan 2008 10:36:38 -0800, "Lynn Fredricks" wrote: > >> Digital Chisel then pursued their Windows strategy by >> attempting to port their product to Java. >> >> DC was apparently unprepared for the orders-of-magnitude >> greater cost of developing with Java, and not long after they >> shut their doors. >> >> I get at least two lessons from this story: >> >> 1. It's useful for a vendor of a powerful and flexible engine >> to protect themselves from customers who might compete >> directly with them at a very tiny fraction of the vendor's >> development cost. >> >> 2. Switching from Xtalk to Java is a really expensive thing to do. > > Same for me :-) > > Pierian Spring (the DC guys) was a local company here. I sat down > at their > office and played with the Java thing they had going. It looked nice > but...man it was slug slow and crashy. From runrev260805 at m-r-d.de Fri Feb 1 08:12:06 2008 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Fri, 1 Feb 2008 13:12:06 +0000 Subject: Re-2: PDF within a stack? Message-ID: <0002E2AF.47A328B2@192.168.168.3> Sarah, Scott, thanks for the help. I really did not know, that i could store binary data in custom properties. And thanks for the sample code. Regards, Matthias Rebbe -------- Original Message -------- Subject: Re: PDF within a stack? (01-Feb-2008 6:44) From: Scott Rossi To: runrev260805 at m-r-d.de > Recently, runrev260805 at m-r-d.de wrote: > > > is it possible to include a PDF within a stackfile on cd under windows? > > If you want to embed the PDF data in a stack you could store the PDF as > binary in a custom property. Something like: > > set the uPDFdata of this stack to url ("binfile:" & pathToOrigPDF) > > > > I want the user to enter a password, if the password is correct the pdf > > file > > should either be saved to harddisk or openend. Is this possible? > > Once the user is granted access, you write out the PDF data to the drive. > To get the PDF to display within Rev, you will need to use the revBrowser > external (it is also possible to use a player object to display a PDF, but > this method is not without its difficulties). If the PDF doesn't need to > display within your stack, you could simply launch it once it has been > copied to the drive. > > If you want to minimize easy access to the PDF itself, you might be able to > write the file to Rev's temp directory (untested). > > put the tempName into pdfPath > set itemdel to "/" > put "private.pdf" into last item of pdfPath > put the uPDFdata of this stack into url ("binfile:" & pdfPath) > > HTH. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > To: use-revolution at lists.runrev.com From LunchnMeets at aol.com Fri Feb 1 08:12:34 2008 From: LunchnMeets at aol.com (LunchnMeets at aol.com) Date: Fri, 1 Feb 2008 08:12:34 EST Subject: Macintosh Modifier symbols in menuitem Message-ID: In a message dated 1/31/08 6:05:35 PM, meitnik at bellsouth.net writes: > I spent some time experimenting and it appears there is no way to? > show for example "option + return" symbols in a pulldown menu in a? > menubar. Oh, I can get the symbols to show after dancing with various? > settings for the button, but not as a true macintosh menuitem thingy. > Why should I be constrained to using only alphabets for my shortcut? > keys?????? > If there is some other way to do this, please let me know. > > Rev, don't you find this strange for a Macintosh app to be missing??? > Rev, please stop chasing after wizbang eye-candy stuff and finish? > real bread&butter GUI stuff--Now! > I am really getting tired of waiting for 7 years for stuff long, long? > over due and at break-neck update/upgrade prices. > I suppose based on this question that there is a way to use Option Key and Control-Key modifiers in menus. I haven't figured those out yet. The command Key is easy enough but the others would be nice as well. I really appreciate all the contributors to this group. I would be much worse of a rev scripter without this extremely critical resource. I'm relatively new with rev. Many times I've picked up a tidbit from someone else's Q&A. Joe, Orlando, Florida ************** Start the year off right. Easy ways to stay in shape. http://body.aol.com/fitness/winter-exercise?NCID=aolcmp00300000002489 From coiin at rcn.com Fri Feb 1 08:26:40 2008 From: coiin at rcn.com (Colin Holgate) Date: Fri, 1 Feb 2008 08:26:40 -0500 Subject: about Voyager Expanded Books In-Reply-To: References: Message-ID: <49BD7734-56AE-4D2D-8FA6-294A67BE561E@rcn.com> On Feb 1, 2008, at 6:31 AM, James Richards wrote: > Have you seen Sophie http://www.fourthworld.com/products/sophie/index.html > which was written in Revolution? I don't know exactly how it > compares to VEBs, but the facility to create plugins seems to offer > a wide range of capabilities. I hadn't heard of that, though of course I've heard of Richard. And If Monks Had Macs was at one time published by Voyager as a set of HyperCard stacks. The name Sophie is an unfortunate choice for the product name, as it is the same name being used by Bob Stein for the latest book reader he was doing: http://rit.mellon.org/projects/private/Sophie and http://sophieproject.org/ Those kinds of readers are a bit different to the Expanded Books, which tried to keep a book like experience to a certain degree. From mwieder at ahsoftware.net Fri Feb 1 12:02:44 2008 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 1 Feb 2008 09:02:44 -0800 Subject: Way OT by now: Pierian spring References: <20080201013815.CEA48489CBC@mail.runrev.com> Message-ID: Graham- > Was it really called Pierian Spring? If so, their hubris was met by the > appropriate nemesis: > > A little learning is a dang'rous thing > Drink deep, or taste not the Pierian Spring." > > Alexander Pope, An Essay on Criticism Yes and no. The accent is on "little": the next two lines are "There shallow Draughts intoxicate the Brain, And drinking largely sobers us again." ...and getting even more OT for a found pun: there used to be a business here named Alexander Pope Haircutters... -- Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Feb 1 12:08:21 2008 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 1 Feb 2008 09:08:21 -0800 Subject: ScriptLimits (was Re: Rev cgi vs. php) References: <20080201013815.2BACF489CB3@mail.runrev.com> Message-ID: Terry- > I certainly wouldn't like to try to recreate the Director IDE using > Director > but I imagine you could use it to create a simple HyperCard like tool. ...Sprout is now in beta... http://sproutbuilder.com/ -- Mark Wieder mwieder at ahsoftware.net From viktoras at ekoinf.net Fri Feb 1 12:09:39 2008 From: viktoras at ekoinf.net (viktoras didziulis) Date: Fri, 01 Feb 2008 19:09:39 +0200 Subject: OT: some news on MySQL... In-Reply-To: References: <20080201013815.CEA48489CBC@mail.runrev.com> Message-ID: <47A35253.9020102@ekoinf.net> ...MySQL AB being acquired by Sun Microsystems Inc for 1000 000 000 USD . Hmmm, interesting... http://www.sun.com/aboutsun/pr/2008-01/sunflash.20080116.1.xml Viktoras From david at openpartnership.net Fri Feb 1 12:16:52 2008 From: david at openpartnership.net (David Bovill) Date: Fri, 1 Feb 2008 17:16:52 +0000 Subject: revBrowser Message-ID: Having some problems with revBrowser - I get a repeated crash using the "Browser Sampler.rev" stack - or the stacks I am coding. I get it when viewing my Google Home page - that's not the search engine but the personalised home page with the widgets in.... I am not sure which url to give as it sues my loin credentials to display my personalised page - can someone check "http://www.google.co.uk/ig?hl=en" in revBrowser on other platforms / systems? In general I'd like to know what the stability issues are for the embedded browser. Any one know how it works - that is I know it uses the relevant web kits on windows and macOS - but are these embedded in the external - or as I suspect part of the operating system that the external interfaces with - in other words if the operating system is upgraded - are features added / fixes made that would effect revBrowser - or is it all part of the external. From lfredricks at proactive-intl.com Fri Feb 1 12:28:14 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri, 1 Feb 2008 09:28:14 -0800 Subject: some news on MySQL... In-Reply-To: <47A35253.9020102@ekoinf.net> References: <20080201013815.CEA48489CBC@mail.runrev.com> <47A35253.9020102@ekoinf.net> Message-ID: <026d01c864f7$d5898b80$6501a8c0@GATEWAY> > ...MySQL AB being acquired by Sun Microsystems Inc for 1000 > 000 000 USD . Hmmm, interesting... > http://www.sun.com/aboutsun/pr/2008-01/sunflash.20080116.1.xml Yes, this is very big news. I was asked about this by some Valentina customers about what our reaction was, since we've been trying to muscle in on MySQL for some time. If you are interested, its on my blog (http://tinyurl.com/ywwbkb) Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From jim at oyfconsulting.com Fri Feb 1 13:46:37 2008 From: jim at oyfconsulting.com (Jim Carwardine) Date: Fri, 1 Feb 2008 14:46:37 -0400 Subject: about Voyager Expanded Books In-Reply-To: References: Message-ID: The last time I had anything to do with Voyager was at MacWorld in San Fransico about 1991 or 92 when I was showing my new electronic book app called BookBuilder, built in Hypercard, to anyone who would look ( and buy it). I showed it to Bob Stein at his booth and he said, "I can't look at this. This looks just like what we are doing." I actually used it to create multimedia learning presentations at a local university in about 1995. Since switching to Rev, I've been tempted to convert BookBuilder but there were XCMDs and old gear (optical disks that were the size of LPs, that I haven't bothered. Maybe it will sell now!... Jim On 1-Feb-08, at 7:31 AM, James Richards wrote: > Have you seen Sophie http://www.fourthworld.com/products/sophie/ > index.html which was written in Revolution? I don't know exactly > how it compares to VEBs, but the facility to create plugins seems > to offer a wide range of capabilities. > > On 30 Jan 08, at 8:30p.m., Colin Holgate wrote: > >> I chanced across an old topic to do with the Voyager Expanded >> Books, I think someone was asking about whether it would be >> possible to do that in Revolution. Well, of course it would be >> possible! I don't think though that converting the HyperCard >> versions would be the right way to go. Instead you would just want >> to reproduce the features of the HyperCard version, using whatever >> the best approach would be for each feature. In some cases the >> feature could be improved, no doubt. >> > > James J Richards > > jamesjrichards at lineone.net > > Tel. +44 (0)15394 43063 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution Jim Carwardine, President & CEO OYF Consulting Ph. 902.823.2339 / 866.601.2339 Fx. 902.823-2139 StrategicDoing?: Execution depends on employees. Strategic Partner with HiringSmart Canada Ltd. -- From devin_asay at byu.edu Fri Feb 1 13:50:14 2008 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 1 Feb 2008 11:50:14 -0700 Subject: revBrowser In-Reply-To: References: Message-ID: <2C10AF01-545C-4BD8-A19B-C8E1062B97D0@byu.edu> On Feb 1, 2008, at 10:16 AM, David Bovill wrote: > Having some problems with revBrowser - I get a repeated crash using > the > "Browser Sampler.rev" stack - or the stacks I am coding. I get it when > viewing my Google Home page - that's not the search engine but the > personalised home page with the widgets in.... I am not sure which > url to > give as it sues my loin credentials to display my personalised page > - can > someone check "http://www.google.co.uk/ig?hl=en" in revBrowser on > other > platforms / systems? David, I don't know if this is relevant, but when I go to portions of my Google home page, especially the administrator tools, I get a warning that the tools don't work properly in Safari. It may be that errors occurring in the Safari web engine are causing Rev to crash when on Google sites. If that is the case, Rev needs to be fixed to degrade gracefully when encountering errors like this. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From jim at oyfconsulting.com Fri Feb 1 13:51:55 2008 From: jim at oyfconsulting.com (Jim Carwardine) Date: Fri, 1 Feb 2008 14:51:55 -0400 Subject: [OT] Does Sheepshaver work in Leopard? In-Reply-To: <0002E2AF.47A328B2@192.168.168.3> References: <0002E2AF.47A328B2@192.168.168.3> Message-ID: <12D91B49-F296-41E0-AF01-645185BE9321@oyfconsulting.com> Hi Folks... I haven't upgraded to Leopard for fear of Sheepshaver not working. Anybody try it?... Jim Jim Carwardine, President & CEO OYF Consulting Ph. 902.823.2339 / 866.601.2339 Fx. 902.823-2139 StrategicDoing?: Execution depends on employees. Strategic Partner with HiringSmart Canada Ltd. -- From david at openpartnership.net Fri Feb 1 14:11:04 2008 From: david at openpartnership.net (David Bovill) Date: Fri, 1 Feb 2008 19:11:04 +0000 Subject: revBrowser In-Reply-To: <2C10AF01-545C-4BD8-A19B-C8E1062B97D0@byu.edu> References: <2C10AF01-545C-4BD8-A19B-C8E1062B97D0@byu.edu> Message-ID: Thanks Devin, can you view your Google Home page in revBrowser - try using the "Browser Sample" stack in the Rev apps / resoures/sample projects/ folder? On 01/02/2008, Devin Asay wrote: > > > On Feb 1, 2008, at 10:16 AM, David Bovill wrote: > > > Having some problems with revBrowser - I get a repeated crash using > > the > > "Browser Sampler.rev" stack - or the stacks I am coding. I get it when > > viewing my Google Home page - that's not the search engine but the > > personalised home page with the widgets in.... I am not sure which > > url to > > give as it sues my loin credentials to display my personalised page > > - can > > someone check "http://www.google.co.uk/ig?hl=en" in revBrowser on > > other > > platforms / systems? > > David, > > I don't know if this is relevant, but when I go to portions of my > Google home page, especially the administrator tools, I get a warning > that the tools don't work properly in Safari. It may be that errors > occurring in the Safari web engine are causing Rev to crash when on > Google sites. If that is the case, Rev needs to be fixed to degrade > gracefully when encountering errors like this. > > Devin > > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From coiin at rcn.com Fri Feb 1 15:10:24 2008 From: coiin at rcn.com (Colin Holgate) Date: Fri, 1 Feb 2008 15:10:24 -0500 Subject: about Voyager Expanded Books In-Reply-To: References: Message-ID: At 2:46 PM -0400 2/1/08, Jim Carwardine wrote: >I showed it to Bob Stein at his booth and he said, "I can't look at >this. This looks just like what we are doing." If that's what he said then it would have been 1992. I programmed the Expanded Books during October and November 1991, and another programmer finished off a couple of features, ready for the release of the first three EBs at that MacWorld. From randall at randallreetz.com Fri Feb 1 16:02:38 2008 From: randall at randallreetz.com (Randall Lee Reetz) Date: Fri, 1 Feb 2008 13:02:38 -0800 Subject: about Voyager Expanded Books Message-ID: <20080201210242.HDNV25821.atlmtaow02.cingularme.com@Inbox> Anybody remember the "illuminated" text series by robert able for IBM? I was the lead interface designer for the first prototype built around the poem "ulysses" (tennyson). I think i remember the programming done in toolbook though afterwords i purchaced supercard and reverse enginered it in less than week (my first programming!... Dont tell bob!). We churned through 1.5 million $ in less than a month. Lots of film and graphics. One of the first uses of video in a portal of window. I think much of the later works in this genre veered towards shovel-ware. -----Original Message----- From: "Colin Holgate" To: "How to use Revolution" Sent: 2/1/2008 12:10 PM Subject: Re: about Voyager Expanded Books At 2:46 PM -0400 2/1/08, Jim Carwardine wrote: >I showed it to Bob Stein at his booth and he said, "I can't look at >this. This looks just like what we are doing." If that's what he said then it would have been 1992. I programmed the Expanded Books during October and November 1991, and another programmer finished off a couple of features, ready for the release of the first three EBs at that MacWorld. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From coiin at rcn.com Fri Feb 1 16:18:23 2008 From: coiin at rcn.com (Colin Holgate) Date: Fri, 1 Feb 2008 16:18:23 -0500 Subject: about Voyager Expanded Books In-Reply-To: <20080201210242.HDNV25821.atlmtaow02.cingularme.com@Inbox> References: <20080201210242.HDNV25821.atlmtaow02.cingularme.com@Inbox> Message-ID: At 1:02 PM -0800 2/1/08, Randall Lee Reetz wrote: > >Anybody remember the "illuminated" text series by robert able for IBM? The first time I met Bob Abel was around 1990, and as it was at an Apple sponsored event (I was the Apple support technician for the event) I'm pretty sure the work he did on Guernica wasn't for IBM. Maybe he did something for them later, but at that point their product was called Linkway. I'm not sure who owned Toolbook at the time. From 3mcgrath at comcast.net Fri Feb 1 16:20:54 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Fri, 1 Feb 2008 16:20:54 -0500 Subject: RevBrowser Two windows Message-ID: <1FB2E381-4816-4ABC-8D15-6E0859D31ABF@comcast.net> Does anyone know how to tell what browser window the user selected/ focused on when using two revbrowser windows on the same card? browserBeforeNavigate and browsernavigateComplete only work if a web object with an ID has been clicked on in the browser and not all objects have ids. browserClick is windows only. browserOut and browserOver will only work over a web object with an id. I would like to know when a user moves the mouse into a web browser window or when they make it active ie. the scroll bars are active. It seems that messages are trapped by the rev browser. I have been at this for a couple of hours now and can't figure anything out. Thanks in advance, Tom Thomas McGrath III 3mcgrath at comcast.net Mac OS10.5.1 2.4 GHz Intel Core 2 Duo 4 GB 667 MHz DDR2 SDRAM From 3mcgrath at comcast.net Fri Feb 1 16:21:56 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Fri, 1 Feb 2008 16:21:56 -0500 Subject: revBrowser In-Reply-To: References: Message-ID: <7D28AAF3-7B17-4E7D-9419-1CC032A250E2@comcast.net> David, That page loads fine in my revBrowser app.I also tried my own iGoogle page. But i have noticed a few buggy crashes during development. The thing for me was that I MAY not have taken care of all closeRevBRowser calls during the development process. I believe if the Safari or EI browser is upgraded than this would effect the Rev browser. HTH Tom Mac OS10.5.1 2.4 GHz Intel Core 2 Duo 4 GB 667 MHz DDR2 SDRAM On Feb 1, 2008, at 12:16 PM, David Bovill wrote: > Having some problems with revBrowser - I get a repeated crash using > the > "Browser Sampler.rev" stack - or the stacks I am coding. I get it when > viewing my Google Home page - that's not the search engine but the > personalised home page with the widgets in.... I am not sure which > url to > give as it sues my loin credentials to display my personalised page > - can > someone check "http://www.google.co.uk/ig?hl=en" in revBrowser on > other > platforms / systems? > > In general I'd like to know what the stability issues are for the > embedded > browser. Any one know how it works - that is I know it uses the > relevant web > kits on windows and macOS - but are these embedded in the external - > or as I > suspect part of the operating system that the external interfaces > with - in > other words if the operating system is upgraded - are features > added / fixes > made that would effect revBrowser - or is it all part of the external. > Thomas McGrath III 3mcgrath at comcast.net Mac OS10.5.1 2.4 GHz Intel Core 2 Duo 4 GB 667 MHz DDR2 SDRAM From russell_martin at yahoo.com Fri Feb 1 16:32:16 2008 From: russell_martin at yahoo.com (Russell Martin) Date: Fri, 1 Feb 2008 13:32:16 -0800 (PST) Subject: [OT] Does Sheepshaver work in Leopard? In-Reply-To: <12D91B49-F296-41E0-AF01-645185BE9321@oyfconsulting.com> Message-ID: <270750.41261.qm@web54112.mail.re2.yahoo.com> I haven't really put it through any paces, but it seems to work just fine in Leopard for me. --- Jim Carwardine wrote: > Hi Folks... I haven't upgraded to Leopard for fear of Sheepshaver not > > working. Anybody try it?... Jim > > Jim Carwardine, > President & CEO > OYF Consulting > Ph. 902.823.2339 / 866.601.2339 > Fx. 902.823-2139 > > StrategicDoing?: Execution depends on employees. > Strategic Partner with HiringSmart Canada Ltd. > -- > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping From devin_asay at byu.edu Fri Feb 1 16:42:34 2008 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 1 Feb 2008 14:42:34 -0700 Subject: revBrowser In-Reply-To: References: <2C10AF01-545C-4BD8-A19B-C8E1062B97D0@byu.edu> Message-ID: On Feb 1, 2008, at 12:11 PM, David Bovill wrote: > Thanks Devin, can you view your Google Home page in revBrowser - > try using > the "Browser Sample" stack in the Rev apps / resoures/sample projects/ > folder? It seemed to work fine for me here on Mac OS X 10.4.11, Rev 2.8.1. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From andre at andregarzia.com Fri Feb 1 16:58:59 2008 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 1 Feb 2008 19:58:59 -0200 Subject: rotating and scaling images in Win32 (was ITPC, Exif *.*) Message-ID: <7c87a2a10802011358q62c5d322sc98c35874abc4795@mail.gmail.com> Aloha Friends, I am creating a little photo selection application that allow contributors to quickly select photos and do some basic editing (rotation, scaling). Revolution is great for working with images but when doing batch processing it simply takes too long. Creating thumbnails for 80 images/4 mb each takes lots of minutes. To solve this, I am using "sips" in MacOS X, it works wonder! I am able to scale, editing, everything very fast. Now, I am implementing it for windows, so I want to find something I can use to do some photo processing. It must be something that I can bundle with the application, it can be some ActiveX/COM which I can call from vbscript or some command line tool that I can bundle and call with shell(). So far, I am very frustraded, all the libraries I find cost like hundreds!!! 400 USD for simple lib is too much, any clue out there? I checked ImageMagick but I can't find a way to bundle it. Any help is appreciated. I just need a simple way to do rotation and scalling and exif data processing in a quick way. Cheers andre -- http://www.andregarzia.com All We Do Is Code. From shari at gypsyware.com Fri Feb 1 17:36:40 2008 From: shari at gypsyware.com (Shari) Date: Fri, 1 Feb 2008 17:36:40 -0500 Subject: Filtering array vs plain list Message-ID: I'm trying to determine the best way to store a humungous block of data for both speed and accessibility. My original plan was to do an array something like this: Item #2 is an identifier unique to each individual. It will not be a number, but text + a number. census[Atlanta,5489,name] = John census[Atlanta,5489,religion] = Baptist census[Atlanta,5489,birthYear] = 1976 census[Atlanta,5489,baseballTeam] = Braves census[Atlanta,5489,eyeColor] = blue census[Atlanta,9988,name] = Judy census[Atlanta,9988,religion] = Mormon census[Atlanta,9988,birthYear] = 1926 census[Atlanta,9988,baseballTeam] = Yankees census[Atlanta,9988,eyeColor] = green census[Chicago,3258,name] = Billy census[Chicago,3258,religion] = Atheist census[Chicago,3258,birthYear] = 1982 census[Chicago,3258,eyeColor] = blue census[Chicago,3258,baseballTeam] = Red Sox Alternately of course this could be a list with each line dedicated to the individual. Each individual would have 300-400 different items and there will be thousands of individuals. The data needs to be accessed very very quickly, which points to an array as above. And most of the time very specific pieces of data will be accessed and updated. And changes will be made constantly. So far, so good. But here's the glitch. I need to also be able to make global changes to the list, for example, update everybody whose baseball team is "Red Sox" and birthYear is 1950. For example, change all instances of Red Sox to White Sox if the birthYear is 1950. Is there any way short of looking inside each element of thousands of keys for the matching birthYear/baseballTeam? This would presumably be very slow. But if the array were a list with thousands and thousands of lines, each line having 300-400 items, wouldn't that be slow to access as well? What am I missing? Shari -- WlND0WS and MAClNT0SH shareware games BIackjack GoId http://www.gypsyware.com From 3mcgrath at comcast.net Fri Feb 1 17:50:36 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Fri, 1 Feb 2008 17:50:36 -0500 Subject: RevBrowser Two windows In-Reply-To: <1FB2E381-4816-4ABC-8D15-6E0859D31ABF@comcast.net> References: <1FB2E381-4816-4ABC-8D15-6E0859D31ABF@comcast.net> Message-ID: <945A22C9-3A11-460A-A572-D27E4529B771@comcast.net> Also, it seems once an object is used for a revBrowser window it won't respond to many messages. if the mouseloc is within the rect of image "BrowserOne" This will not work either. Any ideas or Help Tom On Feb 1, 2008, at 4:20 PM, Thomas McGrath III wrote: > Does anyone know how to tell what browser window the user selected/ > focused on when using two revbrowser windows on the same card? > > browserBeforeNavigate and browsernavigateComplete only work if a web > object with an ID has been clicked on in the browser and not all > objects have ids. > > browserClick is windows only. > > browserOut and browserOver will only work over a web object with an > id. > > > I would like to know when a user moves the mouse into a web browser > window or when they make it active ie. the scroll bars are active. > > It seems that messages are trapped by the rev browser. > > > I have been at this for a couple of hours now and can't figure > anything out. > > > Thanks in advance, > > > Tom > > > Thomas McGrath III > 3mcgrath at comcast.net > > Mac OS10.5.1 2.4 GHz Intel Core 2 Duo > 4 GB 667 MHz DDR2 SDRAM > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From david at openpartnership.net Fri Feb 1 18:39:30 2008 From: david at openpartnership.net (David Bovill) Date: Fri, 1 Feb 2008 23:39:30 +0000 Subject: revBrowser In-Reply-To: References: <2C10AF01-545C-4BD8-A19B-C8E1062B97D0@byu.edu> Message-ID: Thanks - maybe it is one of the widgets I use on the Google page - I have YouTube videos and others I'll do some testing turning the widgets on and off one at a time and report back.... From dick.kriesel at mail.com Fri Feb 1 18:45:26 2008 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 01 Feb 2008 15:45:26 -0800 Subject: Filtering array vs plain list In-Reply-To: Message-ID: On 2/1/08 2:36 PM, "Shari" wrote: > I'm trying to determine the best way to store a humungous block of > data for both speed and accessibility. > > My original plan was to do an array something like this: > > Item #2 is an identifier unique to each individual. It will not be a > number, but text + a number. > > census[Atlanta,5489,name] = John > census[Atlanta,5489,religion] = Baptist > census[Atlanta,5489,birthYear] = 1976 > census[Atlanta,5489,baseballTeam] = Braves > census[Atlanta,5489,eyeColor] = blue > census[Atlanta,9988,name] = Judy > census[Atlanta,9988,religion] = Mormon > census[Atlanta,9988,birthYear] = 1926 > census[Atlanta,9988,baseballTeam] = Yankees > census[Atlanta,9988,eyeColor] = green > census[Chicago,3258,name] = Billy > census[Chicago,3258,religion] = Atheist > census[Chicago,3258,birthYear] = 1982 > census[Chicago,3258,eyeColor] = blue > census[Chicago,3258,baseballTeam] = Red Sox > > Alternately of course this could be a list with each line dedicated > to the individual. > > Each individual would have 300-400 different items and there will be > thousands of individuals. > > The data needs to be accessed very very quickly, which points to an > array as above. And most of the time very specific pieces of data > will be accessed and updated. And changes will be made constantly. > So far, so good. > > But here's the glitch. > > I need to also be able to make global changes to the list, for > example, update everybody whose baseball team is "Red Sox" and > birthYear is 1950. For example, change all instances of Red Sox to > White Sox if the birthYear is 1950. > > Is there any way short of looking inside each element of thousands of > keys for the matching birthYear/baseballTeam? > > This would presumably be very slow. But if the array were a list > with thousands and thousands of lines, each line having 300-400 > items, wouldn't that be slow to access as well? > > What am I missing? > > Shari Hi, Shari. There are other ways to structure your data that can make your "glitch" easier to handle. Choosing the best way depends on various factors, such as: 1) time constraints on adding, updating, and deleting people, properties, and values 2) whether you have multiple simultaneous users 3) your time and skills But jumping the gun, you could consider using arrays like the following: birthYear[1976] = 5489 baseballTeam["Red Sox"] = 3258 eyeColor["blue"] = 5489 & cr & 3258 Then evaluating your compound example involves retrieving the values of baseballTeam["Red Sox"] and birthYear[1950], deriving the intersection of those values, removing them from baseballTeam["Red Sox"], and inserting them into baseballTeam["White Sox"]. I've used this approach; it's fast. I'd be glad to help you further if you're interested. -- Dick From david at openpartnership.net Fri Feb 1 19:06:13 2008 From: david at openpartnership.net (David Bovill) Date: Sat, 2 Feb 2008 00:06:13 +0000 Subject: RevBrowser Two windows In-Reply-To: <945A22C9-3A11-460A-A572-D27E4529B771@comcast.net> References: <1FB2E381-4816-4ABC-8D15-6E0859D31ABF@comcast.net> <945A22C9-3A11-460A-A572-D27E4529B771@comcast.net> Message-ID: Nothing neat. I guess you could use an object slightly bigger than the browser and then use the mouse enter and leave messages? Probably the best - I don't think it would work out but maybe another option is to fetch the html and wrap it in a dummy div before displaying? From david at openpartnership.net Fri Feb 1 19:11:47 2008 From: david at openpartnership.net (David Bovill) Date: Sat, 2 Feb 2008 00:11:47 +0000 Subject: revBrowser In-Reply-To: References: <2C10AF01-545C-4BD8-A19B-C8E1062B97D0@byu.edu> Message-ID: Too keen - it was one of the widgets but I removed them too aggressively and I can't find the one that caused the crash - I guess it is some AJAX / Javascript widget. I'll keep an eye out for it :) On 01/02/2008, David Bovill wrote: > > Thanks - maybe it is one of the widgets I use on the Google page - I have > YouTube videos and others I'll do some testing turning the widgets on and > off one at a time and report back.... > From david at openpartnership.net Fri Feb 1 19:17:44 2008 From: david at openpartnership.net (David Bovill) Date: Sat, 2 Feb 2008 00:17:44 +0000 Subject: rotating and scaling images in Win32 (was ITPC, Exif *.*) In-Reply-To: <7c87a2a10802011358q62c5d322sc98c35874abc4795@mail.gmail.com> References: <7c87a2a10802011358q62c5d322sc98c35874abc4795@mail.gmail.com> Message-ID: I thought you could use imagemagick on windows: ImageMagick (full)This > includes the ImageMagick binaries, including the command-line tools ( > animate.exe, composite.exe, etc.) Get this package if you want to use > ImageMagick on a Windows system but don't want to use Perl. *This is > functionally identical to the official ImageMagick Win2K binary > distribution.* Does this link not work - I have no PC here? On 01/02/2008, Andre Garzia wrote: > > Aloha Friends, > > I am creating a little photo selection application that allow > contributors to quickly select photos and do some basic editing > (rotation, scaling). Revolution is great for working with images but > when doing batch processing it simply takes too long. Creating > thumbnails for 80 images/4 mb each takes lots of minutes. > > To solve this, I am using "sips" in MacOS X, it works wonder! I am > able to scale, editing, everything very fast. Now, I am implementing > it for windows, so I want to find something I can use to do some photo > processing. It must be something that I can bundle with the > application, it can be some ActiveX/COM which I can call from vbscript > or some command line tool that I can bundle and call with shell(). > > So far, I am very frustraded, all the libraries I find cost like > hundreds!!! 400 USD for simple lib is too much, any clue out there? I > checked ImageMagick but I can't find a way to bundle it. > > Any help is appreciated. I just need a simple way to do rotation and > scalling and exif data processing in a quick way. > > Cheers > andre > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From randall at randallreetz.com Fri Feb 1 19:19:24 2008 From: randall at randallreetz.com (Randall Lee Reetz) Date: Fri, 1 Feb 2008 16:19:24 -0800 Subject: about Voyager Expanded Books Message-ID: <20080202001926.PSQW25821.atlmtaow02.cingularme.com@Inbox> Yes, guernica preceded his work with IBM. I dont know who ended up backing the illuminated series but IBM was the money for the prototype. Some vp at IBM needed to sell their boxes as interactive media machines. randall -----Original Message----- From: "Colin Holgate" To: "How to use Revolution" Sent: 2/1/2008 1:18 PM Subject: RE: about Voyager Expanded Books At 1:02 PM -0800 2/1/08, Randall Lee Reetz wrote: > >Anybody remember the "illuminated" text series by robert able for IBM? The first time I met Bob Abel was around 1990, and as it was at an Apple sponsored event (I was the Apple support technician for the event) I'm pretty sure the work he did on Guernica wasn't for IBM. Maybe he did something for them later, but at that point their product was called Linkway. I'm not sure who owned Toolbook at the time. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From randall at randallreetz.com Fri Feb 1 19:26:21 2008 From: randall at randallreetz.com (Randall Lee Reetz) Date: Fri, 1 Feb 2008 16:26:21 -0800 Subject: about Voyager Expanded Books Message-ID: <20080202002624.PYID25821.atlmtaow02.cingularme.com@Inbox> What did happen to toolbook? Another question i always forget to ask is what happened to that very promicing authoring app out of utah or denver that was hyped as a real object based drag and drop hypermedia builder? Anyone remember this? Seems like it was out for less than a year (windows only). randall -----Original Message----- From: "Colin Holgate" To: "How to use Revolution" Sent: 2/1/2008 1:18 PM Subject: RE: about Voyager Expanded Books At 1:02 PM -0800 2/1/08, Randall Lee Reetz wrote: > >Anybody remember the "illuminated" text series by robert able for IBM? The first time I met Bob Abel was around 1990, and as it was at an Apple sponsored event (I was the Apple support technician for the event) I'm pretty sure the work he did on Guernica wasn't for IBM. Maybe he did something for them later, but at that point their product was called Linkway. I'm not sure who owned Toolbook at the time. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at comcast.net Fri Feb 1 19:38:56 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Fri, 1 Feb 2008 19:38:56 -0500 Subject: RevBrowser Two windows In-Reply-To: References: <1FB2E381-4816-4ABC-8D15-6E0859D31ABF@comcast.net> <945A22C9-3A11-460A-A572-D27E4529B771@comcast.net> Message-ID: David, thanks, I'll try the oversized grc and see. catching the html before display might prove too difficult and might break some pages, i think. Tom On Feb 1, 2008, at 7:06 PM, David Bovill wrote: > Nothing neat. I guess you could use an object slightly bigger than the > browser and then use the mouse enter and leave messages? Probably > the best - > I don't think it would work out but maybe another option is to fetch > the > html and wrap it in a dummy div before displaying? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From coiin at rcn.com Fri Feb 1 21:18:14 2008 From: coiin at rcn.com (Colin Holgate) Date: Fri, 1 Feb 2008 21:18:14 -0500 Subject: about Voyager Expanded Books In-Reply-To: <20080202002624.PYID25821.atlmtaow02.cingularme.com@Inbox> References: <20080202002624.PYID25821.atlmtaow02.cingularme.com@Inbox> Message-ID: On Feb 1, 2008, at 7:26 PM, Randall Lee Reetz wrote: > What did happen to toolbook? Another question i always forget to > ask is what happened to that very promicing authoring app out of > utah or denver that was hyped as a real object based drag and drop > hypermedia builder? Anyone remember this? Seems like it was out > for less than a year (windows only). Toolbook is still going: http://www.toolbook.com/ I think the Utah company would have mFactory, and they developed mTropolis for a couple of versions' worth. It was a very neat tool, and was cross platform. Eventually Quark bought them, and killed the product. From randall at randallreetz.com Fri Feb 1 21:38:56 2008 From: randall at randallreetz.com (Randall Lee Reetz) Date: Fri, 1 Feb 2008 18:38:56 -0800 Subject: about Voyager Expanded Books Message-ID: <20080202023859.TFCO10098.atlmtaow01.cingularme.com@Inbox> mTropolis, that was it... I think. Did you own it? Do you own it? Would you do a screen movie of constructing a simple project in it and post to youtube? Why would quark want to kill it? randall -----Original Message----- From: "Colin Holgate" To: "How to use Revolution" Sent: 2/1/2008 6:18 PM Subject: Re: about Voyager Expanded Books On Feb 1, 2008, at 7:26 PM, Randall Lee Reetz wrote: > What did happen to toolbook? Another question i always forget to > ask is what happened to that very promicing authoring app out of > utah or denver that was hyped as a real object based drag and drop > hypermedia builder? Anyone remember this? Seems like it was out > for less than a year (windows only). Toolbook is still going: http://www.toolbook.com/ I think the Utah company would have mFactory, and they developed mTropolis for a couple of versions' worth. It was a very neat tool, and was cross platform. Eventually Quark bought them, and killed the product. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at comcast.net Fri Feb 1 22:36:43 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Fri, 1 Feb 2008 22:36:43 -0500 Subject: RevBrowser Two windows In-Reply-To: References: <1FB2E381-4816-4ABC-8D15-6E0859D31ABF@comcast.net> <945A22C9-3A11-460A-A572-D27E4529B771@comcast.net> Message-ID: <6203E945-9E98-4DB9-9519-74A475B73168@comcast.net> I tried the oversized grc but it seems the mouseEnter only happens in the small region between the edge of the grc and the browser object which is only about 10 pixels. Anyway, if you move the mouse too quickly it does not get the message. Is anyone familiar with revBrowser enough to know the answer to this. I have spent two days trying to figure something out. Thanks Tom On Feb 1, 2008, at 7:38 PM, Thomas McGrath III wrote: > David, > > thanks, I'll try the oversized grc and see. > > catching the html before display might prove too difficult and might > break some pages, i think. > > Tom > > On Feb 1, 2008, at 7:06 PM, David Bovill wrote: > >> Nothing neat. I guess you could use an object slightly bigger than >> the >> browser and then use the mouse enter and leave messages? Probably >> the best - >> I don't think it would work out but maybe another option is to >> fetch the >> html and wrap it in a dummy div before displaying? >> From shari at gypsyware.com Fri Feb 1 23:35:58 2008 From: shari at gypsyware.com (Shari) Date: Fri, 1 Feb 2008 23:35:58 -0500 Subject: Filtering array vs plain list In-Reply-To: References: Message-ID: I've never worked with intersecting arrays, so please pardon the questions. If I understand your example, I'd have something like this: birthYear[1976] = John Jones,Billy Bob,Mary Lou,Manny Mack,Barbie Doll birthYear[1977] = Ellie May,Carrie Ann,Andy Ant,Donna Mills,Jackie O baseballTeam[Red Sox] = Billy Bob,Manny Mack baseballTeam[White Sox] = Barbie Doll,Ellie May This would produce about 300 arrays. The [] keys would be virtually unlimited. There might be a couple hundred birthYears for example. If I wanted to get all census data for Billy Bob, I'd do a repeat loop for each key of each of the 300 arrays to get all info pertaining to Billy Bob? I had not thought of that approach. It's fast? To get a list of all Red Sox fans born in 1976, I'd just need to intersect the two array/key combos? Looking for all data on Billy Bob will happen more frequently than looking for all Red Sox fans born in 1976. And it will be common to delete Billy Bob from all arrays, or add Billie Jean. Most of the time the primary reference would be to Billy Bob, such as "What is Billy Bob's baseball team?" Does that change it? Note that this is not for a database, but for a game where I need to track thousands of people each having about 300 pieces of info defining them, the defining info will change constantly, and changes need to be instantaneous. Shari >Hi, Shari. There are other ways to structure your data that can make your >"glitch" easier to handle. Choosing the best way depends on various >factors, such as: >1) time constraints on adding, updating, and deleting people, properties, >and values >2) whether you have multiple simultaneous users >3) your time and skills > >But jumping the gun, you could consider using arrays like the following: > >birthYear[1976] = 5489 >baseballTeam["Red Sox"] = 3258 >eyeColor["blue"] = 5489 & cr & 3258 > >Then evaluating your compound example involves retrieving the values of >baseballTeam["Red Sox"] and birthYear[1950], deriving the intersection of >those values, removing them from baseballTeam["Red Sox"], and inserting them >into baseballTeam["White Sox"]. > >I've used this approach; it's fast. I'd be glad to help you further if >you're interested. > >-- Dick -- WlND0WS and MAClNT0SH shareware games BIackjack GoId http://www.gypsyware.com From coiin at rcn.com Sat Feb 2 00:01:46 2008 From: coiin at rcn.com (Colin Holgate) Date: Sat, 2 Feb 2008 00:01:46 -0500 Subject: about Voyager Expanded Books In-Reply-To: <20080202023859.TFCO10098.atlmtaow01.cingularme.com@Inbox> References: <20080202023859.TFCO10098.atlmtaow01.cingularme.com@Inbox> Message-ID: <924B2724-E34E-41E8-A27E-3A819DBDBB4F@rcn.com> On Feb 1, 2008, at 9:38 PM, Randall Lee Reetz wrote: > mTropolis, that was it... I think. Did you own it? Do you own it? Voyager had it, and did one CD-ROM using it (not done by me). That was Fun With Architecture, and mTropolis was chosen because the program needed to have a lot of building pieces on screen at once, and Director was limited to 48 at the time. I used it for some prototyping, I also entered the competition they had before it was released, where you had to create a project in a save-disabled version of the program, and send that in (try to work that out!). I won a tee- shirt for my entry. I only know of two other commercial CD-ROMs done with it, Muppet Treasure Island, and Obsidian, both of which were impressive. I'm not sure what Quark had at the time that was competitive, but there was something, hence buying and killing the competition. This was all pre-OS X, so although I have copies kicking around, I can't easily run it. I'm not even sure it ran in OS 9. I'll try at work some time. From randall at randallreetz.com Sat Feb 2 00:32:44 2008 From: randall at randallreetz.com (Randall Lee Reetz) Date: Fri, 1 Feb 2008 21:32:44 -0800 Subject: about Voyager Expanded Books Message-ID: <20080202053247.XTSH25821.atlmtaow02.cingularme.com@Inbox> I know officially hate quark. It is amaizing to me that big time businesses engage in behaviors that would result in a trip to the principal's office if a kid did same. Sad. randall -----Original Message----- From: "Colin Holgate" To: "How to use Revolution" Sent: 2/1/2008 9:01 PM Subject: Re: about Voyager Expanded Books On Feb 1, 2008, at 9:38 PM, Randall Lee Reetz wrote: > mTropolis, that was it... I think. Did you own it? Do you own it? Voyager had it, and did one CD-ROM using it (not done by me). That was Fun With Architecture, and mTropolis was chosen because the program needed to have a lot of building pieces on screen at once, and Director was limited to 48 at the time. I used it for some prototyping, I also entered the competition they had before it was released, where you had to create a project in a save-disabled version of the program, and send that in (try to work that out!). I won a tee- shirt for my entry. I only know of two other commercial CD-ROMs done with it, Muppet Treasure Island, and Obsidian, both of which were impressive. I'm not sure what Quark had at the time that was competitive, but there was something, hence buying and killing the competition. This was all pre-OS X, so although I have copies kicking around, I can't easily run it. I'm not even sure it ran in OS 9. I'll try at work some time. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Sat Feb 2 02:56:33 2008 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 01 Feb 2008 23:56:33 -0800 Subject: about Voyager Expanded Books In-Reply-To: <924B2724-E34E-41E8-A27E-3A819DBDBB4F@rcn.com> Message-ID: Recently, Colin Holgate wrote: > I'm not sure what Quark had at the time that was competitive, but > there was something, hence buying and killing the competition. Quark Immedia Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From dick.kriesel at mail.com Sat Feb 2 03:42:30 2008 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sat, 02 Feb 2008 00:42:30 -0800 Subject: Filtering array vs plain list In-Reply-To: Message-ID: On 2/1/08 8:35 PM, "Shari" wrote: > I've never worked with intersecting arrays, so please pardon the questions. Actually it's just intersecting lists of values that come from different arrays. Use-rev pardons almost all questions. > > If I understand your example, I'd have something like this: > > birthYear[1976] = John Jones,Billy Bob,Mary Lou,Manny Mack,Barbie Doll > birthYear[1977] = Ellie May,Carrie Ann,Andy Ant,Donna Mills,Jackie O > baseballTeam[Red Sox] = Billy Bob,Manny Mack > baseballTeam[White Sox] = Barbie Doll,Ellie May Yes, but you wouldn't want to duplicate everyone's name in 300 places. Instead you could use the "identifier unique to each individual" you mentioned before. > > This would produce about 300 arrays. The [] keys would be virtually > unlimited. There might be a couple hundred birthYears for example. You can use vastly more arrays and keys in Rev than you'll need. > > If I wanted to get all census data for Billy Bob, I'd do a repeat > loop for each key of each of the 300 arrays to get all info > pertaining to Billy Bob? I had not thought of that approach. It's > fast? Mercy, no. What's fast is the kind of querying you mentioned: retrieving based on multiple filters. To make it fast to get everything about Billy Bob, your app would do some double-entry bookkeeping, maintaining arrays like this: personName[3258] = "Billy Bob" birthyear[3258] = 1982 or like this, based on a design that uses an array for each person: person_3258["name"]= "Billy Bob" person_3258["birthYear"] = 1982 or like this, based on a design that uses a card for each person: person["name"] of card 123 = "Billy Bob" person["birthYear"] of card 123 = 1982 > > To get a list of all Red Sox fans born in 1976, I'd just need to > intersect the two array/key combos? Intersecting the values you get from retrieving each array/key combo gives you the identifiers for all the people who match all your selection criteria, as many as you care to specify. > > Looking for all data on Billy Bob will happen more frequently than > looking for all Red Sox fans born in 1976. And it will be common to > delete Billy Bob from all arrays, or add Billie Jean. Most of the > time the primary reference would be to Billy Bob, such as "What is > Billy Bob's baseball team?" Does that change it? That enhancement to the problem definition motivates the double-entry bookkeeping. > > Note that this is not for a database, but for a game where I need to > track thousands of people each having about 300 pieces of info > defining them, the defining info will change constantly, and changes > need to be instantaneous. > Noted. Still, you could use a database management system in your solution, even though Rev makes it appealing to roll your own. Many threads have addressed the relative merits of the alternatives. If you have more questions about rolling your own, I'd be glad to try answering. > Shari -- Dick From len-morgan at crcom.net Sat Feb 2 08:33:38 2008 From: len-morgan at crcom.net (Len Morgan) Date: Sat, 02 Feb 2008 07:33:38 -0600 Subject: Filtering array vs plain list In-Reply-To: References: Message-ID: <47A47132.2010900@crcom.net> Shari, Why are you writing off using a database? I think you would find that for the amount of data you have and the way it's organized, it's going to be MUCH faster than anything you can do with arrays and scripts. For example to select all the Red Sox fans born in 1960 you would write: SELECT * FROM people WHERE baseballteam='Red Sox' AND birthyear='1960' To use your example of changing the baseball team: UPDATE people SET baseballteam='White Sox' WHERE baseballteam='Red Sox' AND birthyear='1960' All you have to do is read the statement above and you know what it does. Databases are designed for exactly this purpose and to do it in a script instead is IMHO, reinventing a very efficient, tested, wheel. Len Morgan Shari wrote: > > Note that this is not for a database, but for a game where I need to > track thousands of people each having about 300 pieces of info > defining them, the defining info will change constantly, and changes > need to be instantaneous. > From len-morgan at crcom.net Sat Feb 2 08:40:05 2008 From: len-morgan at crcom.net (Len Morgan) Date: Sat, 02 Feb 2008 07:40:05 -0600 Subject: RevBrowser Two windows In-Reply-To: <6203E945-9E98-4DB9-9519-74A475B73168@comcast.net> References: <1FB2E381-4816-4ABC-8D15-6E0859D31ABF@comcast.net> <945A22C9-3A11-460A-A572-D27E4529B771@comcast.net> <6203E945-9E98-4DB9-9519-74A475B73168@comcast.net> Message-ID: <47A472B5.1080406@crcom.net> Have you tried making the graphic invisible (i.e., set the color to transparent and then putting it ON TOP OF the browser window? If you have it behind the widow, only the edges will trigger the mouse message. Len Morgan Thomas McGrath III wrote: > I tried the oversized grc but it seems the mouseEnter only happens in > the small region between the edge of the grc and the browser object > which is only about 10 pixels. Anyway, if you move the mouse too > quickly it does not get the message. > > Is anyone familiar with revBrowser enough to know the answer to this. > I have spent two days trying to figure something out. > > > Thanks > > > Tom > > > On Feb 1, 2008, at 7:38 PM, Thomas McGrath III wrote: > >> David, >> >> thanks, I'll try the oversized grc and see. >> >> catching the html before display might prove too difficult and might >> break some pages, i think. >> >> Tom >> >> On Feb 1, 2008, at 7:06 PM, David Bovill wrote: >> >>> Nothing neat. I guess you could use an object slightly bigger than the >>> browser and then use the mouse enter and leave messages? Probably >>> the best - >>> I don't think it would work out but maybe another option is to fetch >>> the >>> html and wrap it in a dummy div before displaying? >>> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From m.schonewille at economy-x-talk.com Sat Feb 2 09:31:40 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 2 Feb 2008 15:31:40 +0100 Subject: RevBrowser Two windows In-Reply-To: <6203E945-9E98-4DB9-9519-74A475B73168@comcast.net> References: <1FB2E381-4816-4ABC-8D15-6E0859D31ABF@comcast.net> <945A22C9-3A11-460A-A572-D27E4529B771@comcast.net> <6203E945-9E98-4DB9-9519-74A475B73168@comcast.net> Message-ID: <98107F2F-E0C2-49A8-9CC9-9CFCFA89CC76@economy-x-talk.com> Tom, I solved this using the mouseMove message. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 2-feb-2008, om 4:36 heeft Thomas McGrath III het volgende geschreven: > I tried the oversized grc but it seems the mouseEnter only happens > in the small region between the edge of the grc and the browser > object which is only about 10 pixels. Anyway, if you move the mouse > too quickly it does not get the message. > > Is anyone familiar with revBrowser enough to know the answer to > this. I have spent two days trying to figure something out. > > > Thanks > > > Tom > From randall at randallreetz.com Sat Feb 2 09:37:01 2008 From: randall at randallreetz.com (Randall Lee Reetz) Date: Sat, 2 Feb 2008 06:37:01 -0800 Subject: about Voyager Expanded Books Message-ID: <20080202143704.LBCV25821.atlmtaow02.cingularme.com@Inbox> I hope quark used its ownership of mTropolis for more than market culling. I hope they cannibalized the kernal and object library IP. I am now remembering downloading a test version and finding it icon bar and pallet happy. I have seen this many times, flooding the user with a gazillion "automatic" functions in attempt to protect the user from having to learn a language and write code. The middle-ground approach of an xtalk environment is to leverage the user's skill with natural language. Other tools attempt to offer up a limited (5 or 6) object primatives which are coaxed towards particularity through automated pacement context cues and user chooseable context menues. What nobody has tried yet is what i call "logic hinting" which is where the tool is constantly watching over the shoulder of the user: looking for intent in theire super high leval skratches and museings and providing implementation choices (that are backed up with live code). Why havent we seen this yet... It is a very hard problem... Pretty much defines the line between what has been computing and what will be computing. Probably requires semantic and meaning capibilities that should be generalized and subsumed into layers much lower in the computational stack. randall -----Original Message----- From: "Scott Rossi" To: "Revolution Mail List" Sent: 2/1/2008 11:56 PM Subject: Re: about Voyager Expanded Books Recently, Colin Holgate wrote: > I'm not sure what Quark had at the time that was competitive, but > there was something, hence buying and killing the competition. Quark Immedia Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at comcast.net Sat Feb 2 09:41:00 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Sat, 2 Feb 2008 09:41:00 -0500 Subject: RevBrowser Two windows In-Reply-To: <98107F2F-E0C2-49A8-9CC9-9CFCFA89CC76@economy-x-talk.com> References: <1FB2E381-4816-4ABC-8D15-6E0859D31ABF@comcast.net> <945A22C9-3A11-460A-A572-D27E4529B771@comcast.net> <6203E945-9E98-4DB9-9519-74A475B73168@comcast.net> <98107F2F-E0C2-49A8-9CC9-9CFCFA89CC76@economy-x-talk.com> Message-ID: <25E419E9-3AED-48F1-A3FD-484BF011871D@comcast.net> Mark, Thanks, I tried a few scripts using the mouseMove but I guess I need to go back and revisit it. Do you remember if you put that at the stack level or card level? Thanks again, Tom On Feb 2, 2008, at 9:31 AM, Mark Schonewille wrote: > Tom, > > I solved this using the mouseMove message. > > Best regards, > > Mark Schonewille > From 3mcgrath at comcast.net Sat Feb 2 09:42:23 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Sat, 2 Feb 2008 09:42:23 -0500 Subject: RevBrowser Two windows In-Reply-To: <47A472B5.1080406@crcom.net> References: <1FB2E381-4816-4ABC-8D15-6E0859D31ABF@comcast.net> <945A22C9-3A11-460A-A572-D27E4529B771@comcast.net> <6203E945-9E98-4DB9-9519-74A475B73168@comcast.net> <47A472B5.1080406@crcom.net> Message-ID: <3FD2DA95-A00D-4D36-BF8D-8E64BE227413@comcast.net> Len, Have you tried this? It seems anything under or over gets overidden by the browser object. Thanks Tom On Feb 2, 2008, at 8:40 AM, Len Morgan wrote: > Have you tried making the graphic invisible (i.e., set the color to > transparent and then putting it ON TOP OF the browser window? If > you have it behind the widow, only the edges will trigger the mouse > message. > > Len Morgan > > Thomas McGrath III wrote: >> I tried the oversized grc but it seems the mouseEnter only happens >> in the small region between the edge of the grc and the browser >> object which is only about 10 pixels. Anyway, if you move the mouse >> too quickly it does not get the message. >> >> Is anyone familiar with revBrowser enough to know the answer to >> this. I have spent two days trying to figure something out. From randall at randallreetz.com Sat Feb 2 09:50:27 2008 From: randall at randallreetz.com (Randall Lee Reetz) Date: Sat, 2 Feb 2008 06:50:27 -0800 Subject: about Voyager Expanded Books Message-ID: <20080202145030.LNKM25821.atlmtaow02.cingularme.com@Inbox> Am i the only one who thinks it is hilarious when hypercard and its xtalk progeny are refered to as hypertext ore hypermedia environments or tools? Have you ever tried to emplement a true generlized hyper-linking into your projects or stacks? There is absolutely no pre-built infrastructure for "hyper" anything in xtalk. None! Just the word. The original snow job. The first "branding" exercise. Enough b.s. to drive good old ted nelson crazy. randall -----Original Message----- From: "Randall Lee Reetz" To: "How to use Revolution" Sent: 2/2/2008 6:37 AM Subject: RE: about Voyager Expanded Books I hope quark used its ownership of mTropolis for more than market culling. I hope they cannibalized the kernal and object library IP. I am now remembering downloading a test version and finding it icon bar and pallet happy. I have seen this many times, flooding the user with a gazillion "automatic" functions in attempt to protect the user from having to learn a language and write code. The middle-ground approach of an xtalk environment is to leverage the user's skill with natural language. Other tools attempt to offer up a limited (5 or 6) object primatives which are coaxed towards particularity through automated pacement context cues and user chooseable context menues. What nobody has tried yet is what i call "logic hinting" which is where the tool is constantly watching over the shoulder of the user: looking for intent in theire super high leval skratches and museings and providing implementation choices (that are backed up with live code). Why havent we seen this yet... It is a very hard problem... Pretty much defines the line between what has been computing and what will be computing. Probably requires semantic and meaning capibilities that should be generalized and subsumed into layers much lower in the computational stack. randall -----Original Message----- From: "Scott Rossi" To: "Revolution Mail List" Sent: 2/1/2008 11:56 PM Subject: Re: about Voyager Expanded Books Recently, Colin Holgate wrote: > I'm not sure what Quark had at the time that was competitive, but > there was something, hence buying and killing the competition. Quark Immedia Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From claudi.c at fiberworld.nl Sat Feb 2 10:18:11 2008 From: claudi.c at fiberworld.nl (Claudi Cornaz) Date: Sat, 2 Feb 2008 16:18:11 +0100 Subject: [OT] Does Sheepshaver work in Leopard? In-Reply-To: <12D91B49-F296-41E0-AF01-645185BE9321@oyfconsulting.com> References: <0002E2AF.47A328B2@192.168.168.3> <12D91B49-F296-41E0-AF01-645185BE9321@oyfconsulting.com> Message-ID: <3B83EA24-838E-44BF-AD44-7C638143E380@fiberworld.nl> Hi Jim, I have been using it for one app, Claris Cad and I have not encountered any problems. Don't know about other apps though. Claudi On 1-feb-2008, at 19:51, Jim Carwardine wrote: > Hi Folks... I haven't upgraded to Leopard for fear of Sheepshaver > not working. Anybody try it?... Jim > > Jim Carwardine, > President & CEO > OYF Consulting > Ph. 902.823.2339 / 866.601.2339 > Fx. 902.823-2139 > > StrategicDoing?: Execution depends on employees. > Strategic Partner with HiringSmart Canada Ltd. > -- > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From shari at gypsyware.com Sat Feb 2 10:49:11 2008 From: shari at gypsyware.com (Shari) Date: Sat, 2 Feb 2008 10:49:11 -0500 Subject: Filtering array vs plain list In-Reply-To: References: Message-ID: > personName[3258] = "Billy Bob" > birthyear[3258] = 1982 > >Intersecting the values you get from retrieving each array/key combo gives >you the identifiers for all the people who match all your selection >criteria, as many as you care to specify. I've just about got it. You gave me a good jumping board, Dick. Here's where it sits. Using one single array (this allows for the best ease of use), data is stored as follows: census[1111,team] = Red Sox census[2222,team] = Red Sox census[3333,team] = White Sox census[1111,city] = Chicago census[2222,city] = Atlanta census[3333,city] = Chicago Now, to get a list of folks that live in Atlanta that are Red Sox fans, I did the following: put census into a combine a with return and comma filter a with "*,team,Red Sox" put census into b combine b with return and comma filter b with "*,city,Atlanta" This gives me: a = 1111,team,Red Sox 2222,team,Red Sox b = 2222,city,Atlanta Can a and b be intersected as is? (My attempts failed.) The following works beautifully, but is it the most efficient? Is using split/combine/filter to manipulate a giant array faster than a repeat loop thru a gigantic list? split a by return and comma split b by return and comma intersect a with b combine a with return and comma answer a a = 2222,team,Red Sox That gave me exactly what I need. A list of anyone with team(Red Sox) and city(Atlanta) with item 1 of each line as the unique identifier. Any efficiency suggestions are welcome :-) Shari -- WlND0WS and MAClNT0SH shareware games BIackjack GoId http://www.gypsyware.com From len-morgan at crcom.net Sat Feb 2 10:51:08 2008 From: len-morgan at crcom.net (Len Morgan) Date: Sat, 02 Feb 2008 09:51:08 -0600 Subject: RevBrowser Two windows In-Reply-To: <3FD2DA95-A00D-4D36-BF8D-8E64BE227413@comcast.net> References: <1FB2E381-4816-4ABC-8D15-6E0859D31ABF@comcast.net> <945A22C9-3A11-460A-A572-D27E4529B771@comcast.net> <6203E945-9E98-4DB9-9519-74A475B73168@comcast.net> <47A472B5.1080406@crcom.net> <3FD2DA95-A00D-4D36-BF8D-8E64BE227413@comcast.net> Message-ID: <47A4916C.2090902@crcom.net> No I haven't myself but several others on this list have. If you look at the properties of the grc, one of them is either "blendLevel" or "transparency" I don't remember which. By setting this to transparent, you see right through it to whatever is underneath but it remains on top so IT gets mouse information not the window it's covering. len Thomas McGrath III wrote: > Len, > > Have you tried this? It seems anything under or over gets overidden by > the browser object. > > > Thanks > > Tom > > On Feb 2, 2008, at 8:40 AM, Len Morgan wrote: > >> Have you tried making the graphic invisible (i.e., set the color to >> transparent and then putting it ON TOP OF the browser window? If you >> have it behind the widow, only the edges will trigger the mouse message. >> >> Len Morgan >> >> Thomas McGrath III wrote: >>> I tried the oversized grc but it seems the mouseEnter only happens >>> in the small region between the edge of the grc and the browser >>> object which is only about 10 pixels. Anyway, if you move the mouse >>> too quickly it does not get the message. >>> >>> Is anyone familiar with revBrowser enough to know the answer to >>> this. I have spent two days trying to figure something out. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From capellan2000 at yahoo.com Sat Feb 2 11:53:09 2008 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 2 Feb 2008 08:53:09 -0800 (PST) Subject: [ANN] Background Pattern animation Message-ID: <500896.12908.qm@web36515.mail.mud.yahoo.com> Hi all, Download the stack Animated Background Pattern: http://www.geocities.com/capellan2000/Animated_Backpattern.zip This stack shows how to create an animation in the background pattern of controls. Have a nice weekend! alejandro ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping From mark at maseurope.net Sat Feb 2 12:35:01 2008 From: mark at maseurope.net (Mark Smith) Date: Sat, 2 Feb 2008 17:35:01 +0000 Subject: Filtering array vs plain list In-Reply-To: References: Message-ID: <0303AB45-8BDA-420F-B1EC-2D3350EECF65@maseurope.net> You could try keeping a return-delimited list of all the unique individuals in a script local variable "idList", so you could then use a repeat loop: repeat for each line L in idList if census[L,"city"] is "Atlanta" and census[L,"team"] is "Red Sox" then put L & cr after tResults end repeat I've no idea if this would be faster, but might be worth a try. Best, Mark On 2 Feb 2008, at 15:49, Shari wrote: >> personName[3258] = "Billy Bob" >> birthyear[3258] = 1982 >> >> Intersecting the values you get from retrieving each array/key >> combo gives >> you the identifiers for all the people who match all your selection >> criteria, as many as you care to specify. > > > I've just about got it. You gave me a good jumping board, Dick. > Here's where it sits. Using one single array (this allows for the > best ease of use), data is stored as follows: > > census[1111,team] = Red Sox > census[2222,team] = Red Sox > census[3333,team] = White Sox > census[1111,city] = Chicago > census[2222,city] = Atlanta > census[3333,city] = Chicago > > Now, to get a list of folks that live in Atlanta that are Red Sox > fans, I did the following: > > put census into a > combine a with return and comma > filter a with "*,team,Red Sox" > > put census into b > combine b with return and comma > filter b with "*,city,Atlanta" > > This gives me: > a = > 1111,team,Red Sox > 2222,team,Red Sox > > b = > 2222,city,Atlanta > > Can a and b be intersected as is? (My attempts failed.) The > following works beautifully, but is it the most efficient? Is > using split/combine/filter to manipulate a giant array faster than > a repeat loop thru a gigantic list? > > split a by return and comma > split b by return and comma > intersect a with b > > combine a with return and comma > answer a > > a = > 2222,team,Red Sox > > That gave me exactly what I need. A list of anyone with team(Red > Sox) and city(Atlanta) with item 1 of each line as the unique > identifier. > > Any efficiency suggestions are welcome :-) > > Shari > > -- > WlND0WS and MAClNT0SH shareware games > BIackjack GoId > http://www.gypsyware.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Sat Feb 2 12:35:47 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 02 Feb 2008 09:35:47 -0800 Subject: Filtering array vs plain list In-Reply-To: Message-ID: What you are doing looks fine. The speed depends on a few factors, which Richard Gaskin very carefully studied about month or two ago. His analysis was thorough and correct, and his suggestions were right on the mark for optimizing the performance of the filter command. Filter works faster if the patterns are simple and operate on the left most data. Shorter lines = faster processing. (suggestion: never use a variable name that is also reserved word in the computer language you are using, in this case Rev.) thus don't use { a item word filter image btn fld } use "aaa" "bbb" "ccc" "itemm" "wordd" "fldd" "nonreserved" Jim Ault Las Vegas On 2/2/08 7:49 AM, "Shari" wrote: >> personName[3258] = "Billy Bob" >> birthyear[3258] = 1982 >> >> Intersecting the values you get from retrieving each array/key combo gives >> you the identifiers for all the people who match all your selection >> criteria, as many as you care to specify. > > > I've just about got it. You gave me a good jumping board, Dick. > Here's where it sits. Using one single array (this allows for the > best ease of use), data is stored as follows: > > census[1111,team] = Red Sox > census[2222,team] = Red Sox > census[3333,team] = White Sox > census[1111,city] = Chicago > census[2222,city] = Atlanta > census[3333,city] = Chicago > > Now, to get a list of folks that live in Atlanta that are Red Sox > fans, I did the following: > > put census into a > combine a with return and comma > filter a with "*,team,Red Sox" > > put census into b > combine b with return and comma > filter b with "*,city,Atlanta" > > This gives me: > a = > 1111,team,Red Sox > 2222,team,Red Sox > > b = > 2222,city,Atlanta > > Can a and b be intersected as is? (My attempts failed.) The > following works beautifully, but is it the most efficient? Is using > split/combine/filter to manipulate a giant array faster than a repeat > loop thru a gigantic list? > > split a by return and comma > split b by return and comma > intersect a with b > > combine a with return and comma > answer a > > a = > 2222,team,Red Sox > > That gave me exactly what I need. A list of anyone with team(Red > Sox) and city(Atlanta) with item 1 of each line as the unique > identifier. > > Any efficiency suggestions are welcome :-) > > Shari From jim at oyfconsulting.com Sat Feb 2 13:12:26 2008 From: jim at oyfconsulting.com (Jim Carwardine) Date: Sat, 02 Feb 2008 14:12:26 -0400 Subject: about Voyager Expanded Books In-Reply-To: References: Message-ID: <87FBDF49-37B0-4E82-841C-19D575033E22@oyfconsulting.com> Bob gave me a copy of the Voyager series, if I recall correctly, it was all about the planets or something, which I still have but haven't looked at since back then... Jim On 1-Feb-08, at 4:10 PM, Colin Holgate wrote: > At 2:46 PM -0400 2/1/08, Jim Carwardine wrote: >> I showed it to Bob Stein at his booth and he said, "I can't look >> at this. This looks just like what we are doing." > > If that's what he said then it would have been 1992. I programmed > the Expanded Books during October and November 1991, and another > programmer finished off a couple of features, ready for the release > of the first three EBs at that MacWorld. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution Jim Carwardine, President & CEO OYF Consulting Ph. 902.823.2339 / 866.601.2339 Fx. 902.823-2139 StrategicDoing?: Execution depends on employees. Strategic Partner with HiringSmart Canada Ltd. -- From shari at gypsyware.com Sat Feb 2 13:17:56 2008 From: shari at gypsyware.com (Shari) Date: Sat, 2 Feb 2008 13:17:56 -0500 Subject: Filtering array vs plain list In-Reply-To: References: Message-ID: I think I found the tests/discussions you are referring to. "Extracting a column" circa Dec 10, 2007. Where Richard did a comparison speed test between "split" versus "repeat for each". Interesting! >What you are doing looks fine. > >The speed depends on a few factors, which Richard Gaskin very carefully >studied about month or two ago. His analysis was thorough and correct, and >his suggestions were right on the mark for optimizing the performance of the >filter command. > >Filter works faster if the patterns are simple and operate on the left most >data. Shorter lines = faster processing. > > >(suggestion: never use a variable name that is also reserved word in the >computer language you are using, in this case Rev.) >thus don't use { a item word filter image btn fld } >use "aaa" "bbb" "ccc" "itemm" "wordd" "fldd" "nonreserved" > > > >Jim Ault >Las Vegas -- WlND0WS and MAClNT0SH shareware games BIackjack GoId http://www.gypsyware.com From jim at oyfconsulting.com Sat Feb 2 13:19:14 2008 From: jim at oyfconsulting.com (Jim Carwardine) Date: Sat, 02 Feb 2008 14:19:14 -0400 Subject: [OT] Does Sheepshaver work in Leopard? In-Reply-To: <3B83EA24-838E-44BF-AD44-7C638143E380@fiberworld.nl> References: <0002E2AF.47A328B2@192.168.168.3> <12D91B49-F296-41E0-AF01-645185BE9321@oyfconsulting.com> <3B83EA24-838E-44BF-AD44-7C638143E380@fiberworld.nl> Message-ID: <282C6027-E313-4996-8554-1AD7EC6D34DA@oyfconsulting.com> Thanks for the responses... I need to run Macproject and Hypercard, among other things... Jim On 2-Feb-08, at 11:18 AM, Claudi Cornaz wrote: > Hi Jim, > > I have been using it for one app, Claris Cad and I have not > encountered any problems. Don't know about other apps though. > > Claudi > > > > > > On 1-feb-2008, at 19:51, Jim Carwardine wrote: > >> Hi Folks... I haven't upgraded to Leopard for fear of Sheepshaver >> not working. Anybody try it?... Jim >> >> Jim Carwardine, >> President & CEO >> OYF Consulting >> Ph. 902.823.2339 / 866.601.2339 >> Fx. 902.823-2139 >> >> StrategicDoing?: Execution depends on employees. >> Strategic Partner with HiringSmart Canada Ltd. >> -- >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution Jim Carwardine, President & CEO OYF Consulting Ph. 902.823.2339 / 866.601.2339 Fx. 902.823-2139 StrategicDoing?: Execution depends on employees. Strategic Partner with HiringSmart Canada Ltd. -- From coiin at rcn.com Sat Feb 2 13:34:08 2008 From: coiin at rcn.com (Colin Holgate) Date: Sat, 2 Feb 2008 13:34:08 -0500 Subject: about Voyager Expanded Books In-Reply-To: <87FBDF49-37B0-4E82-841C-19D575033E22@oyfconsulting.com> References: <87FBDF49-37B0-4E82-841C-19D575033E22@oyfconsulting.com> Message-ID: <98B2EA82-88DB-40A3-9B39-5F721505D819@rcn.com> On Feb 2, 2008, at 1:12 PM, Jim Carwardine wrote: > Bob gave me a copy of the Voyager series, if I recall correctly, it > was all about the planets or something, which I still have but > haven't looked at since back then... Jim Not sure what the planets thing was. The launch title Expanded Books were The Complete Hitchhiker's Guide to the Galaxy, Jurassic Park, and The Complete Annotated Alice. We did about another 60 books over the next few years, as well as the Expanded Books Toolkit for making your own books, and many CD-ROMs that used the same software (including A Hard Day's Night for example). From jeff at siphonophore.com Sat Feb 2 14:29:35 2008 From: jeff at siphonophore.com (Jeff Reynolds) Date: Sat, 2 Feb 2008 14:29:35 -0500 Subject: use-revolution Digest, Vol 53, Issue 2 In-Reply-To: <20080202133346.394BF489C9B@mail.runrev.com> References: <20080202133346.394BF489C9B@mail.runrev.com> Message-ID: <46730B72-4DDD-49C5-BF72-D3CB40855326@siphonophore.com> Back in the big cdrom boom in the 90s we did a cdrom with richie sambora on playing rock guitar with mtroplis. had lots of great potential and we were in talks with them about some sort of special licensing deal to further modify the system (the company i worked for came out of cdi and had a lot of high power programmers who saw a lot of potential to add onto the product). unfortunately the company started having problems and were not finishing off cleaning out the deep bugs when we were trying to go golden, the product shipped, but it took herculean efforts by the programmers to make it all work. thats when i think they soon got snapped up by quark and about the same time as the cdrom implosion. this thread brings back lots of memories! good old toolbook, the reason i moved to metacard when it went rocky for awhile and was not adding features. sooo glad i looked around and found mc! A film studio i also worked with also did a video disc & stack with Bob and Voyager. We actually were able to impress him with an office view as good as his. they had sweet offices in Venice beach just off the water with a great view of the beach/ocean. our office was in an old cannery sandwiched between the monterey bay aquarium and doc ricketts lab! man do i miss that view, looked up from the computer screen to look down the whole length of cannery row on the water side! Did you guys ever meet Bob's precocious son? He hung out with us for a week or so, sharp kid of about 12, but knew hypercard and hypertalk forwards and backwards! Anyone here hang out at the apple media lab in the late 80s early 90s? nother trip. headdy days when laserdiscs were still all the rage and the concept of digital videos and quicktime were just taking root! hd meant betasp/480i! 44mb syquest cartridges were a marvel! we use to walk 10 miles to school in the snow and 20 miles home in bare feet... cheers, jeff reynolds On Feb 2, 2008, at 8:33 AM, use-revolution-request at lists.runrev.com wrote: > Voyager had it, and did one CD-ROM using it (not done by me). That was > Fun With Architecture, and mTropolis was chosen because the program > needed to have a lot of building pieces on screen at once, and > Director was limited to 48 at the time. I used it for some > prototyping, I also entered the competition they had before it was > released, where you had to create a project in a save-disabled version > of the program, and send that in (try to work that out!). I won a tee- > shirt for my entry. I only know of two other commercial CD-ROMs done > with it, Muppet Treasure Island, and Obsidian, both of which were > impressive. > > I'm not sure what Quark had at the time that was competitive, but > there was something, hence buying and killing the competition. This > was all pre-OS X, so although I have copies kicking around, I can't > easily run it. I'm not even sure it ran in OS 9. I'll try at work some > time. From jeff at siphonophore.com Sat Feb 2 14:41:42 2008 From: jeff at siphonophore.com (Jeff Reynolds) Date: Sat, 2 Feb 2008 14:41:42 -0500 Subject: Rev as a HD media player? In-Reply-To: <20080202180004.288B2489CE5@mail.runrev.com> References: <20080202180004.288B2489CE5@mail.runrev.com> Message-ID: <8E4D543A-E9D6-44B9-A51F-5229475FEEEA@siphonophore.com> Has anyone tried using rev to playback 720p sized mpeg video? was toying with the idea of trying it with rev and quicktime to see if rev and quicktime could handle this with any robustness. hd mpeg playback solutions out there have a lot of limitations if you want to try and control them. The idea would be to just run a simple rev application on a mac mini that would just play back 720p60 mpeg files via controls set to it by tcpip from another computer. the mpeg playback solutions out there have several limitations. there are simpler systems based on flash memory that you can send serial commands to control, but the compact flash storage limits the amount of video you can store. Hard drived based mpeg players dont have any control apis that you can access to tell them what to play when. there is one option, the adtec edge 4111, but its very expensive and a bit clunky on the software side. The advantages to the mpeg boxes is that most of them will just keep playing back files all day long and never lock up. downside is control is missing on most, limited storage on some, and flavors of mpeg files they will use is limited and playback color/detail is variable. the advantage to a rev solution would be total control and access to all the flavors of h264 mov compression to get great quality and good sizes w/o having to go through a lot of hoops. downside is not sure how well the system would hold up to getting playback requests all day long. just wondering if anyone has torture tested rev playback like this of larger movie files with quicktime on the mac. cheers, jeff reynolds From coiin at rcn.com Sat Feb 2 14:48:53 2008 From: coiin at rcn.com (Colin Holgate) Date: Sat, 2 Feb 2008 14:48:53 -0500 Subject: use-revolution Digest, Vol 53, Issue 2 In-Reply-To: <46730B72-4DDD-49C5-BF72-D3CB40855326@siphonophore.com> References: <20080202133346.394BF489C9B@mail.runrev.com> <46730B72-4DDD-49C5-BF72-D3CB40855326@siphonophore.com> Message-ID: <5D5D67A3-9C1A-4121-B448-4845DD88C761@rcn.com> On Feb 2, 2008, at 2:29 PM, Jeff Reynolds wrote: > Did you guys ever meet Bob's precocious son? He hung out with us for > a week or so, sharp kid of about 12, but knew hypercard and > hypertalk forwards and backwards! Murphy was always smart, as well as precocious. He was the producer on the Voyager CD-ROM "A World Alive", which I helped him to program. It's many years later, and he's a producer at Scholastic in NYC now (or at least was the last time I saw him). The Voyager offices was in Santa Monica, not Venice, a few hundred yards north of the pier. I used to go there on vacation before I finally moved there from England to work for them. Although it was only about 10 seconds walk from the office door to the sand, I didn't make it onto the beach until six months after I got there, because I was busy programming the EB Toolkit software. If you're busy you're busy, no matter how nice it looks outside! From jacque at hyperactivesw.com Sat Feb 2 14:53:18 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 02 Feb 2008 13:53:18 -0600 Subject: Rev as a HD media player? In-Reply-To: <8E4D543A-E9D6-44B9-A51F-5229475FEEEA@siphonophore.com> References: <20080202180004.288B2489CE5@mail.runrev.com> <8E4D543A-E9D6-44B9-A51F-5229475FEEEA@siphonophore.com> Message-ID: <47A4CA2E.8@hyperactivesw.com> Jeff Reynolds wrote: > Has anyone tried using rev to playback 720p sized mpeg video? was toying > with the idea of trying it with rev and quicktime to see if rev and > quicktime could handle this with any robustness. hd mpeg playback > solutions out there have a lot of limitations if you want to try and > control them. The idea would be to just run a simple rev application on > a mac mini that would just play back 720p60 mpeg files via controls set > to it by tcpip from another computer. Yes, it works fine. Haven't torture-tested it with all-day playback though. One of my clients is the TeachMac producer, and it uses 720p mpeg H264 movies. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sims at ezpzapps.com Sat Feb 2 15:15:41 2008 From: sims at ezpzapps.com (Jim Sims) Date: Sat, 2 Feb 2008 21:15:41 +0100 Subject: Rev as a HD media player? In-Reply-To: <47A4CA2E.8@hyperactivesw.com> References: <20080202180004.288B2489CE5@mail.runrev.com> <8E4D543A-E9D6-44B9-A51F-5229475FEEEA@siphonophore.com> <47A4CA2E.8@hyperactivesw.com> Message-ID: <468FA415-0FF3-4833-8EA5-DEB6EB1A13E2@ezpzapps.com> On Feb 2, 2008, at 8:53 PM, J. Landman Gay wrote: > Yes, it works fine. Haven't torture-tested it with all-day playback > though. One of my clients is the TeachMac producer, and it uses > 720p mpeg H264 movies. I just looked at the demo on that web page. Am I correct in thinking that teachmac uses a built-in payment system with Kagi? IOW - one can purchase via the teachmac standalone and not need to proceed to a web page to purchase? Can you comment on how that is done? sims ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ClipaSearch Pro http://www.ClipaTools.com Across Platforms - Code and Culture http://www.ezpzapps.com/blog/ From troy_lists at rpsystems.net Sat Feb 2 15:34:01 2008 From: troy_lists at rpsystems.net (Troy Rollins) Date: Sat, 2 Feb 2008 15:34:01 -0500 Subject: Rev as a HD media player? In-Reply-To: <8E4D543A-E9D6-44B9-A51F-5229475FEEEA@siphonophore.com> References: <20080202180004.288B2489CE5@mail.runrev.com> <8E4D543A-E9D6-44B9-A51F-5229475FEEEA@siphonophore.com> Message-ID: <383D776F-13EA-4633-BAC1-76342A143DDE@rpsystems.net> On Feb 2, 2008, at 2:41 PM, Jeff Reynolds wrote: > Hard drived based mpeg players dont have any control apis that you > can access to tell them what to play when. there is one option, the > adtec edge 4111, but its very expensive and a bit clunky on the > software side. An somewhat older product of ours, gave the best of both worlds, robust playback, elegant control. Fathom is written in Revolution, BTW. -- Troy RPSystems, Ltd. http://www.rpsystems.net From katir at hindu.org Sat Feb 2 20:56:16 2008 From: katir at hindu.org (Sivakatirswami) Date: Sat, 02 Feb 2008 15:56:16 -1000 Subject: [ANN] Movie Finder Demo Posted In-Reply-To: References: Message-ID: <47A51F40.7050801@hindu.org> Scott Rossi wrote: > Recently, Chipp Walters wrote: > > >> The list doesn't hilite correctly on PC, but it works just fine. >> > > Yeah, what's up with that? It's just linkText. Is that a Windows bug? > > Regards, > > Scott Rossi > > Hmm... I don't see the orig ANN.. Postini may have swallowed it... what the URL? From katir at hindu.org Sat Feb 2 20:58:36 2008 From: katir at hindu.org (Sivakatirswami) Date: Sat, 02 Feb 2008 15:58:36 -1000 Subject: PDF within a stack? In-Reply-To: References: Message-ID: <47A51FCC.6090905@hindu.org> Scott Rossi wrote: > Recently, runrev260805 at m-r-d.de wrote: > > >> is it possible to include a PDF within a stackfile on cd under windows? >> > > if you don't mind letting the user out of your environment, there are routines that boot the PDF in Acrobat are well established and "just work" pretty much anywhere... > If you want to embed the PDF data in a stack you could store the PDF as > binary in a custom property. Something like: > > set the uPDFdata of this stack to url ("binfile:" & pathToOrigPDF) > > > >> I want the user to enter a password, if the password is correct the pdf file >> should either be saved to harddisk or openend. Is this possible? >> > > Once the user is granted access, you write out the PDF data to the drive. > To get the PDF to display within Rev, you will need to use the revBrowser > external (it is also possible to use a player object to display a PDF, but > this method is not without its difficulties). If the PDF doesn't need to > display within your stack, you could simply launch it once it has been > copied to the drive. > > If you want to minimize easy access to the PDF itself, you might be able to > write the file to Rev's temp directory (untested). > > put the tempName into pdfPath > set itemdel to "/" > put "private.pdf" into last item of pdfPath > put the uPDFdata of this stack into url ("binfile:" & pdfPath) > > HTH. > > Regards, > > If yo u From katir at hindu.org Sat Feb 2 21:21:24 2008 From: katir at hindu.org (Sivakatirswami) Date: Sat, 02 Feb 2008 16:21:24 -1000 Subject: about Voyager Expanded Books In-Reply-To: <20080202145030.LNKM25821.atlmtaow02.cingularme.com@Inbox> References: <20080202145030.LNKM25821.atlmtaow02.cingularme.com@Inbox> Message-ID: <47A52524.5020808@hindu.org> As for Quark: they "ate us alive" (10's M's of $ over * of years, for -2 new features +3 new bugs) until we escaped into the only slightly more benevolent world of Adobe CS. Re buy and kill off.. mTropolis, not a big loss (we have Revolution) much greater tragedy was MS killing "Living Cells" Now *that* was a truly new species of software that was made extinct before it even got on it's legs. Randall Lee Reetz wrote: > Am i the only one who thinks it is hilarious when hypercard and its xtalk progeny are refered to as hypertext ore hypermedia environments or tools? Have you ever tried to emplement a true generlized hyper-linking into your projects or stacks? There is absolutely no pre-built infrastructure for "hyper" anything in xtalk. None! Just the word. The original snow job. The first "branding" exercise. Enough b.s. to drive good old ted nelson crazy. > > randall > ummm I guess it depends on your definition of Hyperlinking... "Have you ever tried to emplement a true generalized hyper-linking into your projects or stacks?" Yes and my guess is so have many other's here... it's like, what... 5 lines of code? Of course "generalized hyper-linking" is not a specification. I must have 20-30 different implementations of hyper linking... depends on what you want to do... I've been dynamically locking field in my on PIM for years and then doing stuff with the clicktext of links. there are any number of variations of what was probably one of the most obvious uses of "hypertext" from the day I first open Hybercard in 1983 (or was it 86?... can't remember) it always qualified as "hypertext" to me... global gLastLineHandled on mouseDown if controlkey()="Down" then set the locktext of the target to true set the traversalOn of the target to false choose browse tool end if end mouseDown on mouseup if the hilite of btn "organize" then put word 2 of the clickline into gLastLineHandled if optionkey()="Down" then set the locktext of the target to false set the traversalOn of the target to true else pass mouseup end if end mouseup on linkClicked tSubject findLinkedItems tSubject put tSubject into gLastLink end linkClicked on makeLink if the selection is empty then answer "You need to select something." with "OK" exit makeLink else put the selection into jai set the textstyle of the selection to link open stack "Linked Entries" if exists (card jai) then exit makeLink else new card put jai into fld "Subject" set the name of this card to fld "subject" send upDateIndex to stack "linked Entries" end if end if end makeLink though, now, it looks like OmniFocus is a product that actually beats my own PIM...... From kray at sonsothunder.com Sat Feb 2 21:57:46 2008 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 2 Feb 2008 20:57:46 -0600 Subject: Escaping shell script paths (was: Photo Processing , Gallery and IPTC Data app) In-Reply-To: <7741A774-4B26-4AEA-ABAF-A4C6DB8A95A9@azurevision.co.uk> References: <4793F6B7.70904@hindu.org> <4798E6B8.1030706@hindu.org> <90FCE9D7-EE62-4D5F-BA62-B1D15F9E07E0@azurevision.co.uk> <4799470D.5020305@hindu.org> <83D7DF31-20D3-45FC-9C3B-EDA2DB4D2D79@azurevision.co.uk> <479C0ED6.1080500@hindu.org> <33B1E640-A359-4491-93B5-81A5F86F4D32@azurevision.co.uk> <7741A774-4B26-4AEA-ABAF-A4C6DB8A95A9@azurevision.co.uk> Message-ID: <20080202205746018819.4402b4be@sonsothunder.com> On Fri, 1 Feb 2008 18:52:28 +1000, Ian Wood wrote: > Oops. Just discovered that the above function doesn't cope with file > paths that contain any kind of quote mark. > > The following function should work better, escaping characters rather > than putting quote marks around the whole path. Here's the function I use, which works for both Mac and Windows: function stsFormatPath pPath,pPlatform -- assumes a full "/"-delimited path switch pPlatform case "MacOSX" case "Unix" put "\" & space & quote & "'`<>!;()[]?#$^&*=" into tSpecialChars repeat for each char tChar in tSpecialChars replace tChar with ("\" & tChar) in pPath end repeat break case "Win32" set the itemDel to "/" put item -1 of pPath into tFile put "\/:*?" & quote & "<>|" into tSpecialChars repeat for each char tChar in tSpecialChars replace tChar with ("-") in tFile end repeat put tFile into item -1 of pPath replace "/" with "\" in pPath break end switch return pPath end stsFormatPath Hope this helps, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From palcibiades-first at yahoo.co.uk Sun Feb 3 03:11:26 2008 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sun, 3 Feb 2008 08:11:26 +0000 Subject: Filtering array vs plain list Message-ID: <200802030811.26392.palcibiades-first@yahoo.co.uk> Len Morgan wrote > Why are you writing off using a database? I think you would find that > for the amount of data you have and the way it's organized, it's going > to be MUCH faster than anything you can do with arrays and scripts. > > For example to select all the Red Sox fans born in 1960 you would write: > > SELECT * FROM people WHERE baseballteam='Red Sox' AND birthyear='1960' > > To use your example of changing the baseball team: > > UPDATE people SET baseballteam='White Sox' WHERE baseballteam='Red Sox' > AND birthyear='1960' And the scales fell from his eyes and Lo, he could see! Thanks. What the database actually is giving you is a much more powerful filter command. Filter is great but it doesn't do columns. Its great but doesn't do real regex, only wildcards. Yes indeed, why reinvent the wheel, just figure out the database commands. If it were awk it might be different, where in effect you have a sort of built-in implicit filter with column addressing. But in Rev sqlite has to be the way to go. I sort of half knew this from using filter and switch to get reports done, which does work, but it runs to several pages to do quite simple things, but hadn't got it explicitly till reading this comment. Peter From shari at gypsyware.com Sun Feb 3 09:40:01 2008 From: shari at gypsyware.com (Shari) Date: Sun, 3 Feb 2008 09:40:01 -0500 Subject: Database vs Array (was: Filtering array vs plain list) In-Reply-To: <200802030811.26392.palcibiades-first@yahoo.co.uk> References: <200802030811.26392.palcibiades-first@yahoo.co.uk> Message-ID: Truthfully I've not considered databases. I've never worked with one. So I have NO concept of how you'd use one, install one, make it work for lots of folks with lots of computers, etc. Here are my assumptions and questions, based on no actual knowledge. I know you will all correct the bad ones :-) And I will learn something new :-) 1. Would the user need to install something extra to use it? If so, would it be a separate program from my app that I would have to deal with tech support if the user upgrades his system? Thousands of people download my apps from around the world, so added tech support is a big bad. 2. Is there a way to make it * part * of my app, running for both Mac and Windows without a bunch of hoo hah from me? I don't use installers. My apps are designed to launch, and create any separate files they need during initial launch. Stacks that need to be updated (i.e. preferences, saved games, etc.) are stored compressed in custom properties, and on initial launch decompressed and saved to a writeable location. That becomes the permanent prefs file or save file or whatever (which is what the database would be). (Used to be able to just stick them in the program's folder but with all the new security issues, computers can't write to that location anymore :-( Can I do this with a database file? 3. Can it be protected? 4. Whereas filtering will happen and needs to be super fast, the most common thing I will be doing is changing the data as follows: put "1286,5900,3422,9984" into myVar # this won't be done in one line, but as parts of other handlers repeat for each item x in myVar subtract random(variable2) from myArray[x,cattledog] if myArray[x,cattledog] < 0 then doSomething end if end repeat This type of code will be the most common. Also, moving data from cell to cell. It must perceive columns and rows, and be able to move the data from myArray[23,67] to myArray[55,90]. Or at least my code needs to be able to think this way. Can a database do this? Pardon the question, I honestly don't know. Have never looked into the guts of a database :-) It is alien technology to me :-) (For anybody wondering the cattledog reference, our newest dog pound adoptee is an Australian Cattle Dog/Husky mix. She's the apple of my eye and the biggest brat to boot.) Shari > > Why are you writing off using a database? I think you would find that >> for the amount of data you have and the way it's organized, it's going >> to be MUCH faster than anything you can do with arrays and scripts. >> >> For example to select all the Red Sox fans born in 1960 you would write: >> >> SELECT * FROM people WHERE baseballteam='Red Sox' AND birthyear='1960' >> >> To use your example of changing the baseball team: >> >> UPDATE people SET baseballteam='White Sox' WHERE baseballteam='Red Sox' >> AND birthyear='1960' > > >And the scales fell from his eyes and Lo, he could see! Thanks. > >What the database actually is giving you is a much more powerful filter >command. Filter is great but it doesn't do columns. Its great but doesn't >do real regex, only wildcards. Yes indeed, why reinvent the wheel, just >figure out the database commands. If it were awk it might be different, >where in effect you have a sort of built-in implicit filter with column >addressing. But in Rev sqlite has to be the way to go. > >I sort of half knew this from using filter and switch to get reports done, >which does work, but it runs to several pages to do quite simple things, but >hadn't got it explicitly till reading this comment. > >Peter -- WlND0WS and MAClNT0SH shareware games BIackjack GoId http://www.gypsyware.com From 00bioarchimed at free.fr Sun Feb 3 12:02:36 2008 From: 00bioarchimed at free.fr (Thierry) Date: Sun, 3 Feb 2008 18:02:36 +0100 Subject: Database vs Array (was: Filtering array vs plain list) In-Reply-To: References: <200802030811.26392.palcibiades-first@yahoo.co.uk> Message-ID: <5B0977D7-058B-41D3-81F6-1287F2910F9E@free.fr> Hi Shari , > Truthfully I've not considered databases. I've never worked with > one. So I have NO concept of how you'd use one, install one, make > it work for lots of folks with lots of computers, etc. May be it's interesting to read this tutorial on SQL: http://www.w3schools.com/sql/default.asp There, you will have an understanding of accesssing and manipulating databases.... and Revolution and SQL love each others :-) HTH, Regards, Thierry From sanke at hrz.uni-kassel.de Sun Feb 3 13:21:24 2008 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sun, 03 Feb 2008 19:21:24 +0100 Subject: rotating and scaling images in Win32 (was ITPC, Exif *.*) Message-ID: <47A60624.1090909@hrz.uni-kassel.de> On Fri Feb 1, 2008, Andre Garzia andre at andregarzia.com wrote: > Aloha Friends, > > I am creating a little photo selection application that allow > contributors to quickly select photos and do some basic editing > (rotation, scaling). Revolution is great for working with images but > when doing batch processing it simply takes too long. Creating > thumbnails for 80 images/4 mb each takes lots of minutes. I am a bit late in responding to this post, but maybe my reply is still helpful. The time needed to produce thumbnails certainly depends on the image format used. With JPG-images using Revolution would probably be sufficiently fast; I so far did not test other formats. Using my stack "ThumbsAndSlides" takes 300 milliseconds for each 3-megapixel image (then about 700 Kbyte in size on the harddisk) and 600 milliseconds for each 6-megapixel image needing 3 MB. In the case of the 6-megapixel images thumb-producing time would then be 48 seconds for a total of 80 images. The thumb-producing process includes proportional scaling - in case image size deviates from 4-to-3 ratio - and extracting and displaying the image name and modification date. Regards, Wilhelm Sanke From jacque at hyperactivesw.com Sun Feb 3 13:37:00 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 03 Feb 2008 12:37:00 -0600 Subject: Rev as a HD media player? In-Reply-To: <468FA415-0FF3-4833-8EA5-DEB6EB1A13E2@ezpzapps.com> References: <20080202180004.288B2489CE5@mail.runrev.com> <8E4D543A-E9D6-44B9-A51F-5229475FEEEA@siphonophore.com> <47A4CA2E.8@hyperactivesw.com> <468FA415-0FF3-4833-8EA5-DEB6EB1A13E2@ezpzapps.com> Message-ID: <47A609CC.3080800@hyperactivesw.com> Jim Sims wrote: > Am I correct in thinking that teachmac uses a built-in payment system > with Kagi? > > IOW - one can purchase via the teachmac standalone and not need to > proceed to a web page > to purchase? Can you comment on how that is done? Yes, that's right. Kagi provides an interface in C++ (the KRM module.) We hired Brian Yennie to wrap that into a Rev external which works very well. If you are interested, write me offlist and I'll ask my client if he is open to selling or licensing it. The external's legal rights belong to him but he's very flexible. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From downs.david.j at gmail.com Sun Feb 3 13:48:26 2008 From: downs.david.j at gmail.com (J. Downs) Date: Sun, 3 Feb 2008 12:48:26 -0600 Subject: Books? In-Reply-To: <47A609CC.3080800@hyperactivesw.com> References: <20080202180004.288B2489CE5@mail.runrev.com> <8E4D543A-E9D6-44B9-A51F-5229475FEEEA@siphonophore.com> <47A4CA2E.8@hyperactivesw.com> <468FA415-0FF3-4833-8EA5-DEB6EB1A13E2@ezpzapps.com> <47A609CC.3080800@hyperactivesw.com> Message-ID: Have any good books on Rev/Transcript been published, or is everyone still using old HyperCard/Talk books as references? J. From jeff at siphonophore.com Sun Feb 3 15:07:39 2008 From: jeff at siphonophore.com (Jeff Reynolds) Date: Sun, 3 Feb 2008 15:07:39 -0500 Subject: about Voyager Expanded Books In-Reply-To: <20080203180005.34A6F488FF5@mail.runrev.com> References: <20080203180005.34A6F488FF5@mail.runrev.com> Message-ID: <8DEDABCD-2018-4849-A6D8-0FA75B9A5CC5@siphonophore.com> Colin, Murph! thanks could not remember his name. It was the A World Alive project we were doing with him, it was sea studio's film and i was helping him pull all the parts together at the studio.. Glad to hear hes a producer now with scholastic! Sorry, i got it confused with another media guy we were working with in Venice beach. I think thats why bob liked Sea Studios digs, you just had to go out the side door to be over the water, but you oouldnt get to it to play! it was a 20' drop to the water for us and the studio cat was the only one who did that when he missed diving for sea gulls and i would have to climb down to fish him off the rocks... Santa Monica had a bit warmer weather and water than we did though. cheers, jeff On Feb 3, 2008, at 1:00 PM, use-revolution-request at lists.runrev.com wrote: >> Did you guys ever meet Bob's precocious son? He hung out with us for >> a week or so, sharp kid of about 12, but knew hypercard and >> hypertalk forwards and backwards! > > Murphy was always smart, as well as precocious. He was the producer on > the Voyager CD-ROM "A World Alive", which I helped him to program. > It's many years later, and he's a producer at Scholastic in NYC now > (or at least was the last time I saw him). > > The Voyager offices was in Santa Monica, not Venice, a few hundred > yards north of the pier. I used to go there on vacation before I > finally moved there from England to work for them. Although it was > only about 10 seconds walk from the office door to the sand, I didn't > make it onto the beach until six months after I got there, because I > was busy programming the EB Toolkit software. If you're busy you're > busy, no matter how nice it looks outside! From sarah.reichelt at gmail.com Sun Feb 3 17:35:26 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 4 Feb 2008 08:35:26 +1000 Subject: Database vs Array (was: Filtering array vs plain list) In-Reply-To: References: <200802030811.26392.palcibiades-first@yahoo.co.uk> Message-ID: > 1. Would the user need to install something extra to use it? If so, > would it be a separate program from my app that I would have to deal > with tech support if the user upgrades his system? Thousands of > people download my apps from around the world, so added tech support > is a big bad. SQLite is now part of Revolution, so your users would not need to install anything extra. However it would be adding a new library to your app which might need tech support. > 2. Is there a way to make it * part * of my app, running for both > Mac and Windows without a bunch of hoo hah from me? I don't use > installers. My apps are designed to launch, and create any separate > files they need during initial launch. Stacks that need to be > updated (i.e. preferences, saved games, etc.) are stored compressed > in custom properties, and on initial launch decompressed and saved to > a writeable location. That becomes the permanent prefs file or save > file or whatever (which is what the database would be). (Used to be > able to just stick them in the program's folder but with all the new > security issues, computers can't write to that location anymore :-( > Can I do this with a database file? You will need to include the database library with your app. On Mac OS X that's not a problem as it can be part of the application bundle. On Windows, it is a separate dll file which usually means an installer, although I don't see why you couldn't store the dll in a custom property and save it out to disk when the app first runs. The data itself would be a separate file so would need to be stored and saved as you do your prefs. > 3. Can it be protected? Don't know. The SQLite data files can be opened in a text editor and while they contain binary data, the text data is there in readable form. > 4. Whereas filtering will happen and needs to be super fast, the > most common thing I will be doing is changing the data as follows: > > put "1286,5900,3422,9984" into myVar # this won't be done in one > line, but as parts of other handlers > > repeat for each item x in myVar > subtract random(variable2) from myArray[x,cattledog] > if myArray[x,cattledog] < 0 then > doSomething > end if > end repeat > > This type of code will be the most common. Also, moving data from > cell to cell. It must perceive columns and rows, and be able to move > the data from myArray[23,67] to myArray[55,90]. Or at least my code > needs to be able to think this way. While searching for all Red Sox fans born in a certain year sounded more like a database candidate, this example sounds more suited to an array or even to tab-delimited text. I must say that I have a fondness for tab-delimited text. It can easily be turned into an array temporarily for speed, but it is very simple in concept and therefore easier to program. You can write dedicated functions to retrieve, set or edit specific portions of the data. Filtering is a good method of doing a rough find which can then be refined by looping through all the remaining entries. If the first item on each line is a unique ID number, then it is easy to work out which line you are operating on, even after a filter. Cheers, Sarah From adsmd1 at optonline.net Sun Feb 3 23:50:45 2008 From: adsmd1 at optonline.net (Alan Simon) Date: Sun, 03 Feb 2008 23:50:45 -0500 Subject: read CHM files? Message-ID: I am in need of a method to read compiled HTML help files (CHM files) or to extract the text from them. Has anyone seen a script or an extension that can do that from within Rev? Thanks, Alan Simon From viktoras at ekoinf.net Mon Feb 4 05:42:02 2008 From: viktoras at ekoinf.net (viktoras didziulis) Date: Mon, 04 Feb 2008 12:42:02 +0200 Subject: Database vs Array In-Reply-To: References: <200802030811.26392.palcibiades-first@yahoo.co.uk> Message-ID: <47A6EBFA.1070208@ekoinf.net> 3. Can it be protected? Ye, but it is not a free feature. Check this: http://www.hwaci.com/sw/sqlite/prosupport.html#crypto http://sqlitee.homepc.it/ http://www.sqlite-crypt.com/ On the other hand you can use revolution to encode/decode data before it gets into the database and when extracting... Best wishes Viktoras From mark at maseurope.net Mon Feb 4 06:29:27 2008 From: mark at maseurope.net (Mark Smith) Date: Mon, 4 Feb 2008 11:29:27 +0000 Subject: read CHM files? In-Reply-To: References: Message-ID: <8FB9B0C8-D9C4-41C1-92EE-48AB37958D3D@maseurope.net> Alan, there seem to be a number of tools for this, some are command line tools that could be used within rev. Have a look here: http://en.wikipedia.org/wiki/Microsoft_Compressed_HTML_Help Best, Mark On 4 Feb 2008, at 04:50, Alan Simon wrote: > I am in need of a method to read compiled HTML help files (CHM > files) or to extract the text from them. Has anyone seen a script > or an extension that can do that from within Rev? > > Thanks, > > Alan Simon > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jmyepes at mac.com Mon Feb 4 10:51:22 2008 From: jmyepes at mac.com (Josep) Date: Mon, 4 Feb 2008 07:51:22 -0800 (PST) Subject: External functions Message-ID: <15269013.post@talk.nabble.com> Hi, I'm programming a stack to help to create webpages with products using the one free shopping cart processor. I like to share some functions to access databases. How is the best way? Use libraries, frontscript,... How I must organize my project at stacks level. s_main.rev <-- Main Stack s_add_product <-- Substack of s_main s_add_family <-- Substack of s_main s_add_customer <-- Substack of s_main s_lib_functions.rev <-- Stack with functions Is a good organization? Some other way to do the same? Cheers, Josep M -- View this message in context: http://www.nabble.com/External-functions-tp15269013p15269013.html Sent from the Revolution - User mailing list archive at Nabble.com. From gefisher at mac.com Mon Feb 4 11:00:47 2008 From: gefisher at mac.com (Glenn E. Fisher) Date: Mon, 4 Feb 2008 10:00:47 -0600 Subject: An:Flow Analysis upload Message-ID: All, I finally got my old "Flow Analysis" HyperCard stack converted (actually rewritten) to Rev and uploaded it to Rev OnLine in category Education for your viewing and use. Have fun with it, Glenn -- Glenn E. Fisher University of Houston - Retired 22402 Diane Dr. Spring, Tx 77373 gefisher at mac.com http://www.uh.edu/~fisher http://home.comcast.net/~glennefisher/ http://homepage.mac.com/gefisher From andre at andregarzia.com Mon Feb 4 11:22:03 2008 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 4 Feb 2008 14:22:03 -0200 Subject: External functions In-Reply-To: <15269013.post@talk.nabble.com> References: <15269013.post@talk.nabble.com> Message-ID: <7c87a2a10802040822x770c9db2t2430797c102886bb@mail.gmail.com> Hello Josep, there is no definitive answer for this, what I use is to create a generic stack where I put my code that can be re-used then on the application stack I built the application specific code on top of that generic code. Thats how I like working. :-D On 2/4/08, Josep wrote: > > Hi, > > I'm programming a stack to help to create webpages with products using the > one free shopping cart processor. I like to share some functions to access > databases. How is the best way? Use libraries, frontscript,... How I must > organize my project at stacks level. > > s_main.rev <-- Main Stack > s_add_product <-- Substack of s_main > s_add_family <-- Substack of s_main > s_add_customer <-- Substack of s_main > > s_lib_functions.rev <-- Stack with functions > > Is a good organization? Some other way to do the same? > > Cheers, > Josep M > > > > -- > View this message in context: http://www.nabble.com/External-functions-tp15269013p15269013.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From lists at mangomultimedia.com Mon Feb 4 11:27:52 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 4 Feb 2008 11:27:52 -0500 Subject: External functions In-Reply-To: <15269013.post@talk.nabble.com> References: <15269013.post@talk.nabble.com> Message-ID: <78DC5A13-24D2-4945-BED2-41FD020B4046@mangomultimedia.com> On Feb 4, 2008, at 10:51 AM, Josep wrote: > I'm programming a stack to help to create webpages with products > using the > one free shopping cart processor. I like to share some functions to > access > databases. How is the best way? Use libraries, frontscript,... How I > must > organize my project at stacks level. > > s_main.rev <-- Main Stack > s_add_product <-- Substack of s_main > s_add_family <-- Substack of s_main > s_add_customer <-- Substack of s_main > > s_lib_functions.rev <-- Stack with functions > > Is a good organization? Your design looks fine. I prefer the library approach which means you would "start using" the s_lib_functions.rev stack so it is available to all scripts. Libraries usually make the most sense for general handlers you want to be globally available. > Some other way to do the same? You could make s_lib_functions.rev a substack of s_main.rev. If you have more than one library stack you could also create a "libraries.rev" stack on disk and make s_lib_functions a substack of the library stack. In the end you would get the same result though. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From ambassador at fourthworld.com Mon Feb 4 11:30:08 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Feb 2008 08:30:08 -0800 Subject: Rev as a HD media player? Message-ID: <47A73D90.1070308@fourthworld.com> Troy Rollins wrote: > An somewhat older product of ours, gave the best of both worlds, > robust playback, elegant control. > > > > Fathom is written in Revolution, BTW. That's a damn good-looking app, Troy. Have you considered submitting it for Rev to add to their Case Studies page?: Fathom's clean, professional look reflects well on Rev. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From eric.chatonet at sosmartsoftware.com Mon Feb 4 11:38:12 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 4 Feb 2008 17:38:12 +0100 Subject: External functions In-Reply-To: <78DC5A13-24D2-4945-BED2-41FD020B4046@mangomultimedia.com> References: <15269013.post@talk.nabble.com> <78DC5A13-24D2-4945-BED2-41FD020B4046@mangomultimedia.com> Message-ID: <788A9A04-744F-4A43-973D-5ADF9DFB857D@sosmartsoftware.com> Hi Trevor and Josep, Le 4 f?vr. 08 ? 17:27, Trevor DeVore a ?crit : > You could make s_lib_functions.rev a substack of s_main.rev. If you > have more than one library stack you could also create a > "libraries.rev" stack on disk and make s_lib_functions a substack > of the library stack. In the end you would get the same result though. In complex projects that are known as needing future upgrades, I prefer to have libraries, externals, pieces of the GUI, etc. in specific folders. Then, any component can be easily updated from the web when needed. My two cents ;-) Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From stephenREVOLUTION2 at barncard.com Mon Feb 4 11:59:10 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Mon, 4 Feb 2008 08:59:10 -0800 Subject: Stacks In Use In-Reply-To: <788A9A04-744F-4A43-973D-5ADF9DFB857D@sosmartsoftware.com> References: <15269013.post@talk.nabble.com> <78DC5A13-24D2-4945-BED2-41FD020B4046@mangomultimedia.com> <788A9A04-744F-4A43-973D-5ADF9DFB857D@sosmartsoftware.com> Message-ID: There was a discussion about ID limits in Rev.... how about this question for those that have done large applications: Does adding more stacks using 'stacks in use' put a bigger load or delay on the message path at some point, and what would that be? The same goes for individual stack script lengths. As my project has many stacks in use but has grown over time it's hard to notice the difference. I try to not let stack scripts get much larger than 150k characters, otherwise editing becomes much slower. (I also use GLX2 which handles these scripts fine.) But is there a downside with too many stacks or too long a script? (yes I know about the scriptlimits and stacks in use limits in standaloneland) . sqb -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From troy_lists at rpsystems.net Mon Feb 4 12:03:29 2008 From: troy_lists at rpsystems.net (Troy Rollins) Date: Mon, 4 Feb 2008 12:03:29 -0500 Subject: Rev as a HD media player? In-Reply-To: <47A73D90.1070308@fourthworld.com> References: <47A73D90.1070308@fourthworld.com> Message-ID: On Feb 4, 2008, at 11:30 AM, Richard Gaskin wrote: > That's a damn good-looking app, Troy. > > Have you considered submitting it for Rev to add to their Case > Studies page?: > > > Fathom's clean, professional look reflects well on Rev. Thanks. We worked hard at the look and feel, and making a complex process come off both visual and intuitive. As for the case study page, I think Fathom was part of it for a while. I'm not sure what happened to that. -- Troy RPSystems, Ltd. http://www.rpsystems.net From lists at mangomultimedia.com Mon Feb 4 12:23:20 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 4 Feb 2008 12:23:20 -0500 Subject: External functions In-Reply-To: <788A9A04-744F-4A43-973D-5ADF9DFB857D@sosmartsoftware.com> References: <15269013.post@talk.nabble.com> <78DC5A13-24D2-4945-BED2-41FD020B4046@mangomultimedia.com> <788A9A04-744F-4A43-973D-5ADF9DFB857D@sosmartsoftware.com> Message-ID: <8658766A-0AED-4E8F-A677-059CA283C546@mangomultimedia.com> On Feb 4, 2008, at 11:38 AM, Eric Chatonet wrote: > In complex projects that are known as needing future upgrades, I > prefer to have libraries, externals, pieces of the GUI, etc. in > specific folders. > Then, any component can be easily updated from the web when needed. > My two cents ;-) Eric, your mention of updating an app over the web and organizing individual pieces into their own separate folders brings to mind some issues I've been thinking about recently in regards to auto updating. So in the interest of sharing some additional thoughts on the subject of auto updating, here they are. When I originally implemented auto updating in one of my applications I would create updates that only updated specific stacks in the installation. I thought it was really cool that Revolution could update any stack on the fly and then just reload without restarting the application. That application has been around for a number of years now and has received numerous updates. What I found was that this approach ended up being more complex then I would have liked as I had to determine which stacks had been changed since the last version and then only include them in the update I pushed out. I decided I wanted an auto update architecture that required as little thinking as possible come publish time. Add some release notes, click a button and upload the files. I didn't want to have to keep a log each time a script changed anywhere in a stack so that I would remember to update it when I pushed out the next version. I also wanted to have an exact snapshot of every file in the installation for each release so that I could be look at the exact same code that was running on the end-user machine if they report a problem with version 1.2.3. So when I revised my auto update architecture I designed it so I could push out: a) new program files (stacks, externals, supporting docs, etc.) or b) just the executable files (to push out engine bug fixes) or c) both a and b. This was much simpler to deal with on my end and it made me feel good inside that I wasn't making the user download the ~2MB engine each time if they didn't need to. Since I was no longer updating the application at the stack level I wasn't as concerned with splitting up stacks into different files on disk. I've now been using this update architecture for a little over a year now. Over that year I've seen a number of users write in thinking that they weren't running the latest update because the File Info dialog for the executable said 1.x instead of 1.x.x (The about box does report the proper version though). So now I'm of the mind to always update the entire application whenever I push out a new public release for a consumer application. I can still provide the benefit of the app updating itself and relaunching with no intervention and there is less room for confusion as to what version they are running since the File Info dialog for the executable reports the proper version. I figure a couple of extra seconds (or minutes depending on connection speed) to download everything is worth it in the end. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From mwieder at ahsoftware.net Mon Feb 4 12:50:47 2008 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 4 Feb 2008 09:50:47 -0800 Subject: about Voyager Expanded Books References: <20080202023859.TFCO10098.atlmtaow01.cingularme.com@Inbox> <924B2724-E34E-41E8-A27E-3A819DBDBB4F@rcn.com> Message-ID: Colin- > released, where you had to create a project in a save-disabled version of > the program, and send that in (try to work that out!). I won a tee- ...all right - I'll bite. How in the world did you manage that? -- Mark Wieder mwieder at ahsoftware.net From coiin at rcn.com Mon Feb 4 13:02:39 2008 From: coiin at rcn.com (Colin Holgate) Date: Mon, 4 Feb 2008 13:02:39 -0500 Subject: about Voyager Expanded Books In-Reply-To: References: <20080202023859.TFCO10098.atlmtaow01.cingularme.com@Inbox> <924B2724-E34E-41E8-A27E-3A819DBDBB4F@rcn.com> Message-ID: On Feb 4, 2008, at 12:50 PM, Mark Wieder wrote: >> released, where you had to create a project in a save-disabled >> version of >> the program, and send that in (try to work that out!). I won a tee- > > ...all right - I'll bite. How in the world did you manage that? mTropolis could publish in various ways, and the save disabled one would not let you save a project, but you could publish out a playback only version. This meant you had to do something interesting in one sitting (these days I wouldn't be surprised about a program staying open for days, but those were the days when that wasn't so likely, and you needed real RAM to have lots of programs open). The competition was held before the release of v1.0 of the program, and so it was with a beta version. I set about doing the thing I had in mind, and after about four hours of working on it the application crashed. I started from scratch, but was nicely warmed up now, and managed to redo the work, and finish off, in about 2 1/2 hours, and then I published the read only one and sent that in. The source file literally never existed! From wow at together.net Mon Feb 4 14:09:57 2008 From: wow at together.net (Richard Miller) Date: Mon, 4 Feb 2008 14:09:57 -0500 Subject: Finding a specific Windows volume In-Reply-To: References: <20080202023859.TFCO10098.atlmtaow01.cingularme.com@Inbox> <924B2724-E34E-41E8-A27E-3A819DBDBB4F@rcn.com> Message-ID: <1BDD29AB-6B9F-46B9-8D6D-D2D3F09DBFEF@together.net> I'm looking for suggestions on how to find out if a specific USB camcorder is attached to a users computer (Windows only), and if it is, which volume identifies it. If the camcorder is attached, there will be a specific directory on it which I can use to help identify it. Let's say I am looking for a folder called "DCIM" on an attached USB drive. Doing this on Windows Vista causes all kinds of problems. repeat with i = number of lines of the volumes down to 1 if there is a folder (line i of the volumes & "/DCIM) then put true into foundit exit repeat end if end repeat I'm looking for a better solution. Thanks. Richard Miller From chipp at chipp.com Mon Feb 4 14:12:54 2008 From: chipp at chipp.com (Chipp Walters) Date: Mon, 4 Feb 2008 13:12:54 -0600 Subject: about Voyager Expanded Books In-Reply-To: References: Message-ID: <7aa52a210802041112s7bae64dfu9d47a7713941aea7@mail.gmail.com> I remember visiting with Bob Stein somewhere about that time. I recall him showing us his new media building toolkit, and being rather unimpressed by it all. He touted it as the next great thing, but a few of us where decided ho-hum. Overall, I came away with the impression Bob was mostly a sales and marketing guy, not any technology guru or architect. Dan Backus and I had just finished creating some pretty exciting stuff in SC, and I think we didn't fully appreciate the continuing B&W HC efforts. Dan had created this wonderful program called A.D.A.M. which was truly a marvel of programming, with 'pixel-level' recoginition of any picture in a layered body dissection, and we had finished Marsbook which had implemented a QTVR viewer before it was ever created. Those were fun times. :-) From runrev at dreamscapesoftware.com Mon Feb 4 14:17:45 2008 From: runrev at dreamscapesoftware.com (Derek Bump) Date: Mon, 04 Feb 2008 13:17:45 -0600 Subject: Finding a specific Windows volume In-Reply-To: <1BDD29AB-6B9F-46B9-8D6D-D2D3F09DBFEF@together.net> References: <20080202023859.TFCO10098.atlmtaow01.cingularme.com@Inbox> <924B2724-E34E-41E8-A27E-3A819DBDBB4F@rcn.com> <1BDD29AB-6B9F-46B9-8D6D-D2D3F09DBFEF@together.net> Message-ID: <47A764D9.5080608@dreamscapesoftware.com> Richard, It sounds to me like you are running into the same basic problems that another user was a while back. I posted the following solution which avoids the errors with locating files on Windows while avoiding disk errors and system dialogs... -- Snip -- My solution to the same problem is to check for a volume serial number first, then if there is one, check for the file I'm looking for. You can do this with the following function... function GetVolumeSN pDiskLetter local volumeSerialNumber -- Supports both "C", "C:" and "C:\" styles put char 1 of pDiskLetter & ":" into pDisk set the hideConsoleWindows to true put shell("dir " & pDisk) into tDirData get matchText(tDirData,"Volume Serial Number is (.*)\n",volumeSerialNumber) if it is true then return volumeSerialNumber else return empty end if end GetVolumeSN If the function returns a Serial Number, I know a disk is located at that drive letter. I then do my "if there is a file..." stuff. If the function returns nothing (empty) then I know there is no disk in the drive and I don't check it. This seems to avoid the whole "no disc" error in Windows XP SP2. I don't know about other versions... you'll have to test it out. -- End Snip -- This function was confirmed to work on Vista. But unless you can specify what errors you are getting, there's not much else I can suggest. Hope that helps. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___________________________________________________________________ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ Richard Miller wrote: > I'm looking for suggestions on how to find out if a specific USB > camcorder is attached to a users computer (Windows only), and if it is, > which volume identifies it. If the camcorder is attached, there will be > a specific directory on it which I can use to help identify it. > > Let's say I am looking for a folder called "DCIM" on an attached USB > drive. Doing this on Windows Vista causes all kinds of problems. > > repeat with i = number of lines of the volumes down to 1 > if there is a folder (line i of the volumes & "/DCIM) then > put true into foundit > exit repeat > end if > end repeat > > I'm looking for a better solution. > > Thanks. > Richard Miller > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Mon Feb 4 14:29:31 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Feb 2008 11:29:31 -0800 Subject: about Voyager Expanded Books Message-ID: <47A7679B.7090301@fourthworld.com> Colin Holgate wrote: > On Feb 1, 2008, at 6:31 AM, James Richards wrote: >> Have you seen Sophie http://www.fourthworld.com/products/sophie/index.html >> which was written in Revolution? I don't know exactly how it >> compares to VEBs, but the facility to create plugins seems to offer >> a wide range of capabilities. > > I hadn't heard of that, though of course I've heard of Richard. And If > Monks Had Macs was at one time published by Voyager as a set of > HyperCard stacks. The name Sophie is an unfortunate choice for the > product name, as it is the same name being used by Bob Stein for the > latest book reader he was doing ... Yes, it was an unfortunate choice, and I've never figured out why Mr. Stein made it. Brian had advocated calling ours "Sophie" from the very beginning, some time around '98, and we'd done a thorough search across trademarks and the web to make sure we had no conflict. At that time, Mr. Stein's ebook reader project was named "TK3": We were glad to see that the only other small-scale project in this arena had such a useless name. :) Alas, it didn't stay that way. Although our official release of Sophie was in 2003, Brian's web site had been discussing it for at least two years prior. After our initial release we published a brief outline of where we wanted to take Sophie: As noted there, since it's a free product and neither Brian nor I have unlimited resources, we had to cap our proposed feature list once we'd gotten only the basics in place. We'd already spent several thousand dollars' worth of development time on it, and it seemed to us that the best way to fulfill our vision of the tool would be to pursue grants, as we described on that page. So the online libraries, publishing tools, multimedia extensions, live hooks to the Gutenberg Project, and more would all have to wait while Brian and I got back to work at our day jobs. In 2006 I began getting emails about Sophie which were confusing to me at first, until I learned that Stein had recently chosen that name for his successor to TK3. Apparently he'd been able to get the sort of grant we were hoping for, which funded a development plan similar to what we'd described years earlier. Unfortunately, since a good many people were already familiar with our Sophie, his choice of the same name has been a source of confusion. In all fairness to Mr. Stein, it's not surprising to find two separate software teams independently working toward the same goal, especially with something as obvious as ebook readers. And while the one-in-a-billion odds of both teams, led by people who'd once worked together, accidentally using a name as obscure as "Sophie" may seem a bit incredible at first, Brian has talked with Mr. Stein and assures me it was purely coincidental. I'm not sure how Stein's Google got broken the day he chose that name, but although I've never met Mr. Stein, Brian is a man of impeccable character and his vouching for Stein is good enough for me. I feel it would have been fairer to both us and his subsequently-confused audience to have chosen a different name as soon as it was brought to his attention. His product hadn't been released yet, so any of the billions of other names available would have been a more beneficial choice for everyone. But today it's probably too late for them to change. Mr. Stein is far more well-connected than Brian or I, and now with the grant funding his project has a few orders of magnitude more resources available to them. With so much going on there, I don't anticipate seeing a change in the name at this stage. Bob Stein has accomplished a lot over the years, with his work - and yours - at Voyager Company demonstrating an innovative approach to both software design and marketing. Very few software developers had even considered putting software in book stores, but Mr. Stein pulled that off, and well, across a long series of products that were truly best-of-breed. I wish his team the best of luck with their project, and hope I have the opportunity to met him someday. He seems like an interesting person worth knowing. As for our Sophie: I believe it may still be worth enhancing, but with so much other work going on here it'll take some help. We've considered making the Sophie stacks open source so we can open up development to others in this community. Jerry Muelver has generously offered to assist, and the only holdup has been on my end, booked as I've been with client work which has prevented me from prepping the Sophie code base for handing off to others. I hope to be able to do so within the coming weeks, so if any of you are interested in helping to move Sophie forward please drop me a note and let's see what we can do. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jmyepes at mac.com Mon Feb 4 15:03:15 2008 From: jmyepes at mac.com (Josep) Date: Mon, 4 Feb 2008 12:03:15 -0800 (PST) Subject: External functions In-Reply-To: <78DC5A13-24D2-4945-BED2-41FD020B4046@mangomultimedia.com> References: <15269013.post@talk.nabble.com> <78DC5A13-24D2-4945-BED2-41FD020B4046@mangomultimedia.com> Message-ID: <15276222.post@talk.nabble.com> Hi, Well, and the best handler to put the "start using"? In the opencard of the main stack? As say Eric, I'm interested into future "easy" updates, so the organization in external stacks is more interesting. This is the same concept of libraries? Where I must to put the "start using"? or how I must do it? Can post any piece of code showing one example? Something schematic to see it. Cheers, Josep M -- View this message in context: http://www.nabble.com/External-functions-tp15269013p15276222.html Sent from the Revolution - User mailing list archive at Nabble.com. From sarah.reichelt at gmail.com Mon Feb 4 15:29:04 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 5 Feb 2008 06:29:04 +1000 Subject: External functions In-Reply-To: <8658766A-0AED-4E8F-A677-059CA283C546@mangomultimedia.com> References: <15269013.post@talk.nabble.com> <78DC5A13-24D2-4945-BED2-41FD020B4046@mangomultimedia.com> <788A9A04-744F-4A43-973D-5ADF9DFB857D@sosmartsoftware.com> <8658766A-0AED-4E8F-A677-059CA283C546@mangomultimedia.com> Message-ID: > I've now been using this update architecture for a little over a year > now. Over that year I've seen a number of users write in thinking that > they weren't running the latest update because the File Info dialog > for the executable said 1.x instead of 1.x.x (The about box does > report the proper version though). Trevor, I use a similar sort of thing and almost never update the actual application, just the sub-stacks. I store the app's version in one of the sub-stacks, so I can update it that way. That doesn't affect the File Info but you could do that yourself by editing the plist file when you update. Cheers, Sarah From jmyepes at mac.com Mon Feb 4 15:36:50 2008 From: jmyepes at mac.com (Josep) Date: Mon, 4 Feb 2008 12:36:50 -0800 (PST) Subject: External functions In-Reply-To: <15276222.post@talk.nabble.com> References: <15269013.post@talk.nabble.com> <78DC5A13-24D2-4945-BED2-41FD020B4046@mangomultimedia.com> <15276222.post@talk.nabble.com> Message-ID: <15276961.post@talk.nabble.com> Hi again, My problem due to my inexperience in Revolution is how organize the calls into the stacks. What is better and what is the normal way to put the handlers, functions, etc... Cheers, Josep -- View this message in context: http://www.nabble.com/External-functions-tp15269013p15276961.html Sent from the Revolution - User mailing list archive at Nabble.com. From chipp at chipp.com Mon Feb 4 15:43:14 2008 From: chipp at chipp.com (Chipp Walters) Date: Mon, 4 Feb 2008 14:43:14 -0600 Subject: Arrays and empty? Is this a bug? Message-ID: <7aa52a210802041243s3fbcde98y1a32ae7d3942d420@mail.gmail.com> Interestingly one can put empty into an array to reset it: put empty into tMyArray but cannot check to see if an array is empty as it will return true no matter if there is data in the array or not. put tMyArray is empty always returns true even if: put "red" into tMyArray[1] put tMyArray is empty Is this a bug? From lists at mangomultimedia.com Mon Feb 4 16:04:19 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 4 Feb 2008 16:04:19 -0500 Subject: External functions In-Reply-To: References: <15269013.post@talk.nabble.com> <78DC5A13-24D2-4945-BED2-41FD020B4046@mangomultimedia.com> <788A9A04-744F-4A43-973D-5ADF9DFB857D@sosmartsoftware.com> <8658766A-0AED-4E8F-A677-059CA283C546@mangomultimedia.com> Message-ID: On Feb 4, 2008, at 3:29 PM, Sarah Reichelt wrote: >> I've now been using this update architecture for a little over a year >> now. Over that year I've seen a number of users write in thinking >> that >> they weren't running the latest update because the File Info dialog >> for the executable said 1.x instead of 1.x.x (The about box does >> report the proper version though). > > Trevor, I use a similar sort of thing and almost never update the > actual application, just the sub-stacks. I store the app's version in > one of the sub-stacks, so I can update it that way. That doesn't > affect the File Info but you could do that yourself by editing the > plist file when you update. Yeah, I currently store the actual version in the "application" stack (stack with all my app configuration information) so that is why the about box is always up to date. Updating the plist file would probably work well on Mac. I hadn't thought about that but will give it a go. The only drawback that springs to mind is that modification date either a) won't get updated or b) won't reflect the date you created the update. This is probably of little consequence in the majority of cases though. For windows this might be a little trickier. Perhaps a binary update can be performed to change the version number but that depends on how easy it is to find the info in the executable file. You may have to resort to a system API call though. Anyone tried this with a Rev exe created with 2.7 or greater? Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From eric.chatonet at sosmartsoftware.com Mon Feb 4 16:05:01 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 4 Feb 2008 22:05:01 +0100 Subject: Arrays and empty? Is this a bug? In-Reply-To: <7aa52a210802041243s3fbcde98y1a32ae7d3942d420@mail.gmail.com> References: <7aa52a210802041243s3fbcde98y1a32ae7d3942d420@mail.gmail.com> Message-ID: <85DD5F51-14AA-4D9F-AA85-23D399E41F8C@sosmartsoftware.com> Hi Chipp, Being logical, I would inclined to think so :-) And I'm always bored to have to write: 'if tMyArray = empty and the keys of tMyArray = empty then...' Le 4 f?vr. 08 ? 21:43, Chipp Walters a ?crit : > Interestingly one can put empty into an array to reset it: > > put empty into tMyArray > > but cannot check to see if an array is empty as it will return true no > matter if there is data in the array or not. > > put tMyArray is empty > > always returns true even if: > > put "red" into tMyArray[1] > put tMyArray is empty > > Is this a bug? Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From sarah.reichelt at gmail.com Mon Feb 4 16:09:08 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 5 Feb 2008 07:09:08 +1000 Subject: External functions In-Reply-To: <15276961.post@talk.nabble.com> References: <15269013.post@talk.nabble.com> <78DC5A13-24D2-4945-BED2-41FD020B4046@mangomultimedia.com> <15276222.post@talk.nabble.com> <15276961.post@talk.nabble.com> Message-ID: > My problem due to my inexperience in Revolution is how organize the calls > into the stacks. What is better and what is the normal way to put the > handlers, functions, etc... My general rule is to place each handler or function as low in the hierarchy as practical. If a button has a single use, then it contains it's own handler. If there is a group of buttons that all use the same function, then I might put that handler in the group script. For handlers/functions used by many of the objects on a card, I'll put the handler/function in the card script and for handlers/functions used by everything, I use the stack script. That covers an individual stack, but there will be handlers/functions that are used by multiple stacks. For these, the options are to use the stack script of the mainStack or to make a library stack. To make a library stack, write all the handlers in the stack script of a particular stack and then "start using" that stack. The library can be a sub stack of your mainStack or can be completely independent, so long as you include it in your app when creating a standalone. There are also frontScripts & backScripts, but they tend to be more special purpose. Richard Gaskin has a very useful article about the message, but I can't find the URL at the moment (Richard?). He also contributed to the Scripting Conferences with one titles "Message Hierarchy". You can download it from . HTH, Sarah From sarah.reichelt at gmail.com Mon Feb 4 16:10:09 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 5 Feb 2008 07:10:09 +1000 Subject: External functions In-Reply-To: References: <15269013.post@talk.nabble.com> <78DC5A13-24D2-4945-BED2-41FD020B4046@mangomultimedia.com> <788A9A04-744F-4A43-973D-5ADF9DFB857D@sosmartsoftware.com> <8658766A-0AED-4E8F-A677-059CA283C546@mangomultimedia.com> Message-ID: > Updating the plist file would probably work well on Mac. I hadn't > thought about that but will give it a go. The only drawback that > springs to mind is that modification date either a) won't get updated > or b) won't reflect the date you created the update. This is probably > of little consequence in the majority of cases though. You could use the shell command "touch" to alter the mod date. Sarah From lists at mangomultimedia.com Mon Feb 4 16:30:00 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 4 Feb 2008 16:30:00 -0500 Subject: External functions In-Reply-To: References: <15269013.post@talk.nabble.com> <78DC5A13-24D2-4945-BED2-41FD020B4046@mangomultimedia.com> <788A9A04-744F-4A43-973D-5ADF9DFB857D@sosmartsoftware.com> <8658766A-0AED-4E8F-A677-059CA283C546@mangomultimedia.com> Message-ID: <6702E2C9-2365-4750-964F-A6E8E553CEE1@mangomultimedia.com> On Feb 4, 2008, at 4:10 PM, Sarah Reichelt wrote: >> Updating the plist file would probably work well on Mac. I hadn't >> thought about that but will give it a go. The only drawback that >> springs to mind is that modification date either a) won't get updated >> or b) won't reflect the date you created the update. This is probably >> of little consequence in the majority of cases though. > > You could use the shell command "touch" to alter the mod date. Right. That would address (a) but not (b). The date of when "touch" was performed rather than the date the developer built the update. But that probably doesn't matter. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From eric.chatonet at sosmartsoftware.com Mon Feb 4 16:53:33 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 4 Feb 2008 22:53:33 +0100 Subject: External functions In-Reply-To: <8658766A-0AED-4E8F-A677-059CA283C546@mangomultimedia.com> References: <15269013.post@talk.nabble.com> <78DC5A13-24D2-4945-BED2-41FD020B4046@mangomultimedia.com> <788A9A04-744F-4A43-973D-5ADF9DFB857D@sosmartsoftware.com> <8658766A-0AED-4E8F-A677-059CA283C546@mangomultimedia.com> Message-ID: Hi Trevor, I ran into the same questioning :-) The way I chose is the following: The app/exe itself is, of course, a launcher. This launcher retrieves information from an external splash stack and, among others, allows to set the label of the exe with the right version number. A very simple text file on our server allows to compare automatically the user current version with the last one and alert him if needed. When an update is available, needed files are downloaded and the external splash screen is always replaced. In case of 'big' update, a process allows with an invisible installer to update all files, exe included and restart the software. In addition, a check at every launch, verifies if all needed files are there and downloads missing ones from the internet if needed. So, in a few words, we have to ways of updating: a light one when replacing a stack file or another one that replaces the whole app. PS. For security, all files on disk are ciphered and restored in RAM on-the-fly. Le 4 f?vr. 08 ? 18:23, Trevor DeVore a ?crit : > On Feb 4, 2008, at 11:38 AM, Eric Chatonet wrote: > >> In complex projects that are known as needing future upgrades, I >> prefer to have libraries, externals, pieces of the GUI, etc. in >> specific folders. >> Then, any component can be easily updated from the web when needed. >> My two cents ;-) > > Eric, your mention of updating an app over the web and organizing > individual pieces into their own separate folders brings to mind > some issues I've been thinking about recently in regards to auto > updating. So in the interest of sharing some additional thoughts on > the subject of auto updating, here they are. > > When I originally implemented auto updating in one of my > applications I would create updates that only updated specific > stacks in the installation. I thought it was really cool that > Revolution could update any stack on the fly and then just reload > without restarting the application. That application has been > around for a number of years now and has received numerous updates. > > What I found was that this approach ended up being more complex > then I would have liked as I had to determine which stacks had been > changed since the last version and then only include them in the > update I pushed out. > > I decided I wanted an auto update architecture that required as > little thinking as possible come publish time. Add some release > notes, click a button and upload the files. I didn't want to have > to keep a log each time a script changed anywhere in a stack so > that I would remember to update it when I pushed out the next > version. I also wanted to have an exact snapshot of every file in > the installation for each release so that I could be look at the > exact same code that was running on the end-user machine if they > report a problem with version 1.2.3. > > So when I revised my auto update architecture I designed it so I > could push out: > > a) new program files (stacks, externals, supporting docs, etc.) or > b) just the executable files (to push out engine bug fixes) or > c) both a and b. > > This was much simpler to deal with on my end and it made me feel > good inside that I wasn't making the user download the ~2MB engine > each time if they didn't need to. Since I was no longer updating > the application at the stack level I wasn't as concerned with > splitting up stacks into different files on disk. > > I've now been using this update architecture for a little over a > year now. Over that year I've seen a number of users write in > thinking that they weren't running the latest update because the > File Info dialog for the executable said 1.x instead of 1.x.x (The > about box does report the proper version though). > > So now I'm of the mind to always update the entire application > whenever I push out a new public release for a consumer > application. I can still provide the benefit of the app updating > itself and relaunching with no intervention and there is less room > for confusion as to what version they are running since the File > Info dialog for the executable reports the proper version. I figure > a couple of extra seconds (or minutes depending on connection > speed) to download everything is worth it in the end. > > Regards, > > -- > Trevor DeVore > Blue Mango Learning Systems > www.bluemangolearning.com - www.screensteps.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From mark at maseurope.net Mon Feb 4 17:07:04 2008 From: mark at maseurope.net (Mark Smith) Date: Mon, 4 Feb 2008 22:07:04 +0000 Subject: Arrays and empty? Is this a bug? In-Reply-To: <7aa52a210802041243s3fbcde98y1a32ae7d3942d420@mail.gmail.com> References: <7aa52a210802041243s3fbcde98y1a32ae7d3942d420@mail.gmail.com> Message-ID: Chipp, bug 3610 is the one to vote for: "Arrays as first class values". There was a discussion about this on the list a few months ago: http://thread.gmane.org/gmane.comp.ide.revolution.user/95982 Best, Mark On 4 Feb 2008, at 20:43, Chipp Walters wrote: > Interestingly one can put empty into an array to reset it: > > put empty into tMyArray > > but cannot check to see if an array is empty as it will return true no > matter if there is data in the array or not. > > put tMyArray is empty > > always returns true even if: > > put "red" into tMyArray[1] > put tMyArray is empty > > Is this a bug? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Mon Feb 4 17:16:49 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 4 Feb 2008 23:16:49 +0100 Subject: Arrays and empty? Is this a bug? In-Reply-To: References: <7aa52a210802041243s3fbcde98y1a32ae7d3942d420@mail.gmail.com> Message-ID: <57BAA9C7-67BB-45DC-A84A-5EC3C4024820@economy-x-talk.com> Hi, Don't forget that there is an "is an array" operator now: Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 4-feb-2008, om 23:07 heeft Mark Smith het volgende geschreven: > Chipp, bug 3610 is the one to vote for: "Arrays as first class > values". > > There was a discussion about this on the list a few months ago: > http://thread.gmane.org/gmane.comp.ide.revolution.user/95982 > > Best, > > Mark > > On 4 Feb 2008, at 20:43, Chipp Walters wrote: > >> Interestingly one can put empty into an array to reset it: >> >> put empty into tMyArray >> >> but cannot check to see if an array is empty as it will return >> true no >> matter if there is data in the array or not. >> >> put tMyArray is empty >> >> always returns true even if: >> >> put "red" into tMyArray[1] >> put tMyArray is empty >> >> Is this a bug? >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Mon Feb 4 17:29:27 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 4 Feb 2008 23:29:27 +0100 Subject: An:Flow Analysis upload In-Reply-To: References: Message-ID: <7D30F023-00E9-4341-99CA-FD7BBF11C8AA@economy-x-talk.com> Hi Glenn, What's the name of your stack and what is your user name? Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 4-feb-2008, om 17:00 heeft Glenn E. Fisher het volgende geschreven: > All, > > I finally got my old "Flow Analysis" HyperCard stack converted > (actually rewritten) to Rev and uploaded it to Rev OnLine in > category Education for your viewing and use. > > Have fun with it, > Glenn > From mwieder at ahsoftware.net Mon Feb 4 17:33:09 2008 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 4 Feb 2008 14:33:09 -0800 Subject: Arrays and empty? Is this a bug? References: <7aa52a210802041243s3fbcde98y1a32ae7d3942d420@mail.gmail.com> Message-ID: Chipp- Ah. The joys of associative arrays. Technically this is proper behavior. tMyArray is empty. tMyArray[1] is not. If you put "yellow" into tMyArray then it is not longer empty. And it is also no longer an array. Putting "red" back into tMyArray[1] again makes tMyArray into an array and makes tMyArray empty. And as of rev 2.9.0-dp3 you can now "put tMyArray is an array" as a shortcut to "put the keys of tMyArray is empty" -- Mark Wieder mwieder at ahsoftware.net From shari at gypsyware.com Mon Feb 4 17:50:49 2008 From: shari at gypsyware.com (Shari) Date: Mon, 4 Feb 2008 17:50:49 -0500 Subject: Database vs Array (was: Filtering array vs plain list) In-Reply-To: References: <200802030811.26392.palcibiades-first@yahoo.co.uk> Message-ID: Thanks to all who answered my questions about arrays vs databases. I reached a juncture where I had to make a decision about how to format this particular set of data before I could continue coding. I made a few adjustments and I think the end result will be easy to access and speedy. Tankee, tankee! Shari -- WlND0WS and MAClNT0SH shareware games BIackjack GoId http://www.gypsyware.com From lists at mangomultimedia.com Mon Feb 4 18:02:28 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 4 Feb 2008 18:02:28 -0500 Subject: Auto Updates [Was Re: External functions] In-Reply-To: References: <15269013.post@talk.nabble.com> <78DC5A13-24D2-4945-BED2-41FD020B4046@mangomultimedia.com> <788A9A04-744F-4A43-973D-5ADF9DFB857D@sosmartsoftware.com> <8658766A-0AED-4E8F-A677-059CA283C546@mangomultimedia.com> Message-ID: <2745C25F-B91C-489E-B085-300B094A11C5@mangomultimedia.com> On Feb 4, 2008, at 4:53 PM, Eric Chatonet wrote: Thanks for sharing Eric. Please see my questions below. > The app/exe itself is, of course, a launcher. Same. Very beneficial regardless of whether or not you use auto updating. Being able to keep the executable in the same directory as my stack files so I can launch the app during development for testing within a standalone is a huge benefit. One of the big time savers when developing with Revolution. > This launcher retrieves information from an external splash stack > and, among others, allows to set the label of the exe with the right > version number. When you say label are you referring to the info that shows up in the File Info dialog in Finder or Windows Explorer? Or something else? > A very simple text file on our server allows to compare > automatically the user current version with the last one and alert > him if needed. Same. > When an update is available, needed files are downloaded and the > external splash screen is always replaced. > In case of 'big' update, a process allows with an invisible > installer to update all files, exe included and restart the software. Similar. > In addition, a check at every launch, verifies if all needed files > are there and downloads missing ones from the internet if needed. I haven't done this as I haven't needed it for my own use. If you get a moment I would be interested in hearing how you use this feature in deployment and how often it gets used. > So, in a few words, we have to ways of updating: a light one when > replacing a stack file or another one that replaces the whole app. Same. I think the only difference is that with my current approach, light update replaces all files except the executable. A full update replaces the executable as well. > PS. For security, all files on disk are ciphered and restored in RAM > on-the-fly. Would you mind explaining this a little more when you have a moment? Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From nealk3nc at gmail.com Mon Feb 4 18:08:37 2008 From: nealk3nc at gmail.com (Neal Campbell) Date: Mon, 4 Feb 2008 23:08:37 +0000 Subject: Auto Updates [Was Re: External functions] In-Reply-To: <2745C25F-B91C-489E-B085-300B094A11C5@mangomultimedia.com> References: <15269013.post@talk.nabble.com> <78DC5A13-24D2-4945-BED2-41FD020B4046@mangomultimedia.com> <788A9A04-744F-4A43-973D-5ADF9DFB857D@sosmartsoftware.com> <8658766A-0AED-4E8F-A677-059CA283C546@mangomultimedia.com> <2745C25F-B91C-489E-B085-300B094A11C5@mangomultimedia.com> Message-ID: <325413300802041508m67e0f67fr7d5309c8bf4b1109@mail.gmail.com> Has anyone looked into writing an external for Sparkle for OS X? I have used it with other languages and its pretty slick, albeit OS X only. Neal On Feb 4, 2008 11:02 PM, Trevor DeVore wrote: > On Feb 4, 2008, at 4:53 PM, Eric Chatonet wrote: > > Thanks for sharing Eric. Please see my questions below. > > > The app/exe itself is, of course, a launcher. > > Same. Very beneficial regardless of whether or not you use auto > updating. Being able to keep the executable in the same directory as > my stack files so I can launch the app during development for testing > within a standalone is a huge benefit. One of the big time savers when > developing with Revolution. > > > This launcher retrieves information from an external splash stack > > and, among others, allows to set the label of the exe with the right > > version number. > > When you say label are you referring to the info that shows up in the > File Info dialog in Finder or Windows Explorer? Or something else? > > > A very simple text file on our server allows to compare > > automatically the user current version with the last one and alert > > him if needed. > > Same. > > > When an update is available, needed files are downloaded and the > > external splash screen is always replaced. > > In case of 'big' update, a process allows with an invisible > > installer to update all files, exe included and restart the software. > > Similar. > > > In addition, a check at every launch, verifies if all needed files > > are there and downloads missing ones from the internet if needed. > > I haven't done this as I haven't needed it for my own use. If you get > a moment I would be interested in hearing how you use this feature in > deployment and how often it gets used. > > > So, in a few words, we have to ways of updating: a light one when > > replacing a stack file or another one that replaces the whole app. > > Same. I think the only difference is that with my current approach, > light update replaces all files except the executable. A full update > replaces the executable as well. > > > PS. For security, all files on disk are ciphered and restored in RAM > > on-the-fly. > > Would you mind explaining this a little more when you have a moment? > > Regards, > > -- > Trevor DeVore > Blue Mango Learning Systems > www.bluemangolearning.com - www.screensteps.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Mon Feb 4 19:35:50 2008 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 4 Feb 2008 16:35:50 -0800 Subject: Arrays and empty? Is this a bug? References: <7aa52a210802041243s3fbcde98y1a32ae7d3942d420@mail.gmail.com> Message-ID: > "put the keys of tMyArray is empty" ^ not -- Mark Wieder mwieder at ahsoftware.net From chipp at chipp.com Mon Feb 4 22:35:46 2008 From: chipp at chipp.com (Chipp Walters) Date: Mon, 4 Feb 2008 21:35:46 -0600 Subject: Arrays and empty? Is this a bug? In-Reply-To: References: <7aa52a210802041243s3fbcde98y1a32ae7d3942d420@mail.gmail.com> Message-ID: <7aa52a210802041935w530814femb9e4992085acb548@mail.gmail.com> Thanks all for the help. I did go back and look at the previous discussion...sorry to have missed it. I thought about having to make array vars end in "[]" So, put tMyArray is empty can return true while put tMyArray[] is empty can return false then put tMyArray[] would return what??? back to square one. From chipp at chipp.com Tue Feb 5 00:56:35 2008 From: chipp at chipp.com (Chipp Walters) Date: Mon, 4 Feb 2008 23:56:35 -0600 Subject: Auto Updates [Was Re: External functions] In-Reply-To: <2745C25F-B91C-489E-B085-300B094A11C5@mangomultimedia.com> References: <15269013.post@talk.nabble.com> <78DC5A13-24D2-4945-BED2-41FD020B4046@mangomultimedia.com> <788A9A04-744F-4A43-973D-5ADF9DFB857D@sosmartsoftware.com> <8658766A-0AED-4E8F-A677-059CA283C546@mangomultimedia.com> <2745C25F-B91C-489E-B085-300B094A11C5@mangomultimedia.com> Message-ID: <7aa52a210802042156x31a9622bmebc708834043c79f@mail.gmail.com> Hi Trevor, As you probably know, I've been using my MagicCarpet auto-updating architecture for all Altuit's commercial apps as well as clients apps. It's been updated to also create portable apps as well, with the advantage they can be run from any drive and from any location. Here's how I break out the application architecture: 1) Splashscreen launcher app 2) Main stack 3) Plugin stacks (all other stacks) 4) Other files, externals and zip files The splashscreen app does only very few things. This is so that I can reuse this code for every project, without changing it-- and possibly introducing a bug. I have a configurator altPlugin which automates setting everything up. Then I use MagicCarpet to upload any changes to the Main stack or the plugin stacks. MagicCarpet takes care of automatically adding notes, updating version numbers of the stacks as well as the server version files. The Splashscreen app can be set to automatically check for updates, or a menu item can be added to the Main stack to do the same. The Splashscreen app ONLY checks for updates to itself (exe or bundle) and the Main stack. No other checks are created. I have a MagicCarpet library, which is typically a substack of the Main stack, and it is responsible for downloading all other stacks, files and even .zip files (which it can automatically unzip on both Mac and PC). This is also how external updates are downloaded as well. Each plugin stack has a version number associated with it (a hidden field) and an about screen displays ALL version numbers for all stacks and plugins. This is how I typically have users check version numbers, as it can also copy all the plugins/stacks/version numbers to the clipboard with a single click. Some apps, like ThoughtOffice have very interesting demands regarding versioning. Some plugins are auto-updated, others are purchased and only if registered are auto-updated. Some complex biz logic required, and a lot of hair pulling. I've found spending time building my own updating infrastructure has helped significantly in program development for a number of reasons. First, it's fast. Second, with over 30 apps already taking advantage of this architecture, it's very easy now for me to debug. Also, it's a dream come true for clients, as they can see an application develop in a realtime way, which works *MOST* of the time;-) And, I never have to worry about whether or not a standalone will build, as the Splashscreen is always the same code (different logo screen). HTH, Chipp From eric.chatonet at sosmartsoftware.com Tue Feb 5 03:02:19 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 5 Feb 2008 09:02:19 +0100 Subject: Auto Updates [Was Re: External functions] In-Reply-To: <2745C25F-B91C-489E-B085-300B094A11C5@mangomultimedia.com> References: <15269013.post@talk.nabble.com> <78DC5A13-24D2-4945-BED2-41FD020B4046@mangomultimedia.com> <788A9A04-744F-4A43-973D-5ADF9DFB857D@sosmartsoftware.com> <8658766A-0AED-4E8F-A677-059CA283C546@mangomultimedia.com> <2745C25F-B91C-489E-B085-300B094A11C5@mangomultimedia.com> Message-ID: <25AAB8AE-C52B-4079-BC36-0D6A3E5B9B0F@sosmartsoftware.com> Hi Trevor, Seems that we end with very similar solutions: it's reassuring :-) External splash stack, that is always replaced, is able to tell the 'general' version, which files are needed and the version for each of them: other stacks files, externals and additional files (multi- lingual localization file for instance). About the version info of the executable: actually it's set to 1.x or 2.x, etc. (a real x): not completely satisfying but not really worrying because the label in the title bar of the exe is set when launching according to the right value stored in the splash stack file. In addition a 'Check for updates' option relies on this. Setting the version info of the exe itself seems not really doable, at least on Vista... Virtualizing is really a pain... About auto-check: such a check is done at every launch of the exe and it is very fast if all goes well. The application needs many files (kept in sub folders: remember our thread about ssleay and libeay :-), registered activeX, etc. and depending on the crucial status or not of a file offers to download them on-the-fly from the Internet or enjoin the user to reinstall the software. All information about these files, I told it, is kept in the external splash stack. We made that because if a file is missing, the exe will not run as expected (or not at all) and we don't want to be categorized as bugs creators :-) Our logs show that using this feature is very rare actually. About security features: you'll understand that I don't give too much details about this on the list but I'm going to write you off list ;-) Le 5 f?vr. 08 ? 00:02, Trevor DeVore a ?crit : > On Feb 4, 2008, at 4:53 PM, Eric Chatonet wrote: > > Thanks for sharing Eric. Please see my questions below. > >> The app/exe itself is, of course, a launcher. > > Same. Very beneficial regardless of whether or not you use auto > updating. Being able to keep the executable in the same directory > as my stack files so I can launch the app during development for > testing within a standalone is a huge benefit. One of the big time > savers when developing with Revolution. > >> This launcher retrieves information from an external splash stack >> and, among others, allows to set the label of the exe with the >> right version number. > > When you say label are you referring to the info that shows up in > the File Info dialog in Finder or Windows Explorer? Or something else? > >> A very simple text file on our server allows to compare >> automatically the user current version with the last one and alert >> him if needed. > > Same. > >> When an update is available, needed files are downloaded and the >> external splash screen is always replaced. >> In case of 'big' update, a process allows with an invisible >> installer to update all files, exe included and restart the software. > > Similar. > >> In addition, a check at every launch, verifies if all needed files >> are there and downloads missing ones from the internet if needed. > > I haven't done this as I haven't needed it for my own use. If you > get a moment I would be interested in hearing how you use this > feature in deployment and how often it gets used. > >> So, in a few words, we have to ways of updating: a light one when >> replacing a stack file or another one that replaces the whole app. > > Same. I think the only difference is that with my current approach, > light update replaces all files except the executable. A full > update replaces the executable as well. > >> PS. For security, all files on disk are ciphered and restored in >> RAM on-the-fly. > > Would you mind explaining this a little more when you have a moment? > > Regards, > > -- > Trevor DeVore > Blue Mango Learning Systems > www.bluemangolearning.com - www.screensteps.com Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From jmyepes at mac.com Tue Feb 5 03:58:18 2008 From: jmyepes at mac.com (Josep) Date: Tue, 5 Feb 2008 00:58:18 -0800 (PST) Subject: External functions In-Reply-To: <788A9A04-744F-4A43-973D-5ADF9DFB857D@sosmartsoftware.com> References: <15269013.post@talk.nabble.com> <78DC5A13-24D2-4945-BED2-41FD020B4046@mangomultimedia.com> <788A9A04-744F-4A43-973D-5ADF9DFB857D@sosmartsoftware.com> Message-ID: <15285853.post@talk.nabble.com> Hi, I'm testing to start using s_lib_databases.rev as librery but any stack find any handler located into it. on preopenstack start using stack "/Users/Joss/documents/iwebcart/s_lib_basedades.rev" end preopenstack Why? :( Cheers, Josep -- View this message in context: http://www.nabble.com/External-functions-tp15269013p15285853.html Sent from the Revolution - User mailing list archive at Nabble.com. From wow at together.net Tue Feb 5 04:06:16 2008 From: wow at together.net (Richard Miller) Date: Tue, 5 Feb 2008 04:06:16 -0500 Subject: Finding a specific Windows volume In-Reply-To: <47A764D9.5080608@dreamscapesoftware.com> References: <20080202023859.TFCO10098.atlmtaow01.cingularme.com@Inbox> <924B2724-E34E-41E8-A27E-3A819DBDBB4F@rcn.com> <1BDD29AB-6B9F-46B9-8D6D-D2D3F09DBFEF@together.net> <47A764D9.5080608@dreamscapesoftware.com> Message-ID: Derek, Thanks for this function. It did the trick. Best regards, Richard Miller On Feb 4, 2008, at 2:17 PM, Derek Bump wrote: > Richard, > > It sounds to me like you are running into the same basic problems > that another user was a while back. I posted the following > solution which avoids the errors with locating files on Windows > while avoiding disk errors and system dialogs... > > -- Snip -- > > My solution to the same problem is to check for a volume serial > number first, then if there is one, check for the file I'm looking > for. You can do this with the following function... > > function GetVolumeSN pDiskLetter > local volumeSerialNumber > -- Supports both "C", "C:" and "C:\" styles > put char 1 of pDiskLetter & ":" into pDisk > set the hideConsoleWindows to true > put shell("dir " & pDisk) into tDirData > get matchText(tDirData,"Volume Serial Number is (.*) > \n",volumeSerialNumber) > if it is true then > return volumeSerialNumber > else > return empty > end if > end GetVolumeSN > > If the function returns a Serial Number, I know a disk is located > at that drive letter. I then do my "if there is a file..." stuff. > If the function returns nothing (empty) then I know there is no > disk in the drive and I don't check it. > > This seems to avoid the whole "no disc" error in Windows XP SP2. I > don't know about other versions... you'll have to test it out. > > -- End Snip -- > > This function was confirmed to work on Vista. But unless you can > specify what errors you are getting, there's not much else I can > suggest. Hope that helps. > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com > > ___________________________________________________________________ > Compress your photos quickly and easily with JPEGCompress 2.9! > http://www.dreamscapesoftware.com/products/jpegcompress/ > > > Richard Miller wrote: >> I'm looking for suggestions on how to find out if a specific USB >> camcorder is attached to a users computer (Windows only), and if >> it is, which volume identifies it. If the camcorder is attached, >> there will be a specific directory on it which I can use to help >> identify it. >> Let's say I am looking for a folder called "DCIM" on an attached >> USB drive. Doing this on Windows Vista causes all kinds of problems. >> repeat with i = number of lines of the volumes down to 1 >> if there is a folder (line i of the volumes & "/DCIM) then >> put true into foundit >> exit repeat >> end if >> end repeat >> I'm looking for a better solution. >> Thanks. >> Richard Miller >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jmyepes at mac.com Tue Feb 5 04:12:53 2008 From: jmyepes at mac.com (Josep) Date: Tue, 5 Feb 2008 01:12:53 -0800 (PST) Subject: Cols and rows in field Message-ID: <15286022.post@talk.nabble.com> Hi, Inmersed into revolution I have more questions... I'm using fields with TabStop to show tabular data from a database. It's only a list of all the products that exist in the database, these list have 3 cols. Code + Name + Price Frist problem, if the name have more o less length the col num 3 is moved and break the cols. I need that all the cols have a fixed length independent of her length, cutting letters if is necesary. Second problem, I select more cols from the database that I don't show in the list, but I need if I like to update the product details later. I need the primary key col but I don't want to show it. PK + Code + Name + LongDescription + Price + NewProduct 6 cols but only want show the 2on, 3th, 5th and 6th, but I need accesible the 1st. And the 6th col must be translated to a minicon depending fo the value. Like star if is a new product, a brown box if a updated product, etc.. the same for other fields in the database if are needed. The question is how is better organize this and how is better do the change for the data for the html code to represent the graphical icons. Any code sample are wellcome.:working: uff... I hope my english will be clever :) Cheers, Josep -- View this message in context: http://www.nabble.com/Cols-and-rows-in-field-tp15286022p15286022.html Sent from the Revolution - User mailing list archive at Nabble.com. From eric.chatonet at sosmartsoftware.com Tue Feb 5 04:27:35 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 5 Feb 2008 10:27:35 +0100 Subject: Cols and rows in field In-Reply-To: <15286022.post@talk.nabble.com> References: <15286022.post@talk.nabble.com> Message-ID: Hi Josep, Replace empty columns with a space to give all of them a 'real' value. Your PK should be the last column and the width of your field calculated to not show this last column. To show an icon, you have two ways: Or you build html on the fly using (set the htmlText of fld "Table" to tHtmlText) or you set the imageSource of the chars you want to 'xxxx' (put tText into fld "Table" then use a repeat loop to set the correct imageSource). Short answer but hope this helps :-) Le 5 f?vr. 08 ? 10:12, Josep a ?crit : > Hi, > > Inmersed into revolution I have more questions... > > I'm using fields with TabStop to show tabular data from a database. > It's > only a list of all the products that exist in the database, these > list have > 3 cols. > > Code + Name + Price > > Frist problem, if the name have more o less length the col num 3 is > moved > and break the cols. I need that all the cols have a fixed length > independent > of her length, cutting letters if is necesary. > > Second problem, I select more cols from the database that I don't > show in > the list, but I need if I like to update the product details later. > I need > the primary key col but I don't want to show it. > > PK + Code + Name + LongDescription + Price + NewProduct > > 6 cols but only want show the 2on, 3th, 5th and 6th, but I need > accesible > the 1st. > > And the 6th col must be translated to a minicon depending fo the > value. Like > star if is a new product, a brown box if a updated product, etc.. > the same > for other fields in the database if are needed. > > The question is how is better organize this and how is better do > the change > for the data for the html code to represent the graphical icons. > > Any code sample are wellcome.:working: > > uff... I hope my english will be clever :) > > Cheers, > Josep Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From toolbook at kestner.de Tue Feb 5 05:21:29 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 5 Feb 2008 11:21:29 +0100 Subject: db encryption and multiuser question Message-ID: <001801c867e0$dfae0c80$18b2a8c0@TiemoPC2> Hello, beeing completely new to database programming I made some tests with sqlite with success. Following some threads there are two advanced questions left for me: 1. I have read a few times that you can't / should not use sqlite for a multiuser environment, instead you should take a "bigger" db as valentine. My question is, are there any hard facts to not use sqlite in a multi user environment? What would happen if my customers would read my db with multiple users - just a little slow down or wouldn't it work at all? Does this point affect only if you have write statements on the db or also if you only have a read db? 2. What about encryption (just read Victoras answer). I don't have any secret or privat datas in my db, but would not want anybody to dump and restore my datas out of my db, because of know-how protection. When opening my db with a text editor, I can see the content as clear text, either in Hex mode in the right colum, or in not Hex mode in lines "between" other crypted datas. But I don't get the structure of the datas and there are many "crypted" characters between the clear data, so that I couldn't "dump" the data out of my db with any sence and structure. My question: Is this because I am not a db specialist and for any advanced "specialist" it wouldn't be any problem to get my datas out of my db with structure and "sence" and everybody should encrypt his data to avoid dumping or is it really "only" a question of securing private datas? Thanks for sharing your experience Tiemo From eric.chatonet at sosmartsoftware.com Tue Feb 5 05:30:13 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 5 Feb 2008 11:30:13 +0100 Subject: db encryption and multiuser question In-Reply-To: <001801c867e0$dfae0c80$18b2a8c0@TiemoPC2> References: <001801c867e0$dfae0c80$18b2a8c0@TiemoPC2> Message-ID: <0E86B586-9731-4408-82D6-9A8AACF6D248@sosmartsoftware.com> Hi Tiemo, We use SQLite for multi-users purposes without any problem. As there are db editors all over the place, your data are not at all protected unless you encrypt them. The problem comes with current Rev SQLite: I don't know if this has been solved but encrypted data are binaries and we have been obliged to ask Chris Bonhert from Altuit (they released SQLite before it was purchased by Runrev) to write for us a specific version of SQLite corrected. Le 5 f?vr. 08 ? 11:21, Tiemo Hollmann TB a ?crit : > Hello, > > beeing completely new to database programming I made some tests > with sqlite > with success. Following some threads there are two advanced > questions left > for me: > > 1. I have read a few times that you can't / should not use sqlite > for a > multiuser environment, instead you should take a "bigger" db as > valentine. > My question is, are there any hard facts to not use sqlite in a > multi user > environment? What would happen if my customers would read my db with > multiple users - just a little slow down or wouldn't it work at > all? Does > this point affect only if you have write statements on the db or > also if you > only have a read db? > > 2. What about encryption (just read Victoras answer). I don't have any > secret or privat datas in my db, but would not want anybody to dump > and > restore my datas out of my db, because of know-how protection. When > opening > my db with a text editor, I can see the content as clear text, > either in Hex > mode in the right colum, or in not Hex mode in lines "between" > other crypted > datas. But I don't get the structure of the datas and there are many > "crypted" characters between the clear data, so that I couldn't > "dump" the > data out of my db with any sence and structure. My question: Is > this because > I am not a db specialist and for any advanced "specialist" it > wouldn't be > any problem to get my datas out of my db with structure and "sence" > and > everybody should encrypt his data to avoid dumping or is it really > "only" a > question of securing private datas? > > Thanks for sharing your experience > > Tiemo Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From sarah.reichelt at gmail.com Tue Feb 5 05:48:23 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 5 Feb 2008 20:48:23 +1000 Subject: External functions In-Reply-To: <15285853.post@talk.nabble.com> References: <15269013.post@talk.nabble.com> <78DC5A13-24D2-4945-BED2-41FD020B4046@mangomultimedia.com> <788A9A04-744F-4A43-973D-5ADF9DFB857D@sosmartsoftware.com> <15285853.post@talk.nabble.com> Message-ID: > I'm testing to start using s_lib_databases.rev as librery but any stack find > any handler located into it. > > on preopenstack > start using stack "/Users/Joss/documents/iwebcart/s_lib_basedades.rev" > > end preopenstack > That's the way any library is supposed to work - all stacks will use the handlers in it. If your library stack needs anything that should only be used by it, then put those handlers in the card script for the first card of that stack. Sarah From sarah.reichelt at gmail.com Tue Feb 5 05:50:33 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 5 Feb 2008 20:50:33 +1000 Subject: Cols and rows in field In-Reply-To: <15286022.post@talk.nabble.com> References: <15286022.post@talk.nabble.com> Message-ID: > I'm using fields with TabStop to show tabular data from a database. It's > only a list of all the products that exist in the database, these list have > 3 cols. > > Code + Name + Price > > Frist problem, if the name have more o less length the col num 3 is moved > and break the cols. I need that all the cols have a fixed length independent > of her length, cutting letters if is necesary. If you turn on the vGrid (show the vertical lines in the field), the columns will get truncated to fit. Cheers, Sarah From toolbook at kestner.de Tue Feb 5 05:56:29 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 5 Feb 2008 11:56:29 +0100 Subject: AW: db encryption and multiuser question In-Reply-To: <0E86B586-9731-4408-82D6-9A8AACF6D248@sosmartsoftware.com> Message-ID: <001d01c867e5$c37f9830$18b2a8c0@TiemoPC2> Hi Eric, first answer is good to hear :) what do you mean with "it had to be written a specific version of SQLite"? - that I couldn't use an encryption tool like Viktoras advised (http://www.sqlite-crypt.com/)? Do you have a name or link to a freeware db editor, so that I could get an idea, what others could do with my db? Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Eric Chatonet > Gesendet: Dienstag, 5. Februar 2008 11:30 > An: How to use Revolution > Betreff: Re: db encryption and multiuser question > > Hi Tiemo, > > We use SQLite for multi-users purposes without any problem. > As there are db editors all over the place, your data are not at all > protected unless you encrypt them. > The problem comes with current Rev SQLite: I don't know if this has > been solved but encrypted data are binaries and we have been obliged > to ask Chris Bonhert from Altuit (they released SQLite before it was > purchased by Runrev) to write for us a specific version of SQLite > corrected. > > Le 5 f?vr. 08 ? 11:21, Tiemo Hollmann TB a ?crit : From jmyepes at mac.com Tue Feb 5 06:08:30 2008 From: jmyepes at mac.com (Josep) Date: Tue, 5 Feb 2008 03:08:30 -0800 (PST) Subject: Cols and rows in field In-Reply-To: References: <15286022.post@talk.nabble.com> Message-ID: <15287910.post@talk.nabble.com> Hi Eric, I will try on the fly build using it. About to use a space to give a real value to empty columns if correct but the question is for columns that have data but not showing correctly into the cols. When I get some value that have less lenght that others in the same col the followings cols are moved to left. How can solve this? Cheers, Josep M -- View this message in context: http://www.nabble.com/Cols-and-rows-in-field-tp15286022p15287910.html Sent from the Revolution - User mailing list archive at Nabble.com. From eric.chatonet at sosmartsoftware.com Tue Feb 5 06:24:39 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 5 Feb 2008 12:24:39 +0100 Subject: AW: db encryption and multiuser question In-Reply-To: <001d01c867e5$c37f9830$18b2a8c0@TiemoPC2> References: <001d01c867e5$c37f9830$18b2a8c0@TiemoPC2> Message-ID: <14D8AEFF-F902-458A-9362-EF7EFAF37D02@sosmartsoftware.com> Hi Tiemo, Search for "Database Editor" using a search engine: you'll find many for any platform. Some are free and others offer a trial that will allow you to test. The problem is not with encryption itself but the way Rev SQLite does not handle binaries as expected (blob problem). As we have a special version that handles them correctly I can't tell you if Rev one has been corrected lately: Probably others on this list are able to inform you about this :-) Le 5 f?vr. 08 ? 11:56, Tiemo Hollmann TB a ?crit : > Hi Eric, > first answer is good to hear :) > what do you mean with "it had to be written a specific version of > SQLite"? - > that I couldn't use an encryption tool like Viktoras advised > (http://www.sqlite-crypt.com/)? > Do you have a name or link to a freeware db editor, so that I could > get an > idea, what others could do with my db? > Thanks > Tiemo > >> -----Urspr?ngliche Nachricht----- >> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >> bounces at lists.runrev.com] Im Auftrag von Eric Chatonet >> Gesendet: Dienstag, 5. Februar 2008 11:30 >> An: How to use Revolution >> Betreff: Re: db encryption and multiuser question >> >> Hi Tiemo, >> >> We use SQLite for multi-users purposes without any problem. >> As there are db editors all over the place, your data are not at all >> protected unless you encrypt them. >> The problem comes with current Rev SQLite: I don't know if this has >> been solved but encrypted data are binaries and we have been obliged >> to ask Chris Bonhert from Altuit (they released SQLite before it was >> purchased by Runrev) to write for us a specific version of SQLite >> corrected. >> >> Le 5 f?vr. 08 ? 11:21, Tiemo Hollmann TB a ?crit : Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From eric.chatonet at sosmartsoftware.com Tue Feb 5 06:28:48 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 5 Feb 2008 12:28:48 +0100 Subject: Cols and rows in field In-Reply-To: <15287910.post@talk.nabble.com> References: <15286022.post@talk.nabble.com> <15287910.post@talk.nabble.com> Message-ID: Hi Josep, I think that Sarah answered your problem yet. As for building html, "How to Create and Manage HTML lists on the fly" tutorial might help you: How to build on the fly a graphical list of values with HTML, to display it into a list field and some additional tricks to hide and fetch the right information. You will access this tutorial through "Tutorials Picker" a free plugin that interfaces with the So Smart Software website in order to display all available tutorials stacks directly from the web. You will find it by going to http://www.sosmartsoftware.com/. Revolution/Plugins or Tutorials section. Le 5 f?vr. 08 ? 12:08, Josep a ?crit : > I will try on the fly build using it. About to use a space to give > a real > value to empty columns if correct but the question is for columns > that have > data but not showing correctly into the cols. When I get some value > that > have less lenght that others in the same col the followings cols > are moved > to left. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From toolbook at kestner.de Tue Feb 5 06:36:20 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 5 Feb 2008 12:36:20 +0100 Subject: AW: AW: db encryption and multiuser question In-Reply-To: <14D8AEFF-F902-458A-9362-EF7EFAF37D02@sosmartsoftware.com> Message-ID: <002101c867eb$54b60690$18b2a8c0@TiemoPC2> Thanks for the info Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Eric Chatonet > Gesendet: Dienstag, 5. Februar 2008 12:25 > An: How to use Revolution > Betreff: Re: AW: db encryption and multiuser question > > Hi Tiemo, > > Search for "Database Editor" using a search engine: you'll find many > for any platform. > Some are free and others offer a trial that will allow you to test. > The problem is not with encryption itself but the way Rev SQLite does > not handle binaries as expected (blob problem). > As we have a special version that handles them correctly I can't tell > you if Rev one has been corrected lately: > Probably others on this list are able to inform you about this :-) > > Le 5 f?vr. 08 ? 11:56, Tiemo Hollmann TB a ?crit : From palcibiades-first at yahoo.co.uk Tue Feb 5 08:44:40 2008 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Tue, 5 Feb 2008 13:44:40 +0000 Subject: AW: db encryption and multiuser question Message-ID: <200802051344.40803.palcibiades-first@yahoo.co.uk> Three open source sqlite editors: sqlite manager (firefox plugin - the best) tksqlite sqlitebrowser Peter From lists at mangomultimedia.com Tue Feb 5 09:29:54 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 5 Feb 2008 09:29:54 -0500 Subject: Auto Updates [Was Re: External functions] In-Reply-To: <7aa52a210802042156x31a9622bmebc708834043c79f@mail.gmail.com> References: <15269013.post@talk.nabble.com> <78DC5A13-24D2-4945-BED2-41FD020B4046@mangomultimedia.com> <788A9A04-744F-4A43-973D-5ADF9DFB857D@sosmartsoftware.com> <8658766A-0AED-4E8F-A677-059CA283C546@mangomultimedia.com> <2745C25F-B91C-489E-B085-300B094A11C5@mangomultimedia.com> <7aa52a210802042156x31a9622bmebc708834043c79f@mail.gmail.com> Message-ID: <3132E086-C185-47FE-8B08-F5EBD45FB44F@mangomultimedia.com> On Feb 5, 2008, at 12:56 AM, Chipp Walters wrote: > Hi Trevor, > > As you probably know, I've been using my MagicCarpet auto-updating > architecture for all Altuit's commercial apps as well as clients apps. Yes, your excellent work on this was a great help when I first ventured down this road. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From FlexibleLearning at aol.com Tue Feb 5 09:39:40 2008 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Tue, 5 Feb 2008 09:39:40 EST Subject: Finding a specific Windows volume Message-ID: Try modifying this, Richard, passing each line of "the volumes" as pDiskLette r in a repeat loop... function GetVolumeSN pDiskLetter local volumeSerialNumber --| Supports both "C", "C:" and "C:\" styles put char 1 of pDiskLetter & ":" into pDisk set the hideConsoleWindows to true put shell("dir " & pDisk) into tDirData get matchText(tDirData,"Volume Serial Number is (.*)\n",volumeSerialNumber) if it is true then # add a check for the DCIM directory if you wish return volumeSerialNumber else return "No Disk" # Unmounted volume end GetVolumeSN /H >I'm looking for suggestions on how to find out if a specific USB >camcorder is attached to a users computer (Windows only), and if it >is, which volume identifies it. If the camcorder is attached, there >will be a specific directory on it which I can use to help identify it. From lists at mangomultimedia.com Tue Feb 5 09:40:05 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 5 Feb 2008 09:40:05 -0500 Subject: Auto Updates [Was Re: External functions] In-Reply-To: <25AAB8AE-C52B-4079-BC36-0D6A3E5B9B0F@sosmartsoftware.com> References: <15269013.post@talk.nabble.com> <78DC5A13-24D2-4945-BED2-41FD020B4046@mangomultimedia.com> <788A9A04-744F-4A43-973D-5ADF9DFB857D@sosmartsoftware.com> <8658766A-0AED-4E8F-A677-059CA283C546@mangomultimedia.com> <2745C25F-B91C-489E-B085-300B094A11C5@mangomultimedia.com> <25AAB8AE-C52B-4079-BC36-0D6A3E5B9B0F@sosmartsoftware.com> Message-ID: On Feb 5, 2008, at 3:02 AM, Eric Chatonet wrote: > ... Thanks for the additional info Eric. > Setting the version info of the exe itself seems not really doable, > at least on Vista... Virtualizing is really a pain... You can get around this if you perform all changes from a command line executable that has obtained elevated privileges. This is how I'm installing updates at the moment and virtualization doesn't seem to come into play here since you can alter files with full rights. So figuring out how to tweak the version number in the exe is probably doable. I may just settle on the full update every time for public releases though. There are less decisions to make and code to write this way. Still deciding. > About auto-check: such a check is done at every launch of the exe > and it is very fast if all goes well. The application needs many > files (kept in sub folders: remember our thread about ssleay and > libeay :-), registered activeX, etc. and depending on the crucial > status or not of a file offers to download them on-the-fly from the > Internet or enjoin the user to reinstall the software. > All information about these files, I told it, is kept in the > external splash stack. > We made that because if a file is missing, the exe will not run as > expected (or not at all) and we don't want to be categorized as bugs > creators :-) > Our logs show that using this feature is very rare actually. Good to know. > About security features: you'll understand that I don't give too > much details about this on the list but I'm going to write you off > list ;-) Mais oui. Thanks, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From lists at mangomultimedia.com Tue Feb 5 10:02:07 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 5 Feb 2008 10:02:07 -0500 Subject: Auto Updates [Was Re: External functions] In-Reply-To: <325413300802041508m67e0f67fr7d5309c8bf4b1109@mail.gmail.com> References: <15269013.post@talk.nabble.com> <78DC5A13-24D2-4945-BED2-41FD020B4046@mangomultimedia.com> <788A9A04-744F-4A43-973D-5ADF9DFB857D@sosmartsoftware.com> <8658766A-0AED-4E8F-A677-059CA283C546@mangomultimedia.com> <2745C25F-B91C-489E-B085-300B094A11C5@mangomultimedia.com> <325413300802041508m67e0f67fr7d5309c8bf4b1109@mail.gmail.com> Message-ID: <35E65BED-DFA5-4114-B460-34466A5A64F9@mangomultimedia.com> On Feb 4, 2008, at 6:08 PM, Neal Campbell wrote: > Has anyone looked into writing an external for Sparkle for OS X? I > have used it with other languages and its pretty slick, albeit OS X > only. Hi Neal, I looked at Sparkle a number of months ago while doing some work on auto updating. It seems to be a great solution as lots of OS X developers are using it. I'm not sure that wrapping up Sparkle in an external is the ideal approach though since Revolution is cross- platform. As I understand it, Sparkle basically: * Provides a call that will check for updates. * If an update exists the dmg, zip, etc. of the .app is downloaded, the app quits, the update is installed and the app is relaunched. The components to do the same thing in Rev (probably) exist in each of the auto updaters that some of us are using individually. We just need a generalized solution that can plug into any application. The fact that OS X uses application bundles for applications is beneficial here since Sparkle can completely wipe out the app and replace it, never worrying if some user file is being erased. On Windows the application folder is not as protected and I know I have customers that have stored files in my application's folder before. Even if people shouldn't store files in an application folder it is probably bad if their files disappear because they updated your application. If this concern is to be taken into account when providing a general auto updater then you need to decide if the auto updater tries to keep the application folder contents in sync. It is easy enough to install updated files each time and even add additional files to the installation folder. It is more difficult if you wanted to remove files during an update (i.e. you moved all stacks in stack file B into stack file A and no longer need stack file B). I imagine this is pretty rare during minor updates of a major version and having a file that isn't being used in the application folder probably wouldn't be the end of the world. Can anyone think of a reason why it would be bad? Is the reason bad enough that the auto updater should be able to wipe out files that are no longer needed? I'm asking these questions because the lack of tools in Revolution for providing basic functionality that almost all applications need (or that users expect) is something Jerry and I have discussed quite a bit. I think that for Revolution to truly deliver on the promise of rapid application development a true end-to-end solution needs to be available. Revolution is great for laying out your GUI and coding your application. As you have to make decisions about how to organize your application files on disk it can be confusing the first few times around. When you add your first library it can be confusing as to where to put it and how to initialize it. Determining where to store preferences on each OS can be time consuming. There are lots of little decisions like this that Revolution developers are making again and again until they come up with a formalized method. Our time could be better spent and we are looking at ways to improve the situation. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From toolbook at kestner.de Tue Feb 5 10:05:17 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 5 Feb 2008 16:05:17 +0100 Subject: AW: db encryption and multiuser question In-Reply-To: <200802051344.40803.palcibiades-first@yahoo.co.uk> Message-ID: <000001c86808$86b6c090$18b2a8c0@TiemoPC2> Thanks Peter, I'll give them a try Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Peter Alcibiades > Gesendet: Dienstag, 5. Februar 2008 14:45 > An: How to use Revolution > Betreff: AW: db encryption and multiuser question > > Three open source sqlite editors: > > sqlite manager (firefox plugin - the best) > > tksqlite > > sqlitebrowser > > Peter > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Tue Feb 5 10:10:27 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 5 Feb 2008 10:10:27 -0500 Subject: db encryption and multiuser question In-Reply-To: <001801c867e0$dfae0c80$18b2a8c0@TiemoPC2> References: <001801c867e0$dfae0c80$18b2a8c0@TiemoPC2> Message-ID: <0BF865D4-95A2-471A-8A06-AA1F9515A93D@mangomultimedia.com> On Feb 5, 2008, at 5:21 AM, Tiemo Hollmann TB wrote: > 1. I have read a few times that you can't / should not use sqlite > for a > multiuser environment, instead you should take a "bigger" db as > valentine. > My question is, are there any hard facts to not use sqlite in a > multi user > environment? What would happen if my customers would read my db with > multiple users - just a little slow down or wouldn't it work at all? > Does > this point affect only if you have write statements on the db or > also if you > only have a read db? Scroll down to "Situations Where Another RDBMS May Work Better" and look at "Client/Server Applications". If you have many users trying to write to the database file then you should probably look for a different solution. Multiple reads won't corrupt your database though. > 2. What about encryption (just read Victoras answer). ... My > question: Is this because > I am not a db specialist and for any advanced "specialist" it > wouldn't be > any problem to get my datas out of my db with structure and "sence" > and > everybody should encrypt his data to avoid dumping or is it really > "only" a > question of securing private datas? As Eric said your data is not safe as anyone could open the database and take a peak or perform a dump of the data. You can encrypt the data in Rev before storing in the database and then decrypt it when pulling the data out but be aware that you lose the ability to perform searches on that data using SQL. I believe encryption at the database level is really needed if you want to search the data. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From mark at maseurope.net Tue Feb 5 10:23:21 2008 From: mark at maseurope.net (Mark Smith) Date: Tue, 5 Feb 2008 15:23:21 +0000 Subject: db encryption and multiuser question In-Reply-To: <0BF865D4-95A2-471A-8A06-AA1F9515A93D@mangomultimedia.com> References: <001801c867e0$dfae0c80$18b2a8c0@TiemoPC2> <0BF865D4-95A2-471A-8A06-AA1F9515A93D@mangomultimedia.com> Message-ID: Would that be true if you encrypted the search terms the same way you encrypted the data? Best, Mark On 5 Feb 2008, at 15:10, Trevor DeVore wrote: > You can encrypt the data in Rev before storing in the database and > then decrypt it when pulling the data out but be aware that you > lose the ability to perform searches on that data using SQL From toolbook at kestner.de Tue Feb 5 10:35:13 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 5 Feb 2008 16:35:13 +0100 Subject: AW: db encryption and multiuser question In-Reply-To: <0BF865D4-95A2-471A-8A06-AA1F9515A93D@mangomultimedia.com> Message-ID: <000101c8680c$b4248e50$18b2a8c0@TiemoPC2> Hi Trevor, yes, I have to do search and filter sqls on the datas, so there would only be the external encryption, but I don't know yet, if I could use one of the tools, like sqlite-crypt, or as Eric was pointing, Rev still has do some work on sqlite, before you could use encryption. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Trevor DeVore > Gesendet: Dienstag, 5. Februar 2008 16:10 > An: How to use Revolution > Betreff: Re: db encryption and multiuser question > > On Feb 5, 2008, at 5:21 AM, Tiemo Hollmann TB wrote: > > > 1. I have read a few times that you can't / should not use sqlite > > for a > > multiuser environment, instead you should take a "bigger" db as > > valentine. > > My question is, are there any hard facts to not use sqlite in a > > multi user > > environment? What would happen if my customers would read my db with > > multiple users - just a little slow down or wouldn't it work at all? > > Does > > this point affect only if you have write statements on the db or > > also if you > > only have a read db? > > > > Scroll down to "Situations Where Another RDBMS May Work Better" and > look at "Client/Server Applications". If you have many users trying to > write to the database file then you should probably look for a > different solution. Multiple reads won't corrupt your database though. > > > 2. What about encryption (just read Victoras answer). ... My > > question: Is this because > > I am not a db specialist and for any advanced "specialist" it > > wouldn't be > > any problem to get my datas out of my db with structure and "sence" > > and > > everybody should encrypt his data to avoid dumping or is it really > > "only" a > > question of securing private datas? > > As Eric said your data is not safe as anyone could open the database > and take a peak or perform a dump of the data. You can encrypt the > data in Rev before storing in the database and then decrypt it when > pulling the data out but be aware that you lose the ability to perform > searches on that data using SQL. I believe encryption at the database > level is really needed if you want to search the data. > > Regards, > > -- > Trevor DeVore > Blue Mango Learning Systems > www.bluemangolearning.com - www.screensteps.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lfredricks at proactive-intl.com Tue Feb 5 10:44:41 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 5 Feb 2008 07:44:41 -0800 Subject: db encryption and multiuser question In-Reply-To: <0BF865D4-95A2-471A-8A06-AA1F9515A93D@mangomultimedia.com> References: <001801c867e0$dfae0c80$18b2a8c0@TiemoPC2> <0BF865D4-95A2-471A-8A06-AA1F9515A93D@mangomultimedia.com> Message-ID: <02b301c8680e$065cb930$6501a8c0@GATEWAY> > > > Scroll down to "Situations Where Another RDBMS May Work > Better" and look at "Client/Server Applications". If you have > many users trying to write to the database file then you > should probably look for a different solution. Multiple reads > won't corrupt your database though. Obviously I have some other thoughts in mind when it comes to SQLite, but, it was never designed to be a multi-user database. There is a lot going under the hood of a database engine to support multiple users. > > 2. What about encryption (just read Victoras answer). ... My > > question: Is this because > > I am not a db specialist and for any advanced "specialist" > it wouldn't > > be any problem to get my datas out of my db with structure > and "sence" > > and > > everybody should encrypt his data to avoid dumping or is it really > > "only" a question of securing private datas? > > As Eric said your data is not safe as anyone could open the > database and take a peak or perform a dump of the data. You > can encrypt the data in Rev before storing in the database > and then decrypt it when pulling the data out but be aware > that you lose the ability to perform searches on that data > using SQL. I believe encryption at the database level is > really needed if you want to search the data. Its with the encryption part that I believe Dr Hipp has found his way to pay his bills. Since it is the freeist sort of open source (public domain), its not like its impossible to create your own encryption system either if you are able. Although we do see SQLite as a sort of competitor, its refreshing that Dr Hipp doesn't try to promote its use for every possible database solution. There are many types of database applications that handle small amounts of data and are local that, you wouldn't necessarily see the advantage of ANY one system over the other, because the time/security considerations are so narrow. If you shaved an additional 11% off of one .02 second operation on your local computer, who's going to notice, right? :-) Now if its working with 2 million records and that 11% is shaved off of each interaction with the record, that's where you see the difference. The database market is extemely mature; the upside is that it allows the development of special systems that can deliver specific features/performance in specific databases that will meet your needs rather than just being stuck with just 1-2 players that YOU have to adapt to. Imagine cross-platform development if the ONLY solution was Java ;-) Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From luis at anachreon.co.uk Tue Feb 5 11:16:11 2008 From: luis at anachreon.co.uk (Luis) Date: Tue, 5 Feb 2008 16:16:11 +0000 Subject: AW: db encryption and multiuser question In-Reply-To: <000101c8680c$b4248e50$18b2a8c0@TiemoPC2> References: <000101c8680c$b4248e50$18b2a8c0@TiemoPC2> Message-ID: Hiya, You could opt for www.firebirdsql.org It has both server and local versions available, you can backup and manage the updates with your own app, instead of waiting for the updated Rev version. Regarding security/encryption: http://www.firebirdsql.org/manual/qsg2-config.html#qsg2-config-security http://www.firebirdsql.org/manual/fbmetasecur-solution.html Other than that it depends on your app: If the communication is a security issue and it's a company database you could consider a VPN. If the client base is wider then possibly connecting to the database though SSL. Cheers, Luis. On 5 Feb 2008, at 15:35, Tiemo Hollmann TB wrote: > Hi Trevor, > yes, I have to do search and filter sqls on the datas, so there > would only > be the external encryption, but I don't know yet, if I could use > one of the > tools, like sqlite-crypt, or as Eric was pointing, Rev still has do > some > work on sqlite, before you could use encryption. > Tiemo > >> -----Urspr?ngliche Nachricht----- >> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >> bounces at lists.runrev.com] Im Auftrag von Trevor DeVore >> Gesendet: Dienstag, 5. Februar 2008 16:10 >> An: How to use Revolution >> Betreff: Re: db encryption and multiuser question >> >> On Feb 5, 2008, at 5:21 AM, Tiemo Hollmann TB wrote: >> >>> 1. I have read a few times that you can't / should not use sqlite >>> for a >>> multiuser environment, instead you should take a "bigger" db as >>> valentine. >>> My question is, are there any hard facts to not use sqlite in a >>> multi user >>> environment? What would happen if my customers would read my db with >>> multiple users - just a little slow down or wouldn't it work at all? >>> Does >>> this point affect only if you have write statements on the db or >>> also if you >>> only have a read db? >> >> >> >> Scroll down to "Situations Where Another RDBMS May Work Better" and >> look at "Client/Server Applications". If you have many users >> trying to >> write to the database file then you should probably look for a >> different solution. Multiple reads won't corrupt your database >> though. >> >>> 2. What about encryption (just read Victoras answer). ... My >>> question: Is this because >>> I am not a db specialist and for any advanced "specialist" it >>> wouldn't be >>> any problem to get my datas out of my db with structure and "sence" >>> and >>> everybody should encrypt his data to avoid dumping or is it really >>> "only" a >>> question of securing private datas? >> >> As Eric said your data is not safe as anyone could open the database >> and take a peak or perform a dump of the data. You can encrypt the >> data in Rev before storing in the database and then decrypt it when >> pulling the data out but be aware that you lose the ability to >> perform >> searches on that data using SQL. I believe encryption at the database >> level is really needed if you want to search the data. >> >> Regards, >> >> -- >> Trevor DeVore >> Blue Mango Learning Systems >> www.bluemangolearning.com - www.screensteps.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lists at mangomultimedia.com Tue Feb 5 12:11:30 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 5 Feb 2008 12:11:30 -0500 Subject: db encryption and multiuser question In-Reply-To: References: <001801c867e0$dfae0c80$18b2a8c0@TiemoPC2> <0BF865D4-95A2-471A-8A06-AA1F9515A93D@mangomultimedia.com> Message-ID: <7F1F8BFF-3B5D-4B09-A2A8-92BA5521FD34@mangomultimedia.com> On Feb 5, 2008, at 10:23 AM, Mark Smith wrote: > Would that be true if you encrypted the search terms the same way > you encrypted the data? First of all, I am no encryption expert so the following is just based on what I've seen while using encryption. The issue you have is that the encrypted version of a word most likely (it at all possible) will not appear in the encrypted version of a phrase containing that word. Here is an example using Blowfish: "this is a bunny" Salted__&r?z?????2L???b??????V? "bunny" Salted__?.3?????? References: <001801c867e0$dfae0c80$18b2a8c0@TiemoPC2> <0BF865D4-95A2-471A-8A06-AA1F9515A93D@mangomultimedia.com> <7F1F8BFF-3B5D-4B09-A2A8-92BA5521FD34@mangomultimedia.com> Message-ID: <0DCA4CE0-0947-49E3-8D1B-87CCA32F104C@maseurope.net> I see what you mean. I guess I was thinking of the case when you're searching for an exact and whole db entry. It would also fail on comparative operators. Doh! Best, Mark On 5 Feb 2008, at 17:11, Trevor DeVore wrote: > On Feb 5, 2008, at 10:23 AM, Mark Smith wrote: > >> Would that be true if you encrypted the search terms the same way >> you encrypted the data? > > First of all, I am no encryption expert so the following is just > based on what I've seen while using encryption. > > The issue you have is that the encrypted version of a word most > likely (it at all possible) will not appear in the encrypted > version of a phrase containing that word. Here is an example using > Blowfish: > > "this is a bunny" > Salted__&r?z?????2L???b??????V? > > "bunny" > Salted__?.3?????? > So you can't really search for "bunny" within "this is a bunny" > using the encrypted form. > > Perhaps you could create an index of individual words in a separate > field in the database for searching. Each word would be encrypted > individually rather than all words as a whole. You would probably > end up with a very big index though. > > I imagine it is probably best to use a db with built in encryption > if you need encryption and searching. > > Regards, > > -- > Trevor DeVore > Blue Mango Learning Systems > www.bluemangolearning.com - www.screensteps.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From troy_lists at rpsystems.net Tue Feb 5 13:01:04 2008 From: troy_lists at rpsystems.net (Troy Rollins) Date: Tue, 5 Feb 2008 13:01:04 -0500 Subject: db encryption and multiuser question In-Reply-To: <7F1F8BFF-3B5D-4B09-A2A8-92BA5521FD34@mangomultimedia.com> References: <001801c867e0$dfae0c80$18b2a8c0@TiemoPC2> <0BF865D4-95A2-471A-8A06-AA1F9515A93D@mangomultimedia.com> <7F1F8BFF-3B5D-4B09-A2A8-92BA5521FD34@mangomultimedia.com> Message-ID: On Feb 5, 2008, at 12:11 PM, Trevor DeVore wrote: > I imagine it is probably best to use a db with built in encryption > if you need encryption and searching. Interestingly, both RealBasic (internally) and Director (via 3rd party) have support for using encrypted SQLite databases - including full search functionality, so it would seem that it could be made possible in Revolution as well. -- Troy RPSystems, Ltd. http://www.rpsystems.net From lists at mangomultimedia.com Tue Feb 5 13:09:52 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 5 Feb 2008 13:09:52 -0500 Subject: db encryption and multiuser question In-Reply-To: References: <001801c867e0$dfae0c80$18b2a8c0@TiemoPC2> <0BF865D4-95A2-471A-8A06-AA1F9515A93D@mangomultimedia.com> <7F1F8BFF-3B5D-4B09-A2A8-92BA5521FD34@mangomultimedia.com> Message-ID: On Feb 5, 2008, at 1:01 PM, Troy Rollins wrote: > On Feb 5, 2008, at 12:11 PM, Trevor DeVore wrote: > >> I imagine it is probably best to use a db with built in encryption >> if you need encryption and searching. > > Interestingly, both RealBasic (internally) and Director (via 3rd > party) have support for using encrypted SQLite databases - including > full search functionality, so it would seem that it could be made > possible in Revolution as well. Anyone can write extensions for SQLite for adding functionality. For example if you want a sorting algorithm for other languages you have to write your own extension. I wonder if RealBasic and Director just took this route. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From lfredricks at proactive-intl.com Tue Feb 5 13:36:35 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 5 Feb 2008 10:36:35 -0800 Subject: db encryption and multiuser question In-Reply-To: References: <001801c867e0$dfae0c80$18b2a8c0@TiemoPC2><0BF865D4-95A2-471A-8A06-AA1F9515A93D@mangomultimedia.com><7F1F8BFF-3B5D-4B09-A2A8-92BA5521FD34@mangomultimedia.com> Message-ID: <00cf01c86826$09c376f0$6501a8c0@GATEWAY> > > I imagine it is probably best to use a db with built in > encryption if > > you need encryption and searching. > > Interestingly, both RealBasic (internally) and Director (via 3rd > party) have support for using encrypted SQLite databases - > including full search functionality, so it would seem that it > could be made possible in Revolution as well. REAL acquired a third party product, and they are taking it in their own direction. There have been a few third party products that work with Director. I don't think you'd see this with a GPL'd product. In fact, REAL dropped their official MySQL support - just conjecturing but over the licensing I believe. SQLite is public domain, so anyone can grab a handful and call it their own. We snoop the source but there hasn't been anything we've bothered with because we already have it. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From mwieder at ahsoftware.net Tue Feb 5 14:38:21 2008 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 5 Feb 2008 11:38:21 -0800 Subject: OT: swf animation Message-ID: Completely off topic, but in light of the current spate of swf posts, here's a delightful short animation: Animator vs Animation http://fc01.deviantart.com/fs13/f/2007/077/2/e/Animator_vs__Animation_by_alanbecker.swf Have fun. -- Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Tue Feb 5 15:31:19 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 05 Feb 2008 12:31:19 -0800 Subject: [OT] Instructional design and the demise of AppleGuide Message-ID: <47A8C797.8050700@fourthworld.com> I'm redesigning the Help system for a couple of the apps we develop, and I'm attracted to some of the ideas of AppleGuide, esp. having tutorial info directly within the software itself so users can more easily perform the steps without switching back and forth between applications. But Apple dropped AppleGuide long ago, and usually when I to think Apple does something for arbitrary reasons I find out later there was a sound rationale behind the decision. Of course many aspects of AppleGuide were flawed, most notable its poor performance (how hard would we need to work to make something that takes as long to load with Rev?), but also perhaps they went too far with integration, with AppleGuide's "do this for me" requiring way too much work for most developers to deal with. I have no interest in attempting to emulate AppleGuide's "do it for me", but I am interested in simpler models for bringing tutorial info directly into the application experience. But maybe there's a good reason Apple went the other direction, moving all Help materials completely outside the app into their separate Help system in OS X. Are any of you familiar with any materials describing the rationale for Apple's decision to turn 180 degrees from AppleGuide in OS X? Research papers would be most helpful, but even offhand comments from interviews with Apple staff or others in the know would be good. TIA - -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From stephenREVOLUTION2 at barncard.com Tue Feb 5 16:28:51 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Tue, 5 Feb 2008 13:28:51 -0800 Subject: [OT] Instructional design and the demise of AppleGuide In-Reply-To: <47A8C797.8050700@fourthworld.com> References: <47A8C797.8050700@fourthworld.com> Message-ID: Well along with that thread -- [observations of HELP in the IDE] there now seems to be some aspects of the "HELP" menu in OSX that are there whether we want it or not. Like the 'Search' Menu that appears there while in any application using Leopard. When I type some common terms in that search menu like "Edit" or "Help", I get a few 'hits' but they don't relate to anything I have been using recently -- just help pages from the long-gone but sometimes still useful "Audion". Nicely formatted pages and they come up quickly. What is that? It's not the 'help viewer' - it's built-in. Fast, too. How do we tap into that? [postscript after trying search in an standalone] Wow! Cool Leopard feature. If you type a single char in the help:search box, it reveals a list of menu items that begin with that character, then actually POINTS THEM OUT with the revealed menu and a big blue arrow. This would be a great boon to applications that have a lot of menu items. This is might be a good reason to include the HELP menu in all MacOS apps even though the app may not have any local help items. sqb >I'm redesigning the Help system for a couple of the apps we develop, >and I'm attracted to some of the ideas of AppleGuide, esp. having >tutorial info directly within the software itself so users can more >easily perform the steps without switching back and forth between >applications. > >But Apple dropped AppleGuide long ago, and usually when I to think >Apple does something for arbitrary reasons I find out later there >was a sound rationale behind the decision. > > >TIA - > >-- > Richard Gaskin -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From lists at mangomultimedia.com Tue Feb 5 16:40:45 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 5 Feb 2008 16:40:45 -0500 Subject: Macintosh Modifier symbols in menuitem In-Reply-To: <88201AE8-93BB-4B87-9E83-128A4727C5EC@bellsouth.net> References: <88201AE8-93BB-4B87-9E83-128A4727C5EC@bellsouth.net> Message-ID: <1A8A3B0B-73E3-436A-9E32-FA1A15367744@mangomultimedia.com> On Jan 31, 2008, at 6:04 PM, Andrew Meit wrote: > Rev, don't you find this strange for a Macintosh app to be missing??? > Rev, please stop chasing after wizbang eye-candy stuff and finish > real bread&butter GUI stuff--Now! > I am really getting tired of waiting for 7 years for stuff long, > long over due and at break-neck update/upgrade prices. I agree that Revolution should support additional modifier keys in menus. Right now I support additional combinations (shift + command, etc.) using a front script that triggers menus but there is no way to visually tell users so we end up getting emails to support asking for shortcut keys that already exist. This reflects poorly on applications made with Rev. Perhaps those interested could add their votes to an enhancement request that Jeanne filed back in 2005 which makes the request along with syntax suggestions: Bill Marriott also filed an enhancement request last year but the report that Jeanne filed has some great examples of how this support might be implemented. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From runrev260805 at m-r-d.de Tue Feb 5 16:53:58 2008 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Tue, 5 Feb 2008 21:53:58 +0000 Subject: encrypt/decrypt binary data in custom properties? Message-ID: <0002E43F.47A8E905@192.168.168.3> Hi, is it possible to encrypt/decrypt binary data in a custom property? There are no examples in the documentation. Where can i find more specific information aboubt decrypt/encrypt? Regards, Matthias From ambassador at fourthworld.com Tue Feb 5 17:04:55 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 05 Feb 2008 14:04:55 -0800 Subject: encrypt/decrypt binary data in custom properties? Message-ID: <47A8DD87.8010207@fourthworld.com> runrev260805 wrote: > is it possible to encrypt/decrypt binary data in a custom property? > > There are no examples in the documentation. > > Where can i find more specific information aboubt decrypt/encrypt? The documentation for Rev's encryption commands should suffice for any data. Getting the data in an out of a property is just a matter of get/set. For a weak but simple encryption option, this handy handler might be fun: -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From hershf at rgllc.us Tue Feb 5 18:03:24 2008 From: hershf at rgllc.us (Hershel Fisch) Date: Tue, 05 Feb 2008 18:03:24 -0500 Subject: Lib database Message-ID: Hi all I'm in the works of creating a web site rev CGI which the interface is almost done, And now I'm stuck when it comes to the database part. Have no idea how to work this out tried various different way's and ???? E.g. #!revolution on startup put 1 & getTip1() into theData # write minimal set of HTTP headers to stdout put "Content-Type: text/html" & cr put "Content-Length:" && the length of theData & cr & cr put theData end startup function getTip1 get revGetDatabaseDriverPath() return it end getTip1 function getTip2 get revOpenDatabase("sqlite","http://localhost/cgi-bin/testdb.db", , , , ) return it end getTip2 function getTip3 get revOpenDatabase("sqlite","testdb.db", , , , ) return it end getTip3 "ERROR 500" Any help would be appreciated. Hershel Fisch From sadhu at castandcrew.com Tue Feb 5 18:49:36 2008 From: sadhu at castandcrew.com (Sadhunathan Nadesan) Date: Tue, 5 Feb 2008 15:49:36 -0800 Subject: where to put handlers? Message-ID: <200802052349.m15NnafN004071@sddev.castandcrew.com> Deep bows to Sarah, who wrote: > My general rule is to place each handler or function as low in the > hierarchy as practical. If a button has a single use, then it contains > it's own handler. With true respect, I would like to suggest an alternative approach, the reverse. Place handlers as high as posssible, such as in the stack script. In the objects at low level, like buttons, just put calls to the handlers. Make handlers as generic as possible so they may be called with the requisite parameters. Reason: easy to edit a single script with everything in one place, easy to find what you are looking for, instead of hunting around in various buttons or other objects with code scattered all around. Maintenance is the key. Now, I was not deeply reading into the post so I may have missed some important thoughts. If so, apologies in advance. Sadhu From m.schonewille at economy-x-talk.com Tue Feb 5 19:05:16 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 6 Feb 2008 01:05:16 +0100 Subject: where to put handlers? In-Reply-To: <200802052349.m15NnafN004071@sddev.castandcrew.com> References: <200802052349.m15NnafN004071@sddev.castandcrew.com> Message-ID: <8F2A37BC-91BF-497C-8B12-E878C4C22620@economy-x-talk.com> Hi Sadhunathan Nadesan, A lot of projects that are sent to me are unnecessarily complex because people try to be "smart", putting handlers in weird places. After 2 decades of programming with HyperCard and later Revolution, I've come to the conclusion that it is a good idea to put handlers as low as possible in the hierarchy. Only if a handler, or a part of a handler, is used more than once, I put that handler higher up the hierarchy. If I need only a part of a handler more than once, I make a new handler with that particular part higher up the hierarchy. If a handler is very short, I often put it in a button or field itself, even if I need it more than once. In my view, xTalk is not about programming "smart" but about programming quickly and effectively (which is also smart, but different). Therefore, I'd say Sarah is right. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 6-feb-2008, om 0:49 heeft Sadhunathan Nadesan het volgende geschreven: > > With true respect, I would like to suggest an alternative approach, > the reverse. Place handlers as high as posssible, such as in the > stack script. > From downs.david.j at gmail.com Tue Feb 5 19:16:55 2008 From: downs.david.j at gmail.com (J. Downs) Date: Tue, 5 Feb 2008 18:16:55 -0600 Subject: Macintosh Modifier symbols in menuitem In-Reply-To: <1A8A3B0B-73E3-436A-9E32-FA1A15367744@mangomultimedia.com> References: <88201AE8-93BB-4B87-9E83-128A4727C5EC@bellsouth.net> <1A8A3B0B-73E3-436A-9E32-FA1A15367744@mangomultimedia.com> Message-ID: <5CBD6EC9-FEDB-45C2-ACE6-C7F00FAEE08D@gmail.com> > Perhaps those interested could add their votes to an enhancement > request that Jeanne filed back in 2005 which makes the request > along with syntax suggestions: > > Absolutely brilliant proposal. Should have been done two years ago. J. From downs.david.j at gmail.com Tue Feb 5 19:20:15 2008 From: downs.david.j at gmail.com (J. Downs) Date: Tue, 5 Feb 2008 18:20:15 -0600 Subject: [OT] Instructional design and the demise of AppleGuide In-Reply-To: <47A8C797.8050700@fourthworld.com> References: <47A8C797.8050700@fourthworld.com> Message-ID: <60A1DB2A-F45B-453C-9D13-76FB950256C1@gmail.com> > Research papers would be most helpful, but even offhand comments > from interviews with Apple staff or others in the know would be good. So you're saying we should abstain from rampant speculation? Way to cut me off at the knees, Richard. ;) J. From downs.david.j at gmail.com Tue Feb 5 19:22:54 2008 From: downs.david.j at gmail.com (J. Downs) Date: Tue, 5 Feb 2008 18:22:54 -0600 Subject: Books? Message-ID: <0396EFA4-7530-449D-99C4-1B309353F3BE@gmail.com> > Have any good books on Rev/Transcript been published, or is > everyone still using old HyperCard/Talk books as references? So, I'll take the lack of response as a "no." Any of you have one in the works? I'd like to read some good references on language changes since HyperTalk. J. From downs.david.j at gmail.com Tue Feb 5 19:46:47 2008 From: downs.david.j at gmail.com (J. Downs) Date: Tue, 5 Feb 2008 18:46:47 -0600 Subject: Importing a HyperCard stack Message-ID: <2779517F-C78D-4993-B15D-1E7BAEC8DA74@gmail.com> How does one import an old HyperCard stack into the latest versions of Rev? Rev doesn't recognize the stacks via the Finder, Dock, or Open dialogue. Any hints? Thanks, J. From jacque at hyperactivesw.com Tue Feb 5 20:00:41 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Feb 2008 19:00:41 -0600 Subject: Importing a HyperCard stack In-Reply-To: <2779517F-C78D-4993-B15D-1E7BAEC8DA74@gmail.com> References: <2779517F-C78D-4993-B15D-1E7BAEC8DA74@gmail.com> Message-ID: <47A906B9.4060802@hyperactivesw.com> J. Downs wrote: > How does one import an old HyperCard stack into the latest versions of > Rev? Rev doesn't recognize the stacks via the Finder, Dock, or Open > dialogue. Any hints? You need either Studio or Enterprise. Media doesn't open HC stacks. Are you using Media? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Feb 5 20:02:49 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Feb 2008 19:02:49 -0600 Subject: Importing a HyperCard stack In-Reply-To: <47A906B9.4060802@hyperactivesw.com> References: <2779517F-C78D-4993-B15D-1E7BAEC8DA74@gmail.com> <47A906B9.4060802@hyperactivesw.com> Message-ID: <47A90739.7010805@hyperactivesw.com> J. Landman Gay wrote: > J. Downs wrote: >> How does one import an old HyperCard stack into the latest versions of >> Rev? Rev doesn't recognize the stacks via the Finder, Dock, or Open >> dialogue. Any hints? > > You need either Studio or Enterprise. Media doesn't open HC stacks. Are > you using Media? > Forgot to say, if you do have Studio or better, then make sure you change the popdown button at the top of the Open File dialog to "All files". It is set by default to only select Rev stacks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mdswindell at cruzio.com Tue Feb 5 20:06:30 2008 From: mdswindell at cruzio.com (Mark Swindell) Date: Tue, 5 Feb 2008 17:06:30 -0800 Subject: Books? In-Reply-To: <0396EFA4-7530-449D-99C4-1B309353F3BE@gmail.com> References: <0396EFA4-7530-449D-99C4-1B309353F3BE@gmail.com> Message-ID: <608E0090-3C51-4A18-9121-BBC2CF81C600@cruzio.com> Dan Shafer had a book going called Software at the Speed of Thought. He had several e-chapters for sale both on his site and on Rev's site a while back. I bought the chapter dealing with custom properties and found it useful and well written. Mark On Feb 5, 2008, at 4:22 PM, J. Downs wrote: >> Have any good books on Rev/Transcript been published, or is >> everyone still using old HyperCard/Talk books as references? > > > So, I'll take the lack of response as a "no." Any of you have one > in the works? I'd like to read some good references on language > changes since HyperTalk. > > J. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Thanks, Mark From 3mcgrath at comcast.net Tue Feb 5 21:47:49 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Tue, 5 Feb 2008 21:47:49 -0500 Subject: Repeat statement Message-ID: OK, Here's an easy one that I can't remember for the life of me. What is the best repeat to delete blank lines in a list? Thanks in advance, Tom From mark at maseurope.net Tue Feb 5 21:48:37 2008 From: mark at maseurope.net (Mark Smith) Date: Wed, 6 Feb 2008 02:48:37 +0000 Subject: where to put handlers? In-Reply-To: <8F2A37BC-91BF-497C-8B12-E878C4C22620@economy-x-talk.com> References: <200802052349.m15NnafN004071@sddev.castandcrew.com> <8F2A37BC-91BF-497C-8B12-E878C4C22620@economy-x-talk.com> Message-ID: Mark, Sadhunathan, I think we have a high/low confusion here. I think you're both agreeing with Sarah. FWIW, I tend to think in terms of 'behind/in front'. Best, Mark On 6 Feb 2008, at 00:05, Mark Schonewille wrote: > Hi Sadhunathan Nadesan, > > A lot of projects that are sent to me are unnecessarily complex > because people try to be "smart", putting handlers in weird places. > After 2 decades of programming with HyperCard and later Revolution, > I've come to the conclusion that it is a good idea to put handlers > as low as possible in the hierarchy. Only if a handler, or a part > of a handler, is used more than once, I put that handler higher up > the hierarchy. If I need only a part of a handler more than once, I > make a new handler with that particular part higher up the > hierarchy. If a handler is very short, I often put it in a button > or field itself, even if I need it more than once. In my view, > xTalk is not about programming "smart" but about programming > quickly and effectively (which is also smart, but different). > Therefore, I'd say Sarah is right. > > > Best regards, > > Mark Schonewille > > -- > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Quickly extract data from your HyperCard stacks with DIFfersifier. > http://differsifier.economy-x-talk.com > > > Op 6-feb-2008, om 0:49 heeft Sadhunathan Nadesan het volgende > geschreven: >> >> With true respect, I would like to suggest an alternative approach, >> the reverse. Place handlers as high as posssible, such as in the >> stack script. >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Tue Feb 5 21:58:33 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Feb 2008 20:58:33 -0600 Subject: Repeat statement In-Reply-To: References: Message-ID: <47A92259.7040604@hyperactivesw.com> Thomas McGrath III wrote: > OK, Here's an easy one that I can't remember for the life of me. > > What is the best repeat to delete blank lines in a list? The best repeat is a one-liner. :) filter tList without empty -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lists at mangomultimedia.com Tue Feb 5 23:36:35 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 5 Feb 2008 23:36:35 -0500 Subject: where to put handlers? In-Reply-To: <200802052349.m15NnafN004071@sddev.castandcrew.com> References: <200802052349.m15NnafN004071@sddev.castandcrew.com> Message-ID: <5DAB5151-AE26-4423-8B98-92D956D90EEA@mangomultimedia.com> On Feb 5, 2008, at 6:49 PM, Sadhunathan Nadesan wrote: > Reason: easy to edit a single script with everything in one place, > easy to find what you are looking for, instead of hunting around in > various buttons or other objects with code scattered all around. > > Maintenance is the key. I have to plug Jerry's GLX2 here because hunting through scripts can be such a time consuming process and Jerry has nailed the solution. For anyone tired of navigating through code I would suggest trying out GLX2. When GLX2 loads a script it turns handlers into hyperlinks. You just click on calls to handlers to open up the script the handler is in. Your hunting days will be over. This feature is one of the greatest productivity boosts I've found in Rev. Go to and scroll down to "Hyperlinks in Handlers" to learn more. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From toolbook at kestner.de Wed Feb 6 04:06:14 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 6 Feb 2008 10:06:14 +0100 Subject: AW: where to put handlers? In-Reply-To: <8F2A37BC-91BF-497C-8B12-E878C4C22620@economy-x-talk.com> Message-ID: <000701c8689f$86f8a4f0$18b2a8c0@TiemoPC2> Hi Mark, Interesting to read that totally opposite approaches are both favoured. > A lot of projects that are sent to me are unnecessarily complex > because people try to be "smart", putting handlers in weird places. Btw. I go the same way as Sadhu and feel comfortable with my way, especially in maintenance cases, where I don't have to think about where a handler could be placed. In smaller projects my "weird place" for almost all handlers is the stack script. I do actually have only one single mouseup handler in stack script, with cases of targets. So I uncoupled logic from design, what has advantages and disadvantages. I don't know, if and how my approach would work in bigger projects, but up to now, its good for me. Tiemo From toolbook at kestner.de Wed Feb 6 04:54:00 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 6 Feb 2008 10:54:00 +0100 Subject: AW: encryption with sqlite-crypt (was Database vs Array) In-Reply-To: <47A6EBFA.1070208@ekoinf.net> Message-ID: <000801c868a6$33793360$18b2a8c0@TiemoPC2> Hi Viktoras, do you have experience with sqlite-crypt? I just can't see the approach, who to implement sqlite-crypt in my runrev envirement. They changed the db open function. How does this fit with the rev internal revdb commands? What has to be done to install sqlite-crypt on the user machine on both platforms Win/Mac and how can I call the external function from rev, how do you declare the external dll or whatever it is in rev (never done this before yet) Thanks for any hint Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von viktoras didziulis > Gesendet: Montag, 4. Februar 2008 11:42 > An: How to use Revolution > Betreff: Re: Database vs Array > > 3. Can it be protected? > > Ye, but it is not a free feature. Check this: > http://www.hwaci.com/sw/sqlite/prosupport.html#crypto > http://sqlitee.homepc.it/ > http://www.sqlite-crypt.com/ > > On the other hand you can use revolution to encode/decode data before it > gets into the database and when extracting... > > Best wishes > Viktoras From toolbook at kestner.de Wed Feb 6 06:01:25 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 6 Feb 2008 12:01:25 +0100 Subject: filling a db on CD, what happens? Message-ID: <001401c868af$9e8968b0$18b2a8c0@TiemoPC2> Hello, perhaps a dumb question, I havn't worked with DBs yet. Following scenario: - running a rev app with a sqlite db from CD - delivering the CD with an empty db, all datas kept "hidden" in a stack - filling the db with the stack datas when launching the app - working with the db, as if the datas would be always there What happens with the db on CD, when filling, it can't expand, or could I define the target size of the db, when creating the db and burning on CD, so that it has not to be expanded? My thought was to "hide" the db datas from the user - at least so far, as my app isn't open. Would this szenario work? Thanks for sharing Tiemo From eric.chatonet at sosmartsoftware.com Wed Feb 6 06:18:35 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Feb 2008 12:18:35 +0100 Subject: filling a db on CD, what happens? In-Reply-To: <001401c868af$9e8968b0$18b2a8c0@TiemoPC2> References: <001401c868af$9e8968b0$18b2a8c0@TiemoPC2> Message-ID: <33122A85-8E24-4332-ABB2-BFEDFF8E13DA@sosmartsoftware.com> Hi Tiemo, A CD is read-only so you can't modify any file on it. But you can copy a file to the user HD in the temporary folder, use and modify it and delete it when finished. Le 6 f?vr. 08 ? 12:01, Tiemo Hollmann TB a ?crit : > Hello, > > perhaps a dumb question, I havn't worked with DBs yet. Following > scenario: > > - running a rev app with a sqlite db from CD > > - delivering the CD with an empty db, all datas kept > "hidden" in a > stack > > - filling the db with the stack datas when launching the app > > - working with the db, as if the datas would be always there > > What happens with the db on CD, when filling, it can't expand, or > could I > define the target size of the db, when creating the db and burning > on CD, so > that it has not to be expanded? > > My thought was to "hide" the db datas from the user - at least so > far, as > my app isn't open. > > > > Would this szenario work? > > Thanks for sharing > > Tiemo Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From viktoras at ekoinf.net Wed Feb 6 06:25:54 2008 From: viktoras at ekoinf.net (viktoras didziulis) Date: Wed, 06 Feb 2008 13:25:54 +0200 Subject: db encryption and multiuser question In-Reply-To: <001801c867e0$dfae0c80$18b2a8c0@TiemoPC2> References: <001801c867e0$dfae0c80$18b2a8c0@TiemoPC2> Message-ID: <47A99942.1050108@ekoinf.net> Hi Tiemo, try this sqlite database editor (for windows): http://www.yunqa.de/delphi/doku.php/products/sqlitespy/index Or you can install an sqlite plugin for Mozilla web browser. Regarding the encryption and a few other issues (like loading tables into the database using sqlite's .import function) it is possible to communicate with sqlite using shell. From time to time I am forced to resort to this option. Best wishes Viktoras From toolbook at kestner.de Wed Feb 6 06:26:00 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 6 Feb 2008 12:26:00 +0100 Subject: AW: filling a db on CD, what happens? In-Reply-To: <33122A85-8E24-4332-ABB2-BFEDFF8E13DA@sosmartsoftware.com> Message-ID: <001901c868b3$0d9f2f70$18b2a8c0@TiemoPC2> Hi Eric, thats what I knew, but I was also thinking, where is the difference between filling data into a field or property of a stack (what is possible on CD) and filling data in a db, as far as I don't want to save it - what for sure isn't possible on CD and what I wouldn't need. Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Eric Chatonet > Gesendet: Mittwoch, 6. Februar 2008 12:19 > An: How to use Revolution > Betreff: Re: filling a db on CD, what happens? > > Hi Tiemo, > > A CD is read-only so you can't modify any file on it. > But you can copy a file to the user HD in the temporary folder, use > and modify it and delete it when finished. > From toolbook at kestner.de Wed Feb 6 06:42:55 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 6 Feb 2008 12:42:55 +0100 Subject: AW: db encryption and multiuser question In-Reply-To: <47A99942.1050108@ekoinf.net> Message-ID: <001f01c868b5$6ab141b0$18b2a8c0@TiemoPC2> Hi Viktoras, ok, as I see I could encrypt the db with sqlitespy, but I think I would need sqlite-crypt for decrypting the db from within my app. What I am not clear in is, how sqlite-crypt works together with runrev. Do I just have to copy the crypt-dll into my app folder and call the open function instead of the standard revdb function (what about registering / declaring of sqliste-crypt), or how does the communication between runrev and sqlite-crypt looks like? Perhaps I am asking the wrong questions? Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von viktoras didziulis > Gesendet: Mittwoch, 6. Februar 2008 12:26 > An: How to use Revolution > Betreff: Re: db encryption and multiuser question > > Hi Tiemo, > > try this sqlite database editor (for windows): > http://www.yunqa.de/delphi/doku.php/products/sqlitespy/index > > Or you can install an sqlite plugin for Mozilla web browser. > > Regarding the encryption and a few other issues (like loading tables > into the database using sqlite's .import function) it is possible to > communicate with sqlite using shell. From time to time I am forced to > resort to this option. > > Best wishes > Viktoras > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From viktoras at ekoinf.net Wed Feb 6 08:36:10 2008 From: viktoras at ekoinf.net (viktoras didziulis) Date: Wed, 06 Feb 2008 15:36:10 +0200 Subject: AW: db encryption and multiuser question In-Reply-To: <001f01c868b5$6ab141b0$18b2a8c0@TiemoPC2> References: <001f01c868b5$6ab141b0$18b2a8c0@TiemoPC2> Message-ID: <47A9B7CA.7080404@ekoinf.net> Hi Tiemo, it won't work that way. Sqlitespy uses its own "disqlite" for encryption, etc. In your case you should consider any of the database servers (Valentina, MySQL, etc...) that support both multiuser databases and encryption. Best wishes Viktoras Tiemo Hollmann TB wrote: > Hi Viktoras, > ok, as I see I could encrypt the db with sqlitespy, but I think I would need > sqlite-crypt for decrypting the db from within my app. What I am not clear > in is, how sqlite-crypt works together with runrev. Do I just have to copy > the crypt-dll into my app folder and call the open function instead of the > standard revdb function (what about registering / declaring of > sqliste-crypt), or how does the communication between runrev and > sqlite-crypt looks like? Perhaps I am asking the wrong questions? > Thanks > Tiemo > > >> -----Urspr?ngliche Nachricht----- >> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >> bounces at lists.runrev.com] Im Auftrag von viktoras didziulis >> Gesendet: Mittwoch, 6. Februar 2008 12:26 >> An: How to use Revolution >> Betreff: Re: db encryption and multiuser question >> >> Hi Tiemo, >> >> try this sqlite database editor (for windows): >> http://www.yunqa.de/delphi/doku.php/products/sqlitespy/index >> >> Or you can install an sqlite plugin for Mozilla web browser. >> >> Regarding the encryption and a few other issues (like loading tables >> into the database using sqlite's .import function) it is possible to >> communicate with sqlite using shell. From time to time I am forced to >> resort to this option. >> >> Best wishes >> Viktoras >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From toolbook at kestner.de Wed Feb 6 10:19:55 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 6 Feb 2008 16:19:55 +0100 Subject: AW: AW: db encryption and multiuser question In-Reply-To: <47A9B7CA.7080404@ekoinf.net> Message-ID: <003001c868d3$bb45ef90$18b2a8c0@TiemoPC2> Ok, Aciu labai Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von viktoras didziulis > Gesendet: Mittwoch, 6. Februar 2008 14:36 > An: How to use Revolution > Betreff: Re: AW: db encryption and multiuser question > > Hi Tiemo, > > it won't work that way. Sqlitespy uses its own "disqlite" for > encryption, etc. > In your case you should consider any of the database servers (Valentina, > MySQL, etc...) that support both multiuser databases and encryption. > > Best wishes > Viktoras > > Tiemo Hollmann TB wrote: > > Hi Viktoras, > > ok, as I see I could encrypt the db with sqlitespy, but I think I would > need > > sqlite-crypt for decrypting the db from within my app. What I am not > clear > > in is, how sqlite-crypt works together with runrev. Do I just have to > copy > > the crypt-dll into my app folder and call the open function instead of > the > > standard revdb function (what about registering / declaring of > > sqliste-crypt), or how does the communication between runrev and > > sqlite-crypt looks like? Perhaps I am asking the wrong questions? > > Thanks > > Tiemo > > > > > >> -----Urspr?ngliche Nachricht----- > >> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > >> bounces at lists.runrev.com] Im Auftrag von viktoras didziulis > >> Gesendet: Mittwoch, 6. Februar 2008 12:26 > >> An: How to use Revolution > >> Betreff: Re: db encryption and multiuser question > >> > >> Hi Tiemo, > >> > >> try this sqlite database editor (for windows): > >> http://www.yunqa.de/delphi/doku.php/products/sqlitespy/index > >> > >> Or you can install an sqlite plugin for Mozilla web browser. > >> > >> Regarding the encryption and a few other issues (like loading tables > >> into the database using sqlite's .import function) it is possible to > >> communicate with sqlite using shell. From time to time I am forced to > >> resort to this option. > >> > >> Best wishes > >> Viktoras > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at comcast.net Wed Feb 6 10:36:30 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Wed, 6 Feb 2008 10:36:30 -0500 Subject: revBrowser Memory Leak Message-ID: <39E4D248-C98C-4870-A1E6-27A70711B303@comcast.net> Has anyone noticed a memory leak while using revbrowser? I was working with revBrowser and two browser windows and I noticed after quiting that my processes on my mac still included Revolution at 46% usage of my cpu after I quit. I had to force quit the process even though the app was already quit. The app was no longer open and I did include the close rev browser in a repeat with revBrowserInstances (copied directly from the revSampleBrowser app). It closed all instances or so it seems. Anyway, after that my computer crashed really bad in fact I have to take it in for check/repair today. I get the white screen hanging on bootup. FWIW I had a kernel panic and instead of pulling the power cord like I have done in the past instead I followed the dialog and hit the power button. Well now it won't restart. I should have just pulled all power, damn. I am using my old laptop to write this. Problem is the project I was working on is still on the old computer so I'm stuck until I get the computer back. Tom From devin_asay at byu.edu Wed Feb 6 11:05:16 2008 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 6 Feb 2008 09:05:16 -0700 Subject: AW: where to put handlers? In-Reply-To: <000701c8689f$86f8a4f0$18b2a8c0@TiemoPC2> References: <000701c8689f$86f8a4f0$18b2a8c0@TiemoPC2> Message-ID: <5EE1A31B-69D0-4272-BF43-5AE5276BE457@byu.edu> On Feb 6, 2008, at 2:06 AM, Tiemo Hollmann TB wrote: > Hi Mark, > Interesting to read that totally opposite approaches are both > favoured. > >> A lot of projects that are sent to me are unnecessarily complex >> because people try to be "smart", putting handlers in weird places. > > Btw. I go the same way as Sadhu and feel comfortable with my way, > especially > in maintenance cases, where I don't have to think about where a > handler > could be placed. In smaller projects my "weird place" for almost all > handlers is the stack script. I do actually have only one single > mouseup > handler in stack script, with cases of targets. So I uncoupled > logic from > design, what has advantages and disadvantages. I don't know, if and > how my > approach would work in bigger projects, but up to now, its good for > me. I have two objections to placing all handlers high in the message hierarchy. 1. It destroys the modularity/object-oriented-ish-ness of Revolution stacks. If I create a particularly brilliant object (or at least a complicated object that is "good enough") I often want to re-use it in other projects. If I've separated the scripting from the objects it becomes much more difficult. 2. As a project grows in complexity, a stack script that contained all handlers in the stack could easily swell to several thousand lines. In this case it actually becomes *harder* to maintain, as you must scroll or search through a huge script to find the handler you're looking for. It even becomes difficult to find a handler in the handler list of the script editor as the number of handlers multiplies. I once inherited an extremely complex project in which the original programmer had used the approach of placing all scripting in the stack script. While the handlers were well-written and well-documented, and the stack worked pretty well, I had a devil of a time figuring out which handlers did what, and to which objects they related. After several months I *started* to get the hang of it, but I lost a lot of time figuring it out. I like Jerry Daniels' axiom: Put handlers as high as they need to be in the hierarchy, but no higher. My $.02. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From runrev at dreamscapesoftware.com Wed Feb 6 11:53:32 2008 From: runrev at dreamscapesoftware.com (Derek Bump) Date: Wed, 06 Feb 2008 10:53:32 -0600 Subject: AW: filling a db on CD, what happens? In-Reply-To: <001901c868b3$0d9f2f70$18b2a8c0@TiemoPC2> References: <001901c868b3$0d9f2f70$18b2a8c0@TiemoPC2> Message-ID: <47A9E60C.4060801@dreamscapesoftware.com> Tiemo, When you open a file or program, it is placed into memory. From there, you can fill variables, fields, properties, etc. You just can't save those changes back to the file on the CD. You could create some sort of multi-session built in burning feature... but eventually you will fill up the CD and that's the end of that story. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___________________________________________________________________ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ Tiemo Hollmann TB wrote: > Hi Eric, > thats what I knew, but I was also thinking, where is the difference between > filling data into a field or property of a stack (what is possible on CD) > and filling data in a db, as far as I don't want to save it - what for sure > isn't possible on CD and what I wouldn't need. > Thanks > Tiemo > >> -----Urspr?ngliche Nachricht----- >> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >> bounces at lists.runrev.com] Im Auftrag von Eric Chatonet >> Gesendet: Mittwoch, 6. Februar 2008 12:19 >> An: How to use Revolution >> Betreff: Re: filling a db on CD, what happens? >> >> Hi Tiemo, >> >> A CD is read-only so you can't modify any file on it. >> But you can copy a file to the user HD in the temporary folder, use >> and modify it and delete it when finished. >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From toolbook at kestner.de Wed Feb 6 12:09:40 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 6 Feb 2008 18:09:40 +0100 Subject: AW: AW: filling a db on CD, what happens? In-Reply-To: <47A9E60C.4060801@dreamscapesoftware.com> Message-ID: <003701c868e3$101e3860$18b2a8c0@TiemoPC2> Hi Derek, > When you open a file or program, it is placed into memory. From there, > you can fill variables, fields, properties, etc. You just can't save > those changes back to the file on the CD. yes, but isn't this the same with a database, as long, as I don't want to save the changes? Or is a database an exception with this handling and is only the current sql set in memory - probably!? Thanks Tiemo From m.schonewille at economy-x-talk.com Wed Feb 6 12:21:43 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 6 Feb 2008 18:21:43 +0100 Subject: revBrowser Memory Leak In-Reply-To: <39E4D248-C98C-4870-A1E6-27A70711B303@comcast.net> References: <39E4D248-C98C-4870-A1E6-27A70711B303@comcast.net> Message-ID: Hi Tom, Which version of Revolution and which operating system are you using on the computer that went down? Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 6-feb-2008, om 16:36 heeft Thomas McGrath III het volgende geschreven: > Has anyone noticed a memory leak while using revbrowser? > > I was working with revBrowser and two browser windows and I noticed > after quiting that my processes on my mac still included Revolution > at 46% usage of my cpu after I quit. I had to force quit the > process even though the app was already quit. > From ambassador at fourthworld.com Wed Feb 6 12:24:49 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 06 Feb 2008 09:24:49 -0800 Subject: AW: where to put handlers? Message-ID: <47A9ED61.9070107@fourthworld.com> Devin Asay wrote: > I have two objections to placing all handlers high in the message > hierarchy. > > 1. It destroys the modularity/object-oriented-ish-ness of Revolution > stacks. If I create a particularly brilliant object (or at least a > complicated object that is "good enough") I often want to re-use it > in other projects. If I've separated the scripting from the objects > it becomes much more difficult. But sometimes that modest effort can pay big dividends down the road. For example, I have a table object that I use throughout many of the apps I write. It has a lot of code, and parts are rather tricky, so if I replicated it I'd have a lot of replicated code and if I need to change it I'd have a lot of work applying those changes to each instance. So instead I have as little code as possible in the group itself, and put most of the code in a library. There's only one copy of the code, and maintaining and enhancing it is a breeze. > 2. As a project grows in complexity, a stack script that contained > all handlers in the stack could easily swell to several thousand > lines. In this case it actually becomes *harder* to maintain, as you > must scroll or search through a huge script to find the handler > you're looking for. True, so I break my code up into separate libraries, each dealing with a particular area of functionality (menu commands, file management, etc.). In fact, menu commands are a good example of the benefit of centralizing code, since having them all in one shared library makes it easy to add contextual menus at any time. If the code for menu handling were in the menu bar I'd either have to replicate it in the context menu, or use a lot of send commands. Finding handlers is a job best left for the computer. My script editor has had handler definition lookup for years, and Jerry's does too. I'm sure Rev will catch up sooner or later as well. So I agree with just about everything you wrote, but I'm not sure there's a One Size Fits All answer to this question. Jerry's axiom is helpful, but the definition of "necessary" will change from context to context. ;) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From 3mcgrath at comcast.net Wed Feb 6 12:27:09 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Wed, 6 Feb 2008 12:27:09 -0500 Subject: revBrowser Memory Leak In-Reply-To: <39E4D248-C98C-4870-A1E6-27A70711B303@comcast.net> References: <39E4D248-C98C-4870-A1E6-27A70711B303@comcast.net> Message-ID: Just got back from Apple. They pulled the memory and tried the two sets seperetly and then reseated them and now the computer is working again. I am going to keep an eye on this and on revBrowser over the next few weeks. Thanks Tom On Feb 6, 2008, at 10:36 AM, Thomas McGrath III wrote: > Has anyone noticed a memory leak while using revbrowser? > > I was working with revBrowser and two browser windows and I noticed > after quiting that my processes on my mac still included Revolution > at 46% usage of my cpu after I quit. I had to force quit the process > even though the app was already quit. > > The app was no longer open and I did include the close rev browser > in a repeat with revBrowserInstances (copied directly from the > revSampleBrowser app). It closed all instances or so it seems. > > Anyway, after that my computer crashed really bad in fact I have to > take it in for check/repair today. I get the white screen hanging on > bootup. FWIW I had a kernel panic and instead of pulling the power > cord like I have done in the past instead I followed the dialog and > hit the power button. Well now it won't restart. I should have just > pulled all power, damn. From 3mcgrath at comcast.net Wed Feb 6 12:30:59 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Wed, 6 Feb 2008 12:30:59 -0500 Subject: revBrowser Memory Leak In-Reply-To: References: <39E4D248-C98C-4870-A1E6-27A70711B303@comcast.net> Message-ID: Mark, Revolution Enterprise 2.9.0-dp-3 Build 520 Mac OSX 10.5.1 2.4 Ghz Intel Core 2 Duo, 4 GB 667 Mhz DDR2 SDRAM Also, with revBrowser I think there is an issue with the backDrop where the browser windows will go away on backDrop. Thanks Tom On Feb 6, 2008, at 12:21 PM, Mark Schonewille wrote: > Hi Tom, > > Which version of Revolution and which operating system are you using > on the computer that went down? > > Best regards, > > Mark Schonewille > > -- From runrev at dreamscapesoftware.com Wed Feb 6 12:32:00 2008 From: runrev at dreamscapesoftware.com (Derek Bump) Date: Wed, 06 Feb 2008 11:32:00 -0600 Subject: AW: AW: filling a db on CD, what happens? In-Reply-To: <003701c868e3$101e3860$18b2a8c0@TiemoPC2> References: <003701c868e3$101e3860$18b2a8c0@TiemoPC2> Message-ID: <47A9EF10.1040209@dreamscapesoftware.com> Tiemo, It depends on how the Database is handled. You will have to either test it out, or read the documentation for the database type you are working with. The other solutions presented are definitely the best way to go. Create your "default" database and burn it to CD. When the program on the CD is launched, copy it to the user's hard drive and start using that copy to work with. Like I said though, it depends entire upon the type of database you are working with. I don't use SQL as I find it to be rather bulky. I use Flat Files, and I write all of my own database handlers, so my coding is not dependent on SQL or some other type of database and it's limitations. The advantage and disadvantage of programming is that sometimes you have to re-invent the wheel. That's just how it goes. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___________________________________________________________________ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ Tiemo Hollmann TB wrote: > Hi Derek, > >> When you open a file or program, it is placed into memory. From there, >> you can fill variables, fields, properties, etc. You just can't save >> those changes back to the file on the CD. > > yes, but isn't this the same with a database, as long, as I don't want to > save the changes? Or is a database an exception with this handling and is > only the current sql set in memory - probably!? > > Thanks > Tiemo > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From devin_asay at byu.edu Wed Feb 6 13:12:32 2008 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 6 Feb 2008 11:12:32 -0700 Subject: AW: where to put handlers? In-Reply-To: <47A9ED61.9070107@fourthworld.com> References: <47A9ED61.9070107@fourthworld.com> Message-ID: On Feb 6, 2008, at 10:24 AM, Richard Gaskin wrote: > Devin Asay wrote: >> I have two objections to placing all handlers high in the message >> hierarchy. >> 1. It destroys the modularity/object-oriented-ish-ness of >> Revolution stacks. If I create a particularly brilliant object >> (or at least a complicated object that is "good enough") I often >> want to re-use it in other projects. If I've separated the >> scripting from the objects it becomes much more difficult. > > But sometimes that modest effort can pay big dividends down the road. > > For example, I have a table object that I use throughout many of > the apps I write. It has a lot of code, and parts are rather > tricky, so if I replicated it I'd have a lot of replicated code and > if I need to change it I'd have a lot of work applying those > changes to each instance. > > So instead I have as little code as possible in the group itself, > and put most of the code in a library. There's only one copy of > the code, and maintaining and enhancing it is a breeze. Well said and well-argued, as usual, Richard. But I don't think we're saying two widely different things. When you put code that is specific to certain objects or groups into a library, you have still made it modular and easily portable. This is lots different than hunting down a handler or handlers in a huge stack or card script and hoping you have copied and pasted everything you need into the other project. > > >> 2. As a project grows in complexity, a stack script that >> contained all handlers in the stack could easily swell to several >> thousand lines. In this case it actually becomes *harder* to >> maintain, as you must scroll or search through a huge script to >> find the handler you're looking for. > > True, so I break my code up into separate libraries, each dealing > with a particular area of functionality (menu commands, file > management, etc.). > > In fact, menu commands are a good example of the benefit of > centralizing code, since having them all in one shared library > makes it easy to add contextual menus at any time. If the code for > menu handling were in the menu bar I'd either have to replicate it > in the context menu, or use a lot of send commands. > > Finding handlers is a job best left for the computer. My script > editor has had handler definition lookup for years, and Jerry's > does too. I'm sure Rev will catch up sooner or later as well. > > So I agree with just about everything you wrote, but I'm not sure > there's a One Size Fits All answer to this question. > > Jerry's axiom is helpful, but the definition of "necessary" will > change from context to context. ;) Absolutely. One of the strengths of Rev, and what makes it such an adaptable tool for developers' differing approaches, is the ability it gives you to structure a project any way that makes sense to you. Of course, that doesn't mean it will make sense to the next guy that looks at it. ;-) Still, the idea of completely self-contained "objects" is very appealing to me--think Shao's or Sarah's calendar objects/stacks, for example. Many of these modular "objects" are so specialized that generalizing the code into libraries might not make sense. I think there's an important difference between reusable, modular, "objects" and libraries of common handlers and functions. Cheers, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From toolbook at kestner.de Wed Feb 6 13:25:37 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 6 Feb 2008 19:25:37 +0100 Subject: AW: AW: AW: filling a db on CD, what happens? In-Reply-To: <47A9EF10.1040209@dreamscapesoftware.com> Message-ID: <004e01c868ed$ac7f4960$18b2a8c0@TiemoPC2> Hi Derek, > > Like I said though, it depends entire upon the type of database you are > working with. I don't use SQL as I find it to be rather bulky. I use > Flat Files, and I write all of my own database handlers, so my coding is > not dependent on SQL or some other type of database and it's limitations. Interesting to read, did you ever compared the performance on "big" datas? Up to now I havn't found a performing way how to loop through 20.000 records in a flat file for generic selection with a search term compared with a select - where. Looping through 20.000 records and searching for a sting with lineoffset() to select a list of datas wasn't fast enough for me. Perhaps you found a better trick? Tiemo From andre at andregarzia.com Wed Feb 6 14:12:22 2008 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 6 Feb 2008 17:12:22 -0200 Subject: AW: AW: filling a db on CD, what happens? In-Reply-To: <004e01c868ed$ac7f4960$18b2a8c0@TiemoPC2> References: <47A9EF10.1040209@dreamscapesoftware.com> <004e01c868ed$ac7f4960$18b2a8c0@TiemoPC2> Message-ID: <7c87a2a10802061112r1fc16454k665353f96a6ecf2c@mail.gmail.com> Tiemo, I've been using both RDBMS and flat files. A quick opinion is that with SQL you don't need to reinvent the wheel and this is specially good when you're going to do cross references and searching. SQL stands for Simple Query Language, it's really easy to make queries with SQL. With flat files, you need to roll your own search routines and this can be a huge bottleneck on your code. If you go brute force looking every single record in your thousand+ database, you're sure that will take a while. If you decide to optimize your searches and build your own indexing and searching, then you'll spend a lot of time in there. So, for my projects, I settle like this: if there's heavy searching go with SQL, if it's just data storage and retrieval, then stack files will do. I must say, I am in love with stack files, they are so flexible! Cheers andre On 2/6/08, Tiemo Hollmann TB wrote: > Hi Derek, > > > > > Like I said though, it depends entire upon the type of database you are > > working with. I don't use SQL as I find it to be rather bulky. I use > > Flat Files, and I write all of my own database handlers, so my coding is > > not dependent on SQL or some other type of database and it's limitations. > > Interesting to read, did you ever compared the performance on "big" datas? > Up to now I havn't found a performing way how to loop through 20.000 records > in a flat file for generic selection with a search term compared with a > select - where. Looping through 20.000 records and searching for a sting > with lineoffset() to select a list of datas wasn't fast enough for me. > Perhaps you found a better trick? > > Tiemo > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From runrev at dreamscapesoftware.com Wed Feb 6 14:34:44 2008 From: runrev at dreamscapesoftware.com (Derek Bump) Date: Wed, 06 Feb 2008 13:34:44 -0600 Subject: AW: AW: AW: filling a db on CD, what happens? In-Reply-To: <004e01c868ed$ac7f4960$18b2a8c0@TiemoPC2> References: <004e01c868ed$ac7f4960$18b2a8c0@TiemoPC2> Message-ID: <47AA0BD4.3040004@dreamscapesoftware.com> Tiemo, When it comes to huge databases with records in the thousands then yes, I do resort to other database engines. But as of yet, I have not been involved in projects that large. Most of my projects involve small databases, usually with records well under 1,000. So flat-file is the way I usually to go. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___________________________________________________________________ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ Tiemo Hollmann TB wrote: > Interesting to read, did you ever compared the performance on "big" datas? > Up to now I havn't found a performing way how to loop through 20.000 records > in a flat file for generic selection with a search term compared with a > select - where. Looping through 20.000 records and searching for a sting > with lineoffset() to select a list of datas wasn't fast enough for me. > Perhaps you found a better trick? > > Tiemo > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Wed Feb 6 16:42:09 2008 From: chipp at chipp.com (Chipp Walters) Date: Wed, 6 Feb 2008 15:42:09 -0600 Subject: Tracking different behavior from Standalone to IDE Message-ID: <7aa52a210802061342h7fe4451em1ce0b2faa1511190@mail.gmail.com> Interesting. I'm creating a realtime project manager, sorta like the old MacProject, but with more lines (wires). You can drag the little 'tiles' around, hook them up to other 'tiles', etc. Fun stuff. For this sorta thing, I typically use a display list manager, so I can easily perform multiple undos, redos and load/unload 'projects.' So, part of my display list manager is the display list renderer. It walks through the list and renders the tiles and associated connecting lines. During this process, I'm creating quite a few lines, and naming them on the fly. For naming them I'm using this function (Chris helped me with) to create unique names: function GUID put "" into tGUID put binarydecode("H*",md5digest(the hostname & the milliseconds),tGUID) into t return tGUID end GUID Works like a champ. But when I created a standalone, the wires didn't 'track' correctly and got all messed up. It turns out they were being created and named FASTER than 1 per 1000th of a second! Who would've guessed. So, I changed the GUID function thusly: function GUID put "" into tGUID wait 1 millisecs put binarydecode("H*",md5digest(the hostname & the milliseconds),tGUID) into t return tGUID end GUID Anyway, I couldn't believe how fast Rev created these lines. From livfoss at mac.com Wed Feb 6 16:52:36 2008 From: livfoss at mac.com (Graham Samuel) Date: Wed, 6 Feb 2008 22:52:36 +0100 Subject: AW: where to put handlers? In-Reply-To: <20080206180005.A3C3A488DBB@mail.runrev.com> References: <20080206180005.A3C3A488DBB@mail.runrev.com> Message-ID: On Wed, 06 Feb 2008 09:24:49 -0800, Richard Gaskin wrote: > > Devin Asay wrote: >> I have two objections to placing all handlers high in the message >> hierarchy. >> >> 1. It destroys the modularity/object-oriented-ish-ness of Revolution >> stacks. If I create a particularly brilliant object (or at least a >> complicated object that is "good enough") I often want to re-use it >> in other projects. If I've separated the scripting from the objects >> it becomes much more difficult. > > But sometimes that modest effort can pay big dividends down the road. > > For example, I have a table object that I use throughout many of the > apps I write. It has a lot of code, and parts are rather tricky, > so if > I replicated it I'd have a lot of replicated code and if I need to > change it I'd have a lot of work applying those changes to each > instance. > > So instead I have as little code as possible in the group itself, and > put most of the code in a library. There's only one copy of the code, > and maintaining and enhancing it is a breeze. Richard I think I see what you''re getting at. Sometimes in an approximately object-oriented way, I have found that I want different objects to react differently to the same message: for example in a simple circuit simulation that I wrote, there are different objects represented by groups or buttons, each of which represents an electrical component in the circuit. Having worked out that we had a live circuit, my app sent a message "apply voltage" to each component in turn. Within each individual component there was a behaviour (a method, I suppose) which applied just to that type - a light bulb would light, a motor would animate, etc. The method was hidden within the object rather than being further up the hierarchy were it had no business to be, as it were. This seemed to me a powerful technique, and indeed one which has far more general application than my simple example. However I do see that if there was a lot of complex code needed e.g. to make the bulb light, and that at the same time there were several instances of that object, e.g. a lot of light bulbs, then that code should be in one place (a library) rather than being replicated in the body of each component. So I don't think the code in the kind of objects I described could be reduced to nothing (unless the library contained a lot of impenetrable switch statements to distinguish the different component cases). I guess this is what you mean by having "as little code as possible in the group itself". This is not the same as "no code in the group itself", which seems to me a key point. Graham ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From revdev at pdslabs.net Wed Feb 6 17:44:27 2008 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 06 Feb 2008 14:44:27 -0800 Subject: ANN: Plugin: Lock and Unlock Stacks Message-ID: <47AA384B.2060303@pdslabs.net> I often work on multistack applications where many of the stacks are password-protected. I finally built a tool that gets me in and out of those scripts quickly! Maybe it can reduce the password nuisance factor for you too. You can get it by executing this in Rev's message box: go url "http://pdslabs.net/stacks/Lock_and_Unlock_Stacks.rev" Or by traditional download: http://pdslabs.net/stacks/Lock_and_Unlock_Stacks.zip Or to see what else is available, go here: http://pdslabs.net/downloads/index.html Thanks - -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From revdev at pdslabs.net Wed Feb 6 17:44:40 2008 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 06 Feb 2008 14:44:40 -0800 Subject: ANN: Plugin: Shell Command Help Message-ID: <47AA3858.7040301@pdslabs.net> If you use Rev's shell() function frequently, you may find this new plugin helpful. It was tested (and works!) on Mac OS X, Windows XP and Ubuntu Linux. (It is saved in stackFileVersion 2.4) You can get it by executing this in Rev's message box: go url "http://pdslabs.net/stacks/Shell_Command_Help.rev" Or by traditional download: http://pdslabs.net/stacks/Shell_Command_Help.rev.zip Or to see what else is available, go here: http://pdslabs.net/downloads/index.html Thanks - -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From chipp at chipp.com Wed Feb 6 17:48:08 2008 From: chipp at chipp.com (Chipp Walters) Date: Wed, 6 Feb 2008 16:48:08 -0600 Subject: revBrowser Memory Leak In-Reply-To: <39E4D248-C98C-4870-A1E6-27A70711B303@comcast.net> References: <39E4D248-C98C-4870-A1E6-27A70711B303@comcast.net> Message-ID: <7aa52a210802061448p5d8c6b81obbf3dfaf746bff1e@mail.gmail.com> Thomas, It sounds like Rev isn't quitting correctly. Sometimes this can happen when threads are open. If you're on a Mac, search the archives for information on quitting Rev using Applescript. I seem to think something was posted about this a few months ago. I've used the following quitMe handler to successfully quit on both Mac and PC: on closeStack --> CALLED WHEN SOMEONE CLOSES THE MAIN WINDOW get the short name of the owner of the target if it is "myMainStack" then quitMe end closeStack on quitMe if the environment is not "development" then else --> PUT YOUR CLOSE BROWSER CODE HERE cancelPendingMessages quit end if else --> PUT YOUR CLOSE BROWSER CODE HERE close this stack end if end quitMe on cancelPendingMessages repeat for each line L in the pendingMessages cancel item 1 of L end repeat end cancelPendingMessages From steve.taxcalc at hotmail.co.uk Wed Feb 6 18:40:13 2008 From: steve.taxcalc at hotmail.co.uk (Steve Checkley) Date: Wed, 6 Feb 2008 23:40:13 +0000 Subject: List or forum? Message-ID: Hello all, Over the last few weeks, I've mainly been posting to the forum. I've come across one or two snags in my application's development and so have posted my questions to the forum, as usual. As they're not exactly beginner level problems, would I be better off asking the more advanced questions here? Or do the helpful peeps here look at the forum too? For the curious... I'm having problems working out when a group of controls are being clipped as the user resizes, so I can turn on scrollbars as necessary. I can't find a built in way or doing this, so thought I'd ask before I start writing my own way of doing things. The other question was getting the Core Image visual effects to work as I move from card to card, with screen locking and unlocking en route. There must be something I'm missing here! Cheers, Steve _________________________________________________________________ Free games, great prizes - get gaming at Gamesbox. http://www.searchgamesbox.com From steve.taxcalc at hotmail.co.uk Wed Feb 6 18:47:11 2008 From: steve.taxcalc at hotmail.co.uk (Steve Checkley) Date: Wed, 6 Feb 2008 23:47:11 +0000 Subject: Doing my own geometry Message-ID: Hello all, A short while back, I remember seeing a thread about doing ones own geometry and not having to rely up the geometry manager. I've had a go at writing my own, mainly so I can have a growbox that looks like it belongs to an OS X bottombar. However, there's a great deal of lag as the window updates. I'd like to ask those who've written their own managers whether they were able to overcome the lag in the screen redraws and create a routine that's quick as the native live resizing? Also, I only appear to have had geometry manager muck things up when I edited the properties of a control in a group. Are there any other risks that I should be aware of if I stick with it? Cheers, Steve _________________________________________________________________ Share what Santa brought you https://www.mycooluncool.com From 3mcgrath at comcast.net Wed Feb 6 18:54:20 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Wed, 6 Feb 2008 18:54:20 -0500 Subject: revBrowser Memory Leak In-Reply-To: <7aa52a210802061448p5d8c6b81obbf3dfaf746bff1e@mail.gmail.com> References: <39E4D248-C98C-4870-A1E6-27A70711B303@comcast.net> <7aa52a210802061448p5d8c6b81obbf3dfaf746bff1e@mail.gmail.com> Message-ID: <66B937E7-C531-461B-B727-698936D7BD5E@comcast.net> Chipp, Thanks for the script. I will implement it. After a few visits to the Apple store it seems I might have a bad memory chip and or logic board. They have ordered both. For now I removed the second 2 GB chip and things are back up and running. We know at least one of the chips is bad. So, with that said this may or may not be a rev issue and it may just be because I have been doing so much work lately in rev that it seemed like rev may have been suspect. Thanks again, Tom On Feb 6, 2008, at 5:48 PM, Chipp Walters wrote: > Thomas, > > It sounds like Rev isn't quitting correctly. Sometimes this can > happen when > threads are open. If you're on a Mac, search the archives for > information on > quitting Rev using Applescript. I seem to think something was posted > about > this a few months ago. > > I've used the following quitMe handler to successfully quit on both > Mac and > PC: From chipp at chipp.com Wed Feb 6 19:29:20 2008 From: chipp at chipp.com (Chipp Walters) Date: Wed, 6 Feb 2008 18:29:20 -0600 Subject: List or forum? In-Reply-To: References: Message-ID: <7aa52a210802061629q6bee6971n765286dee4e65efd@mail.gmail.com> Steve, check out the formattedwidth and formattedheight properties of a group. They will tell you whether or not you need to show scrollbars. From luis at anachreon.co.uk Wed Feb 6 19:37:17 2008 From: luis at anachreon.co.uk (Luis) Date: Thu, 07 Feb 2008 00:37:17 +0000 Subject: AW: AW: filling a db on CD, what happens? In-Reply-To: <7c87a2a10802061112r1fc16454k665353f96a6ecf2c@mail.gmail.com> References: <47A9EF10.1040209@dreamscapesoftware.com> <004e01c868ed$ac7f4960$18b2a8c0@TiemoPC2> <7c87a2a10802061112r1fc16454k665353f96a6ecf2c@mail.gmail.com> Message-ID: <47AA52BD.90004@anachreon.co.uk> That'd be Structured Query Language, don't be that kind to it... Cheers, Luis. Andre Garzia wrote: > Tiemo, > > I've been using both RDBMS and flat files. A quick opinion is that > with SQL you don't need to reinvent the wheel and this is specially > good when you're going to do cross references and searching. SQL > stands for Simple Query Language, it's really easy to make queries > with SQL. > > With flat files, you need to roll your own search routines and this > can be a huge bottleneck on your code. If you go brute force looking > every single record in your thousand+ database, you're sure that will > take a while. If you decide to optimize your searches and build your > own indexing and searching, then you'll spend a lot of time in there. > > So, for my projects, I settle like this: if there's heavy searching go > with SQL, if it's just data storage and retrieval, then stack files > will do. > > I must say, I am in love with stack files, they are so flexible! > > Cheers > andre > > On 2/6/08, Tiemo Hollmann TB wrote: >> Hi Derek, >> >>> Like I said though, it depends entire upon the type of database you are >>> working with. I don't use SQL as I find it to be rather bulky. I use >>> Flat Files, and I write all of my own database handlers, so my coding is >>> not dependent on SQL or some other type of database and it's limitations. >> Interesting to read, did you ever compared the performance on "big" datas? >> Up to now I havn't found a performing way how to loop through 20.000 records >> in a flat file for generic selection with a search term compared with a >> select - where. Looping through 20.000 records and searching for a sting >> with lineoffset() to select a list of datas wasn't fast enough for me. >> Perhaps you found a better trick? >> >> Tiemo >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > From hershf at rgllc.us Wed Feb 6 20:37:14 2008 From: hershf at rgllc.us (Hershel Fisch) Date: Wed, 06 Feb 2008 20:37:14 -0500 Subject: Cgi and Database Message-ID: Hi all I'm in the works of creating a web site rev CGI which the interface is almost done, And now I'm stuck when it comes to the database part. Have no idea how to work this out tried various different way's and ???? E.g. #!revolution on startup put 1 & getTip1() into theData # write minimal set of HTTP headers to stdout put "Content-Type: text/html" & cr put "Content-Length:" && the length of theData & cr & cr put theData end startup function getTip1 get revGetDatabaseDriverPath() return it end getTip1 function getTip2 get revOpenDatabase("sqlite","http://localhost/cgi-bin/testdb.db", , , , ) return it end getTip2 function getTip3 get revOpenDatabase("sqlite","testdb.db", , , , ) return it end getTip3 "ERROR 500" Any help would be appreciated. Hershel Fisch From jacque at hyperactivesw.com Wed Feb 6 23:29:30 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 06 Feb 2008 22:29:30 -0600 Subject: List or forum? In-Reply-To: References: Message-ID: <47AA892A.8030707@hyperactivesw.com> Steve Checkley wrote: > Hello all, > > Over the last few weeks, I've mainly been posting to the forum. I've > come across one or two snags in my application's development and so > have posted my questions to the forum, as usual. > > As they're not exactly beginner level problems, would I be better off > asking the more advanced questions here? Or do the helpful peeps here > look at the forum too? Some people prefer one over the other, some read both. For the best possible coverage, I'd say post both places. While there are a lot of professional developers here on the list, any kind of question is welcome. We don't necessarily have to be the "advanced" list. Anything is fair game. Fire away. > > For the curious... > > I'm having problems working out when a group of controls are being > clipped as the user resizes, so I can turn on scrollbars as > necessary. I can't find a built in way or doing this, so thought I'd > ask before I start writing my own way of doing things. Someone already suggested looking at the formattedheight and formattedwidth of the field, which would give the info you want. That would work fine. Another thing I sometimes do is just set the scrollbars permanently. If the field fits, they'll be blank and pretty much unnoticeable. If the field overflows, they automatically enable. The engine knows. Another trick is to put the entire contents of the card into a group which is the same size as the card. Turn on the group's scrollbars. As long as you have a resizestack handler that sets the size of the group to the size of the card, the scrollbars will take care of themselves. This only works though if you are happy allowing the entire card's contents to scroll rather than resizing all the objects on the card. > > The other question was getting the Core Image visual effects to work > as I move from card to card, with screen locking and unlocking en > route. There must be something I'm missing here! > Can you explain more about what doesn't work? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Feb 6 23:37:06 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 06 Feb 2008 22:37:06 -0600 Subject: Doing my own geometry In-Reply-To: References: Message-ID: <47AA8AF2.3030401@hyperactivesw.com> Steve Checkley wrote: > A short while back, I remember seeing a thread about doing ones own > geometry and not having to rely up the geometry manager. > > I've had a go at writing my own, mainly so I can have a growbox that > looks like it belongs to an OS X bottombar. However, there's a great > deal of lag as the window updates. > > I'd like to ask those who've written their own managers whether they > were able to overcome the lag in the screen redraws and create a > routine that's quick as the native live resizing? I've never noticed any lag and I've had some pretty intense resizestack handlers. If you are game to post a script, or even just some pseudocode, I'm sure we can help. Managing a single growbox should be almost instant. If you have liveresizing turned on, it could slow things down because the resizestack message gets sent repeatedly. Even so, managing only an object or two shouldn't make much difference. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Feb 7 00:00:30 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 06 Feb 2008 23:00:30 -0600 Subject: ANN: Plugin: Shell Command Help In-Reply-To: <47AA3858.7040301@pdslabs.net> References: <47AA3858.7040301@pdslabs.net> Message-ID: <47AA906E.20500@hyperactivesw.com> Phil Davis wrote: > If you use Rev's shell() function frequently, you may find this new > plugin helpful. How very useful. Thanks! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sunshine at public.kherson.ua Thu Feb 7 01:02:12 2008 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu, 07 Feb 2008 08:02:12 +0200 Subject: filling a db on CD, what happens? In-Reply-To: <47A9EF10.1040209@dreamscapesoftware.com> Message-ID: On 6/2/08 7:32 PM, "Derek Bump" wrote: Hi All, In general case Databases (w.g. SqlLite or Valentina) will not allow you do this on CD. You will get exception/error on the first attempt to do INSERT/UPDATE/DELETE ... CREATE/ALTER TABLE In the same time, you can with Valentina (and it seems with SqlLite also) create RAM-only database and then use it. Difference only that your data will not be saved to CD when your app quits. On the other hand, RAM based db can be about 10 times faster than disk-based one. :-) > Tiemo, > > It depends on how the Database is handled. You will have to either test > it out, or read the documentation for the database type you are working > with. > > The other solutions presented are definitely the best way to go. Create > your "default" database and burn it to CD. When the program on the CD > is launched, copy it to the user's hard drive and start using that copy > to work with. > > Like I said though, it depends entire upon the type of database you are > working with. I don't use SQL as I find it to be rather bulky. I use > Flat Files, and I write all of my own database handlers, so my coding is > not dependent on SQL or some other type of database and it's limitations. > > The advantage and disadvantage of programming is that sometimes you have > to re-invent the wheel. That's just how it goes. > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com --------------- > Tiemo Hollmann TB wrote: >> Hi Derek, >> >>> When you open a file or program, it is placed into memory. From there, >>> you can fill variables, fields, properties, etc. You just can't save >>> those changes back to the file on the CD. >> >> yes, but isn't this the same with a database, as long, as I don't want to >> save the changes? Or is a database an exception with this handling and is >> only the current sql set in memory - probably!? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From pepetoo at cox.net Thu Feb 7 01:15:42 2008 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Wed, 6 Feb 2008 22:15:42 -0800 Subject: filling a db on CD, what happens? In-Reply-To: References: Message-ID: <66E2CF79-76E8-40FF-8D91-E06DDA0D36E2@cox.net> Question: If you were to use a Writable CD would it be possible to save the Data? Joe Wilkins On Feb 6, 2008, at 10:02 PM, Ruslan Zasukhin wrote: > On 6/2/08 7:32 PM, "Derek Bump" wrote: > > Hi All, > > In general case Databases (w.g. SqlLite or Valentina) will not allow > you do > this on CD. You will get exception/error on the first attempt to do > INSERT/UPDATE/DELETE ... CREATE/ALTER TABLE > > In the same time, you can with Valentina (and it seems with SqlLite > also) > create RAM-only database and then use it. Difference only that your > data > will not be saved to CD when your app quits. > > On the other hand, RAM based db can be about 10 times faster than > disk-based > one. :-) > >> Tiemo, >> >> It depends on how the Database is handled. You will have to either >> test >> it out, or read the documentation for the database type you are >> working >> with. >> >> The other solutions presented are definitely the best way to go. >> Create >> your "default" database and burn it to CD. When the program on the >> CD >> is launched, copy it to the user's hard drive and start using that >> copy >> to work with. >> >> Like I said though, it depends entire upon the type of database you >> are >> working with. I don't use SQL as I find it to be rather bulky. I >> use >> Flat Files, and I write all of my own database handlers, so my >> coding is >> not dependent on SQL or some other type of database and it's >> limitations. >> >> The advantage and disadvantage of programming is that sometimes you >> have >> to re-invent the wheel. That's just how it goes. >> >> >> Derek Bump >> Dreamscape Software >> http://www.dreamscapesoftware.com > > --------------- >> Tiemo Hollmann TB wrote: >>> Hi Derek, >>> >>>> When you open a file or program, it is placed into memory. From >>>> there, >>>> you can fill variables, fields, properties, etc. You just can't >>>> save >>>> those changes back to the file on the CD. >>> >>> yes, but isn't this the same with a database, as long, as I don't >>> want to >>> save the changes? Or is a database an exception with this handling >>> and is >>> only the current sql set in memory - probably!? > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution Joe Lewis Wilkins pepetoo at cox.net From sunshine at public.kherson.ua Thu Feb 7 02:22:41 2008 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu, 07 Feb 2008 09:22:41 +0200 Subject: filling a db on CD, what happens? In-Reply-To: <66E2CF79-76E8-40FF-8D91-E06DDA0D36E2@cox.net> Message-ID: On 7/2/08 8:15 AM, "Joe Lewis Wilkins" wrote: > Question: If you were to use a Writable CD would it be possible to > save the Data? No :-) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From viktoras at ekoinf.net Thu Feb 7 02:43:58 2008 From: viktoras at ekoinf.net (viktoras didziulis) Date: Thu, 07 Feb 2008 09:43:58 +0200 Subject: filling a db on CD, what happens? In-Reply-To: <66E2CF79-76E8-40FF-8D91-E06DDA0D36E2@cox.net> References: <66E2CF79-76E8-40FF-8D91-E06DDA0D36E2@cox.net> Message-ID: <47AAB6BE.6010405@ekoinf.net> what about storing data to an external database on a remote server ?.. Or is the data too user specific or privacy sensitive (or how is it called correctly in English?..) and there is no point to save it at all? What about using usb flashdrive instead of CD ? Or simply putting the application online to be downloaded and installed locally or maybe load and run directly from the web server, if it is small enough ? Viktoras From toolbook at kestner.de Thu Feb 7 03:09:43 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 7 Feb 2008 09:09:43 +0100 Subject: AW: filling a db on CD, what happens? In-Reply-To: <47AAB6BE.6010405@ekoinf.net> Message-ID: <002401c86960$cc2039a0$18b2a8c0@TiemoPC2> Thanks to all of your know how, I have get a lot of helpful suggestions. AS always there are a lot of different approaches to get to your target. Any remote or online constructions can't be done, because I have also very basic equipped single user without internet connection (yes there are still some of these species :) In my project, I think I will go with valentine db because I have robust multi user support, integrated encryption feature and sql for fast selection in 20.000 records. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von viktoras didziulis > Gesendet: Donnerstag, 7. Februar 2008 08:44 > An: How to use Revolution > Betreff: Re: filling a db on CD, what happens? > > what about storing data to an external database on a remote server ?.. > Or is the data too user specific or privacy sensitive (or how is it > called correctly in English?..) and there is no point to save it at all? > What about using usb flashdrive instead of CD ? Or simply putting the > application online to be downloaded and installed locally or maybe load > and run directly from the web server, if it is small enough ? > > Viktoras > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jmyepes at mac.com Thu Feb 7 04:26:41 2008 From: jmyepes at mac.com (Josep) Date: Thu, 7 Feb 2008 01:26:41 -0800 (PST) Subject: Standalone problems with dbSQLite Message-ID: <15330096.post@talk.nabble.com> Hi, First, thanks to all for yours replies. I build a standalone with dbSQLite support, the generation is succesfull, no warnings. But when I run the app this can't connect to database, in fact seems that not found any related to sqlite... I must register something related to sqlite before? Any idea? Cheers, Josep -- View this message in context: http://www.nabble.com/Standalone-problems-with-dbSQLite-tp15330096p15330096.html Sent from the Revolution - User mailing list archive at Nabble.com. From eric.chatonet at sosmartsoftware.com Thu Feb 7 04:55:50 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 7 Feb 2008 10:55:50 +0100 Subject: Standalone problems with dbSQLite In-Reply-To: <15330096.post@talk.nabble.com> References: <15330096.post@talk.nabble.com> Message-ID: Hi Josep, Le 7 f?vr. 08 ? 10:26, Josep a ?crit : > Hi, > > First, thanks to all for yours replies. > > I build a standalone with dbSQLite support, the generation is > succesfull, no > warnings. But when I run the app this can't connect to database, in > fact > seems that not found any related to sqlite... > > I must register something related to sqlite before? > > Any idea? > > Cheers, > Josep Two important things to do: 1. Include dbSQLite when building your app; see Inclusions in the 'General' pane of the Standalone Application Setting window (Menu File). 2. Use revSetDatabaseDriverPath command to indicate to your app where is the db driver. A smart way to achieve this is to have a substack of your mainstack saved as a standalone (named below "Externals") and at preOpenstack of your mainstack/standalone to use: set the externals of stack "Externals" to tExternals revSetDatabaseDriverPath tExternalFolderPath tExternals is a cr delimited list of all the paths to the externals you want to use tExternalFolderPath is the path to the folder where you have put the db driver. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From wow at together.net Thu Feb 7 10:00:07 2008 From: wow at together.net (Richard Miller) Date: Thu, 7 Feb 2008 10:00:07 -0500 Subject: Cgi and Database In-Reply-To: References: Message-ID: Hershel, I'm not sure if this is the answer to your question, but I have found problems with using http-based url's from inside the cgi folder. You might try removing the "http://localhost/cgi-bin" portion, since it appears the database is already inside the cgi-bin directory. Another option is to use a conventional flat file database (i.e. text file). I've been using that with Rev cgi with no problem. Richard On Feb 6, 2008, at 8:37 PM, Hershel Fisch wrote: > Hi all I'm in the works of creating a web site rev CGI which the > interface > is almost done, And now I'm stuck when it comes to the database > part. Have > no idea how to work this out tried various different way's and ???? > E.g. > > #!revolution > > on startup > put 1 & getTip1() into theData > # write minimal set of HTTP headers to stdout > put "Content-Type: text/html" & cr > put "Content-Length:" && the length of theData & cr & cr > put theData > end startup > > function getTip1 > get revGetDatabaseDriverPath() > return it > end getTip1 > > function getTip2 > get revOpenDatabase("sqlite","http://localhost/cgi-bin/ > testdb.db", , , , ) > return it > end getTip2 > > function getTip3 > get revOpenDatabase("sqlite","testdb.db", , , , ) > return it > end getTip3 > "ERROR 500" > > Any help would be appreciated. > Hershel Fisch > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From hershf at rgllc.us Thu Feb 7 11:13:04 2008 From: hershf at rgllc.us (Hershel Fisch) Date: Thu, 07 Feb 2008 11:13:04 -0500 Subject: Cgi and Database (stick to standards) In-Reply-To: Message-ID: On 2/7/08 10:00 AM, "Richard Miller" wrote: > Hershel, Hi, and thanks, > > I'm not sure if this is the answer to your question, but I have found > problems with using http-based url's from inside the cgi folder. You > might try removing the "http://localhost/cgi-bin" portion, since it > appears the database is already inside the cgi-bin directory. For the cgi, I don't use the "http" because I got to understand (after a lot of struggle) that that?s only for the apache server other then that I use the regular path, e.g. In the same folder I just put "filex.x" for the document folder I use "/filex.x". Also I tried everything I could think of. As you could see below in the examples. > > Another option is to use a conventional flat file database (i.e. text > file). I've been using that with Rev cgi with no problem. I don?t think that it will work with a million record plus, db. > > Richard But what I do see that no way to invest in a non standard item or project unless you know it in and out other wise you might end up in trouble. I put in a lot of time and effort in a web site doing the front end and it is very nice and works good but what does it matter the face if the brain is dead. (despite the advise not to because its not standard and might end up in hot water in case I will need help and to use "PHP") Thanks, Hershel > > > > On Feb 6, 2008, at 8:37 PM, Hershel Fisch wrote: > >> Hi all I'm in the works of creating a web site rev CGI which the >> interface >> is almost done, And now I'm stuck when it comes to the database >> part. Have >> no idea how to work this out tried various different way's and ???? >> E.g. >> >> #!revolution >> >> on startup >> put 1 & getTip1() into theData >> # write minimal set of HTTP headers to stdout >> put "Content-Type: text/html" & cr >> put "Content-Length:" && the length of theData & cr & cr >> put theData >> end startup >> >> function getTip1 >> get revGetDatabaseDriverPath() >> return it >> end getTip1 >> >> function getTip2 >> get revOpenDatabase("sqlite","http://localhost/cgi-bin/ >> testdb.db", , , , ) >> return it >> end getTip2 >> >> function getTip3 >> get revOpenDatabase("sqlite","testdb.db", , , , ) >> return it >> end getTip3 >> "ERROR 500" >> >> Any help would be appreciated. >> Hershel Fisch >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From rgould8 at aol.com Thu Feb 7 11:46:59 2008 From: rgould8 at aol.com (rgould8 at aol.com) Date: Thu, 07 Feb 2008 11:46:59 -0500 Subject: Paying side-project for someone: Safari/Firefox bookmark/homepage app Message-ID: <8CA37C0310239BF-904-224@FWM-D26.sysops.aol.com> I have a need to hire someone for a fairly short-term project.? It's for a client who needs to an app to: 1)? alter the user's homepage URL in their browser, and 2)? add 1 bookmark to their browser.? (It's for an ISP) Specs: This only needs to work on a Mac, in Tiger and Leopard. Browsers:? Safari 2, Safari 3, and maybe Firefox if possible. It needs to be a standalone executable.? Doesn't matter to me what it is written in.? It does need to be something that can be double-clicked from the desktop. After speaking with some engineers, the thinking is that this could all be done using Apple's sync-services in Cocoa.? (Using Apple's method of allowing apps to update browser booksmarks during the syncing process).? That way the browser doesn't have to quit or require authentification. I'm sure a Rev app could be written as well, but to edit the browser's pref files for bookmarks, the browser would have to quit first.? I'd like to avoid that if possible. My understanding is that this cannot be done within a web-page itself due to security-reasons.? If this assumption is not true, please let me know. Please email me off the list if you know how to pull this off, and what you'd charge for such a task. My off-list email is:? GouldIMG at mac.com ________________________________________________________________________ More new features than ever. Check out the new AOL Mail ! - http://webmail.aol.com From ShieldsOnTour at gmail.com Thu Feb 7 12:18:29 2008 From: ShieldsOnTour at gmail.com (Tim Shields) Date: Thu, 7 Feb 2008 09:18:29 -0800 (PST) Subject: Cgi and Database (stick to standards) In-Reply-To: References: Message-ID: Hi Hershel, What platform are you running on? Also, which version of revolution? There was some DB/CGI related problems with the earlier 2.9 Beta - although I think we've fixed them in the latest Beta. Regards, Tim. On 7 Feb, 16:13, Hershel Fisch wrote: > On 2/7/08 10:00 AM, "Richard Miller" wrote: > > > Hershel, > Hi, and thanks, > > > I'm not sure if this is the answer to your question, but I have found > > problems with using http-based url's from inside the cgi folder. You > > might try removing the "http://localhost/cgi-bin" portion, since it > > appears the database is already inside the cgi-bin directory. > > For the cgi, I don't use the "http" because I got to understand (after a lot > of struggle) that that?s only for the apache server other then that I use > the regular path, e.g. In the same folder I just put "filex.x" for the > document folder I use "/filex.x". Also I tried everything I could think of. > As you could see below in the examples. > > > > > Another option is to use a conventional flat file database (i.e. text > > file). I've been using that with Rev cgi with no problem. > > I don?t think that it will work with a million record plus, db. > > > Richard > > But what I do see that no way to invest in a non standard item or project > unless you know it in and out other wise you might end up in trouble. I put > in a lot of time and effort in a web site doing the front end and it is very > nice and works good but what does it matter the face if the brain is dead. > (despite the advise not to because its not standard and might end up in hot > water in case I will need help and to use "PHP") > Thanks, Hershel > > > > > > > On Feb 6, 2008, at 8:37 PM, Hershel Fisch wrote: > > >> Hi all I'm in the works of creating a web site rev CGI ?which the > >> interface > >> is almost done, And now I'm stuck when it comes to the database > >> part. Have > >> no idea how to work this out tried various different way's and ???? > >> E.g. > > >> #!revolution > > >> on startup > >> ? put 1 & getTip1() into theData > >> ? # write minimal set of HTTP headers to stdout > >> ? put "Content-Type: text/html" & cr > >> ? put "Content-Length:" && the length of theData & cr & cr > >> ? put ?theData > >> end startup > > >> function getTip1 > >> ? get ?revGetDatabaseDriverPath() > >> ? return it > >> end getTip1 > > >> function getTip2 > >> ? get revOpenDatabase("sqlite","http://localhost/cgi-bin/ > >> testdb.db", , , , ) > >> ? return it > >> end getTip2 > > >> function getTip3 > >> ? get revOpenDatabase("sqlite","testdb.db", , , , ) > >> ? return it > >> end getTip3 > >> "ERROR 500" > > >> Any help would be appreciated. > >> Hershel Fisch > > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolut... at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > > use-revolution mailing list > > use-revolut... at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription > > preferences: > >http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolut... at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences:http://lists.runrev.com/mailman/listinfo/use-revolution From andre at andregarzia.com Thu Feb 7 12:47:37 2008 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 7 Feb 2008 15:47:37 -0200 Subject: Paying side-project for someone: Safari/Firefox bookmark/homepage app In-Reply-To: <8CA37C0310239BF-904-224@FWM-D26.sysops.aol.com> References: <8CA37C0310239BF-904-224@FWM-D26.sysops.aol.com> Message-ID: <7c87a2a10802070947ib1a40e3pcdd5da51bc018e83@mail.gmail.com> Rob, This is trickier than it seems from a Revolution standpoint. I just noticed that setting the home page on safari preferences on leopard, is not setting it for firefox like it did on the past. So safari is no longer acquiring its home page from the WWWHomepage key in com.apple.internetconfig.plist or com.apple.internetconfigpriv.plist, which means that "We don't have a clue where it is storing it!" (tm). Browsers such as Opera, IE and Firefox have a built-in javascript function to add bookmarks, it varies from browser to browser but it is there. Safari did not implement such features, most of the bookmark adding tools out there are scripting key presses thru "GUI Events" or some other applescript way to control the input. You may have a winner thru sync services but still making an external to call Objective-C/Cocoa code is not trivial since externals are C/C++ based. I am still trying to do that kind of call here with my levels of frustration going ever higher. You may be in need of some Objective-C command line tool to bundle inside an Revolution application bundle... that might work. This is my two cents for those that want to tackle such problem. Andre On 2/7/08, rgould8 at aol.com wrote: > I have a need to hire someone for a fairly short-term project.? It's for a client who needs to an app to: > > 1)? alter the user's homepage URL in their browser, and > 2)? add 1 bookmark to their browser.? (It's for an ISP) > > Specs: > > This only needs to work on a Mac, in Tiger and Leopard. > > Browsers:? Safari 2, Safari 3, and maybe Firefox if possible. > > It needs to be a standalone executable.? Doesn't matter to me what it is written in.? It > does need to be something that can be double-clicked from the desktop. > > After speaking with some engineers, the thinking is that this could all be done using > Apple's sync-services in Cocoa.? (Using Apple's method of allowing apps to update browser booksmarks > during the syncing process).? That way the browser doesn't have to quit or require authentification. > > I'm sure a Rev app could be written as well, but to edit the browser's pref files for bookmarks, the > browser would have to quit first.? I'd like to avoid that if possible. > > My understanding is that this cannot be done within a web-page itself due to security-reasons.? If > this assumption is not true, please let me know. > > Please email me off the list if you know how to pull this off, and what you'd charge for such a task. > > My off-list email is:? GouldIMG at mac.com > > > > > > > ________________________________________________________________________ > More new features than ever. Check out the new AOL Mail ! - http://webmail.aol.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From steve.taxcalc at hotmail.co.uk Thu Feb 7 12:53:35 2008 From: steve.taxcalc at hotmail.co.uk (Steve Checkley) Date: Thu, 7 Feb 2008 17:53:35 +0000 Subject: Doing my own geometry In-Reply-To: <20080206153517.87ACD488DAB@mail.runrev.com> References: <20080206153517.87ACD488DAB@mail.runrev.com> Message-ID: Hi Jacque, Unfortunately, I've deleted the original handlers and gone back to using Rev's own geometry manager. I'd placed a button in the bottom right of the window and turned on live resizing. In pseudocode, the button's script ran along the lines of: on mouseDown repeat while the mouse is down set the rect of this stack in relation to the mouseLoc (fixing min and max rects) end repeat end mouseDown on resizeStack lock screen -- geometry script in here unlock screen end resizeStack I have a feeling that I may still have been relying upon rev to actually handle the geometry and was calling revUpdateGeometry but I can't remember now. Mind you, when I was playing around, I didn't have a lot on the card, so maybe not. My brain's a bit fried at the moment, I'm afraid! Hmmm... I might have another look at this to see whether moving objects directly in code works quicker that I remember. Thanks for pointing me in possibly the right direction! Steve _________________________________________________________________ Free games, great prizes - get gaming at Gamesbox. http://www.searchgamesbox.com From andre at andregarzia.com Thu Feb 7 12:54:45 2008 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 7 Feb 2008 15:54:45 -0200 Subject: AW: AW: filling a db on CD, what happens? In-Reply-To: <47AA52BD.90004@anachreon.co.uk> References: <47A9EF10.1040209@dreamscapesoftware.com> <004e01c868ed$ac7f4960$18b2a8c0@TiemoPC2> <7c87a2a10802061112r1fc16454k665353f96a6ecf2c@mail.gmail.com> <47AA52BD.90004@anachreon.co.uk> Message-ID: <7c87a2a10802070954u248394b7ma88caa521805874b@mail.gmail.com> Oops... my bad... :D On 2/6/08, Luis wrote: > That'd be Structured Query Language, don't be that kind to it... > > Cheers, > > Luis. > > > Andre Garzia wrote: > > Tiemo, > > > > I've been using both RDBMS and flat files. A quick opinion is that > > with SQL you don't need to reinvent the wheel and this is specially > > good when you're going to do cross references and searching. SQL > > stands for Simple Query Language, it's really easy to make queries > > with SQL. > > > > With flat files, you need to roll your own search routines and this > > can be a huge bottleneck on your code. If you go brute force looking > > every single record in your thousand+ database, you're sure that will > > take a while. If you decide to optimize your searches and build your > > own indexing and searching, then you'll spend a lot of time in there. > > > > So, for my projects, I settle like this: if there's heavy searching go > > with SQL, if it's just data storage and retrieval, then stack files > > will do. > > > > I must say, I am in love with stack files, they are so flexible! > > > > Cheers > > andre > > > > On 2/6/08, Tiemo Hollmann TB wrote: > >> Hi Derek, > >> > >>> Like I said though, it depends entire upon the type of database you are > >>> working with. I don't use SQL as I find it to be rather bulky. I use > >>> Flat Files, and I write all of my own database handlers, so my coding is > >>> not dependent on SQL or some other type of database and it's limitations. > >> Interesting to read, did you ever compared the performance on "big" datas? > >> Up to now I havn't found a performing way how to loop through 20.000 records > >> in a flat file for generic selection with a search term compared with a > >> select - where. Looping through 20.000 records and searching for a sting > >> with lineoffset() to select a list of datas wasn't fast enough for me. > >> Perhaps you found a better trick? > >> > >> Tiemo > >> > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From steve.taxcalc at hotmail.co.uk Thu Feb 7 12:59:03 2008 From: steve.taxcalc at hotmail.co.uk (Steve Checkley) Date: Thu, 7 Feb 2008 17:59:03 +0000 Subject: List or forum? In-Reply-To: <20080206153517.87ACD488DAB@mail.runrev.com> References: <20080206153517.87ACD488DAB@mail.runrev.com> Message-ID: Thanks for the tip on resizing the group. I'm certain that it'll work! Most groups in my application won't need to show scrollbars as even when the user reduces the size of the window to it's smallest allowed, they will still be visible. For this reason, I only want them to turn on when necessary. I've had the CoreImage question answered on the forum and hopefully will be checking it out tonight. I love having such a helpful resource behind Rev. Sometimes it's hard to see the solution to a problem, although you know one exists. Except for unified toolbars, maybe! :oD Cheers, Steve _________________________________________________________________ Free games, great prizes - get gaming at Gamesbox. http://www.searchgamesbox.com From stephenREVOLUTION2 at barncard.com Thu Feb 7 13:30:06 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Thu, 7 Feb 2008 10:30:06 -0800 Subject: modal dialog from clone In-Reply-To: <8CA37C0310239BF-904-224@FWM-D26.sysops.aol.com> References: <8CA37C0310239BF-904-224@FWM-D26.sysops.aol.com> Message-ID: good morning all, Is there a way to make a cloned stack directly appear as a modal window? clone stack tStackname as modal -----------doesn't go modal but no error appears clone modal tStackname -- error -- clone stack tStackname put it into tNewStackName -- get new stack id hide tNewStackName modal tNewStackName -- flickers -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From jacque at hyperactivesw.com Thu Feb 7 13:51:38 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 07 Feb 2008 12:51:38 -0600 Subject: Doing my own geometry In-Reply-To: References: <20080206153517.87ACD488DAB@mail.runrev.com> Message-ID: <47AB533A.3070008@hyperactivesw.com> Steve Checkley wrote: > Hi Jacque, > > Unfortunately, I've deleted the original handlers and gone back to using Rev's own geometry manager. > > I'd placed a button in the bottom right of the window and turned on live resizing. > > In pseudocode, the button's script ran along the lines of: > > on mouseDown > repeat while the mouse is down > set the rect of this stack in relation to the mouseLoc (fixing min and max rects) > end repeat > end mouseDown > > on resizeStack > lock screen > -- geometry script in here > unlock screen > end resizeStack A big bottleneck here is using a mouseDown handler, which you don't need. Also, "repeat while the mouse is down" is not a great idea in Revolution. Polling the mouse is very slow and taxes the CPU, and there is almost always a better way to manage things. See an explanation here: At any rate, a resizeStack handler manages all the mousedown stuff for you as well as locking and unlocking the screen. It is also unnecessary to set the rect of the stack because when the user drags the resize button the rect is set automatically. You don't need to deal with any of those things, all you need to do is catch the resizeStack message and adjust the geometry when it happens. You'll only need one handler, something like this: on resizeStack x,y set the bottomright of btn "fakeCloseBox" to x,y end resizeStack That's it. The resizeStack message passes two parameters that represent the current horizontal and vertical dimensions of the bottom right corner of the window. All you need to do it set your button to that location. This should be very fast, whether liveResizing is turned on or off. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Thu Feb 7 14:04:44 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 7 Feb 2008 20:04:44 +0100 Subject: Doing my own geometry In-Reply-To: References: <20080206153517.87ACD488DAB@mail.runrev.com> Message-ID: <29511A62-F1E5-49DA-8FE1-3F04DAD35ACB@economy-x-talk.com> Hi Steve, Why do you need a button to resize a window? Why can't you use OSX's own little handle in the bottom-right of each resizable window? Everybody who uses the geometry manager is bound to run into its limits some day, losing a lot of time fixing it or even having to completely recreate one's work. I'd use a script that responds to the resizeStack message rather than the geometry manager. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 7-feb-2008, om 18:53 heeft Steve Checkley het volgende geschreven: > Hi Jacque, > > Unfortunately, I've deleted the original handlers and gone back to > using Rev's own geometry manager. > > I'd placed a button in the bottom right of the window and turned on > live resizing. > > In pseudocode, the button's script ran along the lines of: > > on mouseDown > repeat while the mouse is down > set the rect of this stack in relation to the mouseLoc > (fixing min and max rects) > end repeat > end mouseDown > > on resizeStack > lock screen > -- geometry script in here > unlock screen > end resizeStack > > I have a feeling that I may still have been relying upon rev to > actually handle the geometry and was calling revUpdateGeometry but > I can't remember now. Mind you, when I was playing around, I didn't > have a lot on the card, so maybe not. My brain's a bit fried at the > moment, I'm afraid! > > Hmmm... I might have another look at this to see whether moving > objects directly in code works quicker that I remember. > > Thanks for pointing me in possibly the right direction! > > > > Steve From hershf at rgllc.us Thu Feb 7 14:32:08 2008 From: hershf at rgllc.us (Hershel Fisch) Date: Thu, 07 Feb 2008 14:32:08 -0500 Subject: Cgi and Database (stick to standards) In-Reply-To: Message-ID: On 2/7/08 12:18 PM, "Tim Shields" wrote: Hi, On my Mac 10.3.9, I'm using 212 what I down loaded thru hyperactiv's tutorial. And by the way I copied and unpacked the engine stuffed it into the cgi-bin but didn't work so I put back the older one. On the server where I intend to host it actual is a linux v? Downloaded the latest Linux from the /downloads And doesn't work on any of em, unless there is any other engines to work with or whatever. Thanks, Hershel And while we are at it, I'd like to suggest if any body has any interest to make RUN REV a bit of a standard CGI tool, I think it should be marketed separately on its own page, with its own identity,free and very well documented as well, with the benefit to use the same language for full applications for well..... full price. > Hi Hershel, > > What platform are you running on? Also, which version of revolution? > There was some DB/CGI related problems with the earlier 2.9 Beta - > although I think we've fixed them in the latest Beta. > > Regards, > > Tim. > > > On 7 Feb, 16:13, Hershel Fisch wrote: >> On 2/7/08 10:00 AM, "Richard Miller" wrote: >> >>> Hershel, >> Hi, and thanks, >> >>> I'm not sure if this is the answer to your question, but I have found >>> problems with using http-based url's from inside the cgi folder. You >>> might try removing the "http://localhost/cgi-bin" portion, since it >>> appears the database is already inside the cgi-bin directory. >> >> For the cgi, I don't use the "http" because I got to understand (after a lot >> of struggle) that that?s only for the apache server other then that I use >> the regular path, e.g. In the same folder I just put "filex.x" for the >> document folder I use "/filex.x". Also I tried everything I could think of. >> As you could see below in the examples. >> >> >> >>> Another option is to use a conventional flat file database (i.e. text >>> file). I've been using that with Rev cgi with no problem. >> >> I don?t think that it will work with a million record plus, db. >> >>> Richard >> >> But what I do see that no way to invest in a non standard item or project >> unless you know it in and out other wise you might end up in trouble. I put >> in a lot of time and effort in a web site doing the front end and it is very >> nice and works good but what does it matter the face if the brain is dead. >> (despite the advise not to because its not standard and might end up in hot >> water in case I will need help and to use "PHP") >> Thanks, Hershel >> >> >> >> >> >>> On Feb 6, 2008, at 8:37 PM, Hershel Fisch wrote: >> >>>> Hi all I'm in the works of creating a web site rev CGI ?which the >>>> interface >>>> is almost done, And now I'm stuck when it comes to the database >>>> part. Have >>>> no idea how to work this out tried various different way's and ???? >>>> E.g. >> >>>> #!revolution >> >>>> on startup >>>> ? put 1 & getTip1() into theData >>>> ? # write minimal set of HTTP headers to stdout >>>> ? put "Content-Type: text/html" & cr >>>> ? put "Content-Length:" && the length of theData & cr & cr >>>> ? put ?theData >>>> end startup >> >>>> function getTip1 >>>> ? get ?revGetDatabaseDriverPath() >>>> ? return it >>>> end getTip1 >> >>>> function getTip2 >>>> ? get revOpenDatabase("sqlite","http://localhost/cgi-bin/ >>>> testdb.db", , , , ) >>>> ? return it >>>> end getTip2 >> >>>> function getTip3 >>>> ? get revOpenDatabase("sqlite","testdb.db", , , , ) >>>> ? return it >>>> end getTip3 >>>> "ERROR 500" >> >>>> Any help would be appreciated. >>>> Hershel Fisch >> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolut... at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolut... at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolut... at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences:http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From wow at together.net Thu Feb 7 14:44:07 2008 From: wow at together.net (Richard Miller) Date: Thu, 7 Feb 2008 14:44:07 -0500 Subject: Getting the frame size of a wmv or mpg video for Rev In-Reply-To: References: Message-ID: <3D42C9C5-5925-4455-BD3E-170D30E4A672@together.net> Any ideas how I can get the frame size of a .wmv or .mpg file for use in a Rev app? I don't want my users to have to have QT installed. I'm using FFMPEG to convert videos to Flash (from inside Rev), and I want to be able to limit the frame size to 480x360. It's easy to get this data for avi's and mov's, but what about the other two formats? (This is for Windows only) Thanks. Richard Miller From chipp at chipp.com Thu Feb 7 15:09:09 2008 From: chipp at chipp.com (Chipp Walters) Date: Thu, 7 Feb 2008 14:09:09 -0600 Subject: modal dialog from clone In-Reply-To: References: <8CA37C0310239BF-904-224@FWM-D26.sysops.aol.com> Message-ID: <7aa52a210802071209x6816d1a7nbaff3bb91a7ae378@mail.gmail.com> Steve, Don't know if this works, but perhaps something along the lines of: lock screen put the loc of stack tStackname into tOldLoc set the loc of stack tStackname to -2000,-2000 clone stack tStackName hide it put it into tNewStackName set the loc of it to tOldLoc set the loc of stack tStackname to tOldLoc modal tNewStackName unlock screen From steve.taxcalc at hotmail.co.uk Thu Feb 7 17:20:45 2008 From: steve.taxcalc at hotmail.co.uk (Steve Checkley) Date: Thu, 7 Feb 2008 22:20:45 +0000 Subject: Doing my own geometry Message-ID: Wow! I didn't know how to work better with the mouse. That's really useful! The reason I want to have my own growbox is because I've drawn an OS X style bottom bar. The standard growbox in Rev doesn't look right, I'm afraid, especially in Leopard. I'm very much a stickler for making things look right. Cheers, Steve _________________________________________________________________ Get Hotmail on your mobile, text MSN to 63463! http://mobile.uk.msn.com/pc/mail.aspx From jacque at hyperactivesw.com Thu Feb 7 18:07:17 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 07 Feb 2008 17:07:17 -0600 Subject: Doing my own geometry In-Reply-To: References: Message-ID: <47AB8F25.6080306@hyperactivesw.com> Steve Checkley wrote: > Wow! I didn't know how to work better with the mouse. That's really useful! > > The reason I want to have my own growbox is because I've drawn an OS > X style bottom bar. The standard growbox in Rev doesn't look right, I'm afraid, especially in Leopard. > > I'm very much a stickler for making things look right. Rev uses OS system calls to draw windows, so I'm not sure what wouldn't look right. Some of what I said won't apply if you don't have a native growbox for the user to drag though. You would, in that case, have to roll your own stack resizing handlers. Rev 2.9 has some Leopard compatibility fixes and isn't too far off, so you might be able to save yourself some trouble if you wait a bit. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Thu Feb 7 20:51:20 2008 From: chipp at chipp.com (Chipp Walters) Date: Thu, 7 Feb 2008 19:51:20 -0600 Subject: Doing my own geometry In-Reply-To: <47AB8F25.6080306@hyperactivesw.com> References: <47AB8F25.6080306@hyperactivesw.com> Message-ID: <7aa52a210802071751j20ec7847tc21679c22c021a02@mail.gmail.com> You can grab my altLayout manager at: http://www.altuit.com/webs/altuit2/altPluginDownload/Downloads.htm and it will place a grow box in the bottom right hand corner of your stack, though it is a WinXP one. Just change the graphic. The code manages the resizing of the window w/out using mouseStilldown. I think I got it a couple hundred years ago from Scotty Rossi. (I know how much he likes being called Scotty;-) From stephenREVOLUTION2 at barncard.com Thu Feb 7 20:56:50 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Thu, 7 Feb 2008 17:56:50 -0800 Subject: modal dialog from clone In-Reply-To: <7aa52a210802071209x6816d1a7nbaff3bb91a7ae378@mail.gmail.com> References: <8CA37C0310239BF-904-224@FWM-D26.sysops.aol.com> <7aa52a210802071209x6816d1a7nbaff3bb91a7ae378@mail.gmail.com> Message-ID: Thanks, Chipp. I forgot about the offscreen trick... sqb >Steve, > >Don't know if this works, but perhaps something along the lines of: > >lock screen >put the loc of stack tStackname into tOldLoc >set the loc of stack tStackname to -2000,-2000 >clone stack tStackName >hide it >put it into tNewStackName >set the loc of it to tOldLoc >set the loc of stack tStackname to tOldLoc >modal tNewStackName >unlock screen -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From scott at tactilemedia.com Thu Feb 7 21:16:02 2008 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 07 Feb 2008 18:16:02 -0800 Subject: Doing my own geometry In-Reply-To: <7aa52a210802071751j20ec7847tc21679c22c021a02@mail.gmail.com> Message-ID: Recently, Chipp Walters wrote: > You can grab my altLayout manager at: > > http://www.altuit.com/webs/altuit2/altPluginDownload/Downloads.htm > > ... I think I got it a couple > hundred years ago from Scotty Rossi. No, I believe that would be Chipp -- any "alt-" thing is part of the vast empire (altEmpire) that is Altuit. > (I know how much he likes being called Scotty;-) I'd rather be called "coach". Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From scott at tactilemedia.com Thu Feb 7 21:19:30 2008 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 07 Feb 2008 18:19:30 -0800 Subject: Doing my own geometry In-Reply-To: Message-ID: >> ... I think I got it a couple >> hundred years ago from Scotty Rossi. > > No, I believe that would be Chipp -- any "alt-" thing is part of the vast > empire (altEmpire) that is Altuit. I need to read better -- now I see that you (Chipp) were the dude responding to the geometry thread. How do you like me lecturing you about your own company? :-) Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From runrev at dreamscapesoftware.com Thu Feb 7 23:22:32 2008 From: runrev at dreamscapesoftware.com (Derek Bump) Date: Thu, 07 Feb 2008 22:22:32 -0600 Subject: Getting Rev to utilize Volume Shadow Services Message-ID: <47ABD908.4040009@dreamscapesoftware.com> I am trying to gain the ability to read the data of a file, even if it is open, or locked, by another program. I don't need to edit the data in any way, just read it. I understand that this can be done utilizing Volume Shadow Services within Windows XP, but I haven't the faintest idea as to how I would achieve this within Revolution. My Google searches are turning up nothing that really helps me, except for something about using .NET to get it. But I'm still nowhere near being able to figure this out. Does anyone have any ideas on how I can read a file within Windows, even if it happens to be locked by another program? Even being able to read a "shadow" copy of the file is acceptable. Any ideas... please! Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ From chipp at chipp.com Thu Feb 7 23:38:19 2008 From: chipp at chipp.com (Chipp Walters) Date: Thu, 7 Feb 2008 22:38:19 -0600 Subject: Doing my own geometry In-Reply-To: References: Message-ID: <7aa52a210802072038h7b9eb437t2fbc66d7b2b74275@mail.gmail.com> eh, no problem coach! From runrev at dreamscapesoftware.com Fri Feb 8 00:52:03 2008 From: runrev at dreamscapesoftware.com (Derek Bump) Date: Thu, 07 Feb 2008 23:52:03 -0600 Subject: Getting Rev to utilize Volume Shadow Services In-Reply-To: <47ABD908.4040009@dreamscapesoftware.com> References: <47ABD908.4040009@dreamscapesoftware.com> Message-ID: <47ABEE03.6010805@dreamscapesoftware.com> Ah Ha! Sometimes it's how you word your questions in Google that yields a good answer. I still have to test this first, but the following solutions have presented themselves... 1. Copy the "locked" file to a temporary location (Windows will allow this) and then read it's contents. 2. Use the program "Unlocker" (http://ccollomb.free.fr/unlocker/) from the command line to unlock the file. I've got my fingers crossed. :) Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ Derek Bump wrote: > I am trying to gain the ability to read the data of a file, even if it > is open, or locked, by another program. I don't need to edit the data > in any way, just read it. > > I understand that this can be done utilizing Volume Shadow Services > within Windows XP, but I haven't the faintest idea as to how I would > achieve this within Revolution. > > My Google searches are turning up nothing that really helps me, except > for something about using .NET to get it. But I'm still nowhere near > being able to figure this out. > > Does anyone have any ideas on how I can read a file within Windows, even > if it happens to be locked by another program? Even being able to read > a "shadow" copy of the file is acceptable. > > Any ideas... please! > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bdrunrev at gmail.com Fri Feb 8 03:59:20 2008 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 8 Feb 2008 08:59:20 +0000 Subject: Cgi and Database (stick to standards) In-Reply-To: References: Message-ID: I'm not sure what kind of database requirements you have. But in my tests using queries performing multiple joins on several tables containing between 1 million and 9 million rows each, Rev cgi completely blew away Java and relational databases: http://lists.runrev.com/pipermail/use-revolution/2008-January/106071.html If you need multi-user/multi-application update/insert access to the data, then Rev is probably not the right solution. For other situations, I would say don't dismiss Rev's native data structures without thorough testing of the speed differences when compared to a RDBMS. Bernard On 2/7/08, Hershel Fisch wrote: > > Another option is to use a conventional flat file database (i.e. text > > file). I've been using that with Rev cgi with no problem. > I don?t think that it will work with a million record plus, db. > > From ambassador at fourthworld.com Fri Feb 8 10:45:50 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 08 Feb 2008 07:45:50 -0800 Subject: Cgi and Database (stick to standards) Message-ID: <47AC792E.4000907@fourthworld.com> Bernard Devlin wrote: > I'm not sure what kind of database requirements you have. But in my > tests using queries performing multiple joins on several tables > containing between 1 million and 9 million rows each, Rev cgi > completely blew away Java and relational databases: > > http://lists.runrev.com/pipermail/use-revolution/2008-January/106071.html This is very encouraging, as the method use describe in that post is exactly what I'll be making for a client in two weeks. That post mentions "Pierre Sahores' tutorial on creating persistent Rev CGI processes" - do you have the link for that handy? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From runrev at dreamscapesoftware.com Fri Feb 8 11:22:20 2008 From: runrev at dreamscapesoftware.com (Derek Bump) Date: Fri, 08 Feb 2008 10:22:20 -0600 Subject: An Update!!! OT: One Customer's Experience with her Computer's Warranty In-Reply-To: <47794BFC.40708@dreamscapesoftware.com> References: <47794BFC.40708@dreamscapesoftware.com> Message-ID: <47AC81BC.9010501@dreamscapesoftware.com> I have an update on the case of Gateway not wanting to resolve issues with one of my customer's computers. At my suggestion, my customer contacted our local NBC Affiliate, who in turn contacted Gateway about the situation. Gateway is now replacing my customer's computer with a newer model... free of charge. *fingers-crossed* Hopefully this one will work much better! They told her it will have more memory, a bigger hard drive, a better video card and Windows Vista (she wasn't sure what "flavor" of vista). It's still nice to know that TV reporters still have the influence they once had all to well. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___________________________________________________________________ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ Derek Bump wrote: > I just felt I should share this, as it's a rather interesting chain of > events. I have a customer that's been having problems with her brand > new Gateway computer (purchased 3 months ago). Thus far, here are the > list of problems encountered. > > > Problem #1: Blue Screen: Hard Drive Failure. > Solution: Drive reimaged by Service Center. > > Problem #2: Test Environment still loaded on PC from Service Center. > Solution: Operating System Resoration CD's mailed to customer. > > Problem #3: Blue Screen: Hard Drive Failure. Restoration CD's fail. > Solution: Drive replaced by Service Center. > > Problem #4: Customer Double-billed. > Solution: Unresolved. Gateway is "investigating the issue". > > Problem #5: Unable to Dialup to Internet. > Solution: Modem replaced with better quality modem (by Customer). > > Problem #6: Blue Screen: Video Card Failure. > Solution: New card being shipped to the customer. > > > I feel for the customer as she purchased this "high-end" machine for > business use. Vista's been nothing but problems when the computer is > running, and Gateway will not refund, nor will they replace the machine. > > I can only hope that the video card issue is the last in a long list of > problems. And there *was* one other issue, the installation CD for > Microsoft Office 2007 was damaged. Totally unrelated to Gateway, but > still a thorn in her side. > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com > > ___________________________________________________________________ > Compress your photos quickly and easily with JPEGCompress 2.9! > http://www.dreamscapesoftware.com/products/jpegcompress/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Fri Feb 8 11:44:38 2008 From: chipp at chipp.com (Chipp Walters) Date: Fri, 8 Feb 2008 10:44:38 -0600 Subject: Getting Rev to utilize Volume Shadow Services In-Reply-To: <47ABEE03.6010805@dreamscapesoftware.com> References: <47ABD908.4040009@dreamscapesoftware.com> <47ABEE03.6010805@dreamscapesoftware.com> Message-ID: <7aa52a210802080844v1db67c01p647db24203205eed@mail.gmail.com> If all you're trying to do is unlock a file, this should work for you: (WinXP) answer file "Chose file to unlock." if it is empty or the result is "cancel" then exit to top put it into tfile replace "/" with "\" in tfile put "attrib"&& quote & tfile & quote && "-R" into DosCommand set the hideConsoleWindows to true get shell (DosCommand) answer information tfile & cr & "Unlocked" From mikeythek at gmail.com Fri Feb 8 11:47:10 2008 From: mikeythek at gmail.com (Mikey) Date: Fri, 8 Feb 2008 11:47:10 -0500 Subject: An Update!!! OT: One Customer's Experience with her Computer's Warranty In-Reply-To: <47AC81BC.9010501@dreamscapesoftware.com> References: <47794BFC.40708@dreamscapesoftware.com> <47AC81BC.9010501@dreamscapesoftware.com> Message-ID: <9b408d8e0802080847r17520552n9cc9f5e5862fd7c3@mail.gmail.com> As a counter-comment, it's too bad that tv reporters can't think critically, but I digress. From runrev at dreamscapesoftware.com Fri Feb 8 11:58:03 2008 From: runrev at dreamscapesoftware.com (Derek Bump) Date: Fri, 08 Feb 2008 10:58:03 -0600 Subject: Getting Rev to utilize Volume Shadow Services In-Reply-To: <7aa52a210802080844v1db67c01p647db24203205eed@mail.gmail.com> References: <47ABD908.4040009@dreamscapesoftware.com> <47ABEE03.6010805@dreamscapesoftware.com> <7aa52a210802080844v1db67c01p647db24203205eed@mail.gmail.com> Message-ID: <47AC8A1B.5070403@dreamscapesoftware.com> Chipp, What I'm referring to is the file locking mechanism that is employed by the system. This mechanism is traditionally used when attempting to prevent 2 processes from opening the same file and essentially overwriting each other's data. http://en.wikipedia.org/wiki/File_locking But I'll test your suggestion out to see if it resolves the problem. If it does, it saves me the time trying to copy the file first. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___________________________________________________________________ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ Chipp Walters wrote: > If all you're trying to do is unlock a file, this should work for you: > (WinXP) > > answer file "Chose file to unlock." > if it is empty or the result is "cancel" then exit to top > put it into tfile > replace "/" with "\" in tfile > put "attrib"&& quote & tfile & quote && "-R" into DosCommand > set the hideConsoleWindows to true > get shell (DosCommand) > answer information tfile & cr & "Unlocked" > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From runrev at dreamscapesoftware.com Fri Feb 8 12:41:03 2008 From: runrev at dreamscapesoftware.com (Derek Bump) Date: Fri, 08 Feb 2008 11:41:03 -0600 Subject: Getting Rev to utilize Volume Shadow Services In-Reply-To: <47AC8A1B.5070403@dreamscapesoftware.com> References: <47ABD908.4040009@dreamscapesoftware.com> <47ABEE03.6010805@dreamscapesoftware.com> <7aa52a210802080844v1db67c01p647db24203205eed@mail.gmail.com> <47AC8A1B.5070403@dreamscapesoftware.com> Message-ID: <47AC942F.8070504@dreamscapesoftware.com> Well, I tested the following solutions... 1. Copy the file via the Windows Shell, then read it. 2. Use the "Unlocker" program via the Shell, then read it. 3. Use the script provided by Chipp (thank you Chipp). ... on Windows XP Home Edition w/ Service Pack 2 on the file: C:/Documents and Settings//ntuser.dat.LOG Windows does not seem to want to let that file go. I'll see if I can find another solution, but again, if anyone has any ideas I am all ears. Thanks! Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___________________________________________________________________ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ Derek Bump wrote: > Chipp, > > What I'm referring to is the file locking mechanism that is employed by > the system. This mechanism is traditionally used when attempting to > prevent 2 processes from opening the same file and essentially > overwriting each other's data. > > http://en.wikipedia.org/wiki/File_locking > > But I'll test your suggestion out to see if it resolves the problem. If > it does, it saves me the time trying to copy the file first. > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com > > ___________________________________________________________________ > Compress your photos quickly and easily with JPEGCompress 2.9! > http://www.dreamscapesoftware.com/products/jpegcompress/ > > > Chipp Walters wrote: >> If all you're trying to do is unlock a file, this should work for you: >> (WinXP) >> >> answer file "Chose file to unlock." >> if it is empty or the result is "cancel" then exit to top >> put it into tfile >> replace "/" with "\" in tfile >> put "attrib"&& quote & tfile & quote && "-R" into DosCommand >> set the hideConsoleWindows to true >> get shell (DosCommand) >> answer information tfile & cr & "Unlocked" >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Fri Feb 8 13:03:29 2008 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 8 Feb 2008 10:03:29 -0800 Subject: An Update!!! OT: One Customer's Experience with her Computer's Warranty References: <47794BFC.40708@dreamscapesoftware.com> <47AC81BC.9010501@dreamscapesoftware.com> Message-ID: "Derek- > Gateway is now replacing my customer's computer with a newer model... free > of charge. *fingers-crossed* Hopefully this one will work much better! > They told her it will have more memory, a bigger hard drive, a better > video card and Windows Vista (she wasn't sure what "flavor" of vista). Wow. I don't think I've seen "work much better" and "Vista" in the same paragraph outside of MS hype. Good luck with it. -- Mark Wieder mwieder at ahsoftware.net From jmyepes at mac.com Fri Feb 8 13:04:16 2008 From: jmyepes at mac.com (Josep) Date: Fri, 8 Feb 2008 10:04:16 -0800 (PST) Subject: Standalone problems with dbSQLite In-Reply-To: References: <15330096.post@talk.nabble.com> Message-ID: <15360810.post@talk.nabble.com> Hi Eric, Sorry, but I don't understand. I created a substack of the main stack called "Externals" and in the preOpenstack of my main stack I put: set the externals of stack "Externals" to tExternals revSetDatabaseDriverPath tExternalFolderPath I understant that all the linked externals files form the substack "Externals" will put in tExternals separated by CR. But tExternalFolderPath? Where I must inform it? or where? Where is better put the preOpenstack? in the card script or stack script? I'm confused,... :/ Cheers, Josep M ------ A smart way to achieve this is to have a substack of your mainstack saved as a standalone (named below "Externals") and at preOpenstack of your mainstack/standalone to use: set the externals of stack "Externals" to tExternals revSetDatabaseDriverPath tExternalFolderPath tExternals is a cr delimited list of all the paths to the externals you want to use tExternalFolderPath is the path to the folder where you have put the db driver. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- View this message in context: http://www.nabble.com/Standalone-problems-with-dbSQLite-tp15330096p15360810.html Sent from the Revolution - User mailing list archive at Nabble.com. From jmyepes at mac.com Fri Feb 8 13:21:24 2008 From: jmyepes at mac.com (Josep) Date: Fri, 8 Feb 2008 10:21:24 -0800 (PST) Subject: Standalone problems with dbSQLite In-Reply-To: References: <15330096.post@talk.nabble.com> Message-ID: <15361102.post@talk.nabble.com> Hi, Also when I try to create the standalone "Externals" an error is show saying that can't open the path... :( Any idea? Cheers, Josep -- View this message in context: http://www.nabble.com/Standalone-problems-with-dbSQLite-tp15330096p15361102.html Sent from the Revolution - User mailing list archive at Nabble.com. From runrev at dreamscapesoftware.com Fri Feb 8 13:34:21 2008 From: runrev at dreamscapesoftware.com (Derek Bump) Date: Fri, 08 Feb 2008 12:34:21 -0600 Subject: An Update!!! OT: One Customer's Experience with her Computer's Warranty In-Reply-To: References: <47794BFC.40708@dreamscapesoftware.com> <47AC81BC.9010501@dreamscapesoftware.com> Message-ID: <47ACA0AD.4080605@dreamscapesoftware.com> LOL. Now that I look at it, I'm a little shocked I said it. :) I suppose it's too late for her to ask for a PC preloaded with XP. Oh well. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___________________________________________________________________ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ Mark Wieder wrote: > "Derek- > >> Gateway is now replacing my customer's computer with a newer model... free >> of charge. *fingers-crossed* Hopefully this one will work much better! >> They told her it will have more memory, a bigger hard drive, a better >> video card and Windows Vista (she wasn't sure what "flavor" of vista). > > Wow. I don't think I've seen "work much better" and "Vista" in the same > paragraph outside of MS hype. > Good luck with it. > From geradamas at yahoo.com Fri Feb 8 14:07:01 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Fri, 8 Feb 2008 19:07:01 +0000 (GMT) Subject: Time to come out of our hibernation . . . Message-ID: <532533.39500.qm@web37501.mail.mud.yahoo.com> Any one who wants an invitation to work on the RR Documentation Wiki let me know; off-list, and I'll be glad to oblige. http://richmondsrevolution.pbwiki.com/FrontPage "Come On You'all" love, Richmond ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com From jmyepes at mac.com Fri Feb 8 14:45:05 2008 From: jmyepes at mac.com (Josep) Date: Fri, 8 Feb 2008 11:45:05 -0800 (PST) Subject: Standalone problems with dbSQLite In-Reply-To: References: <15330096.post@talk.nabble.com> Message-ID: <15362611.post@talk.nabble.com> Hi again, I'm crazy,... yesterday I can build the standalone without warning nor problems, but now can't find the dbsqlite driver?? ... How is organized the location of drivers in Mac OSX or how organize it Revolution? I have some one located into /users/xxx/Documents/My Revolution Studio/runtime/mac os x/Universal/externals/databaase drivers/ Is this the correct place to left the drivers? Where are installed from the standalone? Is correct copy the xxxdriverxxx.bundle into the "content" of the app? Any help are wellcome. Cheers, Josep M -- View this message in context: http://www.nabble.com/Standalone-problems-with-dbSQLite-tp15330096p15362611.html Sent from the Revolution - User mailing list archive at Nabble.com. From andre at andregarzia.com Fri Feb 8 17:22:12 2008 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 8 Feb 2008 20:22:12 -0200 Subject: RevOnRockets article on the current newsletter. Message-ID: <7c87a2a10802081422t56f6e7a1n490291d8387fb159@mail.gmail.com> Aloha Friends, I've just updated RevOnRockets to include the new RocketsCGI libraries. This new version has many improvements which I plan to describe in a series of articles, podcasts, personal talks whichever. The new libraries include for example a CURL library and a new flatfile library for saving sessions. I belive that RocketsCGI (Specially RocketsDebug) is the best friend of a web developer. Cheers andre -- http://www.andregarzia.com All We Do Is Code. From rjb at robelko.com Fri Feb 8 17:25:56 2008 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 8 Feb 2008 23:25:56 +0100 Subject: ANN: Plugin: Lock and Unlock Stacks In-Reply-To: <47AA384B.2060303@pdslabs.net> References: <47AA384B.2060303@pdslabs.net> Message-ID: On 06/02/08 at 14:44 -0800 Phil Davis apparently wrote: >I often work on multistack applications where many of the stacks are >password-protected. I finally built a tool that gets me in and out of >those scripts quickly! Maybe it can reduce the password nuisance factor >for you too. > >You can get it by executing this in Rev's message box: > go url "http://pdslabs.net/stacks/Lock_and_Unlock_Stacks.rev" > >Or by traditional download: > http://pdslabs.net/stacks/Lock_and_Unlock_Stacks.zip > >Or to see what else is available, go here: > http://pdslabs.net/downloads/index.html > >Thanks - >-- >Phil Davis > Your "lock stack..." button calls non-existing handler :( Robert From lan.kc.macmail at gmail.com Fri Feb 8 23:04:56 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 9 Feb 2008 12:04:56 +0800 Subject: filling a db on CD, what happens? In-Reply-To: References: <47A9EF10.1040209@dreamscapesoftware.com> Message-ID: On Feb 7, 2008 2:02 PM, Ruslan Zasukhin wrote: > > In general case Databases (w.g. SqlLite or Valentina) will not allow you > do > this on CD. You will get exception/error on the first attempt to do > INSERT/UPDATE/DELETE ... CREATE/ALTER TABLE > But what about a case where ALL you want to do is SELECT. Lets say you have a 'Tour of the Museum of Fine Art', a DB with a couple of entries for title,artist,year,description,style,image (image being a high resolution .jpg). Because of the images the whole lot comes to a couple of GBs so you put it on a DVD. The intention is only to 'view'. Is it possible to save the User the need to clog their HD by leaving the DB on DVD. What about a Hybrid. If the above is possible, then what about an approach where your Rev front end is stored on the Users HD and creates a small DB. The small DB has two entries, notes and a pointer to the read only DVD DB. In this way a user could enter their own notes about each painting in the museum, these notes would be written to the small DB and be remembered, and modifiable as required. NOTE. I appreciate that this is not the 'normal/fastest' way you'd handle this in a DB. I'm simply interested in whether this will work. Thanks From sunshine at public.kherson.ua Sat Feb 9 01:33:04 2008 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat, 09 Feb 2008 08:33:04 +0200 Subject: filling a db on CD, what happens? In-Reply-To: Message-ID: On 9/2/08 6:04 AM, "Kay C Lan" wrote: Hi Kay, > On Feb 7, 2008 2:02 PM, Ruslan Zasukhin wrote: > >> >> In general case Databases (w.g. SqlLite or Valentina) will not allow you >> do >> this on CD. You will get exception/error on the first attempt to do >> INSERT/UPDATE/DELETE ... CREATE/ALTER TABLE >> > > But what about a case where ALL you want to do is SELECT. Then no problems, and hundreds, usually Director Valentina developers, do this. They develop CD/DVD based projects -- for education, presentations, catalogs, games, ... --------- > Lets say you have a 'Tour of the Museum of Fine Art', a DB with a couple of > entries for title,artist,year,description,style,image (image being a high > resolution .jpg). Because of the images the whole lot comes to a couple of > GBs so you put it on a DVD. The intention is only to 'view'. Is it possible > to save the User the need to clog their HD by leaving the DB on DVD. Yes of course possible, why not? :-) Only difference here is that APPLICATION will work with TWO or MORE dbs: first db (read only) on DVD, second on the HDD. Also we have meet even more complex ideas, when play a third db which is online under Valentina Server. > What about a Hybrid. > > If the above is possible, then what about an approach where your Rev front > end is stored on the Users HD and creates a small DB. The small DB has two > entries, notes and a pointer to the read only DVD DB. In this way a user > could enter their own notes about each painting in the museum, these notes > would be written to the small DB and be remembered, and modifiable as > required. > > NOTE. I appreciate that this is not the 'normal/fastest' way you'd handle > this in a DB. I'm simply interested in whether this will work. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From revdev at pdslabs.net Sat Feb 9 02:13:46 2008 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 08 Feb 2008 23:13:46 -0800 Subject: ANN: Plugin: Lock and Unlock Stacks In-Reply-To: References: <47AA384B.2060303@pdslabs.net> Message-ID: <47AD52AA.5060407@pdslabs.net> Thanks Robert - it's fixed now. Phil Robert Brenstein wrote: > On 06/02/08 at 14:44 -0800 Phil Davis apparently wrote: >> I often work on multistack applications where many of the stacks are >> password-protected. I finally built a tool that gets me in and out of >> those scripts quickly! Maybe it can reduce the password nuisance factor >> for you too. >> >> You can get it by executing this in Rev's message box: >> go url "http://pdslabs.net/stacks/Lock_and_Unlock_Stacks.rev" >> >> Or by traditional download: >> http://pdslabs.net/stacks/Lock_and_Unlock_Stacks.zip >> >> Or to see what else is available, go here: >> http://pdslabs.net/downloads/index.html >> >> Thanks - >> -- >> Phil Davis >> > > Your "lock stack..." button calls non-existing handler :( > > Robert -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From eric.chatonet at sosmartsoftware.com Sat Feb 9 03:51:52 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 9 Feb 2008 09:51:52 +0100 Subject: Standalone problems with dbSQLite In-Reply-To: <15360810.post@talk.nabble.com> References: <15330096.post@talk.nabble.com> <15360810.post@talk.nabble.com> Message-ID: Hi Josep, As I said tExternals and tExternalFolderPath are two variables you have to feed correctly: tExternals is a cr delimited list of all the paths to the externals you want to use tExternalFolderPath is the path to the folder where you have put the db driver. Of course, these paths are dynamic ones: Getting the filename of your standalone, you are able to deduce the path to your externals according to the platform (OS X bundle or Win :-) Le 8 f?vr. 08 ? 19:04, Josep a ?crit : > Hi Eric, > > Sorry, but I don't understand. I created a substack of the main > stack called > "Externals" and in the preOpenstack of my main stack I put: > > set the externals of stack "Externals" to tExternals > revSetDatabaseDriverPath tExternalFolderPath > > I understant that all the linked externals files form the substack > "Externals" will put in tExternals separated by CR. > But tExternalFolderPath? Where I must inform it? or where? > > Where is better put the preOpenstack? in the card script or stack > script? > > I'm confused,... :/ > > Cheers, > Josep M Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From bdrunrev at gmail.com Sat Feb 9 06:16:46 2008 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sat, 9 Feb 2008 11:16:46 +0000 Subject: Cgi and Database (stick to standards) In-Reply-To: <47AC792E.4000907@fourthworld.com> References: <47AC792E.4000907@fourthworld.com> Message-ID: Hi Richard, I have a local copy of his tutorial + stacks, but I can't find it online anymore. I've written to Pierre to ask him if it's online, and if not if I can send you my copy. I'm quite sure he'll agree. Bernard On 2/8/08, Richard Gaskin wrote: > Bernard Devlin wrote: > > I'm not sure what kind of database requirements you have. But in my > > tests using queries performing multiple joins on several tables > > containing between 1 million and 9 million rows each, Rev cgi > > completely blew away Java and relational databases: > > > > http://lists.runrev.com/pipermail/use-revolution/2008-January/106071.html > > This is very encouraging, as the method use describe in that post is > exactly what I'll be making for a client in two weeks. > > That post mentions "Pierre Sahores' tutorial on creating persistent Rev > CGI processes" - do you have the link for that handy? > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From len-morgan at crcom.net Sat Feb 9 08:41:51 2008 From: len-morgan at crcom.net (Len Morgan) Date: Sat, 09 Feb 2008 07:41:51 -0600 Subject: Getting Rev to utilize Volume Shadow Services In-Reply-To: <47AC942F.8070504@dreamscapesoftware.com> References: <47ABD908.4040009@dreamscapesoftware.com> <47ABEE03.6010805@dreamscapesoftware.com> <7aa52a210802080844v1db67c01p647db24203205eed@mail.gmail.com> <47AC8A1B.5070403@dreamscapesoftware.com> <47AC942F.8070504@dreamscapesoftware.com> Message-ID: <47ADAD9F.4040407@crcom.net> I may be way off on this but isn't "ntuser.dat.LOG" a windows system file? Have you tried this with any other file in the same folder? While you may NEED this one particular file, Windows might not want to give it up. len Derek Bump wrote: > Well, I tested the following solutions... > > 1. Copy the file via the Windows Shell, then read it. > 2. Use the "Unlocker" program via the Shell, then read it. > 3. Use the script provided by Chipp (thank you Chipp). > > ... on Windows XP Home Edition w/ Service Pack 2 on the file: > C:/Documents and Settings//ntuser.dat.LOG > > Windows does not seem to want to let that file go. I'll see if I can > find another solution, but again, if anyone has any ideas I am all > ears. Thanks! > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com > > ___________________________________________________________________ > Compress your photos quickly and easily with JPEGCompress 2.9! > http://www.dreamscapesoftware.com/products/jpegcompress/ > > > Derek Bump wrote: >> Chipp, >> >> What I'm referring to is the file locking mechanism that is employed >> by the system. This mechanism is traditionally used when attempting >> to prevent 2 processes from opening the same file and essentially >> overwriting each other's data. >> >> http://en.wikipedia.org/wiki/File_locking >> >> But I'll test your suggestion out to see if it resolves the problem. >> If it does, it saves me the time trying to copy the file first. >> >> >> Derek Bump >> Dreamscape Software >> http://www.dreamscapesoftware.com >> >> ___________________________________________________________________ >> Compress your photos quickly and easily with JPEGCompress 2.9! >> http://www.dreamscapesoftware.com/products/jpegcompress/ >> >> >> Chipp Walters wrote: >>> If all you're trying to do is unlock a file, this should work for you: >>> (WinXP) >>> >>> answer file "Chose file to unlock." >>> if it is empty or the result is "cancel" then exit to top >>> put it into tfile >>> replace "/" with "\" in tfile >>> put "attrib"&& quote & tfile & quote && "-R" into DosCommand >>> set the hideConsoleWindows to true >>> get shell (DosCommand) >>> answer information tfile & cr & "Unlocked" >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jim at oyfconsulting.com Sat Feb 9 09:44:58 2008 From: jim at oyfconsulting.com (Jim Carwardine) Date: Sat, 09 Feb 2008 10:44:58 -0400 Subject: Can you create a Facebook widget with Rev? In-Reply-To: <7c87a2a10802081422t56f6e7a1n490291d8387fb159@mail.gmail.com> References: <7c87a2a10802081422t56f6e7a1n490291d8387fb159@mail.gmail.com> Message-ID: <3FE0A82B-99B1-4E3F-BA9B-C5C71C689EDC@oyfconsulting.com> Curious to know where Rev fits into the Facebook continuum... Jim Jim Carwardine, President & CEO OYF Consulting Ph. 902.823.2339 / 866.601.2339 Fx. 902.823-2139 StrategicDoing?: Execution depends on employees. Strategic Partner with HiringSmart Canada Ltd. -- From bvg at mac.com Sat Feb 9 11:39:50 2008 From: bvg at mac.com (=?WINDOWS-1252?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 9 Feb 2008 17:39:50 +0100 Subject: Can you create a Facebook widget with Rev? In-Reply-To: <3FE0A82B-99B1-4E3F-BA9B-C5C71C689EDC@oyfconsulting.com> References: <7c87a2a10802081422t56f6e7a1n490291d8387fb159@mail.gmail.com> <3FE0A82B-99B1-4E3F-BA9B-C5C71C689EDC@oyfconsulting.com> Message-ID: On 9 Feb 2008, at 15:44, Jim Carwardine wrote: > Curious to know where Rev fits into the Facebook continuum... Jim http://developers.facebook.com/documentation.php Rev can do HTTP requests, so all you need is an API key, and to follow their (quite understandably written) guidelines. have fun Bj?rnke -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From geradamas at yahoo.com Sat Feb 9 11:52:41 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sat, 9 Feb 2008 16:52:41 +0000 (GMT) Subject: "Read it and weep" Message-ID: <948683.80195.qm@web37503.mail.mud.yahoo.com> Well, I, for one, have been messing around with the Wiki: http://richmondsrevolution.pbwiki.com/FrontPage I would be very grateful if you could manage at least one of the following: 1. Have a look at it and send me, preferably constructive, off-list, feedback. 2. Have a look at it and think "I could contribute there" and send me an off-list request for an invitation. 3. Have a look at it and think "I could do a lot better" and send me an off-list request for an invitation. 3. Have a look at it and think "I could do a lot better" and start your own Wiki and let us, On-List, all know about it. sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com From DFlan at roadrunner.com Sat Feb 9 12:38:09 2008 From: DFlan at roadrunner.com (David Flanders) Date: Sat, 9 Feb 2008 12:38:09 -0500 Subject: Machine() reports unknown... Message-ID: <611C342B-ACF3-4649-8EFA-47D2FAC05864@roadrunner.com> Hi, just tested machine() in the message box and it returned "unknown". Any help? tia David David Flanders -------------------- DFlan at roadrunner.com -------------------- Environment: OSX 10.4.11 Intel core 2 duo 2.33 Ghz 17" PowerBook Pro RR 2.8.1 From capellan2000 at yahoo.com Sat Feb 9 13:21:50 2008 From: capellan2000 at yahoo.com (capellan) Date: Sat, 9 Feb 2008 10:21:50 -0800 (PST) Subject: Minimize Custom shaped stacks Message-ID: <15380763.post@talk.nabble.com> Hi all, Recently i was adding a Minimize button to a custom shaped stack, and to my surprise, the stack does not minimize at all, but moves near to the bottom of the screen where only a small portion of the top is visible. To maximize the stack, i just have to do is double click on the visible portion of the stack. Is this the normal behavior of minimized custom shaped stacks? I hoped that the minimized stack show a button in the bar, like toplevel stacks do. Any insight to correct this behavior is welcome. Thanks in advance alejandro -- View this message in context: http://www.nabble.com/Minimize-Custom-shaped-stacks-tp15380763p15380763.html Sent from the Revolution - User mailing list archive at Nabble.com. From kray at sonsothunder.com Sat Feb 9 14:10:39 2008 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 9 Feb 2008 13:10:39 -0600 Subject: Machine() reports unknown... In-Reply-To: <611C342B-ACF3-4649-8EFA-47D2FAC05864@roadrunner.com> References: <611C342B-ACF3-4649-8EFA-47D2FAC05864@roadrunner.com> Message-ID: <20080209131039228298.e7b4e62d@sonsothunder.com> On Sat, 9 Feb 2008 12:38:09 -0500, David Flanders wrote: > Hi, > > just tested machine() in the message box and it returned "unknown". > Any help? Well, if this is OS X, you can use shell() to get the data (you need to parse it a little though). Here's something to get you started: put shell("system_profiler SPHardwareDataType") into field 1 HTH, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From toeloop at swissonline.ch Sat Feb 9 14:51:28 2008 From: toeloop at swissonline.ch (=?ISO-8859-1?Q?Thomas_B=E4hler?=) Date: Sat, 9 Feb 2008 20:51:28 +0100 Subject: trunc Message-ID: <8E1CED5A-67BE-4CA0-B807-F443DBD919B8@swissonline.ch> Strange beahviour of the trunc function. This script: on mouseUp put 8.1 into Zahl put Zahl - trunc(Zahl) into Dezimal put Dezimal*60 & comma & trunc(Dezimal*60) end mouseUp should return 6,6 but instead I get 6,5 If I change the first line to put 8.2 into Zahl I get 12,11 with put 8.3 into Zahl I get 18,18 as expected RunRev 2.8.1 on Mac OSX 10.4.11 Any explanation? Thanks Thomas From mark at maseurope.net Sat Feb 9 15:05:26 2008 From: mark at maseurope.net (Mark Smith) Date: Sat, 9 Feb 2008 20:05:26 +0000 Subject: trunc In-Reply-To: <8E1CED5A-67BE-4CA0-B807-F443DBD919B8@swissonline.ch> References: <8E1CED5A-67BE-4CA0-B807-F443DBD919B8@swissonline.ch> Message-ID: Thomas, there is an explanation of anomalies with trunc() (and a solution) from Mark Waddingham here: http://thread.gmane.org/gmane.comp.ide.revolution.user/67370/focus=67373 Best Mark On 9 Feb 2008, at 19:51, Thomas B?hler wrote: > Strange beahviour of the trunc function. This script: > > on mouseUp > put 8.1 into Zahl > put Zahl - trunc(Zahl) into Dezimal > put Dezimal*60 & comma & trunc(Dezimal*60) > end mouseUp > > should return 6,6 > but instead I get 6,5 > > If I change the first line to > put 8.2 into Zahl > > I get 12,11 > > with > put 8.3 into Zahl > I get 18,18 as expected > > RunRev 2.8.1 on Mac OSX 10.4.11 > > Any explanation? > > Thanks Thomas > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mdswindell at cruzio.com Sat Feb 9 15:26:08 2008 From: mdswindell at cruzio.com (Mark Swindell) Date: Sat, 9 Feb 2008 12:26:08 -0800 Subject: video profiles license key? Message-ID: <11646750-87A5-4F8A-93FC-345B83A29F14@cruzio.com> I did a documentation search on profiles and got a video or pdf option of a tutorial on profiles. But to download either I have to enter my video profiles license key? What is that all about? Thanks, Mark From steve.taxcalc at hotmail.co.uk Sat Feb 9 15:36:00 2008 From: steve.taxcalc at hotmail.co.uk (Steve Checkley) Date: Sat, 9 Feb 2008 20:36:00 +0000 Subject: Doing my own geometry In-Reply-To: <20080209180005.F00C84890C6@mail.runrev.com> References: <20080209180005.F00C84890C6@mail.runrev.com> Message-ID: > Rev uses OS system calls to draw windows, so I'm not sure what wouldn't > look right. Some of what I said won't apply if you don't have a native > growbox for the user to drag though. You would, in that case, have to > roll your own stack resizing handlers. Rev 2.9 has some Leopard > compatibility fixes and isn't too far off, so you might be able to save > yourself some trouble if you wait a bit. I'm trying to emulate the look of Automator as it appears in Leopard. Its bottom bar contains some controls and is about 22 pixels high. The standard Rev growbox is that of a document, which would be something like 16 pixels tall. It also has a frame around it, which some Mac apps like Automator don't have. I'm quite excited about 2.9, but haven't spent too much time trying out the beta. I tried doing my own geometry with the mouseMove set up that you described so well in your article. I must admit it was a lot quicker but still not as fast as the native geometry manager. Mind you, I do most of my coding on an 800Mhz Mac and I am shifting a lot of images, buttons and fields about in order to get that perfect UI. I'll stick with the native geometry manager for the time being as I'm only aware of it mucking up in one situation only. Cheers, Steve _________________________________________________________________ Who's friends with who and co-starred in what? http://www.searchgamesbox.com/celebrityseparation.shtml From stephenREVOLUTION2 at barncard.com Sat Feb 9 15:43:06 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Sat, 9 Feb 2008 12:43:06 -0800 Subject: video profiles license key? In-Reply-To: <11646750-87A5-4F8A-93FC-345B83A29F14@cruzio.com> References: <11646750-87A5-4F8A-93FC-345B83A29F14@cruzio.com> Message-ID: the number is included in the email that you got when you paid for your license, or upgraded. >I did a documentation search on profiles and got a video or pdf >option of a tutorial on profiles. But to download either I have to >enter my video profiles license key? What is that all about? >Thanks, >Mark > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From tsnyder at mddev.com Sat Feb 9 17:34:39 2008 From: tsnyder at mddev.com (tsnyder at mddev.com) Date: Sat, 9 Feb 2008 17:34:39 -0500 (EST) Subject: Getting the frame size of a wmv or mpg video for Rev In-Reply-To: <20080208180005.E334F489FED@mail.runrev.com> References: <20080208180005.E334F489FED@mail.runrev.com> Message-ID: <51131.69.123.80.30.1202596479.squirrel@mail.mddev.com> > Any ideas how I can get the frame size of a .wmv or .mpg file for use > in a Rev app? I don't want my users to have to have QT installed. I'm > using FFMPEG to convert videos to Flash (from inside Rev), and I want > to be able to limit the frame size to 480x360. It's easy to get this > data for avi's and mov's, but what about the other two formats? (This > is for Windows only) You could write a quick external which uses DirectShow's IMediaDetector interface to query the files frame size. Best, Tuviah Snyder Lead programmer, MediaWan Solid State Logic, Inc. http://www.solid-state-logic.com/ From wow at together.net Sat Feb 9 19:59:49 2008 From: wow at together.net (Richard Miller) Date: Sat, 9 Feb 2008 19:59:49 -0500 Subject: Getting the frame size of a wmv or mpg video for Rev In-Reply-To: <51131.69.123.80.30.1202596479.squirrel@mail.mddev.com> References: <20080208180005.E334F489FED@mail.runrev.com> <51131.69.123.80.30.1202596479.squirrel@mail.mddev.com> Message-ID: <68BEA9A8-B291-462D-9D38-469063310A3B@together.net> No, Tuviah... YOU could write it. I can't. Wish I could, though. Thanks for the suggestion. I may have to take you up on it. Richard On Feb 9, 2008, at 5:34 PM, tsnyder at mddev.com wrote: >> Any ideas how I can get the frame size of a .wmv or .mpg file for use >> in a Rev app? I don't want my users to have to have QT installed. I'm >> using FFMPEG to convert videos to Flash (from inside Rev), and I want >> to be able to limit the frame size to 480x360. It's easy to get this >> data for avi's and mov's, but what about the other two formats? (This >> is for Windows only) > You could write a quick external which uses DirectShow's > IMediaDetector > interface to query the files frame size. > > Best, > Tuviah Snyder > Lead programmer, MediaWan > Solid State Logic, Inc. > http://www.solid-state-logic.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Sat Feb 9 21:03:40 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 09 Feb 2008 18:03:40 -0800 Subject: trunc Message-ID: <47AE5B7C.4080003@fourthworld.com> Thomas B?hler wrote: > Strange beahviour of the trunc function. This script: > > on mouseUp > put 8.1 into Zahl > put Zahl - trunc(Zahl) into Dezimal > put Dezimal*60 & comma & trunc(Dezimal*60) > end mouseUp > > should return 6,6 > but instead I get 6,5 > > If I change the first line to > put 8.2 into Zahl > > I get 12,11 > > with > put 8.3 into Zahl > I get 18,18 as expected > > RunRev 2.8.1 on Mac OSX 10.4.11 > > Any explanation? It works that way because of a widespread acceptance of the failure of machines to represent numbers logically. You can work around this using a function that apparently eludes the authors of most languages: function logicalTrunc n if n is not a number then return "NAN" get offset(".", n) if it > 0 then delete char it to -1 of n end if return n end logicalTrunc -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From steve.taxcalc at hotmail.co.uk Sat Feb 9 21:18:16 2008 From: steve.taxcalc at hotmail.co.uk (Steve Checkley) Date: Sun, 10 Feb 2008 02:18:16 +0000 Subject: Creating globals on the fly Message-ID: Hi all, It's getting late, so I'm probably missing something obvious. I'm trying to write a set of generic handlers that fetches and replaces data from a global variable that contains its data in a table (or array, if they're the same thing - not sure of the nomenclature here!). The reason I'm not working with variables directly is because in the future, I might want to swap saved files with a database. Plus, it's easier to save a few of these master variables to a file and clean out them out when the user loads in a new file. Anyways, when the variable hasn't been created, the handler works: it creates the new global variable and puts the required data into it. Lovely. Problem is, when I then try to use the handler to add a second line or replace theElements of the first, it creates an entirely new global varible with a name of the data I stuck in the correct global variable. Any help gratefully received! Steve -- on writeToTable whichTable, whichKey, whichCase, theElements do "global " & whichTable do "put " & whichTable && "into tempTable" set itemDelimiter to numToChar(28) put lineOffset (whichKey & "_" & whichCase, tempTable) into theLine if theLine> 0 then put theElements into item 4 of line theLine of tempTable else put whichKey&"_"&whichCase into line (number of lines of tempTable) + 1 of tempTable put whichKey into item 2 of last line of tempTable put whichCase into item 3 of last line of tempTable put theElements into item 4 of last line of tempTable end if do "put tempTable into" && whichTable end writeToTable _________________________________________________________________ Share what Santa brought you https://www.mycooluncool.com From steve.taxcalc at hotmail.co.uk Sat Feb 9 21:37:35 2008 From: steve.taxcalc at hotmail.co.uk (Steve Checkley) Date: Sun, 10 Feb 2008 02:37:35 +0000 Subject: Creating globals on the fly Message-ID: Gaaah, I worked it out. :o) When I executed the command, I needed to put the variable I was after (the one that was picked up by whichTable) into quotes! Works nicely now! Steve _________________________________________________________________ Share what Santa brought you https://www.mycooluncool.com From lan.kc.macmail at gmail.com Sun Feb 10 02:52:50 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 10 Feb 2008 15:52:50 +0800 Subject: filling a db on CD, what happens? In-Reply-To: References: Message-ID: On Feb 9, 2008 2:33 PM, Ruslan Zasukhin wrote: > > Also we have meet even more complex ideas, when play a third db which is > online under Valentina Server. > Hadn't thought that far in advance but good to know that such flexibility is possible. Thanks From lan.kc.macmail at gmail.com Sun Feb 10 03:15:01 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 10 Feb 2008 16:15:01 +0800 Subject: trunc In-Reply-To: <47AE5B7C.4080003@fourthworld.com> References: <47AE5B7C.4080003@fourthworld.com> Message-ID: On Feb 10, 2008 10:03 AM, Richard Gaskin wrote: > > function logicalTrunc n > if n is not a number then return "NAN" > get offset(".", n) > if it > 0 then > delete char it to -1 of n > end if > return n > end logicalTrunc > > or function anotherLogicalTrunc n if n is not a number then return "NAN" set the itemDelimiter to "." return item 1 of n end anotherLogicalTrunc From russell_martin at yahoo.com Sun Feb 10 12:46:40 2008 From: russell_martin at yahoo.com (Russell Martin) Date: Sun, 10 Feb 2008 09:46:40 -0800 (PST) Subject: "Set as Menu Bar on Mac OS" oddities Message-ID: <441280.46400.qm@web54111.mail.re2.yahoo.com> I'm crossing my fingers that I can explain this concisely, coherently and without being too boring. I've been having some menu bar weirdness and I'm wondering if there's a better way of doing things that what I've arrived at. Here's what's happening... When I check the box "Set as Menu Bar on Mac OS", and run my app as a standalone on OS X, the window loses an ADDITIONAL 22 pixels. To illustrate: - stack height w/ menu bar visible: 427 - stack height w/o menu bar visible (in the IDE on OS X): 405 - stack height in OS X standalone shrinks to: 383 I've coded around this as follows: - In my openStack handler (didn't work in preOpenStack): on openStack if the short name of this stack is the mainStack of this stack then if platform() is "Win32" then -- add 22 pixels to the stack's minHeight when running on Windows set the minHeight of this stack to the minHeight of this stack + 22 end if -- check to see if stack is below minHeight and adjust if necessary if (height of this stack) < (minHeight of this stack) then set the height of this stack to minHeight of this stack end if openPrefsFile gPrefsStackName end if end openStack Now, that's not too bad. Annoying but not too bad. It seems that if Revolution is going to scale and scroll the window to hide the menu bar on the mac, it ought to adjust the minHeight along with that. I can't imagine a scenario where the minHeight shouldn't change by 22 pixels when a non-adjustable strip of UI elements is added/removed from a window. On to the next item... I've taken people's advice and started using a resizeStack handler to adjust UI elements in my stack rather than the geometry manager. (Got tired of adding a new widget to a window and then having all the other elements go insane when the stack was resized.) With "Set as Menu Bar on Mac OS" still checked and running in a stand alone on OS X, there are apparently now 22 extra pixels at the bottom of the stack that are not accounted for- i.e. getting the height of the stack reports 22 pixels less than what's actually there. So, my code to move a button to the bottom of the window: set the bottom of button SomeButton to (height of this stack - 7) ...would now have an extra 22 pixel gap between my controls and the bottom of the window. To correct for this on the Mac, I had to add the following to my resizeStack handler: if (the platform is "MacOS") then put 22 into lAddOffset else put 0 into lAddOffset end if ...and then change my set statement to be as follows: set the bottom of button theButton to (height of this stack - 7 + lAddOffset) Now, all of this is working and my app looks and resizes properly on OS X and Windows XP. It took a little while to devise and there was a fair amount of frustration along the way. So, I'm wondering- are other people having these issues when using "Set as Menu Bar on Mac OS"? Has anyone found (a) better work around(s)? This is the real end of my email. ...but, for those of you who may still be interested... I started out not having "Set as Menu Bar on Mac OS" checked. I was using the following to show/hide the menu bar: on preOpenStack if the short name of this stack is the mainStack of this stack then if the platform is "MacOS" and the environment is not "development" then set the defaultMenubar to "Menubar 1" hide group "Menubar 1" else show group "Menubar 1" end if end if end preOpenStack Then, I had code to loop through my fields & buttons and scoot them all up 22 pixels. Then, I was resizing the window. As far as appearance was concerned, this worked beautifully. However, it triggered a very irritating bug with Command + Z. No lie, it was like there were two instances of my code. I have a large scrolling field that displays the contents of text file. I could tab to that field, press Command + A to select all text, press Command + X to cut, and then press Command + Z and all the text would come back. However, once I clicked a button on my stack that modified the text in that field, I could no longer press Command + Z and revert to the previous contents. I had to use the pointer to select Undo from the menu. Once I figured out what was happening and reverted back to having "Set as Menu Bar on Mac OS" checked, the dual instances of my Undo handler went away. Very weird. In searching http://quality.runrev.com/, I found another report that shows I might not be crazy when it comes to this duality of Command + Z: http://quality.runrev.com/qacenter/show_bug.cgi?id=2366 ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping From jacque at hyperactivesw.com Sun Feb 10 13:21:44 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 10 Feb 2008 12:21:44 -0600 Subject: "Set as Menu Bar on Mac OS" oddities In-Reply-To: <441280.46400.qm@web54111.mail.re2.yahoo.com> References: <441280.46400.qm@web54111.mail.re2.yahoo.com> Message-ID: <47AF40B8.7020703@hyperactivesw.com> Russell Martin wrote: > When I check the box "Set as Menu Bar on Mac OS", and run my app as a > standalone on OS X, the window loses an ADDITIONAL 22 pixels. This is an ancient bug that still isn't fixed, and it makes me crazy. It doesn't happen with all stacks, only with some, and I'm not sure what the difference is. There's a bug report on it: It is confirmed but not fixed. I should mention that this behavior only happens in Rev's IDE. If you build with the MetaCard IDE it doesn't. > With "Set as Menu Bar on Mac OS" still checked and running in a stand > alone on OS X, there are apparently now 22 extra pixels at the bottom > of the stack that are not accounted for- i.e. getting the height of the > stack reports 22 pixels less than what's actually there. This is because the height of the stack is the same as the height of the window; the two terms are pretty much interchangeable. What you want is the height of the card, which will include the pixels that have scrolled offscreen. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mdswindell at cruzio.com Sat Feb 9 16:14:53 2008 From: mdswindell at cruzio.com (Mark Swindell) Date: Sat, 9 Feb 2008 13:14:53 -0800 Subject: video profiles license key? In-Reply-To: References: <11646750-87A5-4F8A-93FC-345B83A29F14@cruzio.com> Message-ID: <5AAACC35-289D-4ED1-8DEF-602B21DE3A9C@cruzio.com> Thanks. On Feb 9, 2008, at 12:43 PM, Stephen Barncard wrote: > the number is included in the email that you got when you paid for > your license, or upgraded. > > >> I did a documentation search on profiles and got a video or pdf >> option of a tutorial on profiles. But to download either I have to >> enter my video profiles license key? What is that all about? >> Thanks, >> Mark >> Thanks, Mark From revolution at derbrill.de Sun Feb 10 15:03:39 2008 From: revolution at derbrill.de (Malte Brill) Date: Sun, 10 Feb 2008 21:03:39 +0100 Subject: "Set as Menu Bar on Mac OS" oddities In-Reply-To: <20080210180005.65785489249@mail.runrev.com> References: <20080210180005.65785489249@mail.runrev.com> Message-ID: I also just hate how menubars (do not) work on mac Os X. However with all problematic stacks I had the problem went away with hiding the menubar group. So I have something like this on preopenstack on preOpenStack if "mac" is in the platform then hide grp "myMenus" else show grp "myMenus" end if end preOpenStack Hope that helps, Malte From toeloop at swissonline.ch Sun Feb 10 16:57:20 2008 From: toeloop at swissonline.ch (=?ISO-8859-1?Q?Thomas_B=E4hler?=) Date: Sun, 10 Feb 2008 22:57:20 +0100 Subject: trunc Message-ID: <27D6F68D-D012-4435-B14A-1BE585802A35@swissonline.ch> What a relieve, machines aren't locial! A bit sad though that they're not that talkative about their spleens. Thanks a lot to the humans on this list! Thomas From katir at hindu.org Sun Feb 10 17:19:57 2008 From: katir at hindu.org (Sivakatirswami) Date: Sun, 10 Feb 2008 12:19:57 -1000 Subject: Cgi and Database (stick to standards) In-Reply-To: References: Message-ID: <47AF788D.5090703@hindu.org> Bernard Devlin wrote: > I'm not sure what kind of database requirements you have. But in my > tests using queries performing multiple joins on several tables > containing between 1 million and 9 million rows each, Rev cgi > completely blew away Java and relational databases: > > http://lists.runrev.com/pipermail/use-revolution/2008-January/106071.html > > If you need multi-user/multi-application update/insert access to the > data, then Rev is probably not the right solution. For other > situations, I would say don't dismiss Rev's native data structures > without thorough testing of the speed differences when compared to a > RDBMS. > > Bernard > > > We use shell calls to PostGresSql on our server... from inside Rev CGI's ...it's easy if you know your SQL language... just build a query and send it to the dbase, get the result. Then you don't need to worry about drivers and paths to them .... Sorry for long post, but since Rev CGI is so hot... Here's a snippet (with finesse from Andre who is a wizard with format...) for a standard insert query, your insert values (params here) are coming in from the POST: function insertEntry pUser, pCode, pTime, pDescr put format("INSERT INTO event (user_id, event_code, event_time, description) VALUES ('%s','%s','%s','%s');",pUser, pCode, pTime, pDescr) into tSQLQuery put tSQLQuery into url "file:/tmp/Verify.sql" put format("psql -F $\'\\t\' yourDbase -f /tmp/Verify.sql") into command_string # run the SQL commands and send the results back to the calling program set shellCommand to "/bin/sh" put shell(command_string) after tSQLQueryResult return tSQLQueryResult end insertEntry Note the little "trick" of writing the query to disk and then calling it back by reading it into the SQL shell cmd. You can also push unix style variables to shell like this: put tWrappedMsg into tMsg replace cr WITH "\n" in tMsg put tMsg into $DailyHPIEmail --put tMsg; exit to top # Do shell stuff and send mail set the shellcommand to "/bin/sh" put "echo -e $DailyHPIEmail | sendmail -f hpi.list at hindu.org " & (fld "to" of cd "staticText") into tCmd this works on OSX with PostFix enabled for sending mail ... But, we never bothered to try that for psql...or maybe we did but it didn't work.. can't recall...anyway, the pattern of calling your query from a file means you can keep nicely formated normal SQL queries in files/libs (or on cards in stacks...) and you don't have to build them run time in your CGI...they are easier to read, maintain and debug as separate files... Have fun... and a bit of history: FWIW: There were discussions a year or two ago about how robust this solution could be without a "persistent Revolution process" someone replied that he had been using Rev CGI where a new instance was called each time. he said it scaled up to the millions of hits. No problems. We only use Rev CGI on our server... (well almost... PHP is also being called by XOOPS and PMWiki) there are no persistent processes. a new instance is called for *every* GET request for every page at http:// www.himalayanacademy.com. We use include exec SSI's to bring in page chunks, and these trigger Rev CGI's for *every* single page that is delivered.. pulls in a unique set of side bar links depending on the "realm" where the page lives (anyone need that? email me off line) and meanwhile also I have a custom 404 CGI and redirect that is constantly firing to handle in coming redirects (mostly mapping short, "sweet" URL's published in print to their real deep locations) (I can also send you that too) Meanwhile other CGI's are doing more robust stuff like processing Credit card transactions and handling form submissions.... no problem... Now I can't vouch for more than 30-50 instances a second... what would happen, but we are in that range right now, Apache and the CPUs hardly blink... and see no slow down whatsoever. I'm no expert but I think a persistent Rev process will "die" on the first hard script error... so there are advantages to just letting Apache load rev on every single call...watch out for zombies ... if you don't close the cgi properly you can get hung Rev CGI processes, but, because these are separate instances of Rev... they don't terminate your web site... just slow it down as each zombie starts eating the CPU speeds.. I once had up to 8 hung CGI processes ... Nothing "bad" happened... the sites were sluggish but functional until I got back from a weekend and someone said "your site turned to cold molasses" or worst case scenario.. I really blew it on a script for one form and users are getting 404's for that one page only. Whereas if your persistent Rev Process died and *all* your cgi's were tied to it. then a single failure will bring down the entire framework for anything but static HTML delivery... All pages using the "persistent processes" will start returning errors... depending on how serious the problem is (you have a wait or something blocking I think the whole engine stops....) ... But, allowing Apache to call up a single instance of even a "wonky" rev CGI (I can't figure out why some of them do not terminate properly, but only sometimes......) for every POST or GET call and one fails... the user hardly notices... he can just click "submit" a second time and this time it works... Go in to TOP and kill them and you are back in business... meanwhile Apache keeps serving pages all the while... I've been cleaning out the old "bad" cgi's and now we hardly ever see it... Our web server uses 2 dual XEON processors so that's 4 CPU's on a dedicated server...so that helps...if you are running on a shared virtual space... not sure what happens. But someone observed that today's CPU speeds far outstrip the network, hard disk I/O, and Apache... so the "worry" about calling an instance of REvolution into memory on every hit, is mostly theoretical... in fact, the CPU + REV "engine" is way, way ahead of Apache, disk I/O and the outGoing pipe speeds... no problem at all... and it is it's magnitudes faster than PHP (and easier to code unless you are opting for canned CMS...) ....of course, I'm sure there is a threshold, but I don't know what it would be...disclaimer: if you are doing Gaussian Blurs in the background on your web server.. all bets are off : point, obviously it depends on what you are doing... But, we've been use Rev CGI for 9 years and MC before that... no problems... its' wonderful...and only getting better! From russell_martin at yahoo.com Sun Feb 10 23:49:58 2008 From: russell_martin at yahoo.com (Russell Martin) Date: Sun, 10 Feb 2008 20:49:58 -0800 (PST) Subject: put into named field weirdness Message-ID: <272957.93830.qm@web54104.mail.re2.yahoo.com> Any idea why the following line of code errors out when run from openStack, but works just fine later when called from a handler responding to a button press: put lNewFilesField into field "FilesField" Is there some kind of field name initialization that hasn't finished by the time openStack is called? ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ From scott at elementarysoftware.com Mon Feb 11 01:56:48 2008 From: scott at elementarysoftware.com (Scott Morrow) Date: Sun, 10 Feb 2008 22:56:48 -0800 Subject: put into named field weirdness In-Reply-To: <272957.93830.qm@web54104.mail.re2.yahoo.com> References: <272957.93830.qm@web54104.mail.re2.yahoo.com> Message-ID: Perhaps the card hasn't yet opened. You could try moving the handler to check. -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- On Feb 10, 2008, at 8:49 PM, Russell Martin wrote: > Any idea why the following line of code errors out when run from > openStack, but works just fine later when called from a handler > responding to a button press: > > put lNewFilesField into field "FilesField" > > Is there some kind of field name initialization that hasn't finished > by > the time openStack is called? From eric.chatonet at sosmartsoftware.com Mon Feb 11 06:11:43 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 11 Feb 2008 12:11:43 +0100 Subject: trunc In-Reply-To: <47AE5B7C.4080003@fourthworld.com> References: <47AE5B7C.4080003@fourthworld.com> Message-ID: <3087AD3C-5004-4D68-9434-0B941D1605A2@sosmartsoftware.com> Or: function logicalTrunc n if n is not a number then return "NAN" return n - (n mod 1) end logicalTrunc Le 10 f?vr. 08 ? 03:03, Richard Gaskin a ?crit : > You can work around this using a function that apparently eludes the > authors of most languages: > > function logicalTrunc n > if n is not a number then return "NAN" > get offset(".", n) > if it > 0 then > delete char it to -1 of n > end if > return n > end logicalTrunc Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From capellan2000 at yahoo.com Mon Feb 11 09:52:08 2008 From: capellan2000 at yahoo.com (capellan) Date: Mon, 11 Feb 2008 06:52:08 -0800 (PST) Subject: Minimize Custom shaped stacks Message-ID: <15412766.post@talk.nabble.com> Hi all, i have posted a bug report on this: http://quality.runrev.com/qacenter/show_bug.cgi?id=5864 Please vote if this problem affect your applications. Thanks in advance! alejandro -- View this message in context: http://www.nabble.com/Minimize-Custom-shaped-stacks-tp15412766p15412766.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at yahoo.com Mon Feb 11 09:55:28 2008 From: capellan2000 at yahoo.com (capellan) Date: Mon, 11 Feb 2008 06:55:28 -0800 (PST) Subject: Minimize Custom shaped stacks Message-ID: <15412771.post@talk.nabble.com> Hi all, i have posted a bug report on this: http://quality.runrev.com/qacenter/show_bug.cgi?id=5864 Please vote if this problem affect your applications. Thanks in advance! alejandro -- View this message in context: http://www.nabble.com/Minimize-Custom-shaped-stacks-tp15412771p15412771.html Sent from the Revolution - User mailing list archive at Nabble.com. From russell_martin at yahoo.com Mon Feb 11 10:36:34 2008 From: russell_martin at yahoo.com (Russell Martin) Date: Mon, 11 Feb 2008 07:36:34 -0800 (PST) Subject: put into named field weirdness In-Reply-To: Message-ID: <374977.17334.qm@web54112.mail.re2.yahoo.com> It's really bizarre. I created a new project. Put 2 fields on the card. Named them. And then put code like the following: put "hello, world." into field "SomeNamedField" put "hello, again" into field "AnotherNamedField" .. into an openStack handler in the stack script, and, no problems. Went back to my more complex project and used various methods of ensuring that both my preOpenStack and openStack handlers that are in the stack script of the main stack are only getting called once and the code in them only executes when they are called due to the main stack opening. The two methods I used are: -- the stiff in square brackets is just generic, example -- my real code had real stuff there if the short name of this stack is "[SHORT_NAME_OF_MAIN_STACK]" then [OTHER LINES OF CODE] end if -and - if the owner of the target is not me then pass openStack [OTHER LINES OF CODE] ...still cannot put text into the field by referring to it by name from the openStack handler (again, it works in other handlers later in the execution of the program) However, the following worked inside of my openStack handler: answer "The short name of field ID 1024 is: " & the short name of field ID 1024 ...as did: put someLinesofText into field ID 1024 ...however, I have my openStack handler calling another handler called openPrefsFile and using that same: put someLinesofText into field ID 1024 ... causes the: "Type Chunk: no such object" "Hint 1024" ...I don't know why openStack can put text in the field when referring by ID, but then calling another handler from openStack has a problem. In the end, the only thing I could get to work in my readPrefsFile handler was like this: put lNewFilesList into field "FilesField" of cd "card id 1002" of stack "[SHORT_NAME_OF_STACK" So, it's a mystery to me at this point. Sorry if that was too long or too many details. --- Scott Morrow wrote: > Perhaps the card hasn't yet opened. You could try moving the handler > > to check. > > -Scott Morrow > > Elementary Software > (Now with 20% less chalk dust !) > web http://elementarysoftware.com/ > email scott at elementarysoftware.com > > ----------------------------------------------------------------- > > > On Feb 10, 2008, at 8:49 PM, Russell Martin wrote: > > > Any idea why the following line of code errors out when run from > > openStack, but works just fine later when called from a handler > > responding to a button press: > > > > put lNewFilesField into field "FilesField" > > > > Is there some kind of field name initialization that hasn't > finished > > by > > the time openStack is called? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping From mdswindell at cruzio.com Mon Feb 11 10:39:56 2008 From: mdswindell at cruzio.com (Mark Swindell) Date: Mon, 11 Feb 2008 07:39:56 -0800 Subject: put into named field weirdness In-Reply-To: References: <272957.93830.qm@web54104.mail.re2.yahoo.com> Message-ID: <957E6231-F3CE-4A4D-B889-A070DDA0B916@cruzio.com> Could it be this? (Nabble search) OpenStack and preOpenStack not taken into account -------------- next part -------------- -------------- next part -------------- by Eric Chatonet Jan 31, 2008; 07:20am : Hi all, I remember that several times some complained about openStack or preOpenstack handlers that were not sent when double-clicking a stack icon or using drag and drop on Rev app icon. I was confronted to the same problem today (Rev 2.8.1) and found that if script debug mode was off when Rev launches, openStack and preOpenstack were not sent. If you don't want to run into this problem just set script debug mode on before shutting down Rev. -------------- Go here to vote if it is: BZ #3843. Mark > On Feb 10, 2008, at 8:49 PM, Russell Martin wrote: > >> Any idea why the following line of code errors out when run from >> openStack, but works just fine later when called from a handler >> responding to a button press: >> >> put lNewFilesField into field "FilesField" >> >> Is there some kind of field name initialization that hasn't >> finished by >> the time openStack is called? From jacque at hyperactivesw.com Mon Feb 11 11:59:39 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 11 Feb 2008 10:59:39 -0600 Subject: put into named field weirdness In-Reply-To: <374977.17334.qm@web54112.mail.re2.yahoo.com> References: <374977.17334.qm@web54112.mail.re2.yahoo.com> Message-ID: <47B07EFB.1050902@hyperactivesw.com> Russell Martin wrote: > In the end, the only thing I could get to work in my readPrefsFile > handler was like this: > > put lNewFilesList into field "FilesField" of cd "card id 1002" of stack > "[SHORT_NAME_OF_STACK" If a long reference works but a short one doesn't, that usually indicates that "this stack" isn't what you think it is. Some other stack is the defaultstack and doesn't have the same fields. One way to track this is to put a debugging line of code into your openstack handler right before the line that errors: put the name of this stack When the handler runs, look at the message box to find out what the engine thinks "this stack" is. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From JimAultWins at yahoo.com Mon Feb 11 12:07:31 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 11 Feb 2008 09:07:31 -0800 Subject: put into named field weirdness In-Reply-To: <47B07EFB.1050902@hyperactivesw.com> Message-ID: you could also add a couple lines to the code put the long id of this card into line 1 of trackIDs put the long id of field "FilesField" into line 2 of trackIDs put trackIDs into msg answer trackIDs Jim Ault Las Vegas On 2/11/08 8:59 AM, "J. Landman Gay" wrote: > Russell Martin wrote: > >> In the end, the only thing I could get to work in my readPrefsFile >> handler was like this: >> >> put lNewFilesList into field "FilesField" of cd "card id 1002" of stack >> "[SHORT_NAME_OF_STACK" > > If a long reference works but a short one doesn't, that usually > indicates that "this stack" isn't what you think it is. Some other stack > is the defaultstack and doesn't have the same fields. > > One way to track this is to put a debugging line of code into your > openstack handler right before the line that errors: > > put the name of this stack > > When the handler runs, look at the message box to find out what the > engine thinks "this stack" is. From jbv.silences at club-internet.fr Mon Feb 11 12:36:03 2008 From: jbv.silences at club-internet.fr (jbv) Date: Mon, 11 Feb 2008 18:36:03 +0100 Subject: slightly [OT] : online DB protection question Message-ID: <47B0877F.A1E929FE@club-internet.fr> Hi list, I'm working on a promotional online B-to-B web game for a client, using Rev as cgi engine. In a few words here's how it works : players have to register first and then need to find several clues in successive images. Finding those clues is pretty easy and we expect the number of winners to be pretty large; therefore a limited set of winners will finally be randomly choosen among those who found all the clues. Here's my question : in order to prevent ppl to register hundreds of times automatically, or simply to hinder hackers to send large amounts of automatic cgi requests and to clutter mySQL tables with useless registrations, I've been asked to think about some protection. So far, the best idea I came with is to deny access to mySQL to more than 10 requests from the same IP within the last minute (several ppl in a same corporation can play simultaneously and thus will be viewed as the same ip by the server, and of course none of them should be denied access to the game). This can be easily done and won't slow down the scripts at all. Of course, both "10 requests" and "last minute" can be adjusted... I was wondering what you guys are thinking of this approach, and if anyone has managed to develop a more efficient strategy in a similar context... Thanks in advance for your suggestions, JB From jbv.silences at club-internet.fr Mon Feb 11 12:41:48 2008 From: jbv.silences at club-internet.fr (jbv) Date: Mon, 11 Feb 2008 18:41:48 +0100 Subject: [OT] Rev cgi vs php - another (practical) question Message-ID: <47B088D8.ABF5041B@club-internet.fr> Hi list, I'm in the process of translating a few Rev cgi scripts into php. In those Rev scripts, I'm using a very handy feature : some data is structured as lines of items and store as such in mySQL cells configured as "text" for further processing.. I was wondering how to implement something similar to lines & items in php... Obviously I could parse the strings and build arrays (using my own parser or the explode() function)... But is there any better / simpler solution ? thanks in advance, JB From bvg at mac.com Mon Feb 11 13:20:18 2008 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 11 Feb 2008 19:20:18 +0100 Subject: slightly [OT] : online DB protection question In-Reply-To: <47B0877F.A1E929FE@club-internet.fr> References: <47B0877F.A1E929FE@club-internet.fr> Message-ID: <749A216A-DA1D-4485-ABBB-89B55559F9D2@mac.com> On 11 Feb 2008, at 18:36, jbv wrote: > Here's my question : in order to prevent ppl to register hundreds of > times automatically, > or simply to hinder hackers to send large amounts of automatic cgi > requests and to > clutter mySQL tables with useless registrations, I've been asked to > think about some > protection. Most Web forms validate the entry, eg. to be a valid e-mail address there has to be an @ in it, and it has to end in a toplevel domain. Many also store e-mails in addition to logins, and you're not really registered until you click an automatic generated link in the e-mail they send you. The best Method known to me is the "captcha" . Basically you show an image of distorted and crossed out text, and the user has to enter what he reads. But these images have to be generated randomly, and this isn't really simple to do with any http- server software. Also the Way you distord and add lines need to follow some rules, otherwise it's easily circumvented. Another (similar) approach is this: You need many pictures of a few things, and store what thing the picture shows. Then you show 9 of them, asking the user to click on the dog (or whatever). Obviously nothing in the picture's url should point out what kind of thing it shows for this to work. Also there should be only one dog (or whatever) at a time. Fuzzy animals work best for this (kittens, young dogs, rabbits, etc.), because they "blend" into the background, and currently computers can't distinguish cat's from dog's, so no hacker can spoil this (yet). Obviously simple and clearly coloured geometric shapes are not ideal. Note that this is less secure then the text approach above, but of course it's infinitely more cute. :) These are the three methods I'd choose one from to use myself. Bj?rnke -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From russell_martin at yahoo.com Mon Feb 11 14:11:17 2008 From: russell_martin at yahoo.com (Russell Martin) Date: Mon, 11 Feb 2008 11:11:17 -0800 (PST) Subject: put into named field weirdness In-Reply-To: <47B07EFB.1050902@hyperactivesw.com> Message-ID: <912474.49575.qm@web54103.mail.re2.yahoo.com> You're right, but, it still doesn't make sense. In my preOpenStack, I have the following: on preOpenStack if the owner of the target is not me then pass preOpenStack answer "preOpenStack called by: " & the short name of the owner of the target [Other ommitted lines of code] end preOpenStack ...then, in my openStack handler: on openStack -- if the short name of this stack is "CSV2HTML" then if the owner of the target is not me then pass openStack answer "openStack called by: " & the short name of the owner of the target [Other code ommitted] openPrefsFile gPrefsStackName answer "readPrefsStack being called by: " & the name of this stack readPrefsStack gPrefsStackName end openStack ... then in my readPrefsStack handler: on readPrefsStack _prefsStackName [Other code ommitted] answer "the name of this stack is: " & the name of this stack end readPrefsStack ... so, preOpenStack runs and I get the following dialog: "preOpenStack called by: [NAME_OF_MY_MAIN_STACK]" openStack runs and I get: "openStack called by: [NAME_OF_MY_MAIN_STACK]" "readPrefsStack being called by: stack "[NAME_OF_MY_PREFERENCES_STACK]"" readPrefsFile runs and I get: "the name of this stack is: stac "[NAME_OF_MY_PREFERENCES_STACK]"" ...now, within my openStack handler, just before I spit out the answer dialog and then call my readPrefsFile handler, I do, inside of my openPrefsFile handler, open a separate stack stored on disk, but once that handler completes and execution returns to the line below it, how does the recently opened preferences stack then become the stack that is calling readPrefsFile?!? That doesn't make any sense. --- "J. Landman Gay" wrote: > Russell Martin wrote: > > > In the end, the only thing I could get to work in my readPrefsFile > > handler was like this: > > > > put lNewFilesList into field "FilesField" of cd "card id 1002" of > stack > > "[SHORT_NAME_OF_STACK" > > If a long reference works but a short one doesn't, that usually > indicates that "this stack" isn't what you think it is. Some other > stack > is the defaultstack and doesn't have the same fields. > > One way to track this is to put a debugging line of code into your > openstack handler right before the line that errors: > > put the name of this stack > > When the handler runs, look at the message box to find out what the > engine thinks "this stack" is. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ From jacque at hyperactivesw.com Mon Feb 11 15:31:36 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 11 Feb 2008 14:31:36 -0600 Subject: put into named field weirdness In-Reply-To: <912474.49575.qm@web54103.mail.re2.yahoo.com> References: <912474.49575.qm@web54103.mail.re2.yahoo.com> Message-ID: <47B0B0A8.4030208@hyperactivesw.com> Russell Martin wrote: > ...now, within my openStack handler, just before I spit out the answer > dialog and then call my readPrefsFile handler, I do, inside of my > openPrefsFile handler, open a separate stack stored on disk, but once > that handler completes and execution returns to the line below it, how > does the recently opened preferences stack then become the stack that > is calling readPrefsFile?!? That doesn't make any sense. The stack that is running the script is not necessarily "this stack". "This stack" is effectively the same thing as the defaultstack, which is reset when you open a stack. So, in your scripts, you open the main stack, which is also the defaultstack. The main stack opens the prefs stack, which in turn becomes the defaultstack. The prefs stack will remain the defaultstack until you either go back to the main stack, or set the defaultstack to the main stack specifically in a handler. Use "set the defaultstack to 'my_main_stack'" in your script before trying to work with any fields in the main stack. I have several projects that use an invisible prefs stack that stays open all the time, and I have to do the same thing with those. I need to reset the defaultstack after opening my invisible prefs so that scripts will be directed to the right stack. Otherwise all commands would be directed to the last-opened stack (my prefs stack) which isn't what I want. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From russell_martin at yahoo.com Mon Feb 11 16:29:47 2008 From: russell_martin at yahoo.com (Russell Martin) Date: Mon, 11 Feb 2008 13:29:47 -0800 (PST) Subject: put into named field weirdness In-Reply-To: <47B0B0A8.4030208@hyperactivesw.com> Message-ID: <540989.22582.qm@web54101.mail.re2.yahoo.com> Wow. Thank you. That was completely counterintuitive, but, you are 100% correct. Now, after opening my prefs stack, I have a line: set the defaultStack to [NAME_OF_MY_MAIN_STACK] ..and now, inside of my readPrefsFile handler, I'm back to: put lNewFilesList into field "FilesField" ..and the "Chunk: No such object" error is gone. I don't think I ever would have figured that out. I mean, I thought 'this stack' would always refer to the stack whose script is running. So, is there another way to refer to the stack that the currently executing script belongs too? One that remains constant? Maybe something like 'target owner'? --- "J. Landman Gay" wrote: > Russell Martin wrote: > > > ...now, within my openStack handler, just before I spit out the > answer > > dialog and then call my readPrefsFile handler, I do, inside of my > > openPrefsFile handler, open a separate stack stored on disk, but > once > > that handler completes and execution returns to the line below it, > how > > does the recently opened preferences stack then become the stack > that > > is calling readPrefsFile?!? That doesn't make any sense. > > The stack that is running the script is not necessarily "this stack". > > "This stack" is effectively the same thing as the defaultstack, which > is > reset when you open a stack. So, in your scripts, you open the main > stack, which is also the defaultstack. The main stack opens the prefs > > stack, which in turn becomes the defaultstack. The prefs stack will > remain the defaultstack until you either go back to the main stack, > or > set the defaultstack to the main stack specifically in a handler. > > Use "set the defaultstack to 'my_main_stack'" in your script before > trying to work with any fields in the main stack. > > I have several projects that use an invisible prefs stack that stays > open all the time, and I have to do the same thing with those. I need > to > reset the defaultstack after opening my invisible prefs so that > scripts > will be directed to the right stack. Otherwise all commands would be > directed to the last-opened stack (my prefs stack) which isn't what I > want. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs From jacque at hyperactivesw.com Mon Feb 11 17:31:43 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 11 Feb 2008 16:31:43 -0600 Subject: put into named field weirdness In-Reply-To: <540989.22582.qm@web54101.mail.re2.yahoo.com> References: <540989.22582.qm@web54101.mail.re2.yahoo.com> Message-ID: <47B0CCCF.6000108@hyperactivesw.com> Russell Martin wrote: > Wow. Thank you. > > That was completely counterintuitive, but, you are 100% correct. It might be more intuitive if you think of "this" as refering to the stack that currently has the engine's attention. The dictionary says that any object reference that has no stack reference in it is assumed to be in the defaultstack. It gives the example of "this card", which the engine interprets as "this card of the defaultstack". (See "defaultstack" in the dictionary.) ... > So, is there another way to refer to the stack that the currently > executing script belongs too? One that remains constant? Maybe > something like 'target owner'? Not specifically. There is the keyword "me" which refers to the object running the script. If your script is in the stack script, then "me" is the stack. But if the script is in another object, then it is that object which is "me", not the stack itself. Since your handlers seem to be in a stack script you could get away with using "me" as long as you remain aware that moving the handlers will break them. If the script is in a card you can sometimes use "the owner of me", which will often be the stack. But it isn't 100% reliable; for example, if the card is part of a background group, then its owner is the group. Depending on what you're doing, there are lots of workarounds. It is common to store the name of the stack at the beginning of a handler so that you can reference it later on as needed. If you do that a lot, you can write a short function that will always return the stack name. Or if you need something else, let us know and someone will no doubt jump in. There are a lot of ways to skin that cat. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mfstuart at cox.net Mon Feb 11 23:59:58 2008 From: mfstuart at cox.net (mfstuart) Date: Mon, 11 Feb 2008 20:59:58 -0800 (PST) Subject: Number of display lines on a Option Menu Message-ID: <15426131.post@talk.nabble.com> Hi all, Is there a way to set the number of lines that will display for an Option menu button? By default there are 5 lines displayed. Can this be increased to display, say 15 lines, or whatever number I'd set it to? Scrolling thru a list of many items is inefficient to the user. Thanx, Mark Stuart -- View this message in context: http://www.nabble.com/Number-of-display-lines-on-a-Option-Menu-tp15426131p15426131.html Sent from the Revolution - User mailing list archive at Nabble.com. From sarah.reichelt at gmail.com Tue Feb 12 00:23:12 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 12 Feb 2008 15:23:12 +1000 Subject: Number of display lines on a Option Menu In-Reply-To: <15426131.post@talk.nabble.com> References: <15426131.post@talk.nabble.com> Message-ID: > Is there a way to set the number of lines that will display for an Option > menu button? > By default there are 5 lines displayed. Can this be increased to display, > say 15 lines, or whatever number I'd set it to? > Scrolling thru a list of many items is inefficient to the user. In the Inspector -> basic properties, there is a field for entering the number of lines. You can also set it by script using the menuLines property e.g. set the menuLines of btn "MyLongMenu" to 15 Cheers, Sarah From andres at bakno.com Tue Feb 12 00:35:49 2008 From: andres at bakno.com (Andres Martinez) Date: Tue, 12 Feb 2008 00:35:49 -0500 Subject: Accessing Addressbook Message-ID: Hello Is there a common way to access the addressbook (iCal and Entourage) in OSX? What about Windows? Regards, Andres Martinez www.baKno.com From janschenkel at yahoo.com Tue Feb 12 00:56:08 2008 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 11 Feb 2008 21:56:08 -0800 (PST) Subject: Accessing Addressbook In-Reply-To: Message-ID: <459184.38979.qm@web65410.mail.ac4.yahoo.com> --- Andres Martinez wrote: > Hello > > Is there a common way to access the addressbook > (iCal and Entourage) > in OSX? > > What about Windows? > > Regards, > Andres Martinez > Hi Andres, Your new best friends are AppleScript on OSX and VBScript on Windows. Take a look at Ken Ray's tips here: Hope this gets you started, Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping From john at debraneys.com Tue Feb 12 01:18:38 2008 From: john at debraneys.com (John Tregea) Date: Tue, 12 Feb 2008 17:18:38 +1100 Subject: Anyone integrating Rev with Document/Content Management Software? In-Reply-To: <459184.38979.qm@web65410.mail.ac4.yahoo.com> References: <459184.38979.qm@web65410.mail.ac4.yahoo.com> Message-ID: <001801c86d3f$1e584e10$5b08ea30$@com> Hi All, I am exploring the integration of a new front end I am building in Rev to any existing Open Source Document Management Systems out there. I am using PostgreSQL to store information relating to the user experience (such as; access control, authentication and services to be provided to the GUI). I want users to be able to drag and drop any files into the Rev window (after they log in) and have those files copied to a specific place in a document management system (content management system?). Any advice or thoughts would be appreciated. Regards and Happy Chinese New Year... John Tregea From FlexibleLearning at aol.com Tue Feb 12 02:20:39 2008 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Tue, 12 Feb 2008 02:20:39 EST Subject: logicalTrunc Message-ID: Eric wrote: > function logicalTrunc n > if n is not a number then return "NAN" > return n - (n mod 1) > end logicalTrunc Sorry, Eric... MOD suffers from the same same floating point issue as TRUNC: get (36 - 34.1) * 100 --> 190, good put it - (it MOD 1) --> 189, bad Avoiding them obtains the expected answer: get logicalTrunc ((36 - 34.1) * 100) --> 190, good function logicalTrunc n if n is not a number then return "NAN" set the itemDel to "." return item 1 of n end logicalTrunc # by Kay C Lan or function logicalTrunc n if n is not a number then return "NAN" get offset(".", n) if it > 0 then delete char it to -1 of n end if return n end logicalTrunc # by Richard Gaskin Bottom line: Use TRUNC and MOD with single numbers, not with calculations /H From eric.chatonet at sosmartsoftware.com Tue Feb 12 03:17:57 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 12 Feb 2008 09:17:57 +0100 Subject: logicalTrunc In-Reply-To: References: Message-ID: <602E1B9E-0A8F-4297-A2A2-0FA1DC85CB07@sosmartsoftware.com> Hi Hugh, You are right :-) Not correct with calculations... Le 12 f?vr. 08 ? 08:20, FlexibleLearning at aol.com a ?crit : > Eric wrote: >> function logicalTrunc n >> if n is not a number then return "NAN" >> return n - (n mod 1) >> end logicalTrunc > > Sorry, Eric... MOD suffers from the same same floating point issue > as TRUNC: > > get (36 - 34.1) * 100 --> 190, good > put it - (it MOD 1) --> 189, bad > > > Avoiding them obtains the expected answer: > > get logicalTrunc ((36 - 34.1) * 100) --> 190, good > > function logicalTrunc n > if n is not a number then return "NAN" > set the itemDel to "." > return item 1 of n > end logicalTrunc # by Kay C Lan > > or > > function logicalTrunc n > if n is not a number then return "NAN" > get offset(".", n) > if it > 0 then > delete char it to -1 of n > end if > return n > end logicalTrunc # by Richard Gaskin > > > Bottom line: > > Use TRUNC and MOD with single numbers, not with calculations > > /H Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From viktoras at ekoinf.net Tue Feb 12 04:07:52 2008 From: viktoras at ekoinf.net (viktoras didziulis) Date: Tue, 12 Feb 2008 11:07:52 +0200 Subject: taskbar applications In-Reply-To: <602E1B9E-0A8F-4297-A2A2-0FA1DC85CB07@sosmartsoftware.com> References: <602E1B9E-0A8F-4297-A2A2-0FA1DC85CB07@sosmartsoftware.com> Message-ID: <47B161E8.5070200@ekoinf.net> i would appreciate a few hints on how do we create taskbar applications in Revolution on Windows. I.e. something like Revolution player, skype or anything like that where user sees an icon of a running application sitting in the taskbar. If he clicks that icon with mouse - context menu appears... How do we set application to be loaded on startup automatically ? I would like to add this option to preferences of my app, will it have to mess with windows xp registry or are there other ways? Any hints, online tutorials also on how do we do this on Mac, Linux ? Many thanks in advance! Viktoras From eric.chatonet at sosmartsoftware.com Tue Feb 12 04:39:54 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 12 Feb 2008 10:39:54 +0100 Subject: taskbar applications In-Reply-To: <47B161E8.5070200@ekoinf.net> References: <602E1B9E-0A8F-4297-A2A2-0FA1DC85CB07@sosmartsoftware.com> <47B161E8.5070200@ekoinf.net> Message-ID: Hi Viktoras, Le 12 f?vr. 08 ? 10:07, viktoras didziulis a ?crit : > i would appreciate a few hints on how do we create taskbar > applications in Revolution on Windows. I.e. something like > Revolution player, skype or anything like that where user sees an > icon of a running application sitting in the taskbar. If he clicks > that icon with mouse - context menu appears... See Currently Unsupported Features in 'Whats_New.txt' in Rev app folder: the icon, the iconMenu, iconMenuOpening and iconMenuPick Another alternative is STSTray from Ken Ray (http:// www.sonsothunder.com/products/ststray/ststray.htm) > How do we set application to be loaded on startup automatically ? Put a shortcut/alias into startup folder. > I would like to add this option to preferences of my app, will it > have to mess with windows xp registry or are there other ways? Any > hints, online tutorials also on how do we do this on Mac, Linux ? > > Many thanks in advance! > Viktoras Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From lan.kc.macmail at gmail.com Tue Feb 12 05:01:15 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 12 Feb 2008 18:01:15 +0800 Subject: trunc In-Reply-To: <3087AD3C-5004-4D68-9434-0B941D1605A2@sosmartsoftware.com> References: <47AE5B7C.4080003@fourthworld.com> <3087AD3C-5004-4D68-9434-0B941D1605A2@sosmartsoftware.com> Message-ID: On Feb 11, 2008 7:11 PM, Eric Chatonet wrote: > > function logicalTrunc n > if n is not a number then return "NAN" > return n - (n mod 1) > end logicalTrunc > I don't fully understand Richard's explanation of why machines fail to represent numbers but I extrapolated that to mean that if trunc doesn't work then mod would suffer the same failure: I therefore rewrote Thomas function to include your n - (n mod 1) alternative, it looks like this: put 8.3 into Zahl put Zahl - (Zahl - (Zahl mod 1)) into Dezimal put Dezimal*60 & comma & (Dezimal*60 - ((Dezimal *60) mod 1)) Placing the above in the Msg Box and using Thomas' same three examples of 8.1, 8.2 and 8.3, the answers are exactly the same as for trunc, 6,5 12,11 & 18,18. So I think if Thomas wants to get the answer he's expecting he should avoid both trunc and mod. HTH From lan.kc.macmail at gmail.com Tue Feb 12 05:15:01 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 12 Feb 2008 18:15:01 +0800 Subject: logicalTrunc In-Reply-To: <602E1B9E-0A8F-4297-A2A2-0FA1DC85CB07@sosmartsoftware.com> References: <602E1B9E-0A8F-4297-A2A2-0FA1DC85CB07@sosmartsoftware.com> Message-ID: On Feb 12, 2008 4:17 PM, Eric Chatonet wrote: > > You are right :-) > Not correct with calculations... > Sorry guys, this came up in a different thread so I didn't see that Hugh had already picked up the MOD problem. I didn't mean to point it out twice ;-) It would be nice if the Rev Lords rewrote trunc and mod to use offset or intemDelimiter so that it actually worked 'out of the box'. Keep up the Revolution From dave at looktowindward.com Tue Feb 12 11:38:27 2008 From: dave at looktowindward.com (Dave) Date: Tue, 12 Feb 2008 16:38:27 +0000 Subject: Inter-Application Comms using AppleEvents In-Reply-To: References: <602E1B9E-0A8F-4297-A2A2-0FA1DC85CB07@sosmartsoftware.com> Message-ID: <9E2D9A49-A5CE-4D77-A62A-CEE2DD2A81BC@looktowindward.com> Hi, I can't seem to get the "Send to Application" command to work. I have built a Standalone Application that has an "AppleEvent" handler in the stack script (this works since it receives the open and quit AppleEvents ok - I display the class and ID in the handler). I then have a stack in RunRev with the following script on one of the buttons: on mouseUp send "HELLO" to application "AETest1" with "AaAaBbBb" end mouseUp I expected the AaAa BbBb class and ID to show up in the target application, however knowing happens! Are there any examples on how to do this? Thanks a lot All the Best Dave From ambassador at fourthworld.com Tue Feb 12 12:06:35 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Feb 2008 09:06:35 -0800 Subject: logicalTrunc Message-ID: <47B1D21B.3090407@fourthworld.com> Kay C Lan wrote: > It would be nice if the Rev Lords rewrote trunc and mod to use offset or > intemDelimiter so that it actually worked 'out of the box'. In my own admittedly feeble mind, mod seems like a true math operator while trun is in essence a string operator (even though it works on numeric strings). So if mod stayed as it is, I'd be okay with that. But for trunc to conform to human logic, I agree it may be best to recognize it as the string operator it is, and revise it accordingly. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From mfstuart at cox.net Tue Feb 12 12:25:11 2008 From: mfstuart at cox.net (mfstuart) Date: Tue, 12 Feb 2008 09:25:11 -0800 (PST) Subject: Number of display lines on a Option Menu In-Reply-To: References: <15426131.post@talk.nabble.com> Message-ID: <15436798.post@talk.nabble.com> Hi Sarah, I'm sorry, but I don't see a "number of lines" property on the Basic Properties for the Option button. Actually, I don't see the property anywhere for this type of button. I see the property "Access with mouse button". This is the only numeric property for Basic Properties. But I have found the "menuLines" property in the Rev Doc. I assume I will have to put a "set menuLines of..." into the "on openCard" script. Thanx Sarah. Mark Stuart Sarah Reichelt-2 wrote: > >> Is there a way to set the number of lines that will display for an Option >> menu button? >> By default there are 5 lines displayed. Can this be increased to display, >> say 15 lines, or whatever number I'd set it to? >> Scrolling thru a list of many items is inefficient to the user. > > In the Inspector -> basic properties, there is a field for entering > the number of lines. > You can also set it by script using the menuLines property e.g. set > the menuLines of btn "MyLongMenu" to 15 > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/Number-of-display-lines-on-a-Option-Menu-tp15426131p15436798.html Sent from the Revolution - User mailing list archive at Nabble.com. From jm.delorme at wanadoo.fr Tue Feb 12 12:32:19 2008 From: jm.delorme at wanadoo.fr (delorme) Date: Tue, 12 Feb 2008 09:32:19 -0800 (PST) Subject: Make a cheap web server with simple no-CGI read write on port 80 Message-ID: <15434481.post@talk.nabble.com> Hi from France! The idea of this cheap html server came from "chat server" demo stack. I tried, it works quite fine. Next is a sum-up: On Openstack . accept connections on port 80 with message GotAConnection on GotAConnection aSocket . read from socket aSocket for 1 line . analyze received line (GET or POST) . read from socket aSocket with message GotNextLines on GotNextLines aSocket , ReceivedLines . Analyze ReceivedLines . Do any processing you want with the user request . Make TheHtmlAnswer from pre-made file + replaced text (wanted GET file ou POST answer) . write TheHtmlAnswer to socket Any distant web browser then gets the requested .html files (as forms with submit buttons), or POST anwsers after button clicks (submits) in previous sent forms. Is'nt life easy? The only limit is that only html text is replied (no image) because no Apache server is used. Also have to record socket connections context in a gSocketConnectionsTable because many connections are available (which .htm file must be sent back when GotNextLines?). Thank you for your feedback and own return on experience about making a web server from Revolution. Jean-Marc -- View this message in context: http://www.nabble.com/Make-a-cheap-web-server-with-simple-no-CGI-read-write-on-port-80-tp15434481p15434481.html Sent from the Revolution - User mailing list archive at Nabble.com. From andre at andregarzia.com Tue Feb 12 12:49:05 2008 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 12 Feb 2008 15:49:05 -0200 Subject: Make a cheap web server with simple no-CGI read write on port 80 In-Reply-To: <15434481.post@talk.nabble.com> References: <15434481.post@talk.nabble.com> Message-ID: <7c87a2a10802120949s7cc09824i500e7336cb1817c4@mail.gmail.com> Jean, Been there too. Check http://andregarzia.com/RevOnRockets for a 100% transcript web server :-D Cheers andre On 2/12/08, delorme wrote: > > Hi from France! > > The idea of this cheap html server came from "chat server" demo stack. > I tried, it works quite fine. > Next is a sum-up: > > On Openstack > . accept connections on port 80 with message GotAConnection > > on GotAConnection aSocket > . read from socket aSocket for 1 line > . analyze received line (GET or POST) > . read from socket aSocket with message GotNextLines > > on GotNextLines aSocket , ReceivedLines > . Analyze ReceivedLines > . Do any processing you want with the user request > . Make TheHtmlAnswer from pre-made file + replaced text (wanted GET file ou > POST answer) > . write TheHtmlAnswer to socket > > Any distant web browser then gets the requested .html files (as forms with > submit buttons), or POST anwsers after button clicks (submits) in previous > sent forms. > > Is'nt life easy? > The only limit is that only html text is replied (no image) because no > Apache server is used. > Also have to record socket connections context in a gSocketConnectionsTable > because many connections are available (which .htm file must be sent back > when GotNextLines?). > Thank you for your feedback and own return on experience about making a web > server from Revolution. > > Jean-Marc > -- > View this message in context: http://www.nabble.com/Make-a-cheap-web-server-with-simple-no-CGI-read-write-on-port-80-tp15434481p15434481.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From ambassador at fourthworld.com Tue Feb 12 12:56:41 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Feb 2008 09:56:41 -0800 Subject: Make a cheap web server with simple no-CGI read write on port 80 Message-ID: <47B1DDD9.40804@fourthworld.com> Jean-Marc wrote: > The idea of this cheap html server came from "chat server" demo stack. > I tried, it works quite fine. Good work! Way back in the olden days Scott Raney once wrote what he called mcHTTPd, an HTTP server built with the Rev engine (back then it was called "MetaCard", hence the "mc" part). One thing he noted about that which may be another boost for you: he insisted the engine is impervious to buffer overflows, so a whole range of potential security risks with many server software solutions is (at least according to him) not something we need to worry about. Now that you've had a taste of the ease and power of building your own server, if you haven't seen Andre Garzia's 'Rev On Rockets' you're in for a treat: And FWIW, I tried to get the URL to Raney's old mchttpd, but it seems his public FTP is offline. I have a copy of the original zip archive, and have posted it for you here: There might be some things he does in there worth lifting for your server project. :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From mwieder at ahsoftware.net Tue Feb 12 15:34:30 2008 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 12 Feb 2008 12:34:30 -0800 Subject: Number of display lines on a Option Menu References: <15426131.post@talk.nabble.com> <15436798.post@talk.nabble.com> Message-ID: Mark- Depending on how you have your preferences set, the Property Inspector will display this as "menuLines" or as "Display x items". It's right under the list of Menu Items. -- Mark Wieder mwieder at ahsoftware.net From katir at hindu.org Tue Feb 12 16:23:20 2008 From: katir at hindu.org (Sivakatirswami) Date: Tue, 12 Feb 2008 11:23:20 -1000 Subject: slightly [OT] : online DB protection question In-Reply-To: <749A216A-DA1D-4485-ABBB-89B55559F9D2@mac.com> References: <47B0877F.A1E929FE@club-internet.fr> <749A216A-DA1D-4485-ABBB-89B55559F9D2@mac.com> Message-ID: <47B20E48.9090008@hindu.org> Bj?rnke von Gierke wrote: > On 11 Feb 2008, at 18:36, jbv wrote: > >> Here's my question : in order to prevent ppl to register hundreds of >> times automatically, >> or simply to hinder hackers to send large amounts of automatic cgi >> requests and to >> clutter mySQL tables with useless registrations, I've been asked to >> think about some >> protection. > > The best Method known to me is the "captcha" > . Basically you show an image of > distorted and crossed out text, and the user has to enter what he > reads. But these images have to be generated randomly, and this isn't > really simple to do with any http-server software. Also the Way you > distord and add lines need to follow some rules, otherwise it's easily > circumvented. Actually a "soft" way of generating random images (relatively random) is to simply sit in photoshop and for as long as you find it interesting, create images of words and name them 1.gif 2.gif 3.gif # 24.gif and then the CGI that dynamically generates your page has only to do a simple put (random(24))&".gif" into tImage and load this string into your form template and you are done. You obviously need to keep note of the words you have created and use that list in your validation routine. I sent the full "recipe" to jbv off list (for security reasons, since these archives are searchable on the web...) Obviously hackable over time if some has a real strong intent to get thru your forms, but strong enough to stop the bots... > > From mfstuart at cox.net Tue Feb 12 17:59:58 2008 From: mfstuart at cox.net (mfstuart) Date: Tue, 12 Feb 2008 14:59:58 -0800 (PST) Subject: Number of display lines on a Option Menu In-Reply-To: References: <15426131.post@talk.nabble.com> <15436798.post@talk.nabble.com> Message-ID: <15445207.post@talk.nabble.com> Hi Mark, What Preference page is it on and what is the name of the Preference property? I don't see this property on the Inspector for the Option button - it's just not there. I do see the following properties: text (a list of the options to display) and menuName. These are radio buttons. Am I missing something? And if this is missing, what else am I missing? Thanx, Mark Stuart Mark Wieder wrote: > > Mark- > > Depending on how you have your preferences set, the Property Inspector > will > display this as "menuLines" or as "Display x items". It's right under the > list of Menu Items. > > -- > Mark Wieder > mwieder at ahsoftware.net > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/Number-of-display-lines-on-a-Option-Menu-tp15426131p15445207.html Sent from the Revolution - User mailing list archive at Nabble.com. From martyknapp at comcast.net Tue Feb 12 18:40:23 2008 From: martyknapp at comcast.net (Marty Knapp) Date: Tue, 12 Feb 2008 15:40:23 -0800 Subject: Number of display lines on a Option Menu In-Reply-To: <15445207.post@talk.nabble.com> References: <15426131.post@talk.nabble.com> <15436798.post@talk.nabble.com> <15445207.post@talk.nabble.com> Message-ID: <47B22E67.6060800@comcast.net> I checked my copy of Rev 2.8.1 (on Mac 10.5.1) and the property inspector does not show this. I fired up Rev 2.6.1 and there it does show the option to select the number of displayed menu items. FWIW, Marty Knapp > Hi Mark, > What Preference page is it on and what is the name of the Preference > property? > I don't see this property on the Inspector for the Option button - it's just > not there. > I do see the following properties: text (a list of the options to display) > and menuName. These are radio buttons. > > Am I missing something? And if this is missing, what else am I missing? > > Thanx, > Mark Stuart > > > > Mark Wieder wrote: > >> Mark- >> >> Depending on how you have your preferences set, the Property Inspector >> will >> display this as "menuLines" or as "Display x items". It's right under the >> list of Menu Items. >> >> -- >> Mark Wieder >> mwieder at ahsoftware.net >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> > > From sarah.reichelt at gmail.com Tue Feb 12 18:43:10 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 13 Feb 2008 09:43:10 +1000 Subject: Number of display lines on a Option Menu In-Reply-To: <15445207.post@talk.nabble.com> References: <15426131.post@talk.nabble.com> <15436798.post@talk.nabble.com> <15445207.post@talk.nabble.com> Message-ID: > What Preference page is it on and what is the name of the Preference > property? > I don't see this property on the Inspector for the Option button - it's just > not there. > I do see the following properties: text (a list of the options to display) > and menuName. These are radio buttons. Have a look at this Mark: I have put an orange box around the relevant entry. Cheers, Sarah From sarah.reichelt at gmail.com Tue Feb 12 18:53:41 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 13 Feb 2008 09:53:41 +1000 Subject: Number of display lines on a Option Menu In-Reply-To: <47B22E67.6060800@comcast.net> References: <15426131.post@talk.nabble.com> <15436798.post@talk.nabble.com> <15445207.post@talk.nabble.com> <47B22E67.6060800@comcast.net> Message-ID: On Feb 13, 2008 9:40 AM, Marty Knapp wrote: > I checked my copy of Rev 2.8.1 (on Mac 10.5.1) and the property > inspector does not show this. I fired up Rev 2.6.1 and there it does > show the option to select the number of displayed menu items. Sorry Mark, I was using 2.9.0. It looks like you will have to just set it using script for now. Sarah From mfstuart at cox.net Tue Feb 12 19:18:33 2008 From: mfstuart at cox.net (mfstuart) Date: Tue, 12 Feb 2008 16:18:33 -0800 (PST) Subject: Number of display lines on a Option Menu In-Reply-To: References: <15426131.post@talk.nabble.com> <15436798.post@talk.nabble.com> <15445207.post@talk.nabble.com> Message-ID: <15446492.post@talk.nabble.com> Awesome, thanx for the reply and image, Sarah. I/we will be waiting for this next version (2.9.0) for this property. Currently, I'm using 2.8.1 on WINXP. Thanx, Mark Stuart Sarah Reichelt-2 wrote: > >> What Preference page is it on and what is the name of the Preference >> property? >> I don't see this property on the Inspector for the Option button - it's >> just >> not there. >> I do see the following properties: text (a list of the options to >> display) >> and menuName. These are radio buttons. > > Have a look at this Mark: > > > I have put an orange box around the relevant entry. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/Number-of-display-lines-on-a-Option-Menu-tp15426131p15446492.html Sent from the Revolution - User mailing list archive at Nabble.com. From iowahengst at mac.com Tue Feb 12 20:42:09 2008 From: iowahengst at mac.com (Randy Hengst) Date: Tue, 12 Feb 2008 19:42:09 -0600 Subject: Number of display lines on a Option Menu In-Reply-To: <15446492.post@talk.nabble.com> References: <15426131.post@talk.nabble.com> <15436798.post@talk.nabble.com> <15445207.post@talk.nabble.com> <15446492.post@talk.nabble.com> Message-ID: <71568924-5234-4746-84A8-850E773FD477@mac.com> Hi Mark, It is possible to set the option menu choices via a script -- rather than entering them via the properties menu. That way you can have any number of choices that you need and then change the options choices so they are context sensitive. I used this method in a correct-the- sentence program I made for a local teacher (known frequently as Daily Oral Language in U.S. elementary schools). The correction button displays different choices based on the part of the sentence the students click on. If you have an option button called demo, then place this script in another button. put "one" & return & "two" & return & "three" into button "demo" The option choices will then be one, two and three in that order. You can also place the choices in a variable and then put the variable into the option button like this: local tOptionsTemp put "two" & return & "three" into tOptionsTemp put tOptionsTemp into button "demo" Now the button choices will read two, three Sorry if I missed the point of your original post. take care, randy hengst ----------------- On Feb 12, 2008, at 6:18 PM, mfstuart wrote: > > Awesome, thanx for the reply and image, Sarah. > I/we will be waiting for this next version (2.9.0) for this property. > Currently, I'm using 2.8.1 on WINXP. > > Thanx, > Mark Stuart From rmicout at online.fr Tue Feb 12 20:45:27 2008 From: rmicout at online.fr (=?ISO-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 13 Feb 2008 02:45:27 +0100 Subject: Shakobox Message-ID: <5358F4BB-2ED0-4C1A-9982-C73A172423D2@online.fr> Hello every body, On MacOS X, when I use Shakobox, only 256 (sometimes less) first sounds (or notes) can be heard ! Why ? Ren? from Paris From revolution at derbrill.de Wed Feb 13 02:59:56 2008 From: revolution at derbrill.de (Malte Brill) Date: Wed, 13 Feb 2008 08:59:56 +0100 Subject: About proxies and certificates In-Reply-To: <20080212180005.9F774488E7E@mail.runrev.com> References: <20080212180005.9F774488E7E@mail.runrev.com> Message-ID: Hi all, running into some puzzles here, so I have two question. About proxies: We have clients that run proxies that require authentification via username and password. How would I build the URL to connect to those? About certificates: How do I make the SSL library accept unsigned c(custom build) certificates? Any pointers highly appreciated. All the best, Malte From dave at looktowindward.com Wed Feb 13 10:53:48 2008 From: dave at looktowindward.com (Dave) Date: Wed, 13 Feb 2008 15:53:48 +0000 Subject: Inter-Application Communication on Windows Message-ID: Hi All, I've been working on a way of getting two RunRev Standalone's to communicate with each other. I've implemented a simple message passing mechanism on Macintosh using AppleEvents. This seems to work quite well. I now need something similar for Windows. I don't mind writing an External Command Handler in C/C++ to do this, and AFAIK I can do this using Win32 API Calls. However, on the Mac I have a handler for the "appleEvent" message, this gets called asynchronously whenever the other application send an AppleEvent. Can I achieve the same or similar under Windows? e.g. AppA gets a Message sent to it when there is a message ready to be read or some such? The only other way I can think of achieving this would be for the main application to periodically execute a "poll" handler which calls the External Command and read the message(s) from a queue? Any ideas or suggestions gratefully appreciated. All the Best Dave From dave at looktowindward.com Wed Feb 13 10:54:40 2008 From: dave at looktowindward.com (Dave) Date: Wed, 13 Feb 2008 15:54:40 +0000 Subject: put into named field weirdness In-Reply-To: <912474.49575.qm@web54103.mail.re2.yahoo.com> References: <912474.49575.qm@web54103.mail.re2.yahoo.com> Message-ID: <8C92B53B-5B20-427E-8DFE-3F22AD4CCF20@looktowindward.com> On 11 Feb 2008, at 19:11, Russell Martin wrote: > I do, inside of my > openPrefsFile handler, open a separate stack stored on disk, but once > that handler completes and execution returns to the line below it, how > does the recently opened preferences stack then become the stack that > is calling readPrefsFile?!? That doesn't make any sense. > From a Stack Script using "this" does not always return the stack the Script is running in. In order to guarantee that you get the right stack use "me", or have a private function in the Stack Script that does this: function GetStackName return the name of this stack end GetStackName If "GetStackName" is called from the Same Stack Script it will return the correct name, since it was called by the same Script/Stack. All the Best Dave From eric.chatonet at sosmartsoftware.com Wed Feb 13 11:03:43 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 13 Feb 2008 17:03:43 +0100 Subject: Inter-Application Communication on Windows In-Reply-To: References: Message-ID: <423FDD5C-7DCC-4F8B-A4BF-3C6839391C8E@sosmartsoftware.com> Hi Dave, Why not use TCP that is cross-platform? Le 13 f?vr. 08 ? 16:53, Dave a ?crit : > Hi All, > > I've been working on a way of getting two RunRev Standalone's to > communicate with each other. I've implemented a simple message > passing mechanism on Macintosh using AppleEvents. This seems to > work quite well. I now need something similar for Windows. I don't > mind writing an External Command Handler in C/C++ to do this, and > AFAIK I can do this using Win32 API Calls. However, on the Mac I > have a handler for the "appleEvent" message, this gets called > asynchronously whenever the other application send an AppleEvent. > Can I achieve the same or similar under Windows? e.g. AppA gets a > Message sent to it when there is a message ready to be read or some > such? The only other way I can think of achieving this would be for > the main application to periodically execute a "poll" handler which > calls the External Command and read the message(s) from a queue? > > Any ideas or suggestions gratefully appreciated. > > All the Best > Dave Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From 00bioarchimed at free.fr Wed Feb 13 11:19:24 2008 From: 00bioarchimed at free.fr (Thierry) Date: Wed, 13 Feb 2008 17:19:24 +0100 Subject: Inter-Application Communication on Windows In-Reply-To: References: Message-ID: Hi Dave, > Hi All, > > I've been working on a way of getting two RunRev Standalone's to > communicate with each other. > Any ideas or suggestions gratefully appreciated. Well, I've done almost this years ago... open socket, read/write from socket... or open process, read/write from process... All this is in the Doc. HTH, Regards, Thierry From sanke at hrz.uni-kassel.de Wed Feb 13 11:25:14 2008 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Wed, 13 Feb 2008 17:25:14 +0100 Subject: Threshold filters (Rev Newsletter #48) Message-ID: <47B319EA.7000905@hrz.uni-kassel.de> There is only sparse documentation about "imagedata" in Revolution. Without the more detailed information and sample stacks from the websites of other experienced members of this list I would probably never have got a start to learn and apply some of the possibilities of imagedata handling. Therefore it is praiseworthy that he Revolution team now tries to provide us with more useful information in Newsletter #48 and introduce us to the "use of thresholding for image manipulation". They also apply modern "state-of-the-art" pedagogy, in so far as they bundle their example with kind of a joke for better learning. If such an approach isn't over-used it might indeed work. My "Imagedata Toolkit" stack (last public version of May 2007 ) among the more than 200 filters for manipulating imagedata already contains 7 filters using the threshold principle (see menu-button "thresholds"). I created another button in this stack adapting the script information in the newsletter to my environment to compare the new threshold filter. First thing I noticed was that only 25% of an image is affected. This holds for all of the three script examples displayed in the newsletter. One important factor is missing in all these examples, which I leave to you to find out for yourselves (another instance of modern pedagogy). I then downloaded the sample stack to have a look whether its scripts worked better, but for some reason I was unable to un-zip the stack on Windows, even after downloading it again. I transferred the archive to my Macbook and finally succeeded in extracting the stack using Stuffit Expander. Looking at the relevant script revealed that here the author of the stack had indeed added the missing factor. Re-tranferring the unzipped stack back to Windows did not work first, until I found out that Windows did not like the question-mark as part of the stack name. I removed the question-mark, and then was able to get the stack onto my Windows computer, however, it was impossible to open it in Revolution. Therefore I only extracted the necessary script from the stack on my Macbook and put it into my Imagedata-Toolkit stack on my Windows machine. Now I was able to compare the threshold script with my own 7 threshold buttons. The solution found by the author - even disregarding the entertainment factor - was fine and its effects different, but somewhat similar to those of my own buttons that use two or more thresholds. However, I found the script to run much slower due to the many computations inside the nested repeat loops.- ====================== In the following, I use a step-by-step approach to show how the speed of the script execution could be improved. To do this I show only one of the thirteen script lines inside the loop that - concerning the definition of the imagedata chars - is identical to the other 12 lines. "repeat with y = 1 to pHeight repeat with x = 1 to pWidth put charToNum(char ((y - 1) * pWidth * 4) + ((x - 1) * 4) + 2 of pImage) into tRed" The script as it is takes 3500 milliseconds to execute for an image 640x480 on my Windows computer. Step 1: Remove the two "- 1" inside the loop and change the x and y start and end values accordingly; new script: "repeat with y = 0 to pHeight - 1 repeat with x = 0 to pWidth - 1 put charToNum(char (y * pWidth * 4) + (x * 4) + 2 of pImage) into tRed" Speed gain here is about 300 milliseconds (now 3219). Step 2: Compute "pwidth * 4" outside the loops; new script: "put pwidth * 4 into tpwidth repeat with y = 0 to pHeight - 1 repeat with x = 0 to pWidth - 1 put charToNum(char (y * tpWidth) + (x * 4) + 2 of pImage) into tRed" Speed gain another 300 ms (now 2932). Step 3: Combine y with tpwidth; new script: "put pwidth * 4 into tpwidth repeat with y = 0 to pHeight - 1 put y * tpwidth into typwidth repeat with x = 0 to pWidth - 1 put charToNum(char typWidth + (x * 4) + 2 of pImage) into tRed" Step 4: put "x*4" into tx; new script: "put pwidth * 4 into tpwidth repeat with y = 0 to pHeight - 1 put y * tpwidth into typwidth repeat with x = 0 to pWidth - 1 put x * 4 into tx put charToNum(char typWidth + tx + 2 of pImage) into tRed" Overall speed gain from beginning: 1 second (now 2585) Step 5: Combine typwidth and tx; new script: "put pwidth * 4 into tpwidth repeat with y = 0 to pHeight - 1 put y * tpwidth into typwidth repeat with x = 0 to pWidth - 1 put x * 4 into tx put typwidth + tx into tyx put charToNum(char tyx + 2 of pImage) into tRed" Speed gain: another 100 ms (now 2461) Step 6: Remove the irrelevant line accessing the alpha value of the imagedata char, i.e. remove line (this is the original form) "put charToNum(char ((y - 1) * pWidth * 4) + ((x - 1) * 4) + 1 of pImage) into tAlpha" Speed gain: again 100 ms (now 2340).-- Overall speed gain is now 33% compared to the speed of the original script.- ========================== As an additional script example - which is not among the 7 scripts in my Imagedata stack - I tried to find a very simply structured script using "for each" (which is by the way - in this case - slower than a nested repeat loop), applying only one threshold, and using only the red value to create a black-and-white image: "on mouseup answer "Select threshold to create the black-and-white image:" with "80" or "100" or "128" or "150" or "180" wait 3 milliseconds put it into threshold set the cursor to watch put the imageData of image x into iData put 0 into counter repeat for each char C in idata add 1 to counter if counter mod 4 = 2 then # the red pixel put chartonum(C) into tC if tC > threshold then put 255 into tC else put 0 into tC end if end if put numtochar(tC) into char counter of idata end repeat set the imageData of image x to iData end mouseUp" (Pay attention to possible line breaks of this script in this post.) I hope I have added some useful information and thus have supported the efforts of the Rev team to familiarize us with imagedata manipulation. Regards, Wilhelm Sanke From lists at mangomultimedia.com Wed Feb 13 11:44:41 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 13 Feb 2008 11:44:41 -0500 Subject: Determine current internet proxy settings on OS X? Message-ID: Hi, I'm trying to detect the current internet proxy settings on OS X so users do not have to manually configure my application. I came across the API call which I could access with an external (SCDynamicStoreCopyProxies ) but I'm wondering if anyone knows a shell call that can be used? Thanks, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com Email has been scanned for viruses by Altman Technologies' email management service - www.altman.co.uk/emailsystems From dave at looktowindward.com Wed Feb 13 11:58:54 2008 From: dave at looktowindward.com (Dave) Date: Wed, 13 Feb 2008 16:58:54 +0000 Subject: Inter-Application Communication on Windows In-Reply-To: <423FDD5C-7DCC-4F8B-A4BF-3C6839391C8E@sosmartsoftware.com> References: <423FDD5C-7DCC-4F8B-A4BF-3C6839391C8E@sosmartsoftware.com> Message-ID: <8AF8BDCE-DD32-4054-B380-B32325082666@looktowindward.com> Hi, I thought about that, but there are complications with Firewalls and Virus Protection Applications. All the Best Dave On 13 Feb 2008, at 16:03, Eric Chatonet wrote: > Hi Dave, > > Why not use TCP that is cross-platform? > > Le 13 f?vr. 08 ? 16:53, Dave a ?crit : > >> Hi All, >> >> I've been working on a way of getting two RunRev Standalone's to >> communicate with each other. I've implemented a simple message >> passing mechanism on Macintosh using AppleEvents. This seems to >> work quite well. I now need something similar for Windows. I don't >> mind writing an External Command Handler in C/C++ to do this, and >> AFAIK I can do this using Win32 API Calls. However, on the Mac I >> have a handler for the "appleEvent" message, this gets called >> asynchronously whenever the other application send an AppleEvent. >> Can I achieve the same or similar under Windows? e.g. AppA gets a >> Message sent to it when there is a message ready to be read or >> some such? The only other way I can think of achieving this would >> be for the main application to periodically execute a "poll" >> handler which calls the External Command and read the message(s) >> from a queue? >> >> Any ideas or suggestions gratefully appreciated. >> >> All the Best >> Dave > > Best regards from Paris, > Eric Chatonet. > ---------------------------------------------------------------- > Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ > Email: eric.chatonet at sosmartsoftware.com/ > ---------------------------------------------------------------- > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From katheryn.swynford at gmail.com Wed Feb 13 12:03:36 2008 From: katheryn.swynford at gmail.com (Judy Perry) Date: Wed, 13 Feb 2008 09:03:36 -0800 Subject: Shakobox In-Reply-To: <5358F4BB-2ED0-4C1A-9982-C73A172423D2@online.fr> References: <5358F4BB-2ED0-4C1A-9982-C73A172423D2@online.fr> Message-ID: <4be051070802130903y475367cfgb55e0745ce684f61@mail.gmail.com> Hi Rene, As much as I love Shakobox, I've not done anything with >256 notes. Sorry... Judy On Feb 12, 2008 5:45 PM, Ren? Micout wrote: > Hello every body, > On MacOS X, when I use Shakobox, only 256 (sometimes less) first > sounds (or notes) can be heard ! Why ? > Ren? from Paris_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Wed Feb 13 12:07:40 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 13 Feb 2008 09:07:40 -0800 Subject: Inter-Application Communication on Windows Message-ID: <47B323DC.8080809@fourthworld.com> Dave wrote: > I've been working on a way of getting two RunRev Standalone's to > communicate with each other. Do they have to be separate standalones? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From pierre.bernaert at mac.com Wed Feb 13 12:10:18 2008 From: pierre.bernaert at mac.com (Pierre) Date: Wed, 13 Feb 2008 18:10:18 +0100 Subject: Substack command don't reach main stack when executed as Standalone , Message-ID: <8017016B-D9CD-408A-95A9-B607D2073494@mac.com> I have a main stack with several substacks using KeyBoard input and Control handlers stored in Main Stack. During development everything goes right. When running the StandAlone I can't run these Handlers. I'm using Rev Enterprise V 2.8.1 with Mac OS X.4.10 on a Mac Mini I tried to put this handler at SubStack Script's level: "on SaisieChamp NomChamp, NomStack answer "Stack Script 'Saisie Rapide'" ==> I can get the the question under Revolution and not when running Standalone pass SaisieChamp end SaisieChamp" I Put the same handler ? Stack Script's level: "on SaisieChamp NomChamp, NomStack global GR?ponseChoix --breakpoint answer "Script Stack Compta" & return & "NomChamp = " & NomChamp & return & "NomStack = " & NomStack ==> I don't get the question when running Standalone ...." I verified though the "Stack Inspector", substack is defined as "Substack" of the Do I have something to do in "Stack Files" of "Stack Inspector" of the Main Stack ? Has any one an idea of what goes wrong, what must I verify or do? Many thanks for helping Pierre From dave at looktowindward.com Wed Feb 13 12:14:23 2008 From: dave at looktowindward.com (Dave) Date: Wed, 13 Feb 2008 17:14:23 +0000 Subject: Inter-Application Communication on Windows In-Reply-To: References: Message-ID: Hi, This looks like it's the way to get/put data from/to applications, but: > However, on the Mac I have a handler for the "appleEvent" message, > this gets called asynchronously whenever the other application send > an AppleEvent. Can I achieve the same or similar under Windows? > e.g. AppA gets a Message sent to it when there is a message ready > to be read or some such? The only other way I can think of > achieving this would be for the main application to periodically > execute a "poll" handler which calls the External Command and read > the message(s) from a queue? Given two applications, AppA and AppB. AppB needs to send a message to AppA so it executes a "write to process' command. How does AppA know that a message has been sent? On the Mac, the "appleEvent" will be sent to AppA, but on Windows, AppA would have to be executing a "read from process" command to be able to get the data. Also if I have a number of Applications (AppC, AppD, AppE) that want to communicate with AppA then I'd have to be executing 4 "read from process" command simultaneously, how could this be implemented? Thanks a lot All the Best Dave On 13 Feb 2008, at 16:19, Thierry wrote: > Hi Dave, > >> Hi All, >> >> I've been working on a way of getting two RunRev Standalone's to >> communicate with each other. >> Any ideas or suggestions gratefully appreciated. > > > Well, I've done almost this years ago... > > open socket, read/write from socket... > or > open process, read/write from process... > > All this is in the Doc. > > HTH, > Regards, > Thierry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From chris at altuit.com Wed Feb 13 12:16:21 2008 From: chris at altuit.com (chris bohnert) Date: Wed, 13 Feb 2008 11:16:21 -0600 Subject: Determine current internet proxy settings on OS X? In-Reply-To: References: Message-ID: <2e0cf4750802130916m3af0d31i6b1babc1603987e@mail.gmail.com> Trevor, I think "scutil" is the interface to most everything from that api? The docs say "scutil --proxy" should return the current system proxy information. -- cb On Feb 13, 2008 10:44 AM, Trevor DeVore wrote: > Hi, > > I'm trying to detect the current internet proxy settings on OS X so > users do not have to manually configure my application. I came across > the API call which I could access with an external > (SCDynamicStoreCopyProxies ) but I'm wondering if anyone knows a shell > call that can be used? > > Thanks, > > -- > Trevor DeVore > Blue Mango Learning Systems > www.bluemangolearning.com - www.screensteps.com > > > Email has been scanned for viruses by Altman Technologies' email > management service - www.altman.co.uk/emailsystems > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From eric.chatonet at sosmartsoftware.com Wed Feb 13 12:18:20 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 13 Feb 2008 18:18:20 +0100 Subject: Inter-Application Communication on Windows In-Reply-To: References: Message-ID: Hi Dave, You should have a look at TCP App 1 & 2 from Alex Tweedly on RevOnline. Le 13 f?vr. 08 ? 18:14, Dave a ?crit : > Hi, > > This looks like it's the way to get/put data from/to applications, > but: > >> However, on the Mac I have a handler for the "appleEvent" message, >> this gets called asynchronously whenever the other application >> send an AppleEvent. Can I achieve the same or similar under >> Windows? e.g. AppA gets a Message sent to it when there is a >> message ready to be read or some such? The only other way I can >> think of achieving this would be for the main application to >> periodically execute a "poll" handler which calls the External >> Command and read the message(s) from a queue? > > > Given two applications, AppA and AppB. AppB needs to send a message > to AppA so it executes a "write to process' command. How does AppA > know that a message has been sent? On the Mac, the "appleEvent" > will be sent to AppA, but on Windows, AppA would have to be > executing a "read from process" command to be able to get the data. > Also if I have a number of Applications (AppC, AppD, AppE) that > want to communicate with AppA then I'd have to be executing 4 "read > from process" command simultaneously, how could this be implemented? > > Thanks a lot > All the Best > Dave Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From m.schonewille at economy-x-talk.com Wed Feb 13 12:19:08 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 13 Feb 2008 18:19:08 +0100 Subject: Substack command don't reach main stack when executed as Standalone , In-Reply-To: <8017016B-D9CD-408A-95A9-B607D2073494@mac.com> References: <8017016B-D9CD-408A-95A9-B607D2073494@mac.com> Message-ID: Hi Pierre, In the standalone settings, please make sure to include ask and answer dialogs. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html Op 13-feb-2008, om 18:10 heeft Pierre het volgende geschreven: > I have a main stack with several substacks using KeyBoard input and > Control handlers stored in Main Stack. > > During development everything goes right. > > When running the StandAlone I can't run these Handlers. > > > I'm using Rev Enterprise V 2.8.1 with Mac OS X.4.10 on a Mac Mini > > I tried to put this handler at SubStack Script's level: > > "on SaisieChamp NomChamp, NomStack > answer "Stack Script 'Saisie Rapide'" ==> I > can get the the question under Revolution and not when running > Standalone > pass SaisieChamp > end SaisieChamp" > > I Put the same handler ? Stack Script's level: > > "on SaisieChamp NomChamp, NomStack > global GR?ponseChoix > > --breakpoint > answer "Script Stack Compta" & return & "NomChamp = " & > NomChamp & return & "NomStack = " & NomStack ==> I don't > get the question when running Standalone > ...." > > I verified though the "Stack Inspector", substack is defined as > "Substack" of the > > Do I have something to do in "Stack Files" of "Stack Inspector" of > the Main Stack ? > > Has any one an idea of what goes wrong, what must I verify or do? > > Many thanks for helping > > Pierre > From eric.chatonet at sosmartsoftware.com Wed Feb 13 12:19:29 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 13 Feb 2008 18:19:29 +0100 Subject: Substack command don't reach main stack when executed as Standalone , In-Reply-To: <8017016B-D9CD-408A-95A9-B607D2073494@mac.com> References: <8017016B-D9CD-408A-95A9-B607D2073494@mac.com> Message-ID: <5F2DA777-7A63-441C-8578-66012FE7F04C@sosmartsoftware.com> Bonjour Pierre, Probably you have not included the answer dialog in your standalone: See the 'General' pane of 'StandAlone Application Settings' in menu 'File'. Le 13 f?vr. 08 ? 18:10, Pierre a ?crit : > I have a main stack with several substacks using KeyBoard input and > Control handlers stored in Main Stack. > > During development everything goes right. > > When running the StandAlone I can't run these Handlers. > > > I'm using Rev Enterprise V 2.8.1 with Mac OS X.4.10 on a Mac Mini > > I tried to put this handler at SubStack Script's level: > > "on SaisieChamp NomChamp, NomStack > answer "Stack Script 'Saisie Rapide'" ==> I > can get the the question under Revolution and not when running > Standalone > pass SaisieChamp > end SaisieChamp" > > I Put the same handler ? Stack Script's level: > > "on SaisieChamp NomChamp, NomStack > global GR?ponseChoix > > --breakpoint > answer "Script Stack Compta" & return & "NomChamp = " & > NomChamp & return & "NomStack = " & NomStack ==> I don't > get the question when running Standalone > ...." > > I verified though the "Stack Inspector", substack is defined as > "Substack" of the > > Do I have something to do in "Stack Files" of "Stack Inspector" of > the Main Stack ? > > Has any one an idea of what goes wrong, what must I verify or do? > > Many thanks for helping > > Pierre Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From dave at looktowindward.com Wed Feb 13 12:22:40 2008 From: dave at looktowindward.com (Dave) Date: Wed, 13 Feb 2008 17:22:40 +0000 Subject: Inter-Application Communication on Windows In-Reply-To: <47B323DC.8080809@fourthworld.com> References: <47B323DC.8080809@fourthworld.com> Message-ID: On 13 Feb 2008, at 17:07, Richard Gaskin wrote: > Dave wrote: >> I've been working on a way of getting two RunRev Standalone's to >> communicate with each other. > > Do they have to be separate standalones? No, but due to the lack of independent processes in RunRev and the way in which "post" (and URL library in general) works, I couldn't make a reliable application with just one standalone. I'd *much* rather have just one Standalone, but the other stuff needs to work too. I have an application that periodically creates or updates an SQLite database (actually there are lots of databases (separate SQLite files), but only one is worked on at a time) and then sends the results to the server. This process can take upwards of 15 minutes to complete. In the meantime I want to be able to still use the application to do other things (such as create playlists in iTunes). The application(s) must run under Mac OS X and Windows XP/Vista. Any ideas on how to do this would be greatly appreciated. All the Best Dave From pierre.bernaert at mac.com Wed Feb 13 12:25:28 2008 From: pierre.bernaert at mac.com (Pierre) Date: Wed, 13 Feb 2008 18:25:28 +0100 Subject: Substack command don't reach main stack when executed as Standalone , In-Reply-To: References: <8017016B-D9CD-408A-95A9-B607D2073494@mac.com> Message-ID: Hi Marc, It's done 'Ask, Answer and Cursons are on" and I get the answer command from the Substack so I don't think it comes from that point. Thanks for helping From pierre.bernaert at mac.com Wed Feb 13 12:30:57 2008 From: pierre.bernaert at mac.com (Pierre) Date: Wed, 13 Feb 2008 18:30:57 +0100 Subject: Substack command don't reach main stack when executed as Standalone-"Corrected" Message-ID: <4A12D245-02F0-459F-B163-96CA15FA9167@mac.com> Excuse me I made a mistake describing the problem so here is the right description I have a main stack with several substacks using KeyBoard input and Control handlers stored in Main Stack. During development everything goes right. When running the StandAlone I can't run these Handlers. I'm using Rev Enterprise V 2.8.1 with Mac OS X.4.10 on a Mac Mini I tried to put this handler at SubStack Script's level: "on SaisieChamp NomChamp, NomStack answer "Stack Script 'Saisie Rapide'" ==> I can get the the question under Revolution AND when running Standalone Both are OK pass SaisieChamp end SaisieChamp" I Put the same handler ? Stack Script's level: "on SaisieChamp NomChamp, NomStack global GR?ponseChoix --breakpoint answer "Script Stack Compta" & return & "NomChamp = " & NomChamp & return & "NomStack = " & NomStack ==> I don't get the question when running Standalone ...." I verified though the "Stack Inspector", substack is defined as "Substack" of the Do I have something to do in "Stack Files" of "Stack Inspector" of the Main Stack ? Has any one an idea of what goes wrong, what must I verify or do? Many thanks for helping Pierre From m.schonewille at economy-x-talk.com Wed Feb 13 12:36:27 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 13 Feb 2008 18:36:27 +0100 Subject: Substack command don't reach main stack when executed as Standalone , In-Reply-To: References: <8017016B-D9CD-408A-95A9-B607D2073494@mac.com> Message-ID: Pierre, Could you post your complete SaisieChamp handlers, including the script that calls this handler, without additional comments and changes? I don't see a line containing "end SaisieChamp" in the script at mainstack level. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html Op 13-feb-2008, om 18:25 heeft Pierre het volgende geschreven: > Hi Marc, > > It's done 'Ask, Answer and Cursons are on" and I get the answer > command from the Substack so I don't think it comes from that point. > > Thanks for helping > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Wed Feb 13 12:39:36 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 13 Feb 2008 18:39:36 +0100 Subject: Substack command don't reach main stack when executed as Standalone-"Corrected" In-Reply-To: <4A12D245-02F0-459F-B163-96CA15FA9167@mac.com> References: <4A12D245-02F0-459F-B163-96CA15FA9167@mac.com> Message-ID: <0166E90F-6705-47ED-A117-4EEEFA4D96B1@sosmartsoftware.com> How and when is called 'SaisieChamp'? Seems to be the point :-) Le 13 f?vr. 08 ? 18:30, Pierre a ?crit : > Excuse me I made a mistake describing the problem > so here is the right description > > > I have a main stack with several substacks using KeyBoard input and > Control handlers stored in Main Stack. > > During development everything goes right. > > When running the StandAlone I can't run these Handlers. > > > I'm using Rev Enterprise V 2.8.1 with Mac OS X.4.10 on a Mac Mini > > I tried to put this handler at SubStack Script's level: > > "on SaisieChamp NomChamp, NomStack > answer "Stack Script 'Saisie Rapide'" > ==> I can get the the question under Revolution AND when running > Standalone Both are OK > pass SaisieChamp > end SaisieChamp" > > I Put the same handler ? Stack Script's level: > > "on SaisieChamp NomChamp, NomStack > global GR?ponseChoix > > --breakpoint > answer "Script Stack Compta" & return & "NomChamp = " & > NomChamp & return & "NomStack = " & NomStack ==> I don't > get the question when running Standalone > ...." > > I verified though the "Stack Inspector", substack is defined as > "Substack" of the > > Do I have something to do in "Stack Files" of "Stack Inspector" of > the Main Stack ? > > Has any one an idea of what goes wrong, what must I verify or do? > > Many thanks for helping > > Pierre Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From ambassador at fourthworld.com Wed Feb 13 12:41:49 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 13 Feb 2008 09:41:49 -0800 Subject: Inter-Application Communication on Windows Message-ID: <47B32BDD.5090105@fourthworld.com> Dave wrote: > I have an application that periodically creates or updates an SQLite > database (actually there are lots of databases (separate SQLite > files), but only one is worked on at a time) and then sends the > results to the server. This process can take upwards of 15 minutes to > complete. In the meantime I want to be able to still use the > application to do other things (such as create playlists in iTunes). I'd use sockets, or polling for a file. While polling a file's content can eat some cycles, polling for the existence of a file is pretty darn fast. Given the scenario you describe, where you're not really expecting a result for several minutes, you could probably get away with polling for a file every few seconds. Cheap, simple, reasonably efficient. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From stephenREVOLUTION2 at barncard.com Wed Feb 13 12:46:15 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Wed, 13 Feb 2008 09:46:15 -0800 Subject: Archiving Eudora? Message-ID: My good-old Eudora email client has been abandoned by the developers, and the open-source version that's offered isn't anywhere near what Eudora was -- that Mozilla 'version' (Penelope) is just a skin over Thunderbird. "QUALCOMM has decided not to remain in the email market because it is not in alignment with the core business or strategic goals." what else does QUALCOMM do besides cell phone stuff? Don't thousands of people still use Eudora? ANYWAY... Rev content -- there was someone on this list who stated that they had or were working on or had completed an archiving tool to parse out all the Eudora files and create a CSV list. Yes, I know I could make one, I've done Eudora email parsing before in HC, but if an app has already been done, it would be worth it. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From lists at mangomultimedia.com Wed Feb 13 13:27:27 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 13 Feb 2008 13:27:27 -0500 Subject: Determine current internet proxy settings on OS X? In-Reply-To: <2e0cf4750802130916m3af0d31i6b1babc1603987e@mail.gmail.com> References: <2e0cf4750802130916m3af0d31i6b1babc1603987e@mail.gmail.com> Message-ID: <027005F2-9055-4119-8D22-A6E58505C222@mangomultimedia.com> On Feb 13, 2008, at 12:16 PM, chris bohnert wrote: > I think "scutil" is the interface to most everything from that api? > The > docs say "scutil --proxy" should return the current system proxy > information. That looks like it will do the trick. Thanks Chris! Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From pierre.bernaert at mac.com Wed Feb 13 13:29:12 2008 From: pierre.bernaert at mac.com (Pierre) Date: Wed, 13 Feb 2008 19:29:12 +0100 Subject: =?iso-8859-1?q?R=E9p_=3A_Substack_command_don=27t_reach_main_sta?= =?iso-8859-1?q?ck_when_executed_as_Standalone-=22Corrected=22?= Message-ID: Hi Eric and Marc I tried to send a copy of my handlers but my mail is too big (22K instead of 15K allowed. I suppressed a few lines lines from the Handler in the Main Stack Script: The "Calling Handler of the Substack is : --> all handlers on MouseUp ==> In the protected fld of the Substack put "Modification de '" & the short name of me & "' " & "Saisie. " into fld "Statut" answer "MouseUp du champ Montant" SaisieChamp The short name of me, the short name of this stack end MouseUp And the Handler in the Main Stack's script is : on SaisieChamp NomChamp, NomStack global GR?ponseChoix --breakpoint answer "Script Stack Compta" & return & "NomChamp = " & NomChamp & return & "NomStack = " & NomStack ==> This doesn't work when in standalone --breakpoint get the CustomerProperties of fld NomChamp of Stack NomStack put it into Masque put word 3 of line 1 of Masque into NbEntiers put Word 3 of line 2 of Masque into TheType put Word 3 of line 3 of Masque into NbD?cimales put Word 3 of line 5 of masque into LngCsie put Word 3 of Line 7 of Masque into AutorisationCsieLng if theType = "A" then CsieAlpha NomChamp, NomStack, LngCsie, AutorisationCsieLng put the result into Valeur end if if Valeur is not "Abandon" then put Valeur into fld NomChamp of Stack NomStack put empty into fld "Statut" of Stack NomStack end if end SaisieChamp From FlexibleLearning at aol.com Wed Feb 13 13:36:52 2008 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed, 13 Feb 2008 13:36:52 EST Subject: Inter-Application Communication on Windows Message-ID: After going all round the houses on this one, using files is exactly how the Scripter's Scrapbook IAC API works, with the benefit of being a cross platform solution as well. /H Dave wrote: > I have an application that periodically creates or updates an SQLite > database (actually there are lots of databases (separate SQLite > files), but only one is worked on at a time) and then sends the > results to the server. This process can take upwards of 15 minutes to > complete. In the meantime I want to be able to still use the > application to do other things (such as create playlists in iTunes). Richard Gaskin wrote: I'd use sockets, or polling for a file. While polling a file's content can eat some cycles, polling for the existence of a file is pretty darn fast. Given the scenario you describe, where you're not really expecting a result for several minutes, you could probably get away with polling for a file every few seconds. Cheap, simple, reasonably efficient. From bvg at mac.com Wed Feb 13 13:46:21 2008 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 13 Feb 2008 19:46:21 +0100 Subject: Threshold filters (Rev Newsletter #48) In-Reply-To: <47B319EA.7000905@hrz.uni-kassel.de> References: <47B319EA.7000905@hrz.uni-kassel.de> Message-ID: <7801B9FC-66AA-41B6-87C5-3A41E7C22DD0@mac.com> A very interesting read, and it fits nicely into your expertise. However, you use "put into" in the last example (repeat for each). This negates the speed gain you'd get by using "for each". try to use "put after" or "put before". I made some tests, and it increased the speed of the loop alone by up to 10% for me. Of course it also needs double the ram :) The code i used: on mouseup answer "Select threshold to create the black-and-white image:" with "80" or "100" or "128" or "150" or "180" wait 3 milliseconds put it into threshold set the cursor to watch put 1 into x set the saved of image x to the filename of image x put the imageData of image x into iData put 0 into counter put the milliseconds into bvgTimestamp repeat for each char C in idata add 1 to counter if counter mod 4 = 2 then # the red pixel put chartonum(C) into tC if tC > threshold then put 255 into tC else put 0 into tC end if end if put numtochar(tC) after idata2 --put numtochar(tC) into char counter of idata end repeat put the milliseconds - bvgTimestamp set the imageData of image x to iData2 end mouseUp On 13 Feb 2008, at 17:25, Wilhelm Sanke wrote: > There is only sparse documentation about "imagedata" in Revolution. > Without the more detailed information and sample stacks from the > websites of other experienced members of this list I would probably > never have got a start to learn and apply some of the possibilities > of imagedata handling. > > Therefore it is praiseworthy that he Revolution team now tries to > provide us with more useful information in Newsletter #48 and > introduce us to the "use of thresholding for image manipulation". > They also apply modern "state-of-the-art" pedagogy, in so far as > they bundle their example with kind of a joke for better learning. > If such an approach isn't over-used it might indeed work. > > My "Imagedata Toolkit" stack (last public version of May 2007 > > ) > > among the more than 200 filters for manipulating imagedata already > contains 7 filters using the threshold principle (see menu-button > "thresholds"). > > I created another button in this stack adapting the script > information in the newsletter to my environment to compare the new > threshold filter. > > First thing I noticed was that only 25% of an image is affected. > This holds for all of the three script examples displayed in the > newsletter. One important factor is missing in all these examples, > which I leave to you to find out for yourselves (another instance of > modern pedagogy). > > I then downloaded the sample stack to have a look whether its > scripts worked better, but for some reason I was unable to un-zip > the stack on Windows, even after downloading it again. I transferred > the archive to my Macbook and finally succeeded in extracting the > stack using Stuffit Expander. Looking at the relevant script > revealed that here the author of the stack had indeed added the > missing factor. > > Re-tranferring the unzipped stack back to Windows did not work > first, until I found out that Windows did not like the question- > mark as part of the stack name. > I removed the question-mark, and then was able to get the stack > onto my Windows computer, however, it was impossible to open it in > Revolution. > Therefore I only extracted the necessary script from the stack on my > Macbook and put it into my Imagedata-Toolkit stack on my Windows > machine. > > Now I was able to compare the threshold script with my own 7 > threshold buttons. The solution found by the author - even > disregarding the entertainment factor - was fine and its effects > different, but somewhat similar to those of my own buttons that use > two or more thresholds. > > However, I found the script to run much slower due to the many > computations inside the nested repeat loops.- > > ====================== > In the following, I use a step-by-step approach to show how the > speed of the script execution could be improved. To do this I show > only one of the thirteen script lines inside the loop that - > concerning the definition of the imagedata chars - is identical to > the other 12 lines. > > "repeat with y = 1 to pHeight > repeat with x = 1 to pWidth put charToNum(char ((y - 1) > * pWidth * 4) + ((x - 1) * 4) + 2 of pImage) into tRed" > > The script as it is takes 3500 milliseconds to execute for an image > 640x480 on my Windows computer. > > Step 1: Remove the two "- 1" inside the loop and change the x and y > start and end values accordingly; > > new script: > > "repeat with y = 0 to pHeight - 1 > repeat with x = 0 to pWidth - 1 put charToNum(char (y * > pWidth * 4) + (x * 4) + 2 of pImage) into tRed" > > Speed gain here is about 300 milliseconds (now 3219). > > Step 2: Compute "pwidth * 4" outside the loops; > > new script: > > "put pwidth * 4 into tpwidth > repeat with y = 0 to pHeight - 1 > repeat with x = 0 to pWidth - 1 put charToNum(char (y * > tpWidth) + (x * 4) + 2 of pImage) into tRed" > > Speed gain another 300 ms (now 2932). > > Step 3: Combine y with tpwidth; > > new script: > > "put pwidth * 4 into tpwidth > repeat with y = 0 to pHeight - 1 > put y * tpwidth into typwidth > repeat with x = 0 to pWidth - 1 put charToNum(char > typWidth + (x * 4) + 2 of pImage) into tRed" > > Step 4: put "x*4" into tx; > > new script: > > "put pwidth * 4 into tpwidth > repeat with y = 0 to pHeight - 1 > put y * tpwidth into typwidth > repeat with x = 0 to pWidth - 1 > put x * 4 into tx put charToNum(char typWidth + tx + 2 > of pImage) into tRed" > > Overall speed gain from beginning: 1 second (now 2585) > > Step 5: Combine typwidth and tx; > > new script: > > "put pwidth * 4 into tpwidth > repeat with y = 0 to pHeight - 1 > put y * tpwidth into typwidth > repeat with x = 0 to pWidth - 1 > put x * 4 into tx put typwidth + tx into tyx put > charToNum(char tyx + 2 of pImage) into tRed" > > Speed gain: another 100 ms (now 2461) > > Step 6: Remove the irrelevant line accessing the alpha value of the > imagedata char, i.e. > > remove line (this is the original form) > "put charToNum(char ((y - 1) * pWidth * 4) + ((x - 1) * 4) + 1 of > pImage) into tAlpha" > > Speed gain: again 100 ms (now 2340).-- > > Overall speed gain is now 33% compared to the speed of the original > script.- > > ========================== > As an additional script example - which is not among the 7 scripts > in my Imagedata stack - I tried to find a very simply structured > script using "for each" (which is by the way - in this case - slower > than a nested repeat loop), applying only one threshold, and using > only the red value to create a black-and-white image: > > "on mouseup > answer "Select threshold to create the black-and-white image:" with > "80" or "100" or "128" or "150" or "180" > wait 3 milliseconds > put it into threshold > set the cursor to watch > put the imageData of image x into iData > put 0 into counter > repeat for each char C in idata > add 1 to counter > if counter mod 4 = 2 then # the red pixel > put chartonum(C) into tC > if tC > threshold then > put 255 into tC > else > put 0 into tC > end if > end if > put numtochar(tC) into char counter of idata > end repeat > set the imageData of image x to iData > end mouseUp" > > (Pay attention to possible line breaks of this script in this post.) > > I hope I have added some useful information and thus have supported > the efforts of the Rev team to familiarize us with imagedata > manipulation. > > Regards, > > Wilhelm Sanke > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mfstuart at cox.net Wed Feb 13 14:02:04 2008 From: mfstuart at cox.net (mfstuart) Date: Wed, 13 Feb 2008 11:02:04 -0800 (PST) Subject: Number of display lines on a Option Menu In-Reply-To: <71568924-5234-4746-84A8-850E773FD477@mac.com> References: <15426131.post@talk.nabble.com> <15436798.post@talk.nabble.com> <15445207.post@talk.nabble.com> <15446492.post@talk.nabble.com> <71568924-5234-4746-84A8-850E773FD477@mac.com> Message-ID: <15463917.post@talk.nabble.com> Hi Randy, Thanx for the reply. What the original question was: how to set the number of lines that are displayed when the user clicks open an Option button. I could not find the property for this in v2.8.1. In actual fact, it is not there on the Inspector. Sarah placed an image of the v2.9.0 Inspector on her web site showing this newly placed property to manually set the "menuLines" to a number. =-=-=-=-=-= Mark Stuart Randy Hengst wrote: > > Hi Mark, > > It is possible to set the option menu choices via a script -- rather > than entering them via the properties menu. That way you can have any > number of choices that you need and then change the options choices > so they are context sensitive. I used this method in a correct-the- > sentence program I made for a local teacher (known frequently as > Daily Oral Language in U.S. elementary schools). The correction > button displays different choices based on the part of the sentence > the students click on. > > If you have an option button called demo, then place this script in > another button. > > put "one" & return & "two" & return & "three" into button "demo" > > The option choices will then be one, two and three in that order. > > You can also place the choices in a variable and then put the > variable into the option button like this: > > local tOptionsTemp > put "two" & return & "three" into tOptionsTemp > put tOptionsTemp into button "demo" > > Now the button choices will read two, three > > Sorry if I missed the point of your original post. > > take care, > randy hengst > ----------------- > > On Feb 12, 2008, at 6:18 PM, mfstuart wrote: > >> >> Awesome, thanx for the reply and image, Sarah. >> I/we will be waiting for this next version (2.9.0) for this property. >> Currently, I'm using 2.8.1 on WINXP. >> >> Thanx, >> Mark Stuart > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/Number-of-display-lines-on-a-Option-Menu-tp15426131p15463917.html Sent from the Revolution - User mailing list archive at Nabble.com. From viktoras at ekoinf.net Wed Feb 13 14:08:26 2008 From: viktoras at ekoinf.net (viktoras didziulis) Date: Wed, 13 Feb 2008 21:08:26 +0200 Subject: Inter-Application Communication on Windows In-Reply-To: <47B32BDD.5090105@fourthworld.com> References: <47B32BDD.5090105@fourthworld.com> Message-ID: <47B3402A.1070304@ekoinf.net> What about the 2 applications connecting to the same sqlite database - one updates the db, the other checks whether and how it was updated?.. Viktoras Richard Gaskin wrote: > Dave wrote: >> I have an application that periodically creates or updates an SQLite >> database (actually there are lots of databases (separate SQLite >> files), but only one is worked on at a time) and then sends the >> results to the server. This process can take upwards of 15 minutes >> to complete. In the meantime I want to be able to still use the >> application to do other things (such as create playlists in iTunes). > > I'd use sockets, or polling for a file. While polling a file's > content can eat some cycles, polling for the existence of a file is > pretty darn fast. Given the scenario you describe, where you're not > really expecting a result for several minutes, you could probably get > away with polling for a file every few seconds. Cheap, simple, > reasonably efficient. > From sanke at hrz.uni-kassel.de Wed Feb 13 16:35:52 2008 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Wed, 13 Feb 2008 22:35:52 +0100 Subject: Threshold filters (Rev Newsletter #48) Message-ID: <47B362B8.7080007@hrz.uni-kassel.de> On Wed Feb 13, 2008, Bj?rnke von Gierke bvg at mac.com wrote: > However, you use "put into" in the last example (repeat for each). > This negates the speed gain you'd get by using "for each". try to use > "put after" or "put before". I made some tests, and it increased the > speed of the loop alone by up to 10% for me. Of course it also needs > double the ram :) Correct! I see I have first to put empty into an extra variable "put "" into idata2" and then use "put numtochar (tC) after idata2" instead of "put numtochar(tC) into char counter of idata". This improves the execution speed from 1360 to 1221 milliseconds with the imagesize in my stack. Thanks! Best regards, Wilhelm Sanke From m.schonewille at economy-x-talk.com Wed Feb 13 16:46:17 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 13 Feb 2008 22:46:17 +0100 Subject: =?iso-8859-1?q?Re=3A_R=E9p_=3A_Substack_command_don=27t_reach_ma?= =?iso-8859-1?q?in_stack_when_executed_as_Standalone-=22Corrected=22?= In-Reply-To: References: Message-ID: <8A2B1875-854D-4D0F-BE45-4D23F5CB08E8@economy-x-talk.com> Hi Pierre, I have tested your script and it works fine, both as a stack and as a standalone, provided that the necessary fields are available. I never use this feature, but in this case it might be useful: in the standalone settings, there is a Bug Reports features, which you can turn on. If you turn this on, you should see error information when you run your standalone and click in the field that contains the mouseUp handler. Could you post that information here? Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html Op 13-feb-2008, om 19:29 heeft Pierre het volgende geschreven: > Hi Eric and Marc > > I tried to send a copy of my handlers but my mail is too big (22K > instead of 15K allowed. > > I suppressed a few lines lines from the Handler in the Main Stack > Script: > > > The "Calling Handler of the Substack is : > > --> all handlers > > on MouseUp ==> In the > protected fld of the Substack > put "Modification de '" & the short name of me & "' " & > "Saisie. " into fld "Statut" > answer "MouseUp du champ Montant" > SaisieChamp The short name of me, the short name of this stack > end MouseUp > > And the Handler in the Main Stack's script is : > > on SaisieChamp NomChamp, NomStack > global GR?ponseChoix > > --breakpoint > answer "Script Stack Compta" & return & "NomChamp = " & > NomChamp & return & "NomStack = " & NomStack ==> This doesn't > work when in standalone > --breakpoint > get the CustomerProperties of fld NomChamp of Stack > NomStack > put it into Masque > put word 3 of line 1 of Masque into NbEntiers > put Word 3 of line 2 of Masque into TheType > put Word 3 of line 3 of Masque into NbD?cimales > put Word 3 of line 5 of masque into LngCsie > put Word 3 of Line 7 of Masque into AutorisationCsieLng > if theType = "A" then > CsieAlpha NomChamp, NomStack, LngCsie, > AutorisationCsieLng > put the result into Valeur > end if > if Valeur is not "Abandon" then > put Valeur into fld NomChamp of Stack NomStack > put empty into fld "Statut" of Stack NomStack > end if > end SaisieChamp From capellan2000 at yahoo.com Wed Feb 13 17:51:16 2008 From: capellan2000 at yahoo.com (capellan) Date: Wed, 13 Feb 2008 14:51:16 -0800 (PST) Subject: Archiving Eudora? In-Reply-To: References: Message-ID: <15469849.post@talk.nabble.com> Hi Stephen, Eudora uses the mbox format, Right? On September 2006, i posted this message to this mail list: stack Mailbox Offline reader Hi all, This stack arises from the fact that i do not have internet in the place where i live actually and i like to read the messages from this list without downloading many yahoo html pages. i?m looking for testers and comments for this stack: Mailbox browser.rev to make it more useful and easy to understand. http://www.geocities.com/capellan2000/Mailbox_browser.zip _http://www.geocities.com/capellan2000/Mailbox_browser.zip_ This stack allows to read offline, the mailboxes from this and many maillist that uses the mbox format to store the messages. To test this stack, download the compressed stack and a mailbox gzipped file like: http://lists.runrev.com/pipermail/use-revolution/2006-September.txt.gz _http://lists.runrev.com/pipermail/use-revolution/2006-September.txt.gz_ Decompress the stack and open it in Rev or any of the players. When you open the stack, you will noticed six tabs: Messages, Developers, date, Subject, words, update. Click at the tab named "Update". you will notice a text field and four controls in the bottom of the card area. Click at the button named: Click this button to update... or Drag and drop a mailbox gzipped file to the field labeled: Drag and Drop here a compressed... Then, automatically an script will create a duplicate of the stack "Mailbox Offline Reader" and will insert in this copy (as custom properties) 1)the complete mailbox compressed as gzip 2)a gzip compressed Subject index 3)a Developers index 4)Date index 5)words index 6) and create other custom properties. Notice, in the process of creating this mailbox, the script ask that you choose one or two letters to identify the mailbox. Use R for Runrev or M for MetaCard mailboxes or E for education list... When the process of creating all these indexes is finished the stack is saved at the same location of the stack "Mailbox Offline Reader" using the extension .mdg , but remember it is still a stack that you could open from Revolution. Then, from this stack, you will be able to browse the post of the mailbox, by date, developer, subject, and words. In the first tab, Messages, you could use the right click button to get a contextual menu to copy text, and find it in the indexes. In the other tabs: developers, subjects date and words, you had to Right click on the line to activate the script that displays the messages. The code is open to see, feel free to post your own enhancement to this list, or send them to my email. Thanks to Chipp Walters for his stack altFldHeader and Alex Tweedley for his script to parse Mailboxes. Have a nice day. alejandro on Wednesday, 13 February 2008 Stephen Barncard wrote: > there was someone on this list who stated > that they had or were working on or had completed an archiving tool > to parse out all the Eudora files and create a CSV list. > Yes, I know I could make one, I've done Eudora email parsing before > in HC, but if an app has already been done, it would be worth it. -- View this message in context: http://www.nabble.com/Archiving-Eudora--tp15463948p15469849.html Sent from the Revolution - User mailing list archive at Nabble.com. From kray at sonsothunder.com Wed Feb 13 18:19:45 2008 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 13 Feb 2008 17:19:45 -0600 Subject: Archiving Eudora? In-Reply-To: References: Message-ID: <20080213171945861914.33a90f55@sonsothunder.com> On Wed, 13 Feb 2008 09:46:15 -0800, Stephen Barncard wrote: > Yes, I know I could make one, I've done Eudora email parsing before > in HC, but if an app has already been done, it would be worth it. Check out: www.manybases.com HTH, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From rjb at robelko.com Wed Feb 13 18:09:01 2008 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 14 Feb 2008 00:09:01 +0100 Subject: Archiving Eudora? In-Reply-To: References: Message-ID: On 13/02/08 at 09:46 -0800 Stephen Barncard apparently wrote: >My good-old Eudora email client has been abandoned by the >developers, and the open-source version that's offered isn't >anywhere near what Eudora was -- that Mozilla 'version' (Penelope) >is just a skin over Thunderbird. Check out Odysseus. They should be coming with beta soon. Besides, the good-old Eudora continues to work under Leopard (with just a glitch with certain type of sounds in 6.x), so no specific reason to stop using it any time soon. >ANYWAY... Rev content -- there was someone on this list who stated >that they had or were working on or had completed an archiving tool >to parse out all the Eudora files and create a CSV list. I think this is (was?) available as a commercial product. Forget the name. Robert From andres at bakno.com Wed Feb 13 18:24:41 2008 From: andres at bakno.com (Andres Martinez) Date: Wed, 13 Feb 2008 18:24:41 -0500 Subject: Accessing Addressbook In-Reply-To: <459184.38979.qm@web65410.mail.ac4.yahoo.com> References: <459184.38979.qm@web65410.mail.ac4.yahoo.com> Message-ID: <81220936-F3EC-4184-B94C-3DB47074A44F@bakno.com> Thanks Jan I was able to read the address book and entourage using Applescript in OSX. However, I am pulling my hair trying to find a way to read the Windows Address Book. http://answers.google.com/answers/threadview?id=134927 Does anyone know how to do it? Regards, Andres Martinez www.baKno.com On Feb 12, 2008, at 12:56 AM, Jan Schenkel wrote: > --- Andres Martinez wrote: >> Hello >> >> Is there a common way to access the addressbook >> (iCal and Entourage) >> in OSX? >> >> What about Windows? >> >> Regards, >> Andres Martinez >> > > Hi Andres, > > Your new best friends are AppleScript on OSX and > VBScript on Windows. Take a look at Ken Ray's tips > here: > > > Hope this gets you started, > > Jan Schenkel. > > Quartam Reports & PDF Library for Revolution > > > ===== > "As we grow older, we grow both wiser and more foolish at the same > time." (La Rochefoucauld) > > > > ____________________________________________________________________________________ > Looking for last minute shopping deals? > Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mfstuart at cox.net Wed Feb 13 19:23:43 2008 From: mfstuart at cox.net (mfstuart) Date: Wed, 13 Feb 2008 16:23:43 -0800 (PST) Subject: Launch silent or shell silent on WINXP Message-ID: <15471300.post@talk.nabble.com> Hi all, Environment: v2.8.1 on WINXP. I'm using the "launch" command to run an executable, where this executable has no interface and therefore does not need to display/show to the user. But when running the executable it flashes the DOS box to the user. Is there an option on the "launch" command to NOT display the DOS box - a 'silent' option or something? Thanx, Mark Stuart ps: I know that defining a shortcut for the executable could work, but wanted to know if the command could take such options for display/show, such as: Hide, Normal, Minimized, Maximized. It would be a nice option to have. -- View this message in context: http://www.nabble.com/Launch-silent-or-shell-silent-on-WINXP-tp15471300p15471300.html Sent from the Revolution - User mailing list archive at Nabble.com. From sarah.reichelt at gmail.com Wed Feb 13 19:36:55 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 14 Feb 2008 10:36:55 +1000 Subject: Launch silent or shell silent on WINXP In-Reply-To: <15471300.post@talk.nabble.com> References: <15471300.post@talk.nabble.com> Message-ID: > Environment: v2.8.1 on WINXP. > I'm using the "launch" command to run an executable, where this executable > has no interface and therefore does not need to display/show to the user. > But when running the executable it flashes the DOS box to the user. > Is there an option on the "launch" command to NOT display the DOS box - a > 'silent' option or something? Try setting the hideConsoleWindows to false before launching. Cheers, Sarah From chipp at chipp.com Wed Feb 13 22:39:07 2008 From: chipp at chipp.com (Chipp Walters) Date: Wed, 13 Feb 2008 21:39:07 -0600 Subject: Threshold filters (Rev Newsletter #48) In-Reply-To: <47B362B8.7080007@hrz.uni-kassel.de> References: <47B362B8.7080007@hrz.uni-kassel.de> Message-ID: <7aa52a210802131939r416c4489pde01f026d784691e@mail.gmail.com> Thanks Wilhelm for the great example in script optimization! From stephenREVOLUTION2 at barncard.com Thu Feb 14 01:56:59 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Wed, 13 Feb 2008 22:56:59 -0800 Subject: Archiving Eudora? In-Reply-To: <15469849.post@talk.nabble.com> References: <15469849.post@talk.nabble.com> Message-ID: Thanks, Alejandro, I will check out your stack. Perhaps I'll wait a month or so and check out Odysseus, if I can hold out. (Thanks Robert for that tip) Contrary to some others' experiences, my experience with Eudora Mac in 10.5.2 is pretty bad, with no spellchecking, random crashes, error messages on wake from sleep, adding attachments from a file dialog will sometimes crash hard. Eudora is getting more unreliable with each OS update. But I still love her, the old floozy. And Ken - thanks for info on Fast MailBase -- it uses Valentina -- is it a Rev app too? sqb >Hi Stephen, > >Eudora uses the mbox format, Right? >On September 2006, i posted this message to this mail list: > >stack Mailbox Offline reader > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From eric.chatonet at sosmartsoftware.com Thu Feb 14 02:07:37 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 14 Feb 2008 08:07:37 +0100 Subject: Archiving Eudora? In-Reply-To: References: <15469849.post@talk.nabble.com> Message-ID: Hi Stephen, Le 14 f?vr. 08 ? 07:56, Stephen Barncard a ?crit : > And Ken - thanks for info on Fast MailBase > > -- it uses Valentina Yes. > -- is it a Rev app too? Yes. ManyBases is a software written by Frederic Rinaldi. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From viktoras at ekoinf.net Thu Feb 14 02:17:42 2008 From: viktoras at ekoinf.net (viktoras didziulis) Date: Thu, 14 Feb 2008 09:17:42 +0200 Subject: Threshold filters (Rev Newsletter #48) In-Reply-To: <7801B9FC-66AA-41B6-87C5-3A41E7C22DD0@mac.com> References: <47B319EA.7000905@hrz.uni-kassel.de> <7801B9FC-66AA-41B6-87C5-3A41E7C22DD0@mac.com> Message-ID: <47B3EB16.8030309@ekoinf.net> ...from my observations put before tends to slow down with larger files. So put after is the fastest of all... V. Bj?rnke von Gierke wrote: > A very interesting read, and it fits nicely into your expertise. > > However, you use "put into" in the last example (repeat for each). > This negates the speed gain you'd get by using "for each". try to use > "put after" or "put before". I made some tests, and it increased the > speed of the loop alone by up to 10% for me. Of course it also needs > double the ram :) From lfredricks at proactive-intl.com Thu Feb 14 03:12:32 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 14 Feb 2008 00:12:32 -0800 Subject: Paradigma 10th Anniversary Means Free Developer Packs Message-ID: <00ae01c86ee1$59749a50$6501a8c0@GATEWAY> Paradigma 10th Anniversary Means Free Developer Packs FAST DATABASE VENDOR GIVES A FREE STD ADK TO EACH CUSTOMER February 14, 2008. Beaverton, Oregon-based Paradigma Software, Inc and publisher Mirye Software Publishing announce the 10th anniversary of Valentina with a special giveaway: a free copy of a Valentina ADK Standard Edition to developers working on Windows, Mac OS X or Linux. Between Valentine's Day (February 14, 2008) and President's Day (February 18, 2008), registered developers can choose a free copy of Valentina 2.5.8 ADK Standard Edition. The giveaway is available on the Paradigma website at http://www.valentina-db.com/en/gift. Just visit the giveaway page, register, then select the operating system (Windows, Mac OS X, Linux as available) and development environment used. Choices for environments include: . Apple Cocoa (Objective-C) . Adobe/Macromedia Director . REAL Software REALbasic . Mirye Runtime Revolution . Microsoft COM (Visual Basic, Delphi) . Microsoft .NET Framework . Windows C++ (Visual Studio) . Linux C++ (GCC compatible) . Mac OS X C++ (xCode) Developers can then download the archives and receive developer codes. With Valentina 2.5.8 Standard ADK, a developer can embed a local copy of the Valentina database runtime, and distribute their applications royalty free. This version of Valentina is fully upgradeable, both to Valentina ADKs as well as Valentina Developer Network, a product that allows royalty free distribution of Valentina Embedded Server. Because Valentina was originally developed for high performance and security on a network, transitioning projects to client-server or web application implementations only improve performance. Valentina Database technology was first developed and released by Paradigma founder and VP of Engineering Ruslan Zasukhin in 1998. The company has since moved headquarters to the United States, and opened or entered into agreements for representative offices in Germany and Japan. "Database performance became sexy again with Valentina. Many vendors claim superior performance, however after importing millions of records into Valentina and performing a head to head comparison in executing complex SQL statements, you will understand why developers have chosen Valentina for their cross-platform applications," said Ruslan Zasukhin, VP of Engineering. In addition to being an industry compliant, SQL database system, with full support for standards like Unicode, encryption, and XML import/export, Valentina is based on a unique object-relational model. This unique model is why Valentina executes SQL statements often hundreds of times faster than competing technologies such as MySQL, MS SQL Server and FileMaker Server - even with millions of records. Since interface plug-ins to every major development environment are provided by Paradigma, Valentina is able to take advantage of native environment features and frameworks. You can learn more about this special offer either on the Paradigma Software or Mirye web sites. About Paradigma Software, Inc Founded in 1998, Beaverton, Oregon-based Paradigma Software, Inc is the leading developer of incredibly fast and robust database solutions for business and development. Valentina 3 technology has been licensed and deployed by all major academic software publishers in North America, major film studios and Japanese consumer electronics corporations. - all looking for the fastest possible way to serve complex data as fast as possible. Paradigma Software solutions are available for every major development environment on Windows, Linux and Mac OS X. Contact Paradigma Software Ph. (503) 574-2776 http://www.paradigmasoft.com About Mirye Mirye Software Publishing is a new international publisher of cross-platform technical software and digital production content, serving the professional development and digital production market where multi-destination deployment is paramount. Mirye published titles include Paradigma Valentina Database System and Runtime Revolution cross-platform application and multimedia development system. Mirye has offices in North America and Japan. Contact Mirye Software Publishing Ph. (503) 520-0191 http://www.mirye.com From dave at looktowindward.com Thu Feb 14 06:06:45 2008 From: dave at looktowindward.com (Dave) Date: Thu, 14 Feb 2008 11:06:45 +0000 Subject: Inter-Application Communication on Windows In-Reply-To: <47B3402A.1070304@ekoinf.net> References: <47B32BDD.5090105@fourthworld.com> <47B3402A.1070304@ekoinf.net> Message-ID: Hi, Since they are two standalone applications they will have different engine's and different SQLite libraries, so I don't think you could access the same database with it getting corrupted. If you know a way do this this I'd be VERY interested. Thanks All the Best Dave On 13 Feb 2008, at 19:08, viktoras didziulis wrote: > What about the 2 applications connecting to the same sqlite > database - one updates the db, the other checks whether and how it > was updated?.. > > Viktoras > > Richard Gaskin wrote: >> Dave wrote: >>> I have an application that periodically creates or updates an >>> SQLite database (actually there are lots of databases (separate >>> SQLite files), but only one is worked on at a time) and then >>> sends the results to the server. This process can take upwards >>> of 15 minutes to complete. In the meantime I want to be able to >>> still use the application to do other things (such as create >>> playlists in iTunes). >> >> I'd use sockets, or polling for a file. While polling a file's >> content can eat some cycles, polling for the existence of a file >> is pretty darn fast. Given the scenario you describe, where >> you're not really expecting a result for several minutes, you >> could probably get away with polling for a file every few >> seconds. Cheap, simple, reasonably efficient. >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dave at looktowindward.com Thu Feb 14 06:11:10 2008 From: dave at looktowindward.com (Dave) Date: Thu, 14 Feb 2008 11:11:10 +0000 Subject: Inter-Application Communication on Windows In-Reply-To: References: Message-ID: <2CCF5335-92E8-4754-BF83-C79D81F5DBE9@looktowindward.com> Hi, I thought about using a file, but the problem is that database app has to send progress updates quite often and since it's accessing the disk heavily anyway (building the SQLite database from input files) it would slow the whole process down. If I use sockets and an addres of 127.0.0.1:6000 could this cause a problem with anti-virus and firewall software? Thanks a lot All the Best Dave On 13 Feb 2008, at 18:36, FlexibleLearning at aol.com wrote: > After going all round the houses on this one, using files is > exactly how the > Scripter's Scrapbook IAC API works, with the benefit of being a cross > platform solution as well. > > /H > > > Dave wrote: >> I have an application that periodically creates or updates an SQLite >> database (actually there are lots of databases (separate SQLite >> files), but only one is worked on at a time) and then sends the >> results to the server. This process can take upwards of 15 >> minutes to >> complete. In the meantime I want to be able to still use the >> application to do other things (such as create playlists in iTunes). > > Richard Gaskin wrote: > I'd use sockets, or polling for a file. While polling a file's > content > can eat some cycles, polling for the existence of a file is pretty > darn > fast. Given the scenario you describe, where you're not really > expecting a result for several minutes, you could probably get > away with > polling for a file every few seconds. Cheap, simple, reasonably > efficient. > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Thu Feb 14 06:21:06 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 14 Feb 2008 12:21:06 +0100 Subject: Inter-Application Communication on Windows In-Reply-To: <2CCF5335-92E8-4754-BF83-C79D81F5DBE9@looktowindward.com> References: <2CCF5335-92E8-4754-BF83-C79D81F5DBE9@looktowindward.com> Message-ID: Hello Dave, Le 14 f?vr. 08 ? 12:11, Dave a ?crit : > If I use sockets and an addres of 127.0.0.1:6000 could this cause a > problem with anti-virus and firewall software? 6000-6063/tcp ports are reserved for X Window System. See http://www.iana.org/assignments/port-numbers to choose a 'right' number. About firewalls, yes they will complain at first launch: the user will allow your app once for all. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From niggemann at uni-wh.de Thu Feb 14 07:36:42 2008 From: niggemann at uni-wh.de (BNig) Date: Thu, 14 Feb 2008 04:36:42 -0800 (PST) Subject: Threshold filters (Rev Newsletter #48) In-Reply-To: <47B319EA.7000905@hrz.uni-kassel.de> References: <47B319EA.7000905@hrz.uni-kassel.de> Message-ID: <15479415.post@talk.nabble.com> Wilhelm, try this for the threshold from red on mouseup answer "Select threshold to create the black-and-white image:" with ? "80" ?or "100" ?or "128" or "150" or "180" wait 3 milliseconds put it into threshold set the cursor to watch put the imagedata of image x into iData put "" into tOutData put numtochar(255) into tAlphabit put length(iData) into tLength put the millisec into tStart repeat with i = 2 to tLength step 4 -- i=2 for Red, i=3 for green, i=4 for blue if chartonum(char i of iData) >= threshold then put numtochar(255) into tC else put numtochar(0) into tC put tAlphabit & tC & tC & tC after tOutData end repeat ? put the millisec - tStart ? set the imagedata of image x ?to tOutData end mouseUp apparently 'for each' is slower for chars, maybe Rev has to load each char into the variable and accessing chars with some pointer magic is faster ??, especially since only one fourth of the chars is accessed here (step 4) interestingly I found the following script to be minimally but consistently faster then the above although it has to load chunks of data and a nested repeat loop on mouseup answer "Select threshold to create the black-and-white image:" with ? "80" ?or "100" ?or "128" or "150" or "180" wait 3 milliseconds put it into threshold put imagedata of image x into tData put the length of tData into tDataLength put the width of image x into theWidth put the height of image x into theHeight put theWidth * 4 into OneRow put numtochar(255) into tAlphaBit put 1 into tIncrement put "" into tDataOUt put the millisec into tStart repeat with n = 1 to theHeight put char tIncrement to (tIncrement + OneRow -1) of tData into tOneRowData add OneRow to tIncrement repeat with p = 2 to OneRow - 4 step 4 -- i = 2 for Red, i=3 for green, i=4 for blue if chartonum(char p of tOneRowData) >= threshold then put numtochar(255) into tC else put numtochar(0) into tC put tAlphaBit & tC & tC & tC after tDataOUt end repeat end repeat put the millisec - tStart set the imagedata of image x ?to tDataOUt end mouseUp best regards and thanks for your great image toolkit Bernd Wilhelm Sanke wrote: > > > "on mouseup > answer "Select threshold to create the black-and-white image:" with > "80" or "100" or "128" or "150" or "180" > wait 3 milliseconds > put it into threshold > set the cursor to watch > put the imageData of image x into iData > > put 0 into counter > repeat for each char C in idata > add 1 to counter > if counter mod 4 = 2 then # the red pixel > put chartonum(C) into tC > if tC > threshold then > put 255 into tC > else > put 0 into tC > end if > end if > put numtochar(tC) into char counter of idata > end repeat > > set the imageData of image x to iData > end mouseUp" > > > Regards, > > Wilhelm Sanke > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/Threshold-filters-%28Rev-Newsletter--48%29-tp15461928p15479415.html Sent from the Revolution - User mailing list archive at Nabble.com. From klaus at major-k.de Thu Feb 14 07:45:16 2008 From: klaus at major-k.de (Klaus Major) Date: Thu, 14 Feb 2008 13:45:16 +0100 Subject: filter without empty Message-ID: Hi there, just spend some hours debugging some otherwise clean code for a couple of hours just to discover that: ... put "one" & numtochar(0) & "two" into newstring filter newstring without empty put newstring ... gives: "one"! I just wanted to remove empty lines, so is this correct behaviour? Or should I bugzilla this one? No problems with numtochar(1). Regards Klaus Major klaus at major-k.de http://www.major-k.de From luis at anachreon.co.uk Thu Feb 14 07:48:06 2008 From: luis at anachreon.co.uk (Luis) Date: Thu, 14 Feb 2008 12:48:06 +0000 Subject: Inter-Application Communication on Windows In-Reply-To: <2CCF5335-92E8-4754-BF83-C79D81F5DBE9@looktowindward.com> References: <2CCF5335-92E8-4754-BF83-C79D81F5DBE9@looktowindward.com> Message-ID: <55FE4A1D-E65E-465C-9C68-5846D9E80F2A@anachreon.co.uk> Hiya, Might be worth a look at SQLite shared cache mode. Cheers, Luis. On 14 Feb 2008, at 11:11, Dave wrote: > Hi, > > I thought about using a file, but the problem is that database app > has to send progress updates quite often and since it's accessing > the disk heavily anyway (building the SQLite database from input > files) it would slow the whole process down. > > If I use sockets and an addres of 127.0.0.1:6000 could this cause a > problem with anti-virus and firewall software? > > Thanks a lot > > All the Best > Dave > > On 13 Feb 2008, at 18:36, FlexibleLearning at aol.com wrote: > >> After going all round the houses on this one, using files is >> exactly how the >> Scripter's Scrapbook IAC API works, with the benefit of being a cross >> platform solution as well. >> >> /H >> >> >> Dave wrote: >>> I have an application that periodically creates or updates an >>> SQLite >>> database (actually there are lots of databases (separate SQLite >>> files), but only one is worked on at a time) and then sends the >>> results to the server. This process can take upwards of 15 >>> minutes to >>> complete. In the meantime I want to be able to still use the >>> application to do other things (such as create playlists in >>> iTunes). >> >> Richard Gaskin wrote: >> I'd use sockets, or polling for a file. While polling a file's >> content >> can eat some cycles, polling for the existence of a file is >> pretty darn >> fast. Given the scenario you describe, where you're not really >> expecting a result for several minutes, you could probably get >> away with >> polling for a file every few seconds. Cheap, simple, reasonably >> efficient. >> >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mark at maseurope.net Thu Feb 14 08:00:20 2008 From: mark at maseurope.net (Mark Smith) Date: Thu, 14 Feb 2008 13:00:20 +0000 Subject: filter without empty In-Reply-To: References: Message-ID: <17EAE47A-26C0-4725-BA4C-EEB0E1533720@maseurope.net> I think using engine opertaions on data that contains nulls is a bit of a no-no. I believe (though happy to be corrected) that Rev uses C- style null terminated strings internally, so nulls will often produce 'unexpected results'. Best, Mark On 14 Feb 2008, at 12:45, Klaus Major wrote: > Hi there, > > just spend some hours debugging some otherwise clean code > for a couple of hours just to discover that: > > ... > put "one" & numtochar(0) & "two" into newstring > filter newstring without empty > put newstring > ... > > gives: "one"! > > I just wanted to remove empty lines, so is this correct behaviour? > Or should I bugzilla this one? > > No problems with numtochar(1). > > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Thu Feb 14 08:06:51 2008 From: klaus at major-k.de (Klaus Major) Date: Thu, 14 Feb 2008 14:06:51 +0100 Subject: filter without empty In-Reply-To: <17EAE47A-26C0-4725-BA4C-EEB0E1533720@maseurope.net> References: <17EAE47A-26C0-4725-BA4C-EEB0E1533720@maseurope.net> Message-ID: <39C38E8D-61EF-42D8-915C-8378A9B121C8@major-k.de> Hi Mark, > I think using engine opertaions on data that contains nulls is a > bit of a no-no. I believe (though happy to be corrected) that Rev > uses C-style null terminated strings internally, so nulls will > often produce 'unexpected results'. Hm, I have been using numtochar(0) quite often in the past, especially as an itemdelitimter with other numtochar(1) delimited items in it, and this is he first time that I encountered problems. Any other opinions before I remove this potential troublemaker from my scripts? Thanks Mark :-) > Best, > > Mark Best Klaus Major klaus at major-k.de http://www.major-k.de/bass Mark, maybe you as a bassplayer would like to take a look at my new bass dept. on my website? See signature. Still work in progress! From viktoras at ekoinf.net Thu Feb 14 08:30:19 2008 From: viktoras at ekoinf.net (viktoras didziulis) Date: Thu, 14 Feb 2008 15:30:19 +0200 Subject: Inter-Application Communication on Windows In-Reply-To: References: <47B32BDD.5090105@fourthworld.com> <47B3402A.1070304@ekoinf.net> Message-ID: <47B4426B.4020400@ekoinf.net> Hi Dave, in one of my applications I use shell to communicate with sqlite for data .import and revolution's sqlite to query and modify the same database. It was never corrupted... Maybe just because .importing and modification are sequential and do not attempt to modify the same database in the same time. I am frequently using an instance of commandline sqlite and an instance of sqlitespy for some database tests - it possibly can corrupt the database, but so far this has never happened. Accessing the same sqlite database should not make any big troubles unless both sqlite instances modify the database simultaneously. In this case you may try implementing some sort of locking mechanism. But then the solution with file would be simpler. I did a test with a very very simple sqlite app - it did not corrupt the database even if many instances of it were running... So you can read, insert or delete a record in a table with one instance and read it with another and vice versa... But I guess there are scenarios when the database can get corrupt. The zipped folder with both the compiled app (for Windows) and the source can be downloaded from: http://ekoinf.net/soft/SQLiteTest.zip Best wishes Viktoras Dave wrote: > Hi, > > Since they are two standalone applications they will have different > engine's and different SQLite libraries, so I don't think you could > access the same database with it getting corrupted. If you know a way > do this this I'd be VERY interested. > > Thanks > > All the Best > Dave > > > On 13 Feb 2008, at 19:08, viktoras didziulis wrote: > >> What about the 2 applications connecting to the same sqlite database >> - one updates the db, the other checks whether and how it was updated?.. >> >> Viktoras >> >> Richard Gaskin wrote: >>> Dave wrote: >>>> I have an application that periodically creates or updates an >>>> SQLite database (actually there are lots of databases (separate >>>> SQLite files), but only one is worked on at a time) and then sends >>>> the results to the server. This process can take upwards of 15 >>>> minutes to complete. In the meantime I want to be able to still >>>> use the application to do other things (such as create playlists >>>> in iTunes). >>> >>> I'd use sockets, or polling for a file. While polling a file's >>> content can eat some cycles, polling for the existence of a file is >>> pretty darn fast. Given the scenario you describe, where you're not >>> really expecting a result for several minutes, you could probably >>> get away with polling for a file every few seconds. Cheap, simple, >>> reasonably efficient. >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From mark at maseurope.net Thu Feb 14 09:31:33 2008 From: mark at maseurope.net (Mark Smith) Date: Thu, 14 Feb 2008 14:31:33 +0000 Subject: filter without empty In-Reply-To: <39C38E8D-61EF-42D8-915C-8378A9B121C8@major-k.de> References: <17EAE47A-26C0-4725-BA4C-EEB0E1533720@maseurope.net> <39C38E8D-61EF-42D8-915C-8378A9B121C8@major-k.de> Message-ID: <17914D31-2DC2-466F-AD86-97701669FE91@maseurope.net> Oh well, my theory is clearly flawed - though I remember having some trouble with nulls a few years ago and so have avoided using them since. Cool bass site! I believe Mark Wieder is also an earth shaker - any others here? Best, Mark On 14 Feb 2008, at 13:06, Klaus Major wrote: > Hi Mark, > >> I think using engine opertaions on data that contains nulls is a >> bit of a no-no. I believe (though happy to be corrected) that Rev >> uses C-style null terminated strings internally, so nulls will >> often produce 'unexpected results'. > > Hm, I have been using numtochar(0) quite often in the past, especially > as an itemdelitimter with other numtochar(1) delimited items in it, > and this > is he first time that I encountered problems. > > Any other opinions before I remove this potential troublemaker from > my scripts? > > Thanks Mark :-) > >> Best, >> >> Mark > > Best > > Klaus Major > klaus at major-k.de > http://www.major-k.de/bass > > Mark, maybe you as a bassplayer would like to take a look at my new > bass dept. on my website? See signature. Still work in progress! > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Thu Feb 14 11:25:59 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 14 Feb 2008 08:25:59 -0800 Subject: filter without empty In-Reply-To: Message-ID: I know for sure that null does not work with the filter command. I have posted code in the past for extracting data from sources that you do not create and one of the steps I put in before any filter commands is replace null with empty in dataBlock Sorry it works that way. Jim Ault Las Vegas On 2/14/08 4:45 AM, "Klaus Major" wrote: > Hi there, > > just spend some hours debugging some otherwise clean code > for a couple of hours just to discover that: > > ... > put "one" & numtochar(0) & "two" into newstring > filter newstring without empty > put newstring > ... > > gives: "one"! > > I just wanted to remove empty lines, so is this correct behaviour? > Or should I bugzilla this one? > > No problems with numtochar(1). > From stephenREVOLUTION2 at barncard.com Thu Feb 14 11:46:46 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Thu, 14 Feb 2008 08:46:46 -0800 Subject: OT bass players In-Reply-To: <17914D31-2DC2-466F-AD86-97701669FE91@maseurope.net> References: <17EAE47A-26C0-4725-BA4C-EEB0E1533720@maseurope.net> <39C38E8D-61EF-42D8-915C-8378A9B121C8@major-k.de> <17914D31-2DC2-466F-AD86-97701669FE91@maseurope.net> Message-ID: used to play bass on stage in the mid to late 60's in a huge horn band. Built my own amp and speaker cabinet. Played on my own [studio] productions in the 70's. My chops are out of shape now (and so many players I know are much better than I now) but still have a nice pre-CBS jazz Fender. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From lfredricks at proactive-intl.com Thu Feb 14 12:32:54 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 14 Feb 2008 09:32:54 -0800 Subject: Free Valentina ADK Std Editon; New Revolution Oriented NING Community Message-ID: <028f01c86f2f$a2117be0$6501a8c0@GATEWAY> Hello all, We are in the process of inviting our partners to join the Mirye Community NING at http://miryesoftware.ning.com and want to invite you :-) A few things we've posted today: -10 Minutes with Bill Atkinson, Creator of HyperCard -Celebrating 10 Years of Valentina with FREE Valentina ADK Std Edition -February 2008: Free Icon Set with Revolution Studio or Higher (upgrades or new) -Other Special Offers This site focuses more on the "solution" rather than the product; the plan is to establish special interest groups around what you can achieve with Revolution and associated products. Mirye focuses on the "fruit" of digital production, which encompasses cross-platform development. For this reason, we have Special Interest Groups that will be solutions oriented. That does not mean it is exclusively commercial in nature - we all need to accomplish tasks with the tools we use. One group just started is the Revolution Live Group to talk with other attendees (http://miryesoftware.ning.com/group/revolutionlive). This site works along with other iniatives such as the Revolution Developers Linked In Group (http://www.linkedin.com/e/gis/50811/3AFC3E793E6E) and the - now in beta - Consultant's Directory (http://www.mirye.com/index.php/Revolution-Developers.html). The consultant's directory is still rough around the edges and to be updated, but any data entered will be carried over. A basic listing there is entirely free. We are currently recruiting Benevolent Dictators to help out with the Special Interest Groups or to suggest new ones. If you can devote some time to helping shepard particular special interest areas - we are very interested to hear from you. I hope you'll join in! This site isnt a replacement for the Revolution mailing list, but it's got features that will make it a pleasure compared to many more static community sites. Best regards, Lynn Fredricks Mirye Software Publishing http://www.mirye.com From klaus at major-k.de Thu Feb 14 13:03:31 2008 From: klaus at major-k.de (Klaus Major) Date: Thu, 14 Feb 2008 19:03:31 +0100 Subject: filter without empty In-Reply-To: References: Message-ID: <3DF83A23-DDE4-45FA-8CEE-32965B4A85FE@major-k.de> Hi Jim, > I know for sure that null does not work with the filter command. well, that's what I know now, too :-) > I have posted code in the past for extracting data from sources that > you do > not create and one of the steps I put in before any filter commands is > > replace null with empty in dataBlock > > Sorry it works that way. And it's YOUR FAULT! :-D Just kidding, already have a workaround for my situations. > Jim Ault > Las Vegas Regards Klaus Major klaus at major-k.de http://www.major-k.de From mickclns at mac.com Thu Feb 14 13:26:19 2008 From: mickclns at mac.com (Mick Collins) Date: Thu, 14 Feb 2008 13:26:19 -0500 Subject: way OT bass players ... was filter without empty In-Reply-To: <20080214180005.CB11D488EC4@mail.runrev.com> References: <20080214180005.CB11D488EC4@mail.runrev.com> Message-ID: <7273CE01-D138-46BE-84BE-BC2C2491B670@mac.com> Yep, except I am a bass violin player (unless you count the Ashbory which, in my book really isn't a bass guitar, although it does have some things in common). I have played classical, now I play jazz, avante-garde, meditational (all the previous improv), and some fiddle music, but that I mostly play the fiddle parts (in Edgar Meyer wannabe style). I do an acoustic version of Hendrix's Star Spangled Banner, using the bow and harmonics to emulate the feedback, etc. > Date: Thu, 14 Feb 2008 14:31:33 +0000 > From: Mark Smith > > Cool bass site! I believe Mark Wieder is also an earth shaker - any > others here? > > Best, > > Mark From ambassador at fourthworld.com Thu Feb 14 13:29:38 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 14 Feb 2008 10:29:38 -0800 Subject: Paradigma 10th Anniversary Means Free Developer Packs Message-ID: <47B48892.9070700@fourthworld.com> Lynn Fredricks wrote: > Paradigma 10th Anniversary... Congratulations on the 10th anniversary. That's a good milestone. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From lfredricks at proactive-intl.com Thu Feb 14 13:33:38 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 14 Feb 2008 10:33:38 -0800 Subject: Paradigma 10th Anniversary Means Free Developer Packs In-Reply-To: <47B48892.9070700@fourthworld.com> References: <47B48892.9070700@fourthworld.com> Message-ID: <02e701c86f38$1da3b9a0$6501a8c0@GATEWAY> > Lynn Fredricks wrote: > > Paradigma 10th Anniversary... > > Congratulations on the 10th anniversary. That's a good milestone. Thanks Rich! Its hard to believe that its been that long - but it has. Lots of good things coming too ;-) Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From ambassador at fourthworld.com Thu Feb 14 13:39:22 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 14 Feb 2008 10:39:22 -0800 Subject: way OT bass players ... was filter without empty Message-ID: <47B48ADA.7080702@fourthworld.com> Mark Smith wrote: >> Klaus Major >> http://www.major-k.de/bass > > Cool bass site! I believe Mark Wieder is also an earth shaker - any > others here? I haven't been in a band since college. These days, with music I'm more of an end-user (though I have a couple friends trying to coax me back into picking up my drum sticks). But as an end-user, I've always loved the bass. And the Chapman Stick. I just picked up Tony Levin's latest solo album, Stick Man, from iTunes the other day, and while it's all Stick there's plenty there for bass fans to enjoy (and perhaps feel a touch of envy for the Stick's range, and the almost unbelievable things it can do in hands like Levin's). Klaus: no MP3s at your site? I'd love to hear what you've been working on. Okay, back to scripting for me (booting up iTunes for background motivation).... -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From klaus at major-k.de Thu Feb 14 13:50:56 2008 From: klaus at major-k.de (Klaus Major) Date: Thu, 14 Feb 2008 19:50:56 +0100 Subject: way OT bass players ... was filter without empty In-Reply-To: <47B48ADA.7080702@fourthworld.com> References: <47B48ADA.7080702@fourthworld.com> Message-ID: <5534AEEB-E455-440B-96E1-76C975DA4C31@major-k.de> Hi Richard, > Mark Smith wrote: > > >> Klaus Major > >> http://www.major-k.de/bass > > > > Cool bass site! I believe Mark Wieder is also an earth shaker - any > > others here? > > I haven't been in a band since college. These days, with music I'm > more of an end-user (though I have a couple friends trying to coax > me back into picking up my drum sticks). Hey, you're a drummer, cool! :-) > But as an end-user, I've always loved the bass. And the Chapman > Stick. I just picked up Tony Levin's latest solo album, Stick Man, > from iTunes the other day, and while it's all Stick there's plenty > there for bass fans to enjoy (and perhaps feel a touch of envy for > the Stick's range, and the almost unbelievable things it can do in > hands like Levin's). Oh yeah, Tony is a bass- (and stick-) player's dream! > Klaus: no MP3s at your site? > I'd love to hear what you've been working on. No sound yet, I hope that I find the time to record some sound- snippets in the next time. > Okay, back to scripting for me (booting up iTunes for background > motivation).... > > -- > Richard Gaskin > Managing Editor, revJournal Best Klaus Major klaus at major-k.de http://www.major-k.de From chipp at chipp.com Thu Feb 14 13:53:26 2008 From: chipp at chipp.com (Chipp Walters) Date: Thu, 14 Feb 2008 12:53:26 -0600 Subject: Paradigma 10th Anniversary Means Free Developer Packs In-Reply-To: <00ae01c86ee1$59749a50$6501a8c0@GATEWAY> References: <00ae01c86ee1$59749a50$6501a8c0@GATEWAY> Message-ID: <7aa52a210802141053uc2aef1cx7947e3ad560dc0d2@mail.gmail.com> Wow Lynn, looks like a great free giveaway! I wish to add my congratulations as well on your anniversary. best, Chipp From lfredricks at proactive-intl.com Thu Feb 14 14:04:32 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 14 Feb 2008 11:04:32 -0800 Subject: Paradigma 10th Anniversary Means Free Developer Packs In-Reply-To: <7aa52a210802141053uc2aef1cx7947e3ad560dc0d2@mail.gmail.com> References: <00ae01c86ee1$59749a50$6501a8c0@GATEWAY> <7aa52a210802141053uc2aef1cx7947e3ad560dc0d2@mail.gmail.com> Message-ID: <030001c86f3c$6ed123e0$6501a8c0@GATEWAY> > Wow Lynn, looks like a great free giveaway! I wish to add my > congratulations as well on your anniversary. best, Chipp Thanks Chipp! I hope you'll join in on the community site as well. We have a number of people coming over from our graphics side who are interested in graphics integration, ie 3D -> 2D -> interactive REV. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From pierre.bernaert at mac.com Thu Feb 14 14:08:01 2008 From: pierre.bernaert at mac.com (Pierre) Date: Thu, 14 Feb 2008 20:08:01 +0100 Subject: =?iso-8859-1?q?R=E9p_=3A_Substack_command_don=27t_reach_main_sta?= =?iso-8859-1?q?ck_when_executed_as_Standalone-=22Corrected=22_Nearly_solv?= =?iso-8859-1?q?ed?= Message-ID: <99C40FE6-C5EC-4D4C-AE12-F9676CF3E2CB@mac.com> Hi mark and Eric + I Made some progress . In the Window : "Stand Alone Application Settings ..." 'General' I chose : "Search for required inclusion when saving the standalone application" instead of Select inclusion s for the Standalone with "Ask DIalog", "Answer Dialog" and "cursors" ON I Kept "Remove all profiles on projects" No progress when testing . I Kept the last 'General' Settings then I then went to the tablet Stacks: My main Stack and all Substacks are there. "Move Substacks into individual Stack files was selected" I put it off. Surprise, everything goes right as far as substack command is concerned. "my test and the use of all my sub-routines works fine" BUT problem: The update of none of my substacks doesn't work. My Main Stack is the Splash Screen and each substack run a "save" within the "On CloseStack" handler. Where can I find detailed informations about the Stand Alone Settings ? Many thanks for helping Pierre From LunchnMeets at aol.com Thu Feb 14 15:05:54 2008 From: LunchnMeets at aol.com (LunchnMeets at aol.com) Date: Thu, 14 Feb 2008 15:05:54 EST Subject: and or? Message-ID: Hi Everyone Is there a way to do an "and/or" in an if/then statement? In other words can I get something like this statement to work if len(fld 2) > 5 and or len(fld 4) > 5 then do something end if Thanks for your continuing support. I don't know how I'd manage without this group sometimes. Joe in Orlando ************** The year's hottest artists on the red carpet at the Grammy Awards. Go to AOL Music. (http://music.aol.com/grammys?NCID=aolcmp00300000002565) From LunchnMeets at aol.com Thu Feb 14 15:11:10 2008 From: LunchnMeets at aol.com (LunchnMeets at aol.com) Date: Thu, 14 Feb 2008 15:11:10 EST Subject: and or? OOPS Message-ID: In a message dated 2/14/08 3:06:39 PM, LunchnMeets at aol.com writes: > Hi Everyone > > Is there a way to do an "and/or" in an if/then statement? > In other words can I get something like this statement to work > > if len(fld 2) > 5 and or len(fld 4) > 5 then > ?? do something > end if? ?? > > Thanks for your continuing support. I don't know how I'd manage without this > group sometimes. > > Joe in Orlando > OK I realize that was a stupid question "or" alone covers it. Sometimes just writing it out clears my mind. Sorry for bothering the group! Joe ************** The year's hottest artists on the red carpet at the Grammy Awards. Go to AOL Music. (http://music.aol.com/grammys?NCID=aolcmp00300000002565) From eric.chatonet at sosmartsoftware.com Thu Feb 14 16:24:20 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 14 Feb 2008 22:24:20 +0100 Subject: =?iso-8859-1?q?Re=3A_R=E9p_=3A_Substack_command_don=27t_reach_ma?= =?iso-8859-1?q?in_stack_when_executed_as_Standalone-=22Corrected=22_Nearl?= =?iso-8859-1?q?y_solved?= In-Reply-To: <99C40FE6-C5EC-4D4C-AE12-F9676CF3E2CB@mac.com> References: <99C40FE6-C5EC-4D4C-AE12-F9676CF3E2CB@mac.com> Message-ID: <137F371F-50C1-48E3-9499-3B40DE181A96@sosmartsoftware.com> Bonjour Pierre, Le 14 f?vr. 08 ? 20:08, Pierre a ?crit : > Hi mark and Eric + > > I Made some progress . > > In the Window : "Stand Alone Application Settings ..." 'General' > I chose : "Search for required inclusion when saving the > standalone application" > instead of Select inclusion s for the Standalone with "Ask > DIalog", "Answer Dialog" and "cursors" ON > I Kept "Remove all profiles on projects" > > No progress when testing . > > I Kept the last 'General' Settings then > > I then went to the tablet Stacks: > > My main Stack and all Substacks are there. > > "Move Substacks into individual Stack files was selected" I put it > off. > > > Surprise, everything goes right as far as substack command is > concerned. > "my test and the use of all my sub-routines works fine" Yes: All code in a main stack script is available for its sub-stacks but can't be available for separate stacks unless the main stack is in put in use. > BUT problem: > > The update of none of my substacks doesn't work. > > My Main Stack is the Splash Screen and each substack run a "save" > within the "On CloseStack" handler. You can't save a standalone but separate stacks only. So, in your case, letting apart that saving a stack in the user's environment is not recommended (except if it is a simple data stack without user interface), the way to go was said above: let stacks moved into individual files as they were so you can save them but put in use your main stack to get your code :-) > Where can I find detailed informations about the Stand Alone > Settings ? > > Many thanks for helping > > Pierre Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From stephenREVOLUTION2 at barncard.com Thu Feb 14 16:40:06 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Thu, 14 Feb 2008 13:40:06 -0800 Subject: and or? In-Reply-To: References: Message-ID: not sure what you mean by AND OR you can multiple booleans in series if (len(fld 2) > 5) OR (len(fld 4) > 5) OR (len(fld 6) > 5) then do something end if or if (len(fld 2) > 5) AND (len(fld 4) > 5) AND (len(fld 6) > 5) then do something end if or if (a>b) and a>c) OR (d>b) and d>c) then do something end if >Hi Everyone > >Is there a way to do an "and/or" in an if/then statement? >In other words can I get something like this statement to work > >if len(fld 2) > 5 and or len(fld 4) > 5 then > do something >end if > >Thanks for your continuing support. I don't know how I'd manage without this >group sometimes. > >Joe in Orlando > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From russell_martin at yahoo.com Thu Feb 14 17:05:55 2008 From: russell_martin at yahoo.com (Russell Martin) Date: Thu, 14 Feb 2008 14:05:55 -0800 (PST) Subject: Temporary custom properties Message-ID: <594474.69824.qm@web54109.mail.re2.yahoo.com> Hey, does anyone have a suggestion about what is the best kind of (non-visible) object to create on the fly for temporarily storing custom properties? In other words, I want to use custom properties like global variables, but I want to put them in something that only exists during program execution and that won't get saved with my project. Or, should I be using something besides custom properties for keeping global, transient values that the program only needs during execution? ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs From stephenREVOLUTION2 at barncard.com Thu Feb 14 17:12:41 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Thu, 14 Feb 2008 14:12:41 -0800 Subject: Temporary custom properties In-Reply-To: <594474.69824.qm@web54109.mail.re2.yahoo.com> References: <594474.69824.qm@web54109.mail.re2.yahoo.com> Message-ID: why would you not use a global variable? A big feature of custom properties is that they can persist from execution to execution. A global goes away after execution. sqb >Hey, does anyone have a suggestion about what is the best kind of >(non-visible) object to create on the fly for temporarily storing >custom properties? > >In other words, I want to use custom properties like global variables, >but I want to put them in something that only exists during program >execution and that won't get saved with my project. > >Or, should I be using something besides custom properties for keeping >global, transient values that the program only needs during execution? > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From mdswindell at cruzio.com Thu Feb 14 17:20:39 2008 From: mdswindell at cruzio.com (Mark Swindell) Date: Thu, 14 Feb 2008 14:20:39 -0800 Subject: Temporary custom properties In-Reply-To: <594474.69824.qm@web54109.mail.re2.yahoo.com> References: <594474.69824.qm@web54109.mail.re2.yahoo.com> Message-ID: You could create a field, graphic, or button, you decide, on opening your stack and set its custom properties to whatever you want. Then on closestack you could delete the object. You could also set the cProperty1, cProperty2, cProperty3 of an existing objectX (whatever object you want... card, stack, button, etc) to myValues, and then on closing the stack set the cProperty1, cProperty2, cProperty3 of objectX back to empty. But out of curiosity, why not use globals? Mark On Feb 14, 2008, at 2:05 PM, Russell Martin wrote: > Hey, does anyone have a suggestion about what is the best kind of > (non-visible) object to create on the fly for temporarily storing > custom properties? > > In other words, I want to use custom properties like global variables, > but I want to put them in something that only exists during program > execution and that won't get saved with my project. > > Or, should I be using something besides custom properties for keeping > global, transient values that the program only needs during execution? > > > > ____________________________________________________________________________________ > Never miss a thing. Make Yahoo your home page. > http://www.yahoo.com/r/hs > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Thanks, Mark From katir at hindu.org Thu Feb 14 17:25:47 2008 From: katir at hindu.org (Sivakatirswami) Date: Thu, 14 Feb 2008 12:25:47 -1000 Subject: RevMail Broken on OSX Leopard in 2.9? Message-ID: <47B4BFEB.4050902@hindu.org> it is just me or is this broken on the Mac? revMail "tEmail","","","" ? It use to work, even in Thunderbird... now I get garbage in the "To" fields From JimAultWins at yahoo.com Thu Feb 14 17:34:35 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 14 Feb 2008 14:34:35 -0800 Subject: Temporary custom properties In-Reply-To: <594474.69824.qm@web54109.mail.re2.yahoo.com> Message-ID: Well, there are several options that don't require any real effort. Any object can store custom properties. Any object can store these in property sets. ----- put this into a new stack, then double click on mouseDoubleUp set the closet["shoebox1"] of this stack to "good vibes" set the closet["shoebox2"] of this stack to "better vibes" set the musicTrack["slideOne"] of this stack to "Peaceful sounds.aif" set the videoTrack["slideOne"] of this stack to "demo widget.mov" put the custompropertysets of this stack into listing put return & return after listing get the customproperties["closet"] of this stack combine it using cr and tab put it after listing put listing into msg set the custompropertysets of this stack to empty -- *poof they are gone* end mouseDoubleUp ------------ end copy set the property set "myTempData" of this stack to empty "poof they are gone" set the property set "myTempData" of card 1 of this stack to empty "poof they are gone" set the property set "myTempData" of card id 3422 of this stack to empty "poof they are gone" Globals have the advantage that they can be used by any stack that is open, since globals are owned by Revolution. They persist until Revolution quits or you use the command 'delete global myTempData' The ease of using the custom properites is that you can set the customPropertiesSets of this stack to empty and delete all the data in one line of code. Hope this helps. There is more than one way to design your variable handling, all of which work, most of which involve keeping the data in RAM when the stack is opened. Jim Ault Las Vegas On 2/14/08 2:05 PM, "Russell Martin" wrote: > Hey, does anyone have a suggestion about what is the best kind of > (non-visible) object to create on the fly for temporarily storing > custom properties? > > In other words, I want to use custom properties like global variables, > but I want to put them in something that only exists during program > execution and that won't get saved with my project. > > Or, should I be using something besides custom properties for keeping > global, transient values that the program only needs during execution? From sarah.reichelt at gmail.com Thu Feb 14 18:00:53 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 15 Feb 2008 09:00:53 +1000 Subject: RevMail Broken on OSX Leopard in 2.9? In-Reply-To: <47B4BFEB.4050902@hindu.org> References: <47B4BFEB.4050902@hindu.org> Message-ID: On Fri, Feb 15, 2008 at 8:25 AM, Sivakatirswami wrote: > it is just me or is this broken on the Mac? > > revMail "tEmail","","","" Works fine here: Mac OS X 10.5.2, Rev 2.9.0-dp-3, Apple Mail 3.2. Sorry, I don't have Thunderbird installed to test. However you have quoted "tEmail" where it looks more like a variable name. You are actually going to get the text tEmail in the To field of your email, not whatever is in the tEmail variable. Cheers, Sarah From chipp at chipp.com Thu Feb 14 18:02:38 2008 From: chipp at chipp.com (Chipp Walters) Date: Thu, 14 Feb 2008 17:02:38 -0600 Subject: Temporary custom properties In-Reply-To: <594474.69824.qm@web54109.mail.re2.yahoo.com> References: <594474.69824.qm@web54109.mail.re2.yahoo.com> Message-ID: <7aa52a210802141502t5cf40917wb99dc7b0245ad673@mail.gmail.com> Hi Russell, I typically use local var arrays to do what you're trying to do. You can also set them if you like from elsewhere. For instance, say you have a card with a local variable "lFred" so your card script looks like this: local lFred on doThis put "hello" into lFred" end doThis on doThat put lFred into me --> PUTS FRED INTO THIS FIELD IF doThis HAS BEEN CALLED end doThat So, if you want to set the lFred variable from a button on the card (treating it like it is a global) then put in the button script: on mouseUp put "jack ran up the hill" into tData setFred tData end mouseUp and in the card script you add: on setlFred pData do ("put pData into " & pLocalName) --> THIS SETS THE LOCAL VAR lFred TO pData end setLocal And if you want to retrieve the local, put this in the card script: function getFred return lFred end getFred and your script to retrieve the local is now: on mouseUp put getFred() into tData end mouseUp This has the advantage of not having to worry about global namespace collisions, or where you've placed globals all over your stack, and how to replace them. Also, if you need to edit the "global" bizlogic, you can do it in one place. I don't think it's always clear to users how locals can act like globals. HTH, Chipp From hershf at rgllc.us Thu Feb 14 17:14:02 2008 From: hershf at rgllc.us (Hershel Fisch) Date: Thu, 14 Feb 2008 17:14:02 -0500 Subject: Cgi and Database (stick to standards) In-Reply-To: <47AF788D.5090703@hindu.org> Message-ID: On 2/10/08 5:19 PM, "Sivakatirswami" wrote: > Bernard Devlin wrote: >> I'm not sure what kind of database requirements you have. SQL rdbms, and I was thinking to use "sqLITE" because its fast even with big bases and most hosting sites use mySql which slows down as the database grows. I wanted to use PostgreSQL but I don?t find any body with it for a decent price >> >> Bernard >> >> >> And with shell I'm very unfamiliar > Have fun... > > and a bit of history: > > FWIW: There were discussions a year or two ago about how robust this > solution could be without a "persistent Revolution process" someone > replied that he had been using Rev CGI where a new instance was called > each time. he said it scaled up to the millions of hits. No problems. > > Meanwhile other CGI's are doing more robust stuff like processing Credit > card transactions and handling form submissions.... no problem... Now I > can't vouch for more than 30-50 instances a second... what would happen, > but we are in that range right now, Apache and the CPUs hardly blink... > and see no slow down whatsoever. I'm no expert but I think a persistent > Rev process will "die" on the first hard script error... so there are > advantages to just letting Apache load rev on every single call...watch > out for zombies ... if you don't close the cgi properly you can get hung What do you mean by closing and how do you do it? > Rev CGI processes, but, because these are separate instances of Rev... > they don't terminate your web site... just slow it down as each zombie > starts eating the CPU speeds.. Thanks, Hershel From stephenREVOLUTION2 at barncard.com Thu Feb 14 18:17:26 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Thu, 14 Feb 2008 15:17:26 -0800 Subject: Cgi and Database (stick to standards) In-Reply-To: References: Message-ID: How about Valentina? There was a free offer on this list recently: http://miryesoftware.ning.com/forum/topic/show?id=1985969%3ATopic%3A174 >On 2/10/08 5:19 PM, "Sivakatirswami" wrote: > >> Bernard Devlin wrote: >>> I'm not sure what kind of database requirements you have. >SQL rdbms, and I was thinking to use "sqLITE" because its fast even with >big bases and most hosting sites use mySql which slows down as the database >grows. I wanted to use PostgreSQL but I don't find any body with it for a >decent price >>> > >> Bernard -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From hershf at rgllc.us Thu Feb 14 19:23:06 2008 From: hershf at rgllc.us (Hershel Fisch) Date: Thu, 14 Feb 2008 19:23:06 -0500 Subject: Cgi and Database (stick to standards) In-Reply-To: Message-ID: On 2/14/08 6:17 PM, "Stephen Barncard" wrote: > How about Valentina? There was a free offer on this list recently: Before I don?t how to use the db lib. I'll use any thing or rather don't use anything. Hershel > > http://miryesoftware.ning.com/forum/topic/show?id=1985969%3ATopic%3A174 > >> On 2/10/08 5:19 PM, "Sivakatirswami" wrote: >> >>> Bernard Devlin wrote: >>>> I'm not sure what kind of database requirements you have. >> SQL rdbms, and I was thinking to use "sqLITE" because its fast even with >> big bases and most hosting sites use mySql which slows down as the database >> grows. I wanted to use PostgreSQL but I don't find any body with it for a >> decent price >>>> >>>> Bernard From pierre.bernaert at mac.com Thu Feb 14 19:57:59 2008 From: pierre.bernaert at mac.com (Pierre) Date: Fri, 15 Feb 2008 01:57:59 +0100 Subject: =?iso-8859-1?q?R=E9p_=3A_Substack_command_don=27t_reach_main_sta?= =?iso-8859-1?q?ck_when_executed_as_Standalone-=22Corrected=22__Resolved?= In-Reply-To: <137F371F-50C1-48E3-9499-3B40DE181A96@sosmartsoftware.com> References: <99C40FE6-C5EC-4D4C-AE12-F9676CF3E2CB@mac.com> <137F371F-50C1-48E3-9499-3B40DE181A96@sosmartsoftware.com> Message-ID: <37489234-C5FD-45A2-BEC7-36285938C764@mac.com> Hi Mark and Eric Many thanks to to you for helping It works perfectly as expected Best regards Pierre From andre at andregarzia.com Thu Feb 14 20:29:02 2008 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 14 Feb 2008 23:29:02 -0200 Subject: Is RevXML working in Linux!? Message-ID: <7c87a2a10802141729l612049a1he5fca8e78025b6c0@mail.gmail.com> Hello Friends, I have 2.9.0-dp-3 running as a CGI engine on Linux, I'd like to know if I can use RevXML commands in it. RevCreateXMLTree is returning an error. Must I load the external by hand? Isn't it inside the engine these days? any help is greatly appreciated and will be rewared with beer and chocolates during RunRev Live... Om shanti andre -- http://www.andregarzia.com All We Do Is Code. From chipp at chipp.com Thu Feb 14 20:36:04 2008 From: chipp at chipp.com (Chipp Walters) Date: Thu, 14 Feb 2008 19:36:04 -0600 Subject: Is RevXML working in Linux!? In-Reply-To: <7c87a2a10802141729l612049a1he5fca8e78025b6c0@mail.gmail.com> References: <7c87a2a10802141729l612049a1he5fca8e78025b6c0@mail.gmail.com> Message-ID: <7aa52a210802141736k54f3d076l50802996a28d3372@mail.gmail.com> Beer and Chocolate? OK, I've got a fix...use Ken's XML library! Do I get to chose the brand of beer and flavor of chocolate? -C From andre at andregarzia.com Thu Feb 14 20:38:18 2008 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 14 Feb 2008 23:38:18 -0200 Subject: Is RevXML working in Linux!? In-Reply-To: <7aa52a210802141736k54f3d076l50802996a28d3372@mail.gmail.com> References: <7c87a2a10802141729l612049a1he5fca8e78025b6c0@mail.gmail.com> <7aa52a210802141736k54f3d076l50802996a28d3372@mail.gmail.com> Message-ID: <7c87a2a10802141738j15b6571fi1d6e5e9b291a27f2@mail.gmail.com> Chipp, you can always choose! Name it and in may we'll go for some beer and chocolates! :D I have Kens Library here and actually I have it there already, I just wanted to know if I could trust the externals... by the way, I've built a little photo manipulation app where all the UI is done with Interface Designer and Button Gadget... and it looks GREAT! :D Andre On 2/14/08, Chipp Walters wrote: > Beer and Chocolate? OK, I've got a fix...use Ken's XML library! > > Do I get to chose the brand of beer and flavor of chocolate? > > -C > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From russell_martin at yahoo.com Fri Feb 15 00:41:56 2008 From: russell_martin at yahoo.com (Russell Martin) Date: Thu, 14 Feb 2008 21:41:56 -0800 (PST) Subject: Temporary custom properties In-Reply-To: Message-ID: <659290.39438.qm@web54112.mail.re2.yahoo.com> You're right. I just got too focused in on custom properties. Wasn't thinking. I now realize that I can use a global array in almost exactly the same way I was using custom properties. Thanks. --- Stephen Barncard wrote: > why would you not use a global variable? A big feature of custom > properties is that they can persist from execution to execution. A > global goes away after execution. > > > sqb > > >Hey, does anyone have a suggestion about what is the best kind of > >(non-visible) object to create on the fly for temporarily storing > >custom properties? > > > >In other words, I want to use custom properties like global > variables, > >but I want to put them in something that only exists during program > >execution and that won't get saved with my project. > > > >Or, should I be using something besides custom properties for > keeping > >global, transient values that the program only needs during > execution? > > > > -- > > > stephen barncard > s a n f r a n c i s c o > - - - - - - - - - - - - > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ From niconiko at gmail.com Fri Feb 15 00:43:11 2008 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 15 Feb 2008 14:43:11 +0900 Subject: Rev cgi MySQL = invalid database type Message-ID: <1e91b2b70802142143y3da348e3k2fd3aacc0cc76287@mail.gmail.com> Hello List, My Rev-cgi scripts are working (hurray), and so am now learning how to make a cgi-script that can connect to a MySQL database, both of which are on the same web-server (Linux Rev 2.6.1, on Dreamhost). But, using a revOpenDatabase command, all I'm getting is "invalid database type"! By way of solution this is what I've tried, as based on my (faulty?) understanding of the various suggestions stored in the archives: -- SQL driver or drivers are required. BUT, does this mean libmySQL.dll or dbmysql.so -- or both! For now, I've uploaded both; -- beware driver paths! Unsure about how to set paths with "revSetDatabaseDriverPath", I ftp'd the drivers into the same directory I ftp'd the Rev engine; -- beware CHMOD!! Yup, I've triple-checked that engine, drivers and scripts are all 755; -- the spelling *and* case of driver name(s) ought to match the spelling *and* case used in database-related Rev commands. So, I made sure of the consistency of the chars "mysql" (in the script and the drivers' names). But, as I say, no go. Anything else I could be overlooking or double-checking or modifying or... Thank you. -- Nicolas Cueto From revdev at pdslabs.net Fri Feb 15 01:33:52 2008 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 14 Feb 2008 22:33:52 -0800 Subject: revBrowser and htmltext of web pages Message-ID: <47B53250.4060000@pdslabs.net> I'm looking at a web page in revBrowser (XP in Parallels) that contains all the info I want to capture. When my script does this: put revBrowserGet(tId,"htmltext") All I get in the message box is this: I'm guessing it's because the page uses JavaScript heavily. But of course it renders perfectly in revBrowser, so it seems like I should be able to grab it. When I look at the same page with a non-Rev web browser, I can see the page source and all the data I wanted is there. Can revBrowser give me the same results as a regular web browser? Am I just missing something? Thanks - -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From jmyepes at mac.com Fri Feb 15 02:36:44 2008 From: jmyepes at mac.com (Josep) Date: Thu, 14 Feb 2008 23:36:44 -0800 (PST) Subject: App over PDA with windows mobile or other Message-ID: <15496039.post@talk.nabble.com> Hi, It's posible to run applications created with Revolution in a Windows Mobile PDA? If is posible I need a windows license for Rev or can I do it from my Mac license? I need create a little app that collect orders to send via ftp. Any hint? Cheers, Josep M -- View this message in context: http://www.nabble.com/App-over-PDA-with-windows-mobile-or-other-tp15496039p15496039.html Sent from the Revolution - User mailing list archive at Nabble.com. From russell_martin at yahoo.com Fri Feb 15 02:53:32 2008 From: russell_martin at yahoo.com (Russell Martin) Date: Thu, 14 Feb 2008 23:53:32 -0800 (PST) Subject: (Rev 2.8.1) resume and defaultstack Message-ID: <233062.94831.qm@web54103.mail.re2.yahoo.com> When using an answer dialog from within a resume handler, the defaultstack becomes "answer dialog", yet, when using an answer dialog in other handlers, the defaultstack does NOT become "answer dialog". I've tested this in both OS X and Windows XP and it does it in both. Is this a bug? I've attempted to attache a file demonstrating this. Must build as standalone first (I can't get "on resume" to fire from within the IDE- is there a way?) If the attachment doesn't come through, or you don't want to download it, here's how to recreate this: Create a new main stack. Place a scrolling field on it and name it "ResultsField" Name the card "TheCard" Name the stack "Untitled 2" Place a button on the stack. Inside the mouseUp handler for the button, place the following code: put "the defaultstack is: " & the defaultstack & cr into field "ResultsField" of card "TheCard" of stack "Untitled 2" answer "Yes or no?" with "Yes" or "No" put "it was: " & it & cr after field "ResultsField" of card "TheCard" of stack "Untitled 2" put "the defaultstack is: " & the defaultstack & cr after field "ResultsField" of card "TheCard" of stack "Untitled 2" answer "Up or down?" with "Up" or "Down" put "it was: " & it & cr after field "ResultsField" of card "TheCard" of stack "Untitled 2" put "the defaultstack is: " & the defaultstack & cr after field "ResultsField" of card "TheCard" of stack "Untitled 2" In the stack script, create and "on resume" handler and place the exact same code as you did in the button's "on mouseUp" handler. Build a stand alone. Run the stand alone. When you click on the button, and answer the dialogs, the ResultsField will show the default stack as being "Untitled 2" every time. However, when you switch to another app and then switch back to Untitled 2, the defaultstack will be "answer dialog" every time. ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ From jbv.silences at club-internet.fr Fri Feb 15 03:43:16 2008 From: jbv.silences at club-internet.fr (jbv) Date: Fri, 15 Feb 2008 09:43:16 +0100 Subject: Rev & php script question Message-ID: <47B550A3.C1DECB35@club-internet.fr> Hi there, I'm using "post myvar to url "xxxx" in a stack to access data stored in mysql via a php script. The php script ends with "echo $myvar;" and the strange thing is that it returns 2 empty lines before the value of $myvar ONLY when I access mysql in the script... when I post a similar content to a php script that doesn't connect to mysql, the value returned is "clean" (no empty lines). I've tested the script on 2 different servers running 2 different versions of Linux, Apache, php and mysql. is there a way to bypass this problem ? may be by changing settings of the http header in the php script ? Thanks in advance, JB From sunshine at public.kherson.ua Fri Feb 15 03:41:03 2008 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri, 15 Feb 2008 10:41:03 +0200 Subject: Cgi and Database (stick to standards) In-Reply-To: Message-ID: On 15/2/08 12:14 AM, "Hershel Fisch" wrote: >> Bernard Devlin wrote: >> I'm not sure what kind of database requirements you have. > SQL rdbms, and I was thinking to use "sqLITE" because its fast even with > big bases and most hosting sites use mySql which slows down as the database > grows. > Thanks, Hershel Hi Hershel, I believe above statement is FALSE. :-) SqlLite NEVER is faster of mySQL. may be only for TINY dbs. This is odd for me to be advocate of mySQL, :-) but of course this is not true. SqlLite is TINY engine, which uses SIMPLEST algorithms. mySQL is 100-500 times bigger by size DBMS. MySQL have incredible more powerful SQL, and only this means that you can get huge benefits when you work with remote server. If talk about slow down with grow of db size, then excuse me, I self did benches. And be sure I can do them correctly :-) SqlLite start to be unacceptably slow even on tables with 10 or 100K records. Some not hardest queries take 30 seconds or even minutes. I think you was foolished by feature of SqlLite "Instant Result". This means that e.g. RESULT of search on table with million records is 100K records, SqlLite finds the first and says that it have finish, But this works only for single user engine. This trick cannot be used for multi-user DBMS, which must find all 100K records, put them under RESULT for user1, and setup record locks. I want again repeat one point for SqlLite fans. If db world was so simple that SqlLite engine in 300K beats mySQL then ask self why mySQL/Oracle/MS SQL/Sybase/DB2/Ingres/ Valentina developers bother self developing soooo complex DB systems???!!! May be tasks are not so simple when you start move more deeply... ----------- Of course mySQL also is not best speed daemon :-) For example, my own ISP provider have billin system that use mySQL, on db with 2-3 Gb, mySQL starts to think minutes, so browsers just get timeouts and people cannot see results Or For example, on developer year ago have switch from mySQL to Valentina, and his 5 minutes query under mySQL not get 1 sec or even 0.1 sec. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From m.schonewille at economy-x-talk.com Fri Feb 15 03:41:34 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 15 Feb 2008 09:41:34 +0100 Subject: (Rev 2.8.1) resume and defaultstack In-Reply-To: <233062.94831.qm@web54103.mail.re2.yahoo.com> References: <233062.94831.qm@web54103.mail.re2.yahoo.com> Message-ID: <2EDA322B-B8D6-47D3-BB11-562D1B21F07C@economy-x-talk.com> Dear Russell, This problem might be related to the following bug: . If you apply the patch described in the bug, be aware that you might get trapped in a repeat loop. You might need to check the lockmessages. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html Op 15-feb-2008, om 8:53 heeft Russell Martin het volgende geschreven: > When using an answer dialog from within a resume handler, the > defaultstack becomes "answer dialog", yet, when using an answer dialog > in other handlers, the defaultstack does NOT become "answer dialog". > > I've tested this in both OS X and Windows XP and it does it in both. > > Is this a bug? > > I've attempted to attache a file demonstrating this. Must build as > standalone first (I can't get "on resume" to fire from within the IDE- > is there a way?) > > If the attachment doesn't come through, or you don't want to download > it, here's how to recreate this: > Create a new main stack. > > Place a scrolling field on it and name it "ResultsField" > > Name the card "TheCard" > > Name the stack "Untitled 2" > > Place a button on the stack. > > Inside the mouseUp handler for the button, place the following code: > put "the defaultstack is: " & the defaultstack & cr into field > "ResultsField" of card "TheCard" of stack "Untitled 2" > answer "Yes or no?" with "Yes" or "No" > put "it was: " & it & cr after field "ResultsField" of card > "TheCard" > of stack "Untitled 2" > put "the defaultstack is: " & the defaultstack & cr after field > "ResultsField" of card "TheCard" of stack "Untitled 2" > answer "Up or down?" with "Up" or "Down" > put "it was: " & it & cr after field "ResultsField" of card > "TheCard" > of stack "Untitled 2" > put "the defaultstack is: " & the defaultstack & cr after field > "ResultsField" of card "TheCard" of stack "Untitled 2" > > In the stack script, create and "on resume" handler and place the > exact > same code as you did in the button's "on mouseUp" handler. > > Build a stand alone. > > Run the stand alone. > > When you click on the button, and answer the dialogs, the ResultsField > will show the default stack as being "Untitled 2" every time. > > However, when you switch to another app and then switch back to > Untitled 2, the defaultstack will be "answer dialog" every time. > > > > > ______________________________________________________________________ > ______________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. http:// > mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dave at looktowindward.com Fri Feb 15 06:41:52 2008 From: dave at looktowindward.com (Dave) Date: Fri, 15 Feb 2008 11:41:52 +0000 Subject: Inter-Application Communication on Windows In-Reply-To: <47B4426B.4020400@ekoinf.net> References: <47B32BDD.5090105@fourthworld.com> <47B3402A.1070304@ekoinf.net> <47B4426B.4020400@ekoinf.net> Message-ID: <95A12CCA-D881-4E78-B84B-C89A0DB7DFB7@looktowindward.com> Hi, The problem with my Application is that whole Tables can be renamed or deleted. Just tried running two apps at the same time accessing one database and it instantly crashed and the database is in pieces! All the Best Dave On 14 Feb 2008, at 13:30, viktoras didziulis wrote: > Hi Dave, > > in one of my applications I use shell to communicate with sqlite > for data .import and revolution's sqlite to query and modify the > same database. It was never corrupted... Maybe just > because .importing and modification are sequential and do not > attempt to modify the same database in the same time. > > I am frequently using an instance of commandline sqlite and an > instance of sqlitespy for some database tests - it possibly can > corrupt the database, but so far this has never happened. > > Accessing the same sqlite database should not make any big troubles > unless both sqlite instances modify the database simultaneously. In > this case you may try implementing some sort of locking mechanism. > But then the solution with file would be simpler. > > I did a test with a very very simple sqlite app - it did not > corrupt the database even if many instances of it were running... > So you can read, insert or delete a record in a table with one > instance and read it with another and vice versa... But I guess > there are scenarios when the database can get corrupt. > > The zipped folder with both the compiled app (for Windows) and the > source can be downloaded from: > http://ekoinf.net/soft/SQLiteTest.zip > > Best wishes > Viktoras > > Dave wrote: >> Hi, >> >> Since they are two standalone applications they will have >> different engine's and different SQLite libraries, so I don't >> think you could access the same database with it getting >> corrupted. If you know a way do this this I'd be VERY interested. >> >> Thanks >> >> All the Best >> Dave >> >> >> On 13 Feb 2008, at 19:08, viktoras didziulis wrote: >> >>> What about the 2 applications connecting to the same sqlite >>> database - one updates the db, the other checks whether and how >>> it was updated?.. >>> >>> Viktoras >>> >>> Richard Gaskin wrote: >>>> Dave wrote: >>>>> I have an application that periodically creates or updates an >>>>> SQLite database (actually there are lots of databases >>>>> (separate SQLite files), but only one is worked on at a time) >>>>> and then sends the results to the server. This process can >>>>> take upwards of 15 minutes to complete. In the meantime I want >>>>> to be able to still use the application to do other things >>>>> (such as create playlists in iTunes). >>>> >>>> I'd use sockets, or polling for a file. While polling a file's >>>> content can eat some cycles, polling for the existence of a file >>>> is pretty darn fast. Given the scenario you describe, where >>>> you're not really expecting a result for several minutes, you >>>> could probably get away with polling for a file every few >>>> seconds. Cheap, simple, reasonably efficient. >>>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dave at looktowindward.com Fri Feb 15 06:53:39 2008 From: dave at looktowindward.com (Dave) Date: Fri, 15 Feb 2008 11:53:39 +0000 Subject: hostNameToAddress not working??? Message-ID: Hi All, I have the following function: ------------------------------------------------------------------ -- -- Get the LAN IP Address of this Machine -- ------------------------------------------------------------------ function IPMGetHostIPAddressLAN local myHostIPAddress put hostNameToAddress(the hostName) into myHostIPAddress return myHostIPAddress end IPMGetHostIPAddressLAN This used to work fine and return the local LAN address of the machine the Script is running on, I just tried it and now it just returns empty. I originally cribbed this from Richmond's "Get IP Address" stack. I download this again from rev online and it too fails. From this stack: on mouseUp put "Public IP =" && url "http://xtalk.memebot.com/cgi-bin/ip.cgi" into line 1 of fld "F1" put "Local IP =" && hostnametoaddress ("localhost") into line 2 of fld "F1" put "LAN IP =" && hostnametoaddress(the hostname) into line 3 of fld "F1" end mouseUp When I run this I get "empty" as the LAN Address. The other two IP address fields are filled in ok. Could anyone shed any light on why this has stopped working and how I can obtain the LAN IP address? Thanks a lot All the Best Dave From viktoras at ekoinf.net Fri Feb 15 07:21:36 2008 From: viktoras at ekoinf.net (viktoras didziulis) Date: Fri, 15 Feb 2008 14:21:36 +0200 Subject: Inter-Application Communication on Windows In-Reply-To: <95A12CCA-D881-4E78-B84B-C89A0DB7DFB7@looktowindward.com> References: <47B32BDD.5090105@fourthworld.com> <47B3402A.1070304@ekoinf.net> <47B4426B.4020400@ekoinf.net> <95A12CCA-D881-4E78-B84B-C89A0DB7DFB7@looktowindward.com> Message-ID: <47B583D0.9030702@ekoinf.net> Hi, I wonder whether it is because the instances change the schema of the database or because they do it simultaneously ? Maybe if you implement a simple locking mechanism it would work ?.. The simplest way, which I never tried in Rev, but many times in Perl when programming multiuser shared flat file based solutions is using a semaphore file. When an instance of app needs to write data to a shared flat file it: 1) checks if semaphore file (an empty file with known name, e.g anything like "busy.sem", "busy") is present 2) if it is present it waits and returns to 1) in a few milliseconds otherwise it 3) creates the semaphore file and writes data into the shared file 4) then deletes the semaphore All the best! Viktoras Dave wrote: > Hi, > > The problem with my Application is that whole Tables can be renamed or > deleted. Just tried running two apps at the same time accessing one > database and it instantly crashed and the database is in pieces! > > All the Best > Dave > > On 14 Feb 2008, at 13:30, viktoras didziulis wrote: > >> Hi Dave, >> >> in one of my applications I use shell to communicate with sqlite for >> data .import and revolution's sqlite to query and modify the same >> database. It was never corrupted... Maybe just because .importing and >> modification are sequential and do not attempt to modify the same >> database in the same time. >> >> I am frequently using an instance of commandline sqlite and an >> instance of sqlitespy for some database tests - it possibly can >> corrupt the database, but so far this has never happened. >> >> Accessing the same sqlite database should not make any big troubles >> unless both sqlite instances modify the database simultaneously. In >> this case you may try implementing some sort of locking mechanism. >> But then the solution with file would be simpler. >> >> I did a test with a very very simple sqlite app - it did not corrupt >> the database even if many instances of it were running... So you can >> read, insert or delete a record in a table with one instance and read >> it with another and vice versa... But I guess there are scenarios >> when the database can get corrupt. >> >> The zipped folder with both the compiled app (for Windows) and the >> source can be downloaded from: >> http://ekoinf.net/soft/SQLiteTest.zip >> >> Best wishes >> Viktoras From toolbook at kestner.de Fri Feb 15 07:47:42 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 15 Feb 2008 13:47:42 +0100 Subject: Flash or Quicktime? Message-ID: <001e01c86fd0$f4e5f110$18b2a8c0@TiemoPC2> Hello all, I am about to plan my next project. It will be a Win & Mac database driven app from DVD-ROM with about 17000 small video clips (each 1-4 sec). Now I have to decide very early which video format I am going to use, because I start with the video production. As I know up to now, the only native video format you can use in Rev is quicktime. On the other hand I have read that you could also play flash videos (even flv) with the altBrowser and jeroens media player. Both ways have advantages and disadvantages. One of the musts is, that I can step frame by frame - forward and backward - through the video (beside standard play, stop, pause), controlled by my own rev buttons. If I would use quicktime: Pro: I probably would have the fewest troubles in implementing, because I can stay completely in rev. Con: Windows users have to install quicktime, what some windows users really don't like and some of my customers are perhaps not online, while installation. If I would use the browser and jeroens solution with flash: Pro: I don't have to install anything on the enduser machine (nearly 95% have flash installed) Con: I had to implement some code in javascript, what I am not used in and I would have to build my own controls and communications from rev to the mediaplayer in the browser ( what I don't know yet if and how to do) Main Con: As I have read on jeromes site, I can't realize a step frame by frame function with flash videos, though I think I have seen such an app once. Has anybody heard, if flash will be implemented in rev once? I would appreciate your experiences and thoughts about these points Tiemo From downs.david.j at gmail.com Fri Feb 15 07:55:38 2008 From: downs.david.j at gmail.com (J. Downs) Date: Fri, 15 Feb 2008 06:55:38 -0600 Subject: way OT bass players ... was filter without empty In-Reply-To: <7273CE01-D138-46BE-84BE-BC2C2491B670@mac.com> References: <20080214180005.CB11D488EC4@mail.runrev.com> <7273CE01-D138-46BE-84BE-BC2C2491B670@mac.com> Message-ID: <12AA09A4-1510-4576-BFCB-CBCE5E940F67@gmail.com> > Cool bass site! I believe Mark Wieder is also an earth shaker - any > others here? >> Did both my undergrad and master's in music, so I was playing quite a variety of instruments. Played upright bass for a bit: poorly. :P Spent more time with the electric bass?some jazz, mostly rock?but haven't had the time to continue for the last decade. It's still in a closet somewhere. I really should start again. Good for the soul. J. From dave at looktowindward.com Fri Feb 15 07:57:28 2008 From: dave at looktowindward.com (Dave) Date: Fri, 15 Feb 2008 12:57:28 +0000 Subject: Inter-Application Communication on Windows In-Reply-To: <47B583D0.9030702@ekoinf.net> References: <47B32BDD.5090105@fourthworld.com> <47B3402A.1070304@ekoinf.net> <47B4426B.4020400@ekoinf.net> <95A12CCA-D881-4E78-B84B-C89A0DB7DFB7@looktowindward.com> <47B583D0.9030702@ekoinf.net> Message-ID: <2D139120-9CE9-44DD-B4BF-EB30331C3C30@looktowindward.com> Hi, I think it's easier to use TCP to communicate rather than try to hack something to together that wasn't really designed for the job. The problem is that I'd have to lock the database for very long periods (10 to 15 minutes or more), and so I'd lose whatever gain was to be had by splitting the apps. In fact I may as well just implement it as a single app which is what I have now! All the Best Dave On 15 Feb 2008, at 12:21, viktoras didziulis wrote: > Hi, > > I wonder whether it is because the instances change the schema of > the database or because they do it simultaneously ? Maybe if you > implement a simple locking mechanism it would work ?.. The simplest > way, which I never tried in Rev, but many times in Perl when > programming multiuser shared flat file based solutions is using a > semaphore file. > > When an instance of app needs to write data to a shared flat file it: > 1) checks if semaphore file (an empty file with known name, e.g > anything like "busy.sem", "busy") is present > 2) if it is present it waits and returns to 1) in a few > milliseconds otherwise it > 3) creates the semaphore file and writes data into the shared file > 4) then deletes the semaphore > > All the best! > Viktoras > > Dave wrote: >> Hi, >> >> The problem with my Application is that whole Tables can be >> renamed or deleted. Just tried running two apps at the same time >> accessing one database and it instantly crashed and the database >> is in pieces! >> >> All the Best >> Dave >> >> On 14 Feb 2008, at 13:30, viktoras didziulis wrote: >> >>> Hi Dave, >>> >>> in one of my applications I use shell to communicate with sqlite >>> for data .import and revolution's sqlite to query and modify the >>> same database. It was never corrupted... Maybe just >>> because .importing and modification are sequential and do not >>> attempt to modify the same database in the same time. >>> >>> I am frequently using an instance of commandline sqlite and an >>> instance of sqlitespy for some database tests - it possibly can >>> corrupt the database, but so far this has never happened. >>> >>> Accessing the same sqlite database should not make any big >>> troubles unless both sqlite instances modify the database >>> simultaneously. In this case you may try implementing some sort >>> of locking mechanism. But then the solution with file would be >>> simpler. >>> >>> I did a test with a very very simple sqlite app - it did not >>> corrupt the database even if many instances of it were running... >>> So you can read, insert or delete a record in a table with one >>> instance and read it with another and vice versa... But I guess >>> there are scenarios when the database can get corrupt. >>> >>> The zipped folder with both the compiled app (for Windows) and >>> the source can be downloaded from: >>> http://ekoinf.net/soft/SQLiteTest.zip >>> >>> Best wishes >>> Viktoras > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From luis at anachreon.co.uk Fri Feb 15 08:01:12 2008 From: luis at anachreon.co.uk (Luis) Date: Fri, 15 Feb 2008 13:01:12 +0000 Subject: Flash or Quicktime? In-Reply-To: <001e01c86fd0$f4e5f110$18b2a8c0@TiemoPC2> References: <001e01c86fd0$f4e5f110$18b2a8c0@TiemoPC2> Message-ID: <872064C4-D48D-4E7D-A5DE-FAFC9E6538A6@anachreon.co.uk> Hiya, If the movies are short, what about re-implementing them as animated gif files? They will play in any browser. Not sure how to step though them though, although each frame can have it's own unique filename. There's a free converter here: http://www.macupdate.com/info.php/id/235 And last I looked GraphicConverter could do the conversion too. Cheers, Luis. On 15 Feb 2008, at 12:47, Tiemo Hollmann TB wrote: > Hello all, > > I am about to plan my next project. It will be a Win & Mac database > driven > app from DVD-ROM with about 17000 small video clips (each 1-4 sec). > > Now I have to decide very early which video format I am going to use, > because I start with the video production. As I know up to now, the > only > native video format you can use in Rev is quicktime. On the other > hand I > have read that you could also play flash videos (even flv) with the > altBrowser and jeroens media player. Both ways have advantages and > disadvantages. > > One of the musts is, that I can step frame by frame - forward and > backward - > through the video (beside standard play, stop, pause), controlled > by my own > rev buttons. > > If I would use quicktime: > > Pro: I probably would have the fewest troubles in implementing, > because I > can stay completely in rev. > > Con: Windows users have to install quicktime, what some windows > users really > don't like and some of my customers are perhaps not online, while > installation. > > If I would use the browser and jeroens solution with flash: > > Pro: I don't have to install anything on the enduser machine > (nearly 95% > have flash installed) > > Con: I had to implement some code in javascript, what I am not used > in and I > would have to build my own controls and communications from rev to the > mediaplayer in the browser ( what I don't know yet if and how to do) > > Main Con: As I have read on jeromes site, I can't realize a step > frame by > frame function with flash videos, though I think I have seen such > an app > once. > > Has anybody heard, if flash will be implemented in rev once? > > > > I would appreciate your experiences and thoughts about these points > > Tiemo > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From m.schonewille at economy-x-talk.com Fri Feb 15 08:09:04 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 15 Feb 2008 14:09:04 +0100 Subject: hostNameToAddress not working??? In-Reply-To: References: Message-ID: <1D0ECC98-522B-4ED6-9A51-3A031C0D0B4C@economy-x-talk.com> Hi Dave, The hostaddresstoname and hostnametoaddress function work fine. My tiny cgi script on Memebot works fine too. I bet your machine is connected to a local network using a router. It is also possible that you have additional gateways defined on your local machine, e.g. to facilitate Parallels. If an IP number or address doesn't exist or is invalid, e.g. because it is of the form "Machine.local", the hostaddresstoname and hostnametoaddress functions may return empty. This is normal. Perhaps, you are looking for: put hostaddresstoname(url "http://xtalk.memebot.com/cgi-bin/ip.cgi") Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html Op 15-feb-2008, om 12:53 heeft Dave het volgende geschreven: > Hi All, > > I have the following function: > > ------------------------------------------------------------------ > -- > -- Get the LAN IP Address of this Machine > -- > ------------------------------------------------------------------ > function IPMGetHostIPAddressLAN > local myHostIPAddress > > put hostNameToAddress(the hostName) into myHostIPAddress > return myHostIPAddress > end IPMGetHostIPAddressLAN > > > This used to work fine and return the local LAN address of the > machine the Script is running on, I just tried it and now it just > returns empty. > > I originally cribbed this from Richmond's "Get IP Address" stack. I > download this again from rev online and it too fails. From this stack: > > on mouseUp > put "Public IP =" && url "http://xtalk.memebot.com/cgi-bin/ > ip.cgi" into line 1 of fld "F1" > put "Local IP =" && hostnametoaddress ("localhost") into line 2 > of fld "F1" > put "LAN IP =" && hostnametoaddress(the hostname) into line 3 of > fld "F1" > end mouseUp > > When I run this I get "empty" as the LAN Address. The other two IP > address fields are filled in ok. > > Could anyone shed any light on why this has stopped working and how > I can obtain the LAN IP address? > > Thanks a lot > All the Best > Dave > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From toolbook at kestner.de Fri Feb 15 08:11:04 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 15 Feb 2008 14:11:04 +0100 Subject: AW: Flash or Quicktime? In-Reply-To: <872064C4-D48D-4E7D-A5DE-FAFC9E6538A6@anachreon.co.uk> Message-ID: <000001c86fd4$38d82b60$18b2a8c0@TiemoPC2> Hmm, didn't thought about that yet. I have never compared quality and size against a video, but giving each frame a unique filename sounds to quite some work Thanks for the hint Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Luis > Gesendet: Freitag, 15. Februar 2008 14:01 > An: How to use Revolution > Betreff: Re: Flash or Quicktime? > > Hiya, > > If the movies are short, what about re-implementing them as animated > gif files? > They will play in any browser. Not sure how to step though them though, > although each frame can have it's own unique filename. > > There's a free converter here: http://www.macupdate.com/info.php/id/235 > And last I looked GraphicConverter could do the conversion too. > > Cheers, > > Luis. > From len-morgan at crcom.net Fri Feb 15 08:16:47 2008 From: len-morgan at crcom.net (Len Morgan) Date: Fri, 15 Feb 2008 07:16:47 -0600 Subject: way OT bass players ... was filter without empty In-Reply-To: <12AA09A4-1510-4576-BFCB-CBCE5E940F67@gmail.com> References: <20080214180005.CB11D488EC4@mail.runrev.com> <7273CE01-D138-46BE-84BE-BC2C2491B670@mac.com> <12AA09A4-1510-4576-BFCB-CBCE5E940F67@gmail.com> Message-ID: <47B590BF.20306@crcom.net> J. Downs wrote: >> Cool bass site! I believe Mark Wieder is also an earth shaker - any >> others here? >>> > Well I built a recording studio. Let's see...we've got a bass or two, a drummer... any guitarist and/or keyboard players? Maybe we can create a virutal "gig" using Rev? len morgan From klaus at major-k.de Fri Feb 15 08:18:55 2008 From: klaus at major-k.de (Klaus Major) Date: Fri, 15 Feb 2008 14:18:55 +0100 Subject: AW: Flash or Quicktime? In-Reply-To: <000001c86fd4$38d82b60$18b2a8c0@TiemoPC2> References: <000001c86fd4$38d82b60$18b2a8c0@TiemoPC2> Message-ID: Hi Tiemo, > Hmm, didn't thought about that yet. I have never compared quality > and size > against a video, but giving each frame a unique filename sounds to > quite > some work No need to use separate files for the frames! You can even control frames of animated gifs in Rev! Check "framecount", "currentframe" and "repeatcount" in the docs. > Thanks for the hint > Tiemo Best Klaus Major klaus at major-k.de http://www.major-k.de From coiin at rcn.com Fri Feb 15 08:19:04 2008 From: coiin at rcn.com (Colin Holgate) Date: Fri, 15 Feb 2008 08:19:04 -0500 Subject: Flash or Quicktime? In-Reply-To: <001e01c86fd0$f4e5f110$18b2a8c0@TiemoPC2> References: <001e01c86fd0$f4e5f110$18b2a8c0@TiemoPC2> Message-ID: <6546BF63-F2A7-43C0-BA9F-7B9A4B3FB9F1@rcn.com> You could make them as H264 based movies (with AAC sound), either .MOV or .MP4. Both would play fine via QuickTime, and both can play in the current Flash player. You could build it now as QuickTime only, and then change your mind later if you were still worried about people installing QuickTime. You know that all people who use iPhones or iPods with their PCs do have QuickTime installed? Even those with just iTunes do, so the number of people with QuickTime installed is higher than you might think. Also, you can include the QuickTime installer on your DVD-ROM. From toolbook at kestner.de Fri Feb 15 08:34:57 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 15 Feb 2008 14:34:57 +0100 Subject: AW: Flash or Quicktime? In-Reply-To: <6546BF63-F2A7-43C0-BA9F-7B9A4B3FB9F1@rcn.com> Message-ID: <000101c86fd7$8ecadb50$18b2a8c0@TiemoPC2> Hi Colin, interesting aspect, I have to check, if my encoder supports H264 and how about size/quality. The only thing I have read about H264 is that it takes much processor power and could get into troubles on old machines. Up to now I wanted to use Sorenson Video3 Pro codec. Yes I thought about putting the installer on DVD-ROM, thought apple doesn't like it... Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Colin Holgate > Gesendet: Freitag, 15. Februar 2008 14:19 > An: How to use Revolution > Betreff: Re: Flash or Quicktime? > > You could make them as H264 based movies (with AAC sound), either .MOV > or .MP4. Both would play fine via QuickTime, and both can play in the > current Flash player. You could build it now as QuickTime only, and > then change your mind later if you were still worried about people > installing QuickTime. > > You know that all people who use iPhones or iPods with their PCs do > have QuickTime installed? Even those with just iTunes do, so the > number of people with QuickTime installed is higher than you might > think. Also, you can include the QuickTime installer on your DVD-ROM. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From andre at andregarzia.com Fri Feb 15 08:38:37 2008 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 15 Feb 2008 11:38:37 -0200 Subject: App over PDA with windows mobile or other In-Reply-To: <15496039.post@talk.nabble.com> References: <15496039.post@talk.nabble.com> Message-ID: <7c87a2a10802150538x4106167fgbc523f4c87e1b160@mail.gmail.com> Josep, Err... no, you can't but there's a way. You can create a web application if your pda is connected all time, then, you can use a web application. Andre On 2/15/08, Josep wrote: > > Hi, > > It's posible to run applications created with Revolution in a Windows Mobile > PDA? > If is posible I need a windows license for Rev or can I do it from my Mac > license? > > I need create a little app that collect orders to send via ftp. > > Any hint? > > Cheers, > Josep M > -- > View this message in context: http://www.nabble.com/App-over-PDA-with-windows-mobile-or-other-tp15496039p15496039.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From coiin at rcn.com Fri Feb 15 08:40:48 2008 From: coiin at rcn.com (Colin Holgate) Date: Fri, 15 Feb 2008 08:40:48 -0500 Subject: AW: Flash or Quicktime? In-Reply-To: <000101c86fd7$8ecadb50$18b2a8c0@TiemoPC2> References: <000101c86fd7$8ecadb50$18b2a8c0@TiemoPC2> Message-ID: <0C27FC6F-BA9D-420D-8ED4-E73D0CC8B3A1@rcn.com> On Feb 15, 2008, at 8:34 AM, Tiemo Hollmann TB wrote: > interesting aspect, I have to check, if my encoder supports H264 and > how > about size/quality. The only thing I have read about H264 is that it > takes > much processor power and could get into troubles on old machines. Up > to now > I wanted to use Sorenson Video3 Pro codec. H264 and On2VP6 (the codec that you would want to use f you did choose Flash) are similar in CPU demands. How much demand depends on the data rate, and the quality of the image is better than the same rate Sorenson 3 video. So I would argue that you'll find an H264 rate that you'll like for both quality and CPU demand, and that then can be used in QuickTime or Flash. If it would help I can make test files for you to see, if you give me an example video. > > Yes I thought about putting the installer on DVD-ROM, thought apple > doesn't > like it... They don't mind at all. You just have to sign an agree with them, and send two copies of the final product as part of that agreement. From dave at looktowindward.com Fri Feb 15 08:40:47 2008 From: dave at looktowindward.com (Dave) Date: Fri, 15 Feb 2008 13:40:47 +0000 Subject: hostNameToAddress not working??? In-Reply-To: <1D0ECC98-522B-4ED6-9A51-3A031C0D0B4C@economy-x-talk.com> References: <1D0ECC98-522B-4ED6-9A51-3A031C0D0B4C@economy-x-talk.com> Message-ID: <1E274100-BF13-4CEA-BF72-EA12F30FD5FC@looktowindward.com> Hi, Yes, I am using a router, actually it a different router then when first I tested this (about a year ago). From looking at the Network settings I have a LAN IP Address of 192.168.1.87 and my router address is 192.168.1.1 and my local address is 127.0.0.1 and the Public IP address is 94.140.30.222. If I use: > put hostaddresstoname(url "http://xtalk.memebot.com/cgi-bin/ip.cgi") it returns the public address where as what I want is the local LAN Address, e.g. I want to be able to identify machines on my local network. When I call the hostName() function, I get back "MachineName" this used to work just fine but now doesn't (either because of a change in RunRev or because I have a different router), however is I append ".local" to the machine name, it returns the correct LAN address. so if I change my function as so: ------------------------------------------------------------------ -- -- UtilHostGetIPAddressLAN -- ------------------------------------------------------------------ function UtilHostGetIPAddressLAN local myHostName local myHostIPAddress put the hostName into myHostName if char -7 to -1 myHostName <> ".local" then put ".local" after myHostName end if put hostNameToAddress(myHostName) into myHostIPAddress return myHostIPAddress end UtilHostGetIPAddressLAN It works!!!!!!!!!! All the Best Dave On 15 Feb 2008, at 13:09, Mark Schonewille wrote: > Hi Dave, > > The hostaddresstoname and hostnametoaddress function work fine. My > tiny cgi script on Memebot works fine too. > > I bet your machine is connected to a local network using a router. > It is also possible that you have additional gateways defined on > your local machine, e.g. to facilitate Parallels. > > If an IP number or address doesn't exist or is invalid, e.g. > because it is of the form "Machine.local", the hostaddresstoname > and hostnametoaddress functions may return empty. This is normal. > > Perhaps, you are looking for: > > put hostaddresstoname(url "http://xtalk.memebot.com/cgi-bin/ip.cgi") > > Best regards, > > Mark Schonewille > > -- > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Convert colours between different colour spaces with Color > Converter. Download at http://economy-x-talk.com/cc.html > > > > Op 15-feb-2008, om 12:53 heeft Dave het volgende geschreven: > >> Hi All, >> >> I have the following function: >> >> ------------------------------------------------------------------ >> -- >> -- Get the LAN IP Address of this Machine >> -- >> ------------------------------------------------------------------ >> function IPMGetHostIPAddressLAN >> local myHostIPAddress >> >> put hostNameToAddress(the hostName) into myHostIPAddress >> return myHostIPAddress >> end IPMGetHostIPAddressLAN >> >> >> This used to work fine and return the local LAN address of the >> machine the Script is running on, I just tried it and now it just >> returns empty. >> >> I originally cribbed this from Richmond's "Get IP Address" stack. >> I download this again from rev online and it too fails. From this >> stack: >> >> on mouseUp >> put "Public IP =" && url "http://xtalk.memebot.com/cgi-bin/ >> ip.cgi" into line 1 of fld "F1" >> put "Local IP =" && hostnametoaddress ("localhost") into line 2 >> of fld "F1" >> put "LAN IP =" && hostnametoaddress(the hostname) into line 3 >> of fld "F1" >> end mouseUp >> >> When I run this I get "empty" as the LAN Address. The other two IP >> address fields are filled in ok. >> >> Could anyone shed any light on why this has stopped working and >> how I can obtain the LAN IP address? >> >> Thanks a lot >> All the Best >> Dave >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dave at looktowindward.com Fri Feb 15 08:50:50 2008 From: dave at looktowindward.com (Dave) Date: Fri, 15 Feb 2008 13:50:50 +0000 Subject: hostNameToAddress not working??? (Correction) In-Reply-To: <1D0ECC98-522B-4ED6-9A51-3A031C0D0B4C@economy-x-talk.com> References: <1D0ECC98-522B-4ED6-9A51-3A031C0D0B4C@economy-x-talk.com> Message-ID: <19EBB9FB-F390-4535-A021-9BD14F890028@looktowindward.com> !!!!!Opps!!!!! Some typeo's crept in! It should read - however if I append ".local" to the machine name it returns the correct LAN address. So if I change my function as so: ------------------------------------------------------------------ -- -- IPMGetHostIPAddressLAN -- ------------------------------------------------------------------ function IPMGetHostIPAddressLAN local myHostName local myHostIPAddress put the hostName into myHostName if char -6 to -1 myHostName <> ".local" then put ".local" after myHostName end if put hostNameToAddress(myHostName) into myHostIPAddress return myHostIPAddress end IPMGetHostIPAddressLAN It works!!!!!!!!!! All the Best Dave From lists at mangomultimedia.com Fri Feb 15 09:07:01 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 15 Feb 2008 09:07:01 -0500 Subject: Is RevXML working in Linux!? In-Reply-To: <7c87a2a10802141729l612049a1he5fca8e78025b6c0@mail.gmail.com> References: <7c87a2a10802141729l612049a1he5fca8e78025b6c0@mail.gmail.com> Message-ID: On Feb 14, 2008, at 8:29 PM, Andre Garzia wrote: > I have 2.9.0-dp-3 running as a CGI engine on Linux, I'd like to know > if I can use RevXML commands in it. RevCreateXMLTree is returning an > error. Must I load the external by hand? Isn't it inside the engine > these days? I haven't used the CGI but on Windows and OS X revXML is still an external that you have to load by hand so if Linux and CGI are the same then you need to find the revXML file and load it. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From andres at bakno.com Fri Feb 15 09:18:48 2008 From: andres at bakno.com (Andres Martinez) Date: Fri, 15 Feb 2008 09:18:48 -0500 Subject: Rev & php script question In-Reply-To: <47B550A3.C1DECB35@club-internet.fr> References: <47B550A3.C1DECB35@club-internet.fr> Message-ID: <2978478B-B0F3-4C66-AF4D-D33D99923FD8@bakno.com> Hello JB I use "print" instead of "echo" and it works fine. Please try it. Regards, Andres Martinez www.baKno.com On Feb 15, 2008, at 3:43 AM, jbv wrote: > Hi there, > > I'm using "post myvar to url "xxxx" in a stack to access data stored > in > mysql > via a php script. The php script ends with "echo $myvar;" and the > strange thing > is that it returns 2 empty lines before the value of $myvar ONLY > when I > access > mysql in the script... when I post a similar content to a php script > that doesn't > connect to mysql, the value returned is "clean" (no empty lines). > I've tested the script on 2 different servers running 2 different > versions of Linux, > Apache, php and mysql. > > is there a way to bypass this problem ? may be by changing settings of > the http header > in the php script ? > > Thanks in advance, > JB > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From russell_martin at yahoo.com Fri Feb 15 09:32:34 2008 From: russell_martin at yahoo.com (Russell Martin) Date: Fri, 15 Feb 2008 06:32:34 -0800 (PST) Subject: AW: Flash or Quicktime? In-Reply-To: Message-ID: <382360.9192.qm@web54107.mail.re2.yahoo.com> What about sound? Aren't animated gifs silent? --- Klaus Major wrote: > Hi Tiemo, > > > Hmm, didn't thought about that yet. I have never compared quality > > and size > > against a video, but giving each frame a unique filename sounds to > > > quite > > some work > > No need to use separate files for the frames! > You can even control frames of animated gifs in Rev! > Check "framecount", "currentframe" and "repeatcount" in the docs. > > > Thanks for the hint > > Tiemo > > Best > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ From jbv.silences at club-internet.fr Fri Feb 15 09:43:03 2008 From: jbv.silences at club-internet.fr (jbv) Date: Fri, 15 Feb 2008 15:43:03 +0100 Subject: Rev & php script question References: <47B550A3.C1DECB35@club-internet.fr> <2978478B-B0F3-4C66-AF4D-D33D99923FD8@bakno.com> Message-ID: <47B5A4F5.2E8CBB6A@club-internet.fr> Andres, I already tried : same problem. Thanks anyway. > Hello JB > > I use "print" instead of "echo" and it works fine. > > Please try it. From luis at anachreon.co.uk Fri Feb 15 09:40:48 2008 From: luis at anachreon.co.uk (Luis) Date: Fri, 15 Feb 2008 14:40:48 +0000 Subject: AW: Flash or Quicktime? In-Reply-To: <382360.9192.qm@web54107.mail.re2.yahoo.com> References: <382360.9192.qm@web54107.mail.re2.yahoo.com> Message-ID: <755C7823-2602-4E11-B170-FB13B623DEF1@anachreon.co.uk> Someone had to spoil the party... :) Good point, but I had assumed that at 1-4 seconds per file that there really wasn't much sound to talk about (intentional pun..). Could be linked to fire off (if necessary) a separate sound file. Oh, and about the individual filenames per frame: This the app will do for you, but it looks like you won't need it with "framecount", "currentframe" and "repeatcount". Cheers, Luis. On 15 Feb 2008, at 14:32, Russell Martin wrote: > What about sound? Aren't animated gifs silent? > > --- Klaus Major wrote: > >> Hi Tiemo, >> >>> Hmm, didn't thought about that yet. I have never compared quality >>> and size >>> against a video, but giving each frame a unique filename sounds to >> >>> quite >>> some work >> >> No need to use separate files for the frames! >> You can even control frames of animated gifs in Rev! >> Check "framecount", "currentframe" and "repeatcount" in the docs. >> >>> Thanks for the hint >>> Tiemo >> >> Best >> >> Klaus Major >> klaus at major-k.de >> http://www.major-k.de >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > > ______________________________________________________________________ > ______________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. http:// > mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From toolbook at kestner.de Fri Feb 15 09:46:50 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 15 Feb 2008 15:46:50 +0100 Subject: AW: AW: Flash or Quicktime? In-Reply-To: <755C7823-2602-4E11-B170-FB13B623DEF1@anachreon.co.uk> Message-ID: <000901c86fe1$99db7400$18b2a8c0@TiemoPC2> Yes, in this case, I don't have audio at all... Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Luis > Gesendet: Freitag, 15. Februar 2008 15:41 > An: How to use Revolution > Betreff: Re: AW: Flash or Quicktime? > > Someone had to spoil the party... :) > Good point, but I had assumed that at 1-4 seconds per file that there > really wasn't much sound to talk about (intentional pun..). > Could be linked to fire off (if necessary) a separate sound file. > > Oh, and about the individual filenames per frame: This the app will > do for you, but it looks like you won't need it with "framecount", > "currentframe" and "repeatcount". > > Cheers, > > Luis. > > > On 15 Feb 2008, at 14:32, Russell Martin wrote: > > > What about sound? Aren't animated gifs silent? > > > > --- Klaus Major wrote: > > > >> Hi Tiemo, > >> > >>> Hmm, didn't thought about that yet. I have never compared quality > >>> and size > >>> against a video, but giving each frame a unique filename sounds to > >> > >>> quite > >>> some work > >> > >> No need to use separate files for the frames! > >> You can even control frames of animated gifs in Rev! > >> Check "framecount", "currentframe" and "repeatcount" in the docs. > >> > >>> Thanks for the hint > >>> Tiemo > >> > >> Best > >> > >> Klaus Major > >> klaus at major-k.de > >> http://www.major-k.de > >> > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > > > > > > > ______________________________________________________________________ > > ______________ > > Be a better friend, newshound, and > > know-it-all with Yahoo! Mobile. Try it now. http:// > > mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From coiin at rcn.com Fri Feb 15 10:02:26 2008 From: coiin at rcn.com (Colin Holgate) Date: Fri, 15 Feb 2008 10:02:26 -0500 Subject: AW: AW: Flash or Quicktime? In-Reply-To: <000901c86fe1$99db7400$18b2a8c0@TiemoPC2> References: <000901c86fe1$99db7400$18b2a8c0@TiemoPC2> Message-ID: The main arguments against animated gifs would be the lack of color range, and the file size. If there are 17000 files of 1-4 seconds each, so let's say 36000 seconds worth altogether, that's the same amount of time as five full length Hollywood movies, and with double layer discs being enough of a hassle to think this would want to fit onto one side of a DVD, it would be challenging if the animations were only GIF compressed. How big an image will it be? How many frames per second? Fitting ten hours of full size full frame rate video onto a DVD is going to be tough. From chipp at chipp.com Fri Feb 15 10:20:10 2008 From: chipp at chipp.com (Chipp Walters) Date: Fri, 15 Feb 2008 09:20:10 -0600 Subject: AW: AW: Flash or Quicktime? In-Reply-To: References: <000901c86fe1$99db7400$18b2a8c0@TiemoPC2> Message-ID: <7aa52a210802150720k309c76b2nddfc2b0efa68ad5f@mail.gmail.com> Another issue you may wish to consider, is how powerful a machine the playback will be on. A recent cient of ours had to forgo the Flash solution in favor of QT because Flash is considerably more processor intensive than QT...by a lot. From toolbook at kestner.de Fri Feb 15 10:23:32 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 15 Feb 2008 16:23:32 +0100 Subject: AW: AW: AW: Flash or Quicktime? In-Reply-To: Message-ID: <000d01c86fe6$ba3b0350$18b2a8c0@TiemoPC2> I have a video size of 384x288 with 25fps and try to get an average file size of 420kb, so that I get all on one double layer DVD-9 I've send you a test file off-list Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Colin Holgate > Gesendet: Freitag, 15. Februar 2008 16:02 > An: How to use Revolution > Betreff: Re: AW: AW: Flash or Quicktime? > > The main arguments against animated gifs would be the lack of color > range, and the file size. If there are 17000 files of 1-4 seconds > each, so let's say 36000 seconds worth altogether, that's the same > amount of time as five full length Hollywood movies, and with double > layer discs being enough of a hassle to think this would want to fit > onto one side of a DVD, it would be challenging if the animations > were only GIF compressed. > > How big an image will it be? How many frames per second? Fitting ten > hours of full size full frame rate video onto a DVD is going to be > tough. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From toolbook at kestner.de Fri Feb 15 10:24:22 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 15 Feb 2008 16:24:22 +0100 Subject: AW: AW: AW: Flash or Quicktime? In-Reply-To: <7aa52a210802150720k309c76b2nddfc2b0efa68ad5f@mail.gmail.com> Message-ID: <000e01c86fe6$d7dd87c0$18b2a8c0@TiemoPC2> Interesting to hear, I didn't know that Thanks for sharing Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Chipp Walters > Gesendet: Freitag, 15. Februar 2008 16:20 > An: How to use Revolution > Betreff: Re: AW: AW: Flash or Quicktime? > > Another issue you may wish to consider, is how powerful a machine the > playback will be on. A recent cient of ours had to forgo the Flash > solution in favor of QT because Flash is considerably more processor > intensive than QT...by a lot. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mdswindell at cruzio.com Fri Feb 15 10:46:07 2008 From: mdswindell at cruzio.com (Mark Swindell) Date: Fri, 15 Feb 2008 07:46:07 -0800 Subject: shortcut keys rarely working Message-ID: <159C1261-9D1F-49E6-A35D-9833C7906A8F@cruzio.com> Shortcut keys are becoming a thing of the past, far more than just copy, cut, paste. This is in the IDE using GLX2 (or not), Studio or Enterprise Beta. Do I need to do a complete reinstall to get thing back to normal? Are there files that need to be dumped? Please advise. Thanks, Mark From jerry at daniels-mara.com Fri Feb 15 11:19:58 2008 From: jerry at daniels-mara.com (Jerry Daniels) Date: Fri, 15 Feb 2008 10:19:58 -0600 Subject: shortcut keys rarely working In-Reply-To: <159C1261-9D1F-49E6-A35D-9833C7906A8F@cruzio.com> References: <159C1261-9D1F-49E6-A35D-9833C7906A8F@cruzio.com> Message-ID: Mark, Trevor has tracked down a very bothersome engine bug that seems to isolate the problem: FOCUS. Once a Rev application (the IDE is an application, btw) has a bunch of nested groups, the engine has to be coerced into knowing what the focused object (field) really is. This is where the keystrokes "go." And sometimes even coercion does not work. Based on Trevor's detective work, I'm starting to believe this is an engine bug--which has been reported and which is being worked on presently by the lads and lasses in Scotland. Perhaps Mr. T or others in the know would care to comment. Best, Jerry Daniels Daniels & Mara, Inc. Makers of GLX2 http://www.daniels-mara.com/glx2 On Feb 15, 2008, at 9:46 AM, Mark Swindell wrote: > Shortcut keys are becoming a thing of the past, far more than just > copy, cut, paste. This is in the IDE using GLX2 (or not), Studio or > Enterprise Beta. Do I need to do a complete reinstall to get thing > back to normal? Are there files that need to be dumped? Please > advise. > > Thanks, > Mark > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION2 at barncard.com Fri Feb 15 11:22:28 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Fri, 15 Feb 2008 08:22:28 -0800 Subject: Flash or Quicktime? In-Reply-To: <6546BF63-F2A7-43C0-BA9F-7B9A4B3FB9F1@rcn.com> References: <001e01c86fd0$f4e5f110$18b2a8c0@TiemoPC2> <6546BF63-F2A7-43C0-BA9F-7B9A4B3FB9F1@rcn.com> Message-ID: And another thing to think about: Flash, Real, DIVX, whatever, eventually will complain if the user's system needs an update on the web, and they'll have to download and install something sooner or later. Example: I just installed Leopard 10.5.2, that masssive thing just released by Apple, yet going to a particular site, I got the message to update to the 'latest' version of Flash. I don't think one can always reliably count on the OS to provide these tweezy add-ons without upgrades. People who regularly use video on the web are used to this. Remember all the garbage one had to do to get CNN streaming to work when they started their new free service? It requres Java, FLASH AND Microsoft Media Player and at one point required one to tweak quicktime's plist to get it to work. I'm sure the difficulty in use was due partly to the house of cards lashing of these technologies -- all to force the user to use their stupid imbedded player (and keep them from viewing full screen or open multiple windows (which one could do before with quicktime/wmv paid 'Pipeline'.) Native, pure quicktime works really well by itself in its native formats. It's true; Iphones and I pods are expanding the PC use of Quicktime to the point where users accept it as much or more than any other media add-on, such as DIVX. Quicktime has been around since the late 80's, concurrent with the introduction of CD-Roms. It's the oldest, most mature computer media technology that's around, with almost 20 years of development behind it. Besides, using Quicktime will allow you take advantage of Trevor's excellent and cross-platform Quicktime library! http://www.bluemangolearning.com/developer/revolution/enhancedqt.php >You could make them as H264 based movies (with AAC sound), either >.MOV or .MP4. Both would play fine via QuickTime, and both can play >in the current Flash player. You could build it now as QuickTime >only, and then change your mind later if you were still worried >about people installing QuickTime. > >You know that all people who use iPhones or iPods with their PCs do >have QuickTime installed? Even those with just iTunes do, so the >number of people with QuickTime installed is higher than you might >think. Also, you can include the QuickTime installer on your DVD-ROM. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From toolbook at kestner.de Fri Feb 15 11:33:40 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 15 Feb 2008 17:33:40 +0100 Subject: AW: Flash or Quicktime? In-Reply-To: Message-ID: <001701c86ff0$878c9270$18b2a8c0@TiemoPC2> Thank you for your points, Stephen Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Stephen Barncard > Gesendet: Freitag, 15. Februar 2008 17:22 > An: How to use Revolution > Betreff: Re: Flash or Quicktime? > > And another thing to think about: Flash, Real, DIVX, whatever, > eventually will complain if the user's system needs an update on the > web, and they'll have to download and install something sooner or > later. Example: I just installed Leopard 10.5.2, that masssive thing > just released by Apple, yet going to a particular site, I got the > message to update to the 'latest' version of Flash. I don't think > one can always reliably count on the OS to provide these tweezy > add-ons without upgrades. People who regularly use video on the web > are used to this. > > Remember all the garbage one had to do to get CNN streaming to work > when they started their new free service? It requres Java, FLASH > AND Microsoft Media Player and at one point required one to tweak > quicktime's plist to get it to work. I'm sure the difficulty in > use was due partly to the house of cards lashing of these > technologies -- all to force the user to use their stupid imbedded > player (and keep them from viewing full screen or open multiple > windows (which one could do before with quicktime/wmv paid > 'Pipeline'.) > > Native, pure quicktime works really well by itself in its native formats. > > It's true; Iphones and I pods are expanding the PC use of Quicktime > to the point where users accept it as much or more than any other > media add-on, such as DIVX. > > Quicktime has been around since the late 80's, concurrent with the > introduction of CD-Roms. It's the oldest, most mature computer media > technology that's around, with almost 20 years of development behind > it. > > Besides, using Quicktime will allow you take advantage of Trevor's > excellent and cross-platform Quicktime library! > > http://www.bluemangolearning.com/developer/revolution/enhancedqt.php > > > > > >You could make them as H264 based movies (with AAC sound), either > >.MOV or .MP4. Both would play fine via QuickTime, and both can play > >in the current Flash player. You could build it now as QuickTime > >only, and then change your mind later if you were still worried > >about people installing QuickTime. > > > >You know that all people who use iPhones or iPods with their PCs do > >have QuickTime installed? Even those with just iTunes do, so the > >number of people with QuickTime installed is higher than you might > >think. Also, you can include the QuickTime installer on your DVD-ROM. > > -- > > > stephen barncard > s a n f r a n c i s c o > - - - - - - - - - - - - > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lfredricks at proactive-intl.com Fri Feb 15 11:37:16 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri, 15 Feb 2008 08:37:16 -0800 Subject: Cgi and Database (stick to standards) In-Reply-To: References: Message-ID: <041e01c86ff1$06a8b3e0$6501a8c0@GATEWAY> > I want again repeat one point for SqlLite fans. If db world > was so simple that SqlLite engine in 300K beats mySQL then > ask self why mySQL/Oracle/MS SQL/Sybase/DB2/Ingres/ Valentina > developers bother self developing soooo complex DB > systems???!!! May be tasks are not so simple when you start > move more deeply... An extremely important thing to keep in mind when choosing a database is how well they scale. If you are working with a handful of records locally, you arent going to notice a huge difference between databases. When you go from a local only to a network database, it is a huge step, and if your database wasn't designed from the get-go to account for network issues its likely not going to do it as well as those that do. Likewise, handling thousands or millions or records, you really notice a difference. And those are just performance issues, before getting into the general goodie bag of features :-) Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From lists at mangomultimedia.com Fri Feb 15 11:39:31 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 15 Feb 2008 11:39:31 -0500 Subject: shortcut keys rarely working In-Reply-To: References: <159C1261-9D1F-49E6-A35D-9833C7906A8F@cruzio.com> Message-ID: <04F18CF5-F39E-406A-9E4D-86C64FC85D3A@mangomultimedia.com> On Feb 15, 2008, at 11:19 AM, Jerry Daniels wrote: > Trevor has tracked down a very bothersome engine bug that seems to > isolate the problem: FOCUS. Once a Rev application (the IDE is an > application, btw) has a bunch of nested groups, the engine has to be > coerced into knowing what the focused object (field) really is. This > is where the keystrokes "go." And sometimes even coercion does not > work. Based on Trevor's detective work, I'm starting to believe this > is an engine bug--which has been reported and which is being worked > on presently by the lads and lasses in Scotland. > > Perhaps Mr. T or others in the know would care to comment. I don't have any further details on whether or not the issue is fixed yet for the next 2.9 build. I am pretty sure that non-functioning shortcut keys are related to a confused engine when it comes to focusedObject and selectedField. I've been able to recreate the issue and have filed bug reports. Rev is aware of the issue and hopefully all of these shortcut key woes will go away with 2.9. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From JimAultWins at yahoo.com Fri Feb 15 11:50:39 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 15 Feb 2008 08:50:39 -0800 Subject: shortcut keys rarely working In-Reply-To: <04F18CF5-F39E-406A-9E4D-86C64FC85D3A@mangomultimedia.com> Message-ID: I have posted a workaround for Mac OSX that I use, sometimes frequently, but most of the last 6 months, rarely. There is a program called Menu Master that quickly allows you to assign an alternate key combo. I use cntrl-C and cntrl-V. Normally Rev will like the command-C and -V. When it does not, I just use the cntrl key and it works fine. Don't ask why. I don't know. Copy seems to work, but the paste is problematic, solved by the cntrl key substitution. Of course, relaunching Rev fixes the things too. Jim Ault Las Vegas On 2/15/08 8:39 AM, "Trevor DeVore" wrote: > On Feb 15, 2008, at 11:19 AM, Jerry Daniels wrote: >> Trevor has tracked down a very bothersome engine bug that seems to >> isolate the problem: FOCUS. Once a Rev application (the IDE is an >> application, btw) has a bunch of nested groups, the engine has to be >> coerced into knowing what the focused object (field) really is. This >> is where the keystrokes "go." And sometimes even coercion does not >> work. Based on Trevor's detective work, I'm starting to believe this >> is an engine bug--which has been reported and which is being worked >> on presently by the lads and lasses in Scotland. >> >> Perhaps Mr. T or others in the know would care to comment. > > I don't have any further details on whether or not the issue is fixed > yet for the next 2.9 build. > > I am pretty sure that non-functioning shortcut keys are related to a > confused engine when it comes to focusedObject and selectedField. I've > been able to recreate the issue and have filed bug reports. Rev is > aware of the issue and hopefully all of these shortcut key woes will > go away with 2.9. > > Regards, From jmyepes at mac.com Fri Feb 15 11:53:10 2008 From: jmyepes at mac.com (Josep) Date: Fri, 15 Feb 2008 08:53:10 -0800 (PST) Subject: App over PDA with windows mobile or other In-Reply-To: <7c87a2a10802150538x4106167fgbc523f4c87e1b160@mail.gmail.com> References: <15496039.post@talk.nabble.com> <7c87a2a10802150538x4106167fgbc523f4c87e1b160@mail.gmail.com> Message-ID: <15502978.post@talk.nabble.com> That's what I will suppose... Thanks, Josep M Andre Garzia-3 wrote: > > Josep, > > Err... no, you can't but there's a way. You can create a web > application if your pda is connected all time, then, you can use a web > application. > > Andre > > On 2/15/08, Josep wrote: >> >> Hi, >> >> It's posible to run applications created with Revolution in a Windows >> Mobile >> PDA? >> If is posible I need a windows license for Rev or can I do it from my >> Mac >> license? >> >> I need create a little app that collect orders to send via ftp. >> >> Any hint? >> >> Cheers, >> Josep M >> -- >> View this message in context: >> http://www.nabble.com/App-over-PDA-with-windows-mobile-or-other-tp15496039p15496039.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/App-over-PDA-with-windows-mobile-or-other-tp15496039p15502978.html Sent from the Revolution - User mailing list archive at Nabble.com. From jeff at siphonophore.com Fri Feb 15 12:46:37 2008 From: jeff at siphonophore.com (Jeff Reynolds) Date: Fri, 15 Feb 2008 12:46:37 -0500 Subject: AW: Flash or Quicktime? In-Reply-To: <20080215162011.17328489BB8@mail.runrev.com> References: <20080215162011.17328489BB8@mail.runrev.com> Message-ID: its a bit more than throwing the qt installer on and sending them a couple copies of your disc. you must install qt with your product w.o the user being able to stop the qt installation. it was all a bit of hassle and it changes (another pain). in the past they have done things like your application had to only work with the version of qt on the disc or above (not nice since my apps usually work with very old qt version on older systems fine, no reason to force upgrades on them). basically if you want to ship qt with your product apple wants to use you to move the world forward into the newer. also if they change the license terms you have to agree if you want to continue your license. also if a new version of qt comes you must replace it on your product w/in 6 months. not fun again once you are golden and have a bunch of cds sitting there... we had an older VB based product that used qt and required one extension from a very old version of qt be installed to run, but on newer OS you also needed a full newer version of QT installed. this was a mess since apple wanted us to loose the old qt files completely when we were re-releasing it, but we did not have the source for the VB and couldnt figure out what was needed or change this. finally got the nudge, nudge, wink, wink, to ship it with both and the convoluted installation as there was no way the product was going to be reworked to fix it, but there was still a strong education demand for the product. you can find the current apple agreements at the apple site http://developer.apple.com/softwarelicensing/agreements/quicktime.html . like i said over the last decade or so that i have dealt with on many project it keeps evolving, sometimes simple and straight forward and sometimes more complicated to deal with. We have finally given up on the cdroms and just put the link in all the readmes and docs to the quicktime.com website to get the qt installer if they need it. so far this has only caused a problem for the schools in the Mariana Islands in the South Pacific with low bandwidth connections. i ended up sending them some discs with only the qt installer only burned on them and they passed them out to the islands, problem solved. not to say qt is not great at solving lots of multimedia problems, just including the qt installer does raise a few issues you must be prepared to deal with. this come into focus more if your product is going though a publisher who is assuming some of the rights/licensing/ production as they may not like to deal with some of the installer license details. On flash videos it sounds like yours our short, but on longer ones (like 5-10 minutes) the audio can sometimes get out of synch with the video under flash videos compared qt which seems to do a very good job of making sure audio and video keep synched. Flash also has had a history of version conflicts, so what ever you do with it you need to make sure you if cross one of those lines and if you have a plan. on the H264 it really takes the processor power on the encoding step, not seen a problem with playback on older machines yet. lots of the world is going h264 these days... cheers jeff reynolds On Feb 15, 2008, at 11:20 AM, use-revolution-request at lists.runrev.com wrote: >> >> >> Yes I thought about putting the installer on DVD-ROM, thought apple >> doesn't >> like it... > > They don't mind at all. You just have to sign an agree with them, and > send two copies of the final product as part of that agreement. From bvg at mac.com Fri Feb 15 12:56:19 2008 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 15 Feb 2008 18:56:19 +0100 Subject: revBrowser and htmltext of web pages In-Reply-To: <47B53250.4060000@pdslabs.net> References: <47B53250.4060000@pdslabs.net> Message-ID: <27FAF54D-1525-4600-90FC-B9FC140E64C0@mac.com> I'd say this looks like a bug to me, so maybe you should file one, specifying the url, and how you used it. Alternatively send this mail and the url /use case to support? On 15 Feb 2008, at 07:33, Phil Davis wrote: > I'm looking at a web page in revBrowser (XP in Parallels) that > contains > all the info I want to capture. When my script does this: > put revBrowserGet(tId,"htmltext") > > All I get in the message box is this: > > > > I'm guessing it's because the page uses JavaScript heavily. But of > course it renders perfectly in revBrowser, so it seems like I should > be > able to grab it. When I look at the same page with a non-Rev web > browser, I can see the page source and all the data I wanted is there. > > Can revBrowser give me the same results as a regular web browser? Am I > just missing something? > > Thanks - > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.net > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Fri Feb 15 13:10:35 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 15 Feb 2008 10:10:35 -0800 Subject: Flash or Quicktime? Message-ID: <47B5D59B.1020700@fourthworld.com> Stephen Barncard wrote: > Native, pure quicktime works really well by itself in its native formats. Except for the other 90% of the world that runs Windows or Linux. ;) There isn't a QT engine at all for Linux (please oh please tell me that's changed or will soon). And sure, Apple provides an installer for QT on Windows. But as convenient as it is for end-users, the IT staff in hospitals and universities I've been talking to really dislike the broad range of often-unnecessary system settings the QT installer changes. So while I like QT personally, for some apps we've had to switch to WMV. WMV is natively playable on Win systems with nothing else required, and for Mac folks it's a favor to encourage them to get Flip4Mac if they haven't already (when will that simply be bundled in with QT?). Of course with QT you get the nifty controller, but an increasing number of apps I manage that use QT have needs that go beyond the built-in controller anyway. Building a custom controller not only lets you implement the specific features you need, but also lets you deploy without QT dependence. The QT controller buttons are pretty small anyway, and features like looping and selections can be scripted fairly easily without QT. So rather than inconvenience the majority of our users by asking Win folks to install QT, we've flipping that around and asking Mac users to install Flip4Mac. Not only are the numbers more favorable this way, but Flip4Mac is far less intrusive to the Mac system than QT is to Windows, both in terms of file size and scope of system changes. I still don't know what we're going to do for Linux -- is there a WMV translator for Linux as there is for Mac? What formats are widely supported there? All that said, I don't know that there's a single the best choice; it really depends on the specific needs of the application and its target audience. For many consumer apps using QT is just fine, and offers a lot of flexibility for the developer with little coding. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From bvg at mac.com Fri Feb 15 13:10:50 2008 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 15 Feb 2008 19:10:50 +0100 Subject: AW: Flash or Quicktime? In-Reply-To: <001701c86ff0$878c9270$18b2a8c0@TiemoPC2> References: <001701c86ff0$878c9270$18b2a8c0@TiemoPC2> Message-ID: <8D282EF0-E380-4EC3-8870-0FC5F878EE46@mac.com> I never really used videos much, but isn't there any way to set the "dontUseQT" to true, when running on windows, while using the same compression for windows and mac os x? I always wondered this, but didn't have the persistence to find out :) Bj?rnke -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From mdswindell at cruzio.com Fri Feb 15 13:14:39 2008 From: mdswindell at cruzio.com (Mark Swindell) Date: Fri, 15 Feb 2008 10:14:39 -0800 Subject: shortcut keys rarely working In-Reply-To: References: <159C1261-9D1F-49E6-A35D-9833C7906A8F@cruzio.com> Message-ID: It's beyond copy, cut, paste at this point on my machine. Select all, commenting/uncommenting, saving, opening/closing message box, everything that should work more often than not doesn't. The only way I can get anything done is to use the menubar. All shortcuts seem to be shortcircuited... not always, but more often than not. Anyone else experiencing behavior like this? I'm using Leopard, Rev 2.8 and 2.9, GLX2. I read somewhere that there is a possible corruption of the preferences file that can get in the way of things, but I'm wondering if a complete reinstall is not the best answer. Thanks, Mark On Feb 15, 2008, at 8:19 AM, Jerry Daniels wrote: > Mark, > > Trevor has tracked down a very bothersome engine bug that seems to > isolate the problem: FOCUS. Once a Rev application (the IDE is an > application, btw) has a bunch of nested groups, the engine has to be > coerced into knowing what the focused object (field) really is. This > is where the keystrokes "go." And sometimes even coercion does not > work. Based on Trevor's detective work, I'm starting to believe this > is an engine bug--which has been reported and which is being worked > on presently by the lads and lasses in Scotland. > > Perhaps Mr. T or others in the know would care to comment. > > Best, > > Jerry Daniels > > Daniels & Mara, Inc. > Makers of GLX2 > http://www.daniels-mara.com/glx2 > > > > On Feb 15, 2008, at 9:46 AM, Mark Swindell wrote: > >> Shortcut keys are becoming a thing of the past, far more than just >> copy, cut, paste. This is in the IDE using GLX2 (or not), Studio >> or Enterprise Beta. Do I need to do a complete reinstall to get >> thing back to normal? Are there files that need to be dumped? >> Please advise. >> >> Thanks, >> Mark >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Thanks, Mark From sundown at pacifier.com Fri Feb 15 13:29:04 2008 From: sundown at pacifier.com (-= JB =-) Date: Fri, 15 Feb 2008 10:29:04 -0800 Subject: Valentina Valentine offer In-Reply-To: References: <001e01c86fd0$f4e5f110$18b2a8c0@TiemoPC2> <6546BF63-F2A7-43C0-BA9F-7B9A4B3FB9F1@rcn.com> Message-ID: <28004365-01EC-42D3-8F12-D03881E33B00@pacifier.com> I signed up for the Valentina Valentine offer and the site said it confirmed my info but I have not received the license yet. The offer stated once you fill out the info and have been confirmed your license will be on the way. When should we expect to receive the license? thanks, -=>JB<=- From alex at tweedly.net Fri Feb 15 13:36:27 2008 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 15 Feb 2008 18:36:27 +0000 Subject: hostNameToAddress not working??? In-Reply-To: References: Message-ID: <47B5DBAB.6050907@tweedly.net> Dave wrote: > Hi All, > > I have the following function: > > ------------------------------------------------------------------ > -- > -- Get the LAN IP Address of this Machine > -- > ------------------------------------------------------------------ > function IPMGetHostIPAddressLAN > local myHostIPAddress > > put hostNameToAddress(the hostName) into myHostIPAddress > return myHostIPAddress > end IPMGetHostIPAddressLAN > > > This used to work fine and return the local LAN address of the machine > the Script is running on, I just tried it and now it just returns empty. > > I originally cribbed this from Richmond's "Get IP Address" stack. I > download this again from rev online and it too fails. From this stack: > > on mouseUp > put "Public IP =" && url "http://xtalk.memebot.com/cgi-bin/ip.cgi" > into line 1 of fld "F1" > put "Local IP =" && hostnametoaddress ("localhost") into line 2 of > fld "F1" > put "LAN IP =" && hostnametoaddress(the hostname) into line 3 of > fld "F1" > end mouseUp > > When I run this I get "empty" as the LAN Address. The other two IP > address fields are filled in ok. > > Could anyone shed any light on why this has stopped working and how I > can obtain the LAN IP address? > Which machine ? OS ? Rev version ? It would be interesting to see the output from put the hostname && ":" && hostnametoaddress(the hostname) to see whether the hostname has been set properly (and then to see whether the host name to address mapping is OK). if you're on a Mac, try opening a terminal window, and look at the output from echo $HOSTNAME if you're on a PC, ummmm .... I forget :-) - but look at what the system thinks the hostname is. -- Alex Tweedly mailto:alex at tweedly.net www.tweedly.net From revdev at pdslabs.net Fri Feb 15 13:38:57 2008 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 15 Feb 2008 10:38:57 -0800 Subject: revBrowser and htmltext of web pages In-Reply-To: <27FAF54D-1525-4600-90FC-B9FC140E64C0@mac.com> References: <47B53250.4060000@pdslabs.net> <27FAF54D-1525-4600-90FC-B9FC140E64C0@mac.com> Message-ID: <47B5DC41.50600@pdslabs.net> Thanks Bj?rnke. The page in question is on a secured site (realtors' multiple listing service), but I'll see if I can find an equivalent public page and submit that with the bug report. Phil Bj?rnke von Gierke wrote: > I'd say this looks like a bug to me, so maybe you should file one, > specifying the url, and how you used it. Alternatively send this mail > and the url /use case to support? > > > On 15 Feb 2008, at 07:33, Phil Davis wrote: > >> I'm looking at a web page in revBrowser (XP in Parallels) that contains >> all the info I want to capture. When my script does this: >> put revBrowserGet(tId,"htmltext") >> >> All I get in the message box is this: >> >> >> >> I'm guessing it's because the page uses JavaScript heavily. But of >> course it renders perfectly in revBrowser, so it seems like I should be >> able to grab it. When I look at the same page with a non-Rev web >> browser, I can see the page source and all the data I wanted is there. >> >> Can revBrowser give me the same results as a regular web browser? Am I >> just missing something? >> >> Thanks - -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From sunshine at public.kherson.ua Fri Feb 15 13:50:49 2008 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri, 15 Feb 2008 20:50:49 +0200 Subject: Valentina Valentine offer In-Reply-To: <28004365-01EC-42D3-8F12-D03881E33B00@pacifier.com> Message-ID: On 15/2/08 8:29 PM, "-= JB =-" wrote: > I signed up for the Valentina Valentine offer and the > site said it confirmed my info but I have not received > the license yet. > > The offer stated once you fill out the info and have > been confirmed your license will be on the way. > > When should we expect to receive the license? People have start to work on sending of emails Hundreds of registrations. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From dave at looktowindward.com Fri Feb 15 13:51:32 2008 From: dave at looktowindward.com (Dave) Date: Fri, 15 Feb 2008 18:51:32 +0000 Subject: hostNameToAddress not working??? In-Reply-To: <47B5DBAB.6050907@tweedly.net> References: <47B5DBAB.6050907@tweedly.net> Message-ID: <6B99EAB7-C16F-4512-ABBD-F9D16C8E83BF@looktowindward.com> It's ok, you just need to append ".local" to the return value of "the hostName". All the Best Dave On 15 Feb 2008, at 18:36, Alex Tweedly wrote: > Dave wrote: >> Hi All, >> >> I have the following function: >> >> ------------------------------------------------------------------ >> -- >> -- Get the LAN IP Address of this Machine >> -- >> ------------------------------------------------------------------ >> function IPMGetHostIPAddressLAN >> local myHostIPAddress >> >> put hostNameToAddress(the hostName) into myHostIPAddress >> return myHostIPAddress >> end IPMGetHostIPAddressLAN >> >> >> This used to work fine and return the local LAN address of the >> machine the Script is running on, I just tried it and now it just >> returns empty. >> >> I originally cribbed this from Richmond's "Get IP Address" stack. >> I download this again from rev online and it too fails. From this >> stack: >> >> on mouseUp >> put "Public IP =" && url "http://xtalk.memebot.com/cgi-bin/ >> ip.cgi" into line 1 of fld "F1" >> put "Local IP =" && hostnametoaddress ("localhost") into line 2 >> of fld "F1" >> put "LAN IP =" && hostnametoaddress(the hostname) into line 3 >> of fld "F1" >> end mouseUp >> >> When I run this I get "empty" as the LAN Address. The other two IP >> address fields are filled in ok. >> >> Could anyone shed any light on why this has stopped working and >> how I can obtain the LAN IP address? >> > Which machine ? OS ? Rev version ? > > It would be interesting to see the output from > put the hostname && ":" && hostnametoaddress(the hostname) > > to see whether the hostname has been set properly (and then to see > whether the host name to address mapping is OK). > > if you're on a Mac, try opening a terminal window, and look at the > output from > echo $HOSTNAME > if you're on a PC, ummmm .... I forget :-) - but look at what the > system thinks the hostname is. > > -- > > Alex Tweedly mailto:alex at tweedly.net www.tweedly.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sundown at pacifier.com Fri Feb 15 14:35:26 2008 From: sundown at pacifier.com (-= JB =-) Date: Fri, 15 Feb 2008 11:35:26 -0800 Subject: Valentina Valentine offer In-Reply-To: References: Message-ID: <9009A929-560E-46DA-9250-68C8BF804FE4@pacifier.com> Hi Ruslan, That is what I thought but just wanted to make sure. Thanks for taking the time to reply. -=>JB<=- On Feb 15, 2008, at 10:50 AM, Ruslan Zasukhin wrote: > On 15/2/08 8:29 PM, "-= JB =-" wrote: > >> I signed up for the Valentina Valentine offer and the >> site said it confirmed my info but I have not received >> the license yet. >> >> The offer stated once you fill out the info and have >> been confirmed your license will be on the way. >> >> When should we expect to receive the license? > > People have start to work on sending of emails > Hundreds of registrations. > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jerry at daniels-mara.com Fri Feb 15 14:45:36 2008 From: jerry at daniels-mara.com (Jerry Daniels) Date: Fri, 15 Feb 2008 13:45:36 -0600 Subject: shortcut keys rarely working In-Reply-To: References: <159C1261-9D1F-49E6-A35D-9833C7906A8F@cruzio.com> Message-ID: <27C203EC-8997-4BE9-9C17-B0056FDC5EDD@daniels-mara.com> Mark, It wouldn't hurt to try a fresh re-install. I don't know what other plugins, or anything else may have affected your keystrokes so dramatically. When i made my previous comments, I was not limiting the focus problem with keystrokes to just cmd+c,x,v, btw. It's stuff like this that made me want to create a script editor in a separate application space...which we did with the Concept Editor. I should have perhaps taken the idea beyond concept. Best, Jerry Daniels Daniels & Mara, Inc. Makers of GLX2 http://www.daniels-mara.com/glx2 On Feb 15, 2008, at 12:14 PM, Mark Swindell wrote: > It's beyond copy, cut, paste at this point on my machine. Select > all, commenting/uncommenting, saving, opening/closing message box, > everything that should work more often than not doesn't. The only > way I can get anything done is to use the menubar. All shortcuts > seem to be shortcircuited... not always, but more often than not. > Anyone else experiencing behavior like this? > > I'm using Leopard, Rev 2.8 and 2.9, GLX2. > > I read somewhere that there is a possible corruption of the > preferences file that can get in the way of things, but I'm > wondering if a complete reinstall is not the best answer. > Thanks, > Mark > > > On Feb 15, 2008, at 8:19 AM, Jerry Daniels wrote: > >> Mark, >> >> Trevor has tracked down a very bothersome engine bug that seems to >> isolate the problem: FOCUS. Once a Rev application (the IDE is an >> application, btw) has a bunch of nested groups, the engine has to >> be coerced into knowing what the focused object (field) really is. >> This is where the keystrokes "go." And sometimes even coercion does >> not work. Based on Trevor's detective work, I'm starting to believe >> this is an engine bug--which has been reported and which is being >> worked on presently by the lads and lasses in Scotland. >> >> Perhaps Mr. T or others in the know would care to comment. >> >> Best, >> >> Jerry Daniels >> >> Daniels & Mara, Inc. >> Makers of GLX2 >> http://www.daniels-mara.com/glx2 >> >> >> >> On Feb 15, 2008, at 9:46 AM, Mark Swindell wrote: >> >>> Shortcut keys are becoming a thing of the past, far more than just >>> copy, cut, paste. This is in the IDE using GLX2 (or not), Studio >>> or Enterprise Beta. Do I need to do a complete reinstall to get >>> thing back to normal? Are there files that need to be dumped? >>> Please advise. >>> >>> Thanks, >>> Mark >>> >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > Thanks, > Mark > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Fri Feb 15 15:08:54 2008 From: chipp at chipp.com (Chipp Walters) Date: Fri, 15 Feb 2008 14:08:54 -0600 Subject: Flash or Quicktime? In-Reply-To: <47B5D59B.1020700@fourthworld.com> References: <47B5D59B.1020700@fourthworld.com> Message-ID: <7aa52a210802151208r6971f7c1vbba20d71fb5930d8@mail.gmail.com> Fascinating Richard, didn't know about Flip4Mac. Do the standard Rev calls work with WMV? CurrentTime, PlayStopped, etc? Didn't know that either. Good stuff. Regarding Linux, my Asus eee seems to play streaming WMV's just fine with the default installation of mPlayer. Perhaps a more savvy Linux guru can weigh in on the matter. Thanks for posting. BTW, here are the most current stats I could find regarding Quicktime vs Flash market share: http://www.adobe.com/products/player_census/npd/#item-4 It shows QT at 68.4% and Flash at 98.8%. It also shows Windows Media Player at 83%. best, Chipp From stephenREVOLUTION2 at barncard.com Fri Feb 15 15:08:49 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Fri, 15 Feb 2008 12:08:49 -0800 Subject: shortcut keys rarely working Message-ID: G L X 3 >It's stuff like this that made me want to create a script editor in >a separate application space...which we did with the Concept Editor. >I should have perhaps taken the idea beyond concept. > >Best, > >Jerry Daniels -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From coiin at rcn.com Fri Feb 15 15:14:39 2008 From: coiin at rcn.com (Colin Holgate) Date: Fri, 15 Feb 2008 15:14:39 -0500 Subject: Flash or Quicktime? In-Reply-To: <7aa52a210802151208r6971f7c1vbba20d71fb5930d8@mail.gmail.com> References: <47B5D59B.1020700@fourthworld.com> <7aa52a210802151208r6971f7c1vbba20d71fb5930d8@mail.gmail.com> Message-ID: At 2:08 PM -0600 2/15/08, Chipp Walters wrote: >It shows QT at 68.4% and Flash at 98.8%. It also shows Windows Media >Player at 83%. I'm not sure how much I would worry about those figures when doing something in tools like Revolution, because you know that 100 percent of your users are going to have to download or install something. If up to 32 percent also have to install something else, that's not the end of the world for them. From jerry at daniels-mara.com Fri Feb 15 15:17:19 2008 From: jerry at daniels-mara.com (Jerry Daniels) Date: Fri, 15 Feb 2008 14:17:19 -0600 Subject: shortcut keys rarely working In-Reply-To: References: Message-ID: I'll take that as a vote of confidence from San Francisco! On Feb 15, 2008, at 2:08 PM, Stephen Barncard wrote: > G L X 3 > > >> It's stuff like this that made me want to create a script editor in >> a separate application space...which we did with the Concept >> Editor. I should have perhaps taken the idea beyond concept. >> >> Best, >> >> Jerry Daniels From len-morgan at crcom.net Fri Feb 15 15:27:16 2008 From: len-morgan at crcom.net (Len Morgan) Date: Fri, 15 Feb 2008 14:27:16 -0600 Subject: shortcut keys rarely working In-Reply-To: References: Message-ID: <47B5F5A4.9050407@crcom.net> Add my vote but PLEASE work on a Windows version! Len Morgan Jerry Daniels wrote: > I'll take that as a vote of confidence from San Francisco! > > On Feb 15, 2008, at 2:08 PM, Stephen Barncard wrote: > >> G L X 3 >> >> >>> It's stuff like this that made me want to create a script editor in >>> a separate application space...which we did with the Concept Editor. >>> I should have perhaps taken the idea beyond concept. >>> >>> Best, >>> >>> Jerry Daniels > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From stephenREVOLUTION2 at barncard.com Fri Feb 15 15:38:48 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Fri, 15 Feb 2008 12:38:48 -0800 Subject: Flash or Quicktime? In-Reply-To: <7aa52a210802151208r6971f7c1vbba20d71fb5930d8@mail.gmail.com> References: <47B5D59B.1020700@fourthworld.com> <7aa52a210802151208r6971f7c1vbba20d71fb5930d8@mail.gmail.com> Message-ID: Yes, Flip has made WMV very Mac friendly. Often I forget it's not quicktime codecs, WMV's look pretty good. The more I think about it - Richard's suggestion about using Windoze Media for Windows, and QT with FlipForMac that's a great idea for cross platform movies-- shouldn't FLIP work in Quicktime through the player? One more thing to install, but Mac users most likely will have it installed anyway, and more likely able to easily install it if not. FlipforMac has inexpensive upgrades to the plugin in various price tiers that allow WMV encoding inside of QT. At that point WMV is just another codec. >Fascinating Richard, didn't know about Flip4Mac. > >best, >Chipp -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From coiin at rcn.com Fri Feb 15 15:49:16 2008 From: coiin at rcn.com (Colin Holgate) Date: Fri, 15 Feb 2008 15:49:16 -0500 Subject: Flash or Quicktime? In-Reply-To: References: <47B5D59B.1020700@fourthworld.com> <7aa52a210802151208r6971f7c1vbba20d71fb5930d8@mail.gmail.com> Message-ID: I think you're going to make life harder for yourselves in terms of producing the WMVs, and you're willing to give up all Mac users with systems prior to 10.3.9, just to save a few people a bit of installing time. You would only be helping out people who don't have QuickTime and do have Windows Media. Anyone who doesn't have either would still have the same installing issues, and anyone with 10.3.9 or later and doesn't have Flip4Mac would have to install that. From jacque at hyperactivesw.com Fri Feb 15 16:00:32 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 15 Feb 2008 15:00:32 -0600 Subject: Shakobox/PlayCommand Open Source Message-ID: <47B5FD70.2000107@hyperactivesw.com> Some of you may know that my site has been the distribution point for the Shakobox PlayCommand Agent, written by Jonathan Bettencourt some years ago. This software allows Revolution to emulate the HyperCard "play" command on both Windows and Mac. HyperCard's "play" command is able to use scripted musical notation to play back songs on the fly. The PlayCommand Agent uses QuickTime to simulate what HyperCard could do natively. Recently it was reported that the PlayCommand Agent does not work when more than 256 notes were scripted. Jon is no longer supporting the software, but given the recent problem, he has released the code as open source. The info he posted to the HyperCard mailing list is below, and includes a link to the source code. I think it would be wonderful if someone would turn this into a Revolution external. I know that many people use PlayCommand Agent and would appreciate a more consolidated solution than the current one, which requires external files on disk and a few extra steps to get it working. If anyone would like to take a stab at this, please let me know. I'd be happy to continue distributing updates; I think it would be a good idea to keep any new versions in a central location. Also, it has always been a free offering and we would like to keep it that way. Jacque -------- Original Message -------- Subject: [HC] Shakobox/PlayCommand Open Source Date: Wed, 13 Feb 2008 08:11:37 -0800 From: Reply-To: HyperCard at yahoogroups.com To: HyperCard List I've decided to release the source code for the PlayCommand Agent program that made playing HyperTalk note syntax using QuickTime possible. It's available to download here: http://www.kreativekorp.com/swdownload/legacy/hypercard/PlayCmdSrc.zip If someone has experience with a) RealBasic, b) a *real* language, and c) the QuickTime API, then please be my guest to port it, make it an XCMD, etc. :) You may distribute this message however you want. Post it on the Rev list, for example. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Fri Feb 15 16:29:51 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 15 Feb 2008 13:29:51 -0800 Subject: Flash or Quicktime? Message-ID: <47B6044F.4050009@fourthworld.com> Chipp Walters wrote: > Do the standard Rev calls work with WMV? CurrentTime, PlayStopped, > etc? Didn't know that either. Good question. I had thought they did, but in v2.9dp3 there's a bug: When using a player with dontuseQT true, the currentTime property can be both read and set. But if you issue a "start player" command, it resets the player back to 0 before starting playback. That effectively kills the option of doing a custom controller until that gets fixed. :( For your voting pleasure: http://quality.runrev.com/qacenter/show_bug.cgi?id=5886 -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Fri Feb 15 16:41:52 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 15 Feb 2008 13:41:52 -0800 Subject: Flash or Quicktime? Message-ID: <47B60720.7060104@fourthworld.com> Colin Holgate wrote: > I think you're going to make life harder for yourselves in terms of > producing the WMVs, and you're willing to give up all Mac users with > systems prior to 10.3.9, just to save a few people a bit of > installing time. By my math we're looking at the difference between the number of people running Windows vs. the number of Mac users running OS X versions prior to 10.3.9. Do we have stats on how many OS X users haven't upgraded their systems since April 15, 2005, when 10.3.9 was first available? And to refine that stat more relevantly for us app vendors, how many of those customers who won't update their OS for three years (missing a lot of critical bug and security fixes along the way) buy software at all? 10.3.8 was 14 releases ago. That's a lot of enhancements to pass by.... -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From tsj at unimelb.edu.au Fri Feb 15 16:41:14 2008 From: tsj at unimelb.edu.au (Terry Judd) Date: Sat, 16 Feb 2008 08:41:14 +1100 Subject: AW: AW: Flash or Quicktime? In-Reply-To: <20080215162004.5BD6E489B97@mail.runrev.com> Message-ID: > Another issue you may wish to consider, is how powerful a machine the > playback will be on. A recent cient of ours had to forgo the Flash > solution in favor of QT because Flash is considerably more processor > intensive than QT...by a lot. This is apparently one of the reasons the iPhone doesn't support Flash. Terry... From coiin at rcn.com Fri Feb 15 16:48:21 2008 From: coiin at rcn.com (Colin Holgate) Date: Fri, 15 Feb 2008 16:48:21 -0500 Subject: Flash or Quicktime? In-Reply-To: <47B60720.7060104@fourthworld.com> References: <47B60720.7060104@fourthworld.com> Message-ID: At 1:41 PM -0800 2/15/08, Richard Gaskin wrote: >By my math we're looking at the difference between the number of >people running Windows vs. the number of Mac users running OS X >versions prior to 10.3.9. No, that would be too one sided. You're really interested in the number of Windows users minus the ones that don't have QuickTime, and of the remainder you subtract the ones that don't have Windows Media installed. The ones left are the people that benefit from all your work to make it easy for WMV user who don't like QuickTime. I don't disagree that the number may be higher than the number of users who might buy you product to run on 10.1 - 10.3.8, but I'm factoring in all the effort you would have to go to, assuming you could control the WMV in the first place! From ambassador at fourthworld.com Fri Feb 15 17:08:14 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 15 Feb 2008 14:08:14 -0800 Subject: Flash or Quicktime? Message-ID: <47B60D4E.4040208@fourthworld.com> Colin Holgate wrote: > At 1:41 PM -0800 2/15/08, Richard Gaskin wrote: >>By my math we're looking at the difference between the number of >>people running Windows vs. the number of Mac users running OS X >>versions prior to 10.3.9. > > No, that would be too one sided. You're really interested in the > number of Windows users minus the ones that don't have QuickTime, and > of the remainder you subtract the ones that don't have Windows Media > installed. The ones left are the people that benefit from all your > work to make it easy for WMV user who don't like QuickTime. How much effort is it to use any of the dozens of automated conversion tools for making WMVs? If we used Flash or any other format we'd still need a converter for the output; seems like a wash to me. The QT controller is handy for many things, but for most of my apps we need a custom controller anyway: We either need something simpler with larger buttons, or something more complex with multiple selections as opposed to QT's single one. So even if we used QT as the format (as we do in some of our apps), we'd still be making a custom controller. And besides, it's Rev: a simple controller takes about 5 minutes to make, and a complex one just a few hours. If you want to talk about level of effort, try trapping keyboard messages while a QT controller is active: The dividing line between the various event loops of the OS, Rev, and the QT subsystem is a bit murky. ;) A custom controller filters the mud from those waters, making event handling crystal clear. > I don't disagree that the number may be higher than the number of > users who might buy you product to run on 10.1 - 10.3.8, but I'm > factoring in all the effort you would have to go to, assuming you > could control the WMV in the first place! For controlling non-QT media we have start, stop, looping, and currentTime. While currentTime is currently broken in the beta, assuming we get that fixed in v2.9 RC1 that'll cover everything we need to make a wide variety of custom controllers. Don't get me wrong: I like QT, and ship a few apps dependent on it. We've filed the papers with Apple, and dutifully send them copies of our app as requested, and we're generally happy with it. But I don't believe there's a one-size-fits-all solution to video playback at this time. In our shop we have a few dozen university and hospital site licenses pending the removal of QT dependency from our app -- well worth the modest effort to make that happen. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From scott at tactilemedia.com Fri Feb 15 17:12:49 2008 From: scott at tactilemedia.com (=?utf-8?B?U2NvdHQgUm9zc2k=?=) Date: Fri, 15 Feb 2008 22:12:49 +0000 Subject: AW: AW: Flash or Quicktime? In-Reply-To: References: <20080215162004.5BD6E489B97@mail.runrev.com> Message-ID: <1648903208-1203113628-cardhu_decombobulator_blackberry.rim.net-1476232861-@bxe001.bisx.prod.on.blackberry> http://gizmodo.com/gadgets/iphone/iphone-adobe-flash-support-coming-275317.php Scott Rossi Creative Director Tactile Media, Multimedia & Design -----Original Message----- From: Terry Judd Date: Sat, 16 Feb 2008 08:41:14 To:use-revolution at lists.runrev.com Subject: Re: AW: AW: Flash or Quicktime? > Another issue you may wish to consider, is how powerful a machine the > playback will be on. A recent cient of ours had to forgo the Flash > solution in favor of QT because Flash is considerably more processor > intensive than QT...by a lot. This is apparently one of the reasons the iPhone doesn't support Flash. Terry... _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From coiin at rcn.com Fri Feb 15 17:16:15 2008 From: coiin at rcn.com (Colin Holgate) Date: Fri, 15 Feb 2008 17:16:15 -0500 Subject: Flash or Quicktime? In-Reply-To: <47B60D4E.4040208@fourthworld.com> References: <47B60D4E.4040208@fourthworld.com> Message-ID: At 2:08 PM -0800 2/15/08, Richard Gaskin wrote: >But I don't believe there's a one-size-fits-all solution to video >playback at this time. I can agree with this, but would argue to have QuickTime and WMV versions, and not require Mac users to have to adapt to WMV. The Flash option does have the advantage of being cross platform, but it sounds like in Revolution it would be a browser element hack. Making Flash be native would be a good idea, then you can play Flash video on all machines, even the ones that don't have QuickTime, WMV, or Flash installed. From sadhu at castandcrew.com Fri Feb 15 17:55:52 2008 From: sadhu at castandcrew.com (Sadhunathan Nadesan) Date: Fri, 15 Feb 2008 14:55:52 -0800 Subject: Cgi and Database (stick to standards) Message-ID: <200802152255.m1FMtqd9010681@sddev.castandcrew.com> FYI PostgreSQL is free. Sadhu >............ >From: Hershel Fisch >Subject: Re: Cgi and Database (stick to standards) >To: How to use Revolution > >> > Bernard Devlin wrote: >>> >> I'm not sure what kind of database requirements you have. >SQL rdbms, and I was thinking to use "sqLITE" because its fast even with >big bases and most hosting sites use mySql which slows down as the database >grows. I wanted to use PostgreSQL but I don?t find any body with it for a >decent price >>> >> From ambassador at fourthworld.com Fri Feb 15 18:00:51 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 15 Feb 2008 15:00:51 -0800 Subject: Flash or Quicktime? Message-ID: <47B619A3.2010007@fourthworld.com> Colin Holgate wrote: > At 2:08 PM -0800 2/15/08, Richard Gaskin wrote: >>But I don't believe there's a one-size-fits-all solution to video >>playback at this time. > > I can agree with this, but would argue to have QuickTime and WMV > versions, and not require Mac users to have to adapt to WMV. Good for many apps, but in our case the CD is currently loaded with 700MB of movies and data. Replicating the content into two different formats isn't an option, and maintaining two sets of platform-specific CDs would raise our inventory management costs. > The Flash option does have the advantage of being cross platform, > but it sounds like in Revolution it would be a browser element hack. > Making Flash be native would be a good idea, then you can play Flash > video on all machines, even the ones that don't have QuickTime, WMV, > or Flash installed. Or take it one step further: can we simply have one non-proprietary format that can run everywhere? What was the Motion Picture Group supposed to be working on? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From coiin at rcn.com Fri Feb 15 18:04:05 2008 From: coiin at rcn.com (Colin Holgate) Date: Fri, 15 Feb 2008 18:04:05 -0500 Subject: Flash or Quicktime? In-Reply-To: <47B619A3.2010007@fourthworld.com> References: <47B619A3.2010007@fourthworld.com> Message-ID: At 3:00 PM -0800 2/15/08, Richard Gaskin wrote: >What was the Motion Picture Group supposed to be working on? That would be H264, which is where we started the conversation. From ambassador at fourthworld.com Fri Feb 15 18:15:44 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 15 Feb 2008 15:15:44 -0800 Subject: Flash or Quicktime? Message-ID: <47B61D20.60208@fourthworld.com> Colin Holgate wrote: > At 3:00 PM -0800 2/15/08, Richard Gaskin wrote: >>What was the Motion Picture Group supposed to be working on? > > That would be H264, which is where we started the conversation. Right. I guess the nice thing about working at MPG is that they buy nice computers. ;) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From chipp at chipp.com Fri Feb 15 19:22:08 2008 From: chipp at chipp.com (Chipp Walters) Date: Fri, 15 Feb 2008 18:22:08 -0600 Subject: Flash or Quicktime? In-Reply-To: References: <47B619A3.2010007@fourthworld.com> Message-ID: <7aa52a210802151622s127ab01fx3fef08c8ea77059a@mail.gmail.com> On Fri, Feb 15, 2008 at 5:04 PM, Colin Holgate wrote: > > > That would be H264, which is where we started the conversation. Which still doesn't answer the Flash vs QT vs WMV issue. Not to mention one needs a serious processor indeed to be able to run H264. For someone concerned about enabling a Mac user 14 revs off the OS, you may have successfully shot yourself in the foot here. I mean if they're still using a non-updated version of Panther, then what sort of hardware would they be using, and what makes you think they will keep QT updated when they don't update their OS? Oh yeah...Because it's free? Well then, so it the 10.3.9 update as well, which will run WMVs. Let's see, with the Mac marketshare around 5%, and assuming the old non-updated Panther users are 2% of that...what're we talking about? 37 users? ;-) From luis at anachreon.co.uk Fri Feb 15 19:58:41 2008 From: luis at anachreon.co.uk (Luis) Date: Sat, 16 Feb 2008 00:58:41 +0000 Subject: AW: Flash or Quicktime? In-Reply-To: <001701c86ff0$878c9270$18b2a8c0@TiemoPC2> References: <001701c86ff0$878c9270$18b2a8c0@TiemoPC2> Message-ID: <47B63541.4040609@anachreon.co.uk> If you want to stick to a 'movie' format: You could package up the Theora codecs with your installer (for each OS) but you'd have to re-encode them for Theora (there's plenty of free apps that will do this). Theora may be 'new/beta'ish' but has been in solid use in some large projects for a couple of years. This will then get QT or WMP and the default Linux player to play the movies, and you'd still have Rev control over them (via QT and WMP in their respective 'native' platforms). I'm concerned with QT installs on Windows, principally due to Windows Updates breaking QT, which then needs to be patched up with its own updates. Flip4Mac is a possible alternative install for OS X, but I've found performance drops severely with two or more simultaneous wmv files playing, something I don't notice with QT on OS X, even with ten mov files on the go. Cheers, Luis. Tiemo Hollmann TB wrote: > Thank you for your points, Stephen > Tiemo > >> -----Urspr?ngliche Nachricht----- >> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >> bounces at lists.runrev.com] Im Auftrag von Stephen Barncard >> Gesendet: Freitag, 15. Februar 2008 17:22 >> An: How to use Revolution >> Betreff: Re: Flash or Quicktime? >> >> And another thing to think about: Flash, Real, DIVX, whatever, >> eventually will complain if the user's system needs an update on the >> web, and they'll have to download and install something sooner or >> later. Example: I just installed Leopard 10.5.2, that masssive thing >> just released by Apple, yet going to a particular site, I got the >> message to update to the 'latest' version of Flash. I don't think >> one can always reliably count on the OS to provide these tweezy >> add-ons without upgrades. People who regularly use video on the web >> are used to this. >> >> Remember all the garbage one had to do to get CNN streaming to work >> when they started their new free service? It requres Java, FLASH >> AND Microsoft Media Player and at one point required one to tweak >> quicktime's plist to get it to work. I'm sure the difficulty in >> use was due partly to the house of cards lashing of these >> technologies -- all to force the user to use their stupid imbedded >> player (and keep them from viewing full screen or open multiple >> windows (which one could do before with quicktime/wmv paid >> 'Pipeline'.) >> >> Native, pure quicktime works really well by itself in its native formats. >> >> It's true; Iphones and I pods are expanding the PC use of Quicktime >> to the point where users accept it as much or more than any other >> media add-on, such as DIVX. >> >> Quicktime has been around since the late 80's, concurrent with the >> introduction of CD-Roms. It's the oldest, most mature computer media >> technology that's around, with almost 20 years of development behind >> it. >> >> Besides, using Quicktime will allow you take advantage of Trevor's >> excellent and cross-platform Quicktime library! >> >> http://www.bluemangolearning.com/developer/revolution/enhancedqt.php >> >> >> >> >>> You could make them as H264 based movies (with AAC sound), either >>> .MOV or .MP4. Both would play fine via QuickTime, and both can play >>> in the current Flash player. You could build it now as QuickTime >>> only, and then change your mind later if you were still worried >>> about people installing QuickTime. >>> >>> You know that all people who use iPhones or iPods with their PCs do >>> have QuickTime installed? Even those with just iTunes do, so the >>> number of people with QuickTime installed is higher than you might >>> think. Also, you can include the QuickTime installer on your DVD-ROM. >> -- >> >> >> stephen barncard >> s a n f r a n c i s c o >> - - - - - - - - - - - - >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From coiin at rcn.com Fri Feb 15 20:00:03 2008 From: coiin at rcn.com (Colin Holgate) Date: Fri, 15 Feb 2008 20:00:03 -0500 Subject: Flash or Quicktime? In-Reply-To: <7aa52a210802151622s127ab01fx3fef08c8ea77059a@mail.gmail.com> References: <47B619A3.2010007@fourthworld.com> <7aa52a210802151622s127ab01fx3fef08c8ea77059a@mail.gmail.com> Message-ID: <0412F543-B66B-48CD-9835-B70E8D11D7EF@rcn.com> On Feb 15, 2008, at 7:22 PM, Chipp Walters wrote: > For someone concerned about enabling a Mac user 14 revs off the OS, > you may have successfully shot yourself in the foot here To be fair, it was an unlucky ricochet off of Richard forehead. I would argue though that if current machines can play full frame rate HD resolution, high data rate H264, most machines could cope with lower data rate 384x288 movies. But it is something that should be tested to make sure. From jeff at siphonophore.com Fri Feb 15 20:34:51 2008 From: jeff at siphonophore.com (Jeff Reynolds) Date: Fri, 15 Feb 2008 20:34:51 -0500 Subject: Flash or Quicktime? In-Reply-To: <20080216010014.743404893D9@mail.runrev.com> References: <20080216010014.743404893D9@mail.runrev.com> Message-ID: <4838F96E-A3C7-48EB-A4AE-9419ECE669C9@siphonophore.com> except making a nicely compressed and good quality wmv file is pretty much an oxymoron... my old compression guru (been in the biz forever and a real artist) still snarls at me when i request wmv files... they never come out as nice or as small and the clients always ask why it doesnt look as good or play as well as the quicktime version... unless you are doing HD H264, smaller h264 movies for cdroms and stuff play fine on older machines. an odd aside, been finding lost of corp IT groups stripping flash player and plugin out of corp machines to stop video playing through browsers (too much executive youtubing at lunch)! some of these were fortune 500 companies! had to resort to wmv to get something to those folks as they left the wmp on the machines. guess they figured only the porn stuff would use the wmv files... cheers, jeff On Feb 15, 2008, at 8:00 PM, use-revolution-request at lists.runrev.com wrote: > All that said, I don't know that there's a single the best choice; it > really depends on the specific needs of the application and its target > audience. For many consumer apps using QT is just fine, and offers a > lot of flexibility for the developer with little coding. From chipp at chipp.com Fri Feb 15 20:46:57 2008 From: chipp at chipp.com (Chipp Walters) Date: Fri, 15 Feb 2008 19:46:57 -0600 Subject: Flash or Quicktime? In-Reply-To: <4838F96E-A3C7-48EB-A4AE-9419ECE669C9@siphonophore.com> References: <20080216010014.743404893D9@mail.runrev.com> <4838F96E-A3C7-48EB-A4AE-9419ECE669C9@siphonophore.com> Message-ID: <7aa52a210802151746m1877708elcacc4f6383d45586@mail.gmail.com> On Fri, Feb 15, 2008 at 7:34 PM, Jeff Reynolds wrote: > except making a nicely compressed and good quality wmv file is pretty > much an oxymoron... my old compression guru (been in the biz forever > and a real artist) still snarls at me when i request wmv files... they > never come out as nice or as small and the clients always ask why it > doesnt look as good or play as well as the quicktime version... Can't argue with that-- though with the crappy standard set by the YouTube folks, one would have to say there's not much appreciation for high quality compression these days. Frankly, after *trying* to watch TV on the web, I'll take poor compression over the hiccups, stop and starts, and overall lack-of-robustness of the higher online compressed video anyday. Though one to look out for is blip.tv. These guys have better compression than the YouTube and it's clones. Course, QuickTime has it all over WMV's as far as playback control is concerned. Try advancing 'just one frame' using the standard WMP controls. From coiin at rcn.com Fri Feb 15 20:47:11 2008 From: coiin at rcn.com (Colin Holgate) Date: Fri, 15 Feb 2008 20:47:11 -0500 Subject: Flash or Quicktime? In-Reply-To: <4838F96E-A3C7-48EB-A4AE-9419ECE669C9@siphonophore.com> References: <20080216010014.743404893D9@mail.runrev.com> <4838F96E-A3C7-48EB-A4AE-9419ECE669C9@siphonophore.com> Message-ID: <27784E3D-A312-46B5-B1F2-D84CA967DAB3@rcn.com> On Feb 15, 2008, at 8:34 PM, Jeff Reynolds wrote: > except making a nicely compressed and good quality wmv file is > pretty much an oxymoron To be fair, WMV9, On2VP6, and H264 are all comparable for quality, data rate, and CPU requirements. From tsj at unimelb.edu.au Fri Feb 15 21:12:19 2008 From: tsj at unimelb.edu.au (Terry Judd) Date: Sat, 16 Feb 2008 13:12:19 +1100 Subject: AW: AW: Flash or Quicktime? In-Reply-To: <20080216010013.D1203489058@mail.runrev.com> Message-ID: > From: Scott Rossi > Subject: Re: AW: AW: Flash or Quicktime? > > http://gizmodo.com/gadgets/iphone/iphone-adobe-flash-support-coming-275317.php More opinion... http://daringfireball.net/2008/02/news_flash_no_flash http://daringfireball.net/2008/02/flash_iphone_calculus Terry... From williamdesmet at gmail.com Sat Feb 16 04:00:47 2008 From: williamdesmet at gmail.com (William de Smet) Date: Sat, 16 Feb 2008 10:00:47 +0100 Subject: Any sugguestions on movable clock arms? Message-ID: Hi there, It's been a while but still enjoying RR in my sparetime ;-) A collegue of mine asked me if I could make an instruction clock with movable arms. He wants to us it with his Smartboard in his classroom to teach clocktimes. I think I know how to drag an image but in a circle is not easy? Then there is the issue of two clock arms and of course the middle of the clock should stay fixed. Can anyone give me a clue where and how to start? Thanks. Greetings from a cold but sunny Holland. William de Smet From sarah.reichelt at gmail.com Sat Feb 16 04:19:37 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 16 Feb 2008 19:19:37 +1000 Subject: Any sugguestions on movable clock arms? In-Reply-To: References: Message-ID: > It's been a while but still enjoying RR in my sparetime ;-) > A collegue of mine asked me if I could make an instruction clock with > movable arms. > He wants to us it with his Smartboard in his classroom to teach clocktimes. > > I think I know how to drag an image but in a circle is not easy? > Then there is the issue of two clock arms and of course the middle of > the clock should stay fixed. > > Can anyone give me a clue where and how to start? This discussion might give you some ideas It shows vaious ways to display a clock with moving hands, but I expect you could alter it to allow the hands to be dragged. Cheers, Sarah From williamdesmet at gmail.com Sat Feb 16 04:32:03 2008 From: williamdesmet at gmail.com (William de Smet) Date: Sat, 16 Feb 2008 10:32:03 +0100 Subject: Any sugguestions on movable clock arms? In-Reply-To: References: Message-ID: Thanks Sarah, Your suggestions looks like a working clock. Maybe I should have been more specific. My idea about it is hat I just draw a cirkel which suggests the clock. I just want to show two clock hands which he can move clockwise so his pupils can tell time. I am looking for some scripting suggestions on how to move images in a circle. greetings, Wiliam 2008/2/16, Sarah Reichelt : > > It's been a while but still enjoying RR in my sparetime ;-) > > A collegue of mine asked me if I could make an instruction clock with > > movable arms. > > He wants to us it with his Smartboard in his classroom to teach clocktimes. > > > > I think I know how to drag an image but in a circle is not easy? > > Then there is the issue of two clock arms and of course the middle of > > the clock should stay fixed. > > > > Can anyone give me a clue where and how to start? > > > This discussion might give you some ideas > > It shows vaious ways to display a clock with moving hands, but I > expect you could alter it to allow the hands to be dragged. > > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From viktoras at ekoinf.net Sat Feb 16 04:52:59 2008 From: viktoras at ekoinf.net (viktoras didziulis) Date: Sat, 16 Feb 2008 11:52:59 +0200 Subject: Cgi and Database (stick to standards) In-Reply-To: <200802152255.m1FMtqd9010681@sddev.castandcrew.com> References: <200802152255.m1FMtqd9010681@sddev.castandcrew.com> Message-ID: <47B6B27B.8070809@ekoinf.net> from my experience mysql is faster than sqlite in joins, unless you manually optimise your sql queries for sqlite ;-), in most cases using subqueries. Plus mysql is multiuser and omnipresent, which matters... To make sqlite multiuser you will have to implement your own database locking mechanism, or use tools that have it already implemented (like modsqlite for apache). Possibly valentina db is one of the best choices (and I am waiting for my valentine days license to test it without limitations :-) ), but if you buy hosting services, then I guess you are limited to mysql, sqlite and sometimes postrgresql (which people say is slower than mysql...). Viktoras Sadhunathan Nadesan wrote: > FYI > > PostgreSQL is free. > > Sadhu > > > > >> ............ >> From: Hershel Fisch >> Subject: Re: Cgi and Database (stick to standards) >> To: How to use Revolution >> >> >>>> Bernard Devlin wrote: >>>> >>>>>> I'm not sure what kind of database requirements you have. >>>>>> >> SQL rdbms, and I was thinking to use "sqLITE" because its fast even with >> big bases and most hosting sites use mySql which slows down as the database >> grows. I wanted to use PostgreSQL but I don?t find any body with it for a >> decent price >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From JimAultWins at yahoo.com Sat Feb 16 05:05:18 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 16 Feb 2008 02:05:18 -0800 Subject: Any sugguestions on movable clock arms? In-Reply-To: Message-ID: I would start with ballClock.rev by Scott Rossie (try to ignore the beauty and get to the math) You will see the use of points on a hidden object then TNT.rev also by Scott Rossi this stack show the application of rotation And you might like the drag-duplicate-snapshot technique Chipp Walters used in getInline.rev then I would suggest you think of an image that is twice the length of the visible clock hand so that rotation about the center would be the same as the center of the clock. This could be a group[visible hand, invisible hand] with the group center in the middle of the clock. The 'getinline' snapshot technique could allow the visual feedback of a cursor indicating the destination time if the user was to release the mouse. To get these stacks, open Rev, go to Documentation, click Search, then click the center icon in the header of the window, select Web Database from the drop down menu then type "getinline" = the link to Chipp's web site "ball clock" = the link to Scott's web site "TNT" = the link to Scott's web site Sounds like fun. Jim Ault Las Vegas On 2/16/08 1:32 AM, "William de Smet" wrote: > Thanks Sarah, > > Your suggestions looks like a working clock. > Maybe I should have been more specific. > My idea about it is hat I just draw a cirkel which suggests the clock. > I just want to show two clock hands which he can move clockwise so his > pupils can tell time. > I am looking for some scripting suggestions on how to move images in a circle. > > greetings, > > Wiliam > > 2008/2/16, Sarah Reichelt : >>> It's been a while but still enjoying RR in my sparetime ;-) >>> A collegue of mine asked me if I could make an instruction clock with >>> movable arms. >>> He wants to us it with his Smartboard in his classroom to teach clocktimes. >>> >>> I think I know how to drag an image but in a circle is not easy? >>> Then there is the issue of two clock arms and of course the middle of >>> the clock should stay fixed. >>> >>> Can anyone give me a clue where and how to start? >> >> >> This discussion might give you some ideas >> >> It shows vaious ways to display a clock with moving hands, but I >> expect you could alter it to allow the hands to be dragged. >> >> >> Cheers, >> Sarah >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From williamdesmet at gmail.com Sat Feb 16 05:10:51 2008 From: williamdesmet at gmail.com (William de Smet) Date: Sat, 16 Feb 2008 11:10:51 +0100 Subject: Any sugguestions on movable clock arms? In-Reply-To: References: Message-ID: Wow, thanks Jim! I will get to that later today/tonight probably. greetings, William 2008/2/16, Jim Ault : > I would start with > ballClock.rev by Scott Rossie > (try to ignore the beauty and get to the math) > You will see the use of points on a hidden object > > then > TNT.rev also by Scott Rossi > this stack show the application of rotation > > And you might like the drag-duplicate-snapshot technique > Chipp Walters used in > > getInline.rev > > then I would suggest you think of an image that is twice the length of the > visible clock hand so that rotation about the center would be the same as > the center of the clock. This could be a group[visible hand, invisible > hand] with the group center in the middle of the clock. > > The 'getinline' snapshot technique could allow the visual feedback of a > cursor indicating the destination time if the user was to release the mouse. > > To get these stacks, open Rev, go to Documentation, click Search, then click > the center icon in the header of the window, select Web Database from the > drop down menu then type > "getinline" = the link to Chipp's web site > "ball clock" = the link to Scott's web site > "TNT" = the link to Scott's web site > > Sounds like fun. > > Jim Ault > Las Vegas > > > > On 2/16/08 1:32 AM, "William de Smet" wrote: > > > Thanks Sarah, > > > > Your suggestions looks like a working clock. > > Maybe I should have been more specific. > > My idea about it is hat I just draw a cirkel which suggests the clock. > > I just want to show two clock hands which he can move clockwise so his > > pupils can tell time. > > I am looking for some scripting suggestions on how to move images in a circle. > > > > greetings, > > > > Wiliam > > > > 2008/2/16, Sarah Reichelt : > >>> It's been a while but still enjoying RR in my sparetime ;-) > >>> A collegue of mine asked me if I could make an instruction clock with > >>> movable arms. > >>> He wants to us it with his Smartboard in his classroom to teach clocktimes. > >>> > >>> I think I know how to drag an image but in a circle is not easy? > >>> Then there is the issue of two clock arms and of course the middle of > >>> the clock should stay fixed. > >>> > >>> Can anyone give me a clue where and how to start? > >> > >> > >> This discussion might give you some ideas > >> > >> It shows vaious ways to display a clock with moving hands, but I > >> expect you could alter it to allow the hands to be dragged. > >> > >> > >> Cheers, > >> Sarah > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your subscription > >> preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rmicout at online.fr Sat Feb 16 06:14:47 2008 From: rmicout at online.fr (=?ISO-8859-1?Q?Ren=E9_Micout?=) Date: Sat, 16 Feb 2008 12:14:47 +0100 Subject: Shakobox/PlayCommand Open Source In-Reply-To: <47B5FD70.2000107@hyperactivesw.com> References: <47B5FD70.2000107@hyperactivesw.com> Message-ID: Some pr?cisions about that. With this handler : on mouseUp repeat for 300 SBstartNote 1,60,80 -- 1 = piano, 60 = C wait 10 ticks SBstopNote 1,60 end repeat end mouseUp all is good. But with this other one : on mouseUp repeat for 300 SBstartNote 1,60,80 end repeat end mouseUp we can't heard more than 256 sounds. Ren? from Paris Le 15 f?vr. 08 ? 22:00, J. Landman Gay a ?crit : > Some of you may know that my site has been the distribution point > for the Shakobox PlayCommand Agent, written by Jonathan Bettencourt > some years ago. This software allows Revolution to emulate the > HyperCard "play" command on both Windows and Mac. HyperCard's > "play" command is able to use scripted musical notation to play > back songs on the fly. The PlayCommand Agent uses QuickTime to > simulate what HyperCard could do natively. > > Recently it was reported that the PlayCommand Agent does not work > when more than 256 notes were scripted. Jon is no longer supporting > the software, but given the recent problem, he has released the > code as open source. > > The info he posted to the HyperCard mailing list is below, and > includes a link to the source code. I think it would be wonderful > if someone would turn this into a Revolution external. I know that > many people use PlayCommand Agent and would appreciate a more > consolidated solution than the current one, which requires external > files on disk and a few extra steps to get it working. > > If anyone would like to take a stab at this, please let me know. > I'd be happy to continue distributing updates; I think it would be > a good idea to keep any new versions in a central location. Also, > it has always been a free offering and we would like to keep it > that way. > > Jacque > > -------- Original Message -------- > > I've decided to release the source code for the PlayCommand Agent > program that made playing HyperTalk note syntax using QuickTime > possible. It's available to download here: > > http://www.kreativekorp.com/swdownload/legacy/hypercard/PlayCmdSrc.zip > > If someone has experience with a) RealBasic, b) a *real* language, and > c) the QuickTime API, then please be my guest to port it, make it an > XCMD, etc. :) > > You may distribute this message however you want. Post it on the Rev > list, for example. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > From eric.chatonet at sosmartsoftware.com Sat Feb 16 07:21:19 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 16 Feb 2008 13:21:19 +0100 Subject: Shakobox/PlayCommand Open Source In-Reply-To: References: <47B5FD70.2000107@hyperactivesw.com> Message-ID: <69D181DD-C660-40D7-83C8-77ADCE17793C@sosmartsoftware.com> Bonjour Ren?, I think that the problem comes from the fact that sounds actually may overlap in your second proposal. Add a 'wait until the sound is "done" instead of a fixed value (10 ms) in your first proposal and all should be fine in all cases. Le 16 f?vr. 08 ? 12:14, Ren? Micout a ?crit : > Some pr?cisions about that. With this handler : > > on mouseUp > repeat for 300 > SBstartNote 1,60,80 -- 1 = piano, 60 = C > wait 10 ticks > SBstopNote 1,60 > end repeat > end mouseUp > > all is good. But with this other one : > > on mouseUp > repeat for 300 > SBstartNote 1,60,80 > end repeat > end mouseUp > > we can't heard more than 256 sounds. > > Ren? from Paris > > Le 15 f?vr. 08 ? 22:00, J. Landman Gay a ?crit : > >> Some of you may know that my site has been the distribution point >> for the Shakobox PlayCommand Agent, written by Jonathan >> Bettencourt some years ago. This software allows Revolution to >> emulate the HyperCard "play" command on both Windows and Mac. >> HyperCard's "play" command is able to use scripted musical >> notation to play back songs on the fly. The PlayCommand Agent uses >> QuickTime to simulate what HyperCard could do natively. >> >> Recently it was reported that the PlayCommand Agent does not work >> when more than 256 notes were scripted. Jon is no longer >> supporting the software, but given the recent problem, he has >> released the code as open source. >> >> The info he posted to the HyperCard mailing list is below, and >> includes a link to the source code. I think it would be wonderful >> if someone would turn this into a Revolution external. I know that >> many people use PlayCommand Agent and would appreciate a more >> consolidated solution than the current one, which requires >> external files on disk and a few extra steps to get it working. >> >> If anyone would like to take a stab at this, please let me know. >> I'd be happy to continue distributing updates; I think it would be >> a good idea to keep any new versions in a central location. Also, >> it has always been a free offering and we would like to keep it >> that way. >> >> Jacque >> >> -------- Original Message -------- >> >> I've decided to release the source code for the PlayCommand Agent >> program that made playing HyperTalk note syntax using QuickTime >> possible. It's available to download here: >> >> http://www.kreativekorp.com/swdownload/legacy/hypercard/ >> PlayCmdSrc.zip >> >> If someone has experience with a) RealBasic, b) a *real* language, >> and >> c) the QuickTime API, then please be my guest to port it, make it an >> XCMD, etc. :) >> >> You may distribute this message however you want. Post it on the Rev >> list, for example. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From rmicout at online.fr Sat Feb 16 08:03:58 2008 From: rmicout at online.fr (=?ISO-8859-1?Q?Ren=E9_Micout?=) Date: Sat, 16 Feb 2008 14:03:58 +0100 Subject: Shakobox/PlayCommand Open Source In-Reply-To: <69D181DD-C660-40D7-83C8-77ADCE17793C@sosmartsoftware.com> References: <47B5FD70.2000107@hyperactivesw.com> <69D181DD-C660-40D7-83C8-77ADCE17793C@sosmartsoftware.com> Message-ID: ?ric, Thank you for that, and also for "Guides Picker" (on ne le dira jamais assez !) et merci pour "Tout pour HyperCard" Ren? Le 16 f?vr. 08 ? 13:21, Eric Chatonet a ?crit : > Bonjour Ren?, > > I think that the problem comes from the fact that sounds actually > may overlap in your second proposal. > Add a 'wait until the sound is "done" instead of a fixed value (10 > ms) in your first proposal and all should be fine in all cases. > > Le 16 f?vr. 08 ? 12:14, Ren? Micout a ?crit : > >> Some pr?cisions about that. With this handler : >> >> on mouseUp >> repeat for 300 >> SBstartNote 1,60,80 -- 1 = piano, 60 = C >> wait 10 ticks >> SBstopNote 1,60 >> end repeat >> end mouseUp >> >> all is good. But with this other one : >> >> on mouseUp >> repeat for 300 >> SBstartNote 1,60,80 >> end repeat >> end mouseUp >> >> we can't heard more than 256 sounds. >> >> Ren? from Paris >> >> Le 15 f?vr. 08 ? 22:00, J. Landman Gay a ?crit : >> >>> Some of you may know that my site has been the distribution point >>> for the Shakobox PlayCommand Agent, written by Jonathan >>> Bettencourt some years ago. This software allows Revolution to >>> emulate the HyperCard "play" command on both Windows and Mac. >>> HyperCard's "play" command is able to use scripted musical >>> notation to play back songs on the fly. The PlayCommand Agent >>> uses QuickTime to simulate what HyperCard could do natively. >>> >>> Recently it was reported that the PlayCommand Agent does not work >>> when more than 256 notes were scripted. Jon is no longer >>> supporting the software, but given the recent problem, he has >>> released the code as open source. >>> >>> The info he posted to the HyperCard mailing list is below, and >>> includes a link to the source code. I think it would be wonderful >>> if someone would turn this into a Revolution external. I know >>> that many people use PlayCommand Agent and would appreciate a >>> more consolidated solution than the current one, which requires >>> external files on disk and a few extra steps to get it working. >>> >>> If anyone would like to take a stab at this, please let me know. >>> I'd be happy to continue distributing updates; I think it would >>> be a good idea to keep any new versions in a central location. >>> Also, it has always been a free offering and we would like to >>> keep it that way. >>> >>> Jacque >>> >>> -------- Original Message -------- >>> >>> I've decided to release the source code for the PlayCommand Agent >>> program that made playing HyperTalk note syntax using QuickTime >>> possible. It's available to download here: >>> >>> http://www.kreativekorp.com/swdownload/legacy/hypercard/ >>> PlayCmdSrc.zip >>> >>> If someone has experience with a) RealBasic, b) a *real* >>> language, and >>> c) the QuickTime API, then please be my guest to port it, make it an >>> XCMD, etc. :) >>> >>> You may distribute this message however you want. Post it on the Rev >>> list, for example. >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com > > Best regards from Paris, > Eric Chatonet. > ---------------------------------------------------------------- > Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ > Email: eric.chatonet at sosmartsoftware.com/ > ---------------------------------------------------------------- > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From toolbook at kestner.de Sat Feb 16 08:20:06 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Sat, 16 Feb 2008 14:20:06 +0100 Subject: AW: Flash or Quicktime? In-Reply-To: Message-ID: <001701c8709e$a65a0440$18b2a8c0@TiemoPC2> I am still a little bit puzzled with the technical background of H264. The QT7 player should support H264, but do I need a separate H264 codec installer to encode? It seems there are different suppliers for this codec? Which one is the best and where do I get it from? Can I use it in Sorenson squeeze or discreet cleaner XL? Up to now, my squeeze just offers me H261 and H263 to encode MOVs and my cleaner has the H264 option to encode MOVs, but stops working when choosing. So I think I have to install the H264 codec, but which one? Questions, questions, questions :) Thanks for any help Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Colin Holgate > Gesendet: Samstag, 16. Februar 2008 00:04 > An: How to use Revolution > Betreff: Re: Flash or Quicktime? > > At 3:00 PM -0800 2/15/08, Richard Gaskin wrote: > >What was the Motion Picture Group supposed to be working on? > > That would be H264, which is where we started the conversation. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sims at ezpzapps.com Sat Feb 16 08:56:21 2008 From: sims at ezpzapps.com (Jim Sims) Date: Sat, 16 Feb 2008 14:56:21 +0100 Subject: Flash or Quicktime? In-Reply-To: <47B60D4E.4040208@fourthworld.com> References: <47B60D4E.4040208@fourthworld.com> Message-ID: <9EF5C284-C28A-454B-B5A6-DACB57406EEC@ezpzapps.com> On Feb 15, 2008, at 11:08 PM, Richard Gaskin wrote: > How much effort is it to use any of the dozens of automated > conversion tools for making WMVs? If we used Flash or any other > format we'd still need a converter for the output; seems like a > wash to me. With Desk Doctor (www.einspine.com) the neurologist I worked with converted the H264 files to WMV files using flip4mac. I think it might be called 'Compressor'. Over 100 videos, nothing very long , with backgrounds added by using blue screen. We went with WMV for Windows and H264 for OS X. Makes for more work in the long run but each project requires individual approaches. Richard's most excellent medical app seems to have stringent admin requirements so his approach (WMVs & flip4mac) makes lots of sense to me. My problem has been that Rev 8.1 doesn't seem to like WMVs so the app is STUCK at Rev 2.6. Rev 2.9 FIXES the playing of WMV via player objects. I HOPE 2.9 ARRIVES SOON ;-) sims ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ClipaSearch Pro http://www.ClipaTools.com Across Platforms - Code and Culture http://www.ezpzapps.com/blog/ From sunshine at public.kherson.ua Sat Feb 16 09:20:04 2008 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat, 16 Feb 2008 16:20:04 +0200 Subject: Cgi and Database (stick to standards) In-Reply-To: <47B6B27B.8070809@ekoinf.net> Message-ID: On 16/2/08 11:52 AM, "viktoras didziulis" wrote: Hi Victoras, > from my experience mysql is faster than sqlite in joins, unless you > manually optimise your sql queries for sqlite ;-), in most cases using > subqueries. I am ready to see example :-) If you want on Valentina list. > Plus mysql is multiuser and omnipresent, which matters... right > To make sqlite multiuser you will have to implement your own database > locking mechanism, or use tools that have it already implemented (like > modsqlite for apache). > Possibly valentina db is one of the best choices > (and I am waiting for my valentine days license to test it without > limitations :-) ), but if you buy hosting services, then I guess you are > limited to mysql, sqlite and sometimes postrgresql (which people say is > slower than mysql...). That is right, It seems that all depend on users tasks. I did have feedbacks from Valentina developers that yes Postgre comparing to mySQL is much slow (in times). But not so far I have hear opinion that Postgre (latest?) did win mySQL on joins. So keep always in mind that DB tasks can be VERY different. For some tasks one dbms can be better, for other tasks another. It is good, as army soldier, to have skills with few kinds of weapon :-) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From coiin at rcn.com Sat Feb 16 09:42:51 2008 From: coiin at rcn.com (Colin Holgate) Date: Sat, 16 Feb 2008 09:42:51 -0500 Subject: AW: Flash or Quicktime? In-Reply-To: <001701c8709e$a65a0440$18b2a8c0@TiemoPC2> References: <001701c8709e$a65a0440$18b2a8c0@TiemoPC2> Message-ID: <045F37CA-DF55-49CD-8182-3C36B97CD4D5@rcn.com> On Feb 16, 2008, at 8:20 AM, Tiemo Hollmann TB wrote: > I am still a little bit puzzled with the technical background of H264. > The QT7 player should support H264, but do I need a separate H264 > codec > installer to encode? To export out of QuickTime Player at all you would need to have paid for QuickTime Pro, or be using a program that had a QuickTime export option (iMovie for example). H264 became an option when QuickTime 7 came out, you wouldn't have to install anything extra to get it to work. Your Sorenson Squeeze may have been an earlier version, or it may be because H264 is competition to the Sorenson codecs and it's not featured because of that. I have version 4.5 on my machine, and it does do H264. The batch program someone mentioned was called Compression Master. It's an alternative to Sorenson Squeeze, and is able to export to Flash 8 video (that's the On2VP6 one, if you have paid for the extra Flash module), WMV, any QuickTime format, and others. It had a name change a while ago and is now known as Episode. It's not cheap though. If you just want to batch compress to WMV there are cheaper options. From toolbook at kestner.de Sat Feb 16 10:05:42 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Sat, 16 Feb 2008 16:05:42 +0100 Subject: AW: AW: Flash or Quicktime? In-Reply-To: <045F37CA-DF55-49CD-8182-3C36B97CD4D5@rcn.com> Message-ID: <002001c870ad$66982800$18b2a8c0@TiemoPC2> Thanks for clarifying it, I have to investigate, why it's not working with my compression tools (also squeeze 4.5) Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Colin Holgate > Gesendet: Samstag, 16. Februar 2008 15:43 > An: How to use Revolution > Betreff: Re: AW: Flash or Quicktime? > > > On Feb 16, 2008, at 8:20 AM, Tiemo Hollmann TB wrote: > > > I am still a little bit puzzled with the technical background of H264. > > The QT7 player should support H264, but do I need a separate H264 > > codec > > installer to encode? > > > To export out of QuickTime Player at all you would need to have paid > for QuickTime Pro, or be using a program that had a QuickTime export > option (iMovie for example). H264 became an option when QuickTime 7 > came out, you wouldn't have to install anything extra to get it to work. > > Your Sorenson Squeeze may have been an earlier version, or it may be > because H264 is competition to the Sorenson codecs and it's not > featured because of that. I have version 4.5 on my machine, and it > does do H264. > > The batch program someone mentioned was called Compression Master. > It's an alternative to Sorenson Squeeze, and is able to export to > Flash 8 video (that's the On2VP6 one, if you have paid for the extra > Flash module), WMV, any QuickTime format, and others. It had a name > change a while ago and is now known as Episode. It's not cheap though. > If you just want to batch compress to WMV there are cheaper options. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Sat Feb 16 12:55:14 2008 From: chipp at chipp.com (Chipp Walters) Date: Sat, 16 Feb 2008 11:55:14 -0600 Subject: Any sugguestions on movable clock arms? In-Reply-To: References: Message-ID: <7aa52a210802160955u64a1ce32mfca75bda0afc8e8@mail.gmail.com> Hi Jim, I don't remember getinline, and I can't find it in the web links for Rev help. Do you have more information on it? best, Chipp On Feb 16, 2008 4:05 AM, Jim Ault wrote: > And you might like the drag-duplicate-snapshot technique > Chipp Walters used in > > getInline.rev From jacque at hyperactivesw.com Sat Feb 16 12:59:16 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 16 Feb 2008 11:59:16 -0600 Subject: Shakobox/PlayCommand Open Source In-Reply-To: <69D181DD-C660-40D7-83C8-77ADCE17793C@sosmartsoftware.com> References: <47B5FD70.2000107@hyperactivesw.com> <69D181DD-C660-40D7-83C8-77ADCE17793C@sosmartsoftware.com> Message-ID: <47B72474.6020408@hyperactivesw.com> Eric Chatonet wrote: > Bonjour Ren?, > > I think that the problem comes from the fact that sounds actually may > overlap in your second proposal. > Add a 'wait until the sound is "done" instead of a fixed value (10 ms) > in your first proposal and all should be fine in all cases. I think your diagnosis is correct. The only thing I would add is that "wait until the sound is done" probably won't work, because Rev doesn't know that any sound is playing. The playback is done from the PlayCommand Agent application, which doesn't communicate back to Rev. So, waiting a few ticks is probably the right approach. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From russell_martin at yahoo.com Sat Feb 16 16:04:26 2008 From: russell_martin at yahoo.com (Russell Martin) Date: Sat, 16 Feb 2008 13:04:26 -0800 (PST) Subject: Many Cards vs. Lists vs. XML Message-ID: <306279.7235.qm@web54110.mail.re2.yahoo.com> So, I've been reading up on Rev's XML features and I'm wondering if that isn't a better route to go than using lists? Any thoughts? Also, for those that use lists to store data, how do you handle placing multiline data into your list structure? And, what do you do to deal with data that might contain instances of your delimiter before you place it in your list? Or, is there some perfect delimiter that I just haven't thought of? Thanks in advance for your responses. ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs From JimAultWins at yahoo.com Sat Feb 16 16:16:38 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 16 Feb 2008 13:16:38 -0800 Subject: Any sugguestions on movable clock arms? In-Reply-To: <7aa52a210802160955u64a1ce32mfca75bda0afc8e8@mail.gmail.com> Message-ID: Ooops, I have folders name 'Chipp' and 'Rossie' and got confused about authorship, plus I was misled by entering "getin" for the search > Altuit when I needed to do "get in line" for the search > Tactile Media -------- Get In Line 122k (right/control click to download) A demonstration stack that illustrates: - drag-reordering of lists with translucent effect - line item removal/deletion ------------- Sorry about the misdirection. Jim Ault Las Vegas On 2/16/08 9:55 AM, "Chipp Walters" wrote: > Hi Jim, > > I don't remember getinline, and I can't find it in the web links for > Rev help. Do you have more information on it? > > best, > > Chipp From ambassador at fourthworld.com Sat Feb 16 16:46:12 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 16 Feb 2008 13:46:12 -0800 Subject: Many Cards vs. Lists vs. XML Message-ID: <47B759A4.6090301@fourthworld.com> Russell Martin wrote: > So, I've been reading up on Rev's XML features and I'm wondering if > that isn't a better route to go than using lists? Any thoughts? > > Also, for those that use lists to store data, how do you handle placing > multiline data into your list structure? > > And, what do you do to deal with data that might contain instances of > your delimiter before you place it in your list? Or, is there some > perfect delimiter that I just haven't thought of? The solution will depend on the problem. What do you want to do? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From viktoras at ekoinf.net Sat Feb 16 16:51:54 2008 From: viktoras at ekoinf.net (viktoras didziulis) Date: Sat, 16 Feb 2008 23:51:54 +0200 Subject: Many Cards vs. Lists vs. XML In-Reply-To: <306279.7235.qm@web54110.mail.re2.yahoo.com> References: <306279.7235.qm@web54110.mail.re2.yahoo.com> Message-ID: <47B75AFA.70702@ekoinf.net> working with lists is much much faster. XML is just plain flat text file with more text to process. If you have large and complex dataset with items, children items their relations and properties, then it is more efficient to use relational database for data storage and retrieval... XML suits best to present data stored elsewhere it is rather like "document on steroids" or "interactive document" or "communication/data exchange protocol" that can be formatted, trasformed or scripted itself (e.g. XHTML) to present data in different ways. Although it is fashionable to use XML everywhere, including data storage, i would tolerate it only in those cases where you have relatively small amount of complex data. E.g. like rss feeds that are usually limited to 10-15 items. For large amounts of simple data in form of key-value pairs ordinary list is possibly the best solution. In all other cases use real databases. The perfect delimiter is tab :-). If you use list and data already contains tabs, then before populating the list replace tab with some unlikely combination of symbol(s) like "\t" and replace those back to tab when retrieving data. Same can be done with multiline data - replace return with e.g "\n" for storage and then replace "\n" with return for displaying. If you go with relational databases (sqlite, valentina etc...) there will be no problems because you won't need to deal with any field delimiters then (except those cases where you have to import data from delimited text file). All the best Viktoras Russell Martin wrote: > So, I've been reading up on Rev's XML features and I'm wondering if > that isn't a better route to go than using lists? Any thoughts? > > Also, for those that use lists to store data, how do you handle placing > multiline data into your list structure? > > And, what do you do to deal with data that might contain instances of > your delimiter before you place it in your list? Or, is there some > perfect delimiter that I just haven't thought of? > > Thanks in advance for your responses. > > > ____________________________________________________________________________________ > Never miss a thing. Make Yahoo your home page. > http://www.yahoo.com/r/hs > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From stephenREVOLUTION2 at barncard.com Sat Feb 16 17:00:33 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Sat, 16 Feb 2008 14:00:33 -0800 Subject: Many Cards vs. Lists vs. XML In-Reply-To: <306279.7235.qm@web54110.mail.re2.yahoo.com> References: <306279.7235.qm@web54110.mail.re2.yahoo.com> Message-ID: consider URLEncode/Decode (see the docs) also one can use Base64Encode if one strips out the CRs. The CRs are not needed for decode. also one could consider replacing returns with VT (vertical tabs) 12 dec (I think) >So, I've been reading up on Rev's XML features and I'm wondering if >that isn't a better route to go than using lists? Any thoughts? > >Also, for those that use lists to store data, how do you handle placing >multiline data into your list structure? > >And, what do you do to deal with data that might contain instances of >your delimiter before you place it in your list? Or, is there some >perfect delimiter that I just haven't thought of? > >Thanks in advance for your responses. > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From katir at hindu.org Sat Feb 16 17:26:54 2008 From: katir at hindu.org (Sivakatirswami) Date: Sat, 16 Feb 2008 12:26:54 -1000 Subject: Issuing "sudo" cmds + password from Rev Scripts Message-ID: <47B7632E.6060005@hindu.org> I've been bitten very hard recently with Apple's new quarantine bit set in extended attributes for downloaded files. I used to be able to open 20-40 text files that I might receive from a remote correspondent, in BBedit in one go and spellcheck them rapidly... Now I get the dread "This is a web application downloaded from the internet...." I click "OK" and only the first of the selected files open. It is possible to set up folder actions with apple script to apply: sudo xattr -d com.apple.quarantine /Downloads to all incoming downloads saved that folder. One can also drop into terminal and work on the cmd line... very inefficient.. I would like to make a little Rev utility to run against an existing file set that may have been moved or saved to a different location. How do does one deal, from within a Rev script, with the shell requirement to enter the password before sudo executes? I saw an earlier thread where one might approach this by doing it thru apples script. Does that mean it's not possible with transcript alone? Or perhaps someone knows of such a utility already? I can't find one on the net and people are complaining about this as recently as Jan 20th... It will be a simple matter to set up a drag and drop button that gets a path and runs the cmd against all files in a folder... but I need a way to supply the password... From m.schonewille at economy-x-talk.com Sat Feb 16 17:36:36 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 16 Feb 2008 23:36:36 +0100 Subject: Issuing "sudo" cmds + password from Rev Scripts In-Reply-To: <47B7632E.6060005@hindu.org> References: <47B7632E.6060005@hindu.org> Message-ID: <99E795BD-36BD-43B2-A6FF-CDC9A1E087F0@economy-x-talk.com> Hi Sivakatirswami, A nice way to do this is to use AppleScript: do shell script "a shell command here" with administrator privileges and another way is to pipe the password. Here is an example that empties the trash: on mouseUp ask "Enter your password" if it is not empty then put it into myPW put "#!/bin/sh" & cr into myScript put "pw=" & quote & myPW & quote & cr after myScript put "echo $pw | sudo rm -rf ~/.Trash/*" & cr after myScript put shell(myScript) into myCheck -- do the command & get the result end if end mouseUp Unfortunately, you will have to make a password dialog window to do this correctly. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html Op 16-feb-2008, om 23:26 heeft Sivakatirswami het volgende geschreven: > I've been bitten very hard recently with Apple's new quarantine bit > set in extended attributes for downloaded files. I used to be able > to open 20-40 text files that I might receive from a remote > correspondent, in BBedit in one go and spellcheck them rapidly... > Now I get the dread "This is a web application downloaded from the > internet...." I click "OK" and only the first of the selected > files open. > > It is possible to set up folder actions with apple script to apply: > > sudo xattr -d com.apple.quarantine /Downloads > > to all incoming downloads saved that folder. One can also drop into > terminal and work on the cmd line... very inefficient.. I would > like to make a little Rev utility to run against an existing file > set that may have been moved or saved to a different location. > > How do does one deal, from within a Rev script, with the shell > requirement to enter the password before sudo executes? I saw an > earlier thread where one might approach this by doing it thru > apples script. Does that mean it's not possible with transcript alone? > > Or perhaps someone knows of such a utility already? I can't find > one on the net and people are complaining about this as recently as > Jan 20th... It will be a simple matter to set up a drag and drop > button that gets a path and runs the cmd against all files in a > folder... but I need a way to supply the password... > > From sarah.reichelt at gmail.com Sat Feb 16 17:37:11 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 17 Feb 2008 08:37:11 +1000 Subject: Issuing "sudo" cmds + password from Rev Scripts In-Reply-To: <47B7632E.6060005@hindu.org> References: <47B7632E.6060005@hindu.org> Message-ID: > How do does one deal, from within a Rev script, with the shell > requirement to enter the password before sudo executes? I saw an earlier > thread where one might approach this by doing it thru apples script. > Does that mean it's not possible with transcript alone? It is possible to do this without AppleScript. Here is an example script: -- build the command lines put "#!/bin/sh" & cr into tScript put "pw=" & quote & tPass & quote & cr after tScript put "echo $pw | sudo -S " & tShellCommand & cr after tScript -- do the command & get the result put shell(tScript) into tCheck Just set the variables tPass & tShellCommand and check the value in tCheck when finished. You will neeed to ask for the password at least once, but then it should be able to process whatever you need. Cheers, Sarah From jeff at siphonophore.com Sat Feb 16 18:17:37 2008 From: jeff at siphonophore.com (Jeff Reynolds) Date: Sat, 16 Feb 2008 18:17:37 -0500 Subject: Flash or Quicktime? In-Reply-To: <20080216180006.338FD489B7E@mail.runrev.com> References: <20080216180006.338FD489B7E@mail.runrev.com> Message-ID: <9B464A24-AD28-41A8-B500-C75540D25497@siphonophore.com> Sorry, beg to differ, we consistently come up with much better and smaller qt h264 files than wmv9. this may be because our compression guy has a lot of tricks that he can do to make qt stuff really shine. hes been at this for like 20 years and has lots of secret sauces that work great with qt, but not with wmv. to his credit he does bang on wmv a lot to try and get it looking at good as possible, but just never does a well as qt. if you just port from a program to qt and wmv you might get comparable stuff, but there are lots of compression tricks that can make things smaller and prettier (sorry the compression guy wont let his sekrets out, its his biz, if he told me he would have to kill me). I know a few that help, but he really does better than i do when he gets at it! jeff On Feb 16, 2008, at 1:00 PM, use-revolution-request at lists.runrev.com wrote: >> except making a nicely compressed and good quality wmv file is >> pretty much an oxymoron > > To be fair, WMV9, On2VP6, and H264 are all comparable for quality, > data rate, and CPU requirements. From bvg at mac.com Sat Feb 16 19:22:52 2008 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 17 Feb 2008 01:22:52 +0100 Subject: Many Cards vs. Lists vs. XML In-Reply-To: <306279.7235.qm@web54110.mail.re2.yahoo.com> References: <306279.7235.qm@web54110.mail.re2.yahoo.com> Message-ID: If no one else needs to read your files, you can use return delimited lists, and enter htmltext there. Rev doesn't care if there's returns between the

tags, so you can just strip it. Added bonus: Styled text is preserved. On 16 Feb 2008, at 22:04, Russell Martin wrote: > So, I've been reading up on Rev's XML features and I'm wondering if > that isn't a better route to go than using lists? Any thoughts? > > Also, for those that use lists to store data, how do you handle > placing > multiline data into your list structure? > > And, what do you do to deal with data that might contain instances of > your delimiter before you place it in your list? Or, is there some > perfect delimiter that I just haven't thought of? -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From john at debraneys.com Sat Feb 16 19:35:24 2008 From: john at debraneys.com (John Tregea) Date: Sun, 17 Feb 2008 11:35:24 +1100 Subject: SSL and FTP connections with Rev? In-Reply-To: References: <306279.7235.qm@web54110.mail.re2.yahoo.com> Message-ID: <000001c870fc$fea36610$fbea3230$@com> Hi again, Can anyone tell me if it is possible to create an SSL connection to an FTP server using Rev's built in ftp commands? I have checked the docs but they make no mention of SSL as an option. Any help would be appreciated. Regards John Tregea From mfstuart at cox.net Sat Feb 16 19:37:26 2008 From: mfstuart at cox.net (mfstuart) Date: Sat, 16 Feb 2008 16:37:26 -0800 (PST) Subject: How do I create a group of buttons on the fly Message-ID: <15519011.post@talk.nabble.com> Hi all, How do I approach the following?: I'm trying to create a menu system similar to the "shortcutbar" of MS Outlook 2003, the group of buttons at the bottom left: Mail, Calendar, Contacts, etc. This will be a menu system that the admin user of the system can configure themselves. So the number of buttons depends on how the admin user sets up the system for each user. The saved menu system will be read from a SQL table, so I'll know how many "shortcut" menu items there will be. This menu system will be created on the fly in the preOpenStack (I assume) after the user has logged in from a previous stack. (I'll know the user id and which menu system has been assigned to them) So far, I've played around with the "create button" script that then places the button in the same loc of a rectangle I have already placed at the bottom left of the stack. But I also need to create the other x number of buttons under each other, and position all of them appropriately for correct display of this menu system. Also set the geometry of the rectangle and the buttons for resizing. Next, I'll have to create the scripts into each button for loading the submenu options. Anybody got any suggestions or have a demo stack on this? Thanx, Mark Stuart -- View this message in context: http://www.nabble.com/How-do-I-create-a-group-of-buttons-on-the-fly-tp15519011p15519011.html Sent from the Revolution - User mailing list archive at Nabble.com. From gandalf at doctortimothyMiller.com Sat Feb 16 19:43:30 2008 From: gandalf at doctortimothyMiller.com (Timothy Miller) Date: Sat, 16 Feb 2008 16:43:30 -0800 Subject: selecting lines in a field Message-ID: <44571925-CBE2-4202-A039-FD11AC21458F@doctortimothyMiller.com> Hi, After all these years, still a beginner... sigh... A multi-line field. Locked. Focusable. Autohilite and listbehavior are true. Normally, I'd turn on "multi-line" and "non-continguous" and I'd be good to go. Later on, a script will get the hilitedlines of this field. Except... I use "---" as a separator, and some lines are deliberately blank, for the sake of readability. If I click on "---" or a blank line, I'd like to leave that line un- hilited, without disturbing the other hilitedlines in the field. --also-- Line 1 = "Clear" If I click on line 1, I'd like to set all the hilitedlines to false, including the hilite of line 1. I think I know the necessary commands and properties, though one can't be certain in my case. I've realized I might need to turn off the mulit-line or non-contiguous property and script some field behavior manually. I've tried various possibilities by trial and error, but I can't seem to put the pieces together. Now I'm stuck. Please advise. Thanks in advance, Tim From chipp at chipp.com Sun Feb 17 01:33:47 2008 From: chipp at chipp.com (Chipp Walters) Date: Sun, 17 Feb 2008 00:33:47 -0600 Subject: Flash or Quicktime? In-Reply-To: <9B464A24-AD28-41A8-B500-C75540D25497@siphonophore.com> References: <20080216180006.338FD489B7E@mail.runrev.com> <9B464A24-AD28-41A8-B500-C75540D25497@siphonophore.com> Message-ID: <7aa52a210802162233o3f9f34cgff2aa0ced57c7af4@mail.gmail.com> On Feb 16, 2008 5:17 PM, Jeff Reynolds wrote: > > (sorry the > compression guy wont let his sekrets out, its his biz, if he told me > he would have to kill me). Yeah, I used to know a few folks like that. I certainly understand someone's desire to protect intellectual property, but c'mon, compression techniques? Geez. My company was the first to create over 7 hours of digital video on a single commercial CD-ROM, and I shared that technique with anyone who asked. -Chipp From chipp at chipp.com Sun Feb 17 02:13:07 2008 From: chipp at chipp.com (Chipp Walters) Date: Sun, 17 Feb 2008 01:13:07 -0600 Subject: How do I create a group of buttons on the fly In-Reply-To: <15519011.post@talk.nabble.com> References: <15519011.post@talk.nabble.com> Message-ID: <7aa52a210802162313l26f7b2f0h9651ad7928f51956@mail.gmail.com> Not using Outlook 2003, let's ask some questions first. Are there a finite number of buttons and do you already know what they are? If so, then create them all and just show or hide them on your preOpenCard script. This way you don't have to create buttons and add scripts on the fly. If you're having to manage their location on resize, then you'll need to write you own resizeStack handler. There are quite a few good thread on this already. If the order of the buttons are to change, then keep them all in a single group and set the loc of the group in the resizeHandler, so you don't have to worry about which button goes where. HTH, Chipp From eric.chatonet at sosmartsoftware.com Sun Feb 17 05:52:42 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 17 Feb 2008 11:52:42 +0100 Subject: selecting lines in a field In-Reply-To: <44571925-CBE2-4202-A039-FD11AC21458F@doctortimothyMiller.com> References: <44571925-CBE2-4202-A039-FD11AC21458F@doctortimothyMiller.com> Message-ID: Hi Tim, Assuming a field I put in: Clear --- Choice 1 Choice 2 Choice 3 --- Choice 4 Choice 5 etc. And in the script of the field: on mouseDown local tHilitedLines ----- lock screen put the hilitedLines of me into tHilitedLines if tHilitedLines = 1 then set the hilitedLines of me to empty -- clear else repeat with i = the number of items in tHilitedLines down to 1 if line (item i of tHilitedLines) of me = "---" then delete item i of tHilitedLines end if end repeat set the hilitedLines of me to tHilitedLines end if unlock screen end mouseDown Hope this helps. BTW if the above works, I'm not sure it's really compliant with usual guidelines on any platform ;-) Best regards from Paris, Eric Chatonet. Le 17 f?vr. 08 ? 01:43, Timothy Miller a ?crit : > Hi, > > After all these years, still a beginner... sigh... > > A multi-line field. Locked. Focusable. Autohilite and listbehavior > are true. Normally, I'd turn on "multi-line" and "non-continguous" > and I'd be good to go. Later on, a script will get the hilitedlines > of this field. > > Except... > > I use "---" as a separator, and some lines are deliberately blank, > for the sake of readability. > > If I click on "---" or a blank line, I'd like to leave that line un- > hilited, without disturbing the other hilitedlines in the field. > > --also-- > > Line 1 = "Clear" > > If I click on line 1, I'd like to set all the hilitedlines to > false, including the hilite of line 1. > > I think I know the necessary commands and properties, though one > can't be certain in my case. I've realized I might need to turn off > the mulit-line or non-contiguous property and script some field > behavior manually. I've tried various possibilities by trial and > error, but I can't seem to put the pieces together. Now I'm stuck. > > Please advise. > > Thanks in advance, > > Tim ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From wow at together.net Sun Feb 17 07:07:06 2008 From: wow at together.net (Richard Miller) Date: Sun, 17 Feb 2008 07:07:06 -0500 Subject: cgi load & access speed In-Reply-To: <7aa52a210802162233o3f9f34cgff2aa0ced57c7af4@mail.gmail.com> References: <20080216180006.338FD489B7E@mail.runrev.com> <9B464A24-AD28-41A8-B500-C75540D25497@siphonophore.com> <7aa52a210802162233o3f9f34cgff2aa0ced57c7af4@mail.gmail.com> Message-ID: This may not have any consequence at all, but it's hard to test, so I wanted an opinion or two. My cgi Rev stack (I'm using only one) has "ballooned" up to about 350k... certainly not large, but I could reduce it to 100k or so by moving a number of fields (which contain html formatting data) to text files. Is there any reason to think that the user's experience when accessing a cgi link will be noticeably quicker if the stack is 100k vs 350k? I realize I'm probably talking about a savings of less than one second, at best, but with constant accessing to the server by numerous users, would this be worth making the change? Thanks. Richard Miller From baleareninsel at gmx.net Sun Feb 17 07:24:52 2008 From: baleareninsel at gmx.net (Horst) Date: Sun, 17 Feb 2008 04:24:52 -0800 (PST) Subject: UPDATE table and quote in a text Message-ID: <15529083.post@talk.nabble.com> Hi there, A question to all SQL-Masters: To update a record in a SQL-Table and to store text which includes the " sign in an SQL-Syntax I learnd, that it is necessary to use replace quote with "\" & quote in zText Well, that works fine, but what about The ' sign? replace "'" with "\'" in zText seems NOT to work. Thanks a lot to all of you and best regards Horst -- View this message in context: http://www.nabble.com/UPDATE-table-and-quote-in-a-text-tp15529083p15529083.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Sun Feb 17 07:45:28 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 17 Feb 2008 13:45:28 +0100 Subject: UPDATE table and quote in a text In-Reply-To: <15529083.post@talk.nabble.com> References: <15529083.post@talk.nabble.com> Message-ID: Dear Horst, Single quotes should be escaped the way you do and this should work fine. I have seen reports of commands starting with revdb being unable to escape single quotes, but this can be solved by using revExecuteSQL -- I don't know whether there really is a bug with escaping characters, I didn't encounter this problem myself. Make sure that you only replace single quotes that are part of the data and not the two single quotes that surround the string. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html Op 17-feb-2008, om 13:24 heeft Horst het volgende geschreven: > > Hi there, > > A question to all SQL-Masters: > To update a record in a SQL-Table and to store text which includes > the " > sign in an SQL-Syntax I learnd, that it is necessary to use > > replace quote with "\" & quote in zText > Well, that works fine, but what about The ' sign? > > replace "'" with "\'" in zText > seems NOT to work. > > Thanks a lot to all of you and best regards > > Horst > -- > View this message in context: http://www.nabble.com/UPDATE-table- > and-quote-in-a-text-tp15529083p15529083.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at comcast.net Sun Feb 17 10:04:12 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Sun, 17 Feb 2008 10:04:12 -0500 Subject: selecting lines in a field In-Reply-To: References: <44571925-CBE2-4202-A039-FD11AC21458F@doctortimothyMiller.com> Message-ID: <85A33469-4C6D-4212-B4E1-5B4B6247965D@comcast.net> Tim, You might want to change this script to include this line: or line (item i of tHilitedLines) of me = "Clear" -- That way the Clear line won't be highlighted in a multi-line highlight either. As in: on mouseDown local tHilitedLines ----- lock screen put the hilitedlines of me into tHilitedLines if tHilitedLines = 1 then set the hilitedlines of me to empty -- clear else repeat with i = the number of items in tHilitedLines down to 0 if line (item i of tHilitedLines) of me = "---" or line (item i of tHilitedLines) of me = "Clear" then delete item i of tHilitedLines end if end repeat set the hilitedlines of me to tHilitedLines end if unlock screen end mouseDown HTH TOM On Feb 17, 2008, at 5:52 AM, Eric Chatonet wrote:ne > Hi Tim, > > Assuming a field I put in: > > Clear > --- > Choice 1 > Choice 2 > Choice 3 > --- > Choice 4 > Choice 5 > etc. > > And in the script of the field: > > on mouseDown > local tHilitedLines > ----- > lock screen > put the hilitedLines of me into tHilitedLines > if tHilitedLines = 1 then > set the hilitedLines of me to empty > -- clear > else > repeat with i = the number of items in tHilitedLines down to 1 > if line (item i of tHilitedLines) of me = "---" then > delete item i of tHilitedLines > end if > end repeat > set the hilitedLines of me to tHilitedLines > end if > unlock screen > end mouseDown > > Hope this helps. > BTW if the above works, I'm not sure it's really compliant with > usual guidelines on any platform ;-) > > Best regards from Paris, > Eric Chatonet. > > Le 17 f?vr. 08 ? 01:43, Timothy Miller a ?crit : > >> Hi, >> >> After all these years, still a beginner... sigh... >> >> A multi-line field. Locked. Focusable. Autohilite and listbehavior >> are true. Normally, I'd turn on "multi-line" and "non-continguous" >> and I'd be good to go. Later on, a script will get the hilitedlines >> of this field. >> >> Except... >> >> I use "---" as a separator, and some lines are deliberately blank, >> for the sake of readability. >> >> If I click on "---" or a blank line, I'd like to leave that line un- >> hilited, without disturbing the other hilitedlines in the field. >> >> --also-- >> >> Line 1 = "Clear" >> >> If I click on line 1, I'd like to set all the hilitedlines to >> false, including the hilite of line 1. >> >> I think I know the necessary commands and properties, though one >> can't be certain in my case. I've realized I might need to turn off >> the mulit-line or non-contiguous property and script some field >> behavior manually. I've tried various possibilities by trial and >> error, but I can't seem to put the pieces together. Now I'm stuck. >> >> Please advise. >> >> Thanks in advance, >> >> Tim > > ---------------------------------------------------------------- > Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ > Email: eric.chatonet at sosmartsoftware.com/ > ---------------------------------------------------------------- > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at comcast.net Sun Feb 17 10:08:51 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Sun, 17 Feb 2008 10:08:51 -0500 Subject: Mashups in REV Message-ID: <82B09C64-9254-4272-931F-BC1D4C299E3B@comcast.net> Just a question? Is anyone using Rev with the current level of Mashups as in Google Gadgets etc. It seems to me a library of wrappers could be put in that would house a gadget and Rev could handle that? I know Rev could handle the as Javascript. Tom Thomas McGrath III 3mcgrath at comcast.net Mac OS10.5.1 2.4 GHz Intel Core 2 Duo 4 GB 667 MHz DDR2 SDRAM From 3mcgrath at comcast.net Sun Feb 17 10:29:29 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Sun, 17 Feb 2008 10:29:29 -0500 Subject: Mashups in REV In-Reply-To: <82B09C64-9254-4272-931F-BC1D4C299E3B@comcast.net> References: <82B09C64-9254-4272-931F-BC1D4C299E3B@comcast.net> Message-ID: <35B0C5BB-E6E7-4F46-A718-8A2856C05AE6@comcast.net> Append: As Javascript on Mac and I think "SignedJavaScript" on windows??? I think JScript was different than JavaScript. put alternateLanguages() on my windows machine XML VBScript VBScript.Encode Python.AXScript.2 JScript JScript.Encode "SignedJavaScript" "SignedVBScript" put alternateLanguages() on my macintosh machine javascript applescript On Feb 17, 2008, at 10:08 AM, Thomas McGrath III wrote: > Just a question? > > > Is anyone using Rev with the current level of Mashups as in Google > Gadgets etc. It seems to me a library of wrappers could be put in > that would house a gadget and Rev could handle that? I know Rev > could handle the as Javascript. > > > Tom > > > > Thomas McGrath III > 3mcgrath at comcast.net > > Mac OS10.5.1 2.4 GHz Intel Core 2 Duo > 4 GB 667 MHz DDR2 SDRAM > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From baleareninsel at gmx.net Sun Feb 17 11:09:14 2008 From: baleareninsel at gmx.net (Horst) Date: Sun, 17 Feb 2008 08:09:14 -0800 (PST) Subject: UPDATE table and quote in a text In-Reply-To: References: <15529083.post@talk.nabble.com> Message-ID: <15530593.post@talk.nabble.com> Hol? Mark, The main question seems to be: How to "include" a textfile for example: .. put "1234'5'6??'ioup"#" into mytext ## I know, this text is senseless, but never mind, it should be able to be saved replace quote with "\" & quote in mytext ## and then, how to replave the ' ??? put "UPDATE table set textfile = '" & mytext & "'... into sql_messqage revexecutesql (my_ID), sql_message put the result ## shows an SQL-Error message and mytext will not be saved .. best regards and, as usual, a big thank You for answering Horst Mark Schonewille-3 wrote: > > Dear Horst, > > Single quotes should be escaped the way you do and this should work > fine. I have seen reports of commands starting with revdb being > unable to escape single quotes, but this can be solved by using > revExecuteSQL -- I don't know whether there really is a bug with > escaping characters, I didn't encounter this problem myself. Make > sure that you only replace single quotes that are part of the data > and not the two single quotes that surround the string. > > Best regards, > > Mark Schonewille > > -- > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Convert colours between different colour spaces with Color Converter. > Download at http://economy-x-talk.com/cc.html > > > > Op 17-feb-2008, om 13:24 heeft Horst het volgende geschreven: > >> >> Hi there, >> >> A question to all SQL-Masters: >> To update a record in a SQL-Table and to store text which includes >> the " >> sign in an SQL-Syntax I learnd, that it is necessary to use >> >> replace quote with "\" & quote in zText >> Well, that works fine, but what about The ' sign? >> >> replace "'" with "\'" in zText >> seems NOT to work. >> >> Thanks a lot to all of you and best regards >> >> Horst >> -- >> View this message in context: http://www.nabble.com/UPDATE-table- >> and-quote-in-a-text-tp15529083p15529083.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/UPDATE-table-and-quote-in-a-text-tp15529083p15530593.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Sun Feb 17 11:47:08 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 17 Feb 2008 17:47:08 +0100 Subject: UPDATE table and quote in a text In-Reply-To: <15530593.post@talk.nabble.com> References: <15529083.post@talk.nabble.com> <15530593.post@talk.nabble.com> Message-ID: <106BB962-A1F0-4BCE-A08A-BB7972341BA7@economy-x-talk.com> Hallo Horst, You could write a function to escape all special characters, but the easiest and most reliable way is to encode the data with base64encode () before storing it. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html Op 17-feb-2008, om 17:09 heeft Horst het volgende geschreven: > > Hol? Mark, > > The main question seems to be: How to "include" a textfile for > example: > .. > put "1234'5'6??'ioup"#" into mytext ## I know, this text is > senseless, but > never mind, it should be able to be saved > replace quote with "\" & quote in mytext ## and then, how to > replave the ' > ??? > put "UPDATE table set textfile = '" & mytext & "'... into sql_messqage > revexecutesql (my_ID), sql_message > put the result ## shows an SQL-Error message and mytext will not > be saved > .. > > best regards and, as usual, a big thank You for answering > > Horst > From engleerica at yahoo.com Sun Feb 17 11:53:01 2008 From: engleerica at yahoo.com (Eric A. Engle) Date: Sun, 17 Feb 2008 08:53:01 -0800 (PST) Subject: revolution on the web In-Reply-To: Message-ID: <350267.50812.qm@web65403.mail.ac4.yahoo.com> I signed up for the 2.9 beta :) iHope I get accepted I think I have some ability to contribute. I would like to see revolution able to a) generate video (see my hypercard videokit built with udi's external, it's on Alain's pantechnicon b) become an alternative to javascript

Name: Time:
This will enter the data gotten from "time.cgi" into the second input field, whenever you type in to the first field. The cgi now only needs to be this: #!rev on startup put the short system date into temp put "Content-Type: text/plain" & cr put "Content-Length:" && the length of temp & cr & cr put temp end startup That's it! I learned most of my web stuff from w3schools.com, it's a very good, and newbie friendly ressource. have fun Bj?rnke PS: AJAX means Asynchronous JavaScript and XML, but i used totally extreme plain text, so this is more like AJAP ;-) PPS: if time.cgi where time.php (or, rev isn't always less lines): On 19 Feb 2008, at 16:59, Thomas McGrath III wrote: > Can you explain this a little further. I am not proficient in CGI or > AJAX but am now 'forced' into learning JS, CSS, XML in order to put > a web based application together. I did not want to learn another > language either and have put this off as long as I can. But now I > must. So a newbie I am and feel lost in a bigger world than me. > > Is there a real newbie way to learn how to integrate AJAX with REV? > I have been reading daily and have put my other projects on hold. > > > Thanks > > Tom > > On Feb 19, 2008, at 8:37 AM, Sivakatirswami wrote: > >> . but... AJAX with Rev on the back end is very powerful......Next >> on my agenda: take raw content (photos and text-caption files) and >> build Highslide JS web objects for inclusion in web pages via SSI's >> -- love doing and then let >> revolution do the work of building into that space on the page-- >> that is after all, what PHP is doing, but at 1/10th the speed of >> Revolution on the same box/CPU... > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bvg at mac.com Tue Feb 19 14:18:10 2008 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 19 Feb 2008 20:18:10 +0100 Subject: upgrade pricing In-Reply-To: <19C7CBBC-C4BA-41D5-AEE1-84B7FC908022@rcn.com> References: <19C7CBBC-C4BA-41D5-AEE1-84B7FC908022@rcn.com> Message-ID: <9BFCB84C-F516-4ECB-8A8C-D649DBACA89A@mac.com> Revolution has a quite complicated licensing system. Normally you buy a license, and get a year of free updates, but i think that's not true for media. This gets further murkied, because 2.9 was promised for free to all 2.7 holders (but not 2.8 holders). When someone still is in the one year free update period, he or she can buy another year of updates for less then the amount when the update has run out. And then of course ouy can loose to be legible for further updates if you wait too long, and then you need a full buy again. The mail you got refers to these updates to existing licenses. Therefore, if you got Studio or Enterprise, then most likely you'll be set for 2.9. Also 2.9 is a feature upgrade, with new commands and also many bug fixes. So the 0.0.1 updates are probably what you really meant with "just an 0.1" update. Have fun Bj?rnke On 19 Feb 2008, at 19:43, Colin Holgate wrote: > I recently bought Revolution, v2.8.1, and I'm getting the emails > about a 2.9 upgrade. The upgrade price seems to be ?149, which seems > a lot for a 0.1 version increase, especially so soon after buying > the product. Am I misunderstanding the pricing? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sakari.ruoho at academica.com Tue Feb 19 14:52:29 2008 From: sakari.ruoho at academica.com (Sakari Ruoho) Date: Tue, 19 Feb 2008 21:52:29 +0200 Subject: Color anomaly In-Reply-To: <5AB11461-178D-4109-B5A0-4D83D21E32A6@mangomultimedia.com> References: <203BFD8D-5A83-41E8-9080-FA8F80736E94@academica.com> <47B9BA0F.7090805@hyperactivesw.com> <47BA29CE.4000101@hyperactivesw.com> <300F5024-B951-45F2-80E7-7932935B9D71@academica.com> <5AB11461-178D-4109-B5A0-4D83D21E32A6@mangomultimedia.com> Message-ID: Ah cheers, that would explain it :D Sakari Ruoho On Feb 19, 2008, at 4:25 PM, Trevor DeVore wrote: > On Feb 19, 2008, at 4:31 AM, Sakari Ruoho wrote: > >> I have not changed color depth, but I think problem came about >> after installing Leopard. All the settings should be the originals, >> have not messed with 'em. Should I call the lynch mob? ;) >> >> I compiled a standalone and the same problem.. could this be a >> Leopard phenomenon? > > This is an issue with 2.8 and Leopard. Stacks appear to have a > bluish tint to them and some images don't look right. The issue is > fixed in 2.9. > > Regards, > > -- > Trevor DeVore > Blue Mango Learning Systems > www.bluemangolearning.com - www.screensteps.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From hershf at rgllc.us Tue Feb 19 14:54:57 2008 From: hershf at rgllc.us (Hershel Fisch) Date: Tue, 19 Feb 2008 14:54:57 -0500 Subject: Cgi and Database (stick to standards) In-Reply-To: Message-ID: On 2/19/08 2:29 AM, "Ruslan Zasukhin" wrote: > On 19/2/08 12:01 AM, "Hershel Fisch" wrote: > > Hi Hershel, > > I wonder where you have found info that mySQL is worse of others (SqlLite or > Postgre) on grow of db size ???> > I do not think exists significant difference between mySQL and Postgre in > regard of dependence on db size... I didn't say its worse, on sqlite I read its site this info that its faster, ok I do except that it might be on small or very small db's, on postgres I did a lot of research a while ago. mySQL is a bit faster on smaller db's as it gets lager it evens out then (in the Giga's) postgres is faster because mySQL slows down a bit. > >> or maybe I'll look into valentina. > > If you think about hosting, Valentina is unlikely choice. Only if you have > own server. So it looks like I'll have to stick to mySQL or PostgreSQL by the way I didn't find posgres available for a decent price mostly mySQL is used. So far I don't even have this problem yet because I don't know even on how to get it to work. The way it looks I'll have to redo the whole thing to php. Hershel From paulgabel at comcast.net Tue Feb 19 16:33:53 2008 From: paulgabel at comcast.net (Paul Gabel) Date: Tue, 19 Feb 2008 13:33:53 -0800 Subject: FIND AND REPLACE: Is this a bug? Message-ID: <7B80D49C-DC78-478A-A3FD-3E3BA442E980@comcast.net> Hello everyone: Will someone confirm this Find and Replace window problem before I file a bug report? 1) Command-F (in stack view) 2) Find: Show/Hide Timing Information In: This Stack 3) Check (?): Script Check (?): Button Text Check (?): All Other 4) Click on the Find button What happens to me is that the blue progress bar moves along for a few seconds, then Revolution disappears (crashes). I tested this several times, always with the same result. Maybe this button-checking combination shouldn't be used. Mac Intel Leopard 10.5.2 Rev 2.9 beta dp-4 Paul Gabel From howard.bornstein at gmail.com Tue Feb 19 16:38:26 2008 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Tue, 19 Feb 2008 16:38:26 -0500 Subject: FIND AND REPLACE: Is this a bug? In-Reply-To: <20080219213448.WVHL19547.hrndva-omta04.mail.rr.com@10.0.1.199> References: <20080219213448.WVHL19547.hrndva-omta04.mail.rr.com@10.0.1.199> Message-ID: <3f07cc260802191338s6c887461r97009420a124dc3f@mail.gmail.com> Works without problems under Rev. 2.8.1 -- Regards, Howard Bornstein ----------------------- www.designeq.com From howard.bornstein at gmail.com Tue Feb 19 16:39:29 2008 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Tue, 19 Feb 2008 16:39:29 -0500 Subject: FIND AND REPLACE: Is this a bug? In-Reply-To: <3f07cc260802191338s6c887461r97009420a124dc3f@mail.gmail.com> References: <20080219213448.WVHL19547.hrndva-omta04.mail.rr.com@10.0.1.199> <3f07cc260802191338s6c887461r97009420a124dc3f@mail.gmail.com> Message-ID: <3f07cc260802191339v156aa3e2m4435f6eb21ab72fd@mail.gmail.com> Sorry, forgot to mention the platform: Intel Mac 10.5.1 -- Regards, Howard Bornstein ----------------------- www.designeq.com From hershf at rgllc.us Tue Feb 19 17:53:51 2008 From: hershf at rgllc.us (Hershel Fisch) Date: Tue, 19 Feb 2008 17:53:51 -0500 Subject: 2.9 b4 clear pic In-Reply-To: Message-ID: On 2/18/08 8:04 PM, "Hershel Fisch" wrote: Ok I got it a bit clearer when I have rev 2.9 build 4 launched with the toolbar text selected not the toolbar icons, then I launch another application then I select rev from the menu bar then the text doesn't show. > Hi, I don?t know exactly how to describe it, but the 2.9 db4 the tool bar > gives some problems on the 10.3.9 osx > > Hershel > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION2 at barncard.com Tue Feb 19 18:10:02 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Tue, 19 Feb 2008 15:10:02 -0800 Subject: upgrade pricing In-Reply-To: <325413300802191049r446b3657x38b59d87e96db576@mail.gmail.com> References: <19C7CBBC-C4BA-41D5-AEE1-84B7FC908022@rcn.com> <325413300802191049r446b3657x38b59d87e96db576@mail.gmail.com> Message-ID: I'd say the 2.9 release is very close....the DP-4 beta rocks with just a few things to fix. This release has a lot more value of a .1 release (the numbering system was redone to accomodate the future features in the next big release 3.0). for all practical purposes there are so many fixes and new features addes since 2.8.1 that one can't really pigeonhole the progress made by calling it a "point-release". 2.9 will be the most solid, feature packed release yet. Besides, sooner or later you'll want 3.0 which is expected perhaps by the middle of this year. (Remember 'Revolution Live' was rescheduled to accomodate the announcement, if not release of version 3.0.) The stuff that's coming is awesome! Due to an NDA, I can't mention what -- and if one is really curious then one will have to go to Las Vegas this summer. -- or join the beta testers. >Do we have a date for the 2.9 release? I am anxiously waiting! > >Neal > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From devin_asay at byu.edu Tue Feb 19 18:12:53 2008 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 19 Feb 2008 16:12:53 -0700 Subject: 2.9 b4 clear pic In-Reply-To: References: Message-ID: <161812AB-B91B-43EB-890F-6BDBFF2C7081@byu.edu> On Feb 19, 2008, at 3:53 PM, Hershel Fisch wrote: > On 2/18/08 8:04 PM, "Hershel Fisch" wrote: > > Ok I got it a bit clearer when I have rev 2.9 build 4 launched with > the > toolbar text selected not the toolbar icons, then I launch another > application then I select rev from the menu bar then the text > doesn't show. Hershel, I can confirm this behavior on 2.9-dp4 on Mac OS X 10.4.11 Intel. With Text Only turned on for the toolbar, if I switch to another application and then back to Rev, the toolbar is empty. If I click on it the text under the mouse click reappears. I also noticed that once, with both text and icons showing, when I switched to Rev 2.9-dp-4, the bottom half of the toolbar was black. I haven't been able to reproduce this, however. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From m.schonewille at economy-x-talk.com Tue Feb 19 18:17:41 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 20 Feb 2008 00:17:41 +0100 Subject: 2.9 b4 clear pic In-Reply-To: References: Message-ID: <9DF1C1C9-2010-410F-9E50-8A5DA450FD72@economy-x-talk.com> Hershel: http://quality.runrev.com/qacenter/show_bug.cgi?id=5899 Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html Op 19-feb-2008, om 23:53 heeft Hershel Fisch het volgende geschreven: > On 2/18/08 8:04 PM, "Hershel Fisch" wrote: > > Ok I got it a bit clearer when I have rev 2.9 build 4 launched with > the > toolbar text selected not the toolbar icons, then I launch another > application then I select rev from the menu bar then the text > doesn't show. > From jacque at hyperactivesw.com Tue Feb 19 18:28:48 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 19 Feb 2008 17:28:48 -0600 Subject: 2.9 b4 clear pic In-Reply-To: References: Message-ID: <47BB6630.7030300@hyperactivesw.com> Hershel Fisch wrote: > On 2/18/08 8:04 PM, "Hershel Fisch" wrote: > > Ok I got it a bit clearer when I have rev 2.9 build 4 launched with the > toolbar text selected not the toolbar icons, then I launch another > application then I select rev from the menu bar then the text doesn't show. > >> Hi, I don?t know exactly how to describe it, but the 2.9 db4 the tool bar >> gives some problems on the 10.3.9 osx On Tiger, the initial launch of db 4 draws a toolbar that is half black, which obscures the bottom half of the icons and their text labels. Forcing a redraw fixes it. I did that by turning off the toolbar text in the View menu, then turning it back on. After that the toolbar draws correctly. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dave.cragg at lacscentre.co.uk Tue Feb 19 18:38:17 2008 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 19 Feb 2008 23:38:17 +0000 Subject: RevCGI Hosts? In-Reply-To: <7aa52a210802181815s6587e8e4m62d749afa5224422@mail.gmail.com> References: <7aa52a210802181441m5a05cb60l32ca3f7ecef6ff84@mail.gmail.com> <1e91b2b70802181742i52ebf3d3l11165f21b3c594a1@mail.gmail.com> <7aa52a210802181815s6587e8e4m62d749afa5224422@mail.gmail.com> Message-ID: On 19 Feb 2008, at 02:15, Chipp Walters wrote: > So, > exactly which version of the Rev engine do I install? I suppose > it's a Linux > one, and I suppose I put it in the cgi-bin folder. I may just be nervous by nature, but I never put the engine in the cgi-bin folder. By my understanding, the http server will try to execute anything in the cgi-bin folder that has execute permissions set. My worry is whether the server can be coerced into passing parameters when it tries to run the engine. (There was a security problem in the past with the Perl executable on Windows due to this.) While I'm fairly confident Rev is immune from this, why take the risk? I stick it somewhere like /usr/bin/revbin, and so the top of my scripts look like this: #!/usr/bin/revbin/rev Cheers Dave From sarah.reichelt at gmail.com Tue Feb 19 18:57:43 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 20 Feb 2008 09:57:43 +1000 Subject: FIND AND REPLACE: Is this a bug? In-Reply-To: <7B80D49C-DC78-478A-A3FD-3E3BA442E980@comcast.net> References: <7B80D49C-DC78-478A-A3FD-3E3BA442E980@comcast.net> Message-ID: > Will someone confirm this Find and Replace window problem before I > file a bug report? > > 1) Command-F (in stack view) > > 2) Find: Show/Hide Timing Information > In: This Stack > > 3) Check (?): Script > Check (?): Button Text > Check (?): All Other > > 4) Click on the Find button > > What happens to me is that the blue progress bar moves along for a few > seconds, then Revolution disappears (crashes). I tested this several > times, always with the same result. Maybe this button-checking > combination shouldn't be used. > > Mac Intel > Leopard 10.5.2 > Rev 2.9 beta dp-4 > Works fine here with exactly the same setup as you. However it never found anything. What if you try it without the / in the string? Sarah From meitnik at bellsouth.net Tue Feb 19 19:34:28 2008 From: meitnik at bellsouth.net (Andrew Meit) Date: Tue, 19 Feb 2008 19:34:28 -0500 Subject: window manager code Message-ID: <9309A458-ED6C-4F99-9DBB-E7F1B097BC9D@bellsouth.net> Hi, Since there are many kinds of screen resolutions for monitors, I am looking for code that tiles windows based on proportions of the screen and fixed window size. Sorta a geometry manager for windows...any one having code to share? Shalom, Andrew {Choose Life, Create Hope, Nurture Love, Wrestle Faith...} From hershf at rgllc.us Tue Feb 19 19:39:24 2008 From: hershf at rgllc.us (Hershel Fisch) Date: Tue, 19 Feb 2008 19:39:24 -0500 Subject: 2.9 b4 Message-ID: Hi, I'm so sorry that I have to do all this but at the end it will help to get this thing in order. Hopefully somebody will put this on bugzila which will help the situation. Sorry I don't know how to work it. I'm playing around with 2.9 b4 so far I noticed a few things 1) if in a script window doing a find it doesn't select the found word properly a few (so far) scripts working in previous versions get errors now. 1) I have a mouseDoubleUp 'go to stack "xyz"' throws an error. 2) revCloseCursor xyz throws an error 3) a stack with its decorations set to empty(like an opening to an application) looks like its painted to the screen. 4)the database builder ??? 5) the window size for the first time to open still doesn't remember its size and position. 6) I realized that every stack has a "c" custom property with its stack name in it, I didn't see it in previous versions. That?s it for now and I hope no more will be Hershel From andre at andregarzia.com Tue Feb 19 20:17:46 2008 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 19 Feb 2008 22:17:46 -0300 Subject: RevCGI Hosts? In-Reply-To: References: <7aa52a210802181441m5a05cb60l32ca3f7ecef6ff84@mail.gmail.com> <1e91b2b70802181742i52ebf3d3l11165f21b3c594a1@mail.gmail.com> <7aa52a210802181815s6587e8e4m62d749afa5224422@mail.gmail.com> Message-ID: <7c87a2a10802191717q49e04f89laf95bab3684b16e7@mail.gmail.com> Dave, I am doing something similar. I put everything on /opt/web/bin... safer and easier to maintain. Andre On 2/19/08, Dave Cragg wrote: > > On 19 Feb 2008, at 02:15, Chipp Walters wrote: > > So, > > exactly which version of the Rev engine do I install? I suppose > > it's a Linux > > one, and I suppose I put it in the cgi-bin folder. > > I may just be nervous by nature, but I never put the engine in the > cgi-bin folder. By my understanding, the http server will try to > execute anything in the cgi-bin folder that has execute permissions > set. My worry is whether the server can be coerced into passing > parameters when it tries to run the engine. (There was a security > problem in the past with the Perl executable on Windows due to this.) > While I'm fairly confident Rev is immune from this, why take the risk? > > I stick it somewhere like /usr/bin/revbin, and so the top of my > scripts look like this: > > #!/usr/bin/revbin/rev > > Cheers > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From sarah.reichelt at gmail.com Tue Feb 19 20:44:34 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 20 Feb 2008 11:44:34 +1000 Subject: [semi-OT] iPhone help needed Message-ID: Hi All, My current work involves lots of process control and monitoring. I am setting up automatically updating web pages that allow the relevant people to log in and see what is happening at any time. When/if the iPhone ever arrives in Australia, it will be the perfect adjunct to this technique as I can make the software send an SMS alert and then people can log into the web page for more details. I have been testing the web page displays on my iPod Touch and found that I need to use very different font sizes. The small but high res screen needs much larger fonts if it is to be readable without having to zoom in. This is fine and I can use PHP to read the HTTP_USER_AGENT and then set the page to use the appropriate style sheet. However I don't know what the HTTP_USER_AGENT is set to by an iPhone. I would be very grateful if anyone who has an iPhone could log into to and click the button. You don't even have to enter the other data if you don't want to. I'll be taking the page down when I get the data I need, so if you get a 404, then someone else has already done it. Many thanks in advance, Sarah P.S. If anyone else needs the same sort of data, here is what you get from an iPod touch: Mozilla/5.0 (iPod; U; CPU like Mac OS X; en) AppleWebKit/420.1 (KHTML, like Gecko) Version/3.0 Mobile/4A93 Safari/419.3 From jacque at hyperactivesw.com Tue Feb 19 20:54:44 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 19 Feb 2008 19:54:44 -0600 Subject: RevCGI Hosts? In-Reply-To: References: <7aa52a210802181441m5a05cb60l32ca3f7ecef6ff84@mail.gmail.com> <1e91b2b70802181742i52ebf3d3l11165f21b3c594a1@mail.gmail.com> <7aa52a210802181815s6587e8e4m62d749afa5224422@mail.gmail.com> Message-ID: <47BB8864.2080607@hyperactivesw.com> Dave Cragg wrote: > I may just be nervous by nature, but I never put the engine in the > cgi-bin folder. By my understanding, the http server will try to execute > anything in the cgi-bin folder that has execute permissions set. My > worry is whether the server can be coerced into passing parameters when > it tries to run the engine. (There was a security problem in the past > with the Perl executable on Windows due to this.) While I'm fairly > confident Rev is immune from this, why take the risk? I think we can relax as long as we don't script anything stupid. Here are a couple of quotes from Scott Raney about it: > With MetaCard your primary (and probably exclusive) risk would be in > executing commands or evaluating expressions that come from untrusted > sources. Any use of the "do" and "send" commands or the "value" > function should be very diligently evaluated to make sure that there > is no possibility of this occuring. Of course, you also have to be > careful about where you write files, but it's a relatively simple > matter to check a path for validity (e.g., don't allow a leading > "/", or the "..", ":", or "~" characters anywhere in a path). Which he follows with: > I certainly wouldn't rule out building or using MetaCard server > software, even for protocols for which well-known (if buggy) open > source software is widely available. While I don't see any big > advantage to writing an FTP server in MetaCard, an HTTP server that > executes CGI scripts is a different matter entirely and an area where > a MetaCard server could be safer and feature-competitive with any of > the alternatives. > > > I've got a soap box here too, and in *my* opinion, the ubiquity of > buffer-overrun bugs in open source software rises to the level of > criminal negligence. There is just no excuse for this kind of sloppy > programming, yet not a week goes by that yet another example of this > kind of thing isn't found in one of the commonly used open-source > packages. I wouldn't blindly trust Microsoft software either, but at > least the majority of the security holes in their products were put > there deliberately to improve the usability of the products rather > than as the result of poor security hygiene on the part of the > developer. > > My advice is to not be afraid of this stuff. Sure, you have to be > careful, but you can hardly do any worse a job than those hacks who > are writing the software that runs the Internet ;-) I miss that guy. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mpetrides at earthlink.net Tue Feb 19 21:20:43 2008 From: mpetrides at earthlink.net (Petrides, M.D. Marian) Date: Tue, 19 Feb 2008 20:20:43 -0600 Subject: [semi-OT] iPhone help needed In-Reply-To: References: Message-ID: <4EE5D94D-18B0-4CA4-AD8A-3258EA8B458E@earthlink.net> Did it just now. HTH. On Feb 19, 2008, at 7:44 PM, Sarah Reichelt wrote: > Hi All, > > My current work involves lots of process control and monitoring. I am > setting up automatically updating web pages that allow the relevant > people to log in and see what is happening at any time. When/if the > iPhone ever arrives in Australia, it will be the perfect adjunct to > this technique as I can make the software send an SMS alert and then > people can log into the web page for more details. > > I have been testing the web page displays on my iPod Touch and found > that I need to use very different font sizes. The small but high res > screen needs much larger fonts if it is to be readable without having > to zoom in. This is fine and I can use PHP to read the HTTP_USER_AGENT > and then set the page to use the appropriate style sheet. However I > don't know what the HTTP_USER_AGENT is set to by an iPhone. > > I would be very grateful if anyone who has an iPhone could log into to > and click the button. You don't even > have to enter the other data if you don't want to. I'll be taking the > page down when I get the data I need, so if you get a 404, then > someone else has already done it. > > Many thanks in advance, > Sarah > > P.S. If anyone else needs the same sort of data, here is what you get > from an iPod touch: > Mozilla/5.0 (iPod; U; CPU like Mac OS X; en) AppleWebKit/420.1 (KHTML, > like Gecko) Version/3.0 Mobile/4A93 Safari/419.3 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION2 at barncard.com Tue Feb 19 21:41:53 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Tue, 19 Feb 2008 18:41:53 -0800 Subject: 2.9 b4 In-Reply-To: References: Message-ID: With all due respect to your attempt to report, I'm wondering how much 2.9 beta bugs should be discussed on the USE-REV list rather than the more closed IMPROVE REV list, or reports to Quality control. I'd hate to see prospective new Rev users get turned off by comments here. And non-beta testers might feel left out with the features they can't use yet. Comments, headquarters? Heather? Lynn? Jacque? > >I'm playing around with 2.9 b4 so far I noticed a few things -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From andre at andregarzia.com Tue Feb 19 22:09:22 2008 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 20 Feb 2008 00:09:22 -0300 Subject: RevCGI Hosts? In-Reply-To: <47BB8864.2080607@hyperactivesw.com> References: <7aa52a210802181441m5a05cb60l32ca3f7ecef6ff84@mail.gmail.com> <1e91b2b70802181742i52ebf3d3l11165f21b3c594a1@mail.gmail.com> <7aa52a210802181815s6587e8e4m62d749afa5224422@mail.gmail.com> <47BB8864.2080607@hyperactivesw.com> Message-ID: <7c87a2a10802191909t54a0c74bt3b0030b97133f4e6@mail.gmail.com> Where is he now? I never had a chance to talk to him. :D andre On 2/19/08, J. Landman Gay wrote: > Dave Cragg wrote: > > > I may just be nervous by nature, but I never put the engine in the > > cgi-bin folder. By my understanding, the http server will try to execute > > anything in the cgi-bin folder that has execute permissions set. My > > worry is whether the server can be coerced into passing parameters when > > it tries to run the engine. (There was a security problem in the past > > with the Perl executable on Windows due to this.) While I'm fairly > > confident Rev is immune from this, why take the risk? > > I think we can relax as long as we don't script anything stupid. Here > are a couple of quotes from Scott Raney about it: > > > With MetaCard your primary (and probably exclusive) risk would be in > > executing commands or evaluating expressions that come from untrusted > > sources. Any use of the "do" and "send" commands or the "value" > > function should be very diligently evaluated to make sure that there > > is no possibility of this occuring. Of course, you also have to be > > careful about where you write files, but it's a relatively simple > > matter to check a path for validity (e.g., don't allow a leading > > "/", or the "..", ":", or "~" characters anywhere in a path). > > Which he follows with: > > > I certainly wouldn't rule out building or using MetaCard server > > software, even for protocols for which well-known (if buggy) open > > source software is widely available. While I don't see any big > > advantage to writing an FTP server in MetaCard, an HTTP server that > > executes CGI scripts is a different matter entirely and an area where > > a MetaCard server could be safer and feature-competitive with any of > > the alternatives. > > > > > > > I've got a soap box here too, and in *my* opinion, the ubiquity of > > buffer-overrun bugs in open source software rises to the level of > > criminal negligence. There is just no excuse for this kind of sloppy > > programming, yet not a week goes by that yet another example of this > > kind of thing isn't found in one of the commonly used open-source > > packages. I wouldn't blindly trust Microsoft software either, but at > > least the majority of the security holes in their products were put > > there deliberately to improve the usability of the products rather > > than as the result of poor security hygiene on the part of the > > developer. > > > > My advice is to not be afraid of this stuff. Sure, you have to be > > careful, but you can hardly do any worse a job than those hacks who > > are writing the software that runs the Internet ;-) > > I miss that guy. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From ambassador at fourthworld.com Tue Feb 19 22:16:36 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 19 Feb 2008 19:16:36 -0800 Subject: RevCGI Hosts? Message-ID: <47BB9B94.5030105@fourthworld.com> Chipp Walters wrote: > Well, I've decided to try out JaguarPC and the least expensive option. Is it? You and others here got me to take a look at DreamHost, and I've been very happy with them over the last year since I signed on. Here's the quick overview fromm what I can tell at each site: JaguarPC 17 GB web space 210 GB transfer/month Unlimited domains Bunch of free goodies (SQL, Ruby on Rails, forums, blogs, scripts...) $7.95/month (2-year prepay; options range up to $11.97) Dreamhost 500 GB web space (with 2GB added each week) 5,000 GB transfer/month (with 40GB added each week) Unlimited domains Bunch of free goodies (SQL, Ruby on Rails, forums, blogs, scripts...) $5.95/month (10-year prepay; other options range up to $9.95; I prepaid for just two years and paid $7.95/mo) Did I miss some of the fine print somewhere? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From chipp at chipp.com Tue Feb 19 22:18:51 2008 From: chipp at chipp.com (Chipp Walters) Date: Tue, 19 Feb 2008 21:18:51 -0600 Subject: RevCGI Hosts? In-Reply-To: <47BB9B94.5030105@fourthworld.com> References: <47BB9B94.5030105@fourthworld.com> Message-ID: <7aa52a210802191918n7cf8e2e0vaf7107a5622b2576@mail.gmail.com> Hi Richard, What I intended to say was: I've decided to try JaguarPC. I've chosen the least expensive plan they have. A previous email from Andre was mentioning a number of the different opitons, and I was just saying which plan I signed up for. Sorry for the confusion, Chipp From 3mcgrath at comcast.net Tue Feb 19 23:27:58 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Tue, 19 Feb 2008 23:27:58 -0500 Subject: [semi-OT] iPhone help needed In-Reply-To: References: Message-ID: <1F50D2F2-EE8A-45A3-8824-6131B54917C2@comcast.net> please share when you find out. Thanks Tom On Feb 19, 2008, at 8:44 PM, Sarah Reichelt wrote: > Hi All, > > My current work involves lots of process control and monitoring. I am > setting up automatically updating web pages that allow the relevant > people to log in and see what is happening at any time. When/if the > iPhone ever arrives in Australia, it will be the perfect adjunct to > this technique as I can make the software send an SMS alert and then > people can log into the web page for more details. > > I have been testing the web page displays on my iPod Touch and found > that I need to use very different font sizes. The small but high res > screen needs much larger fonts if it is to be readable without having > to zoom in. This is fine and I can use PHP to read the HTTP_USER_AGENT > and then set the page to use the appropriate style sheet. However I > don't know what the HTTP_USER_AGENT is set to by an iPhone. > > I would be very grateful if anyone who has an iPhone could log into to > and click the button. You don't even > have to enter the other data if you don't want to. I'll be taking the > page down when I get the data I need, so if you get a 404, then > someone else has already done it. > > Many thanks in advance, > Sarah > > P.S. If anyone else needs the same sort of data, here is what you get > from an iPod touch: > Mozilla/5.0 (iPod; U; CPU like Mac OS X; en) AppleWebKit/420.1 (KHTML, > like Gecko) Version/3.0 Mobile/4A93 Safari/419.3 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From shaosean at wehostmacs.com Wed Feb 20 00:25:34 2008 From: shaosean at wehostmacs.com (Shao Sean) Date: Wed, 20 Feb 2008 00:25:34 -0500 Subject: [semi-OT] iPhone help needed Message-ID: iPhone User Agent: Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A538a Safari/ 419. From userev at canelasoftware.com Wed Feb 20 00:52:28 2008 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 19 Feb 2008 21:52:28 -0800 Subject: RevCGI Hosts? In-Reply-To: <47BB9B94.5030105@fourthworld.com> References: <47BB9B94.5030105@fourthworld.com> Message-ID: On Feb 19, 2008, at 7:16 PM, Richard Gaskin wrote: > You and others here got me to take a look at DreamHost, and I've > been very happy with them over the last year since I signed on. I have both a Dreamhost and JaguarPC account. I am about to close out our JaguarPC accounts as their ftp upload max speed is around 125KB/ sec. I can saturate my pipe at 2 MB/Sec with DreamHost. Gotta love FIOS! Mark Talluto -- CANELA Software http://www.canelasoftware.com From jacque at hyperactivesw.com Wed Feb 20 00:53:45 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 19 Feb 2008 23:53:45 -0600 Subject: 2.9 b4 In-Reply-To: References: Message-ID: <47BBC069.4080008@hyperactivesw.com> Stephen Barncard wrote: > With all due respect to your attempt to report, I'm wondering how much > 2.9 beta bugs should be discussed on the USE-REV list rather than the > more closed IMPROVE REV list, or reports to Quality control. I'd hate to > see prospective new Rev users get turned off by comments here. And > non-beta testers might feel left out with the features they can't use > yet. Comments, headquarters? Heather? Lynn? Jacque? I wondered the same thing myself, and almost didn't reply to the original post. You are right, the details of 2.9 are supposed to be limited to the improve list, or logged into the QCC. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Feb 20 00:55:47 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 19 Feb 2008 23:55:47 -0600 Subject: RevCGI Hosts? In-Reply-To: <7c87a2a10802191909t54a0c74bt3b0030b97133f4e6@mail.gmail.com> References: <7aa52a210802181441m5a05cb60l32ca3f7ecef6ff84@mail.gmail.com> <1e91b2b70802181742i52ebf3d3l11165f21b3c594a1@mail.gmail.com> <7aa52a210802181815s6587e8e4m62d749afa5224422@mail.gmail.com> <47BB8864.2080607@hyperactivesw.com> <7c87a2a10802191909t54a0c74bt3b0030b97133f4e6@mail.gmail.com> Message-ID: <47BBC0E3.5030901@hyperactivesw.com> Andre Garzia wrote: > Where is he now? I never had a chance to talk to him. You would have liked each other, I think. I don't know where Mr. Raney is now. Last I heard he was sailing the Caribbean. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sarah.reichelt at gmail.com Wed Feb 20 00:57:14 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 20 Feb 2008 15:57:14 +1000 Subject: [semi-OT] iPhone help needed In-Reply-To: References: Message-ID: On Feb 20, 2008 3:25 PM, Shao Sean wrote: > iPhone User Agent: Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) > AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A538a Safari/ > 419. Thanks everyone, I got several responses, all basically the same as the one posted by Shao Sean. Some different numbers for the WebKit and Safari versions, but I just need to search for either iPod or iPhone in the HTTP_USER_AGENT text, then switch in my mobile style sheet. Luckily for me, we are an Apple-only operation, so I don't have to worry about any other mobile devices :-) Many thanks, Sarah From andre at andregarzia.com Wed Feb 20 01:24:20 2008 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 20 Feb 2008 03:24:20 -0300 Subject: Can we build console apps under linux? Message-ID: <7c87a2a10802192224h64573617x703950e0e0f31159@mail.gmail.com> Hello Friends, a quick question, can we build console based apps in Linux? I mean, applications that run without X11. I'm thinking about daemons and compiled cgis. Is there a way or all standalones try to connect to a display server no matter what I do. If I do all my business during startup and quit, does it still requires X11 to be running? Cheers andre -- http://www.andregarzia.com All We Do Is Code. From sunshine at public.kherson.ua Wed Feb 20 02:01:15 2008 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed, 20 Feb 2008 09:01:15 +0200 Subject: Cgi and Database (stick to standards) In-Reply-To: Message-ID: On 19/2/08 9:54 PM, "Hershel Fisch" wrote: Hi Hershel, > On 2/19/08 2:29 AM, "Ruslan Zasukhin" wrote: >> I wonder where you have found info that mySQL is worse of others (SqlLite or >> Postgre) on grow of db size ???> >> I do not think exists significant difference between mySQL and Postgre in >> regard of dependence on db size... > I didn't say its worse, on sqlite I read its site this info that its faster, > ok I do except that it might be on small or very small db's, on postgres I > did a lot of research a while ago. mySQL is a bit faster on smaller db's as > it gets lager it evens out then (in the Giga's) postgres is faster because > mySQL slows down a bit. Aha, so this is your own experience with Postgre. Okay. >>> or maybe I'll look into valentina. >> >> If you think about hosting, Valentina is unlikely choice. Only if you have >> own server. > So it looks like I'll have to stick to mySQL or PostgreSQL by the way I > didn't find posgres available for a decent price mostly mySQL is used. I think this is because thanks to "history" mySQL is loved by ISP. This did happens about 7-10 years ago when Postgre was much worse. For example it did have huge problems with non English languages while mySQL was able support e.g. Russian encodings. > So far I don't even have this problem yet because I don't know even on how > to get it to work. > The way it looks I'll have to redo the whole thing to php. > Hershel -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From viktoras at ekoinf.net Wed Feb 20 02:56:45 2008 From: viktoras at ekoinf.net (viktoras didziulis) Date: Wed, 20 Feb 2008 09:56:45 +0200 Subject: upgrade pricing In-Reply-To: References: <19C7CBBC-C4BA-41D5-AEE1-84B7FC908022@rcn.com> <325413300802191049r446b3657x38b59d87e96db576@mail.gmail.com> Message-ID: <47BBDD3D.8000800@ekoinf.net> i just noticed that for those who buy/upgrade Revolution in February the package comes with a free set of icons (http://miryesoftware.ning.com/). Unfortunately I renewed my license just 3 days before February, so no icons for me and I will continue using open source Tango and Crystal icon libraries. However it would be nice to hear that from 2.9 or 3.0 onwards any paying customer would receive a "default" library of icons with each Revolution download :-). While it is not a big chalenge for me anymore, I guess it would be very encouraging for any new customer new in software development with Rev to have a complete set of tools to start learning and working with at once. All the best! Viktoras Stephen Barncard wrote: > I'd say the 2.9 release is very close....the DP-4 beta rocks with just > a few things to fix. > > This release has a lot more value of a .1 release (the numbering > system was redone to accomodate the future features in the next big > release 3.0). > > for all practical purposes there are so many fixes and new features > addes since 2.8.1 that one can't really pigeonhole the progress made > by calling it a "point-release". 2.9 will be the most solid, feature > packed release yet. > > Besides, sooner or later you'll want 3.0 which is expected perhaps by > the middle of this year. (Remember 'Revolution Live' was rescheduled > to accomodate the announcement, if not release of version 3.0.) > > The stuff that's coming is awesome! Due to an NDA, I can't mention > what -- and if one is really curious then one will have to go to Las > Vegas this summer. -- or join the beta testers. > > >> Do we have a date for the 2.9 release? I am anxiously waiting! >> >> Neal >> > From lfredricks at proactive-intl.com Wed Feb 20 03:10:48 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed, 20 Feb 2008 00:10:48 -0800 Subject: 2.9 b4 In-Reply-To: <47BBC069.4080008@hyperactivesw.com> References: <47BBC069.4080008@hyperactivesw.com> Message-ID: <010701c87398$1a6ca490$6501a8c0@GATEWAY> > > With all due respect to your attempt to report, I'm > wondering how much > > 2.9 beta bugs should be discussed on the USE-REV list > rather than the > > more closed IMPROVE REV list, or reports to Quality > control. I'd hate > > to see prospective new Rev users get turned off by comments > here. And > > non-beta testers might feel left out with the features they > can't use > > yet. Comments, headquarters? Heather? Lynn? Jacque? > > I wondered the same thing myself, and almost didn't reply to > the original post. You are right, the details of 2.9 are > supposed to be limited to the improve list, or logged into the QCC. I agree with Jacque. The Improve List is where all things beta live, and much like Fight Club, that's the only place it should be discussed as its under the Fight Club NDA. One does not understand the real value of bruises unless one fights by the rules of Fight Club :-) Best regards, Lynn Fredricks Mirye Software Publishing http://www.mirye.com From revlist at azurevision.co.uk Wed Feb 20 03:25:02 2008 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 20 Feb 2008 08:25:02 +0000 Subject: 2.9 b4 In-Reply-To: <010701c87398$1a6ca490$6501a8c0@GATEWAY> References: <47BBC069.4080008@hyperactivesw.com> <010701c87398$1a6ca490$6501a8c0@GATEWAY> Message-ID: <941E2EFC-6A7F-49E0-9375-CD48621DBE66@azurevision.co.uk> On 20 Feb 2008, at 08:10, Lynn Fredricks wrote: > The Improve List is where all things beta live How about those of us that have Studio licences instead of Enterprise and are therefore not on the Improve List? ;-) Ian From m.schonewille at economy-x-talk.com Wed Feb 20 04:49:24 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 20 Feb 2008 10:49:24 +0100 Subject: 2.9 b4 In-Reply-To: <010701c87398$1a6ca490$6501a8c0@GATEWAY> References: <47BBC069.4080008@hyperactivesw.com> <010701c87398$1a6ca490$6501a8c0@GATEWAY> Message-ID: <0A2D086D-783A-48D9-9A38-A4333CECDB62@economy-x-talk.com> FYEO.... As far a I know, the public beta can be pubicly discussed on this mail list (the use list). The details of 2.9 are not supposed to be limited to the improve list, since everybody can sign up for beta testing without signing an NDA. Since bugs are stored in a public database, they can be discussed publicly on this mail list as well. Discussion is not limited to the improve list. If RunRev Ltd doesn't want us to discuss bugs, the QCC would have to be closed. People who have a studio license and are not on the improve list and have not signed an NDA can discuss everything wherever they like, including national secrets and the weather. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html Op 20-feb-2008, om 9:10 heeft Lynn Fredricks het volgende geschreven: > > I agree with Jacque. The Improve List is where all things beta > live, and > much like Fight Club, that's the only place it should be discussed > as its > under the Fight Club NDA. One does not understand the real value of > bruises > unless one fights by the rules of Fight Club :-) > > Best regards, > > Lynn Fredricks From dave.cragg at lacscentre.co.uk Wed Feb 20 04:56:48 2008 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 20 Feb 2008 09:56:48 +0000 Subject: RevCGI Hosts? In-Reply-To: <47BB8864.2080607@hyperactivesw.com> References: <7aa52a210802181441m5a05cb60l32ca3f7ecef6ff84@mail.gmail.com> <1e91b2b70802181742i52ebf3d3l11165f21b3c594a1@mail.gmail.com> <7aa52a210802181815s6587e8e4m62d749afa5224422@mail.gmail.com> <47BB8864.2080607@hyperactivesw.com> Message-ID: <06D9D8F2-DA0C-4AB5-8FAE-862F23F6B82C@lacscentre.co.uk> On 20 Feb 2008, at 01:54, J. Landman Gay wrote: > > I think we can relax as long as we don't script anything stupid. > Here are a couple of quotes from Scott Raney about it: Hi Jacque It wasn't the script content I was concerned about. Scripting problems exist wherever the engine is. My concern was that if the engine is in the cgi-bin folder, you can attempt to call the engine directly. For example, if the engine is named "rev", then what happens when you request the url "http:// some.server.com/cgi-bin/rev" Will Apache try to start the engine? My understanding of Apache and the cgi-bin folder suggests that it will. (But am not certain.) Normally, I think nothing will happen and the engine will immediately close. But if it were possible to coerce Apache to send parameters when opening the engine, the risks seem higher. In the case of the Windows Perl executable, I think Apache sent any query string attached to the url as a parameter. In some circumstances (forget details) the Perl executable will attempt to execute scripts passed as parameters. It was possible to craft a query string that would cause Perls to execute scripts. As I said, I'm reasonably confident this can't be done with Rev. (But it will accept parameters.) But it's usually not a problem to put the engine somewhere outside of the cgi-bin folder and adjust the top line of the script accordingly. The other advantage is that starting a script with #!usr/bin/revbin/ rev or #!../rev makes you look more knowledgeable than simply using #! rev It's like the subtle difference between quiche and egg pie. You'll swear your scripts run faster. :-) Cheers Dave From viktoras at ekoinf.net Wed Feb 20 05:50:21 2008 From: viktoras at ekoinf.net (viktoras didziulis) Date: Wed, 20 Feb 2008 12:50:21 +0200 Subject: 2.9 b4 In-Reply-To: <941E2EFC-6A7F-49E0-9375-CD48621DBE66@azurevision.co.uk> References: <47BBC069.4080008@hyperactivesw.com> <010701c87398$1a6ca490$6501a8c0@GATEWAY> <941E2EFC-6A7F-49E0-9375-CD48621DBE66@azurevision.co.uk> Message-ID: <47BC05ED.5080708@ekoinf.net> Just intended to ask the same question... E.g. me is interested in Revolution to be improved as much as possible. So many of us do this by participating in beta program, hunting those nasty bugs, reporting them, etc... And as a "reward and motivation" participation in the Improve list is limited by our personal incomes and looks rather like Investor-Relationship list instead :-). I really can't afford it - being a phd student in my part of the world is a financial challenge too... Sorry for making waves ;-) and all the best! Viktoras Ian Wood wrote: > > On 20 Feb 2008, at 08:10, Lynn Fredricks wrote: > >> The Improve List is where all things beta live > > How about those of us that have Studio licences instead of Enterprise > and are therefore not on the Improve List? > > ;-) > > Ian > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From revolution at derbrill.de Wed Feb 20 06:04:43 2008 From: revolution at derbrill.de (Malte Brill) Date: Wed, 20 Feb 2008 12:04:43 +0100 Subject: 2.9 b4 In-Reply-To: <20080220055552.CEAA1488F22@mail.runrev.com> References: <20080220055552.CEAA1488F22@mail.runrev.com> Message-ID: May I humbly disagree Lynn? there is a forum dedicated to the beta, which I believe is public. (Although I haven?t seen Bill around there much recently) So at least there is one place that is viewable by all, where comments on the Beta can be posted. I see no harm in discussing the Beta here too, although I would expect someone signing up for a Beta test programme, to get familar with the bug tracking system. If I hadn?t the time to actually test and submit feedback, I whould not sign up as a Beta Tester. However, unfamiliarity should not lead to valuable feedback being lost. Just my 2 Euro cents worth, Malte From viktoras at ekoinf.net Wed Feb 20 06:08:58 2008 From: viktoras at ekoinf.net (viktoras didziulis) Date: Wed, 20 Feb 2008 13:08:58 +0200 Subject: RevCGI Hosts? In-Reply-To: <06D9D8F2-DA0C-4AB5-8FAE-862F23F6B82C@lacscentre.co.uk> References: <7aa52a210802181441m5a05cb60l32ca3f7ecef6ff84@mail.gmail.com> <1e91b2b70802181742i52ebf3d3l11165f21b3c594a1@mail.gmail.com> <7aa52a210802181815s6587e8e4m62d749afa5224422@mail.gmail.com> <47BB8864.2080607@hyperactivesw.com> <06D9D8F2-DA0C-4AB5-8FAE-862F23F6B82C@lacscentre.co.uk> Message-ID: <47BC0A4A.9030707@ekoinf.net> possibility of the direct access to revolution engine (or any other file in cgi-bin) can be completely eliminated by putting .htaccess file with the following content into the cgi-bin directory: RewriteEngine on RewriteRule ^(.*)(rev|revolution)(.*) http://localhost/cgi-bin/ [nc] Now everyone trying to invoke rev or revolution from the outside world will be redirected to his own localhost. best wishes! Viktoras Dave Cragg wrote: > > On 20 Feb 2008, at 01:54, J. Landman Gay wrote: > >> >> I think we can relax as long as we don't script anything stupid. Here >> are a couple of quotes from Scott Raney about it: > > Hi Jacque > > It wasn't the script content I was concerned about. Scripting problems > exist wherever the engine is. > > My concern was that if the engine is in the cgi-bin folder, you can > attempt to call the engine directly. For example, if the engine is > named "rev", then what happens when you request the url > "http://some.server.com/cgi-bin/rev" > > Will Apache try to start the engine? My understanding of Apache and > the cgi-bin folder suggests that it will. (But am not certain.) > Normally, I think nothing will happen and the engine will immediately > close. But if it were possible to coerce Apache to send parameters > when opening the engine, the risks seem higher. In the case of the > Windows Perl executable, I think Apache sent any query string attached > to the url as a parameter. In some circumstances (forget details) the > Perl executable will attempt to execute scripts passed as parameters. > It was possible to craft a query string that would cause Perls to > execute scripts. > > As I said, I'm reasonably confident this can't be done with Rev. (But > it will accept parameters.) But it's usually not a problem to put the > engine somewhere outside of the cgi-bin folder and adjust the top line > of the script accordingly. > > The other advantage is that starting a script with > #!usr/bin/revbin/rev or #!../rev makes you look more knowledgeable > than simply using #!rev It's like the subtle difference between > quiche and egg pie. You'll swear your scripts run faster. :-) > > Cheers > Dave > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From wow at together.net Wed Feb 20 06:36:17 2008 From: wow at together.net (Richard Miller) Date: Wed, 20 Feb 2008 06:36:17 -0500 Subject: RevCGI Hosts? In-Reply-To: References: <47BB9B94.5030105@fourthworld.com> Message-ID: Two questions about both of these cgi hosting options: 1. how do you generate an email from these accounts? With libsmtp253 or something else? 2. can you use the "put x into ftp:url z" syntax or some other language to place data from the cgi-bin into a remote location on another server? Thanks. Richard Miller On Feb 20, 2008, at 12:52 AM, Mark Talluto wrote: > > On Feb 19, 2008, at 7:16 PM, Richard Gaskin wrote: > >> You and others here got me to take a look at DreamHost, and I've >> been very happy with them over the last year since I signed on. > > I have both a Dreamhost and JaguarPC account. I am about to close > out our JaguarPC accounts as their ftp upload max speed is around > 125KB/sec. I can saturate my pipe at 2 MB/Sec with DreamHost. > Gotta love FIOS! > > > Mark Talluto > -- > CANELA Software > http://www.canelasoftware.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Wed Feb 20 06:44:14 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 20 Feb 2008 12:44:14 +0100 Subject: RevCGI Hosts? In-Reply-To: References: <47BB9B94.5030105@fourthworld.com> Message-ID: <4999106F-2243-4BD4-82A6-5470702C6E1B@economy-x-talk.com> Hi Richard, The easiest way to send mail is probably It may depend on server configuration, but it should be possible to do FTP transfers from one web server to another, provided that the FTP library is uncluded. As a test, I wrote a CGI script that opened a socket on my computer at home. This worked fine. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html Op 20-feb-2008, om 12:36 heeft Richard Miller het volgende geschreven: > Two questions about both of these cgi hosting options: > > 1. how do you generate an email from these accounts? With > libsmtp253 or something else? > > 2. can you use the "put x into ftp:url z" syntax or some other > language to place data from the cgi-bin into a remote location on > another server? > > Thanks. > Richard Miller > From 00bioarchimed at free.fr Wed Feb 20 07:12:47 2008 From: 00bioarchimed at free.fr (Thierry) Date: Wed, 20 Feb 2008 13:12:47 +0100 Subject: verboseLog.txt In-Reply-To: <6935347D-6880-4592-A0CF-C08CF4E5DA1C@economy-x-talk.com> References: <6935347D-6880-4592-A0CF-C08CF4E5DA1C@economy-x-talk.com> Message-ID: <965A21E4-B619-4362-ACEB-EDCD5766EE5E@free.fr> Hi Mark , > You can turn this off with a global or property... don't remember > by heart, but you can also download Verbose Logging Plugin from > Revonline, user name Mark. This allows you to turn it on and off. So, a quick comment on what I've found... the rev command is: revVerboseDebug true/false the global is: gREVVerboseDebug the property in stack "revPreferences" is: the cVerboseDebug HTH, Thanks Mark for your help, Regards, Thierry From len-morgan at crcom.net Wed Feb 20 08:58:07 2008 From: len-morgan at crcom.net (Len Morgan) Date: Wed, 20 Feb 2008 07:58:07 -0600 Subject: Dialog Stack Design Questions Message-ID: <47BC31EF.1080400@crcom.net> I'm wondering what is the "recommended" way of handling a lot of dialog boxes in applications. There are a couple of way of handling this that I've thought of but I don't know what would be considered "best:" 1) A separate stack for each dialog. Pros: Sizing, function (information only, getting user input, etc) can be implemented without worrying about it's effect on other dialogs. Cons: You need the basic "stack overhead" repeated over and over for each dialog 2) One dialog stack with multiple cards (one for each dialog). Pros: Single stack overhead (smaller file size) Cons: Every time a dialog is opened, the correct card has to be selected and then the stack has to be resized for that particular dialog. 3) Some other approach. Any advice? I know I could use either one and make it work but I looking for "best practice" advice. Thanks! Len Morgan From revlist at azurevision.co.uk Wed Feb 20 09:37:15 2008 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 20 Feb 2008 14:37:15 +0000 Subject: Dialog Stack Design Questions In-Reply-To: <47BC31EF.1080400@crcom.net> References: <47BC31EF.1080400@crcom.net> Message-ID: What kind of dialog boxes do you needing to show? My personal take is that dialog boxes should be kept as simple as possible, and therefore the built-in answer and ask commands cover about 90% of my needs plus a small number of separate stacks for the remaining more complex ones. Ian On 20 Feb 2008, at 13:58, Len Morgan wrote: > I'm wondering what is the "recommended" way of handling a lot of > dialog boxes in applications. There are a couple of way of handling > this that I've thought of but I don't know what would be considered > "best:" > > 1) A separate stack for each dialog. > > 2) One dialog stack with multiple cards (one for each dialog). > > 3) Some other approach. From eric.chatonet at sosmartsoftware.com Wed Feb 20 10:11:15 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 20 Feb 2008 16:11:15 +0100 Subject: Dialog Stack Design Questions In-Reply-To: <47BC31EF.1080400@crcom.net> References: <47BC31EF.1080400@crcom.net> Message-ID: <3EEE0ACC-AB57-4039-87F0-7963638E6850@sosmartsoftware.com> Hi Len, First I have to say that I try to minimize dialogs use. In many cases, I use a group on the current card but with a darker background because, as a user, I hate to have hundreds windows, all different, that show up and have to be closed as you can see them in MS Word for instance. I reserve 'external' dialogs for alerts only. And I never use 'Ask' because I want to master the kind of data I let the user enter in any entry box. All my users seem pleased with this way of doing that is based, before everything else, on a deep ergonomic study. Now if you want to make many dialogs showing up, I would recommend to pay attention at each window layout to make them a 'real family'. About using a single stack or several, I don't think that file size is now a problem and, above all, different stacks make reuse later easier in any project. Le 20 f?vr. 08 ? 14:58, Len Morgan a ?crit : > I'm wondering what is the "recommended" way of handling a lot of > dialog boxes in applications. There are a couple of way of > handling this that I've thought of but I don't know what would be > considered "best:" > > 1) A separate stack for each dialog. > Pros: Sizing, function (information only, getting user input, > etc) can be implemented without worrying about it's effect > on other dialogs. > Cons: You need the basic "stack overhead" repeated over and over > for each dialog > > 2) One dialog stack with multiple cards (one for each dialog). > Pros: Single stack overhead (smaller file size) > Cons: Every time a dialog is opened, the correct card has to be > selected and then the stack has to be resized for that > particular dialog. > > 3) Some other approach. > > Any advice? I know I could use either one and make it work but I > looking for "best practice" advice. > > > Thanks! > > Len Morgan Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From rjb at robelko.com Wed Feb 20 10:32:01 2008 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 20 Feb 2008 16:32:01 +0100 Subject: Dialog Stack Design Questions In-Reply-To: <47BC31EF.1080400@crcom.net> References: <47BC31EF.1080400@crcom.net> Message-ID: On 20/02/08 at 07:58 -0600 Len Morgan apparently wrote: >I'm wondering what is the "recommended" way of handling a lot of >dialog boxes in applications. There are a couple of way of handling >this that I've thought of but I don't know what would be considered >"best:" There is no single best solution. All depends on a number of factors. >1) A separate stack for each dialog. > Pros: Sizing, function (information only, getting user input, >etc) can be implemented without worrying about it's effect > on other dialogs. > Cons: You need the basic "stack overhead" repeated over and over >for each dialog You can have a common library stack which handles common functions, so each individual stack has only stuff that is unique to it. In this approach you indeed keep multiple stacks loaded in memory, but nowadays this is seldom an issue. If you need to show one dialog on top of another, this is the only approach. >2) One dialog stack with multiple cards (one for each dialog). > Pros: Single stack overhead (smaller file size) > Cons: Every time a dialog is opened, the correct card has to be >selected and then the stack has to be resized for that >particular > dialog. Which card to open can be passed through the dialogData property. Resizing can be done by having size (and possibly location) stored in a custom property of each card and set in the preopencard handler. If you need dynamic sizing of dialogs, peek at the scripts in the answer stack provided with Revolution. >3) Some other approach. Similar to 2) but instead of cards, you can have controls for each dialog kept as groups that you show and hide. Since some elements can be shared, so it makes this a tad more compact than 2 and eliminates switching cards. Resizing/positioning works same as in 2). >Any advice? I know I could use either one and make it work but I >looking for "best practice" advice. You can mix and match the approaches. If you have a few similar dialogs, you can use approach 2 or 3 for them. For dissimilar dialogs stay with 1. Whatever fits best your programming style and the logic of your program. Robert From lfredricks at proactive-intl.com Wed Feb 20 11:37:50 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed, 20 Feb 2008 08:37:50 -0800 Subject: 2.9 b4 In-Reply-To: References: <20080220055552.CEAA1488F22@mail.runrev.com> Message-ID: <003701c873de$f0368d20$6501a8c0@GATEWAY> > May I humbly disagree Lynn? I thought I heard chest smacking and leaf throwing there Malte ;-) > there is a forum dedicated to the beta, which I believe is public. > > 8f16875cdaf781cc8b42ff0e01 > > > > (Although I haven?t seen Bill around there much recently) OoOoOoh Bill? > So at least there is one place that is viewable by all, where > comments on the Beta can be posted. > I see no harm in discussing the Beta here too, although I > would expect someone signing up for a Beta test programme, to > get familar with the bug tracking system. If I hadn?t the > time to actually test and submit feedback, I whould not sign > up as a Beta Tester. However, unfamiliarity should not lead > to valuable feedback being lost. Aha - well yes, if the Open Community Beta is still going on for 2.9, then sure. I guess what then you need to be careful about is talking about anything that's discussed in regards to the beta in specific to what is on the Improve List. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From paulgabel at comcast.net Wed Feb 20 11:59:22 2008 From: paulgabel at comcast.net (Paul Gabel) Date: Wed, 20 Feb 2008 08:59:22 -0800 Subject: Dialog Stack Design Questions In-Reply-To: References: <47BC31EF.1080400@crcom.net> Message-ID: <78492786-B295-4230-9D2F-B8AAD6171FCB@comcast.net> Len and Robert: Another solution is to designate one card in your stack as the dialog card, title it "Information," and place a field, a Cancel button, and an OK button on it. Then place the dialog information into the field by script as shown below. This method is very flexible and conserving of resources. global theOK on linkClicked -- linked text in this particular case put 2 into theOK put "--------------------" into field "Info" of card "Information" go card "Information" wait while theOK = 2 with messages if theOK = 1 then go recent card -- occurs when the user clicks on the OK button on card "Information" end linkClicked In the OK button on card "Information" include the handler: global theOK on mouseUp put 1 into theOK end mouseUp --------------- On Feb 20, 2008, at 7:32 AM, Robert Brenstein wrote: > On 20/02/08 at 07:58 -0600 Len Morgan apparently wrote: >> I'm wondering what is the "recommended" way of handling a lot of >> dialog boxes in applications. There are a couple of way of >> handling this that I've thought of but I don't know what would be >> considered "best:" > > There is no single best solution. All depends on a number of factors. From jacque at hyperactivesw.com Wed Feb 20 12:54:33 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Feb 2008 11:54:33 -0600 Subject: RevCGI Hosts? In-Reply-To: <06D9D8F2-DA0C-4AB5-8FAE-862F23F6B82C@lacscentre.co.uk> References: <7aa52a210802181441m5a05cb60l32ca3f7ecef6ff84@mail.gmail.com> <1e91b2b70802181742i52ebf3d3l11165f21b3c594a1@mail.gmail.com> <7aa52a210802181815s6587e8e4m62d749afa5224422@mail.gmail.com> <47BB8864.2080607@hyperactivesw.com> <06D9D8F2-DA0C-4AB5-8FAE-862F23F6B82C@lacscentre.co.uk> Message-ID: <47BC6959.5060202@hyperactivesw.com> Dave Cragg wrote: > My concern was that if the engine is in the cgi-bin folder, you can > attempt to call the engine directly. For example, if the engine is named > "rev", then what happens when you request the url > "http://some.server.com/cgi-bin/rev" I get an "internal server error" and nothing happens. > > Will Apache try to start the engine? Doesn't look like it, or if it does, it won't work. I think that's what Scott Raney was saying. The only vulnerabilities the engine allows are the ones you write into your scripts yourself. > My understanding of Apache and the > cgi-bin folder suggests that it will. (But am not certain.) Normally, I > think nothing will happen and the engine will immediately close. But if > it were possible to coerce Apache to send parameters when opening the > engine, the risks seem higher. I'm not sure how to pass parameters like that. If someone knows, I'd like to test it. > As I said, I'm reasonably confident this can't be done with Rev. (But it > will accept parameters.) But it's usually not a problem to put the > engine somewhere outside of the cgi-bin folder and adjust the top line > of the script accordingly. > > The other advantage is that starting a script with #!usr/bin/revbin/rev > or #!../rev makes you look more knowledgeable than simply using #!rev > It's like the subtle difference between quiche and egg pie. You'll swear > your scripts run faster. :-) I can't argue with that. :) BTW, even though I said I just name my cgi engine "rev", I lied. I didn't. I named it something unguessable, just to be safe. So you and I aren't so different after all. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Wed Feb 20 13:52:19 2008 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 20 Feb 2008 10:52:19 -0800 Subject: way OT bass players ... was filter without empty References: <47B48ADA.7080702@fourthworld.com> Message-ID: Richard- > Klaus: no MP3s at your site? ...and no mp3s on my site either... apparently JaguarPC has been fiddling with server things again and lost all my website files so I'll have to upload them again, but I've got some at http://cdbaby.com/cd/alephnull if anyone cares... -- Mark Wieder mwieder at ahsoftware.net From wow at together.net Wed Feb 20 14:00:49 2008 From: wow at together.net (Richard Miller) Date: Wed, 20 Feb 2008 14:00:49 -0500 Subject: RevCGI Hosts? In-Reply-To: <4999106F-2243-4BD4-82A6-5470702C6E1B@economy-x-talk.com> References: <47BB9B94.5030105@fourthworld.com> <4999106F-2243-4BD4-82A6-5470702C6E1B@economy-x-talk.com> Message-ID: <6ACE9864-C915-4758-95C3-CCCC978A848D@together.net> Hi Mark, Maybe I'm missing something, but it seems that cgiemail is designed to work when generated from an html input form. What I need to do is send an email directly to a recipient right from my Rev cgi program (where the email address is coming out of a database...not from a form). Can cgiemail do that? Thanks. Richard On Feb 20, 2008, at 6:44 AM, Mark Schonewille wrote: > Hi Richard, > > The easiest way to send mail is probably gmane.comp.ide.revolution.user/106139/match=mail+cgi> > > It may depend on server configuration, but it should be possible to > do FTP transfers from one web server to another, provided that the > FTP library is uncluded. As a test, I wrote a CGI script that > opened a socket on my computer at home. This worked fine. > > Best regards, > > Mark Schonewille > > -- > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Convert colours between different colour spaces with Color > Converter. Download at http://economy-x-talk.com/cc.html > > > > Op 20-feb-2008, om 12:36 heeft Richard Miller het volgende geschreven: > >> Two questions about both of these cgi hosting options: >> >> 1. how do you generate an email from these accounts? With >> libsmtp253 or something else? >> >> 2. can you use the "put x into ftp:url z" syntax or some other >> language to place data from the cgi-bin into a remote location on >> another server? >> >> Thanks. >> Richard Miller >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Wed Feb 20 14:48:08 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 20 Feb 2008 11:48:08 -0800 Subject: way OT bass players ... was filter without empty Message-ID: <47BC83F8.8040808@fourthworld.com> Mark Wieder wrote: > Richard- > >> Klaus: no MP3s at your site? > > ...and no mp3s on my site either... apparently JaguarPC has been fiddling > with server things again and lost all my website files so I'll have to > upload them again, but I've got some at http://cdbaby.com/cd/alephnull if > anyone cares... Wow! About half my collection is world music, and your wonderful tunes will fit right in. Great stuff, Mark! Is there an option to purchase a download rather than wait for a physical CD? PS: Really nice cover art. Gorgeous. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From len-morgan at crcom.net Wed Feb 20 15:11:13 2008 From: len-morgan at crcom.net (Len Morgan) Date: Wed, 20 Feb 2008 14:11:13 -0600 Subject: Dialog Stack Design Questions In-Reply-To: <78492786-B295-4230-9D2F-B8AAD6171FCB@comcast.net> References: <47BC31EF.1080400@crcom.net> <78492786-B295-4230-9D2F-B8AAD6171FCB@comcast.net> Message-ID: <47BC8961.6080507@crcom.net> Thanks to everyone for their responses. It appears that: 1) There are MANY ways to handle dialog boxes (I knew that before) 2) The is NO best way to do it. I guess Rev's blessing of flexibility can also be a curse! :-) len From stephenREVOLUTION2 at barncard.com Wed Feb 20 15:11:34 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Wed, 20 Feb 2008 12:11:34 -0800 Subject: Dreamhost vs Jaguar PC In-Reply-To: References: <47B48ADA.7080702@fourthworld.com> Message-ID: FYI. I've been with Dreamhost for over 5 years and THAT never happened there. >...and no mp3s on my site either... apparently JaguarPC has been fiddling >with server things again and lost all my website files so I'll have to -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From jacque at hyperactivesw.com Wed Feb 20 15:43:01 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Feb 2008 14:43:01 -0600 Subject: Dreamhost vs Jaguar PC In-Reply-To: References: <47B48ADA.7080702@fourthworld.com> Message-ID: <47BC90D5.6060607@hyperactivesw.com> Stephen Barncard wrote: > FYI. I've been with Dreamhost for over 5 years and THAT never happened > there. > >> ...and no mp3s on my site either... apparently JaguarPC has been fiddling >> with server things again and lost all my website files so I'll have to > > I've been with JaguarPC (and its predecessors) for over 8 years and it's never happened to me either. Mark, you should write to support and find out what happened. It's definitely not normal. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Wed Feb 20 15:44:55 2008 From: chipp at chipp.com (Chipp Walters) Date: Wed, 20 Feb 2008 14:44:55 -0600 Subject: Question with CGI at JaguarPC.. Message-ID: <7aa52a210802201244q477e83e2r456d2fbe815d4bd0@mail.gmail.com> Hi all, I'm still trying to get a cgi working at JaguarPC. I've created a folder mycgi and put the revolution engine in it, etc. I've successfully created a 'helloworld.cgi' which works. Next I used Jacque's echo.mt script....changed it to echo.cgi and it works fine. Then, I created a small cgi, that opens a simple stack and reads from the first card and outputs it. This works fine using my localmachine webserver. While part of the script rund, the stack never opens using my Jaguar account. Here's the script: #!revolution on startup put "Content-Type: text/plain" & cr & cr put "Hello World!" put the files put cr & the version --> RETURNS 2.6.6 if there is a file "BasicComments.rev" then put cr & "found it" --> SCRIPTS STOPS EXECUTING HERE open stack "BasicComments.rev" put the long name of field 1 of stack "BasicComments.rev" into t put t close stack "BasicComments.rev" else put "Can't find it" end if --> BELOW NOT EXECUTED put "done" end startup I've checked permissions and everything seems ok. The stack is named in the files list the cgi renders to text, just it never runs. The capitalization of the stack seems correct. Is there an issue with Linux Rev 2.6.6 engine? Any help is much appreciated :-) -Chipp From chipp at chipp.com Wed Feb 20 15:47:56 2008 From: chipp at chipp.com (Chipp Walters) Date: Wed, 20 Feb 2008 14:47:56 -0600 Subject: Question with CGI at JaguarPC.. In-Reply-To: <7aa52a210802201244q477e83e2r456d2fbe815d4bd0@mail.gmail.com> References: <7aa52a210802201244q477e83e2r456d2fbe815d4bd0@mail.gmail.com> Message-ID: <7aa52a210802201247w549a3af6ka88cce684088cc76@mail.gmail.com> As Chris tells me... "Now you get to answer your own question." Which is simply the 2.6.6 engine doesn't open a 2.8.1 stack....DUH So, now off to download the 2.9 beta engine and try that one... From jacque at hyperactivesw.com Wed Feb 20 15:49:54 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Feb 2008 14:49:54 -0600 Subject: Question with CGI at JaguarPC.. In-Reply-To: <7aa52a210802201244q477e83e2r456d2fbe815d4bd0@mail.gmail.com> References: <7aa52a210802201244q477e83e2r456d2fbe815d4bd0@mail.gmail.com> Message-ID: <47BC9272.5010905@hyperactivesw.com> Chipp Walters wrote: > Hi all, > > I'm still trying to get a cgi working at JaguarPC. I've created a folder > mycgi and put the revolution engine in it, etc. I've successfully created a > 'helloworld.cgi' which works. > > Next I used Jacque's echo.mt script....changed it to echo.cgi and it works > fine. > > Then, I created a small cgi, that opens a simple stack and reads from the > first card and outputs it. This works fine using my localmachine webserver. > > While part of the script rund, the stack never opens using my Jaguar > account. > > Here's the script: > > #!revolution > > on startup > > put "Content-Type: text/plain" & cr & cr > put "Hello World!" > put the files > put cr & the version > --> RETURNS 2.6.6 > if there is a file "BasicComments.rev" then > put cr & "found it" > > --> SCRIPTS STOPS EXECUTING HERE > open stack "BasicComments.rev" > > put the long name of field 1 of stack "BasicComments.rev" into t > put t > close stack "BasicComments.rev" > else > put "Can't find it" > end if > > --> BELOW NOT EXECUTED > put "done" > > end startup > > I've checked permissions and everything seems ok. The stack is named in the > files list the cgi renders to text, just it never runs. The capitalization > of the stack seems correct. Is there an issue with Linux Rev 2.6.6 engine? > Any help is much appreciated :-) You can't "open" files in a cgi script (opening a stack requires the UI, which doesn't exist in the cgi engine.) You have to "start using stack" instead. Change the "open stack" line to "start using stack" and it should work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Feb 20 15:56:49 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Feb 2008 14:56:49 -0600 Subject: Question with CGI at JaguarPC.. In-Reply-To: <7aa52a210802201244q477e83e2r456d2fbe815d4bd0@mail.gmail.com> References: <7aa52a210802201244q477e83e2r456d2fbe815d4bd0@mail.gmail.com> Message-ID: <47BC9411.9050709@hyperactivesw.com> Chipp Walters wrote: > While part of the script rund, the stack never opens using my Jaguar > account. Just in case, here's a few more tips about using stacks with CGI scripts: **** A brief list of things to keep in mind when using stacks with CGIs: * Stacks must be put in use to be recognized. * Set the defaultstack, or refer to all objects by their long names. * Examine the environment variable $REQUEST_METHOD if necessary to see how form parameters are being sent. For the "get" method, read $QUERY_STRING. For the "post" method, read from stdin until empty. * Use the split command and the urlDecode function to parse script parameters. These items are discussed in more detail below. **** ("Below" being at: ) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Wed Feb 20 16:03:01 2008 From: chipp at chipp.com (Chipp Walters) Date: Wed, 20 Feb 2008 15:03:01 -0600 Subject: Question with CGI at JaguarPC.. In-Reply-To: <47BC9272.5010905@hyperactivesw.com> References: <7aa52a210802201244q477e83e2r456d2fbe815d4bd0@mail.gmail.com> <47BC9272.5010905@hyperactivesw.com> Message-ID: <7aa52a210802201303iaf5666em296603491aa17099@mail.gmail.com> Are you sure? http://bjoernke.com/runrev/cgi.php On Wed, Feb 20, 2008 at 2:49 PM, J. Landman Gay wrote: > > You can't "open" files in a cgi script (opening a stack requires the UI, > which doesn't exist in the cgi engine.) You have to "start using stack" > instead. Change the "open stack" line to "start using stack" and it > should work. From mark at maseurope.net Wed Feb 20 16:04:46 2008 From: mark at maseurope.net (Mark Smith) Date: Wed, 20 Feb 2008 21:04:46 +0000 Subject: [ANN] libS3 In-Reply-To: References: Message-ID: <23B180F4-0A01-446F-A88F-489E780B210D@maseurope.net> Sorry, that url is: http://maspub.s3.amazonaws.com/libS3.zip for the thousands clamouring to download it :) Best, Mark On 19 Feb 2008, at 13:35, Mark Smith wrote: > I've made a library for working with the amazon s3 storage service. > This is working well on my OS X machine, but is not much more than > a beta, so any and all comments and suggestions will be welcome, > either on or off list. > > And to demonstrate the Revolution 'eating your own haggis' > principle, you can get it here: > > http://maspub.s3.amazonaws.com/libS3 1.0.0.zip > > Best, > > Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Wed Feb 20 16:12:31 2008 From: chipp at chipp.com (Chipp Walters) Date: Wed, 20 Feb 2008 15:12:31 -0600 Subject: Question with CGI at JaguarPC.. In-Reply-To: <47BC9272.5010905@hyperactivesw.com> References: <7aa52a210802201244q477e83e2r456d2fbe815d4bd0@mail.gmail.com> <47BC9272.5010905@hyperactivesw.com> Message-ID: <7aa52a210802201312l5168f664mf321b5d2ab35e218@mail.gmail.com> Jacque (or anyone else), I've installed the latest best 2.9 Linux revolution and now the helloworld.cgi doesn't even work. Are you (or anyone) using the 2.9 latest beta successfully, and if not, can you point me to a version which does actually work, which also works with the lastest stack file formats? I imagine there are some shared library dependencies which may not be 'hooked up correctly' for 2.9 to work-- though this is only a guess. -Chipp On Wed, Feb 20, 2008 at 2:49 PM, J. Landman Gay wrote: > Chipp Walters wrote: > > Hi all, > > > > I'm still trying to get a cgi working at JaguarPC. I've created a folder > > mycgi and put the revolution engine in it, etc. I've successfully > created a > > 'helloworld.cgi' which works. > > > > Next I used Jacque's echo.mt script....changed it to echo.cgi and it > works > > fine. > > > > Then, I created a small cgi, that opens a simple stack and reads from > the > > first card and outputs it. This works fine using my localmachine > webserver. > > > > While part of the script rund, the stack never opens using my Jaguar > > account. > > > > Here's the script: > > > > #!revolution > > > > on startup > > > > put "Content-Type: text/plain" & cr & cr > > put "Hello World!" > > put the files > > put cr & the version > > --> RETURNS 2.6.6 > > if there is a file "BasicComments.rev" then > > put cr & "found it" > > > > --> SCRIPTS STOPS EXECUTING HERE > > open stack "BasicComments.rev" > > > > put the long name of field 1 of stack "BasicComments.rev" into t > > put t > > close stack "BasicComments.rev" > > else > > put "Can't find it" > > end if > > > > --> BELOW NOT EXECUTED > > put "done" > > > > end startup > > > > I've checked permissions and everything seems ok. The stack is named in > the > > files list the cgi renders to text, just it never runs. The > capitalization > > of the stack seems correct. Is there an issue with Linux Rev 2.6.6engine? > > Any help is much appreciated :-) > > You can't "open" files in a cgi script (opening a stack requires the UI, > which doesn't exist in the cgi engine.) You have to "start using stack" > instead. Change the "open stack" line to "start using stack" and it > should work. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Wed Feb 20 16:27:01 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Feb 2008 15:27:01 -0600 Subject: Question with CGI at JaguarPC.. In-Reply-To: <7aa52a210802201303iaf5666em296603491aa17099@mail.gmail.com> References: <7aa52a210802201244q477e83e2r456d2fbe815d4bd0@mail.gmail.com> <47BC9272.5010905@hyperactivesw.com> <7aa52a210802201303iaf5666em296603491aa17099@mail.gmail.com> Message-ID: <47BC9B25.3080601@hyperactivesw.com> Chipp Walters wrote: > Are you sure? > > http://bjoernke.com/runrev/cgi.php Well, I used to be. :) Maybe something's changed. Or maybe "go" still doesn't work but "open" does... Haven't tried it for a while. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Feb 20 16:35:04 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Feb 2008 15:35:04 -0600 Subject: Question with CGI at JaguarPC.. In-Reply-To: <7aa52a210802201303iaf5666em296603491aa17099@mail.gmail.com> References: <7aa52a210802201244q477e83e2r456d2fbe815d4bd0@mail.gmail.com> <47BC9272.5010905@hyperactivesw.com> <7aa52a210802201303iaf5666em296603491aa17099@mail.gmail.com> Message-ID: <47BC9D08.4000905@hyperactivesw.com> Chipp Walters wrote: > Are you sure? > > http://bjoernke.com/runrev/cgi.php > I just did a quick test on my local server, and "open" fails there. "Start using" works. When I use "open" I do not get an error, but the script hangs. Granted, this is using an old copy of the engine, the last Darwin engine that was released 3 years ago. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Wed Feb 20 16:46:27 2008 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 20 Feb 2008 13:46:27 -0800 Subject: Dreamhost vs Jaguar PC References: <47B48ADA.7080702@fourthworld.com> <47BC90D5.6060607@hyperactivesw.com> Message-ID: Jacque- > I've been with JaguarPC (and its predecessors) for over 8 years and it's > never happened to me either. Mark, you should write to support and find > out what happened. It's definitely not normal. rotfl... I did get that part figured out. I'm not too worried since I've got all the files backed up and I've got Jaguar on a monthly probationary basis, so I can drop them anytime and go with someone more reliable. Every time I think things have settled down with their hosting servers something else happens. At least this time they didn't lose a few days worth of email for me like when the hosting server's power supply died. I'd copy the support email traffic on that but the language isn't appropriate for this list... I love JaguarPC's redefinition of 24/7 support: email support and you'll get an email answer within 24 hours 7 days a week. -- Mark Wieder mwieder at ahsoftware.net From chipp at chipp.com Wed Feb 20 16:48:49 2008 From: chipp at chipp.com (Chipp Walters) Date: Wed, 20 Feb 2008 15:48:49 -0600 Subject: Question with CGI at JaguarPC.. In-Reply-To: <47BC9D08.4000905@hyperactivesw.com> References: <7aa52a210802201244q477e83e2r456d2fbe815d4bd0@mail.gmail.com> <47BC9272.5010905@hyperactivesw.com> <7aa52a210802201303iaf5666em296603491aa17099@mail.gmail.com> <47BC9D08.4000905@hyperactivesw.com> Message-ID: <7aa52a210802201348n44f3df06k8d5b268cf0911e33@mail.gmail.com> Yeah, I guess I'll have to work my CGI's in 2.6.1.....bummer as I hate working in 2 diff IDE's. This legacy format thing really sucks especially since there's no engine support for the new format. I tried uploading and using the file called "Standalone" (renaming it 'revolution') in the Linux Runtime directory...and it doesn't work at JaguarPC. I'll keep on banging my head against this thing and let you know what I find out... From jacque at hyperactivesw.com Wed Feb 20 16:53:08 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Feb 2008 15:53:08 -0600 Subject: Dreamhost vs Jaguar PC In-Reply-To: References: <47B48ADA.7080702@fourthworld.com> <47BC90D5.6060607@hyperactivesw.com> Message-ID: <47BCA144.6030505@hyperactivesw.com> Mark Wieder wrote: > Jacque- > >> I've been with JaguarPC (and its predecessors) for over 8 years and it's >> never happened to me either. Mark, you should write to support and find >> out what happened. It's definitely not normal. > > rotfl... I did get that part figured out. Did you find out what went wrong? I've never had any of the problems you mention, but if things are happening to you regularly then I guess I wouldn't blame you for moving elsewhere. On the two occasions I needed it, their tech support has always responded to my questions within an hour or so. I'm not necessarily defending them, I just haven't had a good reason to leave. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From hershf at rgllc.us Wed Feb 20 16:53:07 2008 From: hershf at rgllc.us (Hershel Fisch) Date: Wed, 20 Feb 2008 16:53:07 -0500 Subject: 2.9 b4 In-Reply-To: <47BBC069.4080008@hyperactivesw.com> Message-ID: On 2/20/08 12:53 AM, "J. Landman Gay" wrote: > Stephen Barncard wrote: >> With all due respect to your attempt to report, I'm wondering how much >> 2.9 beta bugs should be discussed on the USE-REV list rather than the >> more closed IMPROVE REV list, or reports to Quality control. I'd hate to >> see prospective new Rev users get turned off by comments here. And >> non-beta testers might feel left out with the features they can't use >> yet. Comments, headquarters? Heather? Lynn? Jacque? > > I wondered the same thing myself, and almost didn't reply to the > original post. You are right, the details of 2.9 are supposed to be > limited to the improve list, or logged into the QCC. Yes, I'm sorry about that I do understand but actualy now found out that there is another list to post on And by the way, J, didn't you put yours as well? Hershel From jacque at hyperactivesw.com Wed Feb 20 16:59:56 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Feb 2008 15:59:56 -0600 Subject: 2.9 b4 In-Reply-To: References: Message-ID: <47BCA2DC.8050005@hyperactivesw.com> Hershel Fisch wrote: > Yes, I'm sorry about that I do understand but actualy now found out that > there is another list to post on > And by the way, J, didn't you put yours as well? Yes, but on second thought I probably shouldn't have. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Feb 20 17:04:59 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Feb 2008 16:04:59 -0600 Subject: Question with CGI at JaguarPC.. In-Reply-To: <7aa52a210802201348n44f3df06k8d5b268cf0911e33@mail.gmail.com> References: <7aa52a210802201244q477e83e2r456d2fbe815d4bd0@mail.gmail.com> <47BC9272.5010905@hyperactivesw.com> <7aa52a210802201303iaf5666em296603491aa17099@mail.gmail.com> <47BC9D08.4000905@hyperactivesw.com> <7aa52a210802201348n44f3df06k8d5b268cf0911e33@mail.gmail.com> Message-ID: <47BCA40B.2090700@hyperactivesw.com> Chipp Walters wrote: > Yeah, I guess I'll have to work my CGI's in 2.6.1.....bummer as I hate > working in 2 diff IDE's. > > This legacy format thing really sucks especially since there's no engine > support for the new format. > I tried uploading and using the file called "Standalone" (renaming it > 'revolution') in the Linux Runtime directory...and it doesn't work at > JaguarPC. > > I'll keep on banging my head against this thing and let you know what I find > out... I'll give it a try too later today, now that you've got me curious. BTW, you don't have to work in a separate IDE to save as a legacy stack. For now, when you are ready to save a stack for the server, just do a "save as" and change the popup button at the bottom of the save file dialog to "legacy format". That should work. (Media users, note that you don't have that button.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Wed Feb 20 17:16:07 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 20 Feb 2008 14:16:07 -0800 Subject: Question with CGI at JaguarPC.. Message-ID: <47BCA6A7.7060503@fourthworld.com> Anyone here every use a standalone as a CGI on Linux? I've been unable to, but I'd be interested in hearing success stories. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From chipp at chipp.com Wed Feb 20 17:42:37 2008 From: chipp at chipp.com (Chipp Walters) Date: Wed, 20 Feb 2008 16:42:37 -0600 Subject: Question with CGI at JaguarPC.. In-Reply-To: <47BCA40B.2090700@hyperactivesw.com> References: <7aa52a210802201244q477e83e2r456d2fbe815d4bd0@mail.gmail.com> <47BC9272.5010905@hyperactivesw.com> <7aa52a210802201303iaf5666em296603491aa17099@mail.gmail.com> <47BC9D08.4000905@hyperactivesw.com> <7aa52a210802201348n44f3df06k8d5b268cf0911e33@mail.gmail.com> <47BCA40B.2090700@hyperactivesw.com> Message-ID: <7aa52a210802201442g4f7531bev4483a2874c4e49fb@mail.gmail.com> Well, I got the cgi up and running. "Open stack" worked fine. Supposedly you need to call "close stack" though I haven't tested it. Another note of interest... my comments are typically: --> THIS IS A COMMENT...2 DASHES FOLLOWED BY A GREATER THAN SIGN but they just hang the cgi for some reason (engine 2.6.6 - Linux) but these work as comments: // THIS IS A VALID COMMENT # SO IS THIS what up? Also, in 2.8.1-gm-3, using the "Preserve stack file version on stacks saved in legacy format" preference doesn't work. It saves them in the new format. Funny thing is, even my old StackFormat plugin won't save the stacks in legacy format...Is there a new command for this? It used to be set the stackFileVersion to...(new stack version) But, it doesn't seem to work...any other ideas? TIA, Chipp From cmsheffield at gmail.com Wed Feb 20 17:54:38 2008 From: cmsheffield at gmail.com (Chris Sheffield) Date: Wed, 20 Feb 2008 15:54:38 -0700 Subject: Question with CGI at JaguarPC.. In-Reply-To: <7aa52a210802201442g4f7531bev4483a2874c4e49fb@mail.gmail.com> References: <7aa52a210802201244q477e83e2r456d2fbe815d4bd0@mail.gmail.com> <47BC9272.5010905@hyperactivesw.com> <7aa52a210802201303iaf5666em296603491aa17099@mail.gmail.com> <47BC9D08.4000905@hyperactivesw.com> <7aa52a210802201348n44f3df06k8d5b268cf0911e33@mail.gmail.com> <47BCA40B.2090700@hyperactivesw.com> <7aa52a210802201442g4f7531bev4483a2874c4e49fb@mail.gmail.com> Message-ID: <182D3198-D350-4F97-A0DA-6BD58B688E92@gmail.com> Chipp, It's been my experience that you have to perform a Save As on the stack, specifying to save in Legacy format, before that preference truly kicks in. I've never been able to simply open a legacy stack in 2.8.1 and have it stay that way unless I do a Save As first. Kind of strange, but it has worked for me. Chris -- Chris Sheffield Read Naturally, Inc. On Feb 20, 2008, at 3:42 PM, Chipp Walters wrote: > Well, I got the cgi up and running. "Open stack" worked fine. > Supposedly you > need to call "close stack" though I haven't tested it. > > Another note of interest... > my comments are typically: > > --> THIS IS A COMMENT...2 DASHES FOLLOWED BY A GREATER THAN SIGN > > but they just hang the cgi for some reason (engine 2.6.6 - Linux) > > but these work as comments: > > // THIS IS A VALID COMMENT > # SO IS THIS > > what up? > > Also, in 2.8.1-gm-3, using the "Preserve stack file version on > stacks saved > in legacy format" preference doesn't work. It saves them in the new > format. > Funny thing is, even my old StackFormat plugin won't save the stacks > in > legacy format...Is there a new command for this? > > It used to be > set the stackFileVersion to...(new stack version) > > But, it doesn't seem to work...any other ideas? > > TIA, Chipp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Wed Feb 20 17:56:10 2008 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 20 Feb 2008 14:56:10 -0800 Subject: Dreamhost vs Jaguar PC References: <47B48ADA.7080702@fourthworld.com> <47BC90D5.6060607@hyperactivesw.com> <47BCA144.6030505@hyperactivesw.com> Message-ID: Jacque- > Did you find out what went wrong? No - I've been out of town for a week and I'm just starting to catch up on things. I've got backups of everything, so one of these days I'll just start a mass upload and everything will be as it was. I'm sure tech support will have a good excuse for what happened, but finding out doesn't really get me anywhere. > On the two occasions I needed it, their tech support has always responded > to my questions within an hour or so. I'm not necessarily defending them, > I just haven't had a good reason to leave. I'm not suggesting that you do. I probably won't either right now, just patch things back up and get back to work. -- Mark Wieder mwieder at ahsoftware.net From chipp at chipp.com Wed Feb 20 17:59:22 2008 From: chipp at chipp.com (Chipp Walters) Date: Wed, 20 Feb 2008 16:59:22 -0600 Subject: Question with CGI at JaguarPC.. In-Reply-To: <7aa52a210802201442g4f7531bev4483a2874c4e49fb@mail.gmail.com> References: <7aa52a210802201244q477e83e2r456d2fbe815d4bd0@mail.gmail.com> <47BC9272.5010905@hyperactivesw.com> <7aa52a210802201303iaf5666em296603491aa17099@mail.gmail.com> <47BC9D08.4000905@hyperactivesw.com> <7aa52a210802201348n44f3df06k8d5b268cf0911e33@mail.gmail.com> <47BCA40B.2090700@hyperactivesw.com> <7aa52a210802201442g4f7531bev4483a2874c4e49fb@mail.gmail.com> Message-ID: <7aa52a210802201459y61b78b6m164766dca736d72@mail.gmail.com> OK, Figured out the problem with the preserve stack format, and my own Save Legacy format plugin. You used to be able to set the stackFileVersion and it would stay set. Now the RevSave version overides it as it's looking for a RevGeneral custom prop in working with "Preserve stack file version on stacks saved in legacy format." If it doesn't find the prop, it saves in the most current format. This is a new feature from when my plugin was written. And...because I 'AltClean' my stacks, thus removing this RevGeneral custom prop and other props (can save up to 50% of a stacks size), RevSave no longer honors the legacy information. So, I've updated my Legacy Save plugin, so that now stacks can be saved without calling RevSave. The plugin is called "StackFormat" and can be downloaded by putting into the message box: go URL "http://www.gadgetplugins.com/altplugins/StackFormat.rev" Then save the stack somewhere, and open it as palette and it's good to go. -Chipp From mwieder at ahsoftware.net Wed Feb 20 17:59:24 2008 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 20 Feb 2008 14:59:24 -0800 Subject: way OT bass players ... was filter without empty References: <47BC83F8.8040808@fourthworld.com> Message-ID: Richard- > Is there an option to purchase a download rather than wait for a physical > CD? Not that I'm aware of. I don't think cdbaby has that capability, but then I've never really followed up on it to find out. > PS: Really nice cover art. Gorgeous. Yes, thanks. I'm quite pleased with the way that turned out. Couple of spectacular designs from Hossein's father, who's a rug designer in Iran. -- Mark Wieder mwieder at ahsoftware.net From runrev260805 at m-r-d.de Wed Feb 20 18:29:37 2008 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Wed, 20 Feb 2008 23:29:37 +0000 Subject: Re-2: Question with CGI at JaguarPC.. Message-ID: <0002E955.47BCC5F0@192.168.168.3> Hi, maybe someone can help. I want to write a XML file, which should be opened in MS Excel 2003. I have 2 xml-files, each contains the same data, if opened in Ultraedit editor under Windows. The first one was an Excelfile, which i exported to XML with Excel. This file can be reopened in Excel without problems. Here?s some sample code, how Rev reads the file (in Rev some characters are not shown like ultraedit shows them) WSXGA 1680 x 1050 Pixel, Helligkeit 300cd/m??, Kontrast 1000:1, Bildwinkel 160??/160?? (H/V), Reaktionszeit: 5ms, Pixelabstand: 0.258mm, Signal-Eingang: Analog (VGA) u. DVI-D (HDCP), Kensington-Lock, integriertes Netzteil, TCO '03, Pixelfehlerklasse II, T??V/GS, T??V Ergo, 473 x 310 x 73 mm, 5.6 kg The other one was created by me using a normal CSV file. This one cannot opened in Excel. Here?s smoe sample code, how Rev reads that file WSXGA 1680 x 1050 Pixel, Helligkeit 300cd/m?, Kontrast 1000:1, Bildwinkel 160?/160? (H/V), Reaktionszeit: 5ms, Pixelabstand: 0.258mm, Signal-Eingang: Analog (VGA) u. DVI-D (HDCP), Kensington-Lock, integriertes Netzteil, TCO '03, Pixelfehlerklasse II, T?V/GS, T?V Ergo, 473 x 310 x 73 mm, 5.6 kg As you can see, my "created" file contains for example the character for degree and also some german "umlaute". The original xml file instead shows 2 characters for these characters. How can i convert my "created" file, so these characters are like the ones in the export xml-file? I hope, i was clear enough. Regards, Matthias From mwieder at ahsoftware.net Wed Feb 20 18:35:41 2008 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 20 Feb 2008 15:35:41 -0800 Subject: Can we build console apps under linux? References: <7c87a2a10802192224h64573617x703950e0e0f31159@mail.gmail.com> Message-ID: Andre- > a quick question, can we build console based apps in Linux? I mean, > applications that run without X11. I'm thinking about daemons and > compiled cgis. Indeed you can. Specify "-ui" as part of the launching commandline and write your output to stdout. -- Mark Wieder mwieder at ahsoftware.net From palcibiades-first at yahoo.co.uk Wed Feb 20 18:17:47 2008 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Wed, 20 Feb 2008 23:17:47 +0000 Subject: 2.9 b4 Message-ID: <200802202317.47613.palcibiades-first@yahoo.co.uk> Well, having only 2.9 dp-3 available at present, just one question about b4: Does it do multiple desktops properly on Linux yet? Or is it time to give up, accept that the HIGs were right all along, all we ever needed was one, just a bigger one, and buy a 30 inch monitor? Peter From hershf at rgllc.us Wed Feb 20 18:54:15 2008 From: hershf at rgllc.us (Hershel Fisch) Date: Wed, 20 Feb 2008 18:54:15 -0500 Subject: 2.9 b4 In-Reply-To: <47BCA2DC.8050005@hyperactivesw.com> Message-ID: On 2/20/08 4:59 PM, "J. Landman Gay" wrote: > Hershel Fisch wrote: > >> Yes, I'm sorry about that I do understand but actualy now found out that >> there is another list to post on >> And by the way, J, didn't you put yours as well? > > Yes, but on second thought I probably shouldn't have. Well that's why on third thought I apologized :-) Hershel From runrev260805 at m-r-d.de Wed Feb 20 19:01:02 2008 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Thu, 21 Feb 2008 00:01:02 +0000 Subject: Problem with characters/special characters in XML Message-ID: <0002E957.47BCCD4D@192.168.168.3> Hi, unfortunately i sent the message below with a wrong subject. Please excuse. So here?s my problem, maybe someone can help. I want to write a XML file, which should be opened in MS Excel 2003. I have 2 xml-files, each contains the same data, if opened in Ultraedit editor under Windows. The first one was an Excelfile, which i exported to XML with Excel. This file can be reopened in Excel without problems. Here?s some sample code, how Rev reads the file (in Rev some characters are not shown like ultraedit shows them) WSXGA 1680 x 1050 Pixel, Helligkeit 300cd/m??, Kontrast 1000:1, Bildwinkel 160??/160?? (H/V), Reaktionszeit: 5ms, Pixelabstand: 0.258mm, Signal-Eingang: Analog (VGA) u. DVI-D (HDCP), Kensington-Lock, integriertes Netzteil, TCO '03, Pixelfehlerklasse II, T??V/GS, T??V Ergo, 473 x 310 x 73 mm, 5.6 kg The other one was created by me using a normal CSV file. This one cannot be opened in Excel. Here?s some sample code, how Rev reads that file WSXGA 1680 x 1050 Pixel, Helligkeit 300cd/m?, Kontrast 1000:1, Bildwinkel 160?/160? (H/V), Reaktionszeit: 5ms, Pixelabstand: 0.258mm, Signal-Eingang: Analog (VGA) u. DVI-D (HDCP), Kensington-Lock, integriertes Netzteil, TCO '03, Pixelfehlerklasse II, T?V/GS, T?V Ergo, 473 x 310 x 73 mm, 5.6 kg As you can see, my "created" file contains for example the character for degree and also some german "umlaute". The original xml file instead shows 2 characters for each of these characters. How can i convert my "created" file, so these characters are like the ones in the export xml-file? I hope, i was clear enough. Regards, Matthias From m.schonewille at economy-x-talk.com Wed Feb 20 19:04:15 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 21 Feb 2008 01:04:15 +0100 Subject: Problem with characters/special characters in XML In-Reply-To: <0002E957.47BCCD4D@192.168.168.3> References: <0002E957.47BCCD4D@192.168.168.3> Message-ID: Hi Matthias, Have you tried converting the file to UTF8? Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html Op 21-feb-2008, om 1:01 heeft runrev260805 at m-r-d.de het volgende geschreven: > > > Hi, > > unfortunately i sent the message below with a wrong subject. Please > excuse. > > > So here?s my problem, maybe someone can help. > > I want to write a XML file, which should be opened in MS Excel 2003. > > I have 2 xml-files, each contains the same data, if opened in > Ultraedit editor under Windows. > > The first one was an Excelfile, which i exported to XML with Excel. > This file can be reopened > in Excel without problems. > Here?s some sample code, how Rev reads the file (in Rev some > characters are not shown like ultraedit shows them) > > WSXGA 1680 x 1050 > Pixel, Helligkeit 300cd/m??, Kontrast 1000:1, Bildwinkel 160??/160? > ? (H/V), Reaktionszeit: 5ms, Pixelabstand: 0.258mm, Signal-Eingang: > Analog (VGA) u. DVI-D (HDCP), Kensington-Lock, integriertes > Netzteil, TCO '03, Pixelfehlerklasse II, T??V/GS, T??V Ergo, 473 x > 310 x 73 mm, 5.6 kg > > > The other one was created by me using a normal CSV file. > This one cannot be opened in Excel. > > Here?s some sample code, how Rev reads that file > > WSXGA 1680 x 1050 > Pixel, Helligkeit 300cd/m?, Kontrast 1000:1, Bildwinkel 160?/160? > (H/V), Reaktionszeit: 5ms, Pixelabstand: 0.258mm, Signal-Eingang: > Analog (VGA) u. DVI-D (HDCP), Kensington-Lock, integriertes > Netzteil, TCO '03, Pixelfehlerklasse II, T?V/GS, T?V Ergo, 473 x > 310 x 73 mm, 5.6 kg > > As you can see, my "created" file contains for example the > character for degree and also some german "umlaute". > > The original xml file instead shows 2 characters for each of these > characters. > > How can i convert my "created" file, so these characters are like > the ones in the export xml-file? > > I hope, i was clear enough. > > Regards, > > Matthias > > From runrev260805 at m-r-d.de Wed Feb 20 19:16:10 2008 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Thu, 21 Feb 2008 00:16:10 +0000 Subject: Re-2: Problem with characters/special characters in XML Message-ID: Hi Mark, i don?t know how to do that. Could you give me an example? Regards, Matthias -------- Original Message -------- Subject: Re: Problem with characters/special characters in XML (21-Feb-2008 1:09) From: Mark Schonewille To: runrev260805 at m-r-d.de > Hi Matthias, > > Have you tried converting the file to UTF8? > > Best regards, > > Mark Schonewille > > -- > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Convert colours between different colour spaces with Color Converter. > Download at http://economy-x-talk.com/cc.html > > > > Op 21-feb-2008, om 1:01 heeft runrev260805 at m-r-d.de het volgende > geschreven: > > > > > > > Hi, > > > > unfortunately i sent the message below with a wrong subject. Please > > > excuse. > > > > > > So here?s my problem, maybe someone can help. > > > > I want to write a XML file, which should be opened in MS Excel 2003. > > > > I have 2 xml-files, each contains the same data, if opened in > > Ultraedit editor under Windows. > > > > The first one was an Excelfile, which i exported to XML with Excel. > This > > file can be reopened > > in Excel without problems. > > Here?s some sample code, how Rev reads the file (in Rev some > > characters are not shown like ultraedit shows them) > > > > WSXGA 1680 x 1050 > Pixel, > > Helligkeit 300cd/m??, Kontrast 1000:1, Bildwinkel 160??/160? > > ? (H/V), Reaktionszeit: 5ms, Pixelabstand: 0.258mm, Signal-Eingang: > > > Analog (VGA) u. DVI-D (HDCP), Kensington-Lock, integriertes > > Netzteil, TCO '03, Pixelfehlerklasse II, T??V/GS, T??V Ergo, 473 x > > 310 x 73 mm, 5.6 kg > > > > > > The other one was created by me using a normal CSV file. > > This one cannot be opened in Excel. > > > > Here?s some sample code, how Rev reads that file > > > > WSXGA 1680 x 1050 > Pixel, > > Helligkeit 300cd/m?, Kontrast 1000:1, Bildwinkel 160?/160? > > (H/V), Reaktionszeit: 5ms, Pixelabstand: 0.258mm, Signal-Eingang: > > Analog (VGA) u. DVI-D (HDCP), Kensington-Lock, integriertes > > Netzteil, TCO '03, Pixelfehlerklasse II, T?V/GS, T?V Ergo, 473 x > 310 x > > 73 mm, 5.6 kg > > > > As you can see, my "created" file contains for example the > > character for degree and also some german "umlaute". > > > > The original xml file instead shows 2 characters for each of these > > characters. > > > > How can i convert my "created" file, so these characters are like > > the ones in the export xml-file? > > > > I hope, i was clear enough. > > > > Regards, > > > > Matthias > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > To: use-revolution at lists.runrev.com From ambassador at fourthworld.com Wed Feb 20 20:17:42 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 20 Feb 2008 17:17:42 -0800 Subject: Extracting text from PDF Message-ID: <47BCD136.9010405@fourthworld.com> Is there an easy way to do this in script? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From luis at anachreon.co.uk Wed Feb 20 20:27:40 2008 From: luis at anachreon.co.uk (Luis) Date: Thu, 21 Feb 2008 01:27:40 +0000 Subject: Extracting text from PDF In-Reply-To: <47BCD136.9010405@fourthworld.com> References: <47BCD136.9010405@fourthworld.com> Message-ID: <47BCD38C.2090804@anachreon.co.uk> Hiya, Well, on OS X there's an Automator action that can extract the text from a PDF, so I'd assume it's AppleScriptable. Don't know on the Windows side of things. Cheers, Luis. Richard Gaskin wrote: > > Is there an easy way to do this in script? > From scott at tactilemedia.com Wed Feb 20 20:49:50 2008 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 20 Feb 2008 17:49:50 -0800 Subject: DirectoryWalk a Remote Server? Message-ID: Hello List: Has anyone created a routine to conduct a recursive directory listing of a remote server? I don't believe the old directoryWalk script in the archives can be used as it relies on setting the directory property. Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From lan.kc.macmail at gmail.com Wed Feb 20 21:14:03 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 21 Feb 2008 10:14:03 +0800 Subject: upgrade pricing In-Reply-To: <19C7CBBC-C4BA-41D5-AEE1-84B7FC908022@rcn.com> References: <19C7CBBC-C4BA-41D5-AEE1-84B7FC908022@rcn.com> Message-ID: On Wed, Feb 20, 2008 at 2:43 AM, Colin Holgate wrote: > I recently bought Revolution, v2.8.1, and I'm getting the emails about > a 2.9 upgrade. The upgrade price seems to be ?149, which seems a lot > for a 0.1 version increase, especially so soon after buying the > product. Am I misunderstanding the pricing? > Yes :-) ?149 applies if your 1 year license has expired. I take 'recently bought' meaning less than a year so you're entitled to an 'Early Update Pack': http://www.runrev.com/buy/studio_early_update which is ?99. If the e-mail you are talking about is the one about Pre-Order 2.9, then it also mentions a 15% discount buy entering the supplied code at check-out, so you'd actually be up for ?85. Important to note that if you purchased an Update Pack today your license is extended by a year, NOT from today, but from whenever your current license is due to expire. You loose nothing by updating early, just gain the discounted price. Interesting, to 'reward my loyalty' to keeping my license updated I am entitled to..... the same 15% discount using the same discount code. Ghee I wonder what the disloyal scum got ;-)) I just went over to Rev and purchased the Early Update with the discount and it came to ?84:15. I did to provide accurate info to this List (and if you believe that you'd believe that loyalty bit really tugged at my heart strings ;-) Already got an e-mail from Rev telling me they've got my order and it will be fully processed in 2 days. From chipp at chipp.com Wed Feb 20 21:28:32 2008 From: chipp at chipp.com (Chipp Walters) Date: Wed, 20 Feb 2008 20:28:32 -0600 Subject: DirectoryWalk a Remote Server? In-Reply-To: References: Message-ID: <7aa52a210802201828u73552874jd8265c8ad289ff4a@mail.gmail.com> Hey Scott, This is Mac only. Don't know if this will help....but it does demonstrate manually walking through directories (I think) on a Unix based machine (MacOSX). I don't have my Mac w/me, but you may be able to cobble something together based upon some of the code here: altFileMgr http://www.altuit.com/webs/altuit2/altPluginDownload/Downloads.htm From chipp at chipp.com Wed Feb 20 21:31:46 2008 From: chipp at chipp.com (Chipp Walters) Date: Wed, 20 Feb 2008 20:31:46 -0600 Subject: DirectoryWalk a Remote Server? In-Reply-To: <7aa52a210802201828u73552874jd8265c8ad289ff4a@mail.gmail.com> References: <7aa52a210802201828u73552874jd8265c8ad289ff4a@mail.gmail.com> Message-ID: <7aa52a210802201831k19880e29pac963dfd93280223@mail.gmail.com> You can access the stack in msg: go URL "http://www.gadgetplugins.com/altplugins/revAltFileMgr.rev" on second look, it appears to use the defaultfolder...sorry. But the idea is do a directory listing via shell, which, IMO, should work. From mark at maseurope.net Wed Feb 20 21:41:24 2008 From: mark at maseurope.net (Mark Smith) Date: Thu, 21 Feb 2008 02:41:24 +0000 Subject: DirectoryWalk a Remote Server? In-Reply-To: References: Message-ID: Scott, this function may be helpful. I've not tried it on a remote server... function getDWShell pFolder if the platform is "Win32" then set the hideconsolewindows to true replace "/" with "\" in pFolder put shell("dir /s/b/a:-d-h" && q(pFolder)) into tFiles replace "\" with "/" in tFiles return tFiles else put shell("find " & q(pFolder) & " -type f") into fileList if the platform is "MacOS" then filter fileList without "*/.*" end if filter fileList without empty put unidecode(uniencode(fileList, "UTF8")) into fileList sort lines of fileList return fileList end if end getDWShell function q pStr return quote & pStr & quote end q Best, Mark On 21 Feb 2008, at 01:49, Scott Rossi wrote: > Hello List: > > Has anyone created a routine to conduct a recursive directory > listing of a > remote server? I don't believe the old directoryWalk script in the > archives > can be used as it relies on setting the directory property. > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Wed Feb 20 22:02:13 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 20 Feb 2008 19:02:13 -0800 Subject: Extracting text from PDF Message-ID: <47BCE9B5.5070804@fourthworld.com> Luis wrote: > Richard Gaskin wrote: >> >> Is there an easy way to do this in script? > > Well, on OS X there's an Automator action that can extract the text > from a PDF, so I'd assume it's AppleScriptable. Don't know on the > Windows side of things. Thank you, Luis. This is just a one-off, so Automator would be fine. But I looked through there earlier and couldn't find such an action (OS X 10.4.11). Is this new to Leopard, or did I just miss something? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From tsj at unimelb.edu.au Wed Feb 20 22:13:06 2008 From: tsj at unimelb.edu.au (Terry Judd) Date: Thu, 21 Feb 2008 14:13:06 +1100 Subject: Extracting text from PDF In-Reply-To: <47BCE9B5.5070804@fourthworld.com> Message-ID: On 21/2/08 2:02 PM, "Richard Gaskin" wrote: > Luis wrote: > >> Richard Gaskin wrote: >>> >>> Is there an easy way to do this in script? >> >> Well, on OS X there's an Automator action that can extract the text >> from a PDF, so I'd assume it's AppleScriptable. Don't know on the >> Windows side of things. > > Thank you, Luis. This is just a one-off, so Automator would be fine. > But I looked through there earlier and couldn't find such an action (OS > X 10.4.11). Is this new to Leopard, or did I just miss something? I couldn't find it either (10.4.11 here as well) and Preview isn't applescriptable so you might have to resort to scripting Adobe Reader (ugly?) Terry... From jacque at hyperactivesw.com Wed Feb 20 22:36:20 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Feb 2008 21:36:20 -0600 Subject: 2.9 b4 In-Reply-To: References: Message-ID: <47BCF1B4.40209@hyperactivesw.com> Hershel Fisch wrote: > On 2/20/08 4:59 PM, "J. Landman Gay" wrote: > >> Hershel Fisch wrote: >> >>> Yes, I'm sorry about that I do understand but actualy now found out that >>> there is another list to post on >>> And by the way, J, didn't you put yours as well? >> Yes, but on second thought I probably shouldn't have. > Well that's why on third thought I apologized :-) All we need is a fourth and we can play bridge. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From 3mcgrath at comcast.net Wed Feb 20 23:32:26 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Wed, 20 Feb 2008 23:32:26 -0500 Subject: Extracting text from PDF In-Reply-To: References: Message-ID: <124E3E6B-FE68-4E32-8D34-85F7164AC30B@comcast.net> In Automator 2.0.1(156) there is a whole section for PDFs. The one in question is "Extract PDF Text" I am using 10.5.2 Which makes me ask if it is possible to create an automator in 10.5 and use it in 10.4 ??? I never tried this before. Tell me what you want and maybe we can try it. Tom On Feb 20, 2008, at 10:13 PM, Terry Judd wrote: > On 21/2/08 2:02 PM, "Richard Gaskin" > wrote: > >> Luis wrote: >> >>> Richard Gaskin wrote: >>>> >>>> Is there an easy way to do this in script? >>> >>> Well, on OS X there's an Automator action that can extract the text >>> from a PDF, so I'd assume it's AppleScriptable. Don't know on the >>> Windows side of things. >> >> Thank you, Luis. This is just a one-off, so Automator would be fine. >> But I looked through there earlier and couldn't find such an action >> (OS >> X 10.4.11). Is this new to Leopard, or did I just miss something? > > I couldn't find it either (10.4.11 here as well) and Preview isn't > applescriptable so you might have to resort to scripting Adobe Reader > (ugly?) > > Terry... > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Thu Feb 21 00:36:21 2008 From: chipp at chipp.com (Chipp Walters) Date: Wed, 20 Feb 2008 23:36:21 -0600 Subject: Question with CGI at JaguarPC.. In-Reply-To: <7aa52a210802201459y61b78b6m164766dca736d72@mail.gmail.com> References: <7aa52a210802201244q477e83e2r456d2fbe815d4bd0@mail.gmail.com> <47BC9272.5010905@hyperactivesw.com> <7aa52a210802201303iaf5666em296603491aa17099@mail.gmail.com> <47BC9D08.4000905@hyperactivesw.com> <7aa52a210802201348n44f3df06k8d5b268cf0911e33@mail.gmail.com> <47BCA40B.2090700@hyperactivesw.com> <7aa52a210802201442g4f7531bev4483a2874c4e49fb@mail.gmail.com> <7aa52a210802201459y61b78b6m164766dca736d72@mail.gmail.com> Message-ID: <7aa52a210802202136o28b3806ew5c5279d7d33efb2f@mail.gmail.com> Spent some time with Andre this evening, and he sent me the 2.9 dp3 Linux engine, which also didn't work. Then he looked at the top of my CGI script and saw this: #!revolution and he changed it to this: #!revolution -ui and everything worked. Evidently the -ui switch means "run without graphics interface" and is necessary when using the current versions of the rev engine (Linux). HTH, Chipp From janschenkel at yahoo.com Thu Feb 21 01:12:15 2008 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 20 Feb 2008 22:12:15 -0800 (PST) Subject: Extracting text from PDF In-Reply-To: <47BCD136.9010405@fourthworld.com> Message-ID: <623566.59884.qm@web65405.mail.ac4.yahoo.com> --- Richard Gaskin wrote: > > Is there an easy way to do this in script? > > -- > Richard Gaskin > Fourth World Media Corporation > Hi Richard et al, Extracting text from a PDF file is possible, and can indeed be done via scripting, though not for all files until you've climbed the decompression, decryption and decoding mountains. But that's actually just the start of it: PDF is just about the worst text file format in history. Even after stripping out the intermingled styling and positioning instructions, you're left with a bunch of strings which may not necessarily be in the correct order. The applications that are out there to convert PDF to Word files, have a lot in common with Optical Character Recognition (OCR) applications, which attempt to convert scanned images to text, in that they apply algorithms to "collate" the pieces of text into a collection of words and paragraphs. Heck, even Adobe Reader, Apple Preview and other PDF viewers have to "best-guess" what text makes up a sentence when you use the text selection tool. Granted, a good number of files can be read sequentially and churn out the strings in a reasonably effective order - but all bets are off if you takea random document that came out of graphically-oriented tools where people play around with layers and filter effects. Sorry to disappoint you, Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs From andre at andregarzia.com Thu Feb 21 01:19:34 2008 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 21 Feb 2008 03:19:34 -0300 Subject: RevCGI Hosts? In-Reply-To: References: <47BB9B94.5030105@fourthworld.com> Message-ID: <7c87a2a10802202219q3025facfpeb42b5e1e6ba8549@mail.gmail.com> Richard, you can use RocketsSendmail library from the RevOnRockets package to send email, you'll probably need to change the path to the sendmail application in there, but after that you should be able to send emails in one line of code. Andre On 2/20/08, Richard Miller wrote: > Two questions about both of these cgi hosting options: > > 1. how do you generate an email from these accounts? With libsmtp253 > or something else? > > 2. can you use the "put x into ftp:url z" syntax or some other > language to place data from the cgi-bin into a remote location on > another server? > > Thanks. > > Richard Miller > > > > > On Feb 20, 2008, at 12:52 AM, Mark Talluto wrote: > > > > > On Feb 19, 2008, at 7:16 PM, Richard Gaskin wrote: > > > >> You and others here got me to take a look at DreamHost, and I've > >> been very happy with them over the last year since I signed on. > > > > I have both a Dreamhost and JaguarPC account. I am about to close > > out our JaguarPC accounts as their ftp upload max speed is around > > 125KB/sec. I can saturate my pipe at 2 MB/Sec with DreamHost. > > Gotta love FIOS! > > > > > > Mark Talluto > > -- > > CANELA Software > > http://www.canelasoftware.com > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From rmicout at online.fr Thu Feb 21 02:58:23 2008 From: rmicout at online.fr (=?ISO-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 21 Feb 2008 08:58:23 +0100 Subject: Shakobox/PlayCommand and Rev 2.9 Message-ID: <512D8C85-3007-4226-99E5-9F9B66191DE3@online.fr> Hello, Is PlayCommand (Shakobox) run with Rev 2.9 ? Thank you Ren? From geradamas at yahoo.com Thu Feb 21 03:10:59 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Thu, 21 Feb 2008 08:10:59 +0000 (GMT) Subject: b4 - Where's Mine ? Message-ID: <375886.68361.qm@web37507.mail.mud.yahoo.com> That's funny; having been running b3 through the gamut of tests I dreamed up; I haven't been sent b4. Very Queer Indeed. sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com From luis at anachreon.co.uk Thu Feb 21 03:45:21 2008 From: luis at anachreon.co.uk (Luis) Date: Thu, 21 Feb 2008 08:45:21 +0000 Subject: Extracting text from PDF In-Reply-To: <47BCE9B5.5070804@fourthworld.com> References: <47BCE9B5.5070804@fourthworld.com> Message-ID: Yes, just checked now on 10.4.11 and it's not there, looks like it's a 10.5 thing! Ooop! Cheers, Luis. On 21 Feb 2008, at 03:02, Richard Gaskin wrote: > Luis wrote: > > > Richard Gaskin wrote: > >> > >> Is there an easy way to do this in script? > > > > Well, on OS X there's an Automator action that can extract the text > > from a PDF, so I'd assume it's AppleScriptable. Don't know on the > > Windows side of things. > > Thank you, Luis. This is just a one-off, so Automator would be > fine. But I looked through there earlier and couldn't find such an > action (OS X 10.4.11). Is this new to Leopard, or did I just miss > something? > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From runrevron at gmail.com Thu Feb 21 04:18:03 2008 From: runrevron at gmail.com (ron barber) Date: Thu, 21 Feb 2008 18:18:03 +0900 Subject: Menu accelerators problem Message-ID: <5825034a0802210118x32526cf2o14f5d7a2a424af11@mail.gmail.com> Greetings, Background: A couple of months ago I asked about handling multiple menubars in a multi lingual application. I received several helpful replies and after finding time to implement the suggestions, saved lots of space and greatly simplified the menu handling procedure in my app. It is much easier to maintain one main menupick handler than 10 or more of the same thing. Problem: However, now I am losing the menuaccelators. For example: the Japanese menuitem "Find" is the "Edit" menu's 5th item, the same as the English and Korean, the only difference is the spelling. The selectedline of the target is captured in the main (and now only) menupick handler. This works well. When the accelerator is used however, the selectedline returns 1, not 5. So all accelerators return 1 for a given menu. My Solution: So far, I have chosen to get the name or label of the target and with this I can tell which menuitem was chosen. This seems to defeat part of the advantage of the advice I was given to ignore the specific names of the item and take advantage of the fact that they occupy the same line in the menu. Is there a way to get the accelerator key? Is there a better way to respond to the accelerator than what I am doing? Help? Thanks Ron From niconiko at gmail.com Thu Feb 21 04:40:20 2008 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 21 Feb 2008 18:40:20 +0900 Subject: handling Japanese (UTF-8?) text with Rev, CGI, & MySQL Message-ID: <00b901c8746d$c78441d0$0401a8c0@niconiko04zbtb> Hello List, I have a Rev stack that connects to a MySQL database by calling a Rev-cgi script. The stack is running locally, while the cgi-script and the database are on my wehhost's server. Everything works fine except for the displaying in a text-field of the downloaded data. The English text arrives fine, but the Japanese text appears as one question mark per character. I'm including below what I think is the relecant information, namely, the MySQL table structure, the Rev-CGI script, and the stack-script. Any ideas how to handle the Japanese text so that it'll appear correctly? I've already tried a combination of collations (UTF-8, and shift-jis), "Content-Type", "charset=", and Rev unicode decoding/encoding/HTMLtext commands, but I can't seem to hit upon the right mix. Thank you. -- Nicolas Cueto -- THE MySQL TABLE -- The table's collation (character encoding?) is latin1_general_ci, but the collation of the Japanese field is sjis_japanese_ci. -- THE CGI SCRIPT #!revolution on startup put revOpenDatabase("mysql","url.com","dbname","user","pwd")into connid put "SELECT * FROM `table`" into sql put revDataFromQuery(,,connid,sql) into vResults put vResults & return & the seconds after buffer put "Content-Type: text/plain" & cr put "Content-Length:" && the length of buffer & cr & cr put buffer end startup -- THE STACK SCRIPT on mouseUp put field "fURL" into tURL get url tURL put it into field "fResult" end mouseUp From wow at together.net Thu Feb 21 05:44:50 2008 From: wow at together.net (Richard Miller) Date: Thu, 21 Feb 2008 05:44:50 -0500 Subject: RevCGI Hosts? In-Reply-To: <7c87a2a10802202219q3025facfpeb42b5e1e6ba8549@mail.gmail.com> References: <47BB9B94.5030105@fourthworld.com> <7c87a2a10802202219q3025facfpeb42b5e1e6ba8549@mail.gmail.com> Message-ID: <4B3F14BA-8C3E-475F-8438-D1B388A5F4DE@together.net> Andre, I'll definitely take a good look at that. Does that library require an SMTP relay or does it use some other method of sending an email? Thanks. Richard On Feb 21, 2008, at 1:19 AM, Andre Garzia wrote: > Richard, > > you can use RocketsSendmail library from the RevOnRockets package to > send email, you'll probably need to change the path to the sendmail > application in there, but after that you should be able to send emails > in one line of code. > > Andre > > On 2/20/08, Richard Miller wrote: >> Two questions about both of these cgi hosting options: >> >> 1. how do you generate an email from these accounts? With libsmtp253 >> or something else? >> >> 2. can you use the "put x into ftp:url z" syntax or some other >> language to place data from the cgi-bin into a remote location on >> another server? >> >> Thanks. >> >> Richard Miller >> >> >> >> >> On Feb 20, 2008, at 12:52 AM, Mark Talluto wrote: >> >>> >>> On Feb 19, 2008, at 7:16 PM, Richard Gaskin wrote: >>> >>>> You and others here got me to take a look at DreamHost, and I've >>>> been very happy with them over the last year since I signed on. >>> >>> I have both a Dreamhost and JaguarPC account. I am about to close >>> out our JaguarPC accounts as their ftp upload max speed is around >>> 125KB/sec. I can saturate my pipe at 2 MB/Sec with DreamHost. >>> Gotta love FIOS! >>> >>> >>> Mark Talluto >>> -- >>> CANELA Software >>> http://www.canelasoftware.com >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Thu Feb 21 05:48:30 2008 From: chipp at chipp.com (Chipp Walters) Date: Thu, 21 Feb 2008 04:48:30 -0600 Subject: Anyone interested in learning more about Rev on Rockets? Message-ID: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> For those of you who don't know, Rev On Rockets is a set of libraries, and a workflow created by Andre Garzia for implementing Rev CGI quickly and easily on servers. It's free. So, why would anyone want to use it? Well, before I get into the various uses for RevCGI, I'd like to tell why I'm so excited about it. Here at Altuit, we use Hemingway (our Rev based Content Management System) to create lots of small to medium sized business websites. Many times, a customer has a requirement for visitors to access a small database, be it a catalog, or a 'find the nearest retailer to you' or even a custom guestbook. Some of these can be handled with inventive client-side javascript, other with PHP and a flatfile (text) database. But, many require I turn around in my seat and say, "Chris, Tag. You're it....we need to create a MySQL, SQLServer, Postgres server schema and database and access it using Rev." Of course, this isn't a problem as Chris is a world-class developer (he wrote altBrowser and altSQLite), who just happens to sit in the chair behind me in our 2 man office, and he knows Rev as well. But, for smaller projects, I just want to be able to give Chris a break, and create the whole thing myself. Of course, I can always take time to learn all about MySQL, and database connectors, and the SQL language. I painfully have at times, but it is infrequent, and I find it difficult to stay sharp in languages like Python, VBscript, Javascript, and PHP when I haven't used them in months. So, I've decided to learn as much as I can about RevCGI, so I can program my own smallish databases as stacks and cgi scripts. And it works. I've been at it for a couple of days now, and thanks to Andre and Rev On Rockets, I have a simple web app working. And I've finally *grokked* the whole thing-- or at least a big chunk of it. So, what's it good for? Well for starters, as I mentioned, you can create very efficient and quick databases which can be accessed from the web. Things like catalogs, store locators, feedback databases, are fairly straightforward and simple. Using some of Andre's libraries, you can easily send email, so you could create a software registration database stack, which gets called from PayPal after someone purchases your product, and it automatically emails the regcode. Using some of the built-in Linux commands, you can even create thumbnails from images, and create online picture databases. All using Rev On Rockets. Not to mention, if you don't have your own Chris to do the heavy lifting, you may just find Rev On Rockets can do some of *THAT* for you, too. So-- What is Rev On Rockets? Well if you've ever heard of Ruby on Rails-- IT'S NOT THAT! Ruby on Rails creates scaffolding for web applications. Rev On Rockets doesn't do all of that. It turns out Rev On Rockets is much simpler. In fact, at it's simplest, it's a collection of half-a-dozen libraries which you can choose to use-- or not to-- on a given project. And frankly, there are only 2 real libraries you'll use for most stuff-- one of them being an 'in-browser' debugger-. Sorta like Rev's debugger, but displays in your browser telling you which line is stuck. The other being a beefed-up version of Monte's and Rodney's libCGI. I have to mention one other fantastic part of Rev On Rockets, and tell you about this grand plan Andre and I have to help you learn about it. I'll do that in the next post! -Chipp From chipp at chipp.com Thu Feb 21 06:01:27 2008 From: chipp at chipp.com (Chipp Walters) Date: Thu, 21 Feb 2008 05:01:27 -0600 Subject: Anyone interested in learning more about Rev on Rockets? In-Reply-To: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> References: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> Message-ID: <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> Part II So, the other really cool part of ROR (Rev On Rockets) is it comes with it's own webserver, which runs locally, and is ENTIRELY REV BASED. So, you can edit and debug your RevCGI right in Rev without even being connected to the Internet. This is an extreme ease-of-use workflow addition to the labored process of write code, upload, test in browser, then try and figure out why it didn't work-- which is the most DIFFICULT part of RevCGI. Andre's webserver has some very advanced debugging features as well, so it's much easier to 'get it right.' To say it another way, Andre's really done quite well in integrating all of this, and those of you who know him, know he writes really good code. And, with a few modifications to MagicCarpet, I've been able to streamline workflow outside of Andre's local webserver. One of the issues with ROR, is it's not documented well-- and is a bit hard to pickup without a bit of handholding. In fact, I've spent hours on the phone and screensharing with Andre just to get caught up on all the neat stuff his libraries do. We've created several examples together, and after our sessions, I end up more and more impressed with ROR. So, I thought if others were interested, I'd create a tutorial series to help developers learn how to use ROR and RevCGI. There are of course some very good RevCGI beginner tutorials, but I'm hoping these would go farther, and show a bit more advanced techniques...like putting file locking on a stack so that 2 people don't try to write to it at once. Or, uploading images and files via HTTP and not FTP using POST. So, if you're interested, holler at me or Andre, or just respond here. If there are enough folks, we'll create a few free ROR tutes. Just let us know! -Chipp From dave.cragg at lacscentre.co.uk Thu Feb 21 06:03:57 2008 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 21 Feb 2008 11:03:57 +0000 Subject: RevCGI Hosts? In-Reply-To: <47BC6959.5060202@hyperactivesw.com> References: <7aa52a210802181441m5a05cb60l32ca3f7ecef6ff84@mail.gmail.com> <1e91b2b70802181742i52ebf3d3l11165f21b3c594a1@mail.gmail.com> <7aa52a210802181815s6587e8e4m62d749afa5224422@mail.gmail.com> <47BB8864.2080607@hyperactivesw.com> <06D9D8F2-DA0C-4AB5-8FAE-862F23F6B82C@lacscentre.co.uk> <47BC6959.5060202@hyperactivesw.com> Message-ID: <302CEA4B-F1AC-42DD-AB31-D3FE40A131F6@lacscentre.co.uk> On 20 Feb 2008, at 17:54, J. Landman Gay wrote: > Dave Cragg wrote: > >> My concern was that if the engine is in the cgi-bin folder, you >> can attempt to call the engine directly. For example, if the >> engine is named "rev", then what happens when you request the url >> "http://some.server.com/cgi-bin/rev" > > I get an "internal server error" and nothing happens. > >> Will Apache try to start the engine? > > Doesn't look like it, or if it does, it won't work. I think that's > what Scott Raney was saying. The only vulnerabilities the engine > allows are the ones you write into your scripts yourself. Sorry to prolong this, Jacque. The "internal server error" is returned by Apache, and only indicates that things "didn't work", but not necessarily that nothing happened. I tried calling this URL: http://localhost/cgi-bin/revolution?12345 I get the "500 internal server error", but in the Apache error log I see this: revolution: Can't load stack or script 12345 [Thu Feb 21 10:41:45 2008] [error] [client 127.0.0.1] Premature end of script headers: /Library/WebServer/CGI-Executables/revolution Which suggests revolution started and "tried" to do something. That it fails (even when 12345 is substituted with a real stack) is reassuring. But then I wonder that the failure may be due to this being the Darwin engine and it never opens regular stacks. And Chipp confirmed that the Linux engine will open stacks from a script, and so I wonder if it might open stacks from a passed parameter. So instead of losing sleep, I just put the engine outside the cgi-bin folder. Dave From sarah.reichelt at gmail.com Thu Feb 21 06:05:21 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 21 Feb 2008 21:05:21 +1000 Subject: Anyone interested in learning more about Rev on Rockets? In-Reply-To: <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> References: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> Message-ID: > So, I thought if others were interested, I'd create a tutorial series to > help developers learn how to use ROR and RevCGI. There are of course some > very good RevCGI beginner tutorials, but I'm hoping these would go farther, > and show a bit more advanced techniques...like putting file locking on a > stack so that 2 people don't try to write to it at once. Or, uploading > images and files via HTTP and not FTP using POST. > > So, if you're interested, holler at me or Andre, or just respond here. If > there are enough folks, we'll create a few free ROR tutes. Just let us know! Count me in as very interested. I have dabbled in Rev CGI and looked at Andre's ROR package, but not really got any further than in the last Rev newsletter. Please Chipp & Andre, it would be terrific to have some more info on this. Cheers, Sarah From sims at ezpzapps.com Thu Feb 21 06:12:28 2008 From: sims at ezpzapps.com (Jim Sims) Date: Thu, 21 Feb 2008 12:12:28 +0100 Subject: Anyone interested in learning more about Rev on Rockets? In-Reply-To: <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> References: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> Message-ID: <855F2789-68EF-4381-B9B8-46D35401EC46@ezpzapps.com> On Feb 21, 2008, at 12:01 PM, Chipp Walters wrote: > So, if you're interested, holler at me or Andre, or just respond > here. If > there are enough folks, we'll create a few free ROR tutes. Just let > us know Please, please do. sims ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ClipaSearch Pro http://www.ClipaTools.com Across Platforms - Code and Culture http://www.ezpzapps.com/blog/ From briany at qldlearning.com Thu Feb 21 06:20:18 2008 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 21 Feb 2008 03:20:18 -0800 Subject: Anyone interested in learning more about Rev on Rockets? In-Reply-To: <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> References: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> Message-ID: Chipp, I'd love to see this project continue to move forward in all aspects. Years ago (in the "MetaCard" and Scott Raney days) I wrote a MetaCard- based web / application server for a project I was working on. It was a lot of fun being able to implement it in MetaTalk (Transcript), but unfortunately the code is now buried in a dead, private project. I wished at the time that it could have grown into something like Rev on Rockets -- which now has gone several steps further. In any case, I can't claim to have an immediate use for it, but it's something that I would be happy to contribute to or simply cheer from the sidelines, whether it be code samples, actual code contributions, whatever. Perhaps if enough people chime in here, it would be worth organizing a chat to discuss useful applications, feature requests, etc. Kudos to Andre, and good to see you involved as well! - Brian From viktoras at ekoinf.net Thu Feb 21 06:20:38 2008 From: viktoras at ekoinf.net (viktoras didziulis) Date: Thu, 21 Feb 2008 13:20:38 +0200 Subject: Anyone interested in learning more about Rev on Rockets? In-Reply-To: <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> References: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> Message-ID: <47BD5E86.8020505@ekoinf.net> Me too is interested. Would it be possible to additionally have a documentation of handlers and functions and what they do and how do you use them :-). Or anything like Rev IDE dictionary with documented functions, handlers and properties? All the best! Viktoras Chipp Walters wrote: > So, if you're interested, holler at me or Andre, or just respond here. If > there are enough folks, we'll create a few free ROR tutes. Just let us know! > > -Chipp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From klaus at major-k.de Thu Feb 21 06:29:07 2008 From: klaus at major-k.de (Klaus Major) Date: Thu, 21 Feb 2008 12:29:07 +0100 Subject: Anyone interested in learning more about Rev on Rockets? In-Reply-To: <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> References: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> Message-ID: Hola Chipp, > Part II > > So, the other really cool part of ROR (Rev On Rockets) is it comes > with it's > ... > > So, if you're interested, holler at me or Andre, or just respond > here. If > there are enough folks, we'll create a few free ROR tutes. Just let > us know! > > -Chipp Yo, count me in! Best Klaus Major klaus at major-k.de http://www.major-k.de From jbv.silences at club-internet.fr Thu Feb 21 06:41:11 2008 From: jbv.silences at club-internet.fr (jbv) Date: Thu, 21 Feb 2008 12:41:11 +0100 Subject: Anyone interested in learning more about Rev on Rockets? References: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> Message-ID: <47BD6356.17CCA570@club-internet.fr> Chipp, > > So, if you're interested, holler at me or Andre, or just respond here. If > there are enough folks, we'll create a few free ROR tutes. Just let us know! of course I am interested, although I've got accustomed to my own Revcgi development tools I've developped over the years... I've heard of ROR but never found the time to take a close look at it, and therefore have a question : does it include fast cgi or just "regular" Rev cgi stuff (1 instance of Rev cgi launched every time a request reaches the server), and which platforms does it support ? thanks, JB From p.williams at alkazar.net Thu Feb 21 06:40:23 2008 From: p.williams at alkazar.net (Paul Williams) Date: Thu, 21 Feb 2008 11:40:23 -0000 Subject: Anyone interested in learning more about Rev on Rockets? In-Reply-To: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> References: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> Message-ID: <47BD6327.4553.25B525BF@p.williams.alkazar.net> Yes please paul From wow at together.net Thu Feb 21 06:44:25 2008 From: wow at together.net (Richard Miller) Date: Thu, 21 Feb 2008 06:44:25 -0500 Subject: Anyone interested in learning more about Rev on Rockets? In-Reply-To: <47BD6327.4553.25B525BF@p.williams.alkazar.net> References: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> <47BD6327.4553.25B525BF@p.williams.alkazar.net> Message-ID: This would be quite helpful. Thanks. Richard Miller On Feb 21, 2008, at 6:40 AM, Paul Williams wrote: > Yes please > > paul > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Thu Feb 21 06:45:46 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 21 Feb 2008 12:45:46 +0100 Subject: Anyone interested in learning more about Rev on Rockets? In-Reply-To: <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> References: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> Message-ID: Hi Chipp and Andre, Le 21 f?vr. 08 ? 12:01, Chipp Walters a ?crit : > So, if you're interested, holler at me or Andre, or just respond > here. If > there are enough folks, we'll create a few free ROR tutes. Just let > us know! Rev cgis have always been a kind of mystery to me ;-) So, even if I don't need them at the moment, I'm sure I'll find all of a sudden many amazing implementations with both of you as my mentors. Thanks for sharing your work and knowledge. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From m.schonewille at economy-x-talk.com Thu Feb 21 07:09:55 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 21 Feb 2008 13:09:55 +0100 Subject: Re-2: Problem with characters/special characters in XML In-Reply-To: References: Message-ID: Hi Matthias, Before you write the data to a file, do this: put uniEncode(yourData,"UTF8") into yourData This uni-encodes the entire XML file. You might try this with UTF16 as well, but that shouldn't be necessary. Let me know whether this works. Do you create an XML file with your own custom-made script or do you use Revolution's XML external? Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html Op 21-feb-2008, om 1:16 heeft runrev260805 at m-r-d.de het volgende geschreven: > Hi Mark, > > i don?t know how to do that. > > Could you give me an example? > > Regards, > > Matthias From luis at anachreon.co.uk Thu Feb 21 07:12:02 2008 From: luis at anachreon.co.uk (Luis) Date: Thu, 21 Feb 2008 12:12:02 +0000 Subject: Anyone interested in learning more about Rev on Rockets? In-Reply-To: <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> References: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> Message-ID: <41B696DC-9339-4509-AF2E-4C1FE0C59C50@anachreon.co.uk> Sounds like a good job for ScreenSteps... ;) Cheers, Luis. On 21 Feb 2008, at 11:01, Chipp Walters wrote: > Part II > > So, the other really cool part of ROR (Rev On Rockets) is it comes > with it's > own webserver, which runs locally, and is ENTIRELY REV BASED. So, > you can > edit and debug your RevCGI right in Rev without even being > connected to the > Internet. This is an extreme ease-of-use workflow addition to the > labored > process of write code, upload, test in browser, then try and figure > out why > it didn't work-- which is the most DIFFICULT part of RevCGI. Andre's > webserver has some very advanced debugging features as well, so > it's much > easier to 'get it right.' > > To say it another way, Andre's really done quite well in > integrating all of > this, and those of you who know him, know he writes really good code. > > And, with a few modifications to MagicCarpet, I've been able to > streamline > workflow outside of Andre's local webserver. > > One of the issues with ROR, is it's not documented well-- and is a > bit hard > to pickup without a bit of handholding. In fact, I've spent hours > on the > phone and screensharing with Andre just to get caught up on all the > neat > stuff his libraries do. We've created several examples together, > and after > our sessions, I end up more and more impressed with ROR. > > So, I thought if others were interested, I'd create a tutorial > series to > help developers learn how to use ROR and RevCGI. There are of > course some > very good RevCGI beginner tutorials, but I'm hoping these would go > farther, > and show a bit more advanced techniques...like putting file locking > on a > stack so that 2 people don't try to write to it at once. Or, uploading > images and files via HTTP and not FTP using POST. > > So, if you're interested, holler at me or Andre, or just respond > here. If > there are enough folks, we'll create a few free ROR tutes. Just let > us know! > > -Chipp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From len-morgan at crcom.net Thu Feb 21 07:22:25 2008 From: len-morgan at crcom.net (Len Morgan) Date: Thu, 21 Feb 2008 06:22:25 -0600 Subject: Anyone interested in learning more about Rev on Rockets? In-Reply-To: <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> References: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> Message-ID: <47BD6D01.7070304@crcom.net> Count me in! Len Morgan From niconiko at gmail.com Thu Feb 21 07:22:47 2008 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 21 Feb 2008 21:22:47 +0900 Subject: Anyone interested in learning more about Rev on Rockets? Message-ID: <00c901c87484$793a5430$0401a8c0@niconiko04zbtb> > So, if you're > interested, holler at me or Andre, or just respond here. Yes, please. -- Nicolas Cueto From len-morgan at crcom.net Thu Feb 21 08:31:00 2008 From: len-morgan at crcom.net (Len Morgan) Date: Thu, 21 Feb 2008 07:31:00 -0600 Subject: way OT bass players ... was filter without empty In-Reply-To: References: <47BC83F8.8040808@fourthworld.com> Message-ID: <47BD7D14.4090703@crcom.net> Just in case you want to hear more of George, you can visit his site at georgebancroft.net. I've posted some of the new stuff we are working on for the 2nd CD (full band this time). Don't mean to advertise here but while we were on the subject of music.... len From jcwall at jaguar1.usouthal.edu Thu Feb 21 08:42:19 2008 From: jcwall at jaguar1.usouthal.edu (jcwall at jaguar1.usouthal.edu) Date: Thu, 21 Feb 2008 07:42:19 -0600 Subject: Anyone interested in learning more about Rev on Rockets? In-Reply-To: <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> References: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> Message-ID: Chipp: I would really appreciate the tutorials. Jim ------------------------------------- James C. Wall, PhD Professor Department of Physical Therapy University of South Alabama 1504 Springhill Avenue, Room 1214 Mobile AL 36604 Phone: (251) 434 3575 Fax: (251) 434 3822 ----- Original Message ----- From: Chipp Walters Date: Thursday, February 21, 2008 5:01 am Subject: Re: Anyone interested in learning more about Rev on Rockets? To: How to use Revolution > Part II > > So, the other really cool part of ROR (Rev On Rockets) is it comes > with it's > own webserver, which runs locally, and is ENTIRELY REV BASED. So, you > can > edit and debug your RevCGI right in Rev without even being connected > to the > Internet. This is an extreme ease-of-use workflow addition to the labored > process of write code, upload, test in browser, then try and figure > out why > it didn't work-- which is the most DIFFICULT part of RevCGI. Andre's > webserver has some very advanced debugging features as well, so it's > much > easier to 'get it right.' > > To say it another way, Andre's really done quite well in integrating > all of > this, and those of you who know him, know he writes really good code. > > And, with a few modifications to MagicCarpet, I've been able to streamline > workflow outside of Andre's local webserver. > > One of the issues with ROR, is it's not documented well-- and is a > bit hard > to pickup without a bit of handholding. In fact, I've spent hours on > the > phone and screensharing with Andre just to get caught up on all the neat > stuff his libraries do. We've created several examples together, and > after > our sessions, I end up more and more impressed with ROR. > > So, I thought if others were interested, I'd create a tutorial series > to > help developers learn how to use ROR and RevCGI. There are of course > some > very good RevCGI beginner tutorials, but I'm hoping these would go farther, > and show a bit more advanced techniques...like putting file locking > on a > stack so that 2 people don't try to write to it at once. Or, uploading > images and files via HTTP and not FTP using POST. > > So, if you're interested, holler at me or Andre, or just respond > here. If > there are enough folks, we'll create a few free ROR tutes. Just let > us know! > > -Chipp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > From mb.userev at harbourhosting.co.uk Thu Feb 21 08:45:07 2008 From: mb.userev at harbourhosting.co.uk (Martin Baxter) Date: Thu, 21 Feb 2008 13:45:07 +0000 Subject: Anyone interested in learning more about Rev on Rockets? In-Reply-To: <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> References: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> Message-ID: <47BD8063.7030909@harbourhosting.co.uk> Chipp Walters wrote: > So, if you're interested, holler at me or Andre, or just respond here. If > there are enough folks, we'll create a few free ROR tutes. Just let us know! > > -Chipp Yup, I've always been curious about it and a hand-holding intro sounds a great idea to me. Martin Baxter -- I am Not a Number, I am a free NaN From Mark at Rauterkus.com Thu Feb 21 08:54:40 2008 From: Mark at Rauterkus.com (Mark Rauterkus) Date: Thu, 21 Feb 2008 08:54:40 -0500 Subject: Chipp -- perhaps the Rev On Rockets tutorials could be done on the wiki? Message-ID: <322253fe0802210554m68b7cb29s159eccbb4bc9751d@mail.gmail.com> Hi Chipp, Yes, --- I would LOVE to soak up the tutorials about REV on the web. Perhaps it would make sense to put up the early editions of the tutorials on the unofficial WIKI that is deveoted to Rev. ???? Just an idea. The wiki is a good tool for being 'quick' -- and it allows for others (newbies) to log in and to flag what may be still undocumented and confusing. Ta. Mark Rauterkus Mark at Rauterkus.com http://Rauterkus.blogspot.com http://Elect.Rauterkus.com 412 298 3432 = cell From lists at mangomultimedia.com Thu Feb 21 09:51:11 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 21 Feb 2008 09:51:11 -0500 Subject: handling Japanese (UTF-8?) text with Rev, CGI, & MySQL In-Reply-To: <00b901c8746d$c78441d0$0401a8c0@niconiko04zbtb> References: <00b901c8746d$c78441d0$0401a8c0@niconiko04zbtb> Message-ID: On Feb 21, 2008, at 4:40 AM, Nicolas Cueto wrote: > Everything works fine except for the displaying in a text-field > of the downloaded data. The English text arrives fine, but the > Japanese text appears as one question mark per character. > > I'm including below what I think is the relecant information, > namely, the MySQL table structure, the Rev-CGI script, > and the stack-script. > > Any ideas how to handle the Japanese text so that it'll appear > correctly? I've already tried a combination of collations (UTF-8, > and shift-jis), "Content-Type", "charset=", and Rev unicode > decoding/encoding/HTMLtext commands, but I can't seem to > hit upon the right mix. If your Japanese text is encoded with shift-jis then try converting the text from shift-jis to unicode and then setting the unicodeText of the field. Maybe this will work: on mouseUp put field "fURL" into tURL get url tURL get uniencode(it, "Japanese") set the unicodetext of field "fResult" to it end mouseUp Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From lists at mangomultimedia.com Thu Feb 21 10:14:27 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 21 Feb 2008 10:14:27 -0500 Subject: Anyone interested in learning more about Rev on Rockets? In-Reply-To: <41B696DC-9339-4509-AF2E-4C1FE0C59C50@anachreon.co.uk> References: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> <41B696DC-9339-4509-AF2E-4C1FE0C59C50@anachreon.co.uk> Message-ID: <38EE65A4-4A9A-4BE8-8E26-4F2D1ED445FE@mangomultimedia.com> On Feb 21, 2008, at 7:12 AM, Luis wrote: > Sounds like a good job for ScreenSteps... ;) You rang? :-) I actually have started experimenting with creating short tutorials on performing small tasks in Revolution using ScreenSteps and ScreenSteps Live. I wanted to post some more lessons before I announced it but there is a small sampling you can take a look at: I think there is definitely a place for little tutorials like this. I do wish there was a better way to embed code samples in ScreenSteps but that is something we will tackle another day. If Chipp or Andre see any value in using ScreenSteps and ScreenSteps Live for certain aspects of their documentation project I could setup an account for them. Just contact me off-list. Internally we have found that we get a lot more documentation out when a) we don't have to carve out a lot of time to create a lesson and b) we can instantly publish the lesson for public consumption. The SS/SS Live combo has worked well for us in that regard. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From jim at oyfconsulting.com Thu Feb 21 10:24:44 2008 From: jim at oyfconsulting.com (Jim Carwardine) Date: Thu, 21 Feb 2008 11:24:44 -0400 Subject: Anyone interested in learning more about Rev on Rockets? In-Reply-To: <855F2789-68EF-4381-B9B8-46D35401EC46@ezpzapps.com> References: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> <855F2789-68EF-4381-B9B8-46D35401EC46@ezpzapps.com> Message-ID: Count me in as well... Jim On 21-Feb-08, at 7:12 AM, Jim Sims wrote: > > On Feb 21, 2008, at 12:01 PM, Chipp Walters wrote: > >> So, if you're interested, holler at me or Andre, or just respond >> here. If >> there are enough folks, we'll create a few free ROR tutes. Just >> let us know > > > > Please, please do. > > > sims > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ClipaSearch Pro > http://www.ClipaTools.com > > Across Platforms - Code and Culture > http://www.ezpzapps.com/blog/ > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution Jim Carwardine, President & CEO OYF Consulting Ph. 902.823.2339 / 866.601.2339 Fx. 902.823-2139 StrategicDoing?: Execution depends on employees. Strategic Partner with HiringSmart Canada Ltd. -- From andres at bakno.com Thu Feb 21 10:31:58 2008 From: andres at bakno.com (Andres Martinez) Date: Thu, 21 Feb 2008 10:31:58 -0500 Subject: Anyone interested in learning more about Rev on Rockets? In-Reply-To: <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> References: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> Message-ID: <5A308D86-E68B-4D3E-BA72-FD4C98168533@bakno.com> I'm interested also. Andres Martinez www.baKno.com On Feb 21, 2008, at 6:01 AM, Chipp Walters wrote: > Part II > > So, the other really cool part of ROR (Rev On Rockets) is it comes > with it's > own webserver, which runs locally, and is ENTIRELY REV BASED. So, > you can > edit and debug your RevCGI right in Rev without even being connected > to the > Internet. This is an extreme ease-of-use workflow addition to the > labored > process of write code, upload, test in browser, then try and figure > out why > it didn't work-- which is the most DIFFICULT part of RevCGI. Andre's > webserver has some very advanced debugging features as well, so it's > much > easier to 'get it right.' > > To say it another way, Andre's really done quite well in integrating > all of > this, and those of you who know him, know he writes really good code. > > And, with a few modifications to MagicCarpet, I've been able to > streamline > workflow outside of Andre's local webserver. > > One of the issues with ROR, is it's not documented well-- and is a > bit hard > to pickup without a bit of handholding. In fact, I've spent hours on > the > phone and screensharing with Andre just to get caught up on all the > neat > stuff his libraries do. We've created several examples together, and > after > our sessions, I end up more and more impressed with ROR. > > So, I thought if others were interested, I'd create a tutorial > series to > help developers learn how to use ROR and RevCGI. There are of course > some > very good RevCGI beginner tutorials, but I'm hoping these would go > farther, > and show a bit more advanced techniques...like putting file locking > on a > stack so that 2 people don't try to write to it at once. Or, uploading > images and files via HTTP and not FTP using POST. > > So, if you're interested, holler at me or Andre, or just respond > here. If > there are enough folks, we'll create a few free ROR tutes. Just let > us know! > > -Chipp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From andre at andregarzia.com Thu Feb 21 10:32:24 2008 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 21 Feb 2008 12:32:24 -0300 Subject: RevCGI Hosts? In-Reply-To: <4B3F14BA-8C3E-475F-8438-D1B388A5F4DE@together.net> References: <47BB9B94.5030105@fourthworld.com> <7c87a2a10802202219q3025facfpeb42b5e1e6ba8549@mail.gmail.com> <4B3F14BA-8C3E-475F-8438-D1B388A5F4DE@together.net> Message-ID: <7c87a2a10802210732p7c27a732wcc0e2a319ce243f8@mail.gmail.com> Richard, RocketsSendmail is just a wrapper for the popular Sendmail unix tool that is bundled with every linux under the sun. In the end, you're calling the sendmail command line tool and that tool is sending the email. It does not rely on relays or other hacks, sendmail is the *official* way to send emails from a hosted account usually. You'll need to change the path to sendmail though. andre On 2/21/08, Richard Miller wrote: > Andre, > > I'll definitely take a good look at that. Does that library require > an SMTP relay or does it use some other method of sending an email? > > Thanks. > > Richard > > > > On Feb 21, 2008, at 1:19 AM, Andre Garzia wrote: > > > Richard, > > > > you can use RocketsSendmail library from the RevOnRockets package to > > send email, you'll probably need to change the path to the sendmail > > application in there, but after that you should be able to send emails > > in one line of code. > > > > Andre > > > > On 2/20/08, Richard Miller wrote: > >> Two questions about both of these cgi hosting options: > >> > >> 1. how do you generate an email from these accounts? With libsmtp253 > >> or something else? > >> > >> 2. can you use the "put x into ftp:url z" syntax or some other > >> language to place data from the cgi-bin into a remote location on > >> another server? > >> > >> Thanks. > >> > >> Richard Miller > >> > >> > >> > >> > >> On Feb 20, 2008, at 12:52 AM, Mark Talluto wrote: > >> > >>> > >>> On Feb 19, 2008, at 7:16 PM, Richard Gaskin wrote: > >>> > >>>> You and others here got me to take a look at DreamHost, and I've > >>>> been very happy with them over the last year since I signed on. > >>> > >>> I have both a Dreamhost and JaguarPC account. I am about to close > >>> out our JaguarPC accounts as their ftp upload max speed is around > >>> 125KB/sec. I can saturate my pipe at 2 MB/Sec with DreamHost. > >>> Gotta love FIOS! > >>> > >>> > >>> Mark Talluto > >>> -- > >>> CANELA Software > >>> http://www.canelasoftware.com > >>> > >>> _______________________________________________ > >>> use-revolution mailing list > >>> use-revolution at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From lfredricks at proactive-intl.com Thu Feb 21 11:00:13 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 21 Feb 2008 08:00:13 -0800 Subject: upgrade pricing In-Reply-To: References: <19C7CBBC-C4BA-41D5-AEE1-84B7FC908022@rcn.com> Message-ID: <036801c874a2$d81ca8e0$6501a8c0@GATEWAY> > ?149 applies if your 1 year license has expired. I take > 'recently bought' > meaning less than a year so you're entitled to an 'Early Update Pack': > > http://www.runrev.com/buy/studio_early_update > > which is ?99. What you get stacks onto what you have - there's a benefit to keeping your license up to date. You will see some variation among what's offered on the Runtime site, authorized resellers or Mirye online store. It is inevitable with exchange rates and that some will offer some deals while others won't or can't. For example, the icon pack bundle is being offered through all resellers including Content Paradise and Renderosity, but some just do not have the ability to easily apply other kinds of offers. Its always a good idea to shop around. Don?t be afraid to also ask your local reseller. It is through requests to purchase that resellers get turned on to offering development tools. Best regards, Lynn Fredricks Mirye Software Publishing http://www.mirye.com From wow at together.net Thu Feb 21 11:07:10 2008 From: wow at together.net (Richard Miller) Date: Thu, 21 Feb 2008 11:07:10 -0500 Subject: RevCGI Hosts? In-Reply-To: <7c87a2a10802210732p7c27a732wcc0e2a319ce243f8@mail.gmail.com> References: <47BB9B94.5030105@fourthworld.com> <7c87a2a10802202219q3025facfpeb42b5e1e6ba8549@mail.gmail.com> <4B3F14BA-8C3E-475F-8438-D1B388A5F4DE@together.net> <7c87a2a10802210732p7c27a732wcc0e2a319ce243f8@mail.gmail.com> Message-ID: <2D0B1E82-80DE-4799-A71B-F39E103D6367@together.net> Andre, OK. Well, perhaps that's where I'm running into a problem. I'm running my Rev cgi program on a dedicated MacMini server. It's simply a MacMini sitting in some server farm somewhere, so it's not a "hosted" account, in the traditional sense. Should I still be able to use sendmail? Thanks. Richard On Feb 21, 2008, at 10:32 AM, Andre Garzia wrote: > Richard, > > RocketsSendmail is just a wrapper for the popular Sendmail unix tool > that is bundled with every linux under the sun. In the end, you're > calling the sendmail command line tool and that tool is sending the > email. > > It does not rely on relays or other hacks, sendmail is the *official* > way to send emails from a hosted account usually. > > You'll need to change the path to sendmail though. > > andre > > On 2/21/08, Richard Miller wrote: >> Andre, >> >> I'll definitely take a good look at that. Does that library require >> an SMTP relay or does it use some other method of sending an email? >> >> Thanks. >> >> Richard >> >> >> >> On Feb 21, 2008, at 1:19 AM, Andre Garzia wrote: >> >>> Richard, >>> >>> you can use RocketsSendmail library from the RevOnRockets package to >>> send email, you'll probably need to change the path to the sendmail >>> application in there, but after that you should be able to send >>> emails >>> in one line of code. >>> >>> Andre >>> >>> On 2/20/08, Richard Miller wrote: >>>> Two questions about both of these cgi hosting options: >>>> >>>> 1. how do you generate an email from these accounts? With >>>> libsmtp253 >>>> or something else? >>>> >>>> 2. can you use the "put x into ftp:url z" syntax or some other >>>> language to place data from the cgi-bin into a remote location on >>>> another server? >>>> >>>> Thanks. >>>> >>>> Richard Miller >>>> >>>> >>>> >>>> >>>> On Feb 20, 2008, at 12:52 AM, Mark Talluto wrote: >>>> >>>>> >>>>> On Feb 19, 2008, at 7:16 PM, Richard Gaskin wrote: >>>>> >>>>>> You and others here got me to take a look at DreamHost, and I've >>>>>> been very happy with them over the last year since I signed on. >>>>> >>>>> I have both a Dreamhost and JaguarPC account. I am about to close >>>>> out our JaguarPC accounts as their ftp upload max speed is around >>>>> 125KB/sec. I can saturate my pipe at 2 MB/Sec with DreamHost. >>>>> Gotta love FIOS! >>>>> >>>>> >>>>> Mark Talluto >>>>> -- >>>>> CANELA Software >>>>> http://www.canelasoftware.com >>>>> >>>>> _______________________________________________ >>>>> use-revolution mailing list >>>>> use-revolution at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>> >>> >>> -- >>> http://www.andregarzia.com All We Do Is Code. >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From andre at andregarzia.com Thu Feb 21 11:13:55 2008 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 21 Feb 2008 13:13:55 -0300 Subject: RevCGI Hosts? In-Reply-To: <2D0B1E82-80DE-4799-A71B-F39E103D6367@together.net> References: <47BB9B94.5030105@fourthworld.com> <7c87a2a10802202219q3025facfpeb42b5e1e6ba8549@mail.gmail.com> <4B3F14BA-8C3E-475F-8438-D1B388A5F4DE@together.net> <7c87a2a10802210732p7c27a732wcc0e2a319ce243f8@mail.gmail.com> <2D0B1E82-80DE-4799-A71B-F39E103D6367@together.net> Message-ID: <7c87a2a10802210813i4e91c017kc6119a54aba6c2ed@mail.gmail.com> Richard, You're lucky, RocketsSendmail supports only two operating systems - Linux & Mac OS X - so you're good to go. On MacOS X, RocketsSendmail will use command line mail command. (Mac OS X includes sendmail but mail command line tool works better) Cheers andre On 2/21/08, Richard Miller wrote: > Andre, > > OK. Well, perhaps that's where I'm running into a problem. > > I'm running my Rev cgi program on a dedicated MacMini server. It's > simply a MacMini sitting in some server farm somewhere, so it's not a > "hosted" account, in the traditional sense. Should I still be able to > use sendmail? > > Thanks. > > Richard > > > > On Feb 21, 2008, at 10:32 AM, Andre Garzia wrote: > > > Richard, > > > > RocketsSendmail is just a wrapper for the popular Sendmail unix tool > > that is bundled with every linux under the sun. In the end, you're > > calling the sendmail command line tool and that tool is sending the > > email. > > > > It does not rely on relays or other hacks, sendmail is the *official* > > way to send emails from a hosted account usually. > > > > You'll need to change the path to sendmail though. > > > > andre > > > > On 2/21/08, Richard Miller wrote: > >> Andre, > >> > >> I'll definitely take a good look at that. Does that library require > >> an SMTP relay or does it use some other method of sending an email? > >> > >> Thanks. > >> > >> Richard > >> > >> > >> > >> On Feb 21, 2008, at 1:19 AM, Andre Garzia wrote: > >> > >>> Richard, > >>> > >>> you can use RocketsSendmail library from the RevOnRockets package to > >>> send email, you'll probably need to change the path to the sendmail > >>> application in there, but after that you should be able to send > >>> emails > >>> in one line of code. > >>> > >>> Andre > >>> > >>> On 2/20/08, Richard Miller wrote: > >>>> Two questions about both of these cgi hosting options: > >>>> > >>>> 1. how do you generate an email from these accounts? With > >>>> libsmtp253 > >>>> or something else? > >>>> > >>>> 2. can you use the "put x into ftp:url z" syntax or some other > >>>> language to place data from the cgi-bin into a remote location on > >>>> another server? > >>>> > >>>> Thanks. > >>>> > >>>> Richard Miller > >>>> > >>>> > >>>> > >>>> > >>>> On Feb 20, 2008, at 12:52 AM, Mark Talluto wrote: > >>>> > >>>>> > >>>>> On Feb 19, 2008, at 7:16 PM, Richard Gaskin wrote: > >>>>> > >>>>>> You and others here got me to take a look at DreamHost, and I've > >>>>>> been very happy with them over the last year since I signed on. > >>>>> > >>>>> I have both a Dreamhost and JaguarPC account. I am about to close > >>>>> out our JaguarPC accounts as their ftp upload max speed is around > >>>>> 125KB/sec. I can saturate my pipe at 2 MB/Sec with DreamHost. > >>>>> Gotta love FIOS! > >>>>> > >>>>> > >>>>> Mark Talluto > >>>>> -- > >>>>> CANELA Software > >>>>> http://www.canelasoftware.com > >>>>> > >>>>> _______________________________________________ > >>>>> use-revolution mailing list > >>>>> use-revolution at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>> subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-revolution > >>>> > >>>> _______________________________________________ > >>>> use-revolution mailing list > >>>> use-revolution at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-revolution > >>>> > >>> > >>> > >>> -- > >>> http://www.andregarzia.com All We Do Is Code. > >>> _______________________________________________ > >>> use-revolution mailing list > >>> use-revolution at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From hershf at rgllc.us Thu Feb 21 11:19:05 2008 From: hershf at rgllc.us (Hershel Fisch) Date: Thu, 21 Feb 2008 11:19:05 -0500 Subject: 2.9 b4 In-Reply-To: <47BCF1B4.40209@hyperactivesw.com> Message-ID: On 2/20/08 10:36 PM, "J. Landman Gay" wrote: > Hershel Fisch wrote: >> On 2/20/08 4:59 PM, "J. Landman Gay" wrote: >> >>> Hershel Fisch wrote: >>> >>>> Yes, I'm sorry about that I do understand but actualy now found out that >>>> there is another list to post on >>>> And by the way, J, didn't you put yours as well? >>> Yes, but on second thought I probably shouldn't have. >> Well that's why on third thought I apologized :-) > > All we need is a fourth and we can play bridge. :) LOL From stephenREVOLUTION2 at barncard.com Thu Feb 21 11:38:08 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Thu, 21 Feb 2008 08:38:08 -0800 Subject: Anyone interested in learning more about Rev on Rockets? In-Reply-To: <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> References: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> Message-ID: Andre and Chipp working on a project together! Sweet! I have a lot of web tasks coming up and have been dreading using my old Golive library-PHP hack because it's hard to work with. Tutorials would be fantastic. sqb > >So, if you're interested, holler at me or Andre, or just respond here. If >there are enough folks, we'll create a few free ROR tutes. Just let us know! > >-Chipp >_______________________________________________ -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From mikeythek at gmail.com Thu Feb 21 11:58:19 2008 From: mikeythek at gmail.com (Mikey) Date: Thu, 21 Feb 2008 11:58:19 -0500 Subject: Anyone interested in learning more about Rev on Rockets? In-Reply-To: References: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> Message-ID: <9b408d8e0802210858x2f04c5ecv9258deffbebb44ae@mail.gmail.com> yes. From 3mcgrath at comcast.net Thu Feb 21 13:08:57 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Thu, 21 Feb 2008 13:08:57 -0500 Subject: Anyone interested in learning more about Rev on Rockets? In-Reply-To: <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> References: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> Message-ID: Ok, you got me interested. I would love to learn about ROR. Tom McGrath On Feb 21, 2008, at 6:01 AM, Chipp Walters wrote: > Part II > > > So, if you're interested, holler at me or Andre, or just respond > here. If > there are enough folks, we'll create a few free ROR tutes. Just let > us know! > > -Chipp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution Thomas McGrath III 3mcgrath at comcast.net Mac OS10.5.1 2.4 GHz Intel Core 2 Duo 4 GB 667 MHz DDR2 SDRAM From howard.bornstein at gmail.com Thu Feb 21 13:13:12 2008 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Thu, 21 Feb 2008 13:13:12 -0500 Subject: Anyone interested in learning more about Rev on Rockets? In-Reply-To: <20080221110532.SSIE1990.hrndva-omta06.mail.rr.com@10.0.1.199> References: <20080221110532.SSIE1990.hrndva-omta06.mail.rr.com@10.0.1.199> Message-ID: <3f07cc260802211013x222d5d81t6847d44ae00cf922@mail.gmail.com> > Using some of Andre's libraries, you can easily send email, so you could > create a > software registration database stack, which gets called from PayPal after > someone purchases your product, and it automatically emails the regcode. > > I have just such a project coming up. I was loath to wait for two more months for the rest of Andre's tutorials in the Rev newsletter, so tutorials from you guys would be fantastic! Please do lots! -- Regards, Howard Bornstein ----------------------- www.designeq.com From jacque at hyperactivesw.com Thu Feb 21 13:13:34 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 21 Feb 2008 12:13:34 -0600 Subject: RevCGI Hosts? In-Reply-To: <302CEA4B-F1AC-42DD-AB31-D3FE40A131F6@lacscentre.co.uk> References: <7aa52a210802181441m5a05cb60l32ca3f7ecef6ff84@mail.gmail.com> <1e91b2b70802181742i52ebf3d3l11165f21b3c594a1@mail.gmail.com> <7aa52a210802181815s6587e8e4m62d749afa5224422@mail.gmail.com> <47BB8864.2080607@hyperactivesw.com> <06D9D8F2-DA0C-4AB5-8FAE-862F23F6B82C@lacscentre.co.uk> <47BC6959.5060202@hyperactivesw.com> <302CEA4B-F1AC-42DD-AB31-D3FE40A131F6@lacscentre.co.uk> Message-ID: <47BDBF4E.8040705@hyperactivesw.com> Dave Cragg wrote: > Sorry to prolong this, Jacque. Not at all. I think the discussion is valuable. I am fairly sure that Rev is more secure than some other CGI implementations but I'd like to know that for certain. > The "internal server error" is returned > by Apache, and only indicates that things "didn't work", but not > necessarily that nothing happened. I tried calling this URL: > > http://localhost/cgi-bin/revolution?12345 > > I get the "500 internal server error", but in the Apache error log I see > this: > > revolution: Can't load stack or script 12345 > [Thu Feb 21 10:41:45 2008] [error] [client 127.0.0.1] Premature end of > script headers: /Library/WebServer/CGI-Executables/revolution Right, I saw the same thing. The important part, I think, is that you can't pass a parameter to the Rev engine unless there is a script on the server that can parse those parameters (at least, that's what I think. It's what I want to know for sure.) So, barring someone who physically accesses the server and puts in a spy script, I don't think Rev will work when passing parameters to the raw engine itself. But like I said, I'd like this verified because right now I'm just guessing. > > Which suggests revolution started and "tried" to do something. That it > fails (even when 12345 is substituted with a real stack) is reassuring. > But then I wonder that the failure may be due to this being the Darwin > engine and it never opens regular stacks. The Darwin engine opens stacks okay, I have several CGIs that open and use regular stacks. The key is that they are all opened by a CGI script, and the browser calls those scripts in the URL. I have not been able to get Rev to respond properly by just calling the engine alone from a browser, with or without parameters. But I'm not an expert, so I'd like to know if there is a way to do that. If there is, then that would be the weak point in the engine. > And Chipp confirmed that the > Linux engine will open stacks from a script, and so I wonder if it might > open stacks from a passed parameter. Chipp and I talked about that. I have an older engine on my site, which opens stacks fine with either the "library" or "start using" commands; it is only the "open" command that fails. Apparently this was changed in a later engine version, so that "open" also works (I should update the engine on my server, I guess.) But regardless, my scripts do open and use stacks on the server even with the older engine, in both Darwin and Linux environments. What I can't make Rev do is open a stack without having a CGI script in place to do that. > So instead of losing sleep, I just > put the engine outside the cgi-bin folder. I think this is a safe thing to do. Mainly I just want to verify, for my own curiosity, whether Rev is as secure as Scott Raney implied. So far I can't make it do anything it shouldn't -- but like I said, I'm no 'nix expert and I'd need some help crafting a URL that would do the deed. If anyone is willing to bang on the engine this way, I'd like to know what they find out. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From barryb at libero.it Thu Feb 21 13:48:21 2008 From: barryb at libero.it (barryb at libero.it) Date: Thu, 21 Feb 2008 19:48:21 +0100 Subject: Anyone interested in learning more about Rev on Rockets? Message-ID: Thu, 21 Feb 2008 05:01:27 -0600 Chipp Waters wrote: >So, if you're interested, holler at me or Andre, or just >respond here. Definitely! My hand's up! Thank you both for the offer. Your posts, Chipp, were a great incentive for us all get a grip on what Andre has, so generously, already delivered. Barry >If there are enough folks, we'll create a few free ROR tutes. >Just let us know! >-Chipp Give them a cheer folks!!! From mfstuart at cox.net Thu Feb 21 14:04:48 2008 From: mfstuart at cox.net (mfstuart) Date: Thu, 21 Feb 2008 11:04:48 -0800 (PST) Subject: UI performance and large data set in Table Object Message-ID: <15618647.post@talk.nabble.com> Hi All, I have a question about large data sets (thousands of lines) in a table object and the slowing down of the UI performance, especially on resizing the stack. My application interfaces to an MS SQL 2000 database via ODBC. No problem there. The SQL table I have has over half a million records in it, and this grows all the time. Potentially, the user could return all records, which would take a while to load them all. But I've created the interface to allow the user to return a smaller record set. This can be alot of records - 10, 30, 40, 50000 thousand or more, or just a few hundred. It depends on how the user searches the database. Now when large record sets are returned from a search, the UI (user interface) slows down, especially when resizing the stack to see more records in the table object. When resizing with no records, the UI is performs normally with fast resizing. Q: has any one seen this before? And if so, how do you handle the drop in UI performance? Thanx, Mark Stuart -- View this message in context: http://www.nabble.com/UI-performance-and-large-data-set-in-Table-Object-tp15618647p15618647.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at yahoo.com Thu Feb 21 14:12:20 2008 From: capellan2000 at yahoo.com (capellan) Date: Thu, 21 Feb 2008 11:12:20 -0800 (PST) Subject: md5 In-Reply-To: References: <4197C975-01FF-4AA2-B57A-C7C429074C49@maseurope.net> <7D572DCB-3808-4481-B98D-57FCEE7A7764@derbrill.de> Message-ID: <15618684.post@talk.nabble.com> Hi Mark, This has been discussed before ;-) In 2005, september 25 Mark Waddingham wrote, in the message: put url some url into someVar... Mark Schonewille was trying to do something very similar a while ago and filed an enhancement request about being able to do md5 digests on large files *without* them needing to be loaded. For interest see here: As suggested (by me) in the bug-report, you needn't take the md5digest of the entire file at once and can do something like this instead: function quasiMD5 pFile local tMD5s open file pFile for binary read repeat read from file pFile for CHUNK_SIZE chars if the result is EOF then exit repeat end if put the md5digest of it after tMD5s end repeat close file pFile return the md5Digest of tMD5s end quasiMD5 Where you can make CHUNK_SIZE some suitable size (perhaps 256k/512k). [ My intuitive analysis of the impact of doing this on the integrity (i.e. potential for collision) of the digest is that it will be minimal - but perhaps someone more knowledgeable in this area could comment. ] Hope this helps, Mark Waddinham. Well, i do not try this code myself, but i am sure that no md5digest command line tool tries to load the whole Linux Installer image CD in memory to verify the file. Surely, they use an aproach similar to this suggested by Mark Waddingham. But there is only one thing to know for sure... What exact size are the chunks to process? alejandro masmit wrote: > > I need to get the md5 of potentially very large > files on disc. I'm hoping to avoid having to load them into memory in > order get the digest. > > Mark > -- View this message in context: http://www.nabble.com/md5-tp15536091p15618684.html Sent from the Revolution - User mailing list archive at Nabble.com. From dave at looktowindward.com Thu Feb 21 14:14:14 2008 From: dave at looktowindward.com (Dave) Date: Thu, 21 Feb 2008 19:14:14 +0000 Subject: Open Socket Question Message-ID: <58C19CEB-259E-4959-9D4F-B496018448F6@looktowindward.com> Hi All, I have a number of applications that communicate with each other using TCP/IP Sockets. For a given application, I want to be able to connect it to a number of "server" applications, however the "server" apps make or may not be running, so what I want to be able to do is to issue an open socket to a "server" application and if the connection is made add it to a "connected" table and if not, carry on the to next server, but try to open the socket again at a later time. I can't seem to be able to get my head around the code needed to do this! Basically I have a Function that gets called with a list of the IP Addresses in the for - aa.bb.cc.dd:port and a ConnectionID, I want to be able to open a socket to each IP/Port with the specified ConnectionID . The function definition for this is as follows: function StartClient theConnectToServerList,theConnectionID theConnectToServerList is a list of the following 192.168.1.100:6000 192.168.1.100:6002 192.168.1.100:6004 etc. Any ideas on how achieve this gracefully would be greatly appreciated! All the Best Dave From jacque at hyperactivesw.com Thu Feb 21 14:14:55 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 21 Feb 2008 13:14:55 -0600 Subject: Shakobox/PlayCommand and Rev 2.9 In-Reply-To: <512D8C85-3007-4226-99E5-9F9B66191DE3@online.fr> References: <512D8C85-3007-4226-99E5-9F9B66191DE3@online.fr> Message-ID: <47BDCDAF.2080401@hyperactivesw.com> Ren? Micout wrote: > Hello, > Is PlayCommand (Shakobox) run with Rev 2.9 ? The playback works but the example stack seems to be broken. No messages are sent to the buttons, changes aren't recorded, and the tab button script is not triggered with a menupick. It is acting like the background group does not exist, or is disabled. I'll submit the stack to bugzilla. For now, you can manually type "go card " into the message box to go to the card you want to see. The Examples card still works and will play back the example songs normally. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lfredricks at proactive-intl.com Thu Feb 21 14:18:36 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 21 Feb 2008 11:18:36 -0800 Subject: Valentina 2.5.8 Getting Started Information Message-ID: <049701c874be$8f1f71b0$6501a8c0@GATEWAY> If you participated in the Revolution SuperBundle or our 10th anniversary special offer, Id like to direct your attention to a forum post on miryesoftware.ning.com (http://miryesoftware.ning.com/forum/topic/show?id=1985969%3ATopic%3A602) and a Getting Started FAQ page (http://www.mirye.com/index.php/Valentina-Database-System-FAQ/Valentina-2.5. 8-Classic:-Where-to-Start.html) Yeah, big URLs - sorry :-) Questions that come in on the forum will be answered and then the FAQ will get updated. If you havent gotten your code yet from the 10th Anniversary offer, don't panic. Our associate marketing minion is going over the last list and sending out codes - they should all be finished by Friday. If you don't have yours by Sunday, go ahead and send us a note as it probably got hung up on a spam filter someplace. Best regards, Lynn Fredricks Mirye Software Publishing http://www.mirye.com Mirye Community NING http://miryesoftware.ning.com From mark at maseurope.net Thu Feb 21 14:24:02 2008 From: mark at maseurope.net (Mark Smith) Date: Thu, 21 Feb 2008 19:24:02 +0000 Subject: md5 In-Reply-To: <15618684.post@talk.nabble.com> References: <4197C975-01FF-4AA2-B57A-C7C429074C49@maseurope.net> <7D572DCB-3808-4481-B98D-57FCEE7A7764@derbrill.de> <15618684.post@talk.nabble.com> Message-ID: Alejandro, I don't think the process described by Mark Waddingham will produce the same result as getting the digest of the whole file, no matter what chunk size you use. But I'm sure he's right that the result will produce very little chance of collision. If your computer has openssl installed, you can us a shell call: get shell("openssl md5" && pathToFile) Best, Mark On 21 Feb 2008, at 19:12, capellan wrote: > > Hi Mark, > > This has been discussed before ;-) > > In 2005, september 25 > Mark Waddingham wrote, > in the message: > put url some url into someVar... > > Mark Schonewille was trying to do something very similar a while > ago and > filed an enhancement request about being able to do md5 digests on > large > files *without* them needing to be loaded. For interest see here: > > > > As suggested (by me) in the bug-report, you needn't take the md5digest > of the entire file at once and can do something like this instead: > > function quasiMD5 pFile > local tMD5s > open file pFile for binary read > repeat > read from file pFile for CHUNK_SIZE chars > if the result is EOF then > exit repeat > end if > put the md5digest of it after tMD5s > end repeat > close file pFile > return the md5Digest of tMD5s > end quasiMD5 > > Where you can make CHUNK_SIZE some suitable size (perhaps 256k/512k). > > [ My intuitive analysis of the impact of doing this on the integrity > (i.e. potential for collision) of the digest is that it will be > minimal > - but perhaps someone more knowledgeable in this area could comment. ] > > Hope this helps, > > Mark Waddinham. > > > Well, i do not try this code myself, but i am sure that no > md5digest command > line tool tries to load the whole Linux Installer image CD in > memory to > verify > the file. Surely, they use an aproach similar to this suggested by > Mark > Waddingham. > But there is only one thing to know for sure... What exact size are > the > chunks to process? > > alejandro > > > > masmit wrote: >> >> I need to get the md5 of potentially very large >> files on disc. I'm hoping to avoid having to load them into memory in >> order get the digest. >> >> Mark >> > > -- > View this message in context: http://www.nabble.com/md5- > tp15536091p15618684.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From rmicout at online.fr Thu Feb 21 14:24:38 2008 From: rmicout at online.fr (=?ISO-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 21 Feb 2008 20:24:38 +0100 Subject: Shakobox/PlayCommand and Rev 2.9 In-Reply-To: <47BDCDAF.2080401@hyperactivesw.com> References: <512D8C85-3007-4226-99E5-9F9B66191DE3@online.fr> <47BDCDAF.2080401@hyperactivesw.com> Message-ID: <92C2FE05-6A7C-408D-B1BB-2ABBA85A8438@online.fr> Thank you Jacqueline, My question was about PlayCommand... Shakobox for precision... If I have understand (understood ?) the PlayCommand work normally ? Ren? Le 21 f?vr. 08 ? 20:14, J. Landman Gay a ?crit : > Ren? Micout wrote: >> Hello, >> Is PlayCommand (Shakobox) run with Rev 2.9 ? > > The playback works but the example stack seems to be broken. No > messages are sent to the buttons, changes aren't recorded, and the > tab button script is not triggered with a menupick. It is acting > like the background group does not exist, or is disabled. > > I'll submit the stack to bugzilla. For now, you can manually type > "go card " into the message box to go to the card you want > to see. The Examples card still works and will play back the > example songs normally. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From capellan2000 at yahoo.com Thu Feb 21 14:33:47 2008 From: capellan2000 at yahoo.com (capellan) Date: Thu, 21 Feb 2008 11:33:47 -0800 (PST) Subject: Implementing rsync protocol and algorithms with RR apps Message-ID: <15618701.post@talk.nabble.com> Hi all, (First, i wrote this message in 2005, so it?s worth repeating given the actual interest about RR stacks on the internet.) Have anyone given a try to implement rsync protocols and algorithms using only RR clients applications? rsync allows to download only the parts that had changed in a stack, instead of the whole file. It's composed of a server and a client. The client sends the server a single string of information about the local file. This string is a series of digests of chunks of 1k of the local file. When server receives this string, it compares these digest with chunks of 1k of the file in the server and then just send back the parts that the client needs to recreate the file from the server, in the client's side. Thanks in advance! al -- View this message in context: http://www.nabble.com/Implementing-rsync-protocol-and-algorithms-with-RR-apps-tp15618701p15618701.html Sent from the Revolution - User mailing list archive at Nabble.com. From mark at maseurope.net Thu Feb 21 14:37:48 2008 From: mark at maseurope.net (Mark Smith) Date: Thu, 21 Feb 2008 19:37:48 +0000 Subject: UI performance and large data set in Table Object In-Reply-To: <15618647.post@talk.nabble.com> References: <15618647.post@talk.nabble.com> Message-ID: <16EDC672-E378-4B78-8AC2-113DE6B2757E@maseurope.net> Mark, you might store the data from the database in a custom property of the table field, and only show as much data as will fit in the field at it's current size. You'd have to write your own scrolling routines to update the display, but it can be done. Best, Mark On 21 Feb 2008, at 19:04, mfstuart wrote: > > Hi All, > > I have a question about large data sets (thousands of lines) in a > table > object and the slowing down of the UI performance, especially on > resizing > the stack. > > My application interfaces to an MS SQL 2000 database via ODBC. No > problem > there. > The SQL table I have has over half a million records in it, and > this grows > all the time. > > Potentially, the user could return all records, which would take a > while to > load them all. > But I've created the interface to allow the user to return a > smaller record > set. This can be alot of records - 10, 30, 40, 50000 thousand or > more, or > just a few hundred. It depends on how the user searches the database. > > Now when large record sets are returned from a search, the UI (user > interface) slows down, especially when resizing the stack to see more > records in the table object. When resizing with no records, the UI is > performs normally with fast resizing. > > Q: has any one seen this before? And if so, how do you handle the > drop in UI > performance? > > Thanx, > Mark Stuart > -- > View this message in context: http://www.nabble.com/UI-performance- > and-large-data-set-in-Table-Object-tp15618647p15618647.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From janschenkel at yahoo.com Thu Feb 21 14:42:33 2008 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 21 Feb 2008 11:42:33 -0800 (PST) Subject: UI performance and large data set in Table Object In-Reply-To: <15618647.post@talk.nabble.com> Message-ID: <340640.1349.qm@web65402.mail.ac4.yahoo.com> --- mfstuart wrote: > > Hi All, > > I have a question about large data sets (thousands > of lines) in a table > object and the slowing down of the UI performance, > especially on resizing > the stack. > > My application interfaces to an MS SQL 2000 database > via ODBC. No problem > there. > The SQL table I have has over half a million records > in it, and this grows > all the time. > > Potentially, the user could return all records, > which would take a while to > load them all. > But I've created the interface to allow the user to > return a smaller record > set. This can be alot of records - 10, 30, 40, 50000 > thousand or more, or > just a few hundred. It depends on how the user > searches the database. > > Now when large record sets are returned from a > search, the UI (user > interface) slows down, especially when resizing the > stack to see more > records in the table object. When resizing with no > records, the UI is > performs normally with fast resizing. > > Q: has any one seen this before? And if so, how do > you handle the drop in UI > performance? > > Thanx, > Mark Stuart > Hi Mark, The problem is two-fold: it's a lot of data that has to go through some pipe before it arrives in Revolution, and Revolution then has to process and format a lot of that to determine what to actually display on screen, recalculate the size of the scrollbar, etc. For a project where it was taking a lot of time before the user saw anything, I decided to take a different approach: rather than rely on a single call to revdb_querylist()/revDataFromQuery(), to use a result set cursor and a 'send in time' construct to fetch 20 records at a time. This approach allows the user interface to remain responsive, and the user can see the table filling up as more data comes in. It also means you can cancel the rest of the data download as soon as the user finds the record he wants, or decides to make a different selection. It looks something like this: ## global gConnectionID local sFetchMsgID, sCursorID, sColumnCount on mouseUp CancelFetchTimer put "SELECT * FROM Customers" into tQuery put revdb_query(gConnectionID, tQuery) into sCursorID if sCursorID is not a number then answer error sCursorID exit mouseUp end if put revDatabaseColumnCount(sCursorID) into sColumnCount put empty into field "QueryResults" send "FetchNext20Records" to me in 0 milliseconds put the result into sFetchMsgID end mouseUp on FetchNext20Records put false into tStopFlag repeat 20 times repeat with tColumn = 1 to sColumnCount put revDatabaseColumnNumbered(sCursorID, tColumn) & \ tab after tNextPart end repeat put return into char -1 of tNextPart put revCurrentRecordIsLast(sCursorID) into tStopFlag if tStopFlag then delete char -1 of tNextPart exit repeat end if end repeat put tNextPart after field "QueryResults" if tStopFlag then put empty into sFetchMsgID else send "FetchNext20Records" to me in 100 milliseconds put the result into sFetchMsgID end if end FetchNext20Records on CancelFetchTimer if sFetchMsgID is not empty then cancel sFetchMsgID put empty into sFetchMsgID end if end CancelFetchTimer ## This is all off the top of my head, so beware of typos. Hope this helped, Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs From jacque at hyperactivesw.com Thu Feb 21 14:47:54 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 21 Feb 2008 13:47:54 -0600 Subject: Shakobox/PlayCommand and Rev 2.9 In-Reply-To: <92C2FE05-6A7C-408D-B1BB-2ABBA85A8438@online.fr> References: <512D8C85-3007-4226-99E5-9F9B66191DE3@online.fr> <47BDCDAF.2080401@hyperactivesw.com> <92C2FE05-6A7C-408D-B1BB-2ABBA85A8438@online.fr> Message-ID: <47BDD56A.1000802@hyperactivesw.com> Ren? Micout wrote: > Thank you Jacqueline, > My question was about PlayCommand... Shakobox for precision... > If I have understand (understood ?) the PlayCommand work normally ? Yes, it seems to work fine. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Thu Feb 21 15:17:21 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Feb 2008 12:17:21 -0800 Subject: UI performance and large data set in Table Object Message-ID: <47BDDC51.7050401@fourthworld.com> Jan Schenkel wrote: >> Now when large record sets are returned from a >> search, the UI (user >> interface) slows down, especially when resizing the >> stack to see more >> records in the table object. When resizing with no >> records, the UI is >> performs normally with fast resizing. ... > The problem is two-fold: it's a lot of data that has > to go through some pipe before it arrives in > Revolution, and Revolution then has to process and > format a lot of that to determine what to actually > display on screen, recalculate the size of the > scrollbar, etc. FWIW, I did some subjective tests with scrolling large amounts of data in Rev vs. Word, Excel, and others. Rev outperformed them all, quite noticeably. So if it seems slow, try the same size data anywhere else. Sometimes a lot of data just takes a long time to redraw. Fortunately the user will likely resize a window infrequently. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From janschenkel at yahoo.com Thu Feb 21 15:30:18 2008 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 21 Feb 2008 12:30:18 -0800 (PST) Subject: UI performance and large data set in Table Object In-Reply-To: <47BDDC51.7050401@fourthworld.com> Message-ID: <163276.80663.qm@web65416.mail.ac4.yahoo.com> --- Richard Gaskin wrote: > Jan Schenkel wrote: > > >> Now when large record sets are returned from a > >> search, the UI (user > >> interface) slows down, especially when resizing > the > >> stack to see more > >> records in the table object. When resizing with > no > >> records, the UI is > >> performs normally with fast resizing. > ... > > The problem is two-fold: it's a lot of data that > has > > to go through some pipe before it arrives in > > Revolution, and Revolution then has to process and > > format a lot of that to determine what to actually > > display on screen, recalculate the size of the > > scrollbar, etc. > > FWIW, I did some subjective tests with scrolling > large amounts of data > in Rev vs. Word, Excel, and others. Rev outperformed > them all, quite > noticeably. > > So if it seems slow, try the same size data anywhere > else. Sometimes a > lot of data just takes a long time to redraw. > > Fortunately the user will likely resize a window > infrequently. > > -- > Richard Gaskin > Managing Editor, revJournal > Excellent point, Richard - Revolution is indeed much faster than the MS behemoths. Combining Mark's advice of caching the data in an off-screen buffer with the 'fake-threaded' chunked download approach, allows us to squeeze every drop of performance out of our favourite development tool... Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs From revdev at pdslabs.net Thu Feb 21 16:04:21 2008 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 21 Feb 2008 13:04:21 -0800 Subject: Anyone interested in learning more about Rev on Rockets? In-Reply-To: <38EE65A4-4A9A-4BE8-8E26-4F2D1ED445FE@mangomultimedia.com> References: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> <41B696DC-9339-4509-AF2E-4C1FE0C59C50@anachreon.co.uk> <38EE65A4-4A9A-4BE8-8E26-4F2D1ED445FE@mangomultimedia.com> Message-ID: <47BDE755.1080507@pdslabs.net> Me too! I've used ScreenSteps to create docs for client work - using it to show how RevOnRockets works is a *great* idea! Phil Davis Trevor DeVore wrote: > On Feb 21, 2008, at 7:12 AM, Luis wrote: > >> Sounds like a good job for ScreenSteps... ;) > > You rang? :-) -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From runrev260805 at m-r-d.de Thu Feb 21 16:23:05 2008 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Thu, 21 Feb 2008 21:23:05 +0000 Subject: Re-4: Problem with characters/special characters in XML Message-ID: <0002E9B9.47BDF9C8@192.168.168.3> Hi Mark, thanks for the tip in the right direction. After playing around and trying to understand what?s that all about unicode i found that these two lines will do what i want put uniencode(tXml,"UTF-16") into utf16 put unidecode(utf16,"UTF8") into tXml Now my selfmade XMl-file can be opened by Excel 2003 without problem. > Do you create an XML file with your own custom-made script or do you > use Revolution's XML external? Yes i create the XML file with my own custom-made script, because i am new at XML and i do not know right now how to use the XML external. I had an original excel file, which i exported to XML. I then opened that xml in an editor to find out how it is organized. So i was able to build the same XML files out of an csv except the special characters. But that works now too. Damn, XML seems to be so powerfull, but i don?t have the time to get any deeper into it at the moment. Thanks again. All the best, Matthias From chrisliv at unimelb.edu.au Thu Feb 21 16:14:36 2008 From: chrisliv at unimelb.edu.au (chris livermore) Date: Fri, 22 Feb 2008 08:14:36 +1100 Subject: Anyone interested in learning more about Rev on Rockets? In-Reply-To: <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> Message-ID: Very interested Chipp. Andre and I will be using it in a couple of projects coming up and I really need to get on top of it. Love this Rev community, good spirit of generosity Big thanks to Andre Cheers Chris On 21/2/08 10:01 PM, "Chipp Walters" wrote: > Part II > > So, the other really cool part of ROR (Rev On Rockets) is it comes with it's > own webserver, which runs locally, and is ENTIRELY REV BASED. So, you can > edit and debug your RevCGI right in Rev without even being connected to the > Internet. This is an extreme ease-of-use workflow addition to the labored > process of write code, upload, test in browser, then try and figure out why > it didn't work-- which is the most DIFFICULT part of RevCGI. Andre's > webserver has some very advanced debugging features as well, so it's much > easier to 'get it right.' > > To say it another way, Andre's really done quite well in integrating all of > this, and those of you who know him, know he writes really good code. > > And, with a few modifications to MagicCarpet, I've been able to streamline > workflow outside of Andre's local webserver. > > One of the issues with ROR, is it's not documented well-- and is a bit hard > to pickup without a bit of handholding. In fact, I've spent hours on the > phone and screensharing with Andre just to get caught up on all the neat > stuff his libraries do. We've created several examples together, and after > our sessions, I end up more and more impressed with ROR. > > So, I thought if others were interested, I'd create a tutorial series to > help developers learn how to use ROR and RevCGI. There are of course some > very good RevCGI beginner tutorials, but I'm hoping these would go farther, > and show a bit more advanced techniques...like putting file locking on a > stack so that 2 people don't try to write to it at once. Or, uploading > images and files via HTTP and not FTP using POST. > > So, if you're interested, holler at me or Andre, or just respond here. If > there are enough folks, we'll create a few free ROR tutes. Just let us know! > > -Chipp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________________ Chris Livermore Office for Psychiatric Evaluation & Educational Newmedia Orygen Research Centre 35 Poplar Rd (Locked Bag 10) Parkville 3052 VIC, Australia email:chrisliv at unimelb.edu.au url: www.psychiatry.unimelb.edu.au/open/ ORYGEN: 03 9342 3772 headspace mobile: 0403 288 504 medical multimedia education & training _______________________________________________________ From chipp at chipp.com Thu Feb 21 16:26:51 2008 From: chipp at chipp.com (Chipp Walters) Date: Thu, 21 Feb 2008 15:26:51 -0600 Subject: Anyone interested in learning more about Rev on Rockets? In-Reply-To: References: <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> Message-ID: <7aa52a210802211326r3ccdcd49l8a31969210555ecb@mail.gmail.com> OK, Let's do this! I'm putting together a quick Hemingway website where we can start all of this. I'm hoping to have something up there soon for you all to look at. Trevor, thanks for the SS offer-- we may wish to take you up on that. I'll get w/you offline. -C From revdev at pdslabs.net Thu Feb 21 16:36:56 2008 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 21 Feb 2008 13:36:56 -0800 Subject: Open Socket Question In-Reply-To: <58C19CEB-259E-4959-9D4F-B496018448F6@looktowindward.com> References: <58C19CEB-259E-4959-9D4F-B496018448F6@looktowindward.com> Message-ID: <47BDEEF8.5030300@pdslabs.net> Hi Dave, I don't have time to write sample code right now, but one approach would be: - set the socketTimeoutInterval to something reasonable - make a 'connectToServerApp' handler that opens one socket, using the params passed to it by 'startClient' - let 'StartClient' do this once for each line in your server list: send ("connectToServerApp" && tOneIpAddress) to stack in 0 ticks - make a 'socketTimeout' handler than resends the 'connectToServerApp' cmd (with params) to stack in x ticks - make a 'socketError' that notifies you of connection failures - when the openSockets contains all the addresses in your original list, you're done Phil Davis Dave wrote: > Hi All, > > I have a number of applications that communicate with each other using > TCP/IP Sockets. For a given application, I want to be able to connect > it to a number of "server" applications, however the "server" apps > make or may not be running, so what I want to be able to do is to > issue an open socket to a "server" application and if the connection > is made add it to a "connected" table and if not, carry on the to next > server, but try to open the socket again at a later time. > > I can't seem to be able to get my head around the code needed to do this! > > Basically I have a Function that gets called with a list of the IP > Addresses in the for - aa.bb.cc.dd:port and a ConnectionID, I want to > be able to open a socket to each IP/Port with the specified > ConnectionID . The function definition for this is as follows: > > function StartClient theConnectToServerList,theConnectionID > > theConnectToServerList is a list of the following > > 192.168.1.100:6000 > 192.168.1.100:6002 > 192.168.1.100:6004 > > etc. > > Any ideas on how achieve this gracefully would be greatly appreciated! > > All the Best > Dave > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From mfstuart at cox.net Thu Feb 21 18:21:44 2008 From: mfstuart at cox.net (mfstuart) Date: Thu, 21 Feb 2008 15:21:44 -0800 (PST) Subject: UI performance and large data set in Table Object In-Reply-To: <16EDC672-E378-4B78-8AC2-113DE6B2757E@maseurope.net> References: <15618647.post@talk.nabble.com> <16EDC672-E378-4B78-8AC2-113DE6B2757E@maseurope.net> Message-ID: <15622814.post@talk.nabble.com> I haven't tried storing data in a custom property as yet, but wouldn't that render the same lack of performance behavior, where putting the data into a stack of the UI? Mark Stuart masmit wrote: > > Mark, you might store the data from the database in a custom property > of the table field, and only show as much data as will fit in the > field at it's current size. > > You'd have to write your own scrolling routines to update the > display, but it can be done. > > Best, > > Mark > > On 21 Feb 2008, at 19:04, mfstuart wrote: > >> >> Hi All, >> >> I have a question about large data sets (thousands of lines) in a >> table >> object and the slowing down of the UI performance, especially on >> resizing >> the stack. >> >> My application interfaces to an MS SQL 2000 database via ODBC. No >> problem >> there. >> The SQL table I have has over half a million records in it, and >> this grows >> all the time. >> >> Potentially, the user could return all records, which would take a >> while to >> load them all. >> But I've created the interface to allow the user to return a >> smaller record >> set. This can be alot of records - 10, 30, 40, 50000 thousand or >> more, or >> just a few hundred. It depends on how the user searches the database. >> >> Now when large record sets are returned from a search, the UI (user >> interface) slows down, especially when resizing the stack to see more >> records in the table object. When resizing with no records, the UI is >> performs normally with fast resizing. >> >> Q: has any one seen this before? And if so, how do you handle the >> drop in UI >> performance? >> >> Thanx, >> Mark Stuart >> -- >> View this message in context: http://www.nabble.com/UI-performance- >> and-large-data-set-in-Table-Object-tp15618647p15618647.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/UI-performance-and-large-data-set-in-Table-Object-tp15618647p15622814.html Sent from the Revolution - User mailing list archive at Nabble.com. From sarah.reichelt at gmail.com Thu Feb 21 18:26:26 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 22 Feb 2008 09:26:26 +1000 Subject: UI performance and large data set in Table Object In-Reply-To: <15622814.post@talk.nabble.com> References: <15618647.post@talk.nabble.com> <16EDC672-E378-4B78-8AC2-113DE6B2757E@maseurope.net> <15622814.post@talk.nabble.com> Message-ID: On Fri, Feb 22, 2008 at 9:21 AM, mfstuart wrote: > > I haven't tried storing data in a custom property as yet, but wouldn't that > render the same lack of performance behavior, where putting the data into a > stack of the UI? No, because the engine doesn't have to think about how to display your data, it's just storing whatever you put in there. I got involved in a project were data was being stored in fields on another card, so not even visible. The amount of data was getting quite large, about 40,000 lines in each field. When I changed it to storing the data in custom properties, the speed of adding new data points dropped from around 3 seconds to about 5 ticks! Cheers, Sarah From mfstuart at cox.net Thu Feb 21 18:28:27 2008 From: mfstuart at cox.net (mfstuart) Date: Thu, 21 Feb 2008 15:28:27 -0800 (PST) Subject: UI performance and large data set in Table Object In-Reply-To: <340640.1349.qm@web65402.mail.ac4.yahoo.com> References: <15618647.post@talk.nabble.com> <340640.1349.qm@web65402.mail.ac4.yahoo.com> Message-ID: <15623100.post@talk.nabble.com> Hi Jan, Where the reading of the SQL data and loading into a table object is not quite the issue here, never the less, it is an issue I haven't dealt with as yet in this application. But I will try your approach, copying your script to an archive for future pondering. This current issue is the resizing of the stack AFTER the data has loaded to the table object. When resizing, it is very slow and cumbersome and even produces delays to the resized stack dimensions. Mark Stuart Jan Schenkel wrote: > > --- mfstuart wrote: >> >> Hi All, >> >> I have a question about large data sets (thousands >> of lines) in a table >> object and the slowing down of the UI performance, >> especially on resizing >> the stack. >> >> My application interfaces to an MS SQL 2000 database >> via ODBC. No problem >> there. >> The SQL table I have has over half a million records >> in it, and this grows >> all the time. >> >> Potentially, the user could return all records, >> which would take a while to >> load them all. >> But I've created the interface to allow the user to >> return a smaller record >> set. This can be alot of records - 10, 30, 40, 50000 >> thousand or more, or >> just a few hundred. It depends on how the user >> searches the database. >> >> Now when large record sets are returned from a >> search, the UI (user >> interface) slows down, especially when resizing the >> stack to see more >> records in the table object. When resizing with no >> records, the UI is >> performs normally with fast resizing. >> >> Q: has any one seen this before? And if so, how do >> you handle the drop in UI >> performance? >> >> Thanx, >> Mark Stuart >> > > Hi Mark, > > The problem is two-fold: it's a lot of data that has > to go through some pipe before it arrives in > Revolution, and Revolution then has to process and > format a lot of that to determine what to actually > display on screen, recalculate the size of the > scrollbar, etc. > > For a project where it was taking a lot of time before > the user saw anything, I decided to take a different > approach: rather than rely on a single call to > revdb_querylist()/revDataFromQuery(), to use a result > set cursor and a 'send in time' construct to fetch 20 > records at a time. > > This approach allows the user interface to remain > responsive, and the user can see the table filling up > as more data comes in. It also means you can cancel > the rest of the data download as soon as the user > finds the record he wants, or decides to make a > different selection. > > It looks something like this: > > ## > global gConnectionID > local sFetchMsgID, sCursorID, sColumnCount > > on mouseUp > CancelFetchTimer > put "SELECT * FROM Customers" into tQuery > put revdb_query(gConnectionID, tQuery) into > sCursorID > if sCursorID is not a number then > answer error sCursorID > exit mouseUp > end if > put revDatabaseColumnCount(sCursorID) into > sColumnCount > put empty into field "QueryResults" > send "FetchNext20Records" to me in 0 milliseconds > put the result into sFetchMsgID > end mouseUp > > on FetchNext20Records > put false into tStopFlag > repeat 20 times > repeat with tColumn = 1 to sColumnCount > put revDatabaseColumnNumbered(sCursorID, > tColumn) & \ > tab after tNextPart > end repeat > put return into char -1 of tNextPart > put revCurrentRecordIsLast(sCursorID) into > tStopFlag > if tStopFlag then > delete char -1 of tNextPart > exit repeat > end if > end repeat > put tNextPart after field "QueryResults" > if tStopFlag then > put empty into sFetchMsgID > else > send "FetchNext20Records" to me in 100 > milliseconds > put the result into sFetchMsgID > end if > end FetchNext20Records > > on CancelFetchTimer > if sFetchMsgID is not empty then > cancel sFetchMsgID > put empty into sFetchMsgID > end if > end CancelFetchTimer > ## > > This is all off the top of my head, so beware of > typos. > > Hope this helped, > > Jan Schenkel. > > Quartam Reports & PDF Library for Revolution > > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." > (La Rochefoucauld) > > > > ____________________________________________________________________________________ > Never miss a thing. Make Yahoo your home page. > http://www.yahoo.com/r/hs > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/UI-performance-and-large-data-set-in-Table-Object-tp15618647p15623100.html Sent from the Revolution - User mailing list archive at Nabble.com. From mfstuart at cox.net Thu Feb 21 18:40:05 2008 From: mfstuart at cox.net (mfstuart) Date: Thu, 21 Feb 2008 15:40:05 -0800 (PST) Subject: UI performance and large data set in Table Object In-Reply-To: <47BDDC51.7050401@fourthworld.com> References: <15618647.post@talk.nabble.com> <47BDDC51.7050401@fourthworld.com> Message-ID: <15623495.post@talk.nabble.com> Hi Richard, My day job is a software engineer, using another software development tool - eDeveloper. The product we build (CRM) is for enterprise sized companies, working on large amounts of SQL data. eDeveloper does not produce this UI lack of performance during runtime. This is how I noticed the difference in behavior. As far as Excel and Rev, both load the data into memory, which I would assume then declines the available resources, causing the issue at hand. Whereas the table object in our software is reading the data continually (??) from the database, caching when needed, so the lack of performance is never noticed. Mark Stuart Richard Gaskin wrote: > > Jan Schenkel wrote: > >>> Now when large record sets are returned from a >>> search, the UI (user >>> interface) slows down, especially when resizing the >>> stack to see more >>> records in the table object. When resizing with no >>> records, the UI is >>> performs normally with fast resizing. > ... >> The problem is two-fold: it's a lot of data that has >> to go through some pipe before it arrives in >> Revolution, and Revolution then has to process and >> format a lot of that to determine what to actually >> display on screen, recalculate the size of the >> scrollbar, etc. > > FWIW, I did some subjective tests with scrolling large amounts of data > in Rev vs. Word, Excel, and others. Rev outperformed them all, quite > noticeably. > > So if it seems slow, try the same size data anywhere else. Sometimes a > lot of data just takes a long time to redraw. > > Fortunately the user will likely resize a window infrequently. > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/UI-performance-and-large-data-set-in-Table-Object-tp15618647p15623495.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Thu Feb 21 19:00:34 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Feb 2008 16:00:34 -0800 Subject: UI performance and large data set in Table Object Message-ID: <47BE10A2.2070908@fourthworld.com> mfstuart wrote: > My day job is a software engineer, using another software development tool - > eDeveloper. > The product we build (CRM) is for enterprise sized companies, working on > large amounts of SQL data. > eDeveloper does not produce this UI lack of performance during runtime. This > is how I noticed the difference in behavior. > As far as Excel and Rev, both load the data into memory, which I would > assume then declines the available resources, causing the issue at hand. > Whereas the table object in our software is reading the data continually > (??) from the database, caching when needed, so the lack of performance is > never noticed. Rev fields are smartly buffered and tend to redraw faster than any other app on my hard drive. If you're seeing unusually slow redraws it may be related to Rev libraries rather than the engine itself. Try this: Make a new stack, add a field, turn on the field's hGrid and vGrid properties, and dump an equivalent amount of data into it. To handle the resize, use this rather than Rev's Geometry Manager: on resizeStack x,y set the rect of fld 1 to 20,20,x-20,y-20 end resizeStack If Rev is as efficient as I think it is, that test should show a pretty smooth update. If not we can look into it more deeply. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From niconiko at gmail.com Thu Feb 21 19:36:00 2008 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 22 Feb 2008 09:36:00 +0900 Subject: running a (non-standard?) SQL query Message-ID: <1e91b2b70802211636ha1e8d76v5c001b21733359c8@mail.gmail.com> Further to my Japanese (UTF-8) encoding problem with Rev-cgi and MySQL. One possible source of the problem is the character set of the server, which, in my case, differs from the character set of my database. Assuming that I cannot change the server's character set, one workaround I've read of is to set the character set of the session itself immediately after connecting to the database. The MySQL query command for this is: SET session character_set_server = UTF8 So, I tried running this in my Rev-cgi script at: put revExecuteSQL connID,"SET session character_set_server = UTF8" Needless to say, it didn't work. What I'm wondering now is whether the problem is my ignorance of the "revExecuteSQL" command or whether "revExecuteSQL" itself doesn't allow this particular MySQL query command. Any thoughts? Thanks. -- Nicolas Cueto From mfstuart at cox.net Thu Feb 21 19:55:51 2008 From: mfstuart at cox.net (mfstuart) Date: Thu, 21 Feb 2008 16:55:51 -0800 (PST) Subject: UI performance and large data set in Table Object In-Reply-To: <47BE10A2.2070908@fourthworld.com> References: <15618647.post@talk.nabble.com> <47BE10A2.2070908@fourthworld.com> Message-ID: <15625188.post@talk.nabble.com> Hi Richard, I did as you suggested and copied 8 columns of data (20,844 lines) into this new stack. Just a table object on the card - no scripts (except your 'on resizeStack' in the stack), no other objects. resize result: same slow behavior :( Any other thoughts on that? Mark Stuart Richard Gaskin wrote: > > mfstuart wrote: >> My day job is a software engineer, using another software development >> tool - >> eDeveloper. >> The product we build (CRM) is for enterprise sized companies, working on >> large amounts of SQL data. >> eDeveloper does not produce this UI lack of performance during runtime. >> This >> is how I noticed the difference in behavior. >> As far as Excel and Rev, both load the data into memory, which I would >> assume then declines the available resources, causing the issue at hand. >> Whereas the table object in our software is reading the data continually >> (??) from the database, caching when needed, so the lack of performance >> is >> never noticed. > > Rev fields are smartly buffered and tend to redraw faster than any other > app on my hard drive. If you're seeing unusually slow redraws it may be > related to Rev libraries rather than the engine itself. > > Try this: Make a new stack, add a field, turn on the field's hGrid and > vGrid properties, and dump an equivalent amount of data into it. > > To handle the resize, use this rather than Rev's Geometry Manager: > > on resizeStack x,y > set the rect of fld 1 to 20,20,x-20,y-20 > end resizeStack > > > If Rev is as efficient as I think it is, that test should show a pretty > smooth update. If not we can look into it more deeply. > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/UI-performance-and-large-data-set-in-Table-Object-tp15618647p15625188.html Sent from the Revolution - User mailing list archive at Nabble.com. From mfstuart at cox.net Thu Feb 21 20:03:35 2008 From: mfstuart at cox.net (mfstuart) Date: Thu, 21 Feb 2008 17:03:35 -0800 (PST) Subject: UI performance and large data set in Table Object In-Reply-To: References: <15618647.post@talk.nabble.com> <16EDC672-E378-4B78-8AC2-113DE6B2757E@maseurope.net> <15622814.post@talk.nabble.com> Message-ID: <15625210.post@talk.nabble.com> Hi Sarah, That sounds promising, especially reading prior threads on the same custom property concept. (A thought on this concept of copying data to a custom property - wouldn't it consume large amounts of the users computer memory/resources?) But this is a multi-user application, where many users will be searching, updating, deleting, and adding records into the SQL database thru this Rev app. It's not a read-only application. I think if it was, the custom property could be worth looking at. Mark Stuart Sarah Reichelt-2 wrote: > > On Fri, Feb 22, 2008 at 9:21 AM, mfstuart wrote: >> >> I haven't tried storing data in a custom property as yet, but wouldn't >> that >> render the same lack of performance behavior, where putting the data >> into a >> stack of the UI? > > No, because the engine doesn't have to think about how to display your > data, it's just storing whatever you put in there. > > I got involved in a project were data was being stored in fields on > another card, so not even visible. The amount of data was getting > quite large, about 40,000 lines in each field. When I changed it to > storing the data in custom properties, the speed of adding new data > points dropped from around 3 seconds to about 5 ticks! > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/UI-performance-and-large-data-set-in-Table-Object-tp15618647p15625210.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at elementarysoftware.com Thu Feb 21 20:04:24 2008 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 21 Feb 2008 17:04:24 -0800 Subject: Anyone interested in learning more about Rev on Rockets? In-Reply-To: <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> References: <7aa52a210802210248y1b84d7eay3ba81b9bcbea4e20@mail.gmail.com> <7aa52a210802210301jfe0adffyecd6a5e90d2d74ae@mail.gmail.com> Message-ID: <7B5CDECB-E215-483F-A726-BA829FE9B3B8@elementarysoftware.com> Hello Chip and Andre, I'm following this thread closely and would love tutorial examples! -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- On Feb 21, 2008, at 3:01 AM, Chipp Walters wrote: > Part II > > So, the other really cool part of ROR (Rev On Rockets) is > > So, if you're interested, holler at me or Andre, or just respond > here. If > there are enough folks, we'll create a few free ROR tutes. Just let > us know! > > -Chipp From ambassador at fourthworld.com Thu Feb 21 20:07:17 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Feb 2008 17:07:17 -0800 Subject: UI performance and large data set in Table Object Message-ID: <47BE2045.1090205@fourthworld.com> mfstuart wrote: > I did as you suggested and copied 8 columns of data (20,844 lines) into this > new stack. > Just a table object on the card - no scripts (except your 'on resizeStack' > in the stack), no other objects. > resize result: same slow behavior :( > > Any other thoughts on that? How much data is in the field? (How many lines, and average length of the lines) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From briany at qldlearning.com Thu Feb 21 20:09:42 2008 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 21 Feb 2008 17:09:42 -0800 Subject: UI performance and large data set in Table Object In-Reply-To: <15625188.post@talk.nabble.com> References: <15618647.post@talk.nabble.com> <47BE10A2.2070908@fourthworld.com> <15625188.post@talk.nabble.com> Message-ID: <41936B81-3A17-4BC4-A31F-FFB79CA9AF88@qldlearning.com> Mark, Are you using a table object, or a regular scrolling field with the hGrid and vGrid properties turned on? The former is an emulated control which may slow down significantly, while the latter should be significantly faster. In the past, I've managed to put data on the order of 20 columns / 100,000 rows into regular fields. I don't recall how snappy things were, but I don't remember having problems. HTH, Brian > > Hi Richard, > I did as you suggested and copied 8 columns of data (20,844 lines) > into this > new stack. > Just a table object on the card - no scripts (except your 'on > resizeStack' > in the stack), no other objects. > resize result: same slow behavior :( > > Any other thoughts on that? > > Mark Stuart From sarah.reichelt at gmail.com Thu Feb 21 20:55:11 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 22 Feb 2008 11:55:11 +1000 Subject: UI performance and large data set in Table Object In-Reply-To: <15625210.post@talk.nabble.com> References: <15618647.post@talk.nabble.com> <16EDC672-E378-4B78-8AC2-113DE6B2757E@maseurope.net> <15622814.post@talk.nabble.com> <15625210.post@talk.nabble.com> Message-ID: > Hi Sarah, > That sounds promising, especially reading prior threads on the same custom > property concept. > (A thought on this concept of copying data to a custom property - wouldn't > it consume large amounts of the users computer memory/resources?) The data was there already. I actually MOVED it to custom properties rather than duplicating the data, so the overhead was no worse than it had been and quite acceptable. The stack ended up at about 6 MB. The data is not stored forever, it just builds up over 1 - 2 weeks, then gets cleared and the process starts again. > But this is a multi-user application, where many users will be searching, > updating, deleting, and adding records into the SQL database thru this Rev > app. It's not a read-only application. I think if it was, the custom > property could be worth looking at. > Mark Stuart I still think if you do a query and load the entire result into a custom property, then show only portions of this data at a time in a field, you will have the best of both worlds - minimizing the number of trips to the server and minimizing the display times. Cheers, Sarah > > Sarah Reichelt-2 wrote: > > > > On Fri, Feb 22, 2008 at 9:21 AM, mfstuart wrote: > >> > >> I haven't tried storing data in a custom property as yet, but wouldn't > >> that > >> render the same lack of performance behavior, where putting the data > >> into a > >> stack of the UI? > > > > No, because the engine doesn't have to think about how to display your > > data, it's just storing whatever you put in there. > > > > I got involved in a project were data was being stored in fields on > > another card, so not even visible. The amount of data was getting > > quite large, about 40,000 lines in each field. When I changed it to > > storing the data in custom properties, the speed of adding new data > > points dropped from around 3 seconds to about 5 ticks! > > > > Cheers, > > Sarah From mfstuart at cox.net Thu Feb 21 21:46:03 2008 From: mfstuart at cox.net (mfstuart) Date: Thu, 21 Feb 2008 18:46:03 -0800 (PST) Subject: UI performance and large data set in Table Object In-Reply-To: <47BE2045.1090205@fourthworld.com> References: <15618647.post@talk.nabble.com> <47BE2045.1090205@fourthworld.com> Message-ID: <15626387.post@talk.nabble.com> Hi Richard, I'm at home now. looking at this... As I mentioned in my previous listing, 20, 30, or 50000 lines can be found, depends on the users search criteria. My example was 20,844 lines). The record length for the table is 255 (counting up the SQL definition lengths for all columns) On the stack I'm only using 8 of the 13 columns from the SQL table. The record length for the Table Field then is 200. I also tried the Scrolling Field and compared it to the Table Field, using 20,844 lines - big difference, where the Scrolling Field won in it's performance of no degradation of stack resize. But I've never used this object before, because I lose the formatting of columnar presentation. If I use this object, is there a way to set it to columnar appearance? And isn't it when you check the table property for this object, it changes everything back to a Table Field? Thanx, Mark Stuart Richard Gaskin wrote: > > mfstuart wrote: >> I did as you suggested and copied 8 columns of data (20,844 lines) into >> this >> new stack. >> Just a table object on the card - no scripts (except your 'on >> resizeStack' >> in the stack), no other objects. >> resize result: same slow behavior :( >> >> Any other thoughts on that? > > How much data is in the field? (How many lines, and average length of > the lines) > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/UI-performance-and-large-data-set-in-Table-Object-tp15618647p15626387.html Sent from the Revolution - User mailing list archive at Nabble.com. From stephenREVOLUTION2 at barncard.com Thu Feb 21 22:03:46 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Thu, 21 Feb 2008 19:03:46 -0800 Subject: UI performance and large data set in Table Object In-Reply-To: <15626387.post@talk.nabble.com> References: <15618647.post@talk.nabble.com> <47BE2045.1090205@fourthworld.com> <15626387.post@talk.nabble.com> Message-ID: Table appearance in a scrolling field can also be accomplished just using tabs. Check out the table pulldown on the object inspector uncheck table object check hgrid and or vgrid grid lines color can be subtle > >If I use this object, is there a way to set it to columnar appearance? >And isn't it when you check the table property for this object, it changes >everything back to a Table Field? > >Thanx, >Mark Stuart > > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From chipp at chipp.com Thu Feb 21 22:14:01 2008 From: chipp at chipp.com (Chipp Walters) Date: Thu, 21 Feb 2008 21:14:01 -0600 Subject: RevCGI Hosts? In-Reply-To: <47BDBF4E.8040705@hyperactivesw.com> References: <7aa52a210802181441m5a05cb60l32ca3f7ecef6ff84@mail.gmail.com> <1e91b2b70802181742i52ebf3d3l11165f21b3c594a1@mail.gmail.com> <7aa52a210802181815s6587e8e4m62d749afa5224422@mail.gmail.com> <47BB8864.2080607@hyperactivesw.com> <06D9D8F2-DA0C-4AB5-8FAE-862F23F6B82C@lacscentre.co.uk> <47BC6959.5060202@hyperactivesw.com> <302CEA4B-F1AC-42DD-AB31-D3FE40A131F6@lacscentre.co.uk> <47BDBF4E.8040705@hyperactivesw.com> Message-ID: <7aa52a210802211914h7bdb86bar362a5e8965456153@mail.gmail.com> Jacque, I did confirm that 2.9 dp3 works as long as the first line has the -ui switch: #!revolution -ui I would imagine the dp 4 is the same. Just thought you should know. -C From chipp at chipp.com Thu Feb 21 22:20:14 2008 From: chipp at chipp.com (Chipp Walters) Date: Thu, 21 Feb 2008 21:20:14 -0600 Subject: Chipp -- perhaps the Rev On Rockets tutorials could be done on the wiki? In-Reply-To: <322253fe0802210554m68b7cb29s159eccbb4bc9751d@mail.gmail.com> References: <322253fe0802210554m68b7cb29s159eccbb4bc9751d@mail.gmail.com> Message-ID: <7aa52a210802211920y783d6e65ra3e0b165d2f52ed0@mail.gmail.com> Hi Mark, Certainly links to the tutes can be put there, but Andre and I have a website started and I think we're still deciding on the best format for the tutes. -Chipp From jacque at hyperactivesw.com Thu Feb 21 22:49:19 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 21 Feb 2008 21:49:19 -0600 Subject: RevCGI Hosts? In-Reply-To: <7aa52a210802211914h7bdb86bar362a5e8965456153@mail.gmail.com> References: <7aa52a210802181441m5a05cb60l32ca3f7ecef6ff84@mail.gmail.com> <1e91b2b70802181742i52ebf3d3l11165f21b3c594a1@mail.gmail.com> <7aa52a210802181815s6587e8e4m62d749afa5224422@mail.gmail.com> <47BB8864.2080607@hyperactivesw.com> <06D9D8F2-DA0C-4AB5-8FAE-862F23F6B82C@lacscentre.co.uk> <47BC6959.5060202@hyperactivesw.com> <302CEA4B-F1AC-42DD-AB31-D3FE40A131F6@lacscentre.co.uk> <47BDBF4E.8040705@hyperactivesw.com> <7aa52a210802211914h7bdb86bar362a5e8965456153@mail.gmail.com> Message-ID: <47BE463F.5010002@hyperactivesw.com> Chipp Walters wrote: > Jacque, > > I did confirm that 2.9 dp3 works as long as the first line has the -ui > switch: > > #!revolution -ui > > I would imagine the dp 4 is the same. Just thought you should know. Beat you to it. Tried it last night and you're right, it works. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lan.kc.macmail at gmail.com Thu Feb 21 23:28:10 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 22 Feb 2008 12:28:10 +0800 Subject: Extracting text from PDF In-Reply-To: <47BCD136.9010405@fourthworld.com> References: <47BCD136.9010405@fourthworld.com> Message-ID: On Thu, Feb 21, 2008 at 9:17 AM, Richard Gaskin wrote: > > Is there an easy way to do this in script? > Ah my favourite pass time :-) Probably no use to you Richard as I believe this is for personal use only as it requires PDF2RTFService from Devon Systems: http://www.devon-technologies.com/products/freeware/services.html I quickly checked the web-site but couldn't find anything, maybe it's in the Read Me when you install, but I seem to remember something about personal use only. Sill, for the inventive users out there, this will help. Secondly, this is OSX only. Easy Solution: After installing PDF2RTFService, set the Preferences in TextEdit so that a 'new' document will be opened as Plain Text, not RTF. Use Rev to 'force' the pdf document to be opened with TextEdit. PDF2RTFService will automatically translate the PDF to RTF. Use AppleScript to take the contents (rtf) of the file, open a new document (txt) and insert the now plain text into the document. Save the document with a fixed name and location. User Rev to read the fixed file. So in Rev: launch tFileName with "/yourHD/Applications/TextEdit.app" the 8 line AppleScript looks like this: 1 tell application "TextEdit" 2 set theText to the text of document 1 3 make new document 4 set the path of document 1 to "/yourHD/Users/Shared/Untitled1.txt" 5 save document 1 6 close document 1 7 close document 1 8 end tell It is important to note that there should be no other documents open in TextEdit when you run this. After Rev launches your pdf with TextEdit it will become document 1. When AppleScript 'makes new document', that is now document 1. I fix the location to save 'Untitled1' in the Shared folder as this eliminates any permissions issues. AppleScript then closes document 1, which leaves the original file open, which now becomes document 1, which explains why document 1 is closed twice. I'll leave it up to you to put the above in a variable;-) but obviously you'd run it Rev: do tAppleScript as AppleScript followed by: put URL "file:/yourHD/Users/Shared/Untitled1.txt" into tTheText Clearly this can easily be put into a repeat loop to run through a bunch of pdf files to be opened, converted then fed into Untitled1 and finally read into Rev. Slightly more complex: for those who wish to keep the converted files, here's the ApplesScript that will save the txt version in same location as the pdf version, and just the extension changed: 1 tell application "TextEdit" 2 set thePDFPath to the path of document 1 3 set endChar to the count character in thePDFPath 4 set endChar to endChar - 4 5 set theTxtPath to (characters 1 thru endChar of (thePDFPath as text) & ".txt") as text 6 set theText to the text of document 1 7 make new document 8 set the path of document 1 to theTxtPath 9 set the text of document 1 to theText 10 save document 1 11 close document 1 12 close document 1 13 end tell Obviously in this case you'll need to do a bit of chunk manipulation in Rev to figure out from the start file name and location where you'll find the txt version so you can URL it. But that's so easy in Rev :-) HTHs someone From tom.quailcreek at gmail.com Thu Feb 21 23:39:48 2008 From: tom.quailcreek at gmail.com (Tom Johnson) Date: Thu, 21 Feb 2008 20:39:48 -0800 Subject: Blocking control s Message-ID: <4aa07a690802212039g5f1441dcx598906264eeaef20@mail.gmail.com> Hi all, I'm sure three's an easy way to do this but how do I block the user from saving by pressing "control s"? Tom From sarah.reichelt at gmail.com Thu Feb 21 23:45:31 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 22 Feb 2008 14:45:31 +1000 Subject: Blocking control s In-Reply-To: <4aa07a690802212039g5f1441dcx598906264eeaef20@mail.gmail.com> References: <4aa07a690802212039g5f1441dcx598906264eeaef20@mail.gmail.com> Message-ID: On Fri, Feb 22, 2008 at 2:39 PM, Tom Johnson wrote: > Hi all, > I'm sure three's an easy way to do this but how do I block the user from > saving by pressing "control s"? If you have your own menus, there is no need to put a Save command in there, in which case the shortcut will do nothing. Sarah From sims at ezpzapps.com Fri Feb 22 02:09:08 2008 From: sims at ezpzapps.com (Jim Sims) Date: Fri, 22 Feb 2008 08:09:08 +0100 Subject: Extracting text from PDF In-Reply-To: References: <47BCD136.9010405@fourthworld.com> Message-ID: On Feb 22, 2008, at 5:28 AM, Kay C Lan wrote: > Probably no use to you Richard as I believe this is for personal use > only as > it requires PDF2RTFService from Devon Systems: > > http://www.devon-technologies.com/products/freeware/services.html > > I quickly checked the web-site but couldn't find anything, maybe > it's in the > Read Me when you install, but I seem to remember something about > personal > use only. Sill, for the inventive users out there, this will help. Go to: http://www.devon-technologies.com/download/index.html btw - one of the developers, Annard, recently moved here and is a friend. My blog has interviews with him - also Andre & Klaus Major of Rev fame. sims ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ClipaSearch Pro http://www.ClipaTools.com Across Platforms - Code and Culture http://www.ezpzapps.com/blog/ From viktoras at ekoinf.net Fri Feb 22 03:19:58 2008 From: viktoras at ekoinf.net (viktoras didziulis) Date: Fri, 22 Feb 2008 10:19:58 +0200 Subject: UI performance and large data set in Table Object In-Reply-To: <15623495.post@talk.nabble.com> References: <15618647.post@talk.nabble.com> <47BDDC51.7050401@fourthworld.com> <15623495.post@talk.nabble.com> Message-ID: <47BE85AE.3060707@ekoinf.net> Hi Mark, use scrolling field object with vgrid and hgrid set to true (table to false), so you will get it formatted correctly without all the overheads of the table object. I always use this when I need table and it for me handles a few thousand records without any slowing downs. One more option would be to play with LIMIT and OFFSET in SQL SELECT's and display only parts of the query that you want to. All the best Viktoras From 00bioarchimed at free.fr Fri Feb 22 04:14:44 2008 From: 00bioarchimed at free.fr (Thierry) Date: Fri, 22 Feb 2008 10:14:44 +0100 Subject: UI performance and large data set in Table Object In-Reply-To: References: <15618647.post@talk.nabble.com> <16EDC672-E378-4B78-8AC2-113DE6B2757E@maseurope.net> <15622814.post@talk.nabble.com> <15625210.post@talk.nabble.com> Message-ID: Hi, >> Hi Sarah, >> That sounds promising, especially reading prior threads on the >> same custom >> property concept. > > The data was there already. I actually MOVED it to custom properties > rather than duplicating the data, so the overhead was no worse than it > had been and quite acceptable. The stack ended up at about 6 MB. The > data is not stored forever, it just builds up over 1 - 2 weeks, then > gets cleared and the process starts again. I did use the same concept for an old project. During development, all of a project Datas where stored in a folder on an Intranet site, to be shared by multiple computers. When everything works, and for security, administration and others reasons I forgot, I put the contents of a folder in a stack, no widget, only an empty stack, with no scripts and only customs properties. One stack contains all the Datas plus Log information plus extras time Datas,... To choose a project, the user has to choose a file, stored wherever he feels on his disk. These stacks could be more than 10 Mb, storing, text, binary datas, logs, images,.... I did change the extension of these stacks too... so the users could see their projects as a one file; they like it. Another thing to say that choosing this architecture, the development was short with almost no debug process ! And if you come from another software planet, customs properties are only associative arrays, no more really. And the last but not the least, it was before 2000, and, at this time, I got so many clever and good answers from this list... :-) HTH, Have a nice day, Thierry From m.schonewille at economy-x-talk.com Fri Feb 22 04:31:39 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 22 Feb 2008 10:31:39 +0100 Subject: Blocking control s In-Reply-To: <4aa07a690802212039g5f1441dcx598906264eeaef20@mail.gmail.com> References: <4aa07a690802212039g5f1441dcx598906264eeaef20@mail.gmail.com> Message-ID: <52DEF372-CB46-4FC4-BB23-EAE69285128F@economy-x-talk.com> Hi Tom, To prevent other people from changing your stacks, you can set the cantModify to true after setting a password for your stack. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html Op 22-feb-2008, om 5:39 heeft Tom Johnson het volgende geschreven: > Hi all, > I'm sure three's an easy way to do this but how do I block the user > from > saving by pressing "control s"? > > Tom From palcibiades-first at yahoo.co.uk Fri Feb 22 06:11:56 2008 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 22 Feb 2008 11:11:56 +0000 Subject: mimicking awks fs and ofs Message-ID: <200802221111.56814.palcibiades-first@yahoo.co.uk> How do you do this? Its super easy in awk. You just set the item delimiters for the input file and the item delimiters for the output file independently. Then if you write, for instance, items 1 and 2 to the output fie, they may have been tab separated in the input file but will now be | separated or whatever in the output file. Its very simple. But there doesn't seem to be the same thing in Rev. Or maybe I am too hung up on the awk model and can't see it? Peter From mark at maseurope.net Fri Feb 22 06:35:21 2008 From: mark at maseurope.net (Mark Smith) Date: Fri, 22 Feb 2008 11:35:21 +0000 Subject: mimicking awks fs and ofs In-Reply-To: <200802221111.56814.palcibiades-first@yahoo.co.uk> References: <200802221111.56814.palcibiades-first@yahoo.co.uk> Message-ID: Peter, put url InputFile into tData replace tab with comma in tData put tData into url outputFile Best, Mark On 22 Feb 2008, at 11:11, Peter Alcibiades wrote: > How do you do this? Its super easy in awk. You just set the item > delimiters > for the input file and the item delimiters for the output file > independently. > Then if you write, for instance, items 1 and 2 to the output fie, > they may > have been tab separated in the input file but will now be | > separated or > whatever in the output file. Its very simple. But there doesn't > seem to be > the same thing in Rev. > > Or maybe I am too hung up on the awk model and can't see it? > > Peter > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Fri Feb 22 06:37:27 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 22 Feb 2008 12:37:27 +0100 Subject: mimicking awks fs and ofs In-Reply-To: <200802221111.56814.palcibiades-first@yahoo.co.uk> References: <200802221111.56814.palcibiades-first@yahoo.co.uk> Message-ID: <5715046F-8732-4FA4-9C0A-02BB7A5A566E@sosmartsoftware.com> Hi Peter, Le 22 f?vr. 08 ? 12:11, Peter Alcibiades a ?crit : > How do you do this? Its super easy in awk. You just set the item > delimiters > for the input file and the item delimiters for the output file > independently. > Then if you write, for instance, items 1 and 2 to the output fie, > they may > have been tab separated in the input file but will now be | > separated or > whatever in the output file. Its very simple. But there doesn't > seem to be > the same thing in Rev. > > Or maybe I am too hung up on the awk model and can't see it? This a bit different in Rev :-) Assuming tImput is a tab delimited list and tOutput must be a comma delimited one: set the itemDel to tab put item x to y of tInput into tOutput replace tab with comma in tOutput Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From 00bioarchimed at free.fr Fri Feb 22 06:43:21 2008 From: 00bioarchimed at free.fr (Thierry) Date: Fri, 22 Feb 2008 12:43:21 +0100 Subject: mimicking awks fs and ofs In-Reply-To: References: <200802221111.56814.palcibiades-first@yahoo.co.uk> Message-ID: Hi > put url InputFile into tData > replace tab with comma in tData > put tData into url outputFile assuming that you don't have tabs or/and comma IN your datas... Regards, Thierry From chipp at chipp.com Fri Feb 22 06:55:03 2008 From: chipp at chipp.com (Chipp Walters) Date: Fri, 22 Feb 2008 05:55:03 -0600 Subject: RevOnRockets website is up Message-ID: <7aa52a210802220355m62f89a7du493580d514b828d0@mail.gmail.com> And you can signup to be notified when tutorials are completed. Of course the signup form is a RevOnRockets cgi! www.revonrockets.com -Chipp and Andre From camm29 at tesco.net Fri Feb 22 08:24:05 2008 From: camm29 at tesco.net (camm29 at tesco.net) Date: Fri, 22 Feb 2008 13:24:05 +0000 Subject: Wait with messages Message-ID: <20080222132405.FY1NN.383829.root@web11-winn.ispmail.private.ntl.com> I have a loop with :- repeat ..... do something (takes about 250ms) wait 1 millisecond with messages if x=1 then exit repeat ..... do something (takes about 250ms) wait 1 millisecond with messages if x=1 then exit repeat end repeat I have a button that makes x =1 to exit 1 card and go to another The seems to be a larger delay than i expected to exit the repeat 2-5 secs ???? Any ideas how to exit repeat very fast ??? Thanks in advance ! From m.schonewille at economy-x-talk.com Fri Feb 22 08:37:17 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 22 Feb 2008 14:37:17 +0100 Subject: Wait with messages In-Reply-To: <20080222132405.FY1NN.383829.root@web11-winn.ispmail.private.ntl.com> References: <20080222132405.FY1NN.383829.root@web11-winn.ispmail.private.ntl.com> Message-ID: Hi Curry, There might be a problem caused by the fact that the script is currently running, but since I don't see how you change x, I am not sure about this. Usually, I use a custom property or the hilite of a button rather than a variable (which in your case seems to be set and read in the same script). Also, I can imagine that waiting with messages halfway the repeat loop doesn't work perfectly. I always put the wait statement at the end of the loop. Also, the repeat loop itself doesn't run with messages. What always works for me is: repeat forever with messages -- I rarely use forever btw if someCondition then -- do something else exit repeat wait 0 millisecs with messages end repeat You might need to re-think the design of your repeat loop. Why do you need to check x two times? Is it possible for the user to determine whether s/he will click before the first or the second wait statement? Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html Op 22-feb-2008, om 14:24 heeft het volgende geschreven: > I have a loop with :- > > repeat > ..... do something (takes about 250ms) > wait 1 millisecond with messages > if x=1 then exit repeat > ..... do something (takes about 250ms) > wait 1 millisecond with messages > if x=1 then exit repeat > end repeat > > I have a button that makes x =1 to exit 1 card and go to another > > The seems to be a larger delay than i expected to exit the repeat > 2-5 secs ???? > > Any ideas how to exit repeat very fast ??? > > Thanks in advance ! > From dave at looktowindward.com Fri Feb 22 09:24:13 2008 From: dave at looktowindward.com (Dave) Date: Fri, 22 Feb 2008 14:24:13 +0000 Subject: RunRev 2.9 Scripting Question Message-ID: <452275D8-CA63-4E2A-B65F-29B27C01E991@looktowindward.com> Hi All, I read the following in the RunRev Newsletter: Active Scripting A long standing feature of Revolution on Mac OS X has been the ability to easily execute AppleScript using the alternate language variant of the do command. This is can be extremely useful because Applescript is supported by many Mac OS X applications for external scripting and automation. For example, you can instruct the Finder to open a window to the startup-disk with something like: local tApplescript put "tell application" && quote & "Finder" & quote & return after tApplescript put "activate" & return after tApplescript put "make new Finder window to startup disk" & return after tApplescript put "end tell" do tApplescript as "applescript" Up until now, there has been no analogue for this feature on Windows ? however, with 2.9 comes the ability to use any Window Active Scripting Languge in the alternate language variant of do. At first glance this may not seem like a particularly useful feature, until you realize most active scripting languages allow easy creation of OLE/Automation objects. For example, it is really easy to control iTunes using VBScript. The following simple code snippet will start the current song in iTunes playing: local tVBScript put "Dim iTunesApp" & return after tVBScript put "Set iTunesApp = CreateObject(" & quote & "iTunes.Application" & quote & ")" & \ return after tVBScript put "iTunesApp.CurrentTrack.Play()" after tVBScript do tVBScript as "vbscript" --------------------------------------------------------- My question is: Does it also support JavaScript? As in: do tJavaScript as "javascript" Thanks a lot All the Best Dave From klaus at major-k.de Fri Feb 22 09:27:00 2008 From: klaus at major-k.de (Klaus Major) Date: Fri, 22 Feb 2008 15:27:00 +0100 Subject: RunRev 2.9 Scripting Question In-Reply-To: <452275D8-CA63-4E2A-B65F-29B27C01E991@looktowindward.com> References: <452275D8-CA63-4E2A-B65F-29B27C01E991@looktowindward.com> Message-ID: Am 22.02.2008 um 15:24 schrieb Dave: > ... > My question is: > > Does it also support JavaScript? As in: > do tJavaScript as "javascript" No. Klaus Major klaus at major-k.de http://www.major-k.de From m.schonewille at economy-x-talk.com Fri Feb 22 09:31:36 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 22 Feb 2008 15:31:36 +0100 Subject: RunRev 2.9 Scripting Question In-Reply-To: <452275D8-CA63-4E2A-B65F-29B27C01E991@looktowindward.com> References: <452275D8-CA63-4E2A-B65F-29B27C01E991@looktowindward.com> Message-ID: <07EE98B7-2969-448D-9962-79B9A8CC5BDF@economy-x-talk.com> Hi Dave, If you enter put the alternateLanguages in the message box and press enter, you will see a list of supported alternative languages. On my PC, this included "SignedJavaScript" including the quotes. It looks like you can do do "command.javascript.some" as (quote & SignedJavaScript & quote) I haven't tested this. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html Op 22-feb-2008, om 15:24 heeft Dave het volgende geschreven: > Hi All, > > I read the following in the RunRev Newsletter: > > My question is: > > Does it also support JavaScript? As in: > > do tJavaScript as "javascript" > > Thanks a lot > All the Best > Dave > From lists at mangomultimedia.com Fri Feb 22 09:39:05 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 22 Feb 2008 09:39:05 -0500 Subject: RunRev 2.9 Scripting Question In-Reply-To: <452275D8-CA63-4E2A-B65F-29B27C01E991@looktowindward.com> References: <452275D8-CA63-4E2A-B65F-29B27C01E991@looktowindward.com> Message-ID: On Feb 22, 2008, at 9:24 AM, Dave wrote: > My question is: > > Does it also support JavaScript? As in: > > do tJavaScript as "javascript" JScript is listed among the alternateLanguages on my Windows XP machine and executing: do "result = 1 + 1" as "jscript" answer the result displays "2" in the answer dialog. So you could experiment with that. I think the issue really becomes what objects are available. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From klaus at major-k.de Fri Feb 22 09:39:40 2008 From: klaus at major-k.de (Klaus Major) Date: Fri, 22 Feb 2008 15:39:40 +0100 Subject: RunRev 2.9 Scripting Question In-Reply-To: <07EE98B7-2969-448D-9962-79B9A8CC5BDF@economy-x-talk.com> References: <452275D8-CA63-4E2A-B65F-29B27C01E991@looktowindward.com> <07EE98B7-2969-448D-9962-79B9A8CC5BDF@economy-x-talk.com> Message-ID: Hi Mark, > Hi Dave, > > If you enter > > put the alternateLanguages > > in the message box and press enter, you will see a list of > supported alternative languages. On my PC, this included > "SignedJavaScript" including the quotes. It looks like you can do > > do "command.javascript.some" as (quote & SignedJavaScript & quote) > > I haven't tested this. Oh, really? Did not know this... Looks my "No" was a bit premature :-) On the other hand, is this documented somewhere and thus official? But a short look in the docs reveals: "Returns the list of 'active scripting' languages that are installed on the system." So question is, how can one install other "active scripting" languages than AppleScrip/VBScript? > Best regards, > > Mark Schonewille > > -- > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz Best Klaus Major klaus at major-k.de http://www.major-k.de From m.schonewille at economy-x-talk.com Fri Feb 22 09:40:55 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 22 Feb 2008 15:40:55 +0100 Subject: RunRev 2.9 Scripting Question In-Reply-To: <07EE98B7-2969-448D-9962-79B9A8CC5BDF@economy-x-talk.com> References: <452275D8-CA63-4E2A-B65F-29B27C01E991@looktowindward.com> <07EE98B7-2969-448D-9962-79B9A8CC5BDF@economy-x-talk.com> Message-ID: Did a quick test... It looks like these quoted language names don't make sense. I get "language not found" after trying to execute something, whatever I try. I wonder if this is a bug. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html Op 22-feb-2008, om 15:31 heeft Mark Schonewille het volgende geschreven: > Hi Dave, > > If you enter > > put the alternateLanguages > > in the message box and press enter, you will see a list of > supported alternative languages. On my PC, this included > "SignedJavaScript" including the quotes. It looks like you can do > > do "command.javascript.some" as (quote & SignedJavaScript & quote) > > I haven't tested this. > > Best regards, > > Mark Schonewille > From dave at looktowindward.com Fri Feb 22 09:50:04 2008 From: dave at looktowindward.com (Dave) Date: Fri, 22 Feb 2008 14:50:04 +0000 Subject: RunRev for iPhone/iPod Touch? Message-ID: <73E2DDEB-CA3F-4934-A101-FB215B565BAC@looktowindward.com> Hi All, I think it would be a spiffing idea to have RunRev generate apps for the iPhone/iPod Touch? Not sure if it will happen tho. All the Best Dave From m.schonewille at economy-x-talk.com Fri Feb 22 10:00:17 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 22 Feb 2008 16:00:17 +0100 Subject: RunRev 2.9 Scripting Question In-Reply-To: References: <452275D8-CA63-4E2A-B65F-29B27C01E991@looktowindward.com> <07EE98B7-2969-448D-9962-79B9A8CC5BDF@economy-x-talk.com> Message-ID: <39B006E6-5834-4C20-8EB2-5F681F18024B@economy-x-talk.com> Hi Klaus, No no, your no wasn't premature. Not completely at least. I assume that not all languages in the list returned by the alternateLanguages are useful. There are a few OSA languages around, e.g. the JavaScript OSA extension for Mac by LateNight software, which works great. Frontier is another OSA language, which is available for Windows and Mac. Look at and for more info. If you decide to give it a try, please let me know if you got it working with Rev. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html Op 22-feb-2008, om 15:39 heeft Klaus Major het volgende geschreven: >> > > Oh, really? Did not know this... > > Looks my "No" was a bit premature :-) > > On the other hand, is this documented somewhere and thus official? > > But a short look in the docs reveals: > "Returns the list of 'active scripting' languages that are > installed on the system." > > So question is, how can one install other "active scripting" > languages than AppleScrip/VBScript? > From andre at andregarzia.com Fri Feb 22 10:00:35 2008 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 22 Feb 2008 12:00:35 -0300 Subject: RunRev for iPhone/iPod Touch? In-Reply-To: <73E2DDEB-CA3F-4934-A101-FB215B565BAC@looktowindward.com> References: <73E2DDEB-CA3F-4934-A101-FB215B565BAC@looktowindward.com> Message-ID: <7c87a2a10802220700x3bdc78ddmab1b76d111d66975@mail.gmail.com> Dave, I don't think the iPhone has a SDK yet.... So I don't think that is even doable. Not only it has no SDK but the cpu is ARM based and we only have engines for x86, PPC and Sparc. So if it means creating a new engine with no OS SDK, I think RunRev Team will focus on other more important things such as the web... Andre On 2/22/08, Dave wrote: > Hi All, > > I think it would be a spiffing idea to have RunRev generate apps for > the iPhone/iPod Touch? Not sure if it will happen tho. > > All the Best > Dave > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From luis at anachreon.co.uk Fri Feb 22 10:14:10 2008 From: luis at anachreon.co.uk (Luis) Date: Fri, 22 Feb 2008 15:14:10 +0000 Subject: RunRev for iPhone/iPod Touch? In-Reply-To: <7c87a2a10802220700x3bdc78ddmab1b76d111d66975@mail.gmail.com> References: <73E2DDEB-CA3F-4934-A101-FB215B565BAC@looktowindward.com> <7c87a2a10802220700x3bdc78ddmab1b76d111d66975@mail.gmail.com> Message-ID: <88EA2766-3E56-4566-8438-7D48DC68B698@anachreon.co.uk> Hiya, iPhone/iPod Touch SDK: http://developer.apple.com/iphone/devcenter/ third_party_apps.php Cheers, Luis. On 22 Feb 2008, at 15:00, Andre Garzia wrote: > Dave, > > I don't think the iPhone has a SDK yet.... So I don't think that is > even doable. Not only it has no SDK but the cpu is ARM based and we > only have engines for x86, PPC and Sparc. > > So if it means creating a new engine with no OS SDK, I think RunRev > Team will focus on other more important things such as the web... > > Andre > > On 2/22/08, Dave wrote: >> Hi All, >> >> I think it would be a spiffing idea to have RunRev generate apps for >> the iPhone/iPod Touch? Not sure if it will happen tho. >> >> All the Best >> Dave >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From andre at andregarzia.com Fri Feb 22 10:19:52 2008 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 22 Feb 2008 12:19:52 -0300 Subject: RunRev for iPhone/iPod Touch? In-Reply-To: <88EA2766-3E56-4566-8438-7D48DC68B698@anachreon.co.uk> References: <73E2DDEB-CA3F-4934-A101-FB215B565BAC@looktowindward.com> <7c87a2a10802220700x3bdc78ddmab1b76d111d66975@mail.gmail.com> <88EA2766-3E56-4566-8438-7D48DC68B698@anachreon.co.uk> Message-ID: <7c87a2a10802220719j4e1667b7s28e740373f0ea72a@mail.gmail.com> As I said, it is not available... :-/ silly apples... andre On 2/22/08, Luis wrote: > Hiya, > > iPhone/iPod Touch SDK: http://developer.apple.com/iphone/devcenter/ > third_party_apps.php > > Cheers, > > > Luis. > > > > On 22 Feb 2008, at 15:00, Andre Garzia wrote: > > > Dave, > > > > I don't think the iPhone has a SDK yet.... So I don't think that is > > even doable. Not only it has no SDK but the cpu is ARM based and we > > only have engines for x86, PPC and Sparc. > > > > So if it means creating a new engine with no OS SDK, I think RunRev > > Team will focus on other more important things such as the web... > > > > Andre > > > > On 2/22/08, Dave wrote: > >> Hi All, > >> > >> I think it would be a spiffing idea to have RunRev generate apps for > >> the iPhone/iPod Touch? Not sure if it will happen tho. > >> > >> All the Best > >> Dave > >> > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From luis at anachreon.co.uk Fri Feb 22 10:26:48 2008 From: luis at anachreon.co.uk (Luis) Date: Fri, 22 Feb 2008 15:26:48 +0000 Subject: RunRev for iPhone/iPod Touch? In-Reply-To: <7c87a2a10802220719j4e1667b7s28e740373f0ea72a@mail.gmail.com> References: <73E2DDEB-CA3F-4934-A101-FB215B565BAC@looktowindward.com> <7c87a2a10802220700x3bdc78ddmab1b76d111d66975@mail.gmail.com> <88EA2766-3E56-4566-8438-7D48DC68B698@anachreon.co.uk> <7c87a2a10802220719j4e1667b7s28e740373f0ea72a@mail.gmail.com> Message-ID: <446FA301-1EA7-4719-9215-352EEF13054E@anachreon.co.uk> Unless you ROR it via web apps. Cheers, Luis. On 22 Feb 2008, at 15:19, Andre Garzia wrote: > As I said, it is not available... :-/ > > silly apples... > > andre > > On 2/22/08, Luis wrote: >> Hiya, >> >> iPhone/iPod Touch SDK: http://developer.apple.com/iphone/devcenter/ >> third_party_apps.php >> >> Cheers, >> >> >> Luis. >> >> >> >> On 22 Feb 2008, at 15:00, Andre Garzia wrote: >> >>> Dave, >>> >>> I don't think the iPhone has a SDK yet.... So I don't think that is >>> even doable. Not only it has no SDK but the cpu is ARM based and we >>> only have engines for x86, PPC and Sparc. >>> >>> So if it means creating a new engine with no OS SDK, I think RunRev >>> Team will focus on other more important things such as the web... >>> >>> Andre >>> >>> On 2/22/08, Dave wrote: >>>> Hi All, >>>> >>>> I think it would be a spiffing idea to have RunRev generate >>>> apps for >>>> the iPhone/iPod Touch? Not sure if it will happen tho. >>>> >>>> All the Best >>>> Dave >>>> >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>> >>> >>> -- >>> http://www.andregarzia.com All We Do Is Code. >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From andre at andregarzia.com Fri Feb 22 10:46:06 2008 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 22 Feb 2008 12:46:06 -0300 Subject: RunRev for iPhone/iPod Touch? In-Reply-To: <446FA301-1EA7-4719-9215-352EEF13054E@anachreon.co.uk> References: <73E2DDEB-CA3F-4934-A101-FB215B565BAC@looktowindward.com> <7c87a2a10802220700x3bdc78ddmab1b76d111d66975@mail.gmail.com> <88EA2766-3E56-4566-8438-7D48DC68B698@anachreon.co.uk> <7c87a2a10802220719j4e1667b7s28e740373f0ea72a@mail.gmail.com> <446FA301-1EA7-4719-9215-352EEF13054E@anachreon.co.uk> Message-ID: <7c87a2a10802220746y56afba94n8fde6a67b1f829c3@mail.gmail.com> Luis, :-D There are many uses for RevOnRockets... The tutorials will rock! :D Andre On 2/22/08, Luis wrote: > Unless you ROR it via web apps. > > Cheers, > > > Luis. > > > > On 22 Feb 2008, at 15:19, Andre Garzia wrote: > > > As I said, it is not available... :-/ > > > > silly apples... > > > > andre > > > > On 2/22/08, Luis wrote: > >> Hiya, > >> > >> iPhone/iPod Touch SDK: http://developer.apple.com/iphone/devcenter/ > >> third_party_apps.php > >> > >> Cheers, > >> > >> > >> Luis. > >> > >> > >> > >> On 22 Feb 2008, at 15:00, Andre Garzia wrote: > >> > >>> Dave, > >>> > >>> I don't think the iPhone has a SDK yet.... So I don't think that is > >>> even doable. Not only it has no SDK but the cpu is ARM based and we > >>> only have engines for x86, PPC and Sparc. > >>> > >>> So if it means creating a new engine with no OS SDK, I think RunRev > >>> Team will focus on other more important things such as the web... > >>> > >>> Andre > >>> > >>> On 2/22/08, Dave wrote: > >>>> Hi All, > >>>> > >>>> I think it would be a spiffing idea to have RunRev generate > >>>> apps for > >>>> the iPhone/iPod Touch? Not sure if it will happen tho. > >>>> > >>>> All the Best > >>>> Dave > >>>> > >>>> > >>>> _______________________________________________ > >>>> use-revolution mailing list > >>>> use-revolution at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-revolution > >>>> > >>> > >>> > >>> -- > >>> http://www.andregarzia.com All We Do Is Code. > >>> _______________________________________________ > >>> use-revolution mailing list > >>> use-revolution at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-revolution > >>> > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Fri Feb 22 10:53:54 2008 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 22 Feb 2008 12:53:54 -0300 Subject: RunRev 2.9 Scripting Question In-Reply-To: <39B006E6-5834-4C20-8EB2-5F681F18024B@economy-x-talk.com> References: <452275D8-CA63-4E2A-B65F-29B27C01E991@looktowindward.com> <07EE98B7-2969-448D-9962-79B9A8CC5BDF@economy-x-talk.com> <39B006E6-5834-4C20-8EB2-5F681F18024B@economy-x-talk.com> Message-ID: <7c87a2a10802220753y74a31126r76a964ef792ce545@mail.gmail.com> Hello Mark, I don't think Frontier is OSA anymore. It used to be, I can't tell you I am completelly sure, but I think that after Frontier 5 or something, it droped being OSA and focused on the web + database + server part of it. I have frontier here and it is not listed on OSA... The Javascript OSA is also abandoned. :-( Andre On 2/22/08, Mark Schonewille wrote: > Hi Klaus, > > No no, your no wasn't premature. Not completely at least. I assume > that not all languages in the list returned by the alternateLanguages > are useful. > > There are a few OSA languages around, e.g. the JavaScript OSA > extension for Mac by LateNight software, which works great. Frontier > is another OSA language, which is available for Windows and Mac. Look > at and > for more info. If you decide to give it a try, please let me know if > you got it working with Rev. From larsbrehmer at mac.com Fri Feb 22 10:56:49 2008 From: larsbrehmer at mac.com (Lars Brehmer) Date: Fri, 22 Feb 2008 17:56:49 +0200 Subject: RunRev for iPhone and iPod Touch Message-ID: <93A8674D-603A-4C2D-9290-73C80FA19848@mac.com> I couldn't agree more! Personally I doubt I will ever learn to use/ code Apple's Xcode or the coming iPhone SDK, but I am sure some of you real cracks out there could develop a rev stack that can convert what is necessary to run a standalone on those devices. Or do the rev developers themselves plan to make that platform a standalone option? I guess that can't really be answered until everyone has seen the SDK,but isn't it theoretically possible? I am keeping my fingers crossed! Lars From ambassador at fourthworld.com Fri Feb 22 11:00:34 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Feb 2008 08:00:34 -0800 Subject: UI performance and large data set in Table Object Message-ID: <47BEF1A2.9080104@fourthworld.com> mfstuart wrote: > As I mentioned in my previous listing, 20, 30, or 50000 lines can be found, > depends on the users search criteria. My example was 20,844 lines). > The record length for the table is 255 (counting up the SQL definition > lengths for all columns) > On the stack I'm only using 8 of the 13 columns from the SQL table. The > record length for the Table Field then is 200. > > I also tried the Scrolling Field and compared it to the Table Field, using > 20,844 lines - big difference, where the Scrolling Field won in it's > performance of no degradation of stack resize. > But I've never used this object before, because I lose the formatting of > columnar presentation. > > If I use this object, is there a way to set it to columnar appearance? The field object was the key to the recipe I provided in my earlier post, but when I wrote that I forgot to specify "Any text container controls other than what the IDE calls a 'Table Object'". :) The other ingredients in my recipe were to set its hGrid and vGrid properties. Once you do that, you've just made an engine-native table field. I don't use the Rev IDE myself, so I've never had occasion to use it's "Table Object" (I still use the old IDE from before the acquisition, MetaCard), so I can't guess what it's doing that would eat so much time. But apparently some of the extra properties they set in it trigger a lot of other scripts in their libraries. Does anyone here know what the scripts driving Rev's "Table Object" are doing that would require so much processing during resizing? While there may be some room to optimize some of the scripts in the Rev IDE, I have a *lot* of confidence in the Rev engine. Glad to see you've found a solution with it that performs well. Know the engine. Trust the engine. Use the engine. :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From engleerica at yahoo.com Fri Feb 22 11:03:28 2008 From: engleerica at yahoo.com (Eric A. Engle) Date: Fri, 22 Feb 2008 08:03:28 -0800 (PST) Subject: beta 2.9 In-Reply-To: <20080222145030.1E80D489DD6@mail.runrev.com> Message-ID: <921712.97609.qm@web65407.mail.ac4.yahoo.com> Hi, I signed up for beta testing of rev 2.9 and still haven't a password / login url. :( Eric ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping From m.schonewille at economy-x-talk.com Fri Feb 22 11:04:07 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 22 Feb 2008 17:04:07 +0100 Subject: RunRev 2.9 Scripting Question In-Reply-To: <7c87a2a10802220753y74a31126r76a964ef792ce545@mail.gmail.com> References: <452275D8-CA63-4E2A-B65F-29B27C01E991@looktowindward.com> <07EE98B7-2969-448D-9962-79B9A8CC5BDF@economy-x-talk.com> <39B006E6-5834-4C20-8EB2-5F681F18024B@economy-x-talk.com> <7c87a2a10802220753y74a31126r76a964ef792ce545@mail.gmail.com> Message-ID: Hi Andre, Regarding Frontier, if that's true, it is a real shame. If the JavaScript OSA extension project has been abandoned it must have happened very recently, since the universal binary is still available for download here . Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html Op 22-feb-2008, om 16:53 heeft Andre Garzia het volgende geschreven: > Hello Mark, > > I don't think Frontier is OSA anymore. It used to be, I can't tell you > I am completelly sure, but I think that after Frontier 5 or something, > it droped being OSA and focused on the web + database + server part of > it. > > I have frontier here and it is not listed on OSA... > > The Javascript OSA is also abandoned. :-( > > Andre > From andre at andregarzia.com Fri Feb 22 11:06:07 2008 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 22 Feb 2008 13:06:07 -0300 Subject: RunRev for iPhone and iPod Touch In-Reply-To: <93A8674D-603A-4C2D-9290-73C80FA19848@mac.com> References: <93A8674D-603A-4C2D-9290-73C80FA19848@mac.com> Message-ID: <7c87a2a10802220806h25166bc7p115907f892bde3e1@mail.gmail.com> Lars, standalones would need an ARM targeted engine and that does not exist (I think). Best options for us is Web apps on iPhone. iPhone javascript support has some nice features so you can build nice webapps for it. andre PS: who has not an iPhone and thus can't test anything. On 2/22/08, Lars Brehmer wrote: > I couldn't agree more! Personally I doubt I will ever learn to use/ > code Apple's Xcode or the coming iPhone SDK, but I am sure some of you > real cracks out there could develop a rev stack that can convert what > is necessary to run a standalone on those devices. Or do the rev > developers themselves plan to make that platform a standalone option? > I guess that can't really be answered until everyone has seen the > SDK,but isn't it theoretically possible? I am keeping my fingers > crossed! > > Lars > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From ambassador at fourthworld.com Fri Feb 22 11:06:29 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Feb 2008 08:06:29 -0800 Subject: RunRev for iPhone and iPod Touch Message-ID: <47BEF305.3020102@fourthworld.com> Lars Brehmer wrote: > ...do the rev developers themselves plan to make that platform > a standalone option? I guess that can't really be answered until > everyone has seen the SDK,but isn't it theoretically possible? > I am keeping my fingers crossed! Software is just lights dancing on a screen. Everything is possible. They key question is whether there is a compelling business case for investing the time. If I were RunRev, long before I jumped on the iPhone bandwaqon I'd make an engine that runs on the Windows-based handhelds. Simpler API, and a much larger installed base. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From lists at mangomultimedia.com Fri Feb 22 11:14:36 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 22 Feb 2008 11:14:36 -0500 Subject: RunRev for iPhone and iPod Touch In-Reply-To: <7c87a2a10802220806h25166bc7p115907f892bde3e1@mail.gmail.com> References: <93A8674D-603A-4C2D-9290-73C80FA19848@mac.com> <7c87a2a10802220806h25166bc7p115907f892bde3e1@mail.gmail.com> Message-ID: <9E8B2E0D-1FC8-44EB-B43F-65FA1DCB5A5F@mangomultimedia.com> On Feb 22, 2008, at 11:06 AM, Andre Garzia wrote: > PS: who has not an iPhone and thus can't test anything. Perhaps you could try iPhoney . My brother Greg says it works OK and he used it a little while developing the iPhone interface to ScreenSteps Live. Though he says the best solution was when he hooked up his local development server to be accessible over wifi. Then he could just test using a real iPhone in his office without having to deploy to the public server first. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From sims at ezpzapps.com Fri Feb 22 11:26:21 2008 From: sims at ezpzapps.com (Jim Sims) Date: Fri, 22 Feb 2008 17:26:21 +0100 Subject: RunRev for iPhone and iPod Touch In-Reply-To: <7c87a2a10802220806h25166bc7p115907f892bde3e1@mail.gmail.com> References: <93A8674D-603A-4C2D-9290-73C80FA19848@mac.com> <7c87a2a10802220806h25166bc7p115907f892bde3e1@mail.gmail.com> Message-ID: On Feb 22, 2008, at 5:06 PM, Andre Garzia wrote: > iPhone javascript support has some nice features so you can build nice > webapps for it. > > andre > PS: who has not an iPhone and thus can't test anything. http://www.marketcircle.com/iphoney/ Not really an iPhone but seems to provide a 'frame' for your canvas with "lights dancing across the screen" ;-) For appearance only, in a way. "Looking for a way to see how your web creations will look on iPhone? Look no further. iPhoney gives you a pixel-accurate web browsing environment?powered by Safari?that you can use when developing web sites for iPhone. It's the perfect 320 by 480-pixel canvas for your iPhone development. And it's free." sims ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ClipaSearch Pro http://www.ClipaTools.com Across Platforms - Code and Culture http://www.ezpzapps.com/blog/ From mwieder at ahsoftware.net Fri Feb 22 12:18:40 2008 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 22 Feb 2008 09:18:40 -0800 Subject: RunRev 2.9 Scripting Question References: <452275D8-CA63-4E2A-B65F-29B27C01E991@looktowindward.com> <07EE98B7-2969-448D-9962-79B9A8CC5BDF@economy-x-talk.com> Message-ID: Mark- > If you enter > > put the alternateLanguages ...on my Kubuntu linux box this returns an empty set... -- Mark Wieder mwieder at ahsoftware.net> From dave at looktowindward.com Fri Feb 22 13:13:10 2008 From: dave at looktowindward.com (Dave) Date: Fri, 22 Feb 2008 18:13:10 +0000 Subject: RunRev 2.9 Scripting Question In-Reply-To: <07EE98B7-2969-448D-9962-79B9A8CC5BDF@economy-x-talk.com> References: <452275D8-CA63-4E2A-B65F-29B27C01E991@looktowindward.com> <07EE98B7-2969-448D-9962-79B9A8CC5BDF@economy-x-talk.com> Message-ID: Hi, I don't have version 2.9 installed so can't test it. Does anyone know when 2.9 will be released? All the Best Dave On 22 Feb 2008, at 14:31, Mark Schonewille wrote: > Hi Dave, > > If you enter > > put the alternateLanguages > > in the message box and press enter, you will see a list of > supported alternative languages. On my PC, this included > "SignedJavaScript" including the quotes. It looks like you can do > > do "command.javascript.some" as (quote & SignedJavaScript & quote) > > I haven't tested this. > > Best regards, > > Mark Schonewille > > -- > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Convert colours between different colour spaces with Color > Converter. Download at http://economy-x-talk.com/cc.html > > > > Op 22-feb-2008, om 15:24 heeft Dave het volgende geschreven: > >> Hi All, >> >> I read the following in the RunRev Newsletter: >> > > >> My question is: >> >> Does it also support JavaScript? As in: >> >> do tJavaScript as "javascript" >> >> Thanks a lot >> All the Best >> Dave >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From klaus at major-k.de Fri Feb 22 14:13:11 2008 From: klaus at major-k.de (Klaus Major) Date: Fri, 22 Feb 2008 20:13:11 +0100 Subject: RunRev 2.9 Scripting Question In-Reply-To: References: <452275D8-CA63-4E2A-B65F-29B27C01E991@looktowindward.com> <07EE98B7-2969-448D-9962-79B9A8CC5BDF@economy-x-talk.com> Message-ID: Hi Dave, > Hi, > > I don't have version 2.9 installed so can't test it. Does anyone > know when 2.9 will be released? In the next couple of weeks :-) > All the Best > Dave Best Klaus Major klaus at major-k.de http://www.major-k.de From ambassador at fourthworld.com Fri Feb 22 14:59:35 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Feb 2008 11:59:35 -0800 Subject: Extracting text from PDF Message-ID: <47BF29A7.8040702@fourthworld.com> Kay C Lan wrote: > Probably no use to you Richard as I believe this is for personal use only as > it requires PDF2RTFService from Devon Systems: > > http://www.devon-technologies.com/products/freeware/services.html ... > So in Rev: > > launch tFileName with "/yourHD/Applications/TextEdit.app" > > the 8 line AppleScript looks like this: > > 1 tell application "TextEdit" > 2 set theText to the text of document 1 > 3 make new document > 4 set the path of document 1 to "/yourHD/Users/Shared/Untitled1.txt" > 5 save document 1 > 6 close document 1 > 7 close document 1 > 8 end tell Wonderful! That's actually exactly what I need, as this is just a one-time tool for internal use only to help me build a textual index of a collection PDF files. Thank you for the help -- much appreciated. I should also thank Tom McGrath, who kindly sent me a fully functional Automator action to do that too. It runs well but only in Leopard, and it simplifies what I need to do to be able to generate the paths dynamically in Rev, so the AppleScript solution is a better fit for this task. Just the same, Tom I very much appreciate your taking the time to put that together. You've always been such a very helpful member of this community. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From gregory.lypny at videotron.ca Fri Feb 22 16:15:06 2008 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Fri, 22 Feb 2008 16:15:06 -0500 Subject: Nasty Colours and Patterns Bug in 2.9 Message-ID: Hello Everyone, I'm using Enterprise 2.9.0 dp 4, on an Intel-based iMac, and I'd like to know if any of you have encountered this bug. If you try to change the colour of something (e.g., stack background, field gridlines) using the Colours and Patterns palette, you can only do it once. If you change your mind while the palette is still open and click on one of the colour or pattern buttons, everything will freeze. Regards, Gregory From tsj at unimelb.edu.au Fri Feb 22 16:31:25 2008 From: tsj at unimelb.edu.au (Terry Judd) Date: Sat, 23 Feb 2008 08:31:25 +1100 Subject: RunRev for iPhone and iPod Touch In-Reply-To: <47BEF305.3020102@fourthworld.com> Message-ID: > If I were RunRev, long before I jumped on the iPhone bandwaqon I'd make > an engine that runs on the Windows-based handhelds. Simpler API, and a > much larger installed base. A Windows mobile version of Rev would be great (hey I think I even voted for one in BugZilla about three years ago) but if I could only have one mobile Rev platform then it would be for the iPhone/iPod Touch. These are the first handheld devices that I've seen that, IMHO, have real potential in the education sector. PDAs, whether Windows powered or not, have never taken off among students but these just might! Terry... -- Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 From ambassador at fourthworld.com Fri Feb 22 17:26:29 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Feb 2008 14:26:29 -0800 Subject: RunRev for iPhone and iPod Touch Message-ID: <47BF4C15.2070106@fourthworld.com> Terry Judd wrote: >> If I were RunRev, long before I jumped on the iPhone bandwaqon I'd make >> an engine that runs on the Windows-based handhelds. Simpler API, and a >> much larger installed base. > > A Windows mobile version of Rev would be great (hey I think I even voted for > one in BugZilla about three years ago) but if I could only have one mobile > Rev platform then it would be for the iPhone/iPod Touch. These are the first > handheld devices that I've seen that, IMHO, have real potential in the > education sector. PDAs, whether Windows powered or not, have never taken off > among students but these just might! It's a tough call. The iPhone has captured some healthy mindshare, but like the Mac GUI it won't be long before its gestures (and more) are simply industry standard. And for the other capabilities, competing vendors don't have far to go. I got a Palm Centro for my gal, and it's quite a powerful little device. And I have to say I prefer the tactile response of a fixed keypad over the where-did-I-just-press? virtual keypad of the iPhone. And ideal device may be more like the Sidekick: usable physical keypad with large screen display. Add gestures and it's an iPhone-killer. It'll be interesting to see whether Apple opens up the iPhone architecture faster than competing vendors add gestures. But while that race is on, it would take RunRev some time to deliver an engine for either device. With both the iPhone and competing alternatives in such a state of flux, the whole thing is quite a moving target, and in the meantime I really, really, really need independent column alignment and zero-width columns in Rev fields, as do a few thousand others. So it may be best for Rev to keep focusing on honing the engine for the business tasks currently asked of it, while the Handheld Platform Wars play themselves out for at least another year. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From andres at bakno.com Fri Feb 22 17:38:14 2008 From: andres at bakno.com (Andres Martinez) Date: Fri, 22 Feb 2008 17:38:14 -0500 Subject: RunRev for iPhone and iPod Touch In-Reply-To: <47BF4C15.2070106@fourthworld.com> References: <47BF4C15.2070106@fourthworld.com> Message-ID: <43E27674-98FA-4183-89A0-0D020A5BEEB2@bakno.com> Hello Sorry Richard, but I disagree. I recently read (maybe from this same mailing list) that the iPhone has more penetration than Linux within internet-connected devices. If I remember correctly, measurement was taken from Google visitors. If this is correct, the iPhone would be an important platform for RunRev. Regards, Andres Martinez www.baKno.com On Feb 22, 2008, at 5:26 PM, Richard Gaskin wrote: > Terry Judd wrote: > >>> If I were RunRev, long before I jumped on the iPhone bandwaqon I'd >>> make >>> an engine that runs on the Windows-based handhelds. Simpler API, >>> and a >>> much larger installed base. >> A Windows mobile version of Rev would be great (hey I think I even >> voted for >> one in BugZilla about three years ago) but if I could only have one >> mobile >> Rev platform then it would be for the iPhone/iPod Touch. These are >> the first >> handheld devices that I've seen that, IMHO, have real potential in >> the >> education sector. PDAs, whether Windows powered or not, have never >> taken off >> among students but these just might! > > It's a tough call. The iPhone has captured some healthy mindshare, > but like the Mac GUI it won't be long before its gestures (and more) > are simply industry standard. > > And for the other capabilities, competing vendors don't have far to > go. I got a Palm Centro for my gal, and it's quite a powerful > little device. And I have to say I prefer the tactile response of a > fixed keypad over the where-did-I-just-press? virtual keypad of the > iPhone. And ideal device may be more like the Sidekick: usable > physical keypad with large screen display. Add gestures and it's an > iPhone-killer. > > It'll be interesting to see whether Apple opens up the iPhone > architecture faster than competing vendors add gestures. But while > that race is on, it would take RunRev some time to deliver an engine > for either device. With both the iPhone and competing alternatives > in such a state of flux, the whole thing is quite a moving target, > and in the meantime I really, really, really need independent column > alignment and zero-width columns in Rev fields, as do a few thousand > others. > > So it may be best for Rev to keep focusing on honing the engine for > the business tasks currently asked of it, while the Handheld > Platform Wars play themselves out for at least another year. > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From userev at canelasoftware.com Fri Feb 22 17:46:55 2008 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 22 Feb 2008 14:46:55 -0800 Subject: RunRev for iPhone and iPod Touch In-Reply-To: <47BF4C15.2070106@fourthworld.com> References: <47BF4C15.2070106@fourthworld.com> Message-ID: <99808F19-6270-4240-B117-DF426EBA2B3B@canelasoftware.com> On Feb 22, 2008, at 2:26 PM, Richard Gaskin wrote: > So it may be best for Rev to keep focusing on honing the engine for > the business tasks currently asked of it, while the Handheld > Platform Wars play themselves out for at least another year. Not to get in the way of other important features that Rev is lacking, I find spending some time on this technology to be quite worthy of Rev's time. The clean flat screen would be a benefit for the apps I am creating. It allows the entire screen to be made into any button configuration I want. I don't even care about iPhone compatibility. I just need iTouch compatibility. I have a whole slew of apps that would fit that hardware architecture just fine. With sockets, you have a networked, portable, affordable, mini apple computer for all kinds of embedded application uses. Mark Talluto -- CANELA Software http://www.canelasoftware.com From devin_asay at byu.edu Fri Feb 22 18:05:10 2008 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 22 Feb 2008 16:05:10 -0700 Subject: Nasty Colours and Patterns Bug in 2.9 In-Reply-To: References: Message-ID: <0A9B48BB-9330-4591-917A-C08C9FD3E15D@byu.edu> On Feb 22, 2008, at 2:15 PM, Gregory Lypny wrote: > Hello Everyone, > > I'm using Enterprise 2.9.0 dp 4, on an Intel-based iMac, and I'd > like to know if any of you have encountered this bug. If you try > to change the colour of something (e.g., stack background, field > gridlines) using the Colours and Patterns palette, you can only do > it once. If you change your mind while the palette is still open > and click on one of the colour or pattern buttons, everything will > freeze. Everything seems okay here, on Intel iMac, 10.4.11. I can change colo (u)rs and patterns at will with no problems. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From mwieder at ahsoftware.net Fri Feb 22 18:13:12 2008 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 22 Feb 2008 15:13:12 -0800 Subject: OT: New threat to our way of life: giant pythons Message-ID: No on-topic content, but it's Friday on my planet and I just had to share this gem: http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2008/02/21/MNABV5PP3.DTL -- Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Fri Feb 22 18:20:49 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Feb 2008 15:20:49 -0800 Subject: RunRev for iPhone and iPod Touch Message-ID: <47BF58D1.5090408@fourthworld.com> Andres Martinez wrote: > Sorry Richard, but I disagree. > > I recently read (maybe from this same mailing list) that the iPhone > has more penetration than Linux within internet-connected devices. If > I remember correctly, measurement was taken from Google visitors. > > If this is correct, the iPhone would be an important platform for > RunRev. I think we're in agreement that the iPhone is an interesting platform, and of course there's no disputing hard data like the Linux market share stat you noted. But the question here isn't a technical one, it's a business one, and like all such questions it focuses on ROI: Before Rev was Rev it was MetaCard, and it was born on UNIX, with Windows and then Mac added later. So a *NIX-compatible engine has always been around since the beginning. The efforts with v2.9 to bring it up to date for the current Linux window managers are relatively trivial; the core of the engine has always run on *NIX. Very little cost involved in Linux support at this time. Moreover, I hadn't referred to Linux at all. With mobile devices, the most useful comparison is to Windows Mobile. While the comparison with Linux is interesting, it doesn't affect a business decision between iPhone and Windows Mobile. The unknown here is the cost of porting the engine to whatever variant of OS X us running the iPhone, relative to the level of effort that would be needed to port it to Windows Mobile. If the cost is favorable relative to market share, it's worth doing. And maybe both are worth doing; I have neither the data on Rev's development costs nor the Windows Mobile market to make that decision for them, nor would they care if I did since I don't work there. :) But I do know this: Rev is already on the desktop, and to fully exploit the opportunities already before us we really need independent column alignment and zero-width columns in fields. A lot of money is left on the table until those two features are in place. So once we get those I'll happily explore other more exotic opportunities. But in the meantime there's plenty to keep RunRev, and us, profitably busy while the mobile market sorts itself out. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From tsj at unimelb.edu.au Fri Feb 22 17:55:57 2008 From: tsj at unimelb.edu.au (Terry Judd) Date: Sat, 23 Feb 2008 09:55:57 +1100 Subject: RunRev for iPhone and iPod Touch In-Reply-To: <47BF4C15.2070106@fourthworld.com> Message-ID: On 23/2/08 9:26 AM, "Richard Gaskin" wrote: > So it may be best for Rev to keep focusing on honing the engine for the > business tasks currently asked of it, while the Handheld Platform Wars > play themselves out for at least another year. I agree that we need to play the waiting game for a while but hopefully not for too long. Handhelds have been around for a while without ever really taking off - but I reckon that's about to change. While I don't expect to see an iPhone (or whatever) version of Rev anytime soon, I'd hope that someone in the Rev engine room will at least take the time to investigate Apple's SDK when it comes out. Yes the so-called web apps that we can already develop for the iPhone are promising but if you look through the hundreds that have already been published you'd struggle to find more than a couple that were truly useful (a bit like Apple's dashboard and Yahoo's widgets) - but real mini-desktop apps... Terry... -- Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 From tsj at unimelb.edu.au Fri Feb 22 18:41:54 2008 From: tsj at unimelb.edu.au (Terry Judd) Date: Sat, 23 Feb 2008 10:41:54 +1100 Subject: RunRev for iPhone and iPod Touch In-Reply-To: <47BF58D1.5090408@fourthworld.com> Message-ID: On 23/2/08 10:20 AM, "Richard Gaskin" wrote: > But I do know this: Rev is already on the desktop, and to fully exploit > the opportunities already before us we really need independent column > alignment and zero-width columns in fields. A lot of money is left on > the table until those two features are in place. Agreed - I also want these feature now, Rev for iPhone can wait until next week ;) Terry... From martinblackman at gmail.com Fri Feb 22 20:04:45 2008 From: martinblackman at gmail.com (Martin Blackman) Date: Sat, 23 Feb 2008 10:04:45 +0900 Subject: RunRev for iPhone and iPod Touch In-Reply-To: References: <47BF58D1.5090408@fourthworld.com> Message-ID: <79d1bee70802221704u6074a14che3540f3339e68444@mail.gmail.com> silly question, but what does one do with a zero-width column ? On 23/2/08 10:20 AM, "Richard Gaskin" wrote: > > > But I do know this: Rev is already on the desktop, and to fully exploit > > the opportunities already before us we really need independent column > > alignment and zero-width columns in fields. A lot of money is left on > > the table until those two features are in place. > > From stephenREVOLUTION2 at barncard.com Fri Feb 22 20:16:13 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Fri, 22 Feb 2008 17:16:13 -0800 Subject: RunRev for iPhone and iPod Touch In-Reply-To: <79d1bee70802221704u6074a14che3540f3339e68444@mail.gmail.com> References: <47BF58D1.5090408@fourthworld.com> <79d1bee70802221704u6074a14che3540f3339e68444@mail.gmail.com> Message-ID: Hide data in-line in a column in a field row. Associating hidden data with a line can be very useful. Currently we have to hide any such data at the end of a row, out of view. sqb >silly question, but what does one do with a zero-width column ? > >On 23/2/08 10:20 AM, "Richard Gaskin" wrote: >> >> > But I do know this: Rev is already on the desktop, and to fully exploit >> > the opportunities already before us we really need independent column >> > alignment and zero-width columns in fields. A lot of money is left on >> > the table until those two features are in place. > > >> -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From JimAultWins at yahoo.com Fri Feb 22 20:19:22 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 22 Feb 2008 17:19:22 -0800 Subject: RunRev for iPhone and iPod Touch In-Reply-To: <79d1bee70802221704u6074a14che3540f3339e68444@mail.gmail.com> Message-ID: I don't know about other programmers, but I would be able to display just the columns I wanted for the user without having to parse a table of data. For example: All data is in one table of 15 columns. Field "price" would use column 1,2,4,10 which could be [database id][inventory item num][description][price] the user only needs to see [description][price] so all columns would be 0 width except those 2 If the user clicks, now you want to display the related data such as [package size][in stock][shipping wt] All this info has already been retrieved and Rev can use chunking to get it. I am sure there are other uses. Jim Ault Las Vegas On 2/22/08 5:04 PM, "Martin Blackman" wrote: > silly question, but what does one do with a zero-width column ? > > On 23/2/08 10:20 AM, "Richard Gaskin" wrote: >> >>> But I do know this: Rev is already on the desktop, and to fully exploit >>> the opportunities already before us we really need independent column >>> alignment and zero-width columns in fields. A lot of money is left on >>> the table until those two features are in place. From ambassador at fourthworld.com Fri Feb 22 20:27:57 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Feb 2008 17:27:57 -0800 Subject: RunRev for iPhone and iPod Touch Message-ID: <47BF769D.5040502@fourthworld.com> Martin Blackman wrote: > silly question, but what does one do with a zero-width column ? Not silly at all. I got the idea from Ken Ray, and have been a strong advocate of it since. But when I first heard about it, I had the same question. :) Suppose you want to display records from a database in a multi-column list field. You'll want to keep track of the ID field, but that's just noise to the end-user so you don't want to display it. Currently, you'd have to parse out that column and store it in a separate field. When the user clicks on a line in the list, you look up the corresponding line in the ID field to do whatever you need to do with that record. But then you want to sort the list. So you have to recombine the ID field with the rest of the list contents, do the sort, then parse them apart again for display. Ugh. Not the sort of thing I want to spend time in a seminar at a corporation when I'm trying to teach them how to use Rev. With a zero-width column, you can effectively "hide" any data you want, yet still keep it bound to the rest of the display. Simple, convenient, easy to learn. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From lan.kc.macmail at gmail.com Fri Feb 22 20:52:29 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 23 Feb 2008 09:52:29 +0800 Subject: Extracting text from PDF In-Reply-To: <47BF29A7.8040702@fourthworld.com> References: <47BF29A7.8040702@fourthworld.com> Message-ID: On Sat, Feb 23, 2008 at 3:59 AM, Richard Gaskin wrote: > Wonderful! That's actually exactly what I need, as this is just a > one-time tool for internal use only to help me build a textual index of > a collection PDF files. Thank you for the help -- much appreciated. > > So glad I could help. For the many insights and explanations I've gleaned from your many many posts to this List, and your web-site, I feel rather chuffed that I could give something back. 'one-time tool' Hmmmm, you might be surprised. I too was looking to solve one problem, all be it an ongoing one. But once I got this to work and saw how quick and easy it was to get PDF text into Rev, that tool has been used many many times:-) Jim, enjoyed the blog re Annard. Please pass on to him that I too am very very thankful for what Devon Technologies provides for free. From palcibiades-first at yahoo.co.uk Sat Feb 23 03:35:41 2008 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 23 Feb 2008 08:35:41 +0000 Subject: 2.9 dp-3 for linux has expired...! Message-ID: <200802230835.41231.palcibiades-first@yahoo.co.uk> OK, all good things come to an end. So where do I get the next one? Peter From baleareninsel at gmx.net Sat Feb 23 04:06:10 2008 From: baleareninsel at gmx.net (Horst) Date: Sat, 23 Feb 2008 01:06:10 -0800 (PST) Subject: 2.9 dp-3 for linux has expired...! In-Reply-To: <200802230835.41231.palcibiades-first@yahoo.co.uk> References: <200802230835.41231.palcibiades-first@yahoo.co.uk> Message-ID: <15649932.post@talk.nabble.com> Hi RunRev, why don?t all 2.9 testers get dp-4? Is there a selection or is it just a mistake? best regards Horst Peter Alcibiades wrote: > > OK, all good things come to an end. > > So where do I get the next one? > > Peter > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/2.9-dp-3-for-linux-has-expired...%21-tp15649708p15649932.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at rcn.com Sat Feb 23 04:40:32 2008 From: coiin at rcn.com (Colin Holgate) Date: Sat, 23 Feb 2008 04:40:32 -0500 Subject: OT: New threat to our way of life: giant pythons In-Reply-To: References: Message-ID: On Feb 22, 2008, at 6:13 PM, Mark Wieder wrote: > http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2008/02/21/MNABV5PP3.DTL Well, arguably Python is in competition to Rev, so it's remotely on topic! From lan.kc.macmail at gmail.com Sat Feb 23 04:48:38 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 23 Feb 2008 17:48:38 +0800 Subject: Extracting text from PDF In-Reply-To: References: <47BF29A7.8040702@fourthworld.com> Message-ID: Stop the Presses!!!! I'm over the moon, I can't believe I missed this before, I can't believe how many circles I've run, but I thought I'd have another go at trying to eliminating the step of creating an extra document, I want AppleScript to talk directly to Rev, and I'VE FOUND IT :-) Read the Doc's, Read the Doc's, Read the Doc's. As bad as we complain they are, there is still so much in there if only I took in what I read;-) Here's what the Doc's say about the 'do' command: If you use the do as OSALanguageName form, any result returned by the script language is placed in the result. ANY result from AppleScript will be placed in Rev's 'the result' I look at AppleScript's 'Event Log' window all the time to check the 'Result' of each major step. The first step of my script is to put the text of the document into a variable. is that a result?. So, out of interest I removed all the following steps so the only step of the script was to place the text into an AppleScript variable. Then in Rev I simply ' put the result into myVariable'. And there it was, all the text. It's that easy!!! The only minor minor problem is that in comes in AppleScript format, which means there are quotes around the content, but a quick 'put char 2 to -2' will eliminate those. So in Rev: use the launch command to force a pdf to open with TextEdit use do to run this AppleScript: tell application "TextEdit" set tText to the text of document 1 end tell put the result into myVariable --is now full of your pdf's text :-)))) put char 2 to -2 of myVariable into myVariable --remove quotes you'll probably want to do another 'do' to run this AppleScript to close the document tell application "TextEdit" close document 1 --or if your finished with TextEdit quit --you will be prompted to save if there are any unsaved docs end tell Now to go and celebrate with some really loud Stevie Ray Vaughn...The house is a rockin' so don't bother knockin' From viktoras at ekoinf.net Sat Feb 23 04:56:20 2008 From: viktoras at ekoinf.net (viktoras didziulis) Date: Sat, 23 Feb 2008 11:56:20 +0200 Subject: 2.9 dp-3 for linux has expired...! In-Reply-To: <15649932.post@talk.nabble.com> References: <200802230835.41231.palcibiades-first@yahoo.co.uk> <15649932.post@talk.nabble.com> Message-ID: <47BFEDC4.6090801@ekoinf.net> i did not receive it too :-( or at least cant't find it in my inbox - the latest message is about dp3... Viktoras Horst wrote: > Hi RunRev, > > why don?t all 2.9 testers get dp-4? > > Is there a selection or is it just a mistake? > > best regards > > Horst > > > Peter Alcibiades wrote: > >> OK, all good things come to an end. >> >> So where do I get the next one? >> >> Peter >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> > > From JimAultWins at yahoo.com Sat Feb 23 05:12:04 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 23 Feb 2008 02:12:04 -0800 Subject: Extracting text from PDF In-Reply-To: Message-ID: You might want to look at Kenny Ray Vaughn's site at sonsOthunder.com for his scripting solutions for both Win and Mac. This will add to your power and show the way to build cross-platform handlers. Jim Ault Las Vegas On 2/23/08 1:48 AM, "Kay C Lan" wrote: > Stop the Presses!!!! > > I'm over the moon, I can't believe I missed this before, I can't believe how > many circles I've run, but I thought I'd have another go at trying to > eliminating the step of creating an extra document, I want AppleScript to > talk directly to Rev, and I'VE FOUND IT :-) > > Read the Doc's, Read the Doc's, Read the Doc's. As bad as we complain they > are, there is still so much in there if only I took in what I read;-) > > Here's what the Doc's say about the 'do' command: > > If you use the do as OSALanguageName form, any result returned by the script > language is placed in the result. > > ANY result from AppleScript will be placed in Rev's 'the result' > > I look at AppleScript's 'Event Log' window all the time to check the > 'Result' of each major step. The first step of my script is to put the text > of the document into a variable. is that a result?. So, out of interest I > removed all the following steps so the only step of the script was to place > the text into an AppleScript variable. > > Then in Rev I simply ' put the result into myVariable'. And there it was, > all the text. It's that easy!!! The only minor minor problem is that in > comes in AppleScript format, which means there are quotes around the > content, but a quick 'put char 2 to -2' will eliminate those. > > So in Rev: > > use the launch command to force a pdf to open with TextEdit > > use do to run this AppleScript: > > tell application "TextEdit" > set tText to the text of document 1 > end tell > > put the result into myVariable --is now full of your pdf's text :-)))) > put char 2 to -2 of myVariable into myVariable --remove quotes > > you'll probably want to do another 'do' to run this AppleScript to close the > document > > tell application "TextEdit" > close document 1 > --or if your finished with TextEdit > quit > --you will be prompted to save if there are any unsaved docs > end tell > > Now to go and celebrate with some really loud Stevie Ray Vaughn...The house > is a rockin' so don't bother knockin' > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From geradamas at yahoo.com Sat Feb 23 09:29:36 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sat, 23 Feb 2008 14:29:36 +0000 (GMT) Subject: 2.9 dp-3 for linux has expired...! Message-ID: <234113.56784.qm@web37504.mail.mud.yahoo.com> "Is there a selection or is it just a mistake?" Surely that question has already answered itself? As a Runtime Revolution user of extremely slender income who uses a licensed version of DreamCard 2.6.1 I assume I, at least, have been excluded from Beta 4 (or is it 11 ???) because I do not have a recent licence for a fancier version of RR. If this is true . . . it is "all rather a pity" as some of use try to support RR in other ways that with money. sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Sent from Yahoo! Mail. A Smarter Inbox. http://uk.docs.yahoo.com/nowyoucan.html From nealk3nc at gmail.com Sat Feb 23 09:59:45 2008 From: nealk3nc at gmail.com (Neal Campbell) Date: Sat, 23 Feb 2008 09:59:45 -0500 Subject: 2.9 dp-3 for linux has expired...! In-Reply-To: <47BFEDC4.6090801@ekoinf.net> References: <200802230835.41231.palcibiades-first@yahoo.co.uk> <15649932.post@talk.nabble.com> <47BFEDC4.6090801@ekoinf.net> Message-ID: <325413300802230659r403552b1ta4a970b7df786522@mail.gmail.com> I thought it happened to me when I upgraded to an enterprise license. But, if the official release is coming in days rather than weeks I am happy to wait. Neal On Sat, Feb 23, 2008 at 4:56 AM, viktoras didziulis wrote: > i did not receive it too :-( or at least cant't find it in my inbox - > the latest message is about dp3... > > Viktoras > > > > Horst wrote: > > Hi RunRev, > > > > why don?t all 2.9 testers get dp-4? > > > > Is there a selection or is it just a mistake? > > > > best regards > > > > Horst > > > > > > Peter Alcibiades wrote: > > > >> OK, all good things come to an end. > >> > >> So where do I get the next one? > >> > >> Peter > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > >> > >> > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Neal Campbell Abroham Neal Software Programming Services for Windows, OS X and Linux (540) 242 0911 --------------------------------------------------------------------- Try Spot for OS X, the intelligent DXCluster Client at www.abrohamnealsoftware.com For a great dog book, visit www.abrohamneal.com From bvg at mac.com Sat Feb 23 11:56:54 2008 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 23 Feb 2008 17:56:54 +0100 Subject: RunRev for iPhone and iPod Touch In-Reply-To: <47BF769D.5040502@fourthworld.com> References: <47BF769D.5040502@fourthworld.com> Message-ID: <01C96D8B-A516-48B1-AB65-D3637C4CD5D3@mac.com> On 23 Feb 2008, at 02:27, Richard Gaskin wrote: > Suppose you want to display records from a database in a multi- > column list field. You'll want to keep track of the ID field, but > that's just noise to the end-user so you don't want to display it. > > Currently, you'd have to parse out that column and store it in a > separate field. When the user clicks on a line in the list, you > look up the corresponding line in the ID field to do whatever you > need to do with that record. > > But then you want to sort the list. So you have to recombine the ID > field with the rest of the list contents, do the sort, then parse > them apart again for display. > > Ugh. Not to say this isn't a nice feature request, but removing or adding columns isn't exactly the rocket science you make it out to be. For example: on mouseUp put 1 into doNotWantColumn put 2 into sortByThisColumn put the data of field 1 into theData sort theData by item sortByThisColumn of each split theData by column delete variable theData[doNotWantColumn] combine theData by column put theData into field 1 end mouseUp Obviously not as simple as not showing a column in the field, and less memory efficient too, but on the plus side this is available now, and most likely faster then a modified field object (everything that has to do with fields is slow). -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From stephenREVOLUTION2 at barncard.com Sat Feb 23 12:17:34 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Sat, 23 Feb 2008 09:17:34 -0800 Subject: 2.9 dp-3 for linux has expired...! In-Reply-To: <15649932.post@talk.nabble.com> References: <200802230835.41231.palcibiades-first@yahoo.co.uk> <15649932.post@talk.nabble.com> Message-ID: What happens when you use "check for update?" >Hi RunRev, > >why don?t all 2.9 testers get dp-4? > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From nealk3nc at gmail.com Sat Feb 23 12:30:09 2008 From: nealk3nc at gmail.com (Neal Campbell) Date: Sat, 23 Feb 2008 17:30:09 +0000 Subject: 2.9 dp-3 for linux has expired...! In-Reply-To: References: <200802230835.41231.palcibiades-first@yahoo.co.uk> <15649932.post@talk.nabble.com> Message-ID: <325413300802230930w5f5d2c58s186718d17fdcf051@mail.gmail.com> Mine will not start it aborts immeditely with expired trial date message. Neal On Sat, Feb 23, 2008 at 5:17 PM, Stephen Barncard wrote: > What happens when you use "check for update?" > > > >Hi RunRev, > > > >why don?t all 2.9 testers get dp-4? > > > > -- > > > stephen barncard > s a n f r a n c i s c o > - - - - - - - - - - - - > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Neal Campbell Abroham Neal Software Programming Services for Windows, OS X and Linux (540) 242 0911 --------------------------------------------------------------------- Try Spot for OS X, the intelligent DXCluster Client at www.abrohamnealsoftware.com For a great dog book, visit www.abrohamneal.com From Camm29 at tesco.net Sat Feb 23 12:31:58 2008 From: Camm29 at tesco.net (Camm29) Date: Sat, 23 Feb 2008 17:31:58 -0000 Subject: Wait with messages References: <20080222132405.FY1NN.383829.root@web11-winn.ispmail.private.ntl.com> Message-ID: <000701c87642$021f8b80$0d01a8c0@workshop> Thanks for that , 1 is put into x within a button script on mouseup . > Why do i check (x=1) 2 times ? Well I actually check for(x=1) 10 times ?! I think I've missed the concept of messages I thought if not checking for x after each function in the loop it would mean 10 x 250ms wait to exit ???? Each do something (10 off ) in the loop retrieves different data (each takes 250ms) via the rs232 port and displays on a card in real time until the stop button is pressed. Thanks in advance Camm ----- Original Message ----- From: "Mark Schonewille" To: "How to use Revolution" Sent: Friday, February 22, 2008 1:37 PM Subject: Re: Wait with messages > Hi Curry, > > There might be a problem caused by the fact that the script is > currently running, but since I don't see how you change x, I am not > sure about this. Usually, I use a custom property or the hilite of a > button rather than a variable (which in your case seems to be set and > read in the same script). Also, I can imagine that waiting with > messages halfway the repeat loop doesn't work perfectly. I always put > the wait statement at the end of the loop. > > Also, the repeat loop itself doesn't run with messages. What always > works for me is: > > repeat forever with messages -- I rarely use forever btw > if someCondition then > -- do something > else exit repeat > wait 0 millisecs with messages > end repeat > > You might need to re-think the design of your repeat loop. Why do you > need to check x two times? Is it possible for the user to determine > whether s/he will click before the first or the second wait statement? > > Best regards, > > Mark Schonewille > > -- > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Convert colours between different colour spaces with Color Converter. > Download at http://economy-x-talk.com/cc.html > > > > Op 22-feb-2008, om 14:24 heeft > het volgende geschreven: > > > I have a loop with :- > > > > repeat > > ..... do something (takes about 250ms) > > wait 1 millisecond with messages > > if x=1 then exit repeat > > ..... do something (takes about 250ms) > > wait 1 millisecond with messages > > if x=1 then exit repeat > > end repeat > > > > I have a button that makes x =1 to exit 1 card and go to another > > > > The seems to be a larger delay than i expected to exit the repeat > > 2-5 secs ???? > > > > Any ideas how to exit repeat very fast ??? > > > > Thanks in advance ! > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.516 / Virus Database: 269.20.8/1288 - Release Date: 19/02/2008 20:47 > > From viktoras at ekoinf.net Sat Feb 23 12:38:24 2008 From: viktoras at ekoinf.net (viktoras didziulis) Date: Sat, 23 Feb 2008 19:38:24 +0200 Subject: 2.9 dp-3 for linux has expired...! In-Reply-To: References: <200802230835.41231.palcibiades-first@yahoo.co.uk> <15649932.post@talk.nabble.com> Message-ID: <47C05A10.2030902@ekoinf.net> We can't, dp-3 has already expired... v.- Stephen Barncard wrote: > What happens when you use "check for update?" > >> Hi RunRev, >> >> why don?t all 2.9 testers get dp-4? >> > From m.schonewille at economy-x-talk.com Sat Feb 23 13:09:29 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 23 Feb 2008 19:09:29 +0100 Subject: Wait with messages In-Reply-To: <000701c87642$021f8b80$0d01a8c0@workshop> References: <20080222132405.FY1NN.383829.root@web11-winn.ispmail.private.ntl.com> <000701c87642$021f8b80$0d01a8c0@workshop> Message-ID: <90C0A370-0FBF-4C87-9501-847803B1C567@economy-x-talk.com> Oh... Camm, not Curry, so sorry for that. It is really friendly of you to thank me(?) in advance, but do you have any more questions or are you going to try to change your repeat loop now? I don't get what you want to say by > I thought if not checking for x after each function in the loop it > would > mean 10 x 250ms wait to exit ???? Why would it mean 2500ms wait to exit and what is it? Of course, if you put a wait statement in your repeat loop, like wait for 250 millisecs with messages it will delay for 250 millics, but if you look at my example, you'll see that waiting with 0 millisecs is sufficient, i.e. no delay unless other messages are being sent (such as mouseUp). Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html Op 23-feb-2008, om 18:31 heeft Camm29 het volgende geschreven: > Thanks for that , > > 1 is put into x within a button script on mouseup . > >> Why do i check (x=1) 2 times ? > > Well I actually check for(x=1) 10 times ?! > I think I've missed the concept of messages > I thought if not checking for x after each function in the loop it > would > mean 10 x 250ms wait to exit ???? > > Each do something (10 off ) in the loop retrieves different data > (each takes > 250ms) via the rs232 port and displays > on a card in real time until the stop button is pressed. > > Thanks in advance > Camm > > ----- Original Message ----- > From: "Mark Schonewille" > To: "How to use Revolution" > Sent: Friday, February 22, 2008 1:37 PM > Subject: Re: Wait with messages > > >> Hi Curry, >> >> There might be a problem caused by the fact that the script is >> currently running, but since I don't see how you change x, I am not >> sure about this. Usually, I use a custom property or the hilite of a >> button rather than a variable (which in your case seems to be set and >> read in the same script). Also, I can imagine that waiting with >> messages halfway the repeat loop doesn't work perfectly. I always put >> the wait statement at the end of the loop. >> >> Also, the repeat loop itself doesn't run with messages. What always >> works for me is: >> >> repeat forever with messages -- I rarely use forever btw >> if someCondition then >> -- do something >> else exit repeat >> wait 0 millisecs with messages >> end repeat >> >> You might need to re-think the design of your repeat loop. Why do you >> need to check x two times? Is it possible for the user to determine >> whether s/he will click before the first or the second wait >> statement? >> >> Best regards, >> >> Mark Schonewille >> >> -- >> >> Economy-x-Talk Consulting and Software Engineering >> http://economy-x-talk.com >> http://www.salery.biz >> >> Convert colours between different colour spaces with Color Converter. >> Download at http://economy-x-talk.com/cc.html >> >> >> From jacque at hyperactivesw.com Sat Feb 23 13:45:28 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 23 Feb 2008 12:45:28 -0600 Subject: Extracting text from PDF In-Reply-To: References: <47BF29A7.8040702@fourthworld.com> Message-ID: <47C069C8.1020709@hyperactivesw.com> Kay C Lan wrote: > So in Rev: > > use the launch command to force a pdf to open with TextEdit > > use do to run this AppleScript: > > tell application "TextEdit" > set tText to the text of document 1 > end tell > > put the result into myVariable --is now full of your pdf's text :-)))) Wow. Very cool! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From 3mcgrath at comcast.net Sat Feb 23 14:41:58 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Sat, 23 Feb 2008 14:41:58 -0500 Subject: Extracting text from PDF In-Reply-To: <47BF29A7.8040702@fourthworld.com> References: <47BF29A7.8040702@fourthworld.com> Message-ID: Thanks Richard, I have only tried to give back what has been so freely given to me: The members of this list have always given me their time and patience freely and with out limit. Update on me: I had to abandon a PDF project due to other work and have not been able to finish it. I have also abandoned a few other projects over the past year. I am releasing a cross-platform iTunes Library to the members of this list once I finish cleaning it up a bit. Uses Revolution, Applescript and VBscript. Does a lot more than the standard play, pause stop. It actually can search the iTunes store, Create playlists, etc. The new version of iTunes broke a few things so I will try and clean them up before releasing here. I am working on a project for inclusion on the iPhone and am using Revolution for the desktop prototype, very cool. I have created many prototypes over the past year or so and all have been successful. I just wish I had more time to work on my own projects (without losing my job of course, grin). I am working with mashups as well and look forward to the Rev on Rockets tutorials coming up. Thanks again, Tom McGrath On Feb 22, 2008, at 2:59 PM, Richard Gaskin wrote: > Kay C Lan wrote: > >> Probably no use to you Richard as I believe this is for personal >> use only as >> it requires PDF2RTFService from Devon Systems: >> http://www.devon-technologies.com/products/freeware/services.html > ... >> So in Rev: >> launch tFileName with "/yourHD/Applications/TextEdit.app" >> the 8 line AppleScript looks like this: >> 1 tell application "TextEdit" >> 2 set theText to the text of document 1 >> 3 make new document >> 4 set the path of document 1 to "/yourHD/Users/Shared/Untitled1.txt" >> 5 save document 1 >> 6 close document 1 >> 7 close document 1 >> 8 end tell > > Wonderful! That's actually exactly what I need, as this is just a > one-time tool for internal use only to help me build a textual index > of a collection PDF files. Thank you for the help -- much > appreciated. > > I should also thank Tom McGrath, who kindly sent me a fully > functional Automator action to do that too. It runs well but only > in Leopard, and it simplifies what I need to do to be able to > generate the paths dynamically in Rev, so the AppleScript solution > is a better fit for this task. Just the same, Tom I very much > appreciate your taking the time to put that together. You've always > been such a very helpful member of this community. > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at comcast.net Sat Feb 23 15:23:43 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Sat, 23 Feb 2008 15:23:43 -0500 Subject: Extracting text from PDF In-Reply-To: References: <47BF29A7.8040702@fourthworld.com> Message-ID: That was an awesome reveal. I wonder where else that would work. Safari ??? HHmmmm Thanks Tom On Feb 23, 2008, at 4:48 AM, Kay C Lan wrote: > Stop the Presses!!!! > > I'm over the moon, I can't believe I missed this before, I can't > believe how > many circles I've run, but I thought I'd have another go at trying to > eliminating the step of creating an extra document, I want > AppleScript to > talk directly to Rev, and I'VE FOUND IT :-) > > Read the Doc's, Read the Doc's, Read the Doc's. As bad as we > complain they > are, there is still so much in there if only I took in what I read;-) > > Here's what the Doc's say about the 'do' command: > > If you use the do as OSALanguageName form, any result returned by > the script > language is placed in the result. > > ANY result from AppleScript will be placed in Rev's 'the result' > > I look at AppleScript's 'Event Log' window all the time to check the > 'Result' of each major step. The first step of my script is to put > the text > of the document into a variable. is that a result?. So, out of > interest I > removed all the following steps so the only step of the script was > to place > the text into an AppleScript variable. > > Then in Rev I simply ' put the result into myVariable'. And there it > was, > all the text. It's that easy!!! The only minor minor problem is that > in > comes in AppleScript format, which means there are quotes around the > content, but a quick 'put char 2 to -2' will eliminate those. > > So in Rev: > > use the launch command to force a pdf to open with TextEdit > > use do to run this AppleScript: > > tell application "TextEdit" > set tText to the text of document 1 > end tell > > put the result into myVariable --is now full of your pdf's text :-)))) > put char 2 to -2 of myVariable into myVariable --remove quotes > > you'll probably want to do another 'do' to run this AppleScript to > close the > document > > tell application "TextEdit" > close document 1 > --or if your finished with TextEdit > quit > --you will be prompted to save if there are any unsaved docs > end tell > > Now to go and celebrate with some really loud Stevie Ray > Vaughn...The house > is a rockin' so don't bother knockin' > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at comcast.net Sat Feb 23 16:04:27 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Sat, 23 Feb 2008 16:04:27 -0500 Subject: [ANN] Multi-Browser pre-alpha test release Message-ID: I am releasing Multi-Browser, a Research tool for doing multiple web browsing in one window developed with Revolution as a public pre-Alpha release. I would appreciate any feedback from other Revolution developers. Please email me with comments and suggestions. There is more information on the website concerning this release and features in it. Also there is a limited feature web version there as well. This is a Revolution stack so you must have Revolution installed. http://www.lazyriversoftware.com/multibrowser.html Thomas J McGrath III 3mcgrath at comcast.net Lazy River Software - http://www.lazyriversoftware.com From JimAultWins at yahoo.com Sat Feb 23 17:25:31 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 23 Feb 2008 14:25:31 -0800 Subject: Extracting text from PDF In-Reply-To: Message-ID: On 2/23/08 12:23 PM, "Thomas McGrath III" <3mcgrath at comcast.net> wrote: >> If you use the do as OSALanguageName form, any result returned by >> the script >> language is placed in the result. > >> ANY result from AppleScript will be placed in Rev's 'the result' > That was an awesome reveal. > > I wonder where else that would work. Safari ??? Yes, Safari. In fact, you can use the Applescript construct to do Javascript tell app "Safari" tell document 1 to do Javascript whateverYouLike end tell Such as a short cut in the header that toggles the window size. Just set the url in the properties to do this.. but I cannot remember the exact syntax. I use the result from Applescript in a couple of screen-scraping apps since altBrowser would not handle the security setup of the host servers. Safari did the certs, etc fine and this also allowed the use of some Javascript functions. By the way, does anyone know how to install just Safari and not a new operating system on OSX? I use Firefox, and I deleted the Safari folder when it began to sever up blank pages no matter the url (even local files). the software update does not do this. Hope your Rev-Applescript-other app travels go well. One note about the IDE and receiving Apple events. I was able to reproduce a bug (also reported it but it could not be reproduced). Recipe: make a stack script handler to trap the appleevent message, switch to the browse tool, then send from another program (eg Excel). This works. Now send more messages from Excel and they produce nothing. In Rev, change to the pointer tool, then back to the browse tool, and success... but only once. The bug was not reproduced, but then I may be the only one who experienced this. Jim Ault Las Vegas From ambassador at fourthworld.com Sat Feb 23 17:47:58 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 23 Feb 2008 14:47:58 -0800 Subject: Extracting text from PDF Message-ID: <47C0A29E.1040906@fourthworld.com> Kay C Lan wrote: > use the launch command to force a pdf to open with TextEdit > > use do to run this AppleScript: > > tell application "TextEdit" > set tText to the text of document 1 > end tell Maybe this is another Leopard thang, I dunno, I haven't set up my test stack for this yet, but in Tiger I can't get Text Edit to open a PDF in any meaningful way; that is, it just shows the raw PDF data but doesn't render it. So my question is whether TextEdit renders PDFs normally in Leopard, or if the behavior is the same as under Tiger then how does the "launch" command differ from dropping a file on the app's Dock icon? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Sat Feb 23 17:53:29 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 23 Feb 2008 14:53:29 -0800 Subject: RunRev for iPhone and iPod Touch Message-ID: <47C0A3E9.4050002@fourthworld.com> Bj?rnke von Gierke wrote: > On 23 Feb 2008, at 02:27, Richard Gaskin wrote: > >> Suppose you want to display records from a database in a multi- >> column list field. You'll want to keep track of the ID field, but >> that's just noise to the end-user so you don't want to display it. >> >> Currently, you'd have to parse out that column and store it in a >> separate field. When the user clicks on a line in the list, you >> look up the corresponding line in the ID field to do whatever you >> need to do with that record. >> >> But then you want to sort the list. So you have to recombine the ID >> field with the rest of the list contents, do the sort, then parse >> them apart again for display. >> >> Ugh. > > Not to say this isn't a nice feature request, but removing or adding > columns isn't exactly the rocket science you make it out to be. Never said it was. Not sure what that's about, unless "Ugh" is some acronym for the European Space Agency. ;) I just said it was inconvenient, and not the sort of thing I want to spent time teaching, nor presumably how RunRev would like to see potential new corporate adoptees spend their time learning. > For example: > > on mouseUp > put 1 into doNotWantColumn > put 2 into sortByThisColumn > put the data of field 1 into theData > sort theData by item sortByThisColumn of each > split theData by column > delete variable theData[doNotWantColumn] > combine theData by column > put theData into field 1 > end mouseUp > > Obviously not as simple as not showing a column in the field, and less > memory efficient too, but on the plus side this is available now, and > most likely faster then a modified field object (everything that has > to do with fields is slow). I think it would actually be the same or slower since it touches the field data twice and requires split and combine, which are computationally intensive on large data sets. But moreover, your handler does something so very different from the example I gave above that I'm not sure how it's relevant here. While three of us have explained the value of preserving data and just hiding it from display, if I read your handler correctly it completely deletes the column altogether. If the data in this hidden columns were IDs, such as in the example I gave, preserving them would be critical to using the visible data in the field. For performance and convenience, compare your handler to what I and the others here are proposing with zero-width columns: on mouseUp sort lines of field 1 by item 2 of each end mouseUp With this proposed method we touch the field data no more than yours, but most importantly we're preserving all of the data. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From sarah.reichelt at gmail.com Sat Feb 23 18:00:51 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 24 Feb 2008 09:00:51 +1000 Subject: RunRev for iPhone and iPod Touch In-Reply-To: <47BF4C15.2070106@fourthworld.com> References: <47BF4C15.2070106@fourthworld.com> Message-ID: Getting to this thread a bit late... > > A Windows mobile version of Rev would be great (hey I think I even voted for > > one in BugZilla about three years ago) but if I could only have one mobile > > Rev platform then it would be for the iPhone/iPod Touch. These are the first > > handheld devices that I've seen that, IMHO, have real potential in the > > education sector. PDAs, whether Windows powered or not, have never taken off > > among students but these just might! I couldn't agree more Terry. The phone manufacturers cannot understand the lure of the iPhone and don't get the importance of the user experience where features are very similar. The same with handhelds - the iPhone/iPod touch make using this sort of device so much easier and more pleasant, that I reckon such things are finally going to become mainstream. > It's a tough call. The iPhone has captured some healthy mindshare, but > like the Mac GUI it won't be long before its gestures (and more) are > simply industry standard. > > And for the other capabilities, competing vendors don't have far to go. > I got a Palm Centro for my gal, and it's quite a powerful little > device. And I have to say I prefer the tactile response of a fixed > keypad over the where-did-I-just-press? virtual keypad of the iPhone. > And ideal device may be more like the Sidekick: usable physical keypad > with large screen display. Add gestures and it's an iPhone-killer. > Richard, a lot of the people who say they don't like the iPhone keyboard are won over as soon as they actually use one. Have you played with one? I have used handhelds with keyboards and I find the iPod touch/iPhone keyboard to be enormously easier to use and more accurate. Even typing passwords is easy as the feedback for which button you are pressing is immediate and obvious. As regards a Rev port, while I would love to se it happen, and hope that the iPhone's version of OS X is similar enough to the full thing to make such a port relatively easy, I agree that RunRev should concentrate on the desktop version for now. Meanwhile I am hoping to learn enough from RevOnRockets to be able to make some simple web apps. I have already tailored some Rev-created & updated web pages to suit but I would love to be able to make these pages more interactive. Cheers, Sarah From sarah.reichelt at gmail.com Sat Feb 23 18:11:40 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 24 Feb 2008 09:11:40 +1000 Subject: Extracting text from PDF In-Reply-To: <47C0A29E.1040906@fourthworld.com> References: <47C0A29E.1040906@fourthworld.com> Message-ID: On Sun, Feb 24, 2008 at 8:47 AM, Richard Gaskin wrote: > Kay C Lan wrote: > > use the launch command to force a pdf to open with TextEdit > > > > use do to run this AppleScript: > > > > tell application "TextEdit" > > set tText to the text of document 1 > > end tell > > Maybe this is another Leopard thang, I dunno, I haven't set up my test > stack for this yet, but in Tiger I can't get Text Edit to open a PDF in > any meaningful way; that is, it just shows the raw PDF data but doesn't > render it. > > So my question is whether TextEdit renders PDFs normally in Leopard, or > if the behavior is the same as under Tiger then how does the "launch" > command differ from dropping a file on the app's Dock icon? > Well I am using Leopard and I get the same as Richard, just a whole heap of binary garbage. What's the trick Kay? Sarah From jacque at hyperactivesw.com Sat Feb 23 18:43:57 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 23 Feb 2008 17:43:57 -0600 Subject: Extracting text from PDF In-Reply-To: <47C0A29E.1040906@fourthworld.com> References: <47C0A29E.1040906@fourthworld.com> Message-ID: <47C0AFBD.5020106@hyperactivesw.com> Richard Gaskin wrote: > Kay C Lan wrote: >> use the launch command to force a pdf to open with TextEdit >> >> use do to run this AppleScript: >> >> tell application "TextEdit" >> set tText to the text of document 1 >> end tell > > Maybe this is another Leopard thang, I dunno, I haven't set up my test > stack for this yet, but in Tiger I can't get Text Edit to open a PDF in > any meaningful way; that is, it just shows the raw PDF data but doesn't > render it. > > So my question is whether TextEdit renders PDFs normally in Leopard, or > if the behavior is the same as under Tiger then how does the "launch" > command differ from dropping a file on the app's Dock icon? Do you have the PDF2RTF service installed? It's required. It's working for me in Tiger. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From JimAultWins at yahoo.com Sat Feb 23 18:51:59 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 23 Feb 2008 15:51:59 -0800 Subject: Extracting text from PDF In-Reply-To: <47C0A29E.1040906@fourthworld.com> Message-ID: On 2/23/08 2:47 PM, "Richard Gaskin" wrote: > Kay C Lan wrote: >> use the launch command to force a pdf to open with TextEdit >> >> use do to run this AppleScript: >> >> tell application "TextEdit" >> set tText to the text of document 1 >> end tell > > Maybe this is another Leopard thang, I dunno, I haven't set up my test > stack for this yet, but in Tiger I can't get Text Edit to open a PDF in > any meaningful way; that is, it just shows the raw PDF data but doesn't > render it. > > So my question is whether TextEdit renders PDFs normally in Leopard, or > if the behavior is the same as under Tiger then how does the "launch" > command differ from dropping a file on the app's Dock icon? Preview opens a PDF file, but is not directly Applescriptable, and then using System Events is fairly difficult and time consuming. You could open Preview, select all, copy to get the text for all the pages. There must be a way to use system events to do the same thing. Also, you could download a trial 30 days of Acrobat Professional and then Applescript. Have not done this before. Jim Ault Las Vegas From sarah.reichelt at gmail.com Sat Feb 23 18:54:56 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 24 Feb 2008 09:54:56 +1000 Subject: Extracting text from PDF In-Reply-To: <47C0AFBD.5020106@hyperactivesw.com> References: <47C0A29E.1040906@fourthworld.com> <47C0AFBD.5020106@hyperactivesw.com> Message-ID: On Sun, Feb 24, 2008 at 9:43 AM, J. Landman Gay wrote: > Richard Gaskin wrote: > > Kay C Lan wrote: > >> use the launch command to force a pdf to open with TextEdit > >> > >> use do to run this AppleScript: > >> > >> tell application "TextEdit" > >> set tText to the text of document 1 > >> end tell > > > > Maybe this is another Leopard thang, I dunno, I haven't set up my test > > stack for this yet, but in Tiger I can't get Text Edit to open a PDF in > > any meaningful way; that is, it just shows the raw PDF data but doesn't > > render it. > > > > So my question is whether TextEdit renders PDFs normally in Leopard, or > > if the behavior is the same as under Tiger then how does the "launch" > > command differ from dropping a file on the app's Dock icon? > > Do you have the PDF2RTF service installed? It's required. It's working > for me in Tiger. Aaah, THAT'S the trick. Thanks Jacque. Sarah From ambassador at fourthworld.com Sat Feb 23 19:07:03 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 23 Feb 2008 16:07:03 -0800 Subject: RunRev for iPhone and iPod Touch Message-ID: <47C0B527.4060706@fourthworld.com> Sarah Reichelt wrote: > Richard, a lot of the people who say they don't like the iPhone > keyboard are won over as soon as they actually use one. In my case it was the other way around. After all, it's rare that Apple does something as completely baseless as the hockey-puck mouse, so I was predisposed to thinking the virtual keyboard would be easy to use. That is, until I used it. Not having any tactile feedback on such tiny target areas makes it very hard to get used to, and I hear this complaint from about half the iPhone owners I know, including some with rather tiny hands, so we can rule out hand-size being the determiner for this. I'm not claiming my tiny sample of anecdotal input says much one way or another. Simply to answer your question, I find tactile feedback very useful, and miss it in the iPod. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From bvg at mac.com Sat Feb 23 19:21:34 2008 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 24 Feb 2008 01:21:34 +0100 Subject: RunRev for iPhone and iPod Touch In-Reply-To: <47C0A3E9.4050002@fourthworld.com> References: <47C0A3E9.4050002@fourthworld.com> Message-ID: You complain that my handler deletes the data, so it seems I wasn't clear enough. Obviously there's a custom property, called "data". This is what you use to show later parts of, or sorted stuff of, in the field. That is why I said "less memory efficient", because there's an additional property containing all the data. Sure, dividing the presentation from the actual data is much more work then having both in one, but it also gives you more control. Again I'm not against having all the data in a field, and I never claimed my way of doubling everything in a cprop is simpler. But no matter if runrev agrees that your proposal is a nice thing to have or not, it isn't available now. Also: You need to add a "set the itemDelimiter to tab" line for my example code to actually work. have FUN (extra caps for extra fun) Bj?rnke On 23 Feb 2008, at 23:53, Richard Gaskin wrote: > Never said it was. Not sure what that's about, unless "Ugh" is some > acronym for the European Space Agency. ;) > > I just said it was inconvenient, and not the sort of thing I want to > spent time teaching, nor presumably how RunRev would like to see > potential new corporate adoptees spend their time learning. > >> For example: >> on mouseUp >> put 1 into doNotWantColumn >> put 2 into sortByThisColumn >> put the data of field 1 into theData >> sort theData by item sortByThisColumn of each >> split theData by column >> delete variable theData[doNotWantColumn] >> combine theData by column >> put theData into field 1 >> end mouseUp >> >> Obviously not as simple as not showing a column in the field, and >> less memory efficient too, but on the plus side this is available >> now, and most likely faster then a modified field object >> (everything that has to do with fields is slow). > But moreover, your handler does something so very different from the > example I gave above that I'm not sure how it's relevant here. While > three of us have explained the value of preserving data and just > hiding it from display, if I read your handler correctly it > completely deletes the column altogether. > For performance and convenience, compare your handler to what I and > the > others here are proposing with zero-width columns: > > on mouseUp > sort lines of field 1 by item 2 of each > end mouseUp -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From stephenREVOLUTION2 at barncard.com Sat Feb 23 19:56:11 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Sat, 23 Feb 2008 16:56:11 -0800 Subject: Extracting text from PDF In-Reply-To: <47C0A29E.1040906@fourthworld.com> References: <47C0A29E.1040906@fourthworld.com> Message-ID: Works perfectly for me, Richard 10.5.2 >Maybe this is another Leopard thang, I dunno, I haven't set up my >test stack for this yet, but in Tiger I can't get Text Edit to open >a PDF in any meaningful way; that is, it just shows the raw PDF data >but doesn't render it. > >So my question is whether TextEdit renders PDFs normally in Leopard, >or if the behavior is the same as under Tiger then how does the >"launch" command differ from dropping a file on the app's Dock icon? > >-- > Richard Gaskin -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From luis at anachreon.co.uk Sat Feb 23 20:59:07 2008 From: luis at anachreon.co.uk (Luis) Date: Sun, 24 Feb 2008 01:59:07 +0000 Subject: Extracting text from PDF In-Reply-To: References: Message-ID: <47C0CF6B.8010802@anachreon.co.uk> Hiya, Been there, done that... :) Best tool for the job: Pacifist from http://www.charlessoft.com/ Download the latest OS X update (or the one containing Safari v3) direct from the Apple site, run Pacifist over it and slide Safari out of the update package. Cheers, Luis. Jim Ault wrote: > By the way, does anyone know how to install just Safari and not a new > operating system on OSX? I use Firefox, and I deleted the Safari folder > when it began to sever up blank pages no matter the url (even local files). > the software update does not do this. > > Jim Ault > Las Vegas > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From luis at anachreon.co.uk Sat Feb 23 21:10:18 2008 From: luis at anachreon.co.uk (Luis) Date: Sun, 24 Feb 2008 02:10:18 +0000 Subject: RunRev for iPhone and iPod Touch In-Reply-To: <47C0B527.4060706@fourthworld.com> References: <47C0B527.4060706@fourthworld.com> Message-ID: <47C0D20A.2020403@anachreon.co.uk> Just stick some bubble-wrap over the screen! Cheers, Luis. Richard Gaskin wrote: > Sarah Reichelt wrote: >> Richard, a lot of the people who say they don't like the iPhone >> keyboard are won over as soon as they actually use one. > > In my case it was the other way around. After all, it's rare that Apple > does something as completely baseless as the hockey-puck mouse, so I was > predisposed to thinking the virtual keyboard would be easy to use. > > That is, until I used it. > > Not having any tactile feedback on such tiny target areas makes it very > hard to get used to, and I hear this complaint from about half the > iPhone owners I know, including some with rather tiny hands, so we can > rule out hand-size being the determiner for this. > > I'm not claiming my tiny sample of anecdotal input says much one way or > another. Simply to answer your question, I find tactile feedback very > useful, and miss it in the iPod. > From ambassador at fourthworld.com Sat Feb 23 21:37:46 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 23 Feb 2008 18:37:46 -0800 Subject: RunRev for iPhone and iPod Touch Message-ID: <47C0D87A.5040800@fourthworld.com> Bj?rnke von Gierke wrote: > You complain that my handler deletes the data, so it seems I wasn't > clear enough. Obviously there's a custom property, called "data". This > is what you use to show later parts of, or sorted stuff of, in the > field. That is why I said "less memory efficient", because there's an > additional property containing all the data. Sure, dividing the > presentation from the actual data is much more work then having both > in one, but it also gives you more control. True, but if the object the data is stored in is part of the UI doesn't it obviate many of the benefits of such separation? And if the data is already stored in a database or other file then that's just an extra copy. But storage aside, if we delete the ID field from the record before we display it how do we know which record the user clicks on? So in addition to adding the line of code about the itemdel, we need to add another which stores the sorted list back into the property before stripping out stuff for display, so we can later look it up in response to clicks. Doable, yes, but requires a bit of forethought, strategy, and time. > Again I'm not against having all the data in a field, and I never > claimed my way of doubling everything in a cprop is simpler. But no > matter if runrev agrees that your proposal is a nice thing to have or > not, it isn't available now. As one who generally shares your interest here in focusing on immediate solutions, I appreciate your help with the scripting. But stepping back to the original context of this thread, this was a conversation about relative ROI of proposed features, and this admittedly tiny feature of zero-width columns was presented in conjunction with independent column alignment. The column alignment is absolutely critical for broad adoption in business environments. And fortunately the good folks at RunRev have previously acknowledged the importance of independent column alignment. Extra bonus points that when they find themselves diving deep into the field object to make that happen, they'll be in a position to add zero-width columns for very little additional effort. Like Linux support, this zero-width-column thang is a feature that, if well-timed, has an unusually high ROI because it has such an uncommonly low cost. And to bring all this back to the iPhone, if the API presents a very low cost to port then of course it should be pursued at whatever point in the priority list where its ROI ranking would put it. But the iPhone is not a Mac, and I suspect there will be many differences in how apps must be built for each. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From sarah.reichelt at gmail.com Sun Feb 24 02:11:57 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 24 Feb 2008 17:11:57 +1000 Subject: Rev blog Message-ID: Hi everyone, I wanted to experiment with creating a blog and what better subject than our favourite development tool :-) Please have a look at my new Rev blog at . Feel free to leave comments, ask questions or suggest articles. I hope to create a reasonably active blog with new entries every couple of days. Cheers, Sarah From pepetoo at cox.net Sun Feb 24 03:23:16 2008 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sun, 24 Feb 2008 00:23:16 -0800 Subject: Rev blog In-Reply-To: References: Message-ID: Hi Sarah, I think one important clarification should be added to the description of the 3 versions of Revolution on your Rev Blog, being: that the Media version does NOT allow the user to convert HyperCard stacks to Revolution stacks. Thanks, Joe Wilkins On Feb 23, 2008, at 11:11 PM, Sarah Reichelt wrote: > Hi everyone, > > I wanted to experiment with creating a blog and what better subject > than our favourite development tool :-) Please have a look at my new > Rev blog at . Feel free to leave > comments, ask questions or suggest articles. I hope to create a > reasonably active blog with new entries every couple of days. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution Joe Lewis Wilkins pepetoo at cox.net From sarah.reichelt at gmail.com Sun Feb 24 03:51:10 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 24 Feb 2008 18:51:10 +1000 Subject: Rev blog In-Reply-To: References: Message-ID: Thanks Joe, I didn't know that, but I will add it right away. Cheers, Sarah On Sun, Feb 24, 2008 at 6:23 PM, Joe Lewis Wilkins wrote: > Hi Sarah, > > I think one important clarification should be added to the description > of the 3 versions of Revolution on your Rev Blog, being: that the > Media version does NOT allow the user to convert HyperCard stacks to > Revolution stacks. > > Thanks, > > Joe Wilkins > > > > On Feb 23, 2008, at 11:11 PM, Sarah Reichelt wrote: > > > Hi everyone, > > > > I wanted to experiment with creating a blog and what better subject > > than our favourite development tool :-) Please have a look at my new > > Rev blog at . Feel free to leave > > comments, ask questions or suggest articles. I hope to create a > > reasonably active blog with new entries every couple of days. > > > > Cheers, > > Sarah > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > Joe Lewis Wilkins > pepetoo at cox.net > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From viktoras at ekoinf.net Sun Feb 24 08:01:53 2008 From: viktoras at ekoinf.net (viktoras didziulis) Date: Sun, 24 Feb 2008 15:01:53 +0200 Subject: OT: New threat to our way of life: giant pythons In-Reply-To: References: Message-ID: <47C16AC1.7070406@ekoinf.net> Hi Mark, invasive alien species are an increasing problem globally. Species that were introduced deliberately or accidentally into new areas now have more chances to adopt and survive also because of the global climate change. Not all species are as bad, some are endangered, but some are nasty indeed causing damage to natural ecosystems, human health or economies. For example there are around 10 000 species like this in Europe that counts to 45 000 distinct introduction events. If you are interested in this topic you can visit www.europe-aliens.org and take a look at the poster presented in the conference "Biological invasions in Europe and the DAISIE initiative - current threats and future perspectives" at http://ekoinf.net/daisie/poster_easd_overview.ppt, ~3 Mb. Actually this is not a big OT, because Revolution was used extensively and intensively to create the European Alien Species Database and data exploration tools to be released for public access in 2009 (database is still being polished, besides scientists wanted to make all their relevant publications before the database content is completely exposed). I will be taking that poster to at least 3 other conferences, so Revolution will get its exposure there too :-). Some facts on the best known aliens... Freshwater bivalve mollusk Dreisenna polymorpha caused huge losses in the USA by clogging water intake/release pipes and other submerged structures in Great Lakes. A tiny crustacean Cercopagis pengoi upon its arrival to the Baltic sea caused what was called "nets plaque" nearly destroying marine coastal fishery business in a few European countries at the turn of XX / XXI centuries. Xilophagous mollusk Teredo navalis destroyed nearly all wooden constructions in San Francisco bay in the beginning of XX century causing loses as high as 200 000 000 dollars in just one year. And very recently documented new invader Mnemiopsis leyidyi is a major threat to fish resources in the Baltic sea, because it preys upon juvenile fish and has no natural enemies. This really beautiful creature already caused collapse of fisheries when it invaded the Black sea some time ago. More facts (from other projects): http://www.nobanis.org/files/factsheets/Teredo_navalis.pdf http://www.nobanis.org/files/factsheets/cercopagis_pengoi.pdf http://www.nobanis.org/files/factsheets/Craspedacusta_sowerbyi.pdf http://www.nobanis.org/files/factsheets/Anguilicola_crassus.pdf http://www.nobanis.org/files/factsheets/Marenzelleria_neglecta.pdf http://www.nobanis.org/files/factsheets/Heracleum%20sosnowskyi.pdf and some videos (not mine): http://www.youtube.com/watch?v=eVWpdVhY4Bs&feature=related http://www.youtube.com/watch?v=2mi5NPbKLcQ&feature=related All the best! Viktoras Mark Wieder wrote: > No on-topic content, but it's Friday on my planet and I just had to share > this gem: > > http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2008/02/21/MNABV5PP3.DTL > > From capellan2000 at yahoo.com Sun Feb 24 11:28:03 2008 From: capellan2000 at yahoo.com (capellan) Date: Sun, 24 Feb 2008 08:28:03 -0800 (PST) Subject: [ANN] Multi-Browser pre-alpha test release In-Reply-To: References: Message-ID: <15665987.post@talk.nabble.com> Hi Thomas, Here, in a Windows XP box, the web browsers works great. Tested with StackRunner 1.7, but does not work inside RR 2.8.1. Notice that web browser window have a fixed size, so it?s difficult to use in smaller screen sizes like 1024x768. alejandro -- View this message in context: http://www.nabble.com/-ANN--Multi-Browser-pre-alpha-test-release-tp15657282p15665987.html Sent from the Revolution - User mailing list archive at Nabble.com. From 3mcgrath at comcast.net Sun Feb 24 11:53:09 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Sun, 24 Feb 2008 11:53:09 -0500 Subject: [ANN] Multi-Browser pre-alpha test release In-Reply-To: <15665987.post@talk.nabble.com> References: <15665987.post@talk.nabble.com> Message-ID: <90F718A8-7BB1-4AE5-B1C5-EF13D12C5699@comcast.net> Thanks Alejandro, The Win XP issue might be because I was using RR 2.9 (beta). I am having problems with 2.9 anyway so I think I will open this stack in 2.8.1 and see if it has the same problems and then upload a new stack. Also, I am working now on the resizing of the windows since I made them so large here on my 23" display. (grin) The contents of the browser windows when resizing seem to create problems but I am digging deep to see about fixes. Thanks for the alpha look. I will notify on update. Thanks again, Tom On Feb 24, 2008, at 11:28 AM, capellan wrote: > > Hi Thomas, > > Here, in a Windows XP box, the web browsers works great. > Tested with StackRunner 1.7, but does not work inside RR 2.8.1. > > Notice that web browser window have a fixed size, so it?s difficult to > use in smaller screen sizes like 1024x768. > > alejandro From jrvalent at wisc.edu Sun Feb 24 12:27:10 2008 From: jrvalent at wisc.edu (rand valentine) Date: Sun, 24 Feb 2008 11:27:10 -0600 Subject: Weird Behavior Message-ID: I'm using Studio version 2.8.1 on an intel Mac running Leopard (10.5.2). Also running Galaxy and GL2. I'm getting weird behavior that I don't understand. An object is recognized for some things but not others. For example, in the following script, which simply clears a field: ON mouseUp IF fld "notes_note" is not empty THEN answer "Really clear?" with "Cancel" OR "Yes" IF it is "Yes" THEN put empty into fld "notes_note" -- "notes_note" END IF ELSE answer "The note field is already empty." END IF END mouseUp In running the script, field "notes_note" is recognized in the IF statement, but I get an error message "Chunk: no such object" when I run the script, at the line that says "put empty into fld "notes_note". Anyone know what's up? It seems to happen when I put a field into a group, more than at other times. rand valentine From 3mcgrath at comcast.net Sun Feb 24 12:31:09 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Sun, 24 Feb 2008 12:31:09 -0500 Subject: [ANN] Multi-Browser pre-alpha test release In-Reply-To: <15665987.post@talk.nabble.com> References: <15665987.post@talk.nabble.com> Message-ID: I have saved a new version in RR 2.8.1 to see if it will open in RR on Win XP: http://www.lazyriversoftware.com/multibrowser.html Or you can try to open this from the message box within RR. go URL "http://www.lazyriversoftware.com/MultiBrowser.rev" I hope this works. Tom On Feb 24, 2008, at 11:28 AM, capellan wrote: > > Hi Thomas, > > Here, in a Windows XP box, the web browsers works great. > Tested with StackRunner 1.7, but does not work inside RR 2.8.1. > > Notice that web browser window have a fixed size, so it?s difficult to > use in smaller screen sizes like 1024x768. > > alejandro From ambassador at fourthworld.com Sun Feb 24 12:33:40 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 24 Feb 2008 09:33:40 -0800 Subject: Weird Behavior Message-ID: <47C1AA74.3050904@fourthworld.com> rand valentine wrote: > I'm using Studio version 2.8.1 on an intel Mac running Leopard (10.5.2). > Also running Galaxy and GL2. I'm getting weird behavior that I don't > understand. An object is recognized for some things but not others. For > example, in the following script, which simply clears a field: > > ON mouseUp > IF fld "notes_note" is not empty THEN > answer "Really clear?" with "Cancel" OR "Yes" > IF it is "Yes" THEN > put empty into fld "notes_note" -- "notes_note" > END IF > ELSE > answer "The note field is already empty." > END IF > END mouseUp > > In running the script, field "notes_note" is recognized in the IF > statement, but I get an error message "Chunk: no such object" when I run the > script, at the line that says "put empty into fld "notes_note". Anyone know > what's up? It seems to happen when I put a field into a group, more than at > other times. I remember seeing some discussion of circumstances in which the ask and answer dialogs would alter the execution context, resulting in the symptoms you describe. Whether that's happening here I can't say; I don't recall the specifics. Anyone here know more about the ask/answer context issue, and whether that may be the culprit here? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From 3mcgrath at comcast.net Sun Feb 24 12:34:35 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Sun, 24 Feb 2008 12:34:35 -0500 Subject: Weird Behavior In-Reply-To: References: Message-ID: <21A2C935-D4BA-4E49-BEBD-BA6657931162@comcast.net> Try adding the grp name when in a group > ON mouseUp > IF fld "notes_note" is not empty THEN > answer "Really clear?" with "Cancel" OR "Yes" > IF it is "Yes" THEN put empty into fld "notes_note" of grp "theGroupNameGoesHere" > END IF > END mouseUp HTHs Tom McGrath On Feb 24, 2008, at 12:27 PM, rand valentine wrote: > I'm using Studio version 2.8.1 on an intel Mac running Leopard > (10.5.2). > Also running Galaxy and GL2. I'm getting weird behavior that I don't > understand. An object is recognized for some things but not others. > For > example, in the following script, which simply clears a field: > > ON mouseUp > IF fld "notes_note" is not empty THEN > answer "Really clear?" with "Cancel" OR "Yes" > IF it is "Yes" THEN > put empty into fld "notes_note" -- "notes_note" > END IF > ELSE > answer "The note field is already empty." > END IF > END mouseUp > > In running the script, field "notes_note" is recognized in the IF > statement, but I get an error message "Chunk: no such object" when I > run the > script, at the line that says "put empty into fld "notes_note". > Anyone know > what's up? It seems to happen when I put a field into a group, more > than at > other times. > > rand valentine > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jrvalent at wisc.edu Sun Feb 24 12:40:10 2008 From: jrvalent at wisc.edu (rand valentine) Date: Sun, 24 Feb 2008 11:40:10 -0600 Subject: re; weird behavior Message-ID: > I'm using Studio version 2.8.1 on an intel Mac running Leopard (10.5.2). > Also running Galaxy and GL2. I'm getting weird behavior that I don't > understand. An object is recognized for some things but not others. For > example, in the following script, which simply clears a field: > > ON mouseUp > IF fld "notes_note" is not empty THEN > answer "Really clear?" with "Cancel" OR "Yes" > IF it is "Yes" THEN > put empty into fld "notes_note" -- "notes_note" > END IF > ELSE > answer "The note field is already empty." > END IF > END mouseUp > > In running the script, field "notes_note" is recognized in the IF > statement, but I get an error message "Chunk: no such object" when I run the > script, at the line that says "put empty into fld "notes_note". Anyone know > what's up? It seems to happen when I put a field into a group, more than at > other times. I remember seeing some discussion of circumstances in which the ask and answer dialogs would alter the execution context, resulting in the symptoms you describe. Whether that's happening here I can't say; I don't recall the specifics. Anyone here know more about the ask/answer context issue, and whether that may be the culprit here? -- Yes, if I remove the answer dialogue, then the script runs just fine. How does one get around this bug? rv From ambassador at fourthworld.com Sun Feb 24 12:57:22 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 24 Feb 2008 09:57:22 -0800 Subject: re; weird behavior Message-ID: <47C1B002.7030908@fourthworld.com> rand valentine wrote: >> I'm using Studio version 2.8.1 on an intel Mac running Leopard (10.5.2). >> Also running Galaxy and GL2. I'm getting weird behavior that I don't >> understand. An object is recognized for some things but not others. For >> example, in the following script, which simply clears a field: >> >> ON mouseUp >> IF fld "notes_note" is not empty THEN >> answer "Really clear?" with "Cancel" OR "Yes" >> IF it is "Yes" THEN >> put empty into fld "notes_note" -- "notes_note" >> END IF >> ELSE >> answer "The note field is already empty." >> END IF >> END mouseUp >> >> In running the script, field "notes_note" is recognized in the IF >> statement, but I get an error message "Chunk: no such object" when I run the >> script, at the line that says "put empty into fld "notes_note". Anyone know >> what's up? It seems to happen when I put a field into a group, more than at >> other times. > > I remember seeing some discussion of circumstances in which the ask and > answer dialogs would alter the execution context, resulting in the > symptoms you describe. > > Whether that's happening here I can't say; I don't recall the specifics. > > Anyone here know more about the ask/answer context issue, and whether > that may be the culprit here? > > -- > > Yes, if I remove the answer dialogue, then the script runs just fine. How > does one get around this bug? For now: put the defaultStack into tSaveStack answer "Really clear?" with "Cancel" OR "Yes" put it into tVal set the defaultStack to tSaveStack IF tVal is "Yes" THEN put empty into fld "notes_note" -- "notes_note" END IF For all mankind: It's really kinda dumb if we need to save and restore the defaultStack for ask/answer dialogs. Does anyone here know the RQQC# for this issue, and has it been confirmed fixed as of v2.9DP4? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From jrvalent at wisc.edu Sun Feb 24 13:31:16 2008 From: jrvalent at wisc.edu (rand valentine) Date: Sun, 24 Feb 2008 12:31:16 -0600 Subject: weird behavior Message-ID: >> Yes, if I remove the answer dialogue, then the script runs just fine. How >> does one get around this bug? > > For now: > > put the defaultStack into tSaveStack > answer "Really clear?" with "Cancel" OR "Yes" > put it into tVal > set the defaultStack to tSaveStack > IF tVal is "Yes" THEN > put empty into fld "notes_note" -- "notes_note" > END IF > > > For all mankind: > > It's really kinda dumb if we need to save and restore the defaultStack > for ask/answer dialogs. Does anyone here know the RQQC# for this issue, > and has it been confirmed fixed as of v2.9DP4? > The "for now" script offered above solves the problem. And also, I notice that things work fine in StackRunner, without saving the defaultStack in the script. Thanks. rv From ambassador at fourthworld.com Sun Feb 24 13:49:09 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 24 Feb 2008 10:49:09 -0800 Subject: weird behavior Message-ID: <47C1BC25.30407@fourthworld.com> rand valentine wrote: >>> Yes, if I remove the answer dialogue, then the script runs just fine. How >>> does one get around this bug? >> >> For now: >> >> put the defaultStack into tSaveStack >> answer "Really clear?" with "Cancel" OR "Yes" >> put it into tVal >> set the defaultStack to tSaveStack >> IF tVal is "Yes" THEN >> put empty into fld "notes_note" -- "notes_note" >> END IF >> >> >> For all mankind: >> >> It's really kinda dumb if we need to save and restore the defaultStack >> for ask/answer dialogs. Does anyone here know the RQQC# for this issue, >> and has it been confirmed fixed as of v2.9DP4? >> > > The "for now" script offered above solves the problem. And also, I notice > that things work fine in StackRunner, without saving the defaultStack in the > script. Thanks. Good to know. Now we just need to determine if the difference between SR and Rev is the engine or the dialogs. Which version of SR are you running? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From mdswindell at cruzio.com Sun Feb 24 13:53:23 2008 From: mdswindell at cruzio.com (Mark Swindell) Date: Sun, 24 Feb 2008 10:53:23 -0800 Subject: Weird Behavior In-Reply-To: <21A2C935-D4BA-4E49-BEBD-BA6657931162@comcast.net> References: <21A2C935-D4BA-4E49-BEBD-BA6657931162@comcast.net> Message-ID: I've taken to doing Tom's suggestion all the time (adding the group name) and it seems to keep things moving along for me. Mark On Feb 24, 2008, at 9:34 AM, Thomas McGrath III wrote: > Try adding the grp name when in a group > >> ON mouseUp >> IF fld "notes_note" is not empty THEN >> answer "Really clear?" with "Cancel" OR "Yes" >> IF it is "Yes" THEN > > > put empty into fld "notes_note" of grp "theGroupNameGoesHere" > >> END IF >> END mouseUp > > > > HTHs > > Tom McGrath > > On Feb 24, 2008, at 12:27 PM, rand valentine wrote: > >> I'm using Studio version 2.8.1 on an intel Mac running Leopard >> (10.5.2). >> Also running Galaxy and GL2. I'm getting weird behavior that I don't >> understand. An object is recognized for some things but not others. >> For >> example, in the following script, which simply clears a field: >> >> ON mouseUp >> IF fld "notes_note" is not empty THEN >> answer "Really clear?" with "Cancel" OR "Yes" >> IF it is "Yes" THEN >> put empty into fld "notes_note" -- "notes_note" >> END IF >> ELSE >> answer "The note field is already empty." >> END IF >> END mouseUp >> >> In running the script, field "notes_note" is recognized in the IF >> statement, but I get an error message "Chunk: no such object" when >> I run the >> script, at the line that says "put empty into fld "notes_note". >> Anyone know >> what's up? It seems to happen when I put a field into a group, more >> than at >> other times. >> >> rand valentine >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Thanks, Mark From engleerica at yahoo.com Sun Feb 24 14:17:30 2008 From: engleerica at yahoo.com (Eric A. Engle) Date: Sun, 24 Feb 2008 11:17:30 -0800 (PST) Subject: beta testing 2.9 In-Reply-To: <20080224180005.3206A4897BF@mail.runrev.com> Message-ID: <167980.28071.qm@web65416.mail.ac4.yahoo.com> sorry to nag; am I meant to download 2.9 for beta testing somewhere? Where? I mean, I'm assuming it's got the scriptLimit set to 5 or 10 lines. It's mostly the UI that interests me. Maybe I've misunderstood something? http://lexflex.com free full text online law reviews, cases & legislation ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ From bvg at mac.com Sun Feb 24 14:29:10 2008 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 24 Feb 2008 20:29:10 +0100 Subject: beta testing 2.9 In-Reply-To: <167980.28071.qm@web65416.mail.ac4.yahoo.com> References: <167980.28071.qm@web65416.mail.ac4.yahoo.com> Message-ID: <1426616A-58F9-4170-8C9A-5E1B15B2EB42@mac.com> There seems to be a problem with the beta mailings, namely that they didn't get sent. I assume that somebody who works for RunRev will handle it tomorrow, during business hours. have fun Bj?rnke On 24 Feb 2008, at 20:17, Eric A. Engle wrote: > sorry to nag; am I meant to download 2.9 for beta > testing somewhere? Where? > > I mean, I'm assuming it's got the scriptLimit set to 5 > or 10 lines. It's mostly the UI that interests me. > > Maybe I've misunderstood something? -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From katir at hindu.org Sun Feb 24 16:10:36 2008 From: katir at hindu.org (Sivakatirswami) Date: Sun, 24 Feb 2008 11:10:36 -1000 Subject: OT Recommendations on Midi Keyboard 32-37 key- semi-weighted Message-ID: <47C1DD4C.9000809@hindu.org> We're in the market for a new small USB midi-keyboard. this will be used to "document" simple song tunes... I only need 32-37 keys to get to G below Middle C and E above...that's enough for the average vocal range. I'm interested in anyone's recommendations on brand... not necessarily features: something solid, well built, I look for "trouble free, doesn't break" first... semi-weighted keys preferred. e.g. the Edirol PCR-300 32-Key USB/MIDI Keyboard Controller Korg MicroKontrol 37-Key USB Controller Keyboard look good but are way over kill for my needs as we don't really intend to make music with this thing... I just want to set Garage band to "Bamboo flute" and tap in some simple tunes to nail down melodic lines. I would like to get in at around $150.00 if there's anything in that price range that is decently built. I don't need a wide range of controllers. On the other hand if < $200.00 only buys trouble, we don't want to go there. Email me off list if you have any recommendations for an inexpensive but still solid midi input key board that will work on a Mac with Garage Band... Thanks! Sivakatirswami From capellan2000 at yahoo.com Sun Feb 24 16:30:33 2008 From: capellan2000 at yahoo.com (capellan) Date: Sun, 24 Feb 2008 13:30:33 -0800 (PST) Subject: [ANN] Multi-Browser pre-alpha test release In-Reply-To: References: <15665987.post@talk.nabble.com> Message-ID: <15669629.post@talk.nabble.com> Hi Thomas, This new version works great in RR 2.8.1 and StackRunner 1.7 in Windows XP. When you publish a 1024x768 version, i will test all the features. Keep up your good Work! :-) alejandro -- View this message in context: http://www.nabble.com/-ANN--Multi-Browser-pre-alpha-test-release-tp15657282p15669629.html Sent from the Revolution - User mailing list archive at Nabble.com. From mickclns at mac.com Sun Feb 24 17:27:38 2008 From: mickclns at mac.com (Mick Collins) Date: Sun, 24 Feb 2008 17:27:38 -0500 Subject: Rev Blog Message-ID: <1161026E-3728-4B3B-BEA1-D8FA58647128@mac.com> Hi, Sarah, great idea. I have only one suggestion, based on my confusion when I first read it. Early in the description of Rev you say: Revolution Enterprise is the same as Studio but with access to pre- release versions as well as the ability to develop on multiple platforms (a Studio license allows you to develop on a single platform). I would add something like, in the parentheses, ... single platform, although you can develop FOR multiple platforms) We don't want to turn anyone away who can't afford Enterprise to start, doesn't need to be able to develop on multiple platforms, but does want to DEPLOY on multiple platforms. I realize you say that later, but ... All success! - Mick Message: 20 Date: Sun, 24 Feb 2008 17:11:57 +1000 From: "Sarah Reichelt" Subject: Rev blog To: "How to use Revolution" Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Hi everyone, I wanted to experiment with creating a blog and what better subject than our favourite development tool :-) Please have a look at my new Rev blog at . Feel free to leave comments, ask questions or suggest articles. I hope to create a reasonably active blog with new entries every couple of days. Cheers, Sarah From troy_lists at rpsystems.net Sun Feb 24 18:59:03 2008 From: troy_lists at rpsystems.net (Troy Rollins) Date: Sun, 24 Feb 2008 18:59:03 -0500 Subject: Stop accepting connections? References: <70AE39FB-5E11-4460-8910-A47114A3C88E@rpsystems.net> Message-ID: <50694B97-C1A2-4FA2-B91B-63214990F61C@rpsystems.net> It seems that once I open a socket for connections, I've had problems closing that socket without doing a "resetAll", which I need to avoid. Am I missing something simple? "stop accepting connections" or something? Ideally, I want only 1 connection made. so I was hoping to "accept" until that connection is made, then stop accepting new connections, but maintain the first connection (which resetALL would kill.) TIA for setting me straight on that. -- Troy RPSystems, Ltd. http://www.rpsystems.net From m.schonewille at economy-x-talk.com Sun Feb 24 19:01:49 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 25 Feb 2008 01:01:49 +0100 Subject: Stop accepting connections? In-Reply-To: <50694B97-C1A2-4FA2-B91B-63214990F61C@rpsystems.net> References: <70AE39FB-5E11-4460-8910-A47114A3C88E@rpsystems.net> <50694B97-C1A2-4FA2-B91B-63214990F61C@rpsystems.net> Message-ID: <3BF54304-DB94-497A-B986-657461A4BB26@economy-x-talk.com> Hi Troy, At the end of the script that handles an incoming connection, put: close socket 8080 or whatever port number you are using. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html Op 25 feb 2008, om 00:59 heeft Troy Rollins het volgende geschreven: > > It seems that once I open a socket for connections, I've had > problems closing that socket without doing a "resetAll", which I > need to avoid. Am I missing something simple? "stop accepting > connections" or something? > > Ideally, I want only 1 connection made. so I was hoping to "accept" > until that connection is made, then stop accepting new connections, > but maintain the first connection (which resetALL would kill.) > > TIA for setting me straight on that. > > -- > Troy > RPSystems, Ltd. > http://www.rpsystems.net From jrvalent at wisc.edu Sun Feb 24 19:11:03 2008 From: jrvalent at wisc.edu (rand valentine) Date: Sun, 24 Feb 2008 18:11:03 -0600 Subject: can't find object messages Message-ID: Using Studio 2.8.1 on an intel MacBook Pro with 4gb memory, Leopard 10.5.2. I wrote earlier about having problems with a handler not being able to "find" something on the card I execute from, and someone wrote saying that this was related to a problem with ask and answer dialogs. Now I find the same problem occurring in a script that doesn't have an ask or answer dialog. And the script runs without error when I don't have a breakpoint inserted, but reports a bug when I insert a breakpoint and try to step through it. But it's obvious that the script is not executing properly, because some of its instructions are not being carried out (this is what led me to investigate it). Any ideas on what's going on and how to fix it? Thanks. rand valentine From troy_lists at rpsystems.net Sun Feb 24 19:18:49 2008 From: troy_lists at rpsystems.net (Troy Rollins) Date: Sun, 24 Feb 2008 19:18:49 -0500 Subject: Stop accepting connections? In-Reply-To: <3BF54304-DB94-497A-B986-657461A4BB26@economy-x-talk.com> References: <70AE39FB-5E11-4460-8910-A47114A3C88E@rpsystems.net> <50694B97-C1A2-4FA2-B91B-63214990F61C@rpsystems.net> <3BF54304-DB94-497A-B986-657461A4BB26@economy-x-talk.com> Message-ID: <2B6B2859-EE04-4254-A342-7FBEAD3F14C6@rpsystems.net> On Feb 24, 2008, at 7:01 PM, Mark Schonewille wrote: > At the end of the script that handles an incoming connection, put: > > close socket 8080 > > or whatever port number you are using. Thanks Mark. I think I had done something like that already, and then found that a connection could still be made. I'll test with this again. -- Troy RPSystems, Ltd. http://www.rpsystems.net From m.schonewille at economy-x-talk.com Sun Feb 24 19:21:05 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 25 Feb 2008 01:21:05 +0100 Subject: can't find object messages In-Reply-To: References: Message-ID: <9CD58106-014B-4081-AAB4-8D6476D289B9@economy-x-talk.com> Hi Rand, You are dealing with two problems that have nothing to do with each other. A problem in your script and a problem in the debugger. I hope that the problem in the debugger will be fixed when 2.9 is released. Maybe we can find the problem in your script if you post the script here. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html Op 25 feb 2008, om 01:11 heeft rand valentine het volgende geschreven: > Using Studio 2.8.1 on an intel MacBook Pro with 4gb memory, Leopard > 10.5.2. > I wrote earlier about having problems with a handler not being able to > "find" something on the card I execute from, and someone wrote > saying that > this was related to a problem with ask and answer dialogs. Now I > find the > same problem occurring in a script that doesn't have an ask or answer > dialog. And the script runs without error when I don't have a > breakpoint > inserted, but reports a bug when I insert a breakpoint and try to step > through it. But it's obvious that the script is not executing > properly, > because some of its instructions are not being carried out (this is > what led > me to investigate it). Any ideas on what's going on and how to fix it? > Thanks. > > rand valentine > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Sun Feb 24 19:23:31 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 25 Feb 2008 01:23:31 +0100 Subject: Stop accepting connections? In-Reply-To: <2B6B2859-EE04-4254-A342-7FBEAD3F14C6@rpsystems.net> References: <70AE39FB-5E11-4460-8910-A47114A3C88E@rpsystems.net> <50694B97-C1A2-4FA2-B91B-63214990F61C@rpsystems.net> <3BF54304-DB94-497A-B986-657461A4BB26@economy-x-talk.com> <2B6B2859-EE04-4254-A342-7FBEAD3F14C6@rpsystems.net> Message-ID: <39DC1DE4-0A00-44EB-970D-DD4D581B1EB9@economy-x-talk.com> Hi Troy, Probably, you closed the socket that is created when the client connects to your server, which is of the form "123.123.123.123:1234", while the socket you need to close to disable any firther connections is just an integer, without the IP address. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html Op 25 feb 2008, om 01:18 heeft Troy Rollins het volgende geschreven: > > Thanks Mark. > > I think I had done something like that already, and then found that > a connection could still be made. > > I'll test with this again. > > -- > Troy > RPSystems, Ltd. > http://www.rpsystems.net From troy_lists at rpsystems.net Sun Feb 24 19:33:22 2008 From: troy_lists at rpsystems.net (Troy Rollins) Date: Sun, 24 Feb 2008 19:33:22 -0500 Subject: Stop accepting connections? In-Reply-To: <39DC1DE4-0A00-44EB-970D-DD4D581B1EB9@economy-x-talk.com> References: <70AE39FB-5E11-4460-8910-A47114A3C88E@rpsystems.net> <50694B97-C1A2-4FA2-B91B-63214990F61C@rpsystems.net> <3BF54304-DB94-497A-B986-657461A4BB26@economy-x-talk.com> <2B6B2859-EE04-4254-A342-7FBEAD3F14C6@rpsystems.net> <39DC1DE4-0A00-44EB-970D-DD4D581B1EB9@economy-x-talk.com> Message-ID: <40C0CC0E-14B1-4B1D-8A03-BDFFB3151358@rpsystems.net> On Feb 24, 2008, at 7:23 PM, Mark Schonewille wrote: > Probably, you closed the socket that is created when the client > connects to your server, which is of the form > "123.123.123.123:1234", while the socket you need to close to > disable any firther connections is just an integer, without the IP > address. Looking back through an archive of my code, I believe you are right. I'm updating now to test it revised. Thanks for the suggestion. -- Troy RPSystems, Ltd. http://www.rpsystems.net From jrvalent at wisc.edu Sun Feb 24 23:14:07 2008 From: jrvalent at wisc.edu (rand valentine) Date: Sun, 24 Feb 2008 22:14:07 -0600 Subject: no defaultstack Message-ID: I'm using Rev 2.8.1 Studio, MacBook Pro, 4gb memory, Leopard, and now Revolution does not recognize the card or stack that I'm in when I execute a script. So every field reference must be specified for the card it's on and the stack it's in, i.e., one can't just designate: fld "whichField" rather it must be fld "whichField" of cd "whichCard" of stack "whichStack" I've been playing with setting the defaultstack to the toplevel stack, but that doesn't seem to help. Any way to fix this? Thanks. rand valentine From JimAultWins at yahoo.com Mon Feb 25 00:02:27 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 24 Feb 2008 21:02:27 -0800 Subject: no defaultstack In-Reply-To: Message-ID: Hmmm, based on my last 4 years experience with Rev, this does not make sense, so I really hope you get to the bottom of strange behavior. Let's hope that it does not require some work-around. >From your description below, there is not enough info to help you. It sounds as if the field is inside a group and thus not in the direct message hierarchy, or some other interference, such as a front script. Try adding the same handler to several script containers to see if the message path is really working like you think... such as card script, each stack script, fld script, btn script on mouseDoubleUp global gMessageTrail put the long id of me & cr after gMessageTrail pass mouseDoubleUp end mouseDoubleUp The sequence of handlers will be stored in the variable gMessageTrail, which will appear in the Variable Watcher stack even if you are not debugging a script. Or you can use the message box to : put gMessageTrail (note: before doing the mouseup test, use the message box to:) put empty into gMessageTrail I do hope you find the answer and let us know. On 2/24/08 8:14 PM, "rand valentine" wrote: > I'm using Rev 2.8.1 Studio, MacBook Pro, 4gb memory, Leopard, and now > Revolution does not recognize the card or stack that I'm in when I execute a > script. So every field reference must be specified for the card it's on and > the stack it's in, i.e., one can't just designate: > > fld "whichField" > > rather it must be > > fld "whichField" of cd "whichCard" of stack "whichStack" > > I've been playing with setting the defaultstack to the toplevel stack, but > that doesn't seem to help. > > Any way to fix this? Thanks. From m.schonewille at economy-x-talk.com Mon Feb 25 05:40:09 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 25 Feb 2008 11:40:09 +0100 Subject: no defaultstack In-Reply-To: References: Message-ID: <1B2A62EC-B935-44B8-868D-71782AF7316C@economy-x-talk.com> Hi Rand, Change your script to put the name of the defaultStack into the message box: set the defaultStack to the topstack put the defaultStack --> what do you get? also, what do you get if you click in your stack and run the following in your message box: put the name of the topstack and finally, try put the mode of stack What does it return? Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Convert colours between different colour spaces with Color Converter. Download at http://economy-x-talk.com/cc.html Op 25 feb 2008, om 05:14 heeft rand valentine het volgende geschreven: > I'm using Rev 2.8.1 Studio, MacBook Pro, 4gb memory, Leopard, and now > Revolution does not recognize the card or stack that I'm in when I > execute a > script. So every field reference must be specified for the card it's > on and > the stack it's in, i.e., one can't just designate: > > fld "whichField" > > rather it must be > > fld "whichField" of cd "whichCard" of stack "whichStack" > > I've been playing with setting the defaultstack to the toplevel > stack, but > that doesn't seem to help. > > Any way to fix this? Thanks. > > rand valentine > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sarah.reichelt at gmail.com Mon Feb 25 05:46:27 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 25 Feb 2008 20:46:27 +1000 Subject: OT Recommendations on Midi Keyboard 32-37 key- semi-weighted In-Reply-To: <47C1DD4C.9000809@hindu.org> References: <47C1DD4C.9000809@hindu.org> Message-ID: On Mon, Feb 25, 2008 at 7:10 AM, Sivakatirswami wrote: > We're in the market for a new small USB midi-keyboard. > > this will be used to "document" simple song tunes... I only need 32-37 > keys to get to G below Middle C and E above...that's enough for the > average vocal range. > > I'm interested in anyone's recommendations on brand... not necessarily > features: something solid, well built, I look for "trouble free, doesn't > break" first... semi-weighted keys preferred. > We have an M-Audio Keystation 49e which connects directly to Garage Band. My eldest son also uses it with Finale to compose music. It hasn't got a lot of features, 49 keys, but the keys feel solid and it works well. Cheers, Sarah From len-morgan at crcom.net Mon Feb 25 07:47:27 2008 From: len-morgan at crcom.net (Len Morgan) Date: Mon, 25 Feb 2008 06:47:27 -0600 Subject: OT Recommendations on Midi Keyboard 32-37 key- semi-weighted In-Reply-To: <47C1DD4C.9000809@hindu.org> References: <47C1DD4C.9000809@hindu.org> Message-ID: <47C2B8DF.6080901@crcom.net> Look at m-Audio's products (especially the Oxygen line of controllers). m-audio.com. My recording studio has lots of m-audio equipment and I never have a problem with it. Len Sivakatirswami wrote: > We're in the market for a new small USB midi-keyboard. > > this will be used to "document" simple song tunes... I only need 32-37 > keys to get to G below Middle C and E above...that's enough for the > average vocal range. > > I'm interested in anyone's recommendations on brand... not necessarily > features: something solid, well built, I look for "trouble free, > doesn't break" first... semi-weighted keys preferred. > > e.g. the > > Edirol PCR-300 32-Key USB/MIDI Keyboard Controller > > Korg MicroKontrol 37-Key USB Controller Keyboard > > > > look good but are way over kill for my needs as we don't really > intend to make music with this thing... I just want to set Garage band > to "Bamboo flute" and tap in some simple tunes to nail down melodic > lines. > > I would like to get in at around $150.00 if there's anything in that > price range that is decently built. I don't need a wide range of > controllers. > > On the other hand if < $200.00 only buys trouble, we don't want to go > there. > > Email me off list if you have any recommendations for an inexpensive > but still solid midi input key board that will work on a Mac with > Garage Band... > > > Thanks! > > Sivakatirswami > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From len-morgan at crcom.net Mon Feb 25 07:50:06 2008 From: len-morgan at crcom.net (Len Morgan) Date: Mon, 25 Feb 2008 06:50:06 -0600 Subject: OT Recommendations on Midi Keyboard 32-37 key- semi-weighted In-Reply-To: <47C1DD4C.9000809@hindu.org> References: <47C1DD4C.9000809@hindu.org> Message-ID: <47C2B97E.9030509@crcom.net> Specifically, the m-audio Keystation 49e. 49 keys semiweighted. $129.99 len Sivakatirswami wrote: > We're in the market for a new small USB midi-keyboard. > > this will be used to "document" simple song tunes... I only need 32-37 > keys to get to G below Middle C and E above...that's enough for the > average vocal range. > > I'm interested in anyone's recommendations on brand... not necessarily > features: something solid, well built, I look for "trouble free, > doesn't break" first... semi-weighted keys preferred. > > e.g. the > > Edirol PCR-300 32-Key USB/MIDI Keyboard Controller > > Korg MicroKontrol 37-Key USB Controller Keyboard > > > > look good but are way over kill for my needs as we don't really > intend to make music with this thing... I just want to set Garage band > to "Bamboo flute" and tap in some simple tunes to nail down melodic > lines. > > I would like to get in at around $150.00 if there's anything in that > price range that is decently built. I don't need a wide range of > controllers. > > On the other hand if < $200.00 only buys trouble, we don't want to go > there. > > Email me off list if you have any recommendations for an inexpensive > but still solid midi input key board that will work on a Mac with > Garage Band... > > > Thanks! > > Sivakatirswami > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From kevin at stallibrass.com Mon Feb 25 08:25:16 2008 From: kevin at stallibrass.com (Kevin Stallibrass) Date: Mon, 25 Feb 2008 13:25:16 -0000 Subject: Belated Thankyou Message-ID: <000001c877b1$dd3c4350$97b4c9f0$@com> Hi, I posted a question end of last year and thought that no one had replied. Although I was watching carefully for a reply, I missed one from Jan Schenkel which I have just stumbled upon. This gives me the solution I was after so thank you Jan Jan Wrote: > Hi, > > I've build a standalone which simply adds a new line > of text to a file > located on an ftp site, then displays the entire > file in a text box. > > It works fine but when I close the application, > windows holds on to the > process and I have to force quit it via task > manager. > > [snip] > > Regards > > Kevin Stallibrass > Hi Kevin, Revolution doesn't automatically quit when the alst window is closed, if there are any 'pendingMessages' - these are messages that are put onto the event queue to be executed at a later time: send "TickleMePink" to me in 10 seconds Are you using any 'send in