Re: Good example/tutor for Valentina. Reports
On 5/29/08 8:28 PM, william humphrey [EMAIL PROTECTED] wrote: Hi William, My second issue is that the PDF instructions are not included in the excellent RunRev stack which shows how to use all the different v database calls. So I just played around blind without reading about it first (which is usually what I do anyway...) Ruslan: Please don't worry about teaching people SQL. You can even put links to resources for that. Just make the install process easier and then make the how to use Valentina with RunRev instructions right there in the same folder as the example stack. You mean that PDF must be included into folder V4REV_3 ? What about just adding URL to V4REV DOCS page ? Many years ago we did keep docs in such way, but then it made more hard update docs. So we have extract docs to be online and ready for download. I also think that an example RunRev stack accessing a fairly complex database done by someone who knows Valentina would be pretty cool to have for copying from. That is what I really want! It could have a couple of different search features and some report features. Perhaps even an example of how your new reports are integrated with RunRev. And now you asking very complex example? :-) Please check test.rev stack. It contains practically all Valentina methods that exist. So you can find usage of it. But in general work with SQL looks as put Valentina_SqlSelect( dbRef, SELECT * FROM T WHERE fld1 15 ) into cursRef So nothing special actually. And see my next letter also. -- About REPORTS. I think this information can be public already. We are finishing big new feature for Valentina. * Valentina Studio PRO -- have project concept and visual designer of reports similar you what you could see in FileMaker or MS Access. * then we will be able do in revolution and other languages that Valentina supports something as pdfFile = get_report( proj, repName, SQLquery ) * the same reports will work under Valentina Server also of course. and of course all this will be cross-platform. What is great with this feature, is we extract HUGE part of development from coding to VISUAL. Also we get ability change a report WHEN application is compiled because report is separated from application itself. If you want participate in beta testing of Valentina Reports please let me know. -- 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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Good example/tutor for Valentina
On 5/29/08 7:13 PM, Kay C Lan [EMAIL PROTECTED] wrote: Hi Kay, Big letter, I will read it carefully during breaks. On Thu, May 29, 2008 at 2:50 PM, Ruslan Zasukhin [EMAIL PROTECTED] wrote: I have not catch here. You mean that you can understand how to use REV with SQL lite and mySQL, but cannot catch how to use it with Valentina ?? Man, I thought I'd slip past your gaze, but impossible - your amazing Ruslan. Yes, the frustrating thing is that I can get all sorts of things done with SQL using either mySQL or sqLite, and I KNOW I could get it all done much faster if I could only get Valentina to work for me. Val Studio keeps crashing on me and I've had similar problems with 'example' Rev stacks + Val DBs I've created. Lets not touch Vstudio here, and first of all resolve your V4REV issues. Point 1: Let you have 1000 lines of some code for SqlLie and mySQL using RevDB API. to switch this to Valentina must be enough change only ONE line of your code which specify to which db connect. Assuming that you are using standard SQL. Point 2: do you create your db and tables programmatically or using some visual tools? IMO it is better to have such code in your app. So your app self will be able create new fresh db on user HDD with all required tables. And in this way - you not depend on GUI tools, so above point1 must work 100%. Agree? Then I ask you make some simple SqlLite stack, where you create db tables fields, records, do some search. May be all in one handler only. About 20-40 lines. Send me this stack, and we will change it to Valentina then send you back. - Again, my point is that Valentina for REVOLUTION is able work in the same way as you use SqlLite and mySQL. It is OTHER QUESTION that Valentina also offer another set of methods. If it looks more complex do not start with it. Most of tasks really can be done using RevDB API. There is sense learn and use Native Valentina API only if you see its advantages, understand It easy, you like not-standard features of Valentina and want to use them. Although many non non standard features of Valentina can be used via the same SQL and RevDB API. -- 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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: integrating rsync with Rev
Le 30 mai 08 à 01:26, Josh Mellicker a écrit : . Also, since I was reminded rsync is not on Windows machines, this demotes rsync as a good file transfer solution for Rev, since it's Mac-only. Hi, Mmmm, would say that rsync is a Linux tool first, then Mac and with some struggles for the installation, works on Windows too. Regards, Thierry ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RevOpenDatabase + postgres + linux = returning empty!?
Aloha Friends, I have a script like: set the externals of stack script to /opt/web/bin/Externals/revdb.so revSetDatabaseDriverPath /opt/web/bin/Externals/dbdrivers get revOpenDatabase(postgresql, localhost, dbname, username, password) if it is not a number then cgiOutput (error: can't open database:itthe resultthe externals of stack script), text/plain exit to top else put it into tDatabaseID end if This script executes, but the 'it' variable is empty after revOpenDatabase?! No error but no ID. Any clues? Revolution 2.9.0 under Linux CentOS 5. I've used similar scripts to connect to MySQL with no problem... Thanks Andre -- http://www.andregarzia.com All We Do Is Code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
revOnline ?
Still Wonky it seems. Tried to upload my text alignment stack. Wonder why? sincerely, Richmond Mathewson. A Thorn in the flesh is better than a failed Systems Development Life Cycle. __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
revMail and Bcc
Hi, I would like to create e-mails to be sent to a liste of e-mail addresses in blind carbon copy (Bcc). It is not possible with the revMail command, where there is places only for address and ccAddress. Is there another way to put addresses (by program) in the Bcc field? or should I ask users to manually cut and paste the addresses from To to Bcc before sending the e-mail? :-(( Thanks in advance for any idea and help Best regards from Grenoble André ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: integrating rsync with Rev
Done a bit more research - rsync is available for Windows - but AFAIK it requires cygwin, whcih does mean that to distribute with Rev is not as simple as including a binary. I've been looking at alternatives - the one I have used before on Linux and Windows, OSX with Rev is Unison - binaries are available. It's basically rsync, but lets you do it between two computers with an internet connection: - http://alan.petitepomme.net/projets/unison/index.html I also found this programme which is Java - and can be run from commanline - so can be used by Rev. It looks like it does not require installation on the sserver and can do incremental backups to a NAS: - http://jfilesync.sourceforge.net/index.shtml 2008/5/30 Josh Mellicker [EMAIL PROTECTED]: Just an update... I am stuck on this, because expect somehow interferes with the downloading of larger files. Simply running rsync from Terminal works great. (I downloaded 800MB of large files at blazing speed with nary a hiccup) But running a shell script: #!/usr/bin/expect -f spawn rsync -avzrt [EMAIL PROTECTED]:/home/revcoder/public_html/revcoder_rsync_test/ /revcoder_rsync_test expect connecting { send yes\n} expect password: { send cookies\n} expect # from Terminal, with: ./rsync.sh downloads 1 or 2 files, then stalls. This is without Rev involved in any way, so this eliminates Rev from the equation, and also makes this post [OT] Also, since I was reminded rsync is not on Windows machines, this demotes rsync as a good file transfer solution for Rev, since it's Mac-only. Back to libURL! On May 27, 2008, at 3:49 PM, Sarah Reichelt wrote: On Wed, May 28, 2008 at 2:19 AM, Josh Mellicker [EMAIL PROTECTED] wrote: Okay, here's where I'm stuck with using rsync and Rev for remote - local file transfers: The first time you run an rsync command with a certain server, you get this prompt from rsync: The authenticity of host 'revcoders.org (67.19.54.130)' can't be established. RSA key fingerprint is 9f:8c:ba:a9:5d:3f:b4:ef:f7:4a:2c:20:cd:77:b3:8c. Are you sure you want to continue connecting (yes/no)? yes Somehow, we either need to: 1. expect this possible response (the first time only) and answer yes This script works for that, whether the fingerprint has already been stored or not: #!/usr/bin/expect -f spawn rsync -avzrt [EMAIL PROTECTED]:/home/revcoder/public_html/revcoder_rsync_test/ /revcoder_rsync_test expect connecting { send yes\n} expect password: { send cookies\n} expect # BTW, when testing this on my own site, I found that the expect parameters are case sensitive. My web host sends Password: with upper case P and I had to change the script to match. 2. or, would it be a better solution to check for the key fingerprint on the local machine and create it if necessary? Or, perhaps just create it temporarily and delete it at the end of the session for security purposes? I found that the fingerprints are stored in ~/.ssh/known_hosts but it is encoded. You can detect if the fingerprint already exists and I guess you could delete it after every transaction. Cheers, Sarah ___ use-revolution mailing list use-revolution@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: integrating rsync with Rev
Hiya, There is an easier install for rsync on Windows, called cwRsync, from: www.itefix.no Nexenta has a free GUI implementation of called rsyncshare: www.nexenta.com There is another free to use cross platform option: www.anyclient.com (Made by: www.jscape.com. They make the command line 'FTCL' but it's a little steep at $299). nnBackup is a Windows command line utility from: www.nncron.ru WinMerge (www.winmerge.org) has a command line option. In Windows XP (needs install from the XP Server Resource Kit, free to download) and a default in Vista, you can use Robocopy, more info here: www.ss64.com/nt/robocopy.html I think it still doesn't do deltas like rsync, but it's been a while. Cheers, Luis. On 30 May 2008, at 10:46, David Bovill wrote: Done a bit more research - rsync is available for Windows - but AFAIK it requires cygwin, whcih does mean that to distribute with Rev is not as simple as including a binary. I've been looking at alternatives - the one I have used before on Linux and Windows, OSX with Rev is Unison - binaries are available. It's basically rsync, but lets you do it between two computers with an internet connection: - http://alan.petitepomme.net/projets/unison/index.html I also found this programme which is Java - and can be run from commanline - so can be used by Rev. It looks like it does not require installation on the sserver and can do incremental backups to a NAS: - http://jfilesync.sourceforge.net/index.shtml ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: revMail and Bcc
On Fri, May 30, 2008 at 7:45 PM, Andre.Bisseret [EMAIL PROTECTED] wrote: Hi, I would like to create e-mails to be sent to a liste of e-mail addresses in blind carbon copy (Bcc). It is not possible with the revMail command, where there is places only for address and ccAddress. Is there another way to put addresses (by program) in the Bcc field? or should I ask users to manually cut and paste the addresses from To to Bcc before sending the e-mail? :-(( At least on a Mac, this works: revGoURL mailto:?Subject=BCC test[EMAIL PROTECTED],[EMAIL PROTECTED]Body=Here is a BCC email. Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Menu Item Check
Hi Everyone, How do I insert and delete a √ in front of a menuitem in a script? Does toggling the check change the name of that menuitem? Thanks in advance for your continuing support. Joe in Orlando ** Get trade secrets for amazing burgers. Watch Cooking with Tyler Florence on AOL Food. (http://food.aol.com/tyler-florence?video=4amp;?NCID=aolfod000302) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: revMail and Bcc
Hi Sarah, On Fri, May 30, 2008 at 7:45 PM, Andre.Bisseret [EMAIL PROTECTED] wrote: Hi, I would like to create e-mails to be sent to a liste of e-mail addresses in blind carbon copy (Bcc). It is not possible with the revMail command, where there is places only for address and ccAddress. Is there another way to put addresses (by program) in the Bcc field? or should I ask users to manually cut and paste the addresses from To to Bcc before sending the e-mail? :-(( At least on a Mac, this works: revGoURL mailto:?Subject=BCC test[EMAIL PROTECTED],[EMAIL PROTECTED]Body=Here is a BCC email. Great thanks! Do you or anyone else know where to add a file attachment into this string? Know what I mean? I lalready found out that is a string that revMail produces and then revMail fires a launch url with tha tnamely string, so one could add items like attachment that revMail does not supply. Thanks a lot in advance! Cheers, Sarah Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Mouse Events Transparency
Thanks Mark I will try your suggestion. Regards, Andres Martinez www.baKno.com On May 30, 2008, at 1:52 AM, Mark Wieder wrote: Andres- I think you probably don't mean auto-hilite here; that's for mouseDown events. What I would do would be to group the button and the image, then put the code into the group script rather than the individual objects in the group: ON mouseEnter set the icon of button myButton to 200954 END mouseEnter ON mouseLeave set the icon of button myButton to empty END mouseLeave -- and if you do also need to handle mouseDown events... local sSavedIcon ON mouseDown put the icon of me into sSavedIcon set the icon of button myButton to 411 END mouseDown ON mouseUp set the icon of button myButton to sSavedIcon END mouseUp -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Is RR too easy? Or too hard? (was) Is RunRev marketed to
Hi All! I've been tracking this conversation, and I can say that I beat the drum for Rev quite often in K12 education. I like the idea of custom objects just for teachers, that they could snap into their projects, however, we practically have those items now in the current version of Rev :-) (i.e. revBrowser) I try to provide practical examples of how Rev could be used by teachers. (I just uploaded a couple of examples in RevOnline under the Education section: RevBrowser Example - Earthquake and RevBrowser Example 2.) On a related note... I'm very interested to see what RunRev comes out with in terms of other web components, similar to Andre and Chip's CGI work with Rev. I think if Rev would provide an easy interface for storing user actions on a network (ie gradebook, record), ...simplifying the existing strategies of creating cgi components or socket apps, there would be a lot of applications that could be created that provide built in for accountability that would be very appealing to educators. Most of the commercial apps that are out for K12 education have a component that tracks the student's progress. Most educators probably would not have the patience for creating a process like this for their apps. But if you could drop an object into your stack that automatically writes to the output of a variable to a mysql db, or a flat file, ...oh what I'm I saying!??? Those are already in Rev But maybe a little intimidating for a 2nd grade teacher who may have just picked up Rev. Oh..., getting off track..., maybe if the process were a little easier, tutorials maybe designed specifically for educational use...kind of what ...i forget his name...sorry the professor out at BYU has done? Just some thoughts! Thanks! John Patten Sylvan Union School District ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re-2: revMail and Bcc
Hi Klaus, as far as i know, attachments with revmail or launch url are not possible. That´s why i and some others placed an enhancement request for revmail in the qualitycenter. See http://quality.runrev.com/qacenter/show_bug.cgi?id=4151 http://quality.runrev.com/qacenter/show_bug.cgi?id=105 Regards, Matthias Original Message Subject: Re: revMail and Bcc (30-Mai-2008 15:44) From:Klaus Major [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi Sarah, On Fri, May 30, 2008 at 7:45 PM, Andre.Bisseret [EMAIL PROTECTED] wrote: Hi, I would like to create e-mails to be sent to a liste of e-mail addresses in blind carbon copy (Bcc). It is not possible with the revMail command, where there is places only for address and ccAddress. Is there another way to put addresses (by program) in the Bcc field? or should I ask users to manually cut and paste the addresses from To to Bcc before sending the e-mail? :-(( At least on a Mac, this works: revGoURL mailto:?Subject=BCC test[EMAIL PROTECTED],[EMAIL PROTECTED]Body=Here is a BCC email. Great thanks! Do you or anyone else know where to add a file attachment into this string? Know what I mean? I lalready found out that is a string that revMail produces and then revMail fires a launch url with tha tnamely string, so one could add items like attachment that revMail does not supply. Thanks a lot in advance! Cheers, Sarah Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@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@lists.runrev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: integrating rsync with Rev
On May 29, 2008, at 11:49 PM, Thierry wrote: Le 30 mai 08 à 01:26, Josh Mellicker a écrit : . Also, since I was reminded rsync is not on Windows machines, this demotes rsync as a good file transfer solution for Rev, since it's Mac-only. Hi, Mmmm, would say that rsync is a Linux tool first, then Mac and with some struggles for the installation, works on Windows too. Regards, Thierry Ah, sorry, of course that is true, what I meant to say is from a developer's standpoint, using rsync with Rev for a software product is mainly only applicable to Mac-only software (since the Linux market is yet too small for many Rev developers to be developing consumer software for it). ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Re-2: revMail and Bcc
Hi Matthias, Hi Klaus, as far as i know, attachments with revmail or launch url are not possible. That´s why i and some others placed an enhancement request for revmail in the qualitycenter. See http://quality.runrev.com/qacenter/show_bug.cgi?id=4151 http://quality.runrev.com/qacenter/show_bug.cgi?id=105 Ah, I see, too bad. Thanks for the info. Regards, Matthias Best Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
background downloading alternatives (used to be: integrating rsync with Rev)
The whole reason for my rsync investigation is that I have a project that needs to download a lot of big files in the background, and allow the user to freely perform other activities during downloading. Using a libURL callback in the same engine has not worked for us, I believe it takes too much processing power from the engine and performance is bad to worse while downloading. Our present course of action is to use one separate standalone just for downloading, and another standalone for the user to interact with. When files are needed, the main app creates a text file, then launches the downloader app. On openStack, the downloader.app goes to work. Once the list is done the downloader quits. It is not ideal having to communicate with text files, but we have never tried socket communication, may tackle that later. I have also looked into Bittorrent clients that can be operated with shell commands but this seems overcomplicated. On May 30, 2008, at 4:20 AM, Luis wrote: Hiya, There is an easier install for rsync on Windows, called cwRsync, from: www.itefix.no Nexenta has a free GUI implementation of called rsyncshare: www.nexenta.com There is another free to use cross platform option: www.anyclient.com (Made by: www.jscape.com. They make the command line 'FTCL' but it's a little steep at $299). nnBackup is a Windows command line utility from: www.nncron.ru WinMerge (www.winmerge.org) has a command line option. In Windows XP (needs install from the XP Server Resource Kit, free to download) and a default in Vista, you can use Robocopy, more info here: www.ss64.com/nt/robocopy.html I think it still doesn't do deltas like rsync, but it's been a while. Cheers, Luis. On 30 May 2008, at 10:46, David Bovill wrote: Done a bit more research - rsync is available for Windows - but AFAIK it requires cygwin, whcih does mean that to distribute with Rev is not as simple as including a binary. I've been looking at alternatives - the one I have used before on Linux and Windows, OSX with Rev is Unison - binaries are available. It's basically rsync, but lets you do it between two computers with an internet connection: - http://alan.petitepomme.net/projets/unison/index.html I also found this programme which is Java - and can be run from commanline - so can be used by Rev. It looks like it does not require installation on the sserver and can do incremental backups to a NAS: - http://jfilesync.sourceforge.net/index.shtml ___ use-revolution mailing list use-revolution@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Control the World
Makers- The Make board stack is now also published at http://www.makingthings.com/resources/extensions/runtime-revolution-library -- Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Mouse Events Transparency
You will have to pass ALL of the mouse events then. on mouseUp pass mouseUp end mouseUp on mouseEnter pass mouseEnter end mouseEnter on mouseLeave pass mouseLeave end mouseLeave on mouseWIthin pass mouseWithin end mouseWIthin etc. Tom McGrath On May 29, 2008, at 7:43 PM, Andres Martinez wrote: Thanks Mark and Randy Unfortunately, that is not enough. One of the problems I have not been able to work around is the button's auto-hilite, used to show a different Icon when the mouse is over the button. When the mouse enter the label, then the icon is back to normal and the button receives a mouseleave message. Regards, Andres Martinez www.baKno.com On May 29, 2008, at 6:51 PM, Mark Wieder wrote: Andres- Is it possible to define an image to be transparent to mouse events? How about... on mouseUp pass mouseUp end mouseUp -- Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to compress files on the fly
On Nov 22, 2006, at 9:21 AM, Stephen Barncard wrote: Hi gang, I'm messing around with the compress() function. My goal is to compress an .app package then upload it to an ftp server. Right now the below code works on small files but seems to choke on a 300mb file. I have a few questions: 1. in order to compress a MacOSX 'package',do I have to devise a 'walker' to identify and compress each file separately inside? yikes. We just ran into this same problem, and here's how we solved it: Compress the app and upload to your server Have Rev download the zipped app as you would any file then: set the defaultFolder to whereYouWantYourApp put unzip yourZippedAppPathAndFile into tCmd get shell(tCmd) This works great on OS X, have not tested elsewhere. NOTE: Because compressing with the OS X function puts some weird stuff in the archive as well as your app, it's best to unzip to a temp folder, then move your app where you want it. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: background downloading alternatives (used to be: integrating rsync with Rev)
You choice of text files for 'inter-standalone' communication is a good one. Using sockets would only be worth while if you needed constant data passing between the applications (standalones) and wanted to avoid hard drive activity. One way to optimize is to download to a second physical hard drive while using the first hard drive for the text file writing and normal computer operation. Another reason to consider using sockets for your particular set of tasks is to allow progress bars, error checking, or other updating tasks to be reported to the main app and thus the user (eg stop downloading button in the user app) However, the helper app could just look for a 'command.txt' file in a folder and, when present, read it, then delete it. Sockets are fairly simple, especially when used on the same cpu. In one very fast communication set of apps that I created, I programmed 3 apps to run on one computer and 2 apps to run on a second computer, all with UDP sockets interconnecting them. This allowed for use of multiple processors (2 cpu's) and multi-threading via the operating system. This was used on a LAN (local area network) in conjunction with two computers in separate offices. This is a total of 4 cpu's, 8 apps, 3 networks. The system ran very smoothly for about 1.5 years until the project was discontinued. Hope this helps with the brain storming for optimal solutions. Jim Ault Las Vegas On 5/30/08 11:06 AM, Josh Mellicker [EMAIL PROTECTED] wrote: The whole reason for my rsync investigation is that I have a project that needs to download a lot of big files in the background, and allow the user to freely perform other activities during downloading. Using a libURL callback in the same engine has not worked for us, I believe it takes too much processing power from the engine and performance is bad to worse while downloading. Our present course of action is to use one separate standalone just for downloading, and another standalone for the user to interact with. When files are needed, the main app creates a text file, then launches the downloader app. On openStack, the downloader.app goes to work. Once the list is done the downloader quits. It is not ideal having to communicate with text files, but we have never tried socket communication, may tackle that later. I have also looked into Bittorrent clients that can be operated with shell commands but this seems overcomplicated. On May 30, 2008, at 4:20 AM, Luis wrote: Hiya, There is an easier install for rsync on Windows, called cwRsync, from: www.itefix.no Nexenta has a free GUI implementation of called rsyncshare: www.nexenta.com There is another free to use cross platform option: www.anyclient.com (Made by: www.jscape.com. They make the command line 'FTCL' but it's a little steep at $299). nnBackup is a Windows command line utility from: www.nncron.ru WinMerge (www.winmerge.org) has a command line option. In Windows XP (needs install from the XP Server Resource Kit, free to download) and a default in Vista, you can use Robocopy, more info here: www.ss64.com/nt/robocopy.html I think it still doesn't do deltas like rsync, but it's been a while. Cheers, Luis. On 30 May 2008, at 10:46, David Bovill wrote: Done a bit more research - rsync is available for Windows - but AFAIK it requires cygwin, whcih does mean that to distribute with Rev is not as simple as including a binary. I've been looking at alternatives - the one I have used before on Linux and Windows, OSX with Rev is Unison - binaries are available. It's basically rsync, but lets you do it between two computers with an internet connection: - http://alan.petitepomme.net/projets/unison/index.html I also found this programme which is Java - and can be run from commanline - so can be used by Rev. It looks like it does not require installation on the sserver and can do incremental backups to a NAS: - http://jfilesync.sourceforge.net/index.shtml ___ use-revolution mailing list use-revolution@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: background downloading alternatives (used to be: integrating rsync with Rev)
Have you tried curl? If you use it as a 'process', it effectively hands off the heavy lifting to a separate process, which you can monitor as often or as rarely as you like... There is binary for windows, too. best, Mark On 30 May 2008, at 19:06, Josh Mellicker wrote: The whole reason for my rsync investigation is that I have a project that needs to download a lot of big files in the background, and allow the user to freely perform other activities during downloading. Using a libURL callback in the same engine has not worked for us, I believe it takes too much processing power from the engine and performance is bad to worse while downloading. Our present course of action is to use one separate standalone just for downloading, and another standalone for the user to interact with. When files are needed, the main app creates a text file, then launches the downloader app. On openStack, the downloader.app goes to work. Once the list is done the downloader quits. It is not ideal having to communicate with text files, but we have never tried socket communication, may tackle that later. I have also looked into Bittorrent clients that can be operated with shell commands but this seems overcomplicated. On May 30, 2008, at 4:20 AM, Luis wrote: Hiya, There is an easier install for rsync on Windows, called cwRsync, from: www.itefix.no Nexenta has a free GUI implementation of called rsyncshare: www.nexenta.com There is another free to use cross platform option: www.anyclient.com (Made by: www.jscape.com. They make the command line 'FTCL' but it's a little steep at $299). nnBackup is a Windows command line utility from: www.nncron.ru WinMerge (www.winmerge.org) has a command line option. In Windows XP (needs install from the XP Server Resource Kit, free to download) and a default in Vista, you can use Robocopy, more info here: www.ss64.com/nt/robocopy.html I think it still doesn't do deltas like rsync, but it's been a while. Cheers, Luis. On 30 May 2008, at 10:46, David Bovill wrote: Done a bit more research - rsync is available for Windows - but AFAIK it requires cygwin, whcih does mean that to distribute with Rev is not as simple as including a binary. I've been looking at alternatives - the one I have used before on Linux and Windows, OSX with Rev is Unison - binaries are available. It's basically rsync, but lets you do it between two computers with an internet connection: - http://alan.petitepomme.net/projets/unison/index.html I also found this programme which is Java - and can be run from commanline - so can be used by Rev. It looks like it does not require installation on the sserver and can do incremental backups to a NAS: - http://jfilesync.sourceforge.net/index.shtml ___ use-revolution mailing list use-revolution@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Mouse Events Transparency
Hi Tom, I realize this message was in response to Andres' original message - I'm responding because I provided a different idea and I couldn't get pass to work. My understanding of pass is that it sends the message along the message path -- from the image object that Andres was using as a label above his button to the card -- but not from the image object to the button in the layer just below it. When I place an image over a button and use your script all the handlers are passed to the card -- not to the button. How did you get this to work? take care, randy hengst - On May 29, 2008, at 9:08 PM, Thomas McGrath III wrote: You will have to pass ALL of the mouse events then. on mouseUp pass mouseUp end mouseUp on mouseEnter pass mouseEnter end mouseEnter on mouseLeave pass mouseLeave end mouseLeave on mouseWIthin pass mouseWithin end mouseWIthin etc. Tom McGrath On May 29, 2008, at 7:43 PM, Andres Martinez wrote: Thanks Mark and Randy Unfortunately, that is not enough. One of the problems I have not been able to work around is the button's auto-hilite, used to show a different Icon when the mouse is over the button. When the mouse enter the label, then the icon is back to normal and the button receives a mouseleave message. Regards, Andres Martinez www.baKno.com On May 29, 2008, at 6:51 PM, Mark Wieder wrote: Andres- Is it possible to define an image to be transparent to mouse events? How about... on mouseUp pass mouseUp end mouseUp -- Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@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@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: background downloading alternatives (used to be: integrating rsync with Rev)
Have you tried curl? If you use it as a 'process', it effectively hands off the heavy lifting to a separate process, which you can monitor as often or as rarely as you like... There is binary for windows, too. best, Mark On 30 May 2008, at 19:06, Josh Mellicker wrote: The whole reason for my rsync investigation is that I have a project that needs to download a lot of big files in the background, and allow the user to freely perform other activities during downloading. Using a libURL callback in the same engine has not worked for us, I believe it takes too much processing power from the engine and performance is bad to worse while downloading. Our present course of action is to use one separate standalone just for downloading, and another standalone for the user to interact with. When files are needed, the main app creates a text file, then launches the downloader app. On openStack, the downloader.app goes to work. Once the list is done the downloader quits. It is not ideal having to communicate with text files, but we have never tried socket communication, may tackle that later. I have also looked into Bittorrent clients that can be operated with shell commands but this seems overcomplicated. On May 30, 2008, at 4:20 AM, Luis wrote: Hiya, There is an easier install for rsync on Windows, called cwRsync, from: www.itefix.no Nexenta has a free GUI implementation of called rsyncshare: www.nexenta.com There is another free to use cross platform option: www.anyclient.com (Made by: www.jscape.com. They make the command line 'FTCL' but it's a little steep at $299). nnBackup is a Windows command line utility from: www.nncron.ru WinMerge (www.winmerge.org) has a command line option. In Windows XP (needs install from the XP Server Resource Kit, free to download) and a default in Vista, you can use Robocopy, more info here: www.ss64.com/nt/robocopy.html I think it still doesn't do deltas like rsync, but it's been a while. Cheers, Luis. On 30 May 2008, at 10:46, David Bovill wrote: Done a bit more research - rsync is available for Windows - but AFAIK it requires cygwin, whcih does mean that to distribute with Rev is not as simple as including a binary. I've been looking at alternatives - the one I have used before on Linux and Windows, OSX with Rev is Unison - binaries are available. It's basically rsync, but lets you do it between two computers with an internet connection: - http://alan.petitepomme.net/projets/unison/index.html I also found this programme which is Java - and can be run from commanline - so can be used by Rev. It looks like it does not require installation on the sserver and can do incremental backups to a NAS: - http://jfilesync.sourceforge.net/index.shtml ___ use-revolution mailing list use-revolution@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Mouse Events Transparency
Randy, Actually I sent this right after I read the original message but it ended up taking a long time to post to the list. I saw the solution of the group with messages and I have used that one myself especially if a mouseDown is needed. I got it to work by including each of the handlers as well in the button. I'd probably go with the group solution though... Regards, Tom McGrath On May 30, 2008, at 7:05 PM, Randy Hengst wrote: Hi Tom, I realize this message was in response to Andres' original message - I'm responding because I provided a different idea and I couldn't get pass to work. My understanding of pass is that it sends the message along the message path -- from the image object that Andres was using as a label above his button to the card -- but not from the image object to the button in the layer just below it. When I place an image over a button and use your script all the handlers are passed to the card -- not to the button. How did you get this to work? take care, randy hengst - On May 29, 2008, at 9:08 PM, Thomas McGrath III wrote: You will have to pass ALL of the mouse events then. on mouseUp pass mouseUp end mouseUp on mouseEnter pass mouseEnter end mouseEnter on mouseLeave pass mouseLeave end mouseLeave on mouseWIthin pass mouseWithin end mouseWIthin etc. Tom McGrath On May 29, 2008, at 7:43 PM, Andres Martinez wrote: Thanks Mark and Randy Unfortunately, that is not enough. One of the problems I have not been able to work around is the button's auto-hilite, used to show a different Icon when the mouse is over the button. When the mouse enter the label, then the icon is back to normal and the button receives a mouseleave message. Regards, Andres Martinez www.baKno.com On May 29, 2008, at 6:51 PM, Mark Wieder wrote: Andres- Is it possible to define an image to be transparent to mouse events? How about... on mouseUp pass mouseUp end mouseUp -- Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@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@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@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution