From psahores at free.fr Sun Aug 1 06:58:16 2010 From: psahores at free.fr (Pierre Sahores) Date: Sun, 1 Aug 2010 12:58:16 +0200 Subject: MacBook core i7 : a real powerfull laptop or a sadly build toy ? Message-ID: <2BFF029C-F852-4317-9B70-CA2CD7C1076B@free.fr> In beetwin us (part 2) ... I owned lots of macs over the years, from a PWB 160 to the last MBP core i7 15" and you know what : the best of all in them was always the operating system 0S 7/8/9 and OSX. The bad thing in them was the construction quality - one time good (as the best of alls : PWB G4 12" 1 Ghz), one time sadly bad (as the sadest of all : PWB 5300 cs, three time rebuild to new by Apple). How to position the MacBook Pro core 620-i7 15" i purchased in the late of april ? If you just need to run one of its four virtual cores at once, it's OK but if you want to use it in running apps on its four virtual core in 24/7 mode, don't expect that this unibody laptop will support it for weeks. Instead of letting the processors fans turns all the day at 6000 t/mn as soon as 3 virtual cores are at work, the best to do is to switch to a more seriously build 720-i7 PC laptop (height virtual cores) able to run at 100% of its available power without becoming too hot even after months (i'm very happy with my ASUS 14" i payed half the price of the MBP). If i had to choose what MBP to purchase instead of the core i7 i owns today, i would certainly take a dual-core instead. The unibody is definitively not suited to embed the core i5/i7 processors... Best, -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From mpetrides at earthlink.net Sun Aug 1 11:33:07 2010 From: mpetrides at earthlink.net (Petrides, M.D. Marian) Date: Sun, 1 Aug 2010 10:33:07 -0500 Subject: MacBook core i7 : a real powerfull laptop or a sadly build toy ? In-Reply-To: <2BFF029C-F852-4317-9B70-CA2CD7C1076B@free.fr> References: <2BFF029C-F852-4317-9B70-CA2CD7C1076B@free.fr> Message-ID: <8B630CE4-ACDC-4434-943F-8D3B4A3D3213@earthlink.net> Thanks for the heads up, Pierre. If I replaced my MBP (unlikely since it is almost new), I probably would have gone for the high end one. Now I'll be thinking twice. BTW, have you tried lifting the MBP up from the table surface a little? I put those little circular felt furniture pads (the ones with self-adhesive built in) on the bottom of my MBPs to raise the laptop up slightly more than the Apple-installed "feet" do and find that really helps with heat dissipation. YMMV. On Aug 1, 2010, at 5:58 AM, Pierre Sahores wrote: > In beetwin us (part 2) ... > > I owned lots of macs over the years, from a PWB 160 to the last MBP > core i7 15" and you know what : the best of all in them was always > the operating system 0S 7/8/9 and OSX. The bad thing in them was the > construction quality - one time good (as the best of alls : PWB G4 > 12" 1 Ghz), one time sadly bad (as the sadest of all : PWB 5300 cs, > three time rebuild to new by Apple). > > How to position the MacBook Pro core 620-i7 15" i purchased in the > late of april ? > > If you just need to run one of its four virtual cores at once, it's > OK but if you want to use it in running apps on its four virtual > core in 24/7 mode, don't expect that this unibody laptop will > support it for weeks. Instead of letting the processors fans turns > all the day at 6000 t/mn as soon as 3 virtual cores are at work, the > best to do is to switch to a more seriously build 720-i7 PC laptop > (height virtual cores) able to run at 100% of its available power > without becoming too hot even after months (i'm very happy with my > ASUS 14" i payed half the price of the MBP). > > If i had to choose what MBP to purchase instead of the core i7 i > owns today, i would certainly take a dual-core instead. The unibody > is definitively not suited to embed the core i5/i7 processors... > > Best, > > -- > Pierre Sahores > mobile : (33) 6 03 95 77 70 > > www.woooooooords.com > www.sahores-conseil.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 nealk3nc at gmail.com Sun Aug 1 11:45:43 2010 From: nealk3nc at gmail.com (Neal Campbell) Date: Sun, 1 Aug 2010 11:45:43 -0400 Subject: MacBook core i7 : a real powerfull laptop or a sadly build toy ? In-Reply-To: <8B630CE4-ACDC-4434-943F-8D3B4A3D3213@earthlink.net> References: <2BFF029C-F852-4317-9B70-CA2CD7C1076B@free.fr> <8B630CE4-ACDC-4434-943F-8D3B4A3D3213@earthlink.net> Message-ID: I don't think any laptop is designed nor built for 7 x 24 operation. Laptop design is a compromise to start with as heat/power versus performance/noise/longevity is always unavoidable. I would take care designing desktop systems for 7 x 24, I wouldn't consider a laptop for that! Neal Campbell Abroham Neal Software From ambassador at fourthworld.com Sun Aug 1 12:14:40 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 01 Aug 2010 09:14:40 -0700 Subject: MacBook core i7 : a real powerfull laptop or a sadly build toy ? Message-ID: <4C559D70.5050303@fourthworld.com> Your story is among the reasons why I'm increasingly leaning toward building my own systems. Start with a barebones shell and customize as you like, and you get a solid 24/7 system that'll hold up well, for cheap and with total control over the selection of components that go into it.... -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From bill at bluewatermaritime.com Sun Aug 1 13:25:12 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Sun, 1 Aug 2010 13:25:12 -0400 Subject: MacBook core i7 : a real powerfull laptop or a sadly build toy ? In-Reply-To: <4C559D70.5050303@fourthworld.com> References: <4C559D70.5050303@fourthworld.com> Message-ID: I run my laptop 24/7 - it's a macbook pro. I think the hardware that I run 24/7 tends to work longer than the machines I let sit idle (but I live in the rainforest so the electronics in probably gets corroded). From nealk3nc at gmail.com Sun Aug 1 13:30:34 2010 From: nealk3nc at gmail.com (Neal Campbell) Date: Sun, 1 Aug 2010 13:30:34 -0400 Subject: MacBook core i7 : a real powerfull laptop or a sadly build toy ? In-Reply-To: References: <4C559D70.5050303@fourthworld.com> Message-ID: I come from the corporate world and the MTBF and cost of ownership of laptops was so high that we had to get a VP signoff for many years to approve purchase of laptops. Also have the theft issue but we actually had office desktops stolen during long weekends a few times. This is from one of the most secure telecommunications networks in the world! Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com From psahores at free.fr Sun Aug 1 13:34:48 2010 From: psahores at free.fr (Pierre Sahores) Date: Sun, 1 Aug 2010 19:34:48 +0200 Subject: MacBook core i7 : a real powerfull laptop or a sadly build toy ? In-Reply-To: <8B630CE4-ACDC-4434-943F-8D3B4A3D3213@earthlink.net> References: <2BFF029C-F852-4317-9B70-CA2CD7C1076B@free.fr> <8B630CE4-ACDC-4434-943F-8D3B4A3D3213@earthlink.net> Message-ID: Hi Marian, Both my laptops are installed on such aluminium + additional fans USB tablets ... but only the ASUS fans are running at less than < 3000 t/mn while the 720QM 8 virtual cores are 100% used on a 24/7 basis ;-) Best, Pierre Le 1 ao?t 2010 ? 17:33, Petrides, M.D. Marian a ?crit : > Thanks for the heads up, Pierre. If I replaced my MBP (unlikely since it is almost new), I probably would have gone for the high end one. Now I'll be thinking twice. > > BTW, have you tried lifting the MBP up from the table surface a little? I put those little circular felt furniture pads (the ones with self-adhesive built in) on the bottom of my MBPs to raise the laptop up slightly more than the Apple-installed "feet" do and find that really helps with heat dissipation. YMMV. > > On Aug 1, 2010, at 5:58 AM, Pierre Sahores wrote: > >> In beetwin us (part 2) ... >> >> I owned lots of macs over the years, from a PWB 160 to the last MBP core i7 15" and you know what : the best of all in them was always the operating system 0S 7/8/9 and OSX. The bad thing in them was the construction quality - one time good (as the best of alls : PWB G4 12" 1 Ghz), one time sadly bad (as the sadest of all : PWB 5300 cs, three time rebuild to new by Apple). >> >> How to position the MacBook Pro core 620-i7 15" i purchased in the late of april ? >> >> If you just need to run one of its four virtual cores at once, it's OK but if you want to use it in running apps on its four virtual core in 24/7 mode, don't expect that this unibody laptop will support it for weeks. Instead of letting the processors fans turns all the day at 6000 t/mn as soon as 3 virtual cores are at work, the best to do is to switch to a more seriously build 720-i7 PC laptop (height virtual cores) able to run at 100% of its available power without becoming too hot even after months (i'm very happy with my ASUS 14" i payed half the price of the MBP). >> >> If i had to choose what MBP to purchase instead of the core i7 i owns today, i would certainly take a dual-core instead. The unibody is definitively not suited to embed the core i5/i7 processors... >> >> Best, >> >> -- >> Pierre Sahores >> mobile : (33) 6 03 95 77 70 >> >> www.woooooooords.com >> www.sahores-conseil.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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From psahores at free.fr Sun Aug 1 13:42:02 2010 From: psahores at free.fr (Pierre Sahores) Date: Sun, 1 Aug 2010 19:42:02 +0200 Subject: MacBook core i7 : a real powerfull laptop or a sadly build toy ? In-Reply-To: <4C559D70.5050303@fourthworld.com> References: <4C559D70.5050303@fourthworld.com> Message-ID: True, but, to be honest, the first use of my MBP is devlopment and for this, it's realy a cool "pen" tool ;-) Any tought to share about the new macmini (i went always very happy with all the G4 and Intel's ones i got for my self or clients) ? Kind Regards, Pierre Le 1 ao?t 2010 ? 18:14, Richard Gaskin a ?crit : > Your story is among the reasons why I'm increasingly leaning toward building my own systems. > > Start with a barebones shell and customize as you like, and you get a solid 24/7 system that'll hold up well, for cheap and with total control over the selection of components that go into it.... > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > 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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From benr_mc at cogapp.com Sun Aug 1 13:34:03 2010 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Sun, 01 Aug 2010 18:34:03 +0100 Subject: EXIF parser In-Reply-To: References: Message-ID: <4C55B00B.9010900@cogapp.com> On 31/07/2010 18:39, Mark Schonewille wrote: > For a client of mine, i have created a library that uses ExifTools > http://qurl.tk/eb . My library uses an additional .exe file on Windows > and a .bundle on Mac OS X (which also includes a command line app). Hi Mark, Just to be clear, is this using shell or similar to access the ExifTools command line app, or have you bundled the code into a Rev external? Ben From psahores at free.fr Sun Aug 1 13:43:58 2010 From: psahores at free.fr (Pierre Sahores) Date: Sun, 1 Aug 2010 19:43:58 +0200 Subject: MacBook core i7 : a real powerfull laptop or a sadly build toy ? In-Reply-To: References: <4C559D70.5050303@fourthworld.com> Message-ID: An MBP I7 ? Best, Pierre Le 1 ao?t 2010 ? 19:25, william humphrey a ?crit : > I run my laptop 24/7 - it's a macbook pro. I think the hardware that I > run 24/7 tends to work longer than the machines I let sit idle (but I > live in the rainforest so the electronics in probably gets corroded). > _______________________________________________ > 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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From bvlahos at mac.com Sun Aug 1 13:45:30 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 01 Aug 2010 10:45:30 -0700 Subject: MacBook core i7 : a real powerfull laptop or a sadly build toy ? In-Reply-To: <2BFF029C-F852-4317-9B70-CA2CD7C1076B@free.fr> References: <2BFF029C-F852-4317-9B70-CA2CD7C1076B@free.fr> Message-ID: This doesn't match my experience at all. I have a 15" i7 MacBook Pro with a solid state drive as my primary computer running lots of programs at once. I'm routinely using multiple cores and I don't have any heat problems. In fact, I have in on a base with a fan and it runs so cool I don't even have the fans running. This is the quietest and coolest Mac laptop I've had in a long time. The solid state drive is eerily quiet and I'm guessing one of the reasons it is running so cool. This isn't a server but I run it pretty hard. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Aug 1, 2010, at 3:58 AM, Pierre Sahores wrote: > In beetwin us (part 2) ... > > I owned lots of macs over the years, from a PWB 160 to the last MBP core i7 15" and you know what : the best of all in them was always the operating system 0S 7/8/9 and OSX. The bad thing in them was the construction quality - one time good (as the best of alls : PWB G4 12" 1 Ghz), one time sadly bad (as the sadest of all : PWB 5300 cs, three time rebuild to new by Apple). > > How to position the MacBook Pro core 620-i7 15" i purchased in the late of april ? > > If you just need to run one of its four virtual cores at once, it's OK but if you want to use it in running apps on its four virtual core in 24/7 mode, don't expect that this unibody laptop will support it for weeks. Instead of letting the processors fans turns all the day at 6000 t/mn as soon as 3 virtual cores are at work, the best to do is to switch to a more seriously build 720-i7 PC laptop (height virtual cores) able to run at 100% of its available power without becoming too hot even after months (i'm very happy with my ASUS 14" i payed half the price of the MBP). > > If i had to choose what MBP to purchase instead of the core i7 i owns today, i would certainly take a dual-core instead. The unibody is definitively not suited to embed the core i5/i7 processors... > > Best, > > -- > Pierre Sahores > mobile : (33) 6 03 95 77 70 > > www.woooooooords.com > www.sahores-conseil.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 admin at FlexibleLearning.com Sun Aug 1 13:47:16 2010 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Sun, 1 Aug 2010 18:47:16 +0100 Subject: EXIF parser In-Reply-To: <20100801170007.999B0288032@mail.runrev.com> Message-ID: Thanks for the responses. Hugh From psahores at free.fr Sun Aug 1 13:52:12 2010 From: psahores at free.fr (Pierre Sahores) Date: Sun, 1 Aug 2010 19:52:12 +0200 Subject: MacBook core i7 : a real powerfull laptop or a sadly build toy ? In-Reply-To: References: <2BFF029C-F852-4317-9B70-CA2CD7C1076B@free.fr> Message-ID: <2EF39211-AC99-4921-91DB-2EBDBA365BC3@free.fr> Interesting ! Perhaps has this to be verified sieral per serial of MBPs or perhaps would i have to replace my 1.8 inches internal hard drive by a solid state one ? Thanks anyway for your feedback ! Pierre Le 1 ao?t 2010 ? 19:45, Bill Vlahos a ?crit : > This doesn't match my experience at all. > > I have a 15" i7 MacBook Pro with a solid state drive as my primary computer running lots of programs at once. I'm routinely using multiple cores and I don't have any heat problems. In fact, I have in on a base with a fan and it runs so cool I don't even have the fans running. This is the quietest and coolest Mac laptop I've had in a long time. The solid state drive is eerily quiet and I'm guessing one of the reasons it is running so cool. > > This isn't a server but I run it pretty hard. > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. > > On Aug 1, 2010, at 3:58 AM, Pierre Sahores wrote: > >> In beetwin us (part 2) ... >> >> I owned lots of macs over the years, from a PWB 160 to the last MBP core i7 15" and you know what : the best of all in them was always the operating system 0S 7/8/9 and OSX. The bad thing in them was the construction quality - one time good (as the best of alls : PWB G4 12" 1 Ghz), one time sadly bad (as the sadest of all : PWB 5300 cs, three time rebuild to new by Apple). >> >> How to position the MacBook Pro core 620-i7 15" i purchased in the late of april ? >> >> If you just need to run one of its four virtual cores at once, it's OK but if you want to use it in running apps on its four virtual core in 24/7 mode, don't expect that this unibody laptop will support it for weeks. Instead of letting the processors fans turns all the day at 6000 t/mn as soon as 3 virtual cores are at work, the best to do is to switch to a more seriously build 720-i7 PC laptop (height virtual cores) able to run at 100% of its available power without becoming too hot even after months (i'm very happy with my ASUS 14" i payed half the price of the MBP). >> >> If i had to choose what MBP to purchase instead of the core i7 i owns today, i would certainly take a dual-core instead. The unibody is definitively not suited to embed the core i5/i7 processors... >> >> Best, >> >> -- >> Pierre Sahores >> mobile : (33) 6 03 95 77 70 >> >> www.woooooooords.com >> www.sahores-conseil.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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From m.schonewille at economy-x-talk.com Sun Aug 1 14:12:48 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 1 Aug 2010 20:12:48 +0200 Subject: EXIF parser In-Reply-To: <4C55B00B.9010900@cogapp.com> References: <4C55B00B.9010900@cogapp.com> Message-ID: <319E3F76-B0BC-40FB-8F0C-7DFA3D37885F@economy-x-talk.com> Dear Ben, My library uses the shell to run ExifTools. For Mac OS X, I have put everything into a bundle, while for Windows one exe file is sufficient. An external would be great. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 1 aug 2010, at 19:34, Ben Rubinstein wrote: > > Hi Mark, > > Just to be clear, is this using shell or similar to access the > ExifTools command line app, or have you bundled the code into a Rev > external? > > Ben From support at ahsomme.com Sun Aug 1 15:06:05 2010 From: support at ahsomme.com (Paul Looney) Date: Sun, 1 Aug 2010 12:06:05 -0700 Subject: MacBook core i7 : Mac Mini In-Reply-To: References: <4C559D70.5050303@fourthworld.com> Message-ID: <47EA0297-6DF9-43B8-8118-F76EC1D0FEB1@ahsomme.com> Pierre, I have a laptop and a Mini. My customers have hundreds of Minis. We've only had two Minis fail. Both were early G4s. Both failures were the Firewire ports on the motherboard. Everyone really likes these little computers. An advantage of the Mini over the iMac is that it will cost less over time. With the iMac, one is replacing everything. With the first Mini the cost will nearly equal an iMac (especially with a good monitor, good keyboard, and good mouse). But the next round costs much less (approx. $700 vs approx. $1300 for another iMac). A third or fourth round gets a new Mini with similar savings over a third or fourth iMac. As Apple markets them, a current Mini will probably never be as fast as a current iMac but you can afford to replace the Mini twice as often. The price difference will also get you an SSD. My Mini has an Intel X25-E SSD. What a difference! Startup and application launch takes 1/10th the time. On the Mini I use a utility called "SmartSleep". It is a UI for the Terminal deep sleep command. When I choose "Sleep" now the Mini saves RAM to the SSD and shuts down (takes a little longer to "sleep" but not much). On start up (which also takes just a bit longer) everything is loaded back into RAM and the screen is just as I left it. I think it is the best of "shut down" and "sleep" - without requiring a battery. I'd use the Mini instead of a laptop on the road if I could find a 17", 1920 x 1200 monitor - seems the only one of those is in the MBP 17". [By "good keyboard" I mean an $80 Unicomp Model "M" with Mac keycaps (you have to call and ask for those - should last a couple decades.] Paul Looney On Aug 1, 2010, at 10:42 AM, Pierre Sahores wrote: > True, but, to be honest, the first use of my MBP is devlopment and > for this, it's realy a cool "pen" tool ;-) > > Any tought to share about the new macmini (i went always very happy > with all the G4 and Intel's ones i got for my self or clients) ? > > Kind Regards, Pierre > > Le 1 ao?t 2010 ? 18:14, Richard Gaskin a ?crit : > >> Your story is among the reasons why I'm increasingly leaning >> toward building my own systems. >> >> Start with a barebones shell and customize as you like, and you >> get a solid 24/7 system that'll hold up well, for cheap and with >> total control over the selection of components that go into it.... >> >> -- >> Richard Gaskin >> Fourth World >> Rev training and consulting: http://www.fourthworld.com >> Webzine for Rev developers: http://www.revjournal.com >> revJournal blog: http://revjournal.com/blog.irv >> _______________________________________________ >> 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 >> > > -- > Pierre Sahores > mobile : (33) 6 03 95 77 70 > > www.woooooooords.com > www.sahores-conseil.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 monte at sweattechnologies.com Sun Aug 1 20:31:21 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 2 Aug 2010 10:31:21 +1000 Subject: on-rev facebook api Message-ID: <75459507-A877-4528-B5D1-BEBB9FE31F9B@sweattechnologies.com> Hi Is there anyone working on the facebook api for revServer? I'm keen to work on it if anyone else is interested. Cheers Monte From andre at andregarzia.com Sun Aug 1 20:42:29 2010 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 1 Aug 2010 21:42:29 -0300 Subject: on-rev facebook api In-Reply-To: <75459507-A877-4528-B5D1-BEBB9FE31F9B@sweattechnologies.com> References: <75459507-A877-4528-B5D1-BEBB9FE31F9B@sweattechnologies.com> Message-ID: Monte, I started but stopped, we could join in a open source initiative if you think it is ok. :D Andre On Sun, Aug 1, 2010 at 9:31 PM, Monte Goulding wrote: > Hi > > Is there anyone working on the facebook api for revServer? I'm keen to work > on it if anyone else is interested. > > Cheers > > Monte_______________________________________________ > 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 saxtell at neb.rr.com Sun Aug 1 16:38:46 2010 From: saxtell at neb.rr.com (Steven Axtell) Date: Sun, 1 Aug 2010 15:38:46 -0500 Subject: Checking Monitor Resolution Message-ID: Is there a command that can be used to check the monitor resolution? In an application I am developing, I want to determine the monitor rresolution that the user is using. Thanks, Steven Axtell From monte at sweattechnologies.com Sun Aug 1 21:51:17 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 2 Aug 2010 11:51:17 +1000 Subject: on-rev facebook api In-Reply-To: References: <75459507-A877-4528-B5D1-BEBB9FE31F9B@sweattechnologies.com> Message-ID: <90221D75-7417-448B-99FE-08A36FE5AF0B@sweattechnologies.com> Hi Andre good plan ;-) Cheers Monte On 02/08/2010, at 10:42 AM, Andre Garzia wrote: > Monte, > > I started but stopped, we could join in a open source initiative if you > think it is ok. > > :D > > Andre > > On Sun, Aug 1, 2010 at 9:31 PM, Monte Goulding > wrote: > >> Hi >> >> Is there anyone working on the facebook api for revServer? I'm keen to work >> on it if anyone else is interested. >> >> Cheers >> >> Monte_______________________________________________ >> 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 saxtell at neb.rr.com Sun Aug 1 21:57:17 2010 From: saxtell at neb.rr.com (Steven Axtell) Date: Sun, 1 Aug 2010 20:57:17 -0500 Subject: Determining Monitor Resolution Message-ID: <684CDEF55D0F422CB2552E3497ED8948@axtell> Is there a command that can be used to check the monitor resolution for a Windows PC? I want to be able to determine what monitor resolution the user is using when they are running my application. Thanks, Steven Axtell From jacque at hyperactivesw.com Sun Aug 1 22:36:38 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 01 Aug 2010 21:36:38 -0500 Subject: Determining Monitor Resolution In-Reply-To: <684CDEF55D0F422CB2552E3497ED8948@axtell> References: <684CDEF55D0F422CB2552E3497ED8948@axtell> Message-ID: <4C562F36.70300@hyperactivesw.com> On 8/1/10 8:57 PM, Steven Axtell wrote: > Is there a command that can be used to check the monitor resolution > for a Windows PC? I want to be able to determine what monitor > resolution the user is using when they are running my application. Try "the screenrect". If you need to know the available space without the OS pieces (taskbar, dock, menus, etc,) use the "working screenrect". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From saxtell at neb.rr.com Mon Aug 2 00:08:10 2010 From: saxtell at neb.rr.com (Steven Axtell) Date: Sun, 1 Aug 2010 23:08:10 -0500 Subject: Determining Monitor Resolution References: <684CDEF55D0F422CB2552E3497ED8948@axtell> <4C562F36.70300@hyperactivesw.com> Message-ID: Thanks Jacqueline. Steve On 8/1/10 8:57 PM, Steven Axtell wrote: > Is there a command that can be used to check the monitor resolution > for a Windows PC? I want to be able to determine what monitor > resolution the user is using when they are running my application. Try "the screenrect". If you need to know the available space without the OS pieces (taskbar, dock, menus, etc,) use the "working screenrect". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From psahores at free.fr Mon Aug 2 00:40:31 2010 From: psahores at free.fr (Pierre Sahores) Date: Mon, 2 Aug 2010 06:40:31 +0200 Subject: MacBook core i7 : Mac Mini In-Reply-To: <47EA0297-6DF9-43B8-8118-F76EC1D0FEB1@ahsomme.com> References: <4C559D70.5050303@fourthworld.com> <47EA0297-6DF9-43B8-8118-F76EC1D0FEB1@ahsomme.com> Message-ID: <1636DC21-6820-458D-953D-053993F87C94@free.fr> Thanks for those detailed infos, Paul. Kind Regards, Pierre Le 1 ao?t 2010 ? 21:06, Paul Looney a ?crit : > Pierre, > I have a laptop and a Mini. > My customers have hundreds of Minis. > We've only had two Minis fail. Both were early G4s. Both failures were the Firewire ports on the motherboard. > Everyone really likes these little computers. > An advantage of the Mini over the iMac is that it will cost less over time. With the iMac, one is replacing everything. With the first Mini the cost will nearly equal an iMac (especially with a good monitor, good keyboard, and good mouse). But the next round costs much less (approx. $700 vs approx. $1300 for another iMac). A third or fourth round gets a new Mini with similar savings over a third or fourth iMac. > As Apple markets them, a current Mini will probably never be as fast as a current iMac but you can afford to replace the Mini twice as often. The price difference will also get you an SSD. > My Mini has an Intel X25-E SSD. What a difference! Startup and application launch takes 1/10th the time. > On the Mini I use a utility called "SmartSleep". It is a UI for the Terminal deep sleep command. When I choose "Sleep" now the Mini saves RAM to the SSD and shuts down (takes a little longer to "sleep" but not much). On start up (which also takes just a bit longer) everything is loaded back into RAM and the screen is just as I left it. I think it is the best of "shut down" and "sleep" - without requiring a battery. > I'd use the Mini instead of a laptop on the road if I could find a 17", 1920 x 1200 monitor - seems the only one of those is in the MBP 17". > > [By "good keyboard" I mean an $80 Unicomp Model "M" with Mac keycaps (you have to call and ask for those - should last a couple decades.] > > Paul Looney > > > On Aug 1, 2010, at 10:42 AM, Pierre Sahores wrote: > >> True, but, to be honest, the first use of my MBP is devlopment and for this, it's realy a cool "pen" tool ;-) >> >> Any tought to share about the new macmini (i went always very happy with all the G4 and Intel's ones i got for my self or clients) ? >> >> Kind Regards, Pierre >> >> Le 1 ao?t 2010 ? 18:14, Richard Gaskin a ?crit : >> >>> Your story is among the reasons why I'm increasingly leaning toward building my own systems. >>> >>> Start with a barebones shell and customize as you like, and you get a solid 24/7 system that'll hold up well, for cheap and with total control over the selection of components that go into it.... >>> >>> -- >>> Richard Gaskin >>> Fourth World >>> Rev training and consulting: http://www.fourthworld.com >>> Webzine for Rev developers: http://www.revjournal.com >>> revJournal blog: http://revjournal.com/blog.irv >>> _______________________________________________ >>> 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 >>> >> >> -- >> Pierre Sahores >> mobile : (33) 6 03 95 77 70 >> >> www.woooooooords.com >> www.sahores-conseil.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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From rman at free.fr Mon Aug 2 06:57:54 2010 From: rman at free.fr (Robert Mann) Date: Mon, 2 Aug 2010 03:57:54 -0700 (PDT) Subject: on-rev facebook api In-Reply-To: <75459507-A877-4528-B5D1-BEBB9FE31F9B@sweattechnologies.com> References: <75459507-A877-4528-B5D1-BEBB9FE31F9B@sweattechnologies.com> Message-ID: <1280746674215-2310156.post@n4.nabble.com> Hi from France, id'b glad to join i too. I decided to invest quite a bit of NRJ on on-rev. I suggest to build a library that is compatible with revIgniter, and possibly launch a revIgniter open source shared modules; I planned to release my paypal module there too! RObert -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-facebook-api-tp2309806p2310156.html Sent from the Revolution - User mailing list archive at Nabble.com. From rman at free.fr Mon Aug 2 07:02:19 2010 From: rman at free.fr (Robert Mann) Date: Mon, 2 Aug 2010 04:02:19 -0700 (PDT) Subject: on-rev facebook api In-Reply-To: <75459507-A877-4528-B5D1-BEBB9FE31F9B@sweattechnologies.com> References: <75459507-A877-4528-B5D1-BEBB9FE31F9B@sweattechnologies.com> Message-ID: <1280746939956-2310164.post@n4.nabble.com> Now I'm just quite concerned by a piece of news that comes from our R*d*o friends : it seems that there is a severe limitation on processes time length that affects revServer. I'll make a new thread to gather all revServer intelligensia on it.. RObert -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-facebook-api-tp2309806p2310164.html Sent from the Revolution - User mailing list archive at Nabble.com. From rman at free.fr Mon Aug 2 07:11:37 2010 From: rman at free.fr (Robert Mann) Date: Mon, 2 Aug 2010 04:11:37 -0700 (PDT) Subject: [revServer] process timeout issue Message-ID: <1280747497634-2310168.post@n4.nabble.com> Hi ! Our r*d*o friends that are up front in delivering a real size revServer application, seem to be head-to-front against a severe limitation of revserver. This limitation seems so severe that they seem to plan to move.. to PHP! (cf. rodeo main page). I personnaly did invest some time an money on on-rev and am planning to deploy some first real size applications using on-rev. So this piece of news is like a bomb and I call all revServer concerned intelligence to gather and share their views, test results, etc on this particular subject as well as on the more general subject of up-scaling from play test apps with on-rev to real size projects. I'll soon post there my test results. Please, this is NOT yet a new r$d*o discussion, this is a revServer discussion. Thanks to all for keeping it in that line! Have a nice day though, RObert! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/revServer-process-timeout-issue-tp2310168p2310168.html Sent from the Revolution - User mailing list archive at Nabble.com. From andre at andregarzia.com Mon Aug 2 08:52:11 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 2 Aug 2010 09:52:11 -0300 Subject: on-rev facebook api In-Reply-To: <1280746939956-2310164.post@n4.nabble.com> References: <75459507-A877-4528-B5D1-BEBB9FE31F9B@sweattechnologies.com> <1280746939956-2310164.post@n4.nabble.com> Message-ID: Robert, Could you please explain this, what is R*d*o? Cheers andre On Mon, Aug 2, 2010 at 8:02 AM, Robert Mann wrote: > > Now I'm just quite concerned by a piece of news that comes from our R*d*o > friends : it seems that there is a severe limitation on processes time > length that affects revServer. I'll make a new thread to gather all > revServer intelligensia on it.. RObert > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/on-rev-facebook-api-tp2309806p2310164.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 andre at andregarzia.com Mon Aug 2 08:54:21 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 2 Aug 2010 09:54:21 -0300 Subject: [revServer] process timeout issue In-Reply-To: <1280747497634-2310168.post@n4.nabble.com> References: <1280747497634-2310168.post@n4.nabble.com> Message-ID: sorry for being delusional but I believe there is no unix problem that I can't solve (given time, tea and chocolates). What is happening? I am not a r*d*o customer but I am a heavy revServer guy, so I can probably help On Mon, Aug 2, 2010 at 8:11 AM, Robert Mann wrote: > > Hi ! Our r*d*o friends that are up front in delivering a real size > revServer > application, seem to be head-to-front against a severe limitation of > revserver. This limitation seems so severe that they seem to plan to move.. > to PHP! (cf. rodeo main page). > > I personnaly did invest some time an money on on-rev and am planning to > deploy some first real size applications using on-rev. > > So this piece of news is like a bomb and I call all revServer concerned > intelligence to gather and share their views, test results, etc on this > particular subject as well as on the more general subject of up-scaling > from > play test apps with on-rev to real size projects. I'll soon post there my > test results. > > Please, this is NOT yet a new r$d*o discussion, this is a revServer > discussion. Thanks to all for keeping it in that line! > > Have a nice day though, RObert! > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/revServer-process-timeout-issue-tp2310168p2310168.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 klaus at major.on-rev.com Mon Aug 2 08:56:19 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 2 Aug 2010 14:56:19 +0200 Subject: on-rev facebook api In-Reply-To: References: <75459507-A877-4528-B5D1-BEBB9FE31F9B@sweattechnologies.com> <1280746939956-2310164.post@n4.nabble.com> Message-ID: <201BDC7D-DF31-4C5C-8041-E1C40D98B25F@major.on-rev.com> Hi Andre, > Robert, > > Could you please explain this, what is R*d*o? just add an "o" and "e" in the appropriate places :-) > Cheers > andre Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From mikekann at yahoo.com Mon Aug 2 09:08:55 2010 From: mikekann at yahoo.com (Michael Kann) Date: Mon, 2 Aug 2010 06:08:55 -0700 (PDT) Subject: [revServer] process timeout issue In-Reply-To: Message-ID: <554918.9092.qm@web56707.mail.re3.yahoo.com> Andre, The problem is that the Rodeo has become a Stampede. Mike --- On Mon, 8/2/10, Andre Garzia wrote: From: Andre Garzia Subject: Re: [revServer] process timeout issue To: "How to use Revolution" Date: Monday, August 2, 2010, 7:54 AM sorry for being delusional but I believe there is no unix problem that I can't solve (given time, tea and chocolates). What is happening? I am not a r*d*o customer but I am a heavy revServer guy, so I can probably help On Mon, Aug 2, 2010 at 8:11 AM, Robert Mann wrote: > > Hi ! Our r*d*o friends that are up front in delivering a real size > revServer > application, seem to be head-to-front against a severe limitation of > revserver. This limitation seems so severe that they seem to plan to move.. > to PHP! (cf. rodeo main page). > > I personnaly did invest some time an money on on-rev and am planning to > deploy some first real size applications using on-rev. > > So this piece of news is like a bomb and I call all revServer concerned > intelligence to gather and share their views, test results, etc on this > particular subject as well as on the more general subject of up-scaling > from > play test apps with on-rev to real size projects. I'll soon post there my > test results. > > Please, this is NOT yet a new r$d*o discussion, this is a revServer > discussion. Thanks to all for keeping it in that line! > > Have a nice day though, RObert! > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/revServer-process-timeout-issue-tp2310168p2310168.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 From andre at andregarzia.com Mon Aug 2 09:11:53 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 2 Aug 2010 10:11:53 -0300 Subject: on-rev facebook api In-Reply-To: <201BDC7D-DF31-4C5C-8041-E1C40D98B25F@major.on-rev.com> References: <75459507-A877-4528-B5D1-BEBB9FE31F9B@sweattechnologies.com> <1280746939956-2310164.post@n4.nabble.com> <201BDC7D-DF31-4C5C-8041-E1C40D98B25F@major.on-rev.com> Message-ID: Klaus, sorry, I should have noticed this. Its morning here, not enough blood at my tea stream right now... On Mon, Aug 2, 2010 at 9:56 AM, Klaus on-rev wrote: > Hi Andre, > > > Robert, > > > > Could you please explain this, what is R*d*o? > > just add an "o" and "e" in the appropriate places :-) > > > Cheers > > andre > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.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 jerry.daniels at me.com Mon Aug 2 09:22:11 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 2 Aug 2010 08:22:11 -0500 Subject: [revServer] process timeout issue In-Reply-To: <554918.9092.qm@web56707.mail.re3.yahoo.com> References: <554918.9092.qm@web56707.mail.re3.yahoo.com> Message-ID: Mike, The problem is not the number of people using Rodeo and thus going against the revServer. The issue with revServer stuttering or hiccuping sporadically was there when we had two users, and it is still there with hundreds of users. Our solution to the timeout limitation is to just send the request to the server again. But we do not want to release a product that requires this. No one is complaining about Rodeo's revServer performance, except Sarah and I. Why? Because we load and performance test our software and didn't like what we found. So we announced we are switching to PHP because of it. RevServer may suit your tasks perfectly well. The initial building of CGIs is certainly fast. We have concerns regarding this timeout issue and are not going to wait for a fix. We factored our code for an easy transfer to PHP from the beginning, anticipating there might be issues with revServer. Hope that helps, Jerry Daniels Follow the Rodeo discussion: http://rodeoapps.com/discuss-among-yourselves-0 On Aug 2, 2010, at 8:08 AM, Michael Kann wrote: > Andre, > > The problem is that the Rodeo has become a Stampede. > > Mike > > --- On Mon, 8/2/10, Andre Garzia wrote: > > From: Andre Garzia > Subject: Re: [revServer] process timeout issue > To: "How to use Revolution" > Date: Monday, August 2, 2010, 7:54 AM > > sorry for being delusional but I believe there is no unix problem that I > can't solve (given time, tea and chocolates). What is happening? > > I am not a r*d*o customer but I am a heavy revServer guy, so I can probably > help > > On Mon, Aug 2, 2010 at 8:11 AM, Robert Mann wrote: > >> >> Hi ! Our r*d*o friends that are up front in delivering a real size >> revServer >> application, seem to be head-to-front against a severe limitation of >> revserver. This limitation seems so severe that they seem to plan to move.. >> to PHP! (cf. rodeo main page). >> >> I personnaly did invest some time an money on on-rev and am planning to >> deploy some first real size applications using on-rev. >> >> So this piece of news is like a bomb and I call all revServer concerned >> intelligence to gather and share their views, test results, etc on this >> particular subject as well as on the more general subject of up-scaling >> from >> play test apps with on-rev to real size projects. I'll soon post there my >> test results. >> >> Please, this is NOT yet a new r$d*o discussion, this is a revServer >> discussion. Thanks to all for keeping it in that line! >> >> Have a nice day though, RObert! >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/revServer-process-timeout-issue-tp2310168p2310168.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 > > > > > _______________________________________________ > 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 Mon Aug 2 09:32:45 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 2 Aug 2010 10:32:45 -0300 Subject: [revServer] process timeout issue In-Reply-To: References: <554918.9092.qm@web56707.mail.re3.yahoo.com> Message-ID: Jerry, If you think it still worth it, contact me privately, we can try to pinpoint where the hiccup happens, maybe it is not the core engine but some external such as revdb. I've never seen revServer hiccup but I am not under intense fire such as rodeo server. Cheers and keep up the good work! Andre On Mon, Aug 2, 2010 at 10:22 AM, Jerry Daniels wrote: > Mike, > > The problem is not the number of people using Rodeo and thus going against > the revServer. > > The issue with revServer stuttering or hiccuping sporadically was there > when we had two users, and it is still there with hundreds of users. > > Our solution to the timeout limitation is to just send the request to the > server again. But we do not want to release a product that requires this. > > No one is complaining about Rodeo's revServer performance, except Sarah and > I. Why? Because we load and performance test our software and didn't like > what we found. So we announced we are switching to PHP because of it. > > RevServer may suit your tasks perfectly well. The initial building of CGIs > is certainly fast. We have concerns regarding this timeout issue and are not > going to wait for a fix. We factored our code for an easy transfer to PHP > from the beginning, anticipating there might be issues with revServer. > > Hope that helps, > > Jerry Daniels > > Follow the Rodeo discussion: > http://rodeoapps.com/discuss-among-yourselves-0 > > > On Aug 2, 2010, at 8:08 AM, Michael Kann wrote: > > > Andre, > > > > The problem is that the Rodeo has become a Stampede. > > > > Mike > > > > --- On Mon, 8/2/10, Andre Garzia wrote: > > > > From: Andre Garzia > > Subject: Re: [revServer] process timeout issue > > To: "How to use Revolution" > > Date: Monday, August 2, 2010, 7:54 AM > > > > sorry for being delusional but I believe there is no unix problem that I > > can't solve (given time, tea and chocolates). What is happening? > > > > I am not a r*d*o customer but I am a heavy revServer guy, so I can > probably > > help > > > > On Mon, Aug 2, 2010 at 8:11 AM, Robert Mann wrote: > > > >> > >> Hi ! Our r*d*o friends that are up front in delivering a real size > >> revServer > >> application, seem to be head-to-front against a severe limitation of > >> revserver. This limitation seems so severe that they seem to plan to > move.. > >> to PHP! (cf. rodeo main page). > >> > >> I personnaly did invest some time an money on on-rev and am planning to > >> deploy some first real size applications using on-rev. > >> > >> So this piece of news is like a bomb and I call all revServer concerned > >> intelligence to gather and share their views, test results, etc on this > >> particular subject as well as on the more general subject of up-scaling > >> from > >> play test apps with on-rev to real size projects. I'll soon post there > my > >> test results. > >> > >> Please, this is NOT yet a new r$d*o discussion, this is a revServer > >> discussion. Thanks to all for keeping it in that line! > >> > >> Have a nice day though, RObert! > >> -- > >> View this message in context: > >> > http://runtime-revolution.278305.n4.nabble.com/revServer-process-timeout-issue-tp2310168p2310168.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 > > > > > > > > > > _______________________________________________ > > 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 mikekann at yahoo.com Mon Aug 2 10:08:17 2010 From: mikekann at yahoo.com (Michael Kann) Date: Mon, 2 Aug 2010 07:08:17 -0700 (PDT) Subject: [revServer] process timeout issue In-Reply-To: Message-ID: <787420.93650.qm@web56704.mail.re3.yahoo.com> Jerry, Does the "stuttering or hiccuping" always occur at the 30 second time limit? Or can it occur before then? Your incredible problem solving ability brings to mind a joke that I'm sure you'll understand. Why did the Texas chicken cross the road? -- answer way down at the bottom-- --- On Mon, 8/2/10, Jerry Daniels wrote: From: Jerry Daniels Subject: Re: [revServer] process timeout issue To: "How to use Revolution" Date: Monday, August 2, 2010, 8:22 AM Mike, The problem is not the number of people using Rodeo and thus going against the revServer. The issue with revServer stuttering or hiccuping sporadically was there when we had two users, and it is still there with hundreds of users. Our solution to the timeout limitation is to just send the request to the server again. But we do not want to release a product that requires this. No one is complaining about Rodeo's revServer performance, except Sarah and I. Why? Because we load and performance test our software and didn't like what we found. So we announced we are switching to PHP because of it. RevServer may suit your tasks perfectly well. The initial building of CGIs is certainly fast. We have concerns regarding this timeout issue and are not going to wait for a fix. We factored our code for an easy transfer to PHP from the beginning, anticipating there might be issues with revServer. Hope that helps, Jerry Daniels Follow the Rodeo discussion: http://rodeoapps.com/discuss-among-yourselves-0 On Aug 2, 2010, at 8:08 AM, Michael Kann wrote: > Andre, > > The problem is that the Rodeo has become a Stampede. > > Mike > > --- On Mon, 8/2/10, Andre Garzia wrote: > > From: Andre Garzia > Subject: Re: [revServer] process timeout issue > To: "How to use Revolution" > Date: Monday, August 2, 2010, 7:54 AM > > sorry for being delusional but I believe there is no unix problem that I > can't solve (given time, tea and chocolates). What is happening? > > I am not a r*d*o customer but I am a heavy revServer guy, so I can probably > help > > On Mon, Aug 2, 2010 at 8:11 AM, Robert Mann wrote: > >> >> Hi ! Our r*d*o friends that are up front in delivering a real size >> revServer >> application, seem to be head-to-front against a severe limitation of >> revserver. This limitation seems so severe that they seem to plan to move.. >> to PHP! (cf. rodeo main page). >> >> I personnaly did invest some time an money on on-rev and am planning to >> deploy some first real size applications using on-rev. >> >> So this piece of news is like a bomb and I call all revServer concerned >> intelligence to gather and share their views, test results, etc on this >> particular subject as well as on the more general subject of up-scaling >> from >> play test apps with on-rev to real size projects. I'll soon post there my >> test results. >> >> Please, this is NOT yet a new r$d*o discussion, this is a revServer >> discussion. Thanks to all for keeping it in that line! >> >> Have a nice day though, RObert! >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/revServer-process-timeout-issue-tp2310168p2310168.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 > > > > > _______________________________________________ > 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 Answer: To prove to the armadillo that "IT CAN BE DONE" Mike From ambassador at fourthworld.com Mon Aug 2 10:29:27 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Aug 2010 07:29:27 -0700 Subject: [revServer] process timeout issue Message-ID: <4C56D647.7010405@fourthworld.com> I agree there should be no such limit in any server-side engine, and would be willing to bet this was put into RevServer to protect the servers at on-rev.com and not intended for inclusion in the public release for use on other hosts. That said, 30 seconds is a LONG time on a server. In Internet time, it's close to "forever". Add normal network latency and browser rendering time to that and you've got some serious user expectation issues. What server-side process could need that much time, and how many users will wait for it? -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From jerry.daniels at me.com Mon Aug 2 10:51:46 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 2 Aug 2010 09:51:46 -0500 Subject: [revServer] process timeout issue In-Reply-To: <787420.93650.qm@web56704.mail.re3.yahoo.com> References: <787420.93650.qm@web56704.mail.re3.yahoo.com> Message-ID: <189FB0AC-AEC2-4BA8-A44D-720EFE908787@me.com> Michael, Good TX joke, btw! Better than any answer I could give. Based on Andrew's research (I believe it was a report he voluntarily did for Runrev) and our observations, the timeout is not 30 seconds for one process. We think there is some sort of pooling of processes (and possibly users) that are limited by 30 secs. We have seen the timeout in much shorter time spans. Andrew reports a 4 second time out. I know all that sounds pretty bad, but revServer is also very fast once it gets going. VERY fast. Rodeo users are not complaining about their server speeds, Sarah and I are unhappy with the performance because we load test it and see some requests take many seconds to complete and then the next identical request takes less than a second. We can't release a commercial product with this limitation. For the record, the testing we did was using the revServer engine 100% without revDB or anything like that. I'll let Andrew comment on that aspect of his timings. Best, Jerry Daniels Follow the Rodeo discussion: http://rodeoapps.com/discuss-among-yourselves-0 On Aug 2, 2010, at 9:08 AM, Michael Kann wrote: > Jerry, > > Does the "stuttering or hiccuping" always occur at the 30 second time limit? Or can it occur before then? > > Your incredible problem solving ability brings to mind a joke that I'm sure you'll understand. > > Why did the Texas chicken cross the road? > > -- answer way down at the bottom-- > > > > --- On Mon, 8/2/10, Jerry Daniels wrote: > > From: Jerry Daniels > Subject: Re: [revServer] process timeout issue > To: "How to use Revolution" > Date: Monday, August 2, 2010, 8:22 AM > > Mike, > > The problem is not the number of people using Rodeo and thus going against the revServer. > > The issue with revServer stuttering or hiccuping sporadically was there when we had two users, and it is still there with hundreds of users. > > Our solution to the timeout limitation is to just send the request to the server again. But we do not want to release a product that requires this. > > No one is complaining about Rodeo's revServer performance, except Sarah and I. Why? Because we load and performance test our software and didn't like what we found. So we announced we are switching to PHP because of it. > > RevServer may suit your tasks perfectly well. The initial building of CGIs is certainly fast. We have concerns regarding this timeout issue and are not going to wait for a fix. We factored our code for an easy transfer to PHP from the beginning, anticipating there might be issues with revServer. > > Hope that helps, > > Jerry Daniels > > Follow the Rodeo discussion: > http://rodeoapps.com/discuss-among-yourselves-0 > > > On Aug 2, 2010, at 8:08 AM, Michael Kann wrote: > >> Andre, >> >> The problem is that the Rodeo has become a Stampede. >> >> Mike >> >> --- On Mon, 8/2/10, Andre Garzia wrote: >> >> From: Andre Garzia >> Subject: Re: [revServer] process timeout issue >> To: "How to use Revolution" >> Date: Monday, August 2, 2010, 7:54 AM >> >> sorry for being delusional but I believe there is no unix problem that I >> can't solve (given time, tea and chocolates). What is happening? >> >> I am not a r*d*o customer but I am a heavy revServer guy, so I can probably >> help >> >> On Mon, Aug 2, 2010 at 8:11 AM, Robert Mann wrote: >> >>> >>> Hi ! Our r*d*o friends that are up front in delivering a real size >>> revServer >>> application, seem to be head-to-front against a severe limitation of >>> revserver. This limitation seems so severe that they seem to plan to move.. >>> to PHP! (cf. rodeo main page). >>> >>> I personnaly did invest some time an money on on-rev and am planning to >>> deploy some first real size applications using on-rev. >>> >>> So this piece of news is like a bomb and I call all revServer concerned >>> intelligence to gather and share their views, test results, etc on this >>> particular subject as well as on the more general subject of up-scaling >>> from >>> play test apps with on-rev to real size projects. I'll soon post there my >>> test results. >>> >>> Please, this is NOT yet a new r$d*o discussion, this is a revServer >>> discussion. Thanks to all for keeping it in that line! >>> >>> Have a nice day though, RObert! >>> -- >>> View this message in context: >>> http://runtime-revolution.278305.n4.nabble.com/revServer-process-timeout-issue-tp2310168p2310168.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 >> >> >> >> >> _______________________________________________ >> 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 > > Answer: > > To prove to the armadillo that "IT CAN BE DONE" > > Mike > > > > > _______________________________________________ > 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.daniels at me.com Mon Aug 2 10:52:23 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 2 Aug 2010 09:52:23 -0500 Subject: [revServer] process timeout issue In-Reply-To: <4C56D647.7010405@fourthworld.com> References: <4C56D647.7010405@fourthworld.com> Message-ID: <63CC9EE3-1E12-4ABC-83E6-1256745BCA00@me.com> Richard, read my recent post on this. On Aug 2, 2010, at 9:29 AM, Richard Gaskin wrote: > I agree there should be no such limit in any server-side engine, and would be willing to bet this was put into RevServer to protect the servers at on-rev.com and not intended for inclusion in the public release for use on other hosts. > > That said, 30 seconds is a LONG time on a server. In Internet time, it's close to "forever". Add normal network latency and browser rendering time to that and you've got some serious user expectation issues. > > What server-side process could need that much time, and how many users will wait for it? > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > 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 Aug 2 11:02:00 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Aug 2010 08:02:00 -0700 Subject: [revServer] process timeout issue Message-ID: <4C56DDE8.10309@fourthworld.com> Jerry wrote: > Based on Andrew's research (I believe it was a report he voluntarily > did for Runrev) and our observations, the timeout is not 30 seconds > for one process. We think there is some sort of pooling of processes > (and possibly users) that are limited by 30 secs. We have seen the > timeout in much shorter time spans. Andrew reports a 4 second time > out. Thanks for the clarification. Since RevServer spawns a separate process for each request, how and why does it bother limiting aggregate usage? I suspect this is a bug and will be addressed in the next build. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From jerry.daniels at me.com Mon Aug 2 11:08:52 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 2 Aug 2010 10:08:52 -0500 Subject: [revServer] process timeout issue In-Reply-To: <4C56DDE8.10309@fourthworld.com> References: <4C56DDE8.10309@fourthworld.com> Message-ID: Richard, For us, revServer is a black box that we don't have the time or inclination to deal with, at this point. Others, of course, may not be in the same situation we are in. I do think revServer has the most potential of all the products Runrev sells. It just needs some docs, and, perhaps fixes. JD On Aug 2, 2010, at 10:02 AM, Richard Gaskin wrote: > Jerry wrote: > > > Based on Andrew's research (I believe it was a report he voluntarily > > did for Runrev) and our observations, the timeout is not 30 seconds > > for one process. We think there is some sort of pooling of processes > > (and possibly users) that are limited by 30 secs. We have seen the > > timeout in much shorter time spans. Andrew reports a 4 second time > > out. > > Thanks for the clarification. > > Since RevServer spawns a separate process for each request, how and why does it bother limiting aggregate usage? > > I suspect this is a bug and will be addressed in the next build. > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > 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 psahores at free.fr Mon Aug 2 11:35:48 2010 From: psahores at free.fr (Pierre Sahores) Date: Mon, 2 Aug 2010 17:35:48 +0200 Subject: [revServer] process timeout issue In-Reply-To: <4C56D647.7010405@fourthworld.com> References: <4C56D647.7010405@fourthworld.com> Message-ID: <986A1180-B217-4A91-8A05-60DAB52465F8@free.fr> And, in my experience, most of both the end-users and Google don't like to wait more than 6-8 seconds for an acceptable page load in response to any request send to a production state n-tier app. About the question of the 64Mb memory limit, i just can't understand what kind of n-tier app request would need to use such an among of RAM ?!! Any explainations about such kind of needs in the Rodeo Env. would probably help us to purpose alternative ways to go... I builded lots of PHP3/4/5 (+ Rev) n-tiers apps over the 15 last years and my httpd + php.ini configs went always configured to limit the requests timout in betwin 30-60 seconds and the among of RAM allowed to each PHP request to 2-4 Mb. Hope this can help. Best, Pierre Le 2 ao?t 2010 ? 16:29, Richard Gaskin a ?crit : > That said, 30 seconds is a LONG time on a server. In Internet time, it's close to "forever". Add normal network latency and browser rendering time to that and you've got some serious user expectation issues. > > What server-side process could need that much time, and how many users will wait for it? -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From psahores at free.fr Mon Aug 2 11:54:14 2010 From: psahores at free.fr (Pierre Sahores) Date: Mon, 2 Aug 2010 17:54:14 +0200 Subject: [revServer] process timeout issue In-Reply-To: <189FB0AC-AEC2-4BA8-A44D-720EFE908787@me.com> References: <787420.93650.qm@web56704.mail.re3.yahoo.com> <189FB0AC-AEC2-4BA8-A44D-720EFE908787@me.com> Message-ID: <2D3C7020-EC89-4D18-A2CD-B9407B9FD54C@free.fr> Le 2 ao?t 2010 ? 16:51, Jerry Daniels a ?crit : > Sarah and I are unhappy with the performance because we load test it and see some requests take many seconds to complete and then the next identical request takes less than a second. Exact : i can see this happen with the early requests to woooooooords.com : The first request can, time to time, take around 20 secs. to get it's response back to the end-user's browser. After this first request, the next ones are always back to the user in less than some ticks. Could be a problem related to the RAM virtualisation of the RHEL5 host it self, httpd.conf, etc... and, please RunRev, we all need to get this fixed. Best, Pierre -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From jerry.daniels at me.com Mon Aug 2 11:57:53 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 2 Aug 2010 10:57:53 -0500 Subject: [revServer] process timeout issue In-Reply-To: <986A1180-B217-4A91-8A05-60DAB52465F8@free.fr> References: <4C56D647.7010405@fourthworld.com> <986A1180-B217-4A91-8A05-60DAB52465F8@free.fr> Message-ID: <40D9F320-7F38-4563-9F24-B7F3FAD67B9A@me.com> Pierre, We have actual Rodeo customers who do analytics, and these processes can last 8hrs. Our server farm will cater to such tastes. This is a very lucrative market. Best, Jerry Daniels Follow the Rodeo discussion: http://rodeoapps.com/discuss-among-yourselves-0 On Aug 2, 2010, at 10:35 AM, Pierre Sahores wrote: > About the question of the 64Mb memory limit, i just can't understand what kind of n-tier app request would need to use such an among of RAM ?!! Any explainations about such kind of needs in the Rodeo Env. would probably help us to purpose alternative ways to go... From jerry.daniels at me.com Mon Aug 2 11:59:00 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 2 Aug 2010 10:59:00 -0500 Subject: [revServer] process timeout issue In-Reply-To: <986A1180-B217-4A91-8A05-60DAB52465F8@free.fr> References: <4C56D647.7010405@fourthworld.com> <986A1180-B217-4A91-8A05-60DAB52465F8@free.fr> Message-ID: <72974C99-9676-492C-9E76-CA5ECCC81FD9@me.com> Pierre, It appears the requests are pooled or something because sometimes the timeouts are as low as 4 secs. Best, Jerry Daniels Follow the Rodeo discussion: http://rodeoapps.com/discuss-among-yourselves-0 On Aug 2, 2010, at 10:35 AM, Pierre Sahores wrote: > I builded lots of PHP3/4/5 (+ Rev) n-tiers apps over the 15 last years and my httpd + php.ini configs went always configured to limit the requests timout in betwin 30-60 seconds and the among of RAM allowed to each PHP request to 2-4 Mb. From jerry.daniels at me.com Mon Aug 2 12:02:36 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 2 Aug 2010 11:02:36 -0500 Subject: [revServer] process timeout issue In-Reply-To: <2D3C7020-EC89-4D18-A2CD-B9407B9FD54C@free.fr> References: <787420.93650.qm@web56704.mail.re3.yahoo.com> <189FB0AC-AEC2-4BA8-A44D-720EFE908787@me.com> <2D3C7020-EC89-4D18-A2CD-B9407B9FD54C@free.fr> Message-ID: Pierre, At first we thought revServer hiccup was a "wake-up call"--which is also not acceptable, but further investigation lead us to believe that is not the case. Some sort of pooling of requests within the 30 seconds seems a more logical explanation. However, this is academic to us. We've always factored our revServer code for the easiest possible migration to PHP, which we are now doing. Best, Jerry Daniels Follow the Rodeo discussion: http://rodeoapps.com/discuss-among-yourselves-0 On Aug 2, 2010, at 10:54 AM, Pierre Sahores wrote: > Exact : i can see this happen with the early requests to woooooooords.com : The first request can, time to time, take around 20 secs. to get it's response back to the end-user's browser. After this first request, the next ones are always back to the user in less than some ticks. Could be a problem related to the RAM virtualisation of the RHEL5 host it self, httpd.conf, etc... and, please RunRev, we all need to get this fixed. From ambassador at fourthworld.com Mon Aug 2 12:09:24 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Aug 2010 09:09:24 -0700 Subject: [revServer] process timeout issue Message-ID: <4C56EDB4.40603@fourthworld.com> Pierre Sahores wrote: > Exact : i can see this happen with the early requests to > woooooooords.com : The first request can, time to time, take > around 20 secs. to get it's response back to the end-user's > browser. After this first request, the next ones are always > back to the user in less than some ticks. Could be a problem > related to the RAM virtualisation of the RHEL5 host it self, > httpd.conf, etc... and, please RunRev, we all need to get > this fixed. Why not just use the CGI engine in the meantime? -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From andre at andregarzia.com Mon Aug 2 12:09:39 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 2 Aug 2010 13:09:39 -0300 Subject: [revServer] process timeout issue In-Reply-To: <2D3C7020-EC89-4D18-A2CD-B9407B9FD54C@free.fr> References: <787420.93650.qm@web56704.mail.re3.yahoo.com> <189FB0AC-AEC2-4BA8-A44D-720EFE908787@me.com> <2D3C7020-EC89-4D18-A2CD-B9407B9FD54C@free.fr> Message-ID: Pierre, I've just run 25 concurrent clients for 30 seconds against wooooooooords.comand no request failed. The report is as follow: Transactions: 81 hits Availability: 100.00 % Elapsed time: 29.82 secs Data transferred: 4.21 MB Response time: 8.35 secs Transaction rate: 2.72 trans/sec Throughput: 0.14 MB/sec Concurrency: 22.67 Successful transactions: 81 Failed transactions: 0 Longest transaction: 15.59 Shortest transaction: 3.39 You can see that the response time and transaction rate is pretty bad but this is probably due to my bad network but the good news is that your server sustained 25 concurrent clients for 30 seconds with no hiccup. You can also notice that there were requests that took 15 secs and others that took 3 secs, which is odd since they were all hitting the same page. What we can infer from this simple thing is that there are places that RevServer needs working but it also means we need more focus to find where and why it breaks. Andre On Mon, Aug 2, 2010 at 12:54 PM, Pierre Sahores wrote: > > Le 2 ao?t 2010 ? 16:51, Jerry Daniels a ?crit : > > > Sarah and I are unhappy with the performance because we load test it and > see some requests take many seconds to complete and then the next identical > request takes less than a second. > > Exact : i can see this happen with the early requests to woooooooords.com: The first request can, time to time, take around 20 secs. to get it's > response back to the end-user's browser. After this first request, the next > ones are always back to the user in less than some ticks. Could be a problem > related to the RAM virtualisation of the RHEL5 host it self, httpd.conf, > etc... and, please RunRev, we all need to get this fixed. > > Best, Pierre > > -- > Pierre Sahores > mobile : (33) 6 03 95 77 70 > > www.woooooooords.com > www.sahores-conseil.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 jerry.daniels at me.com Mon Aug 2 12:12:50 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 2 Aug 2010 11:12:50 -0500 Subject: [revServer] process timeout issue In-Reply-To: <4C56EDB4.40603@fourthworld.com> References: <4C56EDB4.40603@fourthworld.com> Message-ID: If a re-write of revServer code is necessary, why not re-write to another platform where you don't have to worry about timeouts, etc.? Best, Jerry Daniels Follow the Rodeo discussion: http://rodeoapps.com/discuss-among-yourselves-0 On Aug 2, 2010, at 11:09 AM, Richard Gaskin wrote: > Pierre Sahores wrote: > > > Exact : i can see this happen with the early requests to > > woooooooords.com : The first request can, time to time, take > > around 20 secs. to get it's response back to the end-user's > > browser. After this first request, the next ones are always > > back to the user in less than some ticks. Could be a problem > > related to the RAM virtualisation of the RHEL5 host it self, > > httpd.conf, etc... and, please RunRev, we all need to get > > this fixed. > > Why not just use the CGI engine in the meantime? > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > 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 Mon Aug 2 12:32:22 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Aug 2010 11:32:22 -0500 Subject: [revServer] process timeout issue In-Reply-To: <1280747497634-2310168.post@n4.nabble.com> References: <1280747497634-2310168.post@n4.nabble.com> Message-ID: <4C56F316.5040302@hyperactivesw.com> On 8/2/10 6:11 AM, Robert Mann wrote: > Please, this is NOT yet a new r$d*o discussion, this is a revServer > discussion. Thanks to all for keeping it in that line! No need to obscure the name, this is a discussion that directly affects Rev users, so it's appropriate here. I will follow it with interest. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Mon Aug 2 12:45:22 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 2 Aug 2010 09:45:22 -0700 Subject: [revServer] process timeout issue In-Reply-To: References: <787420.93650.qm@web56704.mail.re3.yahoo.com> <189FB0AC-AEC2-4BA8-A44D-720EFE908787@me.com> <2D3C7020-EC89-4D18-A2CD-B9407B9FD54C@free.fr> Message-ID: <183223975031.20100802094522@ahsoftware.net> Andre- Monday, August 2, 2010, 9:09:39 AM, you wrote: > Pierre, > I've just run 25 concurrent clients for 30 seconds against > wooooooooords.comand no request failed. The report is as follow: One thing to watch for in doing load testing is that unless you're using multiple machines for the test, you're stress-testing the client machine as well as the server. In other words, you're limited by the weakest point in your system - if your client machine starts to hiccup it's almost indistinguishable from problems with the server, and threading issues on the client will affect the results as much as threading issues on the server. The only way to get meaningful results from load-testing a server is to use multiple client machines. If you could post your test code somewhere maybe more of us could run simultaneous tests against the server for a distributed attack. -- -Mark Wieder mwieder at ahsoftware.net From andre at andregarzia.com Mon Aug 2 12:47:29 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 2 Aug 2010 13:47:29 -0300 Subject: [revServer] process timeout issue In-Reply-To: <183223975031.20100802094522@ahsoftware.net> References: <787420.93650.qm@web56704.mail.re3.yahoo.com> <189FB0AC-AEC2-4BA8-A44D-720EFE908787@me.com> <2D3C7020-EC89-4D18-A2CD-B9407B9FD54C@free.fr> <183223975031.20100802094522@ahsoftware.net> Message-ID: I am using siege to do the testing: siege -c 25 -b -t30s http://woooooooords.com/ from http://www.joedog.org/index/siege-home :D On Mon, Aug 2, 2010 at 1:45 PM, Mark Wieder wrote: > Andre- > > Monday, August 2, 2010, 9:09:39 AM, you wrote: > > > Pierre, > > > I've just run 25 concurrent clients for 30 seconds against > > wooooooooords.comand no request failed. The report is as follow: > > One thing to watch for in doing load testing is that unless you're > using multiple machines for the test, you're stress-testing the client > machine as well as the server. In other words, you're limited by the > weakest point in your system - if your client machine starts to hiccup > it's almost indistinguishable from problems with the server, and > threading issues on the client will affect the results as much as > threading issues on the server. The only way to get meaningful results > from load-testing a server is to use multiple client machines. If you > could post your test code somewhere maybe more of us could run > simultaneous tests against the server for a distributed attack. > > -- > -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 > -- http://www.andregarzia.com All We Do Is Code. From psahores at free.fr Mon Aug 2 12:47:44 2010 From: psahores at free.fr (Pierre Sahores) Date: Mon, 2 Aug 2010 18:47:44 +0200 Subject: [revServer] process timeout issue In-Reply-To: References: <4C56EDB4.40603@fourthworld.com> Message-ID: Jerry, As we know, PHP+Rev Server long running protected stacks based apps and RevCGI are always able to handle all of our n-tier solutions ;-) On the other hand, RunRev will get lots more business visibility / opportunities if the revServer can become a first class n-tier solution (protected stacks include/startup needed !) and i'm confident in the fact that Kevin and the team aware of this. In suiting your needs, they could get an amazing opportunity to test, debug and extend the revServer capabilities and i realy hope it can be the case. Did you purpose to RunRev such a good crossed-help in beetwin the Rodeo team and revServer sub-team ? Kind Regards, Pierre Le 2 ao?t 2010 ? 18:12, Jerry Daniels a ?crit : > If a re-write of revServer code is necessary, why not re-write to another platform where you don't have to worry about timeouts, etc.? > > Best, > > Jerry Daniels > > Follow the Rodeo discussion: > http://rodeoapps.com/discuss-among-yourselves-0 > > > > > On Aug 2, 2010, at 11:09 AM, Richard Gaskin wrote: > >> Pierre Sahores wrote: >> >>> Exact : i can see this happen with the early requests to >>> woooooooords.com : The first request can, time to time, take >>> around 20 secs. to get it's response back to the end-user's >>> browser. After this first request, the next ones are always >>> back to the user in less than some ticks. Could be a problem >>> related to the RAM virtualisation of the RHEL5 host it self, >>> httpd.conf, etc... and, please RunRev, we all need to get >>> this fixed. >> >> Why not just use the CGI engine in the meantime? >> >> -- >> Richard Gaskin >> Fourth World >> Rev training and consulting: http://www.fourthworld.com >> Webzine for Rev developers: http://www.revjournal.com >> revJournal blog: http://revjournal.com/blog.irv >> _______________________________________________ >> 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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From ambassador at fourthworld.com Mon Aug 2 12:55:10 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Aug 2010 09:55:10 -0700 Subject: [revServer] process timeout issue Message-ID: <4C56F86E.6000608@fourthworld.com> Jerry Daniels wrote: > On Aug 2, 2010, at 11:09 AM, Richard Gaskin wrote: > >> Pierre Sahores wrote: >> >> > Exact : i can see this happen with the early requests to >> > woooooooords.com : The first request can, time to time, take >> > around 20 secs. to get it's response back to the end-user's >> > browser. After this first request, the next ones are always >> > back to the user in less than some ticks. Could be a problem >> > related to the RAM virtualisation of the RHEL5 host it self, >> > httpd.conf, etc... and, please RunRev, we all need to get >> > this fixed. >> >> Why not just use the CGI engine in the meantime? > > If a re-write of revServer code is necessary, why not re-write > to another platform where you don't have to worry about timeouts, > etc.? Depends on what one is doing, of course. RevServer and RevCGI are so similar that there's relatively little effort to translate going from one to the other. Include statements, open puts, and other sugar can be coded into a preprocessor library in under an hour (I had occasion to write a limited version of this for the revJournal.com blog which needed on-rev0like behaviors but had to remain hosted in my own DreamHost account long before RevServer was made available for other ISPs). Outside of those enhancements to the merge function, the rest of the engine is nearly the same. Not all of us have the libraries for automated translation of RevTalk to JavaScript and PHP. :) Using RevTalk with the CGI engine I have a deployment used by hundreds of medical clinics around the world that's been holding up well under the load, all RevTalk top to bottom, including a custom search engine which would have taken much longer to write from scratch in anything else. With Rev CGI we just took the code we wrote for an earlier desktop version, made some minor mods to output HTML instead of plain text, and dropped it on the server. I can't speak for RevServer, but Rev CGI is pretty solid, very efficient, and lets folks who use RevTalk write a lot of useful stuff very quickly. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From bill at bluewatermaritime.com Mon Aug 2 13:06:00 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Mon, 2 Aug 2010 13:06:00 -0400 Subject: MacBook core i7 : a real powerfull laptop or a sadly build toy ? In-Reply-To: <2EF39211-AC99-4921-91DB-2EBDBA365BC3@free.fr> References: <2BFF029C-F852-4317-9B70-CA2CD7C1076B@free.fr> <2EF39211-AC99-4921-91DB-2EBDBA365BC3@free.fr> Message-ID: Solid state drive makes a lot of sense with several conventional back-up drives for all your data and you just throw away the back-up drives when they fail. >> I have a 15" i7 MacBook Pro with a solid state drive From jerry.daniels at me.com Mon Aug 2 13:08:24 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 2 Aug 2010 12:08:24 -0500 Subject: [revServer] process timeout issue In-Reply-To: References: <4C56EDB4.40603@fourthworld.com> Message-ID: <5E01462B-6BFC-40FE-BD34-135D1CCE7277@me.com> Pierre, Time is not on our side with regard to testing a new revServer solution with the idea of inclusion in the released version of Rodeo. We have not been privy to any preview or even rumor of development on revServer. We don't have to test PHP or work with their team to have a solution for Rodeo. PHP does what we need it to do now. So much for Rodeo and revServer. That's certainly not the end of the world for anyone. Far from it. Hopefully something fruitful can come of this discussion, however. Maybe some development might get done on revServer and actually released. I use revSelect for plenty of other chores in other apps (mostly my own utilities), so I would love this. Best, Jerry Daniels Follow the Rodeo discussion: http://rodeoapps.com/discuss-among-yourselves-0 On Aug 2, 2010, at 11:47 AM, Pierre Sahores wrote: > In suiting your needs, they could get an amazing opportunity to test, debug and extend the revServer capabilities and i realy hope it can be the case. Did you purpose to RunRev such a good crossed-help in beetwin the Rodeo team and revServer sub-team ? From psahores at free.fr Mon Aug 2 13:13:58 2010 From: psahores at free.fr (Pierre Sahores) Date: Mon, 2 Aug 2010 19:13:58 +0200 Subject: [revServer] process timeout issue In-Reply-To: <183223975031.20100802094522@ahsoftware.net> References: <787420.93650.qm@web56704.mail.re3.yahoo.com> <189FB0AC-AEC2-4BA8-A44D-720EFE908787@me.com> <2D3C7020-EC89-4D18-A2CD-B9407B9FD54C@free.fr> <183223975031.20100802094522@ahsoftware.net> Message-ID: <8E8BBBD4-71BE-4487-9D4F-D040C5A99408@free.fr> Mark, Good suggestion ! Andre, I'm OK for a test purpose and incremental distributed attack against woooooooords.com if we can share a knowed test code (yours ?) in beetwin some of us. 100, 1000, 10 000, ... parallelised requests to see how it goes with a code setup to run automatically in a temporized mode. This would probably let us know more about the abilities of the revServer and (loki.)on-rev.om to handle trafic. Any thought welcome, Kind Regards, Pierre Le 2 ao?t 2010 ? 18:45, Mark Wieder a ?crit : > The only way to get meaningful results > from load-testing a server is to use multiple client machines. If you > could post your test code somewhere maybe more of us could run > simultaneous tests against the server for a distributed attack. -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From kevin at runrev.com Mon Aug 2 13:47:32 2010 From: kevin at runrev.com (Kevin Miller) Date: Mon, 02 Aug 2010 18:47:32 +0100 Subject: [revServer] process timeout issue In-Reply-To: Message-ID: On 02/08/2010 14:22, "Jerry Daniels" wrote: > No one is complaining about Rodeo's revServer performance, except Sarah and I. > Why? Because we load and performance test our software and didn't like what we > found. So we announced we are switching to PHP because of it. > > RevServer may suit your tasks perfectly well. The initial building of CGIs is > certainly fast. We have concerns regarding this timeout issue and are not > going to wait for a fix. Just to clarify this: we offered to work with Jerry and requested more information on the problem which was not forthcoming. So its not a question of him "waiting for us to fix it", last we left it we were waiting for him to come back to us. Like all reputable hosting providers, on-Rev imposes certain limits to prevent runaway processes from eating up the entire CPU and degrading performance for all users on a server. Those process limits apply to all applications on the server, not just Rev. We suspect it might be something related to this but we haven't been able to see the problem ourselves, no one else has reported it and the information we requested in order to try to track this down was never supplied. Nor do we even know if the problem happens if Jerry runs revServer locally or on a different hosting provider. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ RunRev - Software construction for everyone From psahores at free.fr Mon Aug 2 14:24:56 2010 From: psahores at free.fr (Pierre Sahores) Date: Mon, 2 Aug 2010 20:24:56 +0200 Subject: [revServer] process timeout issue In-Reply-To: <8E8BBBD4-71BE-4487-9D4F-D040C5A99408@free.fr> References: <787420.93650.qm@web56704.mail.re3.yahoo.com> <189FB0AC-AEC2-4BA8-A44D-720EFE908787@me.com> <2D3C7020-EC89-4D18-A2CD-B9407B9FD54C@free.fr> <183223975031.20100802094522@ahsoftware.net> <8E8BBBD4-71BE-4487-9D4F-D040C5A99408@free.fr> Message-ID: <2259E29C-7D75-4E8C-A4C0-03D6B7E800D7@free.fr> Dear Friends, the command i purpose to use at shell prompt, today, in beetwin 15:00 and 15:05, Dallas Texas time : $ ab -kc 10 -t 30 http://woooooooords.com/index.html $ ab -kc 10 -t 30 http://woooooooords.com/index.irev Both command are pointed on the same index.irev (trought revrite rules) For the participants : thanks for reporting the results. All the best, Pierre My own test : $ ab -kc 10 -t 30 http://woooooooords.com/index.irev This is ApacheBench, Version 2.3 <$Revision: 655654 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking woooooooords.com (be patient) Finished 1557 requests Server Software: Apache/2.0.63 Server Hostname: woooooooords.com Server Port: 80 Document Path: /index.irev Document Length: 417 bytes Concurrency Level: 10 Time taken for tests: 30.000 seconds Complete requests: 1557 Failed requests: 0 Write errors: 0 Non-2xx responses: 1557 Keep-Alive requests: 1547 Total transferred: 1215577 bytes HTML transferred: 649269 bytes Requests per second: 51.90 [#/sec] (mean) Time per request: 192.680 [ms] (mean) Time per request: 19.268 [ms] (mean, across all concurrent requests) Transfer rate: 39.57 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 2 21.6 0 209 Processing: 181 190 20.7 188 768 Waiting: 181 189 14.6 188 684 Total: 181 192 33.4 188 893 Percentage of the requests served within a certain time (ms) 50% 188 66% 190 75% 192 80% 194 90% 196 95% 198 98% 201 99% 375 100% 893 (longest request) $ ab -kc 10 -t 30 http://woooooooords.com/index.html This is ApacheBench, Version 2.3 <$Revision: 655654 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking woooooooords.com (be patient) Finished 1558 requests Server Software: Apache/2.0.63 Server Hostname: woooooooords.com Server Port: 80 Document Path: /index.html Document Length: 417 bytes Concurrency Level: 10 Time taken for tests: 30.005 seconds Complete requests: 1558 Failed requests: 0 Write errors: 0 Non-2xx responses: 1558 Keep-Alive requests: 1548 Total transferred: 1216358 bytes HTML transferred: 649686 bytes Requests per second: 51.92 [#/sec] (mean) Time per request: 192.586 [ms] (mean) Time per request: 19.259 [ms] (mean, across all concurrent requests) Transfer rate: 39.59 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 3 35.1 0 1101 Processing: 182 189 5.7 188 339 Waiting: 182 189 5.7 188 339 Total: 182 192 36.3 188 1285 Percentage of the requests served within a certain time (ms) 50% 188 66% 190 75% 193 80% 194 90% 195 95% 197 98% 200 99% 376 100% 1285 (longest request) Le 2 ao?t 2010 ? 19:13, Pierre Sahores a ?crit : > Mark, > > Good suggestion ! > > Andre, > > I'm OK for a test purpose and incremental distributed attack against woooooooords.com if we can share a knowed test code (yours ?) in beetwin some of us. > > 100, 1000, 10 000, ... parallelised requests to see how it goes with a code setup to run automatically in a temporized mode. > > This would probably let us know more about the abilities of the revServer and (loki.)on-rev.om to handle trafic. > > Any thought welcome, > > Kind Regards, > > Pierre > > > Le 2 ao?t 2010 ? 18:45, Mark Wieder a ?crit : > >> The only way to get meaningful results >> from load-testing a server is to use multiple client machines. If you >> could post your test code somewhere maybe more of us could run >> simultaneous tests against the server for a distributed attack. > > -- > Pierre Sahores > mobile : (33) 6 03 95 77 70 > > www.woooooooords.com > www.sahores-conseil.com > > > > > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From kevin at runrev.com Mon Aug 2 15:14:51 2010 From: kevin at runrev.com (Kevin Miller) Date: Mon, 02 Aug 2010 20:14:51 +0100 Subject: [revServer] process timeout issue In-Reply-To: <5E01462B-6BFC-40FE-BD34-135D1CCE7277@me.com> Message-ID: On 02/08/2010 18:08, "Jerry Daniels" wrote: > Time is not on our side with regard to testing a new revServer solution with > the idea of inclusion in the released version of Rodeo. Do you really think that its quicker to rewrite your application in PHP than to spend 10 minutes performing the test I requested of you (6 weeks ago), so that our engineers could progress on finding this issue? Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ RunRev - Software construction for everyone From jerry.daniels at me.com Mon Aug 2 15:37:18 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 2 Aug 2010 14:37:18 -0500 Subject: [revServer] process timeout issue In-Reply-To: References: Message-ID: <7EF2AD87-D739-400A-8F0F-CBA3BF143246@me.com> Yes. Best, Jerry Daniels Follow the Rodeo discussion: http://rodeoapps.com/discuss-among-yourselves-0 On Aug 2, 2010, at 2:14 PM, Kevin Miller wrote: > On 02/08/2010 18:08, "Jerry Daniels" wrote: > >> Time is not on our side with regard to testing a new revServer solution with >> the idea of inclusion in the released version of Rodeo. > > Do you really think that its quicker to rewrite your application in PHP than > to spend 10 minutes performing the test I requested of you (6 weeks ago), so > that our engineers could progress on finding this issue? > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > RunRev - Software construction for everyone > > > _______________________________________________ > 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 runrev.com Mon Aug 2 15:50:43 2010 From: kevin at runrev.com (Kevin Miller) Date: Mon, 02 Aug 2010 20:50:43 +0100 Subject: [revServer] process timeout issue In-Reply-To: <7EF2AD87-D739-400A-8F0F-CBA3BF143246@me.com> Message-ID: On 02/08/2010 20:37, "Jerry Daniels" wrote: > Yes. Well that of course is your decision and is understandable, particularly given the alpha nature of revServer. I hope you appreciate that I needed to set the record straight: we were more than willing to work with you on this. As Rodeo and Rev diverge I think its time to wish you all the very best and declare that Rodeo is off topic on this Rev mailing list. I'm sure those in the community who want to will be happy to join your Rodeo discussion group. I shall watch your progress with interest. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ RunRev - Software construction for everyone From andre at andregarzia.com Mon Aug 2 16:09:01 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 2 Aug 2010 17:09:01 -0300 Subject: [revServer] process timeout issue In-Reply-To: References: <787420.93650.qm@web56704.mail.re3.yahoo.com> <189FB0AC-AEC2-4BA8-A44D-720EFE908787@me.com> <2D3C7020-EC89-4D18-A2CD-B9407B9FD54C@free.fr> <183223975031.20100802094522@ahsoftware.net> Message-ID: Pierre, Results are quite good, it shows that both .html and .irev files load quite at same speed. Andre === index.html === ab -kc 10 -t 30 http://woooooooords.com/index.html This is ApacheBench, Version 2.3 <$Revision: 655654 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking woooooooords.com (be patient) Finished 1768 requests Server Software: Apache/2.0.63 Server Hostname: woooooooords.com Server Port: 80 Document Path: /index.html Document Length: 417 bytes Concurrency Level: 10 Time taken for tests: 30.022 seconds Complete requests: 1768 Failed requests: 0 Write errors: 0 Non-2xx responses: 1768 Keep-Alive requests: 1758 Total transferred: 1380368 bytes HTML transferred: 737256 bytes Requests per second: 58.89 [#/sec] (mean) Time per request: 169.810 [ms] (mean) Time per request: 16.981 [ms] (mean, across all concurrent requests) Transfer rate: 44.90 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 2 17.1 0 172 Processing: 158 167 37.2 161 570 Waiting: 158 167 37.2 161 570 Total: 158 169 40.9 161 570 Percentage of the requests served within a certain time (ms) 50% 161 66% 167 75% 168 80% 168 90% 169 95% 169 98% 317 99% 522 100% 570 (longest request) === index.irev === ab -kc 10 -t 30 http://woooooooords.com/index.irev This is ApacheBench, Version 2.3 <$Revision: 655654 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking woooooooords.com (be patient) Finished 1720 requests Server Software: Apache/2.0.63 Server Hostname: woooooooords.com Server Port: 80 Document Path: /index.irev Document Length: 417 bytes Concurrency Level: 10 Time taken for tests: 30.007 seconds Complete requests: 1720 Failed requests: 0 Write errors: 0 Non-2xx responses: 1720 Keep-Alive requests: 1710 Total transferred: 1342880 bytes HTML transferred: 717240 bytes Requests per second: 57.32 [#/sec] (mean) Time per request: 174.457 [ms] (mean) Time per request: 17.446 [ms] (mean, across all concurrent requests) Transfer rate: 43.70 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 2 17.4 0 170 Processing: 150 172 69.9 165 1648 Waiting: 150 172 69.9 165 1648 Total: 150 174 76.5 166 1818 Percentage of the requests served within a certain time (ms) 50% 166 66% 168 75% 168 80% 168 90% 169 95% 170 98% 334 99% 539 100% 1818 (longest request) From psahores at free.fr Mon Aug 2 16:59:25 2010 From: psahores at free.fr (Pierre Sahores) Date: Mon, 2 Aug 2010 22:59:25 +0200 Subject: [revServer] process timeout issue In-Reply-To: <2D3C7020-EC89-4D18-A2CD-B9407B9FD54C@free.fr> References: <787420.93650.qm@web56704.mail.re3.yahoo.com> <189FB0AC-AEC2-4BA8-A44D-720EFE908787@me.com> <2D3C7020-EC89-4D18-A2CD-B9407B9FD54C@free.fr> Message-ID: Jerry, In my experience, Rev went always able to let me serve rock-solid n-tier apps. It makes yet more than one year that i test extensively the revServer technology and all worked as well as what i can handle in using my "PHP sockets-listener + Rev application's server" 15 years polished solution. At this point, i don't suspect the revServer to be responsable at all from the problem i reported below because each time i had to do with such latence in starting a first Apache binded request (as cgi or standard html page), it always had, over the years and on many different provider's backbones in France and in the USA, to do with the amount of RAM of the hosting machine, never with Rev. I wants to be clear there : - A server is not suited to handle Desktop's ilike process : if some one asked me if i would accept to host, on my own server, a n-tier app witch would have to use 64 Mb of RAM per process or thread, i would just answer "NO". Nor PHP, Python, Ruby, Perl, Rev, MC, Java are suited to run such kind of requests. - As you could see in the "ab" woooooooords.com test i reported previously, revServer was able to reply to 100% of the 1550 requests ab sended in 30 secs. This is a very good result for a mutualised server and i fell 100% happy about it - 64 Mb * 1550 = 96 Gb : you just cant expect this can work at all .... on any current well suited Linux server. Instead, you will need to do what we always do to reduce the amount of RAM needed by each http thread / process : replace all your revServer "direct to RAM+flat-files" processes management by revServer+ SQL backend processes management and Rodeo will become compatible with all the n-tier standard requierements. Else, you will never get best results in trying to implement your "direct to RAM+flat-files" logic in PHP, Java, Python or Perl. My feeling is that Rev and revServer are'nt responsable at all from the problem you are reporting us : you just need to redesign your code from a n-tier logic point of view and in doing this you will see that the revServer, even if it is still in its early stage, is from yet a very competitive n-tier technology. Along my Master2 of n-tier application's design, i had to build projects in J2SE, PHP, Rebol, AJAX, and more and, you know what, Rev was and is still my prefered n-tier platform and PHP is far from able to compete in about big projects alike Rodeo seems to be suited to become ... There are some n-tier experts around on this list, Richard, Andre and some others and i think you can trust them when they say that there is no blackbox at all behind revServer : it's only the xtalk engine we knows about. It's just a great piece of code witch let me now do anything i need without having to rely on my obsolete "PHP sockets listener + Rev" way to go. I just hope Kevin, Mark, Oliver and all, at Edimburg will provide us the "protected stacks libs support" as soon as possible and, perhaps, a coolest revServer installer in the same time ;-) Kind Regards, Pierre > Le 2 ao?t 2010 ? 16:51, Jerry Daniels a ?crit : > >> Sarah and I are unhappy with the performance because we load test it and see some requests take many seconds to complete and then the next identical request takes less than a second. > > Exact : i can see this happen with the early requests to woooooooords.com : The first request can, time to time, take around 20 secs. to get it's response back to the end-user's browser. After this first request, the next ones are always back to the user in less than some ticks. Could be a problem related to the RAM virtualisation of the RHEL5 host it self, httpd.conf, etc... and, please RunRev, we all need to get this fixed. > > Best, Pierre > > -- > Pierre Sahores > mobile : (33) 6 03 95 77 70 > > www.woooooooords.com > www.sahores-conseil.com -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From psahores at free.fr Mon Aug 2 17:02:26 2010 From: psahores at free.fr (Pierre Sahores) Date: Mon, 2 Aug 2010 23:02:26 +0200 Subject: [revServer] process timeout issue In-Reply-To: References: <787420.93650.qm@web56704.mail.re3.yahoo.com> <189FB0AC-AEC2-4BA8-A44D-720EFE908787@me.com> <2D3C7020-EC89-4D18-A2CD-B9407B9FD54C@free.fr> <183223975031.20100802094522@ahsoftware.net> Message-ID: Thanks Andre. Yes, as expected, they are very good, at least ;-) Kind Regards, Pierre Le 2 ao?t 2010 ? 22:09, Andre Garzia a ?crit : > Pierre, > > Results are quite good, it shows that both .html and .irev files load quite > at same speed. > > Andre > > === index.html === > > ab -kc 10 -t 30 http://woooooooords.com/index.html > This is ApacheBench, Version 2.3 <$Revision: 655654 $> > Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ > Licensed to The Apache Software Foundation, http://www.apache.org/ > > Benchmarking woooooooords.com (be patient) > Finished 1768 requests > > > > Server Software: Apache/2.0.63 > Server Hostname: woooooooords.com > Server Port: 80 > > Document Path: /index.html > Document Length: 417 bytes > > Concurrency Level: 10 > Time taken for tests: 30.022 seconds > Complete requests: 1768 > > Failed requests: 0 > Write errors: 0 > Non-2xx responses: 1768 > Keep-Alive requests: 1758 > Total transferred: 1380368 bytes > HTML transferred: 737256 bytes > Requests per second: 58.89 [#/sec] (mean) > Time per request: 169.810 [ms] (mean) > Time per request: 16.981 [ms] (mean, across all concurrent requests) > Transfer rate: 44.90 [Kbytes/sec] received > > > Connection Times (ms) > min mean[+/-sd] median max > Connect: 0 2 17.1 0 172 > Processing: 158 167 37.2 161 570 > Waiting: 158 167 37.2 161 570 > Total: 158 169 40.9 161 570 > > > Percentage of the requests served within a certain time (ms) > 50% 161 > 66% 167 > 75% 168 > 80% 168 > 90% 169 > 95% 169 > 98% 317 > 99% 522 > 100% 570 (longest request) > > > === index.irev === > > > ab -kc 10 -t 30 http://woooooooords.com/index.irev > This is ApacheBench, Version 2.3 <$Revision: 655654 $> > Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ > Licensed to The Apache Software Foundation, http://www.apache.org/ > > Benchmarking woooooooords.com (be patient) > Finished 1720 requests > > > > Server Software: Apache/2.0.63 > Server Hostname: woooooooords.com > Server Port: 80 > > Document Path: /index.irev > Document Length: 417 bytes > > Concurrency Level: 10 > Time taken for tests: 30.007 seconds > Complete requests: 1720 > > Failed requests: 0 > Write errors: 0 > Non-2xx responses: 1720 > Keep-Alive requests: 1710 > Total transferred: 1342880 bytes > HTML transferred: 717240 bytes > Requests per second: 57.32 [#/sec] (mean) > Time per request: 174.457 [ms] (mean) > Time per request: 17.446 [ms] (mean, across all concurrent requests) > Transfer rate: 43.70 [Kbytes/sec] received > > > Connection Times (ms) > min mean[+/-sd] median max > Connect: 0 2 17.4 0 170 > Processing: 150 172 69.9 165 1648 > Waiting: 150 172 69.9 165 1648 > Total: 150 174 76.5 166 1818 > > > Percentage of the requests served within a certain time (ms) > 50% 166 > 66% 168 > 75% 168 > 80% 168 > 90% 169 > 95% 170 > 98% 334 > 99% 539 > 100% 1818 (longest request) > _______________________________________________ > 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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From jerry.daniels at me.com Mon Aug 2 17:11:07 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 2 Aug 2010 16:11:07 -0500 Subject: [revServer] process timeout issue In-Reply-To: References: <787420.93650.qm@web56704.mail.re3.yahoo.com> <189FB0AC-AEC2-4BA8-A44D-720EFE908787@me.com> <2D3C7020-EC89-4D18-A2CD-B9407B9FD54C@free.fr> Message-ID: <8F8E75E5-E9D7-4121-AED8-28EB06C3A34D@me.com> Pierre, I appreciate your counsel. I do. But, I have to go with my own experience and Sarah's on this one. And I'm pretty sure it's not the architecture or the code. We've done very granular tests. We've got a pretty good team of experts, ourselves--some trained by the people who invented n-tier architecture. We HAVE run our findings, back-end design and architecture by experienced technicians with actual success in our space. I think we've made a good decision. But that decision is for us...I'm not trying to put that on anyone else. As I said, I use revServer for lots of stuff. But just not this one thing. I think my motives and intent have been fairly obscured by now, so I'm going to give it a rest. I think I'm ruining Kevin's bank holiday. Best, Jerry On Aug 2, 2010, at 3:59 PM, Pierre Sahores wrote: > Jerry, > > In my experience, Rev went always able to let me serve rock-solid n-tier apps. It makes yet more than one year that i test extensively the revServer technology and all worked as well as what i can handle in using my "PHP sockets-listener + Rev application's server" 15 years polished solution. > > At this point, i don't suspect the revServer to be responsable at all from the problem i reported below because each time i had to do with such latence in starting a first Apache binded request (as cgi or standard html page), it always had, over the years and on many different provider's backbones in France and in the USA, to do with the amount of RAM of the hosting machine, never with Rev. > > I wants to be clear there : > > - A server is not suited to handle Desktop's ilike process : if some one asked me if i would accept to host, on my own server, a n-tier app witch would have to use 64 Mb of RAM per process or thread, i would just answer "NO". Nor PHP, Python, Ruby, Perl, Rev, MC, Java are suited to run such kind of requests. > > - As you could see in the "ab" woooooooords.com test i reported previously, revServer was able to reply to 100% of the 1550 requests ab sended in 30 secs. This is a very good result for a mutualised server and i fell 100% happy about it > > - 64 Mb * 1550 = 96 Gb : you just cant expect this can work at all .... on any current well suited Linux server. Instead, you will need to do what we always do to reduce the amount of RAM needed by each http thread / process : replace all your revServer "direct to RAM+flat-files" processes management by revServer+ SQL backend processes management and Rodeo will become compatible with all the n-tier standard requierements. Else, you will never get best results in trying to implement your "direct to RAM+flat-files" logic in PHP, Java, Python or Perl. > > My feeling is that Rev and revServer are'nt responsable at all from the problem you are reporting us : you just need to redesign your code from a n-tier logic point of view and in doing this you will see that the revServer, even if it is still in its early stage, is from yet a very competitive n-tier technology. Along my Master2 of n-tier application's design, i had to build projects in J2SE, PHP, Rebol, AJAX, and more and, you know what, Rev was and is still my prefered n-tier platform and PHP is far from able to compete in about big projects alike Rodeo seems to be suited to become ... > > There are some n-tier experts around on this list, Richard, Andre and some others and i think you can trust them when they say that there is no blackbox at all behind revServer : it's only the xtalk engine we knows about. It's just a great piece of code witch let me now do anything i need without having to rely on my obsolete "PHP sockets listener + Rev" way to go. > > I just hope Kevin, Mark, Oliver and all, at Edimburg will provide us the "protected stacks libs support" as soon as possible and, perhaps, a coolest revServer installer in the same time ;-) > > Kind Regards, > > Pierre > > > > > >> Le 2 ao?t 2010 ? 16:51, Jerry Daniels a ?crit : >> >>> Sarah and I are unhappy with the performance because we load test it and see some requests take many seconds to complete and then the next identical request takes less than a second. >> >> Exact : i can see this happen with the early requests to woooooooords.com : The first request can, time to time, take around 20 secs. to get it's response back to the end-user's browser. After this first request, the next ones are always back to the user in less than some ticks. Could be a problem related to the RAM virtualisation of the RHEL5 host it self, httpd.conf, etc... and, please RunRev, we all need to get this fixed. >> >> Best, Pierre >> >> -- >> Pierre Sahores >> mobile : (33) 6 03 95 77 70 >> >> www.woooooooords.com >> www.sahores-conseil.com > > -- > Pierre Sahores > mobile : (33) 6 03 95 77 70 > > www.woooooooords.com > www.sahores-conseil.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 bobs at twft.com Mon Aug 2 17:33:23 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 2 Aug 2010 14:33:23 -0700 Subject: Checking Monitor Resolution In-Reply-To: References: Message-ID: <659EA6B4-1EA1-4EF1-B5DC-1DC58D2207BB@twft.com> This got bounced around the list a while back, and from what I remember, there is no clean way to do this on all platforms. I think you have to shell out, and even then it may be problematic. However, wouldn't it be possible to "maximize" a rev window and then check it's dimensions? Do a little math for the menu bar on a mac and the app bar in Windows and there you go. Bob On Aug 1, 2010, at 1:38 PM, Steven Axtell wrote: > Is there a command that can be used to check the monitor resolution? In an application I am developing, I want to determine the monitor rresolution that the user is using. > > Thanks, > > Steven Axtell > _______________________________________________ > 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 wdurden at gmail.com Mon Aug 2 17:42:05 2010 From: wdurden at gmail.com (wayne durden) Date: Mon, 2 Aug 2010 17:42:05 -0400 Subject: [revServer] process timeout issue In-Reply-To: <8F8E75E5-E9D7-4121-AED8-28EB06C3A34D@me.com> References: <787420.93650.qm@web56704.mail.re3.yahoo.com> <189FB0AC-AEC2-4BA8-A44D-720EFE908787@me.com> <2D3C7020-EC89-4D18-A2CD-B9407B9FD54C@free.fr> <8F8E75E5-E9D7-4121-AED8-28EB06C3A34D@me.com> Message-ID: Hello Pierre, I just wanted to chime in that I appreciate the details you have provided in this thread and the benchmarks which Andre has helped flesh out... It helps some of us coming to this platform a little later evaluate its suitability for additional projects. Rev has proved excellent for me with regard to desktop apps, and a handful of CGI's I have built are encouraging but I have always wondered about issues of scale. Details like these are indeed helpful when they crop up. Thanks for the posting all around. Wayne On Mon, Aug 2, 2010 at 5:11 PM, Jerry Daniels wrote: > Pierre, > > I appreciate your counsel. I do. But, I have to go with my own experience > and Sarah's on this one. And I'm pretty sure it's not the architecture or > the code. We've done very granular tests. > > We've got a pretty good team of experts, ourselves--some trained by the > people who invented n-tier architecture. We HAVE run our findings, back-end > design and architecture by experienced technicians with actual success in > our space. I think we've made a good decision. But that decision is for > us...I'm not trying to put that on anyone else. > > As I said, I use revServer for lots of stuff. But just not this one thing. > I think my motives and intent have been fairly obscured by now, so I'm going > to give it a rest. I think I'm ruining Kevin's bank holiday. > > Best, > > Jerry > > > On Aug 2, 2010, at 3:59 PM, Pierre Sahores wrote: > > > Jerry, > > > > In my experience, Rev went always able to let me serve rock-solid n-tier > apps. It makes yet more than one year that i test extensively the revServer > technology and all worked as well as what i can handle in using my "PHP > sockets-listener + Rev application's server" 15 years polished solution. > > > > At this point, i don't suspect the revServer to be responsable at all > from the problem i reported below because each time i had to do with such > latence in starting a first Apache binded request (as cgi or standard html > page), it always had, over the years and on many different provider's > backbones in France and in the USA, to do with the amount of RAM of the > hosting machine, never with Rev. > > > > I wants to be clear there : > > > > - A server is not suited to handle Desktop's ilike process : if some one > asked me if i would accept to host, on my own server, a n-tier app witch > would have to use 64 Mb of RAM per process or thread, i would just answer > "NO". Nor PHP, Python, Ruby, Perl, Rev, MC, Java are suited to run such kind > of requests. > > > > - As you could see in the "ab" woooooooords.com test i reported > previously, revServer was able to reply to 100% of the 1550 requests ab > sended in 30 secs. This is a very good result for a mutualised server and i > fell 100% happy about it > > > > - 64 Mb * 1550 = 96 Gb : you just cant expect this can work at all .... > on any current well suited Linux server. Instead, you will need to do what > we always do to reduce the amount of RAM needed by each http thread / > process : replace all your revServer "direct to RAM+flat-files" processes > management by revServer+ SQL backend processes management and Rodeo will > become compatible with all the n-tier standard requierements. Else, you will > never get best results in trying to implement your "direct to > RAM+flat-files" logic in PHP, Java, Python or Perl. > > > > My feeling is that Rev and revServer are'nt responsable at all from the > problem you are reporting us : you just need to redesign your code from a > n-tier logic point of view and in doing this you will see that the > revServer, even if it is still in its early stage, is from yet a very > competitive n-tier technology. Along my Master2 of n-tier application's > design, i had to build projects in J2SE, PHP, Rebol, AJAX, and more and, you > know what, Rev was and is still my prefered n-tier platform and PHP is far > from able to compete in about big projects alike Rodeo seems to be suited to > become ... > > > > There are some n-tier experts around on this list, Richard, Andre and > some others and i think you can trust them when they say that there is no > blackbox at all behind revServer : it's only the xtalk engine we knows > about. It's just a great piece of code witch let me now do anything i need > without having to rely on my obsolete "PHP sockets listener + Rev" way to > go. > > > > I just hope Kevin, Mark, Oliver and all, at Edimburg will provide us the > "protected stacks libs support" as soon as possible and, perhaps, a coolest > revServer installer in the same time ;-) > > > > Kind Regards, > > > > Pierre > > > > > > > > > > > >> Le 2 ao?t 2010 ? 16:51, Jerry Daniels a ?crit : > >> > >>> Sarah and I are unhappy with the performance because we load test it > and see some requests take many seconds to complete and then the next > identical request takes less than a second. > >> > >> Exact : i can see this happen with the early requests to > woooooooords.com : The first request can, time to time, take around 20 > secs. to get it's response back to the end-user's browser. After this first > request, the next ones are always back to the user in less than some ticks. > Could be a problem related to the RAM virtualisation of the RHEL5 host it > self, httpd.conf, etc... and, please RunRev, we all need to get this fixed. > >> > >> Best, Pierre > >> > >> -- > >> Pierre Sahores > >> mobile : (33) 6 03 95 77 70 > >> > >> www.woooooooords.com > >> www.sahores-conseil.com > > > > -- > > Pierre Sahores > > mobile : (33) 6 03 95 77 70 > > > > www.woooooooords.com > > www.sahores-conseil.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 bobs at twft.com Mon Aug 2 17:44:24 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 2 Aug 2010 14:44:24 -0700 Subject: MacBook core i7 : a real powerfull laptop or a sadly build toy ? In-Reply-To: <2BFF029C-F852-4317-9B70-CA2CD7C1076B@free.fr> References: <2BFF029C-F852-4317-9B70-CA2CD7C1076B@free.fr> Message-ID: <8CAB0FA3-4F50-4B37-A219-0994B69345E1@twft.com> I don't think the laptop was built to be used like a server, which seems from your description what you are trying to do. It was designed to provide the power when you needed it. So from that perspective, it performs wonderfully within the bounds of what it was engineered to be. Otherwise everyone would just go out and buy laptops for servers instead of spending 10,000 and up for something designed to run that long and that hard. Bob On Aug 1, 2010, at 3:58 AM, Pierre Sahores wrote: > In beetwin us (part 2) ... > > I owned lots of macs over the years, from a PWB 160 to the last MBP core i7 15" and you know what : the best of all in them was always the operating system 0S 7/8/9 and OSX. The bad thing in them was the construction quality - one time good (as the best of alls : PWB G4 12" 1 Ghz), one time sadly bad (as the sadest of all : PWB 5300 cs, three time rebuild to new by Apple). > > How to position the MacBook Pro core 620-i7 15" i purchased in the late of april ? > > If you just need to run one of its four virtual cores at once, it's OK but if you want to use it in running apps on its four virtual core in 24/7 mode, don't expect that this unibody laptop will support it for weeks. Instead of letting the processors fans turns all the day at 6000 t/mn as soon as 3 virtual cores are at work, the best to do is to switch to a more seriously build 720-i7 PC laptop (height virtual cores) able to run at 100% of its available power without becoming too hot even after months (i'm very happy with my ASUS 14" i payed half the price of the MBP). > > If i had to choose what MBP to purchase instead of the core i7 i owns today, i would certainly take a dual-core instead. The unibody is definitively not suited to embed the core i5/i7 processors... > > Best, > > -- > Pierre Sahores > mobile : (33) 6 03 95 77 70 > > www.woooooooords.com > www.sahores-conseil.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 psahores at free.fr Mon Aug 2 17:47:54 2010 From: psahores at free.fr (Pierre Sahores) Date: Mon, 2 Aug 2010 23:47:54 +0200 Subject: MacBook core i7 : a real powerfull laptop or a sadly build toy ? In-Reply-To: References: <2BFF029C-F852-4317-9B70-CA2CD7C1076B@free.fr> <2EF39211-AC99-4921-91DB-2EBDBA365BC3@free.fr> Message-ID: <4D8B7010-4358-4890-A3EB-27E5EA26366D@free.fr> Thanks for the input William. Best, Pierre Le 2 ao?t 2010 ? 19:06, william humphrey a ?crit : > Solid state drive makes a lot of sense with several conventional > back-up drives for all your data and you just throw away the back-up > drives when they fail. > >>> I have a 15" i7 MacBook Pro with a solid state drive > _______________________________________________ > 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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From bobs at twft.com Mon Aug 2 17:48:23 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 2 Aug 2010 14:48:23 -0700 Subject: MacBook core i7 : a real powerfull laptop or a sadly build toy ? In-Reply-To: References: <2BFF029C-F852-4317-9B70-CA2CD7C1076B@free.fr> <2EF39211-AC99-4921-91DB-2EBDBA365BC3@free.fr> Message-ID: <22B1AE3B-5A82-438C-A03B-CAE51F5B7B2E@twft.com> Keep in mind with the solid state drives that their is a duty cycle of about 10,000 writes per bit, meaning a spot on the hard drive can be expected to last through 10,000 read/write cycles before it may go bad. I would think that there is software built into the controller to move bits around as that point is exceeded, but from what I have heard, they do not make a good drive for constant read/write operations. Bob On Aug 2, 2010, at 10:06 AM, william humphrey wrote: > Solid state drive makes a lot of sense with several conventional > back-up drives for all your data and you just throw away the back-up > drives when they fail. > >>> I have a 15" i7 MacBook Pro with a solid state drive > _______________________________________________ > 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 bobs at twft.com Mon Aug 2 17:54:43 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 2 Aug 2010 14:54:43 -0700 Subject: [revServer] process timeout issue In-Reply-To: <189FB0AC-AEC2-4BA8-A44D-720EFE908787@me.com> References: <787420.93650.qm@web56704.mail.re3.yahoo.com> <189FB0AC-AEC2-4BA8-A44D-720EFE908787@me.com> Message-ID: <593EE9E5-7FC6-4014-93E1-4A8AEA524F76@twft.com> Jerry, I tripped across this very thing when debugging connect probs I had. I use the mySQL on my onRev account as the DB backend. Trevor actually found a problem internal to sqlYoga which he fixed, which was causing sqlYoga to attempt to connect twice, which was giving me timeouts of a minute or more. Trevor has subsequently fixed this, but I had come to accept that long timeouts were common place when using a remote SQL server. It's nice to know that I was not the only person experiencing this! Bob On Aug 2, 2010, at 7:51 AM, Jerry Daniels wrote: > Michael, > > Good TX joke, btw! Better than any answer I could give. > > Based on Andrew's research (I believe it was a report he voluntarily did for Runrev) and our observations, the timeout is not 30 seconds for one process. We think there is some sort of pooling of processes (and possibly users) that are limited by 30 secs. We have seen the timeout in much shorter time spans. Andrew reports a 4 second time out. > > I know all that sounds pretty bad, but revServer is also very fast once it gets going. VERY fast. Rodeo users are not complaining about their server speeds, Sarah and I are unhappy with the performance because we load test it and see some requests take many seconds to complete and then the next identical request takes less than a second. We can't release a commercial product with this limitation. > > For the record, the testing we did was using the revServer engine 100% without revDB or anything like that. I'll let Andrew comment on that aspect of his timings. > > Best, > > Jerry Daniels From nealk3nc at gmail.com Mon Aug 2 17:55:58 2010 From: nealk3nc at gmail.com (Neal Campbell) Date: Mon, 2 Aug 2010 17:55:58 -0400 Subject: MacBook core i7 : a real powerfull laptop or a sadly build toy ? In-Reply-To: <22B1AE3B-5A82-438C-A03B-CAE51F5B7B2E@twft.com> References: <2BFF029C-F852-4317-9B70-CA2CD7C1076B@free.fr> <2EF39211-AC99-4921-91DB-2EBDBA365BC3@free.fr> <22B1AE3B-5A82-438C-A03B-CAE51F5B7B2E@twft.com> Message-ID: Purely anecdotal but from what I read, if you continuously wrote on the disk drive, a MLC-controller SSD would last more than 5 years and a SLC controller SSD would last more than 30 years. Add to this, the fact that its not sensitive to the rough handling a laptop takes and I think you are better off worrying about the life of the screen backlight than the disk drive! Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com From jerry.daniels at me.com Mon Aug 2 17:56:48 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 2 Aug 2010 16:56:48 -0500 Subject: [revServer] process timeout issue In-Reply-To: <593EE9E5-7FC6-4014-93E1-4A8AEA524F76@twft.com> References: <787420.93650.qm@web56704.mail.re3.yahoo.com> <189FB0AC-AEC2-4BA8-A44D-720EFE908787@me.com> <593EE9E5-7FC6-4014-93E1-4A8AEA524F76@twft.com> Message-ID: Bob, We tested revServer engine calls only. No Yoga, Tantra, or Yagya. Jerry On Aug 2, 2010, at 4:54 PM, Bob Sneidar wrote: > Jerry, I tripped across this very thing when debugging connect probs I had. I use the mySQL on my onRev account as the DB backend. Trevor actually found a problem internal to sqlYoga which he fixed, which was causing sqlYoga to attempt to connect twice, which was giving me timeouts of a minute or more. > > Trevor has subsequently fixed this, but I had come to accept that long timeouts were common place when using a remote SQL server. It's nice to know that I was not the only person experiencing this! > > Bob > > > On Aug 2, 2010, at 7:51 AM, Jerry Daniels wrote: > >> Michael, >> >> Good TX joke, btw! Better than any answer I could give. >> >> Based on Andrew's research (I believe it was a report he voluntarily did for Runrev) and our observations, the timeout is not 30 seconds for one process. We think there is some sort of pooling of processes (and possibly users) that are limited by 30 secs. We have seen the timeout in much shorter time spans. Andrew reports a 4 second time out. >> >> I know all that sounds pretty bad, but revServer is also very fast once it gets going. VERY fast. Rodeo users are not complaining about their server speeds, Sarah and I are unhappy with the performance because we load test it and see some requests take many seconds to complete and then the next identical request takes less than a second. We can't release a commercial product with this limitation. >> >> For the record, the testing we did was using the revServer engine 100% without revDB or anything like that. I'll let Andrew comment on that aspect of his timings. >> >> 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 ambassador at fourthworld.com Mon Aug 2 18:00:25 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Aug 2010 15:00:25 -0700 Subject: MacBook core i7 : a real powerfull laptop or a sadly build toy ? Message-ID: <4C573FF9.4090708@fourthworld.com> Bob Sneidar wrote: > Keep in mind with the solid state drives that their is a duty > cycle of about 10,000 writes per bit, meaning a spot on the > hard drive can be expected to last through 10,000 read/write > cycles before it may go bad. Good point. The much lower weight and power consumption of SSDs make them a good choice in portables, but their cost-per-GB is so much higher than even a good 7200 RPM HDD that for a 24/7 server (which is presumably non-portable) you'd get adequate performance and possibly longer life at a significantly lower cost going the old-school route. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From jacque at hyperactivesw.com Mon Aug 2 18:01:06 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Aug 2010 17:01:06 -0500 Subject: Checking Monitor Resolution In-Reply-To: <659EA6B4-1EA1-4EF1-B5DC-1DC58D2207BB@twft.com> References: <659EA6B4-1EA1-4EF1-B5DC-1DC58D2207BB@twft.com> Message-ID: <4C574022.4070008@hyperactivesw.com> On 8/2/10 4:33 PM, Bob Sneidar wrote: > This got bounced around the list a while back, and from what I > remember, there is no clean way to do this on all platforms. I think > you have to shell out, and even then it may be problematic. Could you be thinking of changing screen resolution instead of just getting the current resolution? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From psahores at free.fr Mon Aug 2 18:06:09 2010 From: psahores at free.fr (Pierre Sahores) Date: Tue, 3 Aug 2010 00:06:09 +0200 Subject: [revServer] process timeout issue In-Reply-To: References: <787420.93650.qm@web56704.mail.re3.yahoo.com> <189FB0AC-AEC2-4BA8-A44D-720EFE908787@me.com> <2D3C7020-EC89-4D18-A2CD-B9407B9FD54C@free.fr> <8F8E75E5-E9D7-4121-AED8-28EB06C3A34D@me.com> Message-ID: <462B9B68-8476-423D-B906-D54822E151B5@free.fr> Hello Wayne, You welcome :-) Best, Pierre Le 2 ao?t 2010 ? 23:42, wayne durden a ?crit : > Hello Pierre, > > I just wanted to chime in that I appreciate the details you have provided in > this thread and the benchmarks which Andre has helped flesh out... It helps > some of us coming to this platform a little later evaluate its suitability > for additional projects. > > Rev has proved excellent for me with regard to desktop apps, and a handful > of CGI's I have built are encouraging but I have always wondered about > issues of scale. Details like these are indeed helpful when they crop up. > > Thanks for the posting all around. > > Wayne > > > > On Mon, Aug 2, 2010 at 5:11 PM, Jerry Daniels wrote: > >> Pierre, >> >> I appreciate your counsel. I do. But, I have to go with my own experience >> and Sarah's on this one. And I'm pretty sure it's not the architecture or >> the code. We've done very granular tests. >> >> We've got a pretty good team of experts, ourselves--some trained by the >> people who invented n-tier architecture. We HAVE run our findings, back-end >> design and architecture by experienced technicians with actual success in >> our space. I think we've made a good decision. But that decision is for >> us...I'm not trying to put that on anyone else. >> >> As I said, I use revServer for lots of stuff. But just not this one thing. >> I think my motives and intent have been fairly obscured by now, so I'm going >> to give it a rest. I think I'm ruining Kevin's bank holiday. >> >> Best, >> >> Jerry >> >> >> On Aug 2, 2010, at 3:59 PM, Pierre Sahores wrote: >> >>> Jerry, >>> >>> In my experience, Rev went always able to let me serve rock-solid n-tier >> apps. It makes yet more than one year that i test extensively the revServer >> technology and all worked as well as what i can handle in using my "PHP >> sockets-listener + Rev application's server" 15 years polished solution. >>> >>> At this point, i don't suspect the revServer to be responsable at all >> from the problem i reported below because each time i had to do with such >> latence in starting a first Apache binded request (as cgi or standard html >> page), it always had, over the years and on many different provider's >> backbones in France and in the USA, to do with the amount of RAM of the >> hosting machine, never with Rev. >>> >>> I wants to be clear there : >>> >>> - A server is not suited to handle Desktop's ilike process : if some one >> asked me if i would accept to host, on my own server, a n-tier app witch >> would have to use 64 Mb of RAM per process or thread, i would just answer >> "NO". Nor PHP, Python, Ruby, Perl, Rev, MC, Java are suited to run such kind >> of requests. >>> >>> - As you could see in the "ab" woooooooords.com test i reported >> previously, revServer was able to reply to 100% of the 1550 requests ab >> sended in 30 secs. This is a very good result for a mutualised server and i >> fell 100% happy about it >>> >>> - 64 Mb * 1550 = 96 Gb : you just cant expect this can work at all .... >> on any current well suited Linux server. Instead, you will need to do what >> we always do to reduce the amount of RAM needed by each http thread / >> process : replace all your revServer "direct to RAM+flat-files" processes >> management by revServer+ SQL backend processes management and Rodeo will >> become compatible with all the n-tier standard requierements. Else, you will >> never get best results in trying to implement your "direct to >> RAM+flat-files" logic in PHP, Java, Python or Perl. >>> >>> My feeling is that Rev and revServer are'nt responsable at all from the >> problem you are reporting us : you just need to redesign your code from a >> n-tier logic point of view and in doing this you will see that the >> revServer, even if it is still in its early stage, is from yet a very >> competitive n-tier technology. Along my Master2 of n-tier application's >> design, i had to build projects in J2SE, PHP, Rebol, AJAX, and more and, you >> know what, Rev was and is still my prefered n-tier platform and PHP is far >> from able to compete in about big projects alike Rodeo seems to be suited to >> become ... >>> >>> There are some n-tier experts around on this list, Richard, Andre and >> some others and i think you can trust them when they say that there is no >> blackbox at all behind revServer : it's only the xtalk engine we knows >> about. It's just a great piece of code witch let me now do anything i need >> without having to rely on my obsolete "PHP sockets listener + Rev" way to >> go. >>> >>> I just hope Kevin, Mark, Oliver and all, at Edimburg will provide us the >> "protected stacks libs support" as soon as possible and, perhaps, a coolest >> revServer installer in the same time ;-) >>> >>> Kind Regards, >>> >>> Pierre >>> >>> >>> >>> >>> >>>> Le 2 ao?t 2010 ? 16:51, Jerry Daniels a ?crit : >>>> >>>>> Sarah and I are unhappy with the performance because we load test it >> and see some requests take many seconds to complete and then the next >> identical request takes less than a second. >>>> >>>> Exact : i can see this happen with the early requests to >> woooooooords.com : The first request can, time to time, take around 20 >> secs. to get it's response back to the end-user's browser. After this first >> request, the next ones are always back to the user in less than some ticks. >> Could be a problem related to the RAM virtualisation of the RHEL5 host it >> self, httpd.conf, etc... and, please RunRev, we all need to get this fixed. >>>> >>>> Best, Pierre >>>> >>>> -- >>>> Pierre Sahores >>>> mobile : (33) 6 03 95 77 70 >>>> >>>> www.woooooooords.com >>>> www.sahores-conseil.com >>> >>> -- >>> Pierre Sahores >>> mobile : (33) 6 03 95 77 70 >>> >>> www.woooooooords.com >>> www.sahores-conseil.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 >> > _______________________________________________ > 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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From bobs at twft.com Mon Aug 2 18:07:50 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 2 Aug 2010 15:07:50 -0700 Subject: MacBook core i7 : a real powerfull laptop or a sadly build toy ? In-Reply-To: References: <2BFF029C-F852-4317-9B70-CA2CD7C1076B@free.fr> <2EF39211-AC99-4921-91DB-2EBDBA365BC3@free.fr> <22B1AE3B-5A82-438C-A03B-CAE51F5B7B2E@twft.com> Message-ID: <30B703DE-B461-42EC-B420-DAA87F92D684@twft.com> Anecdotal indeed. Most hard drives that do fail, fail within 5 to 8 years without the constant read/writes. That is a far cry from 30 years. I have not seen a drive last 30 years, because, well they haven't been around that long. Of course quality comes into play, and the fact that often it's mechanical and not electrical failures that occur, but still, many failures I've seen (and I've seen a lot being an IT guy) are due to the actual media going bad. I don't think we realize how much hard drives actually read/write to buffers and virtual memory, over and over again, often in the same physical place on the drive. Bob On Aug 2, 2010, at 2:55 PM, Neal Campbell wrote: > Purely anecdotal but from what I read, if you continuously wrote on the disk > drive, a MLC-controller SSD would last more than 5 years and a SLC > controller SSD would last more than 30 years. > > Add to this, the fact that its not sensitive to the rough handling a laptop > takes and I think you are better off worrying about the life of the screen > backlight than the disk drive! > > > Neal Campbell > Abroham Neal Software > www.abrohamnealsoftware.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 bobs at twft.com Mon Aug 2 18:10:31 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 2 Aug 2010 15:10:31 -0700 Subject: Checking Monitor Resolution In-Reply-To: <4C574022.4070008@hyperactivesw.com> References: <659EA6B4-1EA1-4EF1-B5DC-1DC58D2207BB@twft.com> <4C574022.4070008@hyperactivesw.com> Message-ID: <02CE9F3F-3047-4FEF-AAB2-6F8C0B62A953@twft.com> That is what it was. They wanted to know all AVAILABLE resolutions. Thanks for the reminder. Bob On Aug 2, 2010, at 3:01 PM, J. Landman Gay wrote: > On 8/2/10 4:33 PM, Bob Sneidar wrote: >> This got bounced around the list a while back, and from what I >> remember, there is no clean way to do this on all platforms. I think >> you have to shell out, and even then it may be problematic. > > Could you be thinking of changing screen resolution instead of just getting the current resolution? > > -- > 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 psahores at free.fr Mon Aug 2 18:16:41 2010 From: psahores at free.fr (Pierre Sahores) Date: Tue, 3 Aug 2010 00:16:41 +0200 Subject: MacBook core i7 : a real powerfull laptop or a sadly build toy ? In-Reply-To: <8CAB0FA3-4F50-4B37-A219-0994B69345E1@twft.com> References: <2BFF029C-F852-4317-9B70-CA2CD7C1076B@free.fr> <8CAB0FA3-4F50-4B37-A219-0994B69345E1@twft.com> Message-ID: Hello Bob, I need an AI test/dev/demo box i can take with me when i travel and just expected to be able to own only one laptop and it went not the case.... I'm very happy indeed to be able to code n-tier apps on the MBP 620-i7 while the Win7 ASUS 720QM-i7 handle the AI Rev driven tasks ;-) Best, Pierre Le 2 ao?t 2010 ? 23:44, Bob Sneidar a ?crit : > I don't think the laptop was built to be used like a server, which seems from your description what you are trying to do. It was designed to provide the power when you needed it. So from that perspective, it performs wonderfully within the bounds of what it was engineered to be. Otherwise everyone would just go out and buy laptops for servers instead of spending 10,000 and up for something designed to run that long and that hard. > > Bob > > > On Aug 1, 2010, at 3:58 AM, Pierre Sahores wrote: > >> In beetwin us (part 2) ... >> >> I owned lots of macs over the years, from a PWB 160 to the last MBP core i7 15" and you know what : the best of all in them was always the operating system 0S 7/8/9 and OSX. The bad thing in them was the construction quality - one time good (as the best of alls : PWB G4 12" 1 Ghz), one time sadly bad (as the sadest of all : PWB 5300 cs, three time rebuild to new by Apple). >> >> How to position the MacBook Pro core 620-i7 15" i purchased in the late of april ? >> >> If you just need to run one of its four virtual cores at once, it's OK but if you want to use it in running apps on its four virtual core in 24/7 mode, don't expect that this unibody laptop will support it for weeks. Instead of letting the processors fans turns all the day at 6000 t/mn as soon as 3 virtual cores are at work, the best to do is to switch to a more seriously build 720-i7 PC laptop (height virtual cores) able to run at 100% of its available power without becoming too hot even after months (i'm very happy with my ASUS 14" i payed half the price of the MBP). >> >> If i had to choose what MBP to purchase instead of the core i7 i owns today, i would certainly take a dual-core instead. The unibody is definitively not suited to embed the core i5/i7 processors... >> >> Best, >> >> -- >> Pierre Sahores >> mobile : (33) 6 03 95 77 70 >> >> www.woooooooords.com >> www.sahores-conseil.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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From psahores at free.fr Mon Aug 2 18:23:36 2010 From: psahores at free.fr (Pierre Sahores) Date: Tue, 3 Aug 2010 00:23:36 +0200 Subject: [revServer] process timeout issue In-Reply-To: References: <787420.93650.qm@web56704.mail.re3.yahoo.com> <189FB0AC-AEC2-4BA8-A44D-720EFE908787@me.com> <2D3C7020-EC89-4D18-A2CD-B9407B9FD54C@free.fr> Message-ID: Thanks for testing Andre ! Your tests confirms mine and the tools.pingdom.com ones . Kind Regards, Pierre Le 2 ao?t 2010 ? 18:09, Andre Garzia a ?crit : > Pierre, > > I've just run 25 concurrent clients for 30 seconds against > wooooooooords.comand no request failed. The report is as follow: > > Transactions: 81 hits > Availability: 100.00 % > Elapsed time: 29.82 secs > Data transferred: 4.21 MB > Response time: 8.35 secs > Transaction rate: 2.72 trans/sec > Throughput: 0.14 MB/sec > Concurrency: 22.67 > Successful transactions: 81 > Failed transactions: 0 > Longest transaction: 15.59 > Shortest transaction: 3.39 > > You can see that the response time and transaction rate is pretty bad but > this is probably due to my bad network but the good news is that your server > sustained 25 concurrent clients for 30 seconds with no hiccup. You can also > notice that there were requests that took 15 secs and others that took 3 > secs, which is odd since they were all hitting the same page. > > What we can infer from this simple thing is that there are places that > RevServer needs working but it also means we need more focus to find where > and why it breaks. > > Andre > > On Mon, Aug 2, 2010 at 12:54 PM, Pierre Sahores wrote: > >> >> Le 2 ao?t 2010 ? 16:51, Jerry Daniels a ?crit : >> >>> Sarah and I are unhappy with the performance because we load test it and >> see some requests take many seconds to complete and then the next identical >> request takes less than a second. >> >> Exact : i can see this happen with the early requests to woooooooords.com: The first request can, time to time, take around 20 secs. to get it's >> response back to the end-user's browser. After this first request, the next >> ones are always back to the user in less than some ticks. Could be a problem >> related to the RAM virtualisation of the RHEL5 host it self, httpd.conf, >> etc... and, please RunRev, we all need to get this fixed. >> >> Best, Pierre >> >> -- >> Pierre Sahores >> mobile : (33) 6 03 95 77 70 >> >> www.woooooooords.com >> www.sahores-conseil.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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From monte at sweattechnologies.com Mon Aug 2 18:40:59 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 3 Aug 2010 08:40:59 +1000 Subject: [revServer] process timeout issue In-Reply-To: <7EF2AD87-D739-400A-8F0F-CBA3BF143246@me.com> References: <7EF2AD87-D739-400A-8F0F-CBA3BF143246@me.com> Message-ID: Hi Kevin I found this a particularly disappointing reply as I'm sure others on this list would have. I'm sure there are many others including myself who would be prepared to spend far longer than 10 minutes to assist your team and resolve this and any other issue. Just let us know how we can help. Cheers Monte > Yes. > > Best, > > Jerry Daniels > >> On 02/08/2010 18:08, "Jerry Daniels" wrote: >> >>> Time is not on our side with regard to testing a new revServer solution with >>> the idea of inclusion in the released version of Rodeo. >> >> Do you really think that its quicker to rewrite your application in PHP than >> to spend 10 minutes performing the test I requested of you (6 weeks ago), so >> that our engineers could progress on finding this issue? >> >> Kind regards, >> >> Kevin From massung at gmail.com Mon Aug 2 18:50:09 2010 From: massung at gmail.com (Jeff Massung) Date: Mon, 2 Aug 2010 17:50:09 -0500 Subject: MacBook core i7 : a real powerfull laptop or a sadly build toy ? In-Reply-To: References: <2BFF029C-F852-4317-9B70-CA2CD7C1076B@free.fr> <2EF39211-AC99-4921-91DB-2EBDBA365BC3@free.fr> <22B1AE3B-5A82-438C-A03B-CAE51F5B7B2E@twft.com> Message-ID: On Mon, Aug 2, 2010 at 4:55 PM, Neal Campbell wrote: > Purely anecdotal but from what I read, if you continuously wrote on the > disk > drive, a MLC-controller SSD would last more than 5 years and a SLC > controller SSD would last more than 30 years. > > This is only true when the write drivers for the device go through a *lot* of hoops (I had to do this ~10 years ago at a past job). For example, i-nodes on the drive for any given file will be far from anything close to sequential, slowing down reads and caching. Also, often times to improve the lifetime of a cell, bytes will be written in reverse or using other encodings; this is a common for text files where one encoding will use the upper bits and another the lower bits. But, again, this takes processing time. If you aren't willing to go through these hoops in your driver - or you disable these "features" of your SSD, you can be quite sure you'll kill it in well under 5 years. Note: even with these features, the past company I worked for would burn through 4 GB flash drives (remember, this was 10 years ago) in < 1 month, given the work we were doing with them. I'm sure things have improved considerably since then, though. Food for thought. Jeff M. From cszasz at mac.com Mon Aug 2 20:55:19 2010 From: cszasz at mac.com (charles61) Date: Mon, 2 Aug 2010 17:55:19 -0700 (PDT) Subject: A real problem with Prefs!! Message-ID: <1280796919323-2311179.post@n4.nabble.com> I successful finished testing my app within the IDE. I created a standalone and then launched it on Windows XP. I got the following error message from the Bug Report as an email: Object: stack 'C:/Documents and Settings/All Users/Application Data/MyProduct/S504.rev' Line Num: 65 Hint: loadPrefs I dismissed the error report. I went ahead and ran my program. I opened the prefs and created a pref file. The next time I launched my program, I did not get the error report above. So, apparently the program is looking for a nonexistent Prefs file and when it doesn't find it I get the error report. Here is my stack script: on preOpenStack loadPrefs end preOpenStack on loadPrefs pFilename local tPrefs -- put url ("binfile:" & pFilename) into tPrefs IF the platform is "win32" then put url ("binfile:" & specialFolderPath(26) & "/" & "504_prefs") into tPrefs end if put arrayDecode(tPrefs) into tPrefs put tPrefs["school"] into field "mySchool" of card id 1002 of stack "prefs" put tPrefs["school"] into field "school" of card "referral" of stack "S504" put tPrefs["school"] into field "site" of card "adult" of stack "S504" put tPrefs["contact"] into field "contact" of card id 1002 of stack "prefs" put tPrefs["contact"] into field "contact" of card "letter" of stack "S504" put tPrefs["contact"] into field "contact" of card "adult letter" of stack "S504" end loadPrefs I thought that the code: put url ("binfile:" & specialFolderPath(26) & "/" & "504_prefs") into tPrefs created a folder named 504_Prefs What am I missing here? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/A-real-problem-with-Prefs-tp2311179p2311179.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Mon Aug 2 21:02:32 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 2 Aug 2010 18:02:32 -0700 Subject: A real problem with Prefs!! In-Reply-To: <1280796919323-2311179.post@n4.nabble.com> References: <1280796919323-2311179.post@n4.nabble.com> Message-ID: <79253805265.20100802180232@ahsoftware.net> charles61- > I thought that the code: > put url ("binfile:" & specialFolderPath(26) & "/" & "504_prefs") into tPrefs > created a folder named 504_Prefs > What am I missing here? No, that reads the prefs file. To create the file you need put tPrefs into url ("binfile:" & specialFolderPath(26) & "/" & "504_prefs") -- -Mark Wieder mwieder at ahsoftware.net From cszasz at mac.com Mon Aug 2 21:07:30 2010 From: cszasz at mac.com (charles61) Date: Mon, 2 Aug 2010 18:07:30 -0700 (PDT) Subject: A real problem with Prefs!! In-Reply-To: <79253805265.20100802180232@ahsoftware.net> References: <1280796919323-2311179.post@n4.nabble.com> <79253805265.20100802180232@ahsoftware.net> Message-ID: <8B42B9F3-84EC-4D42-BEB9-FFF8DA17BFFF@mac.com> Hi Mark! I had that code in the actual Prefs stack but not in my app stack script. If I put the following: put tPrefs into url ("binfile:" & specialFolderPath(26) & "/" & "504_prefs") before loadPrefs in app stack script I should be okay? Charles Szasz cszasz at mac.com On Aug 2, 2010, at 9:02 PM, Mark Wieder [via Runtime Revolution] wrote: > put tPrefs into url ("binfile:" & specialFolderPath(26) & "/" & "504_prefs") -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/A-real-problem-with-Prefs-tp2311179p2311185.html Sent from the Revolution - User mailing list archive at Nabble.com. From monte at sweattechnologies.com Mon Aug 2 21:08:22 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 3 Aug 2010 11:08:22 +1000 Subject: on-rev facebook api In-Reply-To: <1280746674215-2310156.post@n4.nabble.com> References: <75459507-A877-4528-B5D1-BEBB9FE31F9B@sweattechnologies.com> <1280746674215-2310156.post@n4.nabble.com> Message-ID: Hi Robert I must admit that until I read your suggestion on revIgniter I hadn't looked into it. It's excellent work and I agree it would be good to add the facebook api to it. I'm just working my way through the chat tutorial right now ;-) Cheers Monte On 02/08/2010, at 8:57 PM, Robert Mann wrote: > > Hi from France, id'b glad to join i too. I decided to invest quite a bit of > NRJ on on-rev. > I suggest to build a library that is compatible with revIgniter, and > possibly launch a revIgniter open source shared modules; I planned to > release my paypal module there too! RObert > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-facebook-api-tp2309806p2310156.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 rman at free.fr Mon Aug 2 21:16:01 2010 From: rman at free.fr (Robert Mann) Date: Mon, 2 Aug 2010 18:16:01 -0700 (PDT) Subject: [revServer] process timeout issue In-Reply-To: References: <1280747497634-2310168.post@n4.nabble.com> <4C56EDB4.40603@fourthworld.com> <5E01462B-6BFC-40FE-BD34-135D1CCE7277@me.com> <7EF2AD87-D739-400A-8F0F-CBA3BF143246@me.com> Message-ID: <1280798161030-2311192.post@n4.nabble.com> Please let us not fall into the "bloody" trap of personnal feelings, whatever mood swing is expressed here or there. This list is a fantastic oportunity to collaborate from all over the world, for us, for our interest, not against anybody's interest !! ok? The issue between Kevin and Jerry could well be that runrev would have benefited from Rodeo potentially if it had decided (as was once upon a time announced) to distribute revServer for free (the original "pitch" was : we'll make revServer available for free but offer the on-rev service and let you developpers sell protected stacks, this is what I understood and bought!). If that road had been followed, rodeo, if successful, could have given a hand to runrev and propagate revServer with the rodeo sites that can be exported from the rodeo environnment... But at the price of revServer, that is not possible anymore, so that rodeo has to go to PHP, anyways. Full stop. It may well be that his opening of rodeo was triggered by the revServer limitations that rodeo experienced (and boy I won't beleive they invented that...) which led them to consider moving to PHP and thus allowing to export more widely rodeo apps.. etc... What I have understood of Jerry's path these last years is that he protyped using runrev, tried it hard, but then was carried to develop more solid tools outside runrev like tRev, rodeo app, and now rodeo-php. He communicates and shares his experiences, so we here about it. And it is disturbing to all of us who "beleive(d)" in revTalk... So the issue we're concerned with revServer is : is it yet another prototyping tool only or is it a solid work horse server? Let's find out! A) Is there a problem? ++> There is a problem Rodeo team (poor load and performance test of rodeo apps) Bob Sneidar (experienced unexplained time lags) Pierre Saohres (i can see this happen with the early requests to woooooooords.com : The first request can, time to time, take around 20 secs. After this first request, the next ones are always back to the user in less than some ticks.) Kevin Miller (do not communicate their test benches, so performance problem is plausible) Andre Garzia (You can also notice that there were requests that took 15 secs and others that took 3 secs, which is odd since they were all hitting the same page. What we can infer from this simple thing is that there are places that RevServer needs working but it also means we need more focus to find where and why it breaks) --> There does ot seem to be a problem Pierre Sahores (limitations set in revServer ar standard) Kevin Miller (we do not have enough feedback) B) What are the possible causes of the problem? Rodeo team (We think there is some sort of pooling of processes (and possibly users) that are limited by 30 secs. We have seen the timeout in much shorter time spans. Andrew reports a 4 second time out. Pierre Sahores (setting 30 sec limits and 64 mb limit is standard practice, Could be a problem related to the RAM virtualisation of the RHEL5 host it self, httpd.conf, etc... ) C) consequently what precautions have revServer developpers to take -- do we have to re-send post or get if no answer after a while? any suggested routine to do so? (thank you runrev team to help too!) D) consequently what is revServer ok for and what it is not ok for. -- do we have to postpone any serious launch of revServer, on-rev services until the beta test ends and a version one is officially launched? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/revServer-process-timeout-issue-tp2310168p2311192.html Sent from the Revolution - User mailing list archive at Nabble.com. From shaosean at wehostmacs.com Mon Aug 2 21:28:43 2010 From: shaosean at wehostmacs.com (Shao Sean) Date: Mon, 02 Aug 2010 21:28:43 -0400 Subject: revServer Message-ID: <9E709105-97CB-4671-8288-81DA270247BA@wehostmacs.com> Some of the comments over the last little while about revServer seem to imply that it is available to install on a host other than onRev.. Is this true or are people referring to revCGI ? From rman at free.fr Mon Aug 2 21:34:55 2010 From: rman at free.fr (Robert Mann) Date: Mon, 2 Aug 2010 18:34:55 -0700 (PDT) Subject: revServer In-Reply-To: <9E709105-97CB-4671-8288-81DA270247BA@wehostmacs.com> References: <9E709105-97CB-4671-8288-81DA270247BA@wehostmacs.com> Message-ID: <1280799295994-2311207.post@n4.nabble.com> https://secure.runrev.com/store/browse/?product=RVSLSERV -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/revServer-tp2311201p2311207.html Sent from the Revolution - User mailing list archive at Nabble.com. From jerry.daniels at me.com Mon Aug 2 22:15:54 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 2 Aug 2010 21:15:54 -0500 Subject: [revServer] process timeout issue In-Reply-To: <1280798161030-2311192.post@n4.nabble.com> References: <1280747497634-2310168.post@n4.nabble.com> <4C56EDB4.40603@fourthworld.com> <5E01462B-6BFC-40FE-BD34-135D1CCE7277@me.com> <7EF2AD87-D739-400A-8F0F-CBA3BF143246@me.com> <1280798161030-2311192.post@n4.nabble.com> Message-ID: <703419E9-1A48-4F33-9842-200C8DDE9FE5@me.com> Robert this is a lo-o-o-o-ong post. On Aug 2, 2010, at 8:16 PM, Robert Mann wrote: > > Please let us not fall into the "bloody" trap of personnal feelings, whatever > mood swing is expressed here or there. This list is a fantastic oportunity > to collaborate from all over the world, for us, for our interest, not > against anybody's interest !! ok? > > The issue between Kevin and Jerry could well be that runrev would have > benefited from Rodeo potentially if it had decided (as was once upon a time > announced) to distribute revServer for free (the original "pitch" was : > we'll make revServer available for free but offer the on-rev service and let > you developpers sell protected stacks, this is what I understood and > bought!). > > If that road had been followed, rodeo, if successful, could have given a > hand to runrev and propagate revServer with the rodeo sites that can be > exported from the rodeo environnment... But at the price of revServer, that > is not possible anymore, so that rodeo has to go to PHP, anyways. Full stop. > > It may well be that his opening of rodeo was triggered by the revServer > limitations that rodeo experienced (and boy I won't beleive they invented > that...) which led them to consider moving to PHP and thus allowing to > export more widely rodeo apps.. etc... > > What I have understood of Jerry's path these last years is that he protyped > using runrev, tried it hard, but then was carried to develop more solid > tools outside runrev like tRev, rodeo app, and now rodeo-php. He > communicates and shares his experiences, so we here about it. And it is > disturbing to all of us who "beleive(d)" in revTalk... > > So the issue we're concerned with revServer is : is it yet another > prototyping tool only or is it a solid work horse server? Let's find out! > > A) Is there a problem? > > ++> There is a problem > Rodeo team (poor load and performance test of rodeo apps) > Bob Sneidar (experienced unexplained time lags) > Pierre Saohres (i can see this happen with the early requests to > woooooooords.com : The first request can, time to time, take around 20 secs. > After this first request, the next ones are always back to the user in less > than some ticks.) > Kevin Miller (do not communicate their test benches, so performance problem > is plausible) > Andre Garzia (You can also notice that there were requests that took 15 secs > and others that took 3 secs, which is odd since they were all hitting the > same page. What we can infer from this simple thing is that there are places > that RevServer needs working but it also means we need more focus to find > where and why it breaks) > > --> There does ot seem to be a problem > Pierre Sahores (limitations set in revServer ar standard) > Kevin Miller (we do not have enough feedback) > > > > B) What are the possible causes of the problem? > > Rodeo team (We think there is some sort of pooling of processes (and > possibly users) that are limited by 30 secs. We have seen the timeout in > much shorter time spans. Andrew reports a 4 second time out. > > Pierre Sahores (setting 30 sec limits and 64 mb limit is standard practice, > Could be a problem related to the RAM virtualisation of the RHEL5 host it > self, httpd.conf, etc... ) > > C) consequently what precautions have revServer developpers to take > -- do we have to re-send post or get if no answer after a while? any > suggested routine to do so? (thank you runrev team to help too!) > > D) consequently what is revServer ok for and what it is not ok for. > -- do we have to postpone any serious launch of revServer, on-rev services > until the beta test ends and a version one is officially launched? > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/revServer-process-timeout-issue-tp2310168p2311192.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 mikekann at yahoo.com Mon Aug 2 22:19:24 2010 From: mikekann at yahoo.com (Michael Kann) Date: Mon, 2 Aug 2010 19:19:24 -0700 (PDT) Subject: [revServer] process timeout issue In-Reply-To: <703419E9-1A48-4F33-9842-200C8DDE9FE5@me.com> Message-ID: <338127.38851.qm@web56701.mail.re3.yahoo.com> Jerry and Robert, To summarize: Austin and Edinburgh got into a pissing match. Mike --- On Mon, 8/2/10, Jerry Daniels wrote: From: Jerry Daniels Subject: Re: [revServer] process timeout issue To: "How to use Revolution" Date: Monday, August 2, 2010, 9:15 PM Robert this is a lo-o-o-o-ong post. On Aug 2, 2010, at 8:16 PM, Robert Mann wrote: > > Please let us not fall into the "bloody" trap of personnal feelings, whatever > mood swing is expressed here or there. This list is a fantastic oportunity > to collaborate from all over the world, for us, for our interest, not > against anybody's interest !! ok? > > The issue between Kevin and Jerry could well be that runrev would have > benefited from Rodeo potentially if it had decided (as was once upon a time > announced) to distribute revServer for free (the original "pitch" was : > we'll make revServer available for free but offer the on-rev service and let > you developpers sell protected stacks, this is what I understood and > bought!). > > If that road had been followed, rodeo, if successful, could have given a > hand to runrev and propagate revServer with the rodeo sites that can be > exported from the rodeo environnment... But at the price of revServer, that > is not possible anymore, so that rodeo has to go to PHP, anyways. Full stop. > > It may well be that his opening of rodeo was triggered by the revServer > limitations that rodeo experienced (and boy I won't beleive they invented > that...) which led them to consider moving to PHP and thus allowing to > export more widely rodeo apps.. etc... > > What I have understood of Jerry's path these last years is that he protyped > using runrev, tried it hard, but then was carried to develop more solid > tools outside runrev like tRev, rodeo app, and now rodeo-php. He > communicates and shares his experiences, so we here about it. And it is > disturbing to all of us who "beleive(d)" in revTalk... > > So the issue we're concerned with revServer is : is it yet another > prototyping tool only or is it a solid work horse server? Let's find out! > > A) Is there a problem? > > ++> There is a problem > Rodeo team (poor load and performance test of rodeo apps) > Bob Sneidar (experienced unexplained time lags) > Pierre Saohres (i can see this happen with the early requests to > woooooooords.com : The first request can, time to time, take around 20 secs. > After this first request, the next ones are always back to the user in less > than some ticks.) > Kevin Miller (do not communicate their test benches, so performance problem > is plausible) > Andre Garzia (You can also notice that there were requests that took 15 secs > and others that took 3 secs, which is odd since they were all hitting the > same page. What we can infer from this simple thing is that there are places > that RevServer needs working but it also means we need more focus to find > where and why it breaks) > > --> There does ot seem to be a problem > Pierre Sahores (limitations set in revServer ar standard) > Kevin Miller (we do not have enough feedback) > > > > B) What are the possible causes of the problem? > > Rodeo team (We think there is some sort of pooling of processes (and > possibly users) that are limited by 30 secs. We have seen the timeout in > much shorter time spans. Andrew reports a 4 second time out. > > Pierre Sahores (setting 30 sec limits and 64 mb limit is standard practice, > Could be a problem related to the RAM virtualisation of the RHEL5 host it > self, httpd.conf, etc... ) > > C) consequently what precautions have revServer developpers to take > -- do we have to re-send post or get if no answer after a while? any > suggested routine to do so? (thank you runrev team to help too!) > > D) consequently what is revServer ok for and what it is not ok for. > -- do we have to postpone any serious launch of revServer, on-rev services > until the beta test ends and a version one is officially launched? > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/revServer-process-timeout-issue-tp2310168p2311192.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 From jerry.daniels at me.com Mon Aug 2 22:20:52 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 2 Aug 2010 21:20:52 -0500 Subject: [revServer] process timeout issue In-Reply-To: <338127.38851.qm@web56701.mail.re3.yahoo.com> References: <338127.38851.qm@web56701.mail.re3.yahoo.com> Message-ID: <6682030F-BDD9-4D74-844D-34E80CA4D54D@me.com> I just said "yes" On Aug 2, 2010, at 9:19 PM, Michael Kann wrote: > Jerry and Robert, > > To summarize: > > Austin and Edinburgh got into a pissing match. > > Mike > > > > --- On Mon, 8/2/10, Jerry Daniels wrote: > > From: Jerry Daniels > Subject: Re: [revServer] process timeout issue > To: "How to use Revolution" > Date: Monday, August 2, 2010, 9:15 PM > > Robert this is a lo-o-o-o-ong post. > > On Aug 2, 2010, at 8:16 PM, Robert Mann wrote: > >> >> Please let us not fall into the "bloody" trap of personnal feelings, whatever >> mood swing is expressed here or there. This list is a fantastic oportunity >> to collaborate from all over the world, for us, for our interest, not >> against anybody's interest !! ok? >> >> The issue between Kevin and Jerry could well be that runrev would have >> benefited from Rodeo potentially if it had decided (as was once upon a time >> announced) to distribute revServer for free (the original "pitch" was : >> we'll make revServer available for free but offer the on-rev service and let >> you developpers sell protected stacks, this is what I understood and >> bought!). >> >> If that road had been followed, rodeo, if successful, could have given a >> hand to runrev and propagate revServer with the rodeo sites that can be >> exported from the rodeo environnment... But at the price of revServer, that >> is not possible anymore, so that rodeo has to go to PHP, anyways. Full stop. >> >> It may well be that his opening of rodeo was triggered by the revServer >> limitations that rodeo experienced (and boy I won't beleive they invented >> that...) which led them to consider moving to PHP and thus allowing to >> export more widely rodeo apps.. etc... >> >> What I have understood of Jerry's path these last years is that he protyped >> using runrev, tried it hard, but then was carried to develop more solid >> tools outside runrev like tRev, rodeo app, and now rodeo-php. He >> communicates and shares his experiences, so we here about it. And it is >> disturbing to all of us who "beleive(d)" in revTalk... >> >> So the issue we're concerned with revServer is : is it yet another >> prototyping tool only or is it a solid work horse server? Let's find out! >> >> A) Is there a problem? >> >> ++> There is a problem >> Rodeo team (poor load and performance test of rodeo apps) >> Bob Sneidar (experienced unexplained time lags) >> Pierre Saohres (i can see this happen with the early requests to >> woooooooords.com : The first request can, time to time, take around 20 secs. >> After this first request, the next ones are always back to the user in less >> than some ticks.) >> Kevin Miller (do not communicate their test benches, so performance problem >> is plausible) >> Andre Garzia (You can also notice that there were requests that took 15 secs >> and others that took 3 secs, which is odd since they were all hitting the >> same page. What we can infer from this simple thing is that there are places >> that RevServer needs working but it also means we need more focus to find >> where and why it breaks) >> >> --> There does ot seem to be a problem >> Pierre Sahores (limitations set in revServer ar standard) >> Kevin Miller (we do not have enough feedback) >> >> >> >> B) What are the possible causes of the problem? >> >> Rodeo team (We think there is some sort of pooling of processes (and >> possibly users) that are limited by 30 secs. We have seen the timeout in >> much shorter time spans. Andrew reports a 4 second time out. >> >> Pierre Sahores (setting 30 sec limits and 64 mb limit is standard practice, >> Could be a problem related to the RAM virtualisation of the RHEL5 host it >> self, httpd.conf, etc... ) >> >> C) consequently what precautions have revServer developpers to take >> -- do we have to re-send post or get if no answer after a while? any >> suggested routine to do so? (thank you runrev team to help too!) >> >> D) consequently what is revServer ok for and what it is not ok for. >> -- do we have to postpone any serious launch of revServer, on-rev services >> until the beta test ends and a version one is officially launched? >> >> >> -- >> View this message in context: http://runtime-revolution.278305.n4.nabble.com/revServer-process-timeout-issue-tp2310168p2311192.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 > > > > > _______________________________________________ > 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 mikekann at yahoo.com Mon Aug 2 22:27:16 2010 From: mikekann at yahoo.com (Michael Kann) Date: Mon, 2 Aug 2010 19:27:16 -0700 (PDT) Subject: [revServer] process timeout issue In-Reply-To: <6682030F-BDD9-4D74-844D-34E80CA4D54D@me.com> Message-ID: <11133.43820.qm@web56701.mail.re3.yahoo.com> Jerry, It's like when my wife says, "Ok, do whatever you want."? Then I know I'm really in trouble. Mike --- On Mon, 8/2/10, Jerry Daniels wrote: From: Jerry Daniels Subject: Re: [revServer] process timeout issue To: "How to use Revolution" Date: Monday, August 2, 2010, 9:20 PM I just said "yes" On Aug 2, 2010, at 9:19 PM, Michael Kann wrote: > Jerry and Robert, > > To summarize: > > Austin and Edinburgh got into a pissing match. > > Mike > > > > --- On Mon, 8/2/10, Jerry Daniels wrote: > > From: Jerry Daniels > Subject: Re: [revServer] process timeout issue > To: "How to use Revolution" > Date: Monday, August 2, 2010, 9:15 PM > > Robert this is a lo-o-o-o-ong post. > > On Aug 2, 2010, at 8:16 PM, Robert Mann wrote: > >> >> Please let us not fall into the "bloody" trap of personnal feelings, whatever >> mood swing is expressed here or there. This list is a fantastic oportunity >> to collaborate from all over the world, for us, for our interest, not >> against anybody's interest !! ok? >> >> The issue between Kevin and Jerry could well be that runrev would have >> benefited from Rodeo potentially if it had decided (as was once upon a time >> announced) to distribute revServer for free (the original "pitch" was : >> we'll make revServer available for free but offer the on-rev service and let >> you developpers sell protected stacks, this is what I understood and >> bought!). >> >> If that road had been followed, rodeo, if successful, could have given a >> hand to runrev and propagate revServer with the rodeo sites that can be >> exported from the rodeo environnment... But at the price of revServer, that >> is not possible anymore, so that rodeo has to go to PHP, anyways. Full stop. >> >> It may well be that his opening of rodeo was triggered by the revServer >> limitations that rodeo experienced (and boy I won't beleive they invented >> that...) which led them to consider moving to PHP and thus allowing to >> export more widely rodeo apps.. etc... >> >> What I have understood of Jerry's path these last years is that he protyped >> using runrev, tried it hard, but then was carried to develop more solid >> tools outside runrev like tRev, rodeo app, and now rodeo-php. He >> communicates and shares his experiences, so we here about it. And it is >> disturbing to all of us who "beleive(d)" in revTalk... >> >> So the issue we're concerned with revServer is : is it yet another >> prototyping tool only or is it a solid work horse server? Let's find out! >> >> A) Is there a problem? >> >> ++> There is a problem >> Rodeo team (poor load and performance test of rodeo apps) >> Bob Sneidar (experienced unexplained time lags) >> Pierre Saohres (i can see this happen with the early requests to >> woooooooords.com : The first request can, time to time, take around 20 secs. >> After this first request, the next ones are always back to the user in less >> than some ticks.) >> Kevin Miller (do not communicate their test benches, so performance problem >> is plausible) >> Andre Garzia (You can also notice that there were requests that took 15 secs >> and others that took 3 secs, which is odd since they were all hitting the >> same page. What we can infer from this simple thing is that there are places >> that RevServer needs working but it also means we need more focus to find >> where and why it breaks) >> >> --> There does ot seem to be a problem >> Pierre Sahores (limitations set in revServer ar standard) >> Kevin Miller (we do not have enough feedback) >> >> >> >> B) What are the possible causes of the problem? >> >> Rodeo team (We think there is some sort of pooling of processes (and >> possibly users) that are limited by 30 secs. We have seen the timeout in >> much shorter time spans. Andrew reports a 4 second time out. >> >> Pierre Sahores (setting 30 sec limits and 64 mb limit is standard practice, >> Could be a problem related to the RAM virtualisation of the RHEL5 host it >> self, httpd.conf, etc... ) >> >> C) consequently what precautions have revServer developpers to take >> -- do we have to re-send post or get if no answer after a while? any >> suggested routine to do so? (thank you runrev team to help too!) >> >> D) consequently what is revServer ok for and what it is not ok for. >> -- do we have to postpone any serious launch of revServer, on-rev services >> until the beta test ends and a version one is officially launched? >> >> >> -- >> View this message in context: http://runtime-revolution.278305.n4.nabble.com/revServer-process-timeout-issue-tp2310168p2311192.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 > > > > > _______________________________________________ > 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 jerry.daniels at me.com Mon Aug 2 22:29:39 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 2 Aug 2010 21:29:39 -0500 Subject: [revServer] process timeout issue In-Reply-To: <11133.43820.qm@web56701.mail.re3.yahoo.com> References: <11133.43820.qm@web56701.mail.re3.yahoo.com> Message-ID: <4EACA1EF-E245-4BAB-B599-356AF5F70CAB@me.com> Somebody ask a question about Revolution. Please. On Aug 2, 2010, at 9:27 PM, Michael Kann wrote: > Jerry, > > It's like when my wife says, "Ok, do whatever you want." Then I know I'm really in trouble. > > Mike > > --- On Mon, 8/2/10, Jerry Daniels wrote: > > From: Jerry Daniels > Subject: Re: [revServer] process timeout issue > To: "How to use Revolution" > Date: Monday, August 2, 2010, 9:20 PM > > I just said "yes" > > On Aug 2, 2010, at 9:19 PM, Michael Kann wrote: > >> Jerry and Robert, >> >> To summarize: >> >> Austin and Edinburgh got into a pissing match. >> >> Mike >> >> >> >> --- On Mon, 8/2/10, Jerry Daniels wrote: >> >> From: Jerry Daniels >> Subject: Re: [revServer] process timeout issue >> To: "How to use Revolution" >> Date: Monday, August 2, 2010, 9:15 PM >> >> Robert this is a lo-o-o-o-ong post. >> >> On Aug 2, 2010, at 8:16 PM, Robert Mann wrote: >> >>> >>> Please let us not fall into the "bloody" trap of personnal feelings, whatever >>> mood swing is expressed here or there. This list is a fantastic oportunity >>> to collaborate from all over the world, for us, for our interest, not >>> against anybody's interest !! ok? >>> >>> The issue between Kevin and Jerry could well be that runrev would have >>> benefited from Rodeo potentially if it had decided (as was once upon a time >>> announced) to distribute revServer for free (the original "pitch" was : >>> we'll make revServer available for free but offer the on-rev service and let >>> you developpers sell protected stacks, this is what I understood and >>> bought!). >>> >>> If that road had been followed, rodeo, if successful, could have given a >>> hand to runrev and propagate revServer with the rodeo sites that can be >>> exported from the rodeo environnment... But at the price of revServer, that >>> is not possible anymore, so that rodeo has to go to PHP, anyways. Full stop. >>> >>> It may well be that his opening of rodeo was triggered by the revServer >>> limitations that rodeo experienced (and boy I won't beleive they invented >>> that...) which led them to consider moving to PHP and thus allowing to >>> export more widely rodeo apps.. etc... >>> >>> What I have understood of Jerry's path these last years is that he protyped >>> using runrev, tried it hard, but then was carried to develop more solid >>> tools outside runrev like tRev, rodeo app, and now rodeo-php. He >>> communicates and shares his experiences, so we here about it. And it is >>> disturbing to all of us who "beleive(d)" in revTalk... >>> >>> So the issue we're concerned with revServer is : is it yet another >>> prototyping tool only or is it a solid work horse server? Let's find out! >>> >>> A) Is there a problem? >>> >>> ++> There is a problem >>> Rodeo team (poor load and performance test of rodeo apps) >>> Bob Sneidar (experienced unexplained time lags) >>> Pierre Saohres (i can see this happen with the early requests to >>> woooooooords.com : The first request can, time to time, take around 20 secs. >>> After this first request, the next ones are always back to the user in less >>> than some ticks.) >>> Kevin Miller (do not communicate their test benches, so performance problem >>> is plausible) >>> Andre Garzia (You can also notice that there were requests that took 15 secs >>> and others that took 3 secs, which is odd since they were all hitting the >>> same page. What we can infer from this simple thing is that there are places >>> that RevServer needs working but it also means we need more focus to find >>> where and why it breaks) >>> >>> --> There does ot seem to be a problem >>> Pierre Sahores (limitations set in revServer ar standard) >>> Kevin Miller (we do not have enough feedback) >>> >>> >>> >>> B) What are the possible causes of the problem? >>> >>> Rodeo team (We think there is some sort of pooling of processes (and >>> possibly users) that are limited by 30 secs. We have seen the timeout in >>> much shorter time spans. Andrew reports a 4 second time out. >>> >>> Pierre Sahores (setting 30 sec limits and 64 mb limit is standard practice, >>> Could be a problem related to the RAM virtualisation of the RHEL5 host it >>> self, httpd.conf, etc... ) >>> >>> C) consequently what precautions have revServer developpers to take >>> -- do we have to re-send post or get if no answer after a while? any >>> suggested routine to do so? (thank you runrev team to help too!) >>> >>> D) consequently what is revServer ok for and what it is not ok for. >>> -- do we have to postpone any serious launch of revServer, on-rev services >>> until the beta test ends and a version one is officially launched? >>> >>> >>> -- >>> View this message in context: http://runtime-revolution.278305.n4.nabble.com/revServer-process-timeout-issue-tp2310168p2311192.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 >> >> >> >> >> _______________________________________________ >> 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 runrevron at gmail.com Mon Aug 2 23:01:12 2010 From: runrevron at gmail.com (ron barber) Date: Tue, 3 Aug 2010 12:01:12 +0900 Subject: Mousemove, Optionkey and Windows Message-ID: Greetings I encountered a problem and would appreciate confirmation and a work around if needed. The problem is: the state of the optionkey is not reported in a mousemove handler on windows (tried on 7 only) Simply create a new stack with a single fld. Set the script of the fld to on mousemove put the optionkey end mousemove this always reports up in my cases but perhaps something else is going on. Thanks Ron From joef1 at mac.com Mon Aug 2 23:02:09 2010 From: joef1 at mac.com (Joe F.) Date: Mon, 02 Aug 2010 23:02:09 -0400 Subject: [revServer] process timeout issue In-Reply-To: <6682030F-BDD9-4D74-844D-34E80CA4D54D@me.com> References: <338127.38851.qm@web56701.mail.re3.yahoo.com> <6682030F-BDD9-4D74-844D-34E80CA4D54D@me.com> Message-ID: > I just said "yes" I took that to mean "the new Rev to PHP converter is soon to be released". From tsj at unimelb.edu.au Mon Aug 2 23:20:40 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 03 Aug 2010 13:20:40 +1000 Subject: Mousemove, Optionkey and Windows In-Reply-To: Message-ID: Hi Ron - confirmed here on XP (works fine on OSX). Interestingly it will report 'down' if you click the mouse and then correctly reports 'up' when you release the key - without clicking the mouse this time. ControlKey seems to work as advertised. Looks like a bug to me. Terry... On 3/08/10 1:01 PM, "ron barber" wrote: > Greetings > > I encountered a problem and would appreciate confirmation and a work > around if needed. > > The problem is: the state of the optionkey is not reported in a > mousemove handler on windows (tried on 7 only) > > Simply create a new stack with a single fld. Set the script of the fld to > > on mousemove > put the optionkey > end mousemove > > this always reports up in my cases but perhaps something else is going on. > > Thanks > Ron > _______________________________________________ > 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 -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From mwieder at ahsoftware.net Tue Aug 3 02:57:38 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 2 Aug 2010 23:57:38 -0700 Subject: A real problem with Prefs!! In-Reply-To: <8B42B9F3-84EC-4D42-BEB9-FFF8DA17BFFF@mac.com> References: <1280796919323-2311179.post@n4.nabble.com> <79253805265.20100802180232@ahsoftware.net> <8B42B9F3-84EC-4D42-BEB9-FFF8DA17BFFF@mac.com> Message-ID: <116275111406.20100802235738@ahsoftware.net> charles61- Monday, August 2, 2010, 6:07:30 PM, you wrote: > Hi Mark! > I had that code in the actual Prefs stack but not in my app stack script. If I put the following: > put tPrefs into url ("binfile:" & specialFolderPath(26) & "/" & "504_prefs") > before loadPrefs in app stack script I should be okay? Beats me. I'm not sure what you're trying to do... is there anything in tPrefs at the time? If not, why are you creating a blank file and then trying to load it? Wouldn't you be better off trying something like on loadPrefs pFilename if there is a file (specialFolderPath(26) & "/" & "504_prefs") then ...and continue from there? -- -Mark Wieder mwieder at ahsoftware.net From shaosean at wehostmacs.com Tue Aug 3 04:16:37 2010 From: shaosean at wehostmacs.com (Shao Sean) Date: Tue, 03 Aug 2010 04:16:37 -0400 Subject: [revServer] process timeout issue Message-ID: <70045DDF-225C-4CD6-A89A-2CCE73B03606@wehostmacs.com> > Robert this is a lo-o-o-o-ong post. and that was a useless post.. Robert did raise a few valid points: - revServer was originally going to be released for free (I can understand needing some funds after the revMobile fiasco) - "consequently what precautions have revServer developpers to take" - "do we have to postpone any serious launch of revServer, on-rev services until the beta test ends and a version one is officially launched?" While it is never good to release services or applications built with alpha/beta pieces of software, the need to build with them to release when they are released is a valid use.. If the revServer cannot handle the load during development what will happen when revServer is officially released? What happens if the web service becomes more popular than originally estimated? What happens if the web service gets slash dotted? I understand that even PHP has memory limits and script execution times (ahh.. good old infinite loops) but they are configurable (will the final version of revServer be?).. Load times of a page are not a huge deal and cannot be blamed on revServer as I have gone to my bank's site and have waited for quite some time only to hit the refresh button to have it pop up (happens at Hotmail too).. And I was looking forward to playing with the new revServer technology but looks like I will be stuck with the old revCGI for now.. :( -Sean From cszasz at mac.com Tue Aug 3 07:15:22 2010 From: cszasz at mac.com (charles61) Date: Tue, 3 Aug 2010 04:15:22 -0700 (PDT) Subject: A real problem with Prefs!! In-Reply-To: <116275111406.20100802235738@ahsoftware.net> References: <1280796919323-2311179.post@n4.nabble.com> <79253805265.20100802180232@ahsoftware.net> <8B42B9F3-84EC-4D42-BEB9-FFF8DA17BFFF@mac.com> <116275111406.20100802235738@ahsoftware.net> Message-ID: <1280834122275-2311653.post@n4.nabble.com> Mark, Thanks for your suggestion. Here is what I am trying to do. My app has a preferences for the user to complete. It includes the name of the user, telephone number and e-mail address that are used on a couple of cards as part of a document that is later printed out. When the app is first launched, the preferences are empty, waiting to be filled by the user. I will try your suggestion! Again thanks for your time! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/A-real-problem-with-Prefs-tp2311179p2311653.html Sent from the Revolution - User mailing list archive at Nabble.com. From effendi at wanadoo.fr Tue Aug 3 07:27:40 2010 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Tue, 3 Aug 2010 13:27:40 +0200 Subject: Standalone Creation - Windows "Externals" Sub-folder Message-ID: <30D2316E-E0CF-49F5-94A9-40C97F32402F@wanadoo.fr> Hi from Beautiful Brittany, When creating a Windows Standalone Application, the generated Windows folder contains a sub-folder called "Externals". For my stacks, this folder has always been empty. This is convenient for me, because I can take the .exe file out of its environment, and put it anywhere for execution. I would surmise that if the sub-folder contained anything, I would always have to keep the .exe file and the Externals folder in the same folder. However, always curious, I would like to know under what circumstances does this sub-folder contain anything ? -Francis "Nothing should ever be done for the first time !" From m.schonewille at economy-x-talk.com Tue Aug 3 08:12:31 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 3 Aug 2010 14:12:31 +0200 Subject: Standalone Creation - Windows "Externals" Sub-folder In-Reply-To: <30D2316E-E0CF-49F5-94A9-40C97F32402F@wanadoo.fr> References: <30D2316E-E0CF-49F5-94A9-40C97F32402F@wanadoo.fr> Message-ID: <6A43F3FC-FFC7-4FEB-847B-1A79F1658E96@economy-x-talk.com> Hi Francis, The externals folder contains files If you include externals :-) For example if you include the browser library or the revFont library or if you include a database driver. -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 3 aug 2010 om 13:27 heeft Francis Nugent Dixon het volgende geschreven:\ > Hi from Beautiful Brittany, > > When creating a Windows Standalone Application, > the generated Windows folder contains a sub-folder > called "Externals". For my stacks, this folder has > always been empty. This is convenient for me, because > I can take the .exe file out of its environment, > and put it anywhere for execution. > > I would surmise that if the sub-folder contained > anything, I would always have to keep the .exe > file and the Externals folder in the same folder. > > However, always curious, I would like to know > under what circumstances does this sub-folder > contain anything ? > > -Francis > > "Nothing should ever be done for the first 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 janschenkel at yahoo.com Tue Aug 3 08:17:20 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 3 Aug 2010 05:17:20 -0700 (PDT) Subject: Mousemove, Optionkey and Windows In-Reply-To: Message-ID: <351205.18232.qm@web65411.mail.ac4.yahoo.com> --- On Mon, 8/2/10, ron barber wrote: > Greetings > > I encountered a problem and would appreciate confirmation > and a work > around if needed. > > The problem is: the state of the optionkey is not reported > in a > mousemove handler on windows (tried on 7 only) > > Simply create a new stack with a single fld. Set the script > of the fld to > > on mousemove > ???put the optionkey > end mousemove > > this always reports up in my cases but perhaps something > else is going on. > > Thanks > Ron > Works for me under Windows XP - though if I hold down the optionKey/altKey I first have to move the mouse to actually see the change in the message box. The change in status of a key will not trigger the mouseMove event. 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) From cszasz at mac.com Tue Aug 3 08:22:02 2010 From: cszasz at mac.com (charles61) Date: Tue, 3 Aug 2010 05:22:02 -0700 (PDT) Subject: A real problem with Prefs!! In-Reply-To: <116275111406.20100802235738@ahsoftware.net> References: <1280796919323-2311179.post@n4.nabble.com> <79253805265.20100802180232@ahsoftware.net> <8B42B9F3-84EC-4D42-BEB9-FFF8DA17BFFF@mac.com> <116275111406.20100802235738@ahsoftware.net> Message-ID: <1280838122299-2311755.post@n4.nabble.com> Hi Mark, I tried your suggestion and it works on both my windows and mac apps!! Here is my revised stack script of my app stack: on preOpenStack set the loc of this stack to the screenloc loadPrefs end preOpenStack on loadPrefs pFilename local tPrefs -- put url ("binfile:" & pFilename) into tPrefs IF the platform is "MacOS" then if there is a file (specialFolderPath(26) & "/" & "S504_prefs") then put url ("binfile:" & specialFolderPath("preferences") & "/" & "S504_prefs") into tPrefs put arrayDecode(tPrefs) into tPrefs -- now fill in all my data... put tPrefs["school"] into field "mySchool" of card id 1002 of stack "prefs" put tPrefs["contact"] into field "contact" of card id 1002 of stack "prefs" put tPrefs["email"] into field "email" of card id 1002 of stack "prefs" end if end if IF the platform is "win32" then if there is a file (specialFolderPath(26) & "/" & "S504_prefs") then put url ("binfile:" & specialFolderPath(26) & "/" & "S504_prefs") into tPrefs put arrayDecode(tPrefs) into tPrefs -- now fill in all my data... put tPrefs["school"] into field "mySchool" of card id 1002 of stack "prefs" put tPrefs["contact"] into field "contact" of card id 1002 of stack "prefs" put tPrefs["email"] into field "email" of card id 1002 of stack "prefs" end if end if end loadPrefs Please feel free to make any additional comments. This is my first app that employs a prefs stack. My experience with this have been frustrating at time but invaluable for future apps. I am posting this code so that it will be helpful to others. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/A-real-problem-with-Prefs-tp2311179p2311755.html Sent from the Revolution - User mailing list archive at Nabble.com. From runrevron at gmail.com Tue Aug 3 09:46:26 2010 From: runrevron at gmail.com (ron barber) Date: Tue, 3 Aug 2010 22:46:26 +0900 Subject: Mousemove, Optionkey and Windows Message-ID: Terry, Jan Thanks for checking on this. On Aug 3, 2010, at 9:17 PM, Jan Schenkel wrote: --- On Mon, 8/2/10, ron barber wrote: Greetings Works for me under Windows XP - though if I hold down the optionKey/altKey I first have to move the mouse to actually see the change in the message box. The change in status of a key will not trigger the mouseMove event. Jan, just to be clear, I am not looking for the key down to trigger a mousemove. I am trying to respond to the mouse moving within a fld when the optionkey goes down. Specifically I am getting the mousetext and displaying related data to that text e.g. a dictionary entry. Terry, were you testing on a windows machine or emulation or some sort? Thanks Ron From andre at andregarzia.com Tue Aug 3 09:47:40 2010 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 3 Aug 2010 10:47:40 -0300 Subject: [revServer] process timeout issue In-Reply-To: <70045DDF-225C-4CD6-A89A-2CCE73B03606@wehostmacs.com> References: <70045DDF-225C-4CD6-A89A-2CCE73B03606@wehostmacs.com> Message-ID: Folks, I never seen a RevServer bug like those timeouts and stuff and of course Jerry is not making it up, so the logical conclusion is that there's some specific case(s) where a RevServer script can go loco and fail. After that conclusion, our first requirement is to draw a mental map of what is involved. Now repeat after me SETUP S - Scenario (what are they building) E - Environment (what is the surrounding environment) T - Technology (what are they using) U - Usage Case (what happened/when happened) P - Possible Points of Failure (critical things that need assessment) === Scenario === Jerry, Sarah and Mary are building some amazing tools. They have a new development tool that is powered by new xTalk like language called LIST. Their system works by doing conversions on that LIST language to present HTML5, Javascript, CSS web application. Their applications are AJAX powered and a round trip to the server is needed to execute LIST ACTIONS (is this true?) === Environment === Rodeo server was a RevServer built solution hosted at a datacenter. Is it hosted at On-Rev or is it hosted privatelly? Where is it hosted? === Technology === Is Rodeo on virtualized hardware? Shared accounts? VPS? Which database was used? Is it being served with Apache? === Usage Case === Can RevServer timeout be narrowed to some usage scenario? For example did it happened while huge conversions of LIST were taking place? Did it happen while complex database calls were being executed? Was it completelly random? === Possible Points of Failure === If RevServer failed for a SANE REASON, meaning, it didn't simply exploded out of nowhere then the most probable causes are: * Memory Exaustion: RevServer script took more than it was allowed to chew and was terminated. * CPU Thief: RevServer script decided that the CPU was his alone and maxed it for more time than allowed. Terminated with prejudice. * Timeout: RevServer script started ponderating on the meaning of life while doing its chores, takes forever, terminated by virtualization police. These are the sane reasons for a process to be terminated by the system. Could it be that RevServer is crashing, crashing is not the same as being terminated. Being terminated means that you are working correctly but for some reason or policy your process is terminated, crashing means somewhere inside RevServer engine something went nuts and it died. Now we don't know the answers to those questions but those are questions that all should ask while facing problems with server side stuff. Server side is hard and while on the Desktop is OK to make a little standalone that allocated half a gig of memory, at the server side there's a big change that you will not be allowed to do that. There are to many possible points of failures and things to keep attention specially when you are building something as big as Rodeo. I am sure that Jerry and Sarah investigated their possibilities and reasoned what to do. In the end it is just a compromise about where you want to stop and work. They decided to move that technology to other engine. It is OK. Had they decided otherwise it would be OK too. Yesterday me and Pierre did some stress testing on his site. I've run 25 concurrent access for 30 secs on his site, of course I've run it from a single machine and thus it is not the best benchmark possible but I did this multiple times and his did it at the same time as well and maybe others did to. On my tests there was not a single error. Some requests took longer thant others but this can happen for many resons including problems on my machine and network, after all I am on a lousy VPN. I am now building some huge RevServer based solutions and I am yet to face those problems, thats why I believe there's a recipe for them or that they are caused by a combination of factors related to the virtualization stack (if the server was indeed virtualized). Remember folks, virtualization is cool but nothing beats a real machine. Sorry for the long post andre -- http://www.andregarzia.com All We Do Is Code. From mikekann at yahoo.com Tue Aug 3 10:21:31 2010 From: mikekann at yahoo.com (Michael Kann) Date: Tue, 3 Aug 2010 07:21:31 -0700 (PDT) Subject: [revServer] process timeout issue In-Reply-To: Message-ID: <148110.49910.qm@web56702.mail.re3.yahoo.com> Andre, In your tests you've? found cases where there is no timeout problem. What we need now are cases where there is a timeout problem. Then we (meaning you, Pierre, Oliver, Jerry and others) can figure out what triggers the problem. As the great American philosopher, Rodney King, asked: "Why can't we all just get along?" Mike --- On Tue, 8/3/10, Andre Garzia wrote: From: Andre Garzia Subject: Re: [revServer] process timeout issue To: "How to use Revolution" Date: Tuesday, August 3, 2010, 8:47 AM Folks, I never seen a RevServer bug like those timeouts and stuff and of course Jerry is not making it up, so the logical conclusion is that there's some specific case(s) where a RevServer script can go loco and fail. After that conclusion, our first requirement is to draw a mental map of what is involved. Now repeat after me SETUP S - Scenario (what are they building) E - Environment (what is the surrounding environment) T - Technology (what are they using) U - Usage Case (what happened/when happened) P - Possible Points of Failure (critical things that need assessment) === Scenario === Jerry, Sarah and Mary are building some amazing tools. They have a new development tool that is powered by new xTalk like language called LIST. Their system works by doing conversions on that LIST language to present HTML5, Javascript, CSS web application. Their applications are AJAX powered and a round trip to the server is needed to execute LIST ACTIONS (is this true?) === Environment === Rodeo server was a RevServer built solution hosted at a datacenter. Is it hosted at On-Rev or is it hosted privatelly? Where is it hosted? === Technology === Is Rodeo on virtualized hardware? Shared accounts? VPS? Which database was used? Is it being served with Apache? === Usage Case === Can RevServer timeout be narrowed to some usage scenario? For example did it happened while? huge conversions of LIST were taking place? Did it happen while complex database calls were being executed? Was it completelly random? === Possible Points of Failure === If RevServer failed for a SANE REASON, meaning, it didn't simply exploded out of nowhere then the most probable causes are: * Memory Exaustion: RevServer script took more than it was allowed to chew and was terminated. * CPU Thief: RevServer script decided that the CPU was his alone and maxed it for more time than allowed. Terminated with prejudice. * Timeout: RevServer script started ponderating on the meaning of life while doing its chores, takes forever, terminated by virtualization police. These are the sane reasons for a process to be terminated by the system. Could it be that RevServer is crashing, crashing is not the same as being terminated. Being terminated means that you are working correctly but for some reason or policy your process is terminated, crashing means somewhere inside RevServer engine something went nuts and it died. Now we don't know the answers to those questions but those are questions that all should ask while facing problems with server side stuff. Server side is hard and while on the Desktop is OK to make a little standalone that allocated half a gig of memory, at the server side there's a big change that you will not be allowed to do that. There are to many possible points of failures and things to keep attention specially when you are building something as big as Rodeo. I am sure that Jerry and Sarah investigated their possibilities and reasoned what to do. In the end it is just a compromise about where you want to stop and work. They decided to move that technology to other engine. It is OK. Had they decided otherwise it would be OK too. Yesterday me and Pierre did some stress testing on his site. I've run 25 concurrent access for 30 secs on his site, of course I've run it from a single machine and thus it is not the best benchmark possible but I did this multiple times and his did it at the same time as well and maybe others did to. On my tests there was not a single error. Some requests took longer thant others but this can happen for many resons including problems on my machine and network, after all I am on a lousy VPN. I am now building some huge RevServer based solutions and I am yet to face those problems, thats why I believe there's a recipe for them or that they are caused by a combination of factors related to the virtualization stack (if the server was indeed virtualized). Remember folks, virtualization is cool but nothing beats a real machine. Sorry for the long post 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 ambassador at fourthworld.com Tue Aug 3 10:27:58 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Aug 2010 07:27:58 -0700 Subject: [revServer] process timeout issue Message-ID: <4C58276E.5060105@fourthworld.com> I've been thinking about this and I just can't wrap my head around it: How can a single non-persistent child process like a CGI or RevServer govern server-wide settings like aggregate multi-process memory and time limits? Such limits are common on shared servers like on-rev.com and easy to set up in Apache configs, but I can't figure out how an ephemeral process like RevServer could affect it, esp. given the suggestion that these limits are somehow imposed across multiple instances. To distinguish whether the source of this issue is simply normal settings on on-rev.com or the RevServer engine itself, one would need need to test on a dedicated server outside of the on-rev.com hosting setup. What else was installed on the dedicated private server on which this behavior was observed, and what would I need to install to see the same behavior on my server PC here? -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From jerry.daniels at me.com Tue Aug 3 10:37:08 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Tue, 3 Aug 2010 09:37:08 -0500 Subject: [revServer] process timeout issue In-Reply-To: References: <70045DDF-225C-4CD6-A89A-2CCE73B03606@wehostmacs.com> Message-ID: Andre, I have to say, I love your attitude, helpfulness and person. It seems that Rodeo would make an excellent case study for fixing and diagnosing revServer. However, actual experience right here in this thread tells you otherwise. Our decisions about using a technology are not just about technology itself. They are about business, money, time and people as well. I think the Rodeo team has made good decisions so far. Why? We've met and exceeded our publicized milestones. We've also hit our revenue/subscription goals today--four weeks early. That means a lot of people agree with our decisions. This thread has repeatedly gone from the revServer timeout issue to personalities, Rodeo and its choice of technologies. And my attempts at humor (to get folks to lighten up) actually had the opposite effect. We will not be answering direct, indirect, implied or other questions about Rodeo here on this list. We've gotten a new site to deliver the intellectual property Daniels & Mara has created. It has better threaded discussions, mail notifications, etc., so there's no reason to use this list to discuss Rodeo-related matters. Here's the place: http://alltiera.com/discussion Best, Jerry Daniels On Aug 3, 2010, at 8:47 AM, Andre Garzia wrote: > Folks, > > I never seen a RevServer bug like those timeouts and stuff and of course > Jerry is not making it up, so the logical conclusion is that there's some > specific case(s) where a RevServer script can go loco and fail. > > After that conclusion, our first requirement is to draw a mental map of what > is involved. Now repeat after me SETUP > > S - Scenario (what are they building) > E - Environment (what is the surrounding environment) > T - Technology (what are they using) > U - Usage Case (what happened/when happened) > P - Possible Points of Failure (critical things that need assessment) > > === Scenario === > Jerry, Sarah and Mary are building some amazing tools. They have a new > development tool that is powered by new xTalk like language called LIST. > Their system works by doing conversions on that LIST language to present > HTML5, Javascript, CSS web application. Their applications are AJAX powered > and a round trip to the server is needed to execute LIST ACTIONS (is this > true?) > > === Environment === > Rodeo server was a RevServer built solution hosted at a datacenter. Is it > hosted at On-Rev or is it hosted privatelly? Where is it hosted? > > === Technology === > Is Rodeo on virtualized hardware? Shared accounts? VPS? Which database was > used? Is it being served with Apache? > > === Usage Case === > Can RevServer timeout be narrowed to some usage scenario? For example did it > happened while huge conversions of LIST were taking place? Did it happen > while complex database calls were being executed? Was it completelly random? > > === Possible Points of Failure === > If RevServer failed for a SANE REASON, meaning, it didn't simply exploded > out of nowhere then the most probable causes are: > * Memory Exaustion: RevServer script took more than it was allowed to chew > and was terminated. > * CPU Thief: RevServer script decided that the CPU was his alone and maxed > it for more time than allowed. Terminated with prejudice. > * Timeout: RevServer script started ponderating on the meaning of life while > doing its chores, takes forever, terminated by virtualization police. > > These are the sane reasons for a process to be terminated by the system. > Could it be that RevServer is crashing, crashing is not the same as being > terminated. Being terminated means that you are working correctly but for > some reason or policy your process is terminated, crashing means somewhere > inside RevServer engine something went nuts and it died. > > Now we don't know the answers to those questions but those are questions > that all should ask while facing problems with server side stuff. Server > side is hard and while on the Desktop is OK to make a little standalone that > allocated half a gig of memory, at the server side there's a big change that > you will not be allowed to do that. > > There are to many possible points of failures and things to keep attention > specially when you are building something as big as Rodeo. I am sure that > Jerry and Sarah investigated their possibilities and reasoned what to do. In > the end it is just a compromise about where you want to stop and work. They > decided to move that technology to other engine. It is OK. Had they decided > otherwise it would be OK too. > > Yesterday me and Pierre did some stress testing on his site. I've run 25 > concurrent access for 30 secs on his site, of course I've run it from a > single machine and thus it is not the best benchmark possible but I did this > multiple times and his did it at the same time as well and maybe others did > to. On my tests there was not a single error. Some requests took longer > thant others but this can happen for many resons including problems on my > machine and network, after all I am on a lousy VPN. > > I am now building some huge RevServer based solutions and I am yet to face > those problems, thats why I believe there's a recipe for them or that they > are caused by a combination of factors related to the virtualization stack > (if the server was indeed virtualized). Remember folks, virtualization is > cool but nothing beats a real machine. > > Sorry for the long post > 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 andre at andregarzia.com Tue Aug 3 10:54:17 2010 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 3 Aug 2010 11:54:17 -0300 Subject: [revServer] process timeout issue In-Reply-To: References: <70045DDF-225C-4CD6-A89A-2CCE73B03606@wehostmacs.com> Message-ID: Thanks for the kind words Jerry! :D Folks, Moving this back onto RevServer, here goes a cross-post from the improve list: I believe the limits are not on RevServer itself but on the virtualization stack used on On-Rev. I have RevServer running on my own web server here and I just did two tests: * A RevServer script that takes 40 seconds to load. * A RevServer script that uses 90MB of memory. * A RevServer script that uses 225MB and takes 40 seconds to load. http://andregarzia.com/memory.irev http://andregarzia.com/40secs.irev http://andregarzia.com/supertest.irev Then I've run 30 requests at 5 concurrency level against memory.irev. The memory one completed without a single failure, it completed in 7 seconds for all the 30 requests, no errors, timeouts or hiccups. I could not use "ab" to test the ones with a wait in them because my "ab" is not honoring the timeout settings. So if I set the timeout to 2 minutes, it still timeout at couple seconds. Bug on my side not the RevServer side, all pages load fine on the web. So now we know scripts can take forever to run (40 seconds is forever) and use big amount of RAM (225MB). I am using http://jaguarpc.com with their VPS TWO plan. -- http://www.andregarzia.com All We Do Is Code. From mikekann at yahoo.com Tue Aug 3 11:00:50 2010 From: mikekann at yahoo.com (Michael Kann) Date: Tue, 3 Aug 2010 08:00:50 -0700 (PDT) Subject: [revServer] process timeout issue In-Reply-To: Message-ID: <147345.75810.qm@web56702.mail.re3.yahoo.com> Jerry, That new site looks sharp. Mike --- On Tue, 8/3/10, Jerry Daniels wrote: From: Jerry Daniels Subject: Re: [revServer] process timeout issue To: "How to use Revolution" Date: Tuesday, August 3, 2010, 9:37 AM Andre, I have to say, I love your attitude, helpfulness and person. It seems that Rodeo would make an excellent case study for fixing and diagnosing revServer. However, actual experience right here in this thread tells you otherwise. Our decisions about using a technology are not just about technology itself. They are about business, money, time and people as well. I think the Rodeo team has made good decisions so far. Why? We've met and exceeded our publicized milestones. We've also hit our revenue/subscription goals today--four weeks early. That means a lot of people agree with our decisions. This thread has repeatedly gone from the revServer timeout issue to personalities, Rodeo and its choice of technologies. And my attempts at humor (to get folks to lighten up) actually had the opposite effect. We will not be answering direct, indirect, implied or other questions about Rodeo here on this list. We've gotten a new site to deliver the intellectual property Daniels & Mara has created. It has better threaded discussions, mail notifications, etc., so there's no reason to use this list to discuss Rodeo-related matters. Here's the place: http://alltiera.com/discussion Best, Jerry Daniels On Aug 3, 2010, at 8:47 AM, Andre Garzia wrote: > Folks, > > I never seen a RevServer bug like those timeouts and stuff and of course > Jerry is not making it up, so the logical conclusion is that there's some > specific case(s) where a RevServer script can go loco and fail. > > After that conclusion, our first requirement is to draw a mental map of what > is involved. Now repeat after me SETUP > > S - Scenario (what are they building) > E - Environment (what is the surrounding environment) > T - Technology (what are they using) > U - Usage Case (what happened/when happened) > P - Possible Points of Failure (critical things that need assessment) > > === Scenario === > Jerry, Sarah and Mary are building some amazing tools. They have a new > development tool that is powered by new xTalk like language called LIST. > Their system works by doing conversions on that LIST language to present > HTML5, Javascript, CSS web application. Their applications are AJAX powered > and a round trip to the server is needed to execute LIST ACTIONS (is this > true?) > > === Environment === > Rodeo server was a RevServer built solution hosted at a datacenter. Is it > hosted at On-Rev or is it hosted privatelly? Where is it hosted? > > === Technology === > Is Rodeo on virtualized hardware? Shared accounts? VPS? Which database was > used? Is it being served with Apache? > > === Usage Case === > Can RevServer timeout be narrowed to some usage scenario? For example did it > happened while? huge conversions of LIST were taking place? Did it happen > while complex database calls were being executed? Was it completelly random? > > === Possible Points of Failure === > If RevServer failed for a SANE REASON, meaning, it didn't simply exploded > out of nowhere then the most probable causes are: > * Memory Exaustion: RevServer script took more than it was allowed to chew > and was terminated. > * CPU Thief: RevServer script decided that the CPU was his alone and maxed > it for more time than allowed. Terminated with prejudice. > * Timeout: RevServer script started ponderating on the meaning of life while > doing its chores, takes forever, terminated by virtualization police. > > These are the sane reasons for a process to be terminated by the system. > Could it be that RevServer is crashing, crashing is not the same as being > terminated. Being terminated means that you are working correctly but for > some reason or policy your process is terminated, crashing means somewhere > inside RevServer engine something went nuts and it died. > > Now we don't know the answers to those questions but those are questions > that all should ask while facing problems with server side stuff. Server > side is hard and while on the Desktop is OK to make a little standalone that > allocated half a gig of memory, at the server side there's a big change that > you will not be allowed to do that. > > There are to many possible points of failures and things to keep attention > specially when you are building something as big as Rodeo. I am sure that > Jerry and Sarah investigated their possibilities and reasoned what to do. In > the end it is just a compromise about where you want to stop and work. They > decided to move that technology to other engine. It is OK. Had they decided > otherwise it would be OK too. > > Yesterday me and Pierre did some stress testing on his site. I've run 25 > concurrent access for 30 secs on his site, of course I've run it from a > single machine and thus it is not the best benchmark possible but I did this > multiple times and his did it at the same time as well and maybe others did > to. On my tests there was not a single error. Some requests took longer > thant others but this can happen for many resons including problems on my > machine and network, after all I am on a lousy VPN. > > I am now building some huge RevServer based solutions and I am yet to face > those problems, thats why I believe there's a recipe for them or that they > are caused by a combination of factors related to the virtualization stack > (if the server was indeed virtualized). Remember folks, virtualization is > cool but nothing beats a real machine. > > Sorry for the long post > 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 _______________________________________________ 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 psahores at free.fr Tue Aug 3 11:26:26 2010 From: psahores at free.fr (Pierre Sahores) Date: Tue, 3 Aug 2010 17:26:26 +0200 Subject: [revServer] process timeout issue References: <2118EAC3-6352-4B1E-8823-372FABB41129@free.fr> Message-ID: <1D579B71-8707-41D4-8C4D-EE378D313D62@free.fr> Andre, Your 3 tests are running 100% successfully from there, too :-) All the best, Pierre Le 3 ao?t 2010 ? 16:54, Andre Garzia a ?crit : > Thanks for the kind words Jerry! :D > > Folks, > > Moving this back onto RevServer, here goes a cross-post from the improve > list: > > I believe the limits are not on RevServer itself but on the virtualization > stack used on On-Rev. I have RevServer running on my own web server here and > I just did two tests: > > * A RevServer script that takes 40 seconds to load. > * A RevServer script that uses 90MB of memory. > * A RevServer script that uses 225MB and takes 40 seconds to load. > > http://andregarzia.com/memory.irev > http://andregarzia.com/40secs.irev > http://andregarzia.com/supertest.irev > > Then I've run 30 requests at 5 concurrency level against memory.irev. The > memory one completed without a single failure, it completed in 7 seconds for > all the 30 requests, no errors, timeouts or hiccups. > > I could not use "ab" to test the ones with a wait in them because my "ab" is > not honoring the timeout settings. So if I set the timeout to 2 minutes, it > still timeout at couple seconds. Bug on my side not the RevServer side, all > pages load fine on the web. > > So now we know scripts can take forever to run (40 seconds is forever) and > use big amount of RAM (225MB). I am using http://jaguarpc.com with their VPS > TWO plan. > > > > -- > 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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From ambassador at fourthworld.com Tue Aug 3 11:51:01 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Aug 2010 08:51:01 -0700 Subject: [revServer] process timeout issue Message-ID: <4C583AE5.4040406@fourthworld.com> Jerry Daniels wrote: > This thread has repeatedly gone from the revServer timeout issue > to personalities, Rodeo and its choice of technologies. Respectfully, may I note that the last several posts on this (from Sean, Andre, Michael, and myself) have attempted to help focus the discussion on a rational analysis of the problem suggested, looking at this as a RevServer issue and not a Rodeo-specific one. Given the potential usefulness of this new product, I think it's helpful to continue its exploration along these lines. If Oliver's comment about "iRev" meant to refer to on-rev.com (which it turns out was the subject of that thread -- see ), the situation is readily understandable and poses no problem to anyone wanting to use RevServer on a dedicated server. Shared-hosting servers commonly impose such limits on all processes, including PHP, and for good reason. Anyone wanting to dominate a machine's CPU would expect to use a dedicated server. If instead Oliver's comment was referring to the RevServer engine itself then it would indeed limit the appeal of the product for use on dedicated servers, but we have yet to determine: a) whether that's the case. b) if it is, whether that's the intended behavior when using RevServer on a dedicated server or is merely a bug which could be fixed in the next build. c) how it's even possible for a single child process to govern aggregate server-wide limits (if it is there may be some useful hacks and/or interesting security exposures worth exploring). So far the analysis provided by Andre and Pierre suggests that any limits on cycles or memory exit only in the common configs for shared hosting services such as on-rev.com and are not specific to the RevServer engine itself. Andrew Dickey's astute comments in the forum and the improve-rev list refer only to on-rev.com; I haven't yet seen claims that such limits have been observed on a dedicated server. For my own part, while I have no experience with RevServer itself yet I've done enough work on public sites using Rev CGI that I know the RunRev team is capable of delivering a robust, flexible engine that performs on par or better than many alternatives (Rev's well-optimized chunk expressions rule for many server tasks). One of the systems I've developed is used by hundreds of hospitals worldwide with Rev-based CGIs handling login, registration, and even a custom search engine and it's held up quite well, so I feel we all have good reason expect the same of at least the release version of RevServer if not the version we have available now. I have no opinion about Rodeo or its choice of technologies, and as far as personalities go I like yours a lot and like many here regard Sarah as a generous code goddess. :) My interest here is simply that I have a lot of resources invested in the Rev CGI and may migrate some of those to RevServer, so it's useful for me and anyone else here considering RevServer to pursue a solid understanding of that engine. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From mwieder at ahsoftware.net Tue Aug 3 12:52:44 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 3 Aug 2010 09:52:44 -0700 Subject: [revServer] process timeout issue In-Reply-To: References: <787420.93650.qm@web56704.mail.re3.yahoo.com> <189FB0AC-AEC2-4BA8-A44D-720EFE908787@me.com> <2D3C7020-EC89-4D18-A2CD-B9407B9FD54C@free.fr> <183223975031.20100802094522@ahsoftware.net> Message-ID: <2310817140.20100803095244@ahsoftware.net> hi- I'm late to the party, I know, but I wanted to post that my results were similar within the 99% range, with the longest taking just a shade over two seconds and 75% of the requests coming in under 100 milliseconds. And that's *very* impressive considering the fact that if I ping woooooooords.com I get an 86 millisecond response, so the server overhead in processing my response accounts for some 14 milliseconds in most cases. I launched the two tests concurrently to stress things out a bit more, but that didn't seem to affect the results. --------------------------- Benchmarking woooooooords.com (be patient) Finished 2975 requests Server Software: Apache/2.0.63 Server Hostname: woooooooords.com Server Port: 80 Document Path: /index.html Document Length: 417 bytes Concurrency Level: 10 Time taken for tests: 30.001 seconds Complete requests: 2975 Failed requests: 0 Write errors: 0 Non-2xx responses: 2975 Keep-Alive requests: 2953 Total transferred: 2322450 bytes HTML transferred: 1240575 bytes Requests per second: 99.16 [#/sec] (mean) Time per request: 100.844 [ms] (mean) Time per request: 10.084 [ms] (mean, across all concurrent requests) Transfer rate: 75.60 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 1 10.7 0 124 Processing: 92 100 47.8 97 1845 Waiting: 92 100 47.8 97 1845 Total: 92 101 52.6 97 1964 Percentage of the requests served within a certain time (ms) 50% 97 66% 98 75% 99 80% 100 90% 102 95% 108 98% 122 99% 185 100% 1964 (longest request) Benchmarking woooooooords.com (be patient) Finished 2835 requests Server Software: Apache/2.0.63 Server Hostname: woooooooords.com Server Port: 80 Document Path: /index.irev Document Length: 417 bytes Concurrency Level: 10 Time taken for tests: 30.002 seconds Complete requests: 2835 Failed requests: 0 Write errors: 0 Non-2xx responses: 2835 Keep-Alive requests: 2815 Total transferred: 2213245 bytes HTML transferred: 1182195 bytes Requests per second: 94.49 [#/sec] (mean) Time per request: 105.829 [ms] (mean) Time per request: 10.583 [ms] (mean, across all concurrent requests) Transfer rate: 72.04 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 1 12.0 0 145 Processing: 92 104 106.2 97 2069 Waiting: 92 104 106.2 97 2069 Total: 92 106 113.3 97 2191 Percentage of the requests served within a certain time (ms) 50% 97 66% 98 75% 99 80% 100 90% 103 95% 110 98% 117 99% 197 100% 2191 (longest request) -- -Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Tue Aug 3 12:53:21 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 3 Aug 2010 09:53:21 -0700 Subject: [revServer] process timeout issue In-Reply-To: <6682030F-BDD9-4D74-844D-34E80CA4D54D@me.com> References: <338127.38851.qm@web56701.mail.re3.yahoo.com> <6682030F-BDD9-4D74-844D-34E80CA4D54D@me.com> Message-ID: <18F7EF5B-A87E-4AFD-833D-13413FFF6DF1@twft.com> Men have been flogged for less. ;-) Bob On Aug 2, 2010, at 7:20 PM, Jerry Daniels wrote: > I just said "yes" > > On Aug 2, 2010, at 9:19 PM, Michael Kann wrote: > >> Jerry and Robert, >> >> To summarize: >> >> Austin and Edinburgh got into a pissing match. >> >> Mike > From andre at andregarzia.com Tue Aug 3 12:54:15 2010 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 3 Aug 2010 13:54:15 -0300 Subject: [revServer] process timeout issue In-Reply-To: <2310817140.20100803095244@ahsoftware.net> References: <787420.93650.qm@web56704.mail.re3.yahoo.com> <189FB0AC-AEC2-4BA8-A44D-720EFE908787@me.com> <2D3C7020-EC89-4D18-A2CD-B9407B9FD54C@free.fr> <183223975031.20100802094522@ahsoftware.net> <2310817140.20100803095244@ahsoftware.net> Message-ID: oh that is *fast* :-O On Tue, Aug 3, 2010 at 1:52 PM, Mark Wieder wrote: > hi- > > I'm late to the party, I know, but I wanted to post that my resultsat > were similar within the 99% range, with the longest taking just a > shade over two seconds and 75% of the requests coming in under 100 > milliseconds. And that's *very* impressive considering the fact that > if I ping woooooooords.com I get an 86 millisecond response, so the > server overhead in processing my response accounts for some 14 > milliseconds in most cases. > > I launched the two tests concurrently to stress things > out a bit more, but that didn't seem to affect the results. > > --------------------------- > > Benchmarking woooooooords.com (be patient) > Finished 2975 requests > > > Server Software: Apache/2.0.63 > Server Hostname: woooooooords.com > Server Port: 80 > > Document Path: /index.html > Document Length: 417 bytes > > Concurrency Level: 10 > Time taken for tests: 30.001 seconds > Complete requests: 2975 > Failed requests: 0 > Write errors: 0 > Non-2xx responses: 2975 > Keep-Alive requests: 2953 > Total transferred: 2322450 bytes > HTML transferred: 1240575 bytes > Requests per second: 99.16 [#/sec] (mean) > Time per request: 100.844 [ms] (mean) > Time per request: 10.084 [ms] (mean, across all concurrent requests) > Transfer rate: 75.60 [Kbytes/sec] received > > Connection Times (ms) > min mean[+/-sd] median max > Connect: 0 1 10.7 0 124 > Processing: 92 100 47.8 97 1845 > Waiting: 92 100 47.8 97 1845 > Total: 92 101 52.6 97 1964 > > Percentage of the requests served within a certain time (ms) > 50% 97 > 66% 98 > 75% 99 > 80% 100 > 90% 102 > 95% 108 > 98% 122 > 99% 185 > 100% 1964 (longest request) > > Benchmarking woooooooords.com (be patient) > Finished 2835 requests > > > Server Software: Apache/2.0.63 > Server Hostname: woooooooords.com > Server Port: 80 > > Document Path: /index.irev > Document Length: 417 bytes > > Concurrency Level: 10 > Time taken for tests: 30.002 seconds > Complete requests: 2835 > Failed requests: 0 > Write errors: 0 > Non-2xx responses: 2835 > Keep-Alive requests: 2815 > Total transferred: 2213245 bytes > HTML transferred: 1182195 bytes > Requests per second: 94.49 [#/sec] (mean) > Time per request: 105.829 [ms] (mean) > Time per request: 10.583 [ms] (mean, across all concurrent requests) > Transfer rate: 72.04 [Kbytes/sec] received > > Connection Times (ms) > min mean[+/-sd] median max > Connect: 0 1 12.0 0 145 > Processing: 92 104 106.2 97 2069 > Waiting: 92 104 106.2 97 2069 > Total: 92 106 113.3 97 2191 > > Percentage of the requests served within a certain time (ms) > 50% 97 > 66% 98 > 75% 99 > 80% 100 > 90% 103 > 95% 110 > 98% 117 > 99% 197 > 100% 2191 (longest request) > > -- > -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 > -- http://www.andregarzia.com All We Do Is Code. From bobs at twft.com Tue Aug 3 12:54:56 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 3 Aug 2010 09:54:56 -0700 Subject: [revServer] process timeout issue In-Reply-To: References: <70045DDF-225C-4CD6-A89A-2CCE73B03606@wehostmacs.com> Message-ID: Little too complicated for me. I just shoot at problems with a shotgun and then check to see if I hit anything. Bob On Aug 3, 2010, at 6:47 AM, Andre Garzia wrote: > Folks, > > I never seen a RevServer bug like those timeouts and stuff and of course > Jerry is not making it up, so the logical conclusion is that there's some > specific case(s) where a RevServer script can go loco and fail. > > After that conclusion, our first requirement is to draw a mental map of what > is involved. Now repeat after me SETUP > > S - Scenario (what are they building) > E - Environment (what is the surrounding environment) > T - Technology (what are they using) > U - Usage Case (what happened/when happened) > P - Possible Points of Failure (critical things that need assessment) From mwieder at ahsoftware.net Tue Aug 3 13:00:23 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 3 Aug 2010 10:00:23 -0700 Subject: [revServer] process timeout issue In-Reply-To: References: <787420.93650.qm@web56704.mail.re3.yahoo.com> <189FB0AC-AEC2-4BA8-A44D-720EFE908787@me.com> <2D3C7020-EC89-4D18-A2CD-B9407B9FD54C@free.fr> <183223975031.20100802094522@ahsoftware.net> <2310817140.20100803095244@ahsoftware.net> Message-ID: <44311275671.20100803100023@ahsoftware.net> Andre- Tuesday, August 3, 2010, 9:54:15 AM, you wrote: > oh that is *fast* :-O ...and I should point out that it's an on-rev server... -- -Mark Wieder mwieder at ahsoftware.net From andre at andregarzia.com Tue Aug 3 13:06:29 2010 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 3 Aug 2010 14:06:29 -0300 Subject: [revServer] process timeout issue In-Reply-To: References: <70045DDF-225C-4CD6-A89A-2CCE73B03606@wehostmacs.com> Message-ID: this would not work here in Brazil, the bugs would shot back... On Tue, Aug 3, 2010 at 1:54 PM, Bob Sneidar wrote: > Little too complicated for me. I just shoot at problems with a shotgun and > then check to see if I hit anything. > > Bob > > > On Aug 3, 2010, at 6:47 AM, Andre Garzia wrote: > > > Folks, > > > > I never seen a RevServer bug like those timeouts and stuff and of course > > Jerry is not making it up, so the logical conclusion is that there's some > > specific case(s) where a RevServer script can go loco and fail. > > > > After that conclusion, our first requirement is to draw a mental map of > what > > is involved. Now repeat after me SETUP > > > > S - Scenario (what are they building) > > E - Environment (what is the surrounding environment) > > T - Technology (what are they using) > > U - Usage Case (what happened/when happened) > > P - Possible Points of Failure (critical things that need assessment) > > _______________________________________________ > 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 Aug 3 13:12:34 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Aug 2010 10:12:34 -0700 Subject: [revServer] process timeout issue Message-ID: <4C584E02.3090404@fourthworld.com> Andre Garzia wrote: > oh that is *fast* :-O Last year I had one of my fits of obsession about performance and began experimenting with Dreamhost's FastCGI interface for the Rev CGI. It was complicated to set up, and for all the reasons you noted here at the time it was very complicated to write for. So instead I decided to set it aside and go back to the straight CGI interface to see if I found any serious bottlenecks. I found none, and the clarity of writing for a non-persistent process kept everything simple. I added a reasonably simple token file+cookie scheme for persistent data when needed, but for most uses I don't even need that, and with or without that it's been quite speedy. On the desktop the engine loads faster than most other apps, and on the server - without needing to initialize the GUI -- it loads about as fast as a server can pull its mere 2.5 MB executable up from the 7200 RPM disk. I've not done much in the way of formal testing because I haven't yet found a good means of accounting for sever/transfer latency as distinct from the Rev process itself. But the server-side testing I've done shows the CGI engine running at speeds better than on my Mac (not surprising; Dreamhost uses some good systems), and the subjective experience of the overall throughput has been quite satisfying for myself and my site's visitors. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv > On Tue, Aug 3, 2010 at 1:52 PM, Mark Wieder wrote: > >> hi- >> >> I'm late to the party, I know, but I wanted to post that my resultsat >> were similar within the 99% range, with the longest taking just a >> shade over two seconds and 75% of the requests coming in under 100 >> milliseconds. And that's *very* impressive considering the fact that >> if I ping woooooooords.com I get an 86 millisecond response, so the >> server overhead in processing my response accounts for some 14 >> milliseconds in most cases. >> >> I launched the two tests concurrently to stress things >> out a bit more, but that didn't seem to affect the results. >> >> --------------------------- >> >> Benchmarking woooooooords.com (be patient) >> Finished 2975 requests >> >> >> Server Software: Apache/2.0.63 >> Server Hostname: woooooooords.com >> Server Port: 80 >> >> Document Path: /index.html >> Document Length: 417 bytes >> >> Concurrency Level: 10 >> Time taken for tests: 30.001 seconds >> Complete requests: 2975 >> Failed requests: 0 >> Write errors: 0 >> Non-2xx responses: 2975 >> Keep-Alive requests: 2953 >> Total transferred: 2322450 bytes >> HTML transferred: 1240575 bytes >> Requests per second: 99.16 [#/sec] (mean) >> Time per request: 100.844 [ms] (mean) >> Time per request: 10.084 [ms] (mean, across all concurrent requests) >> Transfer rate: 75.60 [Kbytes/sec] received >> >> Connection Times (ms) >> min mean[+/-sd] median max >> Connect: 0 1 10.7 0 124 >> Processing: 92 100 47.8 97 1845 >> Waiting: 92 100 47.8 97 1845 >> Total: 92 101 52.6 97 1964 >> >> Percentage of the requests served within a certain time (ms) >> 50% 97 >> 66% 98 >> 75% 99 >> 80% 100 >> 90% 102 >> 95% 108 >> 98% 122 >> 99% 185 >> 100% 1964 (longest request) >> >> Benchmarking woooooooords.com (be patient) >> Finished 2835 requests >> >> >> Server Software: Apache/2.0.63 >> Server Hostname: woooooooords.com >> Server Port: 80 >> >> Document Path: /index.irev >> Document Length: 417 bytes >> >> Concurrency Level: 10 >> Time taken for tests: 30.002 seconds >> Complete requests: 2835 >> Failed requests: 0 >> Write errors: 0 >> Non-2xx responses: 2835 >> Keep-Alive requests: 2815 >> Total transferred: 2213245 bytes >> HTML transferred: 1182195 bytes >> Requests per second: 94.49 [#/sec] (mean) >> Time per request: 105.829 [ms] (mean) >> Time per request: 10.583 [ms] (mean, across all concurrent requests) >> Transfer rate: 72.04 [Kbytes/sec] received >> >> Connection Times (ms) >> min mean[+/-sd] median max >> Connect: 0 1 12.0 0 145 >> Processing: 92 104 106.2 97 2069 >> Waiting: 92 104 106.2 97 2069 >> Total: 92 106 113.3 97 2191 >> >> Percentage of the requests served within a certain time (ms) >> 50% 97 >> 66% 98 >> 75% 99 >> 80% 100 >> 90% 103 >> 95% 110 >> 98% 117 >> 99% 197 >> 100% 2191 (longest request) >> >> -- >> -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 >> > > > > -- > http://www.andregarzia.com All We Do Is Code. From psahores at free.fr Tue Aug 3 14:04:22 2010 From: psahores at free.fr (Pierre Sahores) Date: Tue, 3 Aug 2010 20:04:22 +0200 Subject: [revServer] process timeout issue In-Reply-To: <2310817140.20100803095244@ahsoftware.net> References: <787420.93650.qm@web56704.mail.re3.yahoo.com> <189FB0AC-AEC2-4BA8-A44D-720EFE908787@me.com> <2D3C7020-EC89-4D18-A2CD-B9407B9FD54C@free.fr> <183223975031.20100802094522@ahsoftware.net> <2310817140.20100803095244@ahsoftware.net> Message-ID: <86EB9936-007C-4441-80BB-4C34211BC097@free.fr> Good, is'nt it ? Thanks for your participation, Mark. Best, Pierre Le 3 ao?t 2010 ? 18:52, Mark Wieder a ?crit : > hi- > > I'm late to the party, I know, but I wanted to post that my results > were similar within the 99% range, with the longest taking just a > shade over two seconds and 75% of the requests coming in under 100 > milliseconds. And that's *very* impressive considering the fact that > if I ping woooooooords.com I get an 86 millisecond response, so the > server overhead in processing my response accounts for some 14 > milliseconds in most cases. > > I launched the two tests concurrently to stress things > out a bit more, but that didn't seem to affect the results. > > --------------------------- > > Benchmarking woooooooords.com (be patient) > Finished 2975 requests > > > Server Software: Apache/2.0.63 > Server Hostname: woooooooords.com > Server Port: 80 > > Document Path: /index.html > Document Length: 417 bytes > > Concurrency Level: 10 > Time taken for tests: 30.001 seconds > Complete requests: 2975 > Failed requests: 0 > Write errors: 0 > Non-2xx responses: 2975 > Keep-Alive requests: 2953 > Total transferred: 2322450 bytes > HTML transferred: 1240575 bytes > Requests per second: 99.16 [#/sec] (mean) > Time per request: 100.844 [ms] (mean) > Time per request: 10.084 [ms] (mean, across all concurrent requests) > Transfer rate: 75.60 [Kbytes/sec] received > > Connection Times (ms) > min mean[+/-sd] median max > Connect: 0 1 10.7 0 124 > Processing: 92 100 47.8 97 1845 > Waiting: 92 100 47.8 97 1845 > Total: 92 101 52.6 97 1964 > > Percentage of the requests served within a certain time (ms) > 50% 97 > 66% 98 > 75% 99 > 80% 100 > 90% 102 > 95% 108 > 98% 122 > 99% 185 > 100% 1964 (longest request) > > Benchmarking woooooooords.com (be patient) > Finished 2835 requests > > > Server Software: Apache/2.0.63 > Server Hostname: woooooooords.com > Server Port: 80 > > Document Path: /index.irev > Document Length: 417 bytes > > Concurrency Level: 10 > Time taken for tests: 30.002 seconds > Complete requests: 2835 > Failed requests: 0 > Write errors: 0 > Non-2xx responses: 2835 > Keep-Alive requests: 2815 > Total transferred: 2213245 bytes > HTML transferred: 1182195 bytes > Requests per second: 94.49 [#/sec] (mean) > Time per request: 105.829 [ms] (mean) > Time per request: 10.583 [ms] (mean, across all concurrent requests) > Transfer rate: 72.04 [Kbytes/sec] received > > Connection Times (ms) > min mean[+/-sd] median max > Connect: 0 1 12.0 0 145 > Processing: 92 104 106.2 97 2069 > Waiting: 92 104 106.2 97 2069 > Total: 92 106 113.3 97 2191 > > Percentage of the requests served within a certain time (ms) > 50% 97 > 66% 98 > 75% 99 > 80% 100 > 90% 103 > 95% 110 > 98% 117 > 99% 197 > 100% 2191 (longest request) > > -- > -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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From gregory.lypny at videotron.ca Tue Aug 3 15:03:22 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 03 Aug 2010 15:03:22 -0400 Subject: Setting Cookies and On-rev Message-ID: <73CD63DF-E81B-4C36-9D50-69DE09464103@videotron.ca> Hello everyone, I want to create a simple login form and was wondering whether we have any examples of setting and getting cookies. I did find a discussion of this on the On-Rev forum dated August 2009, but I'm not sure whether there is anything more recent I should be reading. Regards, Gregory From andre at andregarzia.com Tue Aug 3 15:22:32 2010 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 3 Aug 2010 16:22:32 -0300 Subject: Setting Cookies and On-rev In-Reply-To: <73CD63DF-E81B-4C36-9D50-69DE09464103@videotron.ca> References: <73CD63DF-E81B-4C36-9D50-69DE09464103@videotron.ca> Message-ID: Gregory, check out http://hg.andregarzia.com/revspark/src/tip/revspark.inc and check setCookie and getCookies handlers Andre On Tue, Aug 3, 2010 at 4:03 PM, Gregory Lypny wrote: > Hello everyone, > > I want to create a simple login form and was wondering whether we have any > examples of setting and getting cookies. I did find a discussion of this on > the On-Rev forum dated August 2009, but I'm not sure whether there is > anything more recent I should be reading. > > Regards, > > Gregory > > > _______________________________________________ > 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 psahores at free.fr Tue Aug 3 15:40:01 2010 From: psahores at free.fr (Pierre Sahores) Date: Tue, 3 Aug 2010 21:40:01 +0200 Subject: Setting Cookies and On-rev In-Reply-To: <73CD63DF-E81B-4C36-9D50-69DE09464103@videotron.ca> References: <73CD63DF-E81B-4C36-9D50-69DE09464103@videotron.ca> Message-ID: <9B525B17-67FC-465A-A600-5DCC09289F52@free.fr> Hello Gregory, Out of the woooooooords.com irev lib : 1.- To retrieve the cookies datas : put item itemoffset("firstcookie",$_SERVER[HTTP_COOKIE]) of $_SERVER[HTTP_COOKIE] into rusersid split rusersid by ";" and "=" etc... 2.- To store new cookies along the page to output to the end-user browser (javascript) dynamically populated by the irev lib: replace "###scwordscawayasid###" with "45485ui5i85485ti5on5545ti57" in tvar (in the reality, some kind of encrypted datas) 2.1.- where tvar contains, at least : Best Regards, Pierre Le 3 ao?t 2010 ? 21:03, Gregory Lypny a ?crit : > Hello everyone, > > I want to create a simple login form and was wondering whether we have any examples of setting and getting cookies. I did find a discussion of this on the On-Rev forum dated August 2009, but I'm not sure whether there is anything more recent I should be reading. > > Regards, > > Gregory > > > _______________________________________________ > 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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From jean-pierre.soto at wanadoo.fr Tue Aug 3 15:43:23 2010 From: jean-pierre.soto at wanadoo.fr (Jean-Pierre Soto) Date: Tue, 3 Aug 2010 21:43:23 +0200 Subject: Order layer of image in a group ... Message-ID: Hello how can I order layer of a newly created image inside a group ? Thanks From psahores at free.fr Tue Aug 3 15:46:16 2010 From: psahores at free.fr (Pierre Sahores) Date: Tue, 3 Aug 2010 21:46:16 +0200 Subject: Setting Cookies and On-rev In-Reply-To: References: <73CD63DF-E81B-4C36-9D50-69DE09464103@videotron.ca> Message-ID: Andre, Well done ! Your revSpark "partition" is realy amazing ! Kind Regards, Pierre > Gregory, > > check out http://hg.andregarzia.com/revspark/src/tip/revspark.inc and check > setCookie and getCookies handlers > > Andre -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From DunbarX at aol.com Tue Aug 3 15:51:29 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Tue, 3 Aug 2010 15:51:29 EDT Subject: Order layer of image in a group ... Message-ID: Check out the "relayerGroupControls" property. You need to set it to "true". Check out the dictionary. There are a few hints and caveats. Craig Newman From sanke at hrz.uni-kassel.de Tue Aug 3 15:55:23 2010 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Tue, 03 Aug 2010 21:55:23 +0200 Subject: Harry Potter's magic button - a solution to another tricky group bug Message-ID: <4C58742B.6030504@hrz.uni-kassel.de> I was so intrigued by the various effects of the workaround that I included "magic" in the subject line. Bringing Harry Potter into play may also help to start the process of improvements for Revolution announced by Kevin last week, namely - among them - better communication with users and the total overhaul of the Revolution bug management system along with quicker bug fixes (after all,. the "Hogwarts School of Witchcraft and Wizardry" is located not far from Edinburgh, which will facilitate the exchange of ideas). Once the Revolution programmers responsible for bug fixes will have analysed and understood what is going on behind the scenes - in the engine - concerning this bug and the workaround, they will be much better equipped to tackle the 9 remaining bugs associated with groups, too. A sample stack that demonstrates bug and workaround can be downloaded from here: There are basically four aspects to this magic: 1. The magic button - as a workaround - resolves the group bug that YOU CANNOT SET THE LOC OF AN IMAGE IN A GROUP IF THE IMAGE IS SMALLER THAN THE GROUP. In the case of a smaller image the scriptline "set the loc of image "x" to the loc of group "y"" will place the image at the topleft corner of the group instead (unless the loc of the image is already exactly identical with the group loc). Now, after you put Harry Potter's button into the upperleft corner of the group, the above scriptline with "set the loc" will now work as it should. It is essential here that the magic button is visible in the sense that its visibility is set to true. But you could shove the button under the topleft corner of the group so that it actually becomes invisible and it will nevertheless continue to exert its spell. The moment you hide the button, i.e. with "hide" or "set the vis to false", the image will snap again to a topleft position in the group. 2. The magic button can be moved across the visible part of the group area by script - diagonally, horizontally, vertically - without being addressed with its name or any other identifier. One precondition for this to happen is that the image is at least 1 pixel off the loc of the group. Place the button anywhere in the group, press button "center image using "set the loc"" repeatedly, and the magic button will move in steps until it reaches the upperleft corner of the group. The first time you press the button the image will be also be placed at the topleft of the group with only one step. The distance the magic button will move vertically and horizontally with a step is different with image size and dependent on the height and width of the image, e.g. with a broader image the horizontal steps will be much smaller, with a smaller height the steps will be bigger. You can see this best with image "Steve and friend" (Steve Jobs, the iPhone, and Medwedjew), but I recommend to try out the options of the sample stack with image "Red Square" first. 3. An interesting variant of 2. is the "split button": Place the magic button at the bottomleft corner of the group. Make sure the image is at least 1 pixel off the loc of the group (Both the button and the image have a "grab me" script, so you can do this manually with mousedown). Now, as above in "2." press button "center image using "set the loc"" . The magic button will move upwards in steps. When it has reached the area of the image the button will "split". The part of the button intersecting with the image will continue to move upwards. The left part of the button will remain in place until the right part of the button has reached the top of the group. At that moment the two separate parts of the magic button will re-unite. If you place the button to the right of the group, the splitting of the button will occur horizontally.-- There are three special buttons in the sample stack that demonstrate these effects (2. and 3.) automated with repeat loops. At the top of these scripts for the automated demonstrations I make use of the move command (which is not broken) to make sure image and magic button are placed at the appropriate places, but for creating the effects the broken "set" command is used inside the repeat loops. 4. Button "reset image" will restore the original imagedata stored in a custom property and center the image using the "move" command. When you have placed the magic button somewhere on the group area like above in points 2. and 3. and you then press the "reset image" button repeatedly the magic button will also move in steps towards the topleft of the group, but without producing the "split" effect. ================================ A few more particulars and peculiarities for those interested in getting a broader picture: If the magic button is absent or hidden and you have managed to center the image (either by using the "move" command or by dragging the image manually), there are now several additional conditions under which the smaller image within the group again snaps to a topleft position - although the lockloc of the image and that of the group are set to true. - when you go to another card and then navigate back - when you change the imagedata and set the image to the new imagedata - when you import a new image - when you close the stack (even after having saved it again) and then reopen it. Another peculiarity is that this snapping to the topleft may happen in *two" steps - especially when you change the imagedata with button "duplicate colors": - at first only the overlapping parts between the image area at the original position and the area of the image at the topleft position are displayed - then when you again change the imagedata - or click on the image - the full image is shown at the topleft position of the group. The easiest way to demonstrate this is to drag the smaller-than-group image with mousedown nearer to the bottomright of the group and then apply the "duplicate colors" filter twice. If an image so small that there are no overlapping parts of the image at the start position and its position at the topleft corner, then the image will vanish completely. It is "virtually" there and you can revive it by clicking near the topleft corner of the group. When you use the alternate filter "duplicate colors + lock screen" the image is set to the topleft of the group in only one step - and remains fully visible.. By the way, when you apply filter "duplicate colors" 9 times then the original colors of the image will be restored, but this is the normal process when using this filter - without any magic.-- I will file a bug report soon and also add the sample stack. Regards, Wilhelm Sanke From sanke at hrz.uni-kassel.de Tue Aug 3 16:07:48 2010 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Tue, 03 Aug 2010 22:07:48 +0200 Subject: Harry Potter's magic button: link to sample stack Message-ID: <4C587714.5000702@hrz.uni-kassel.de> I see that the link provided for the sample stack lacked an underscore. This should work: Wilhelm Sanke From jacque at hyperactivesw.com Tue Aug 3 16:08:47 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 03 Aug 2010 15:08:47 -0500 Subject: Harry Potter's magic button - a solution to another tricky group bug In-Reply-To: <4C58742B.6030504@hrz.uni-kassel.de> References: <4C58742B.6030504@hrz.uni-kassel.de> Message-ID: <4C58774F.4010307@hyperactivesw.com> On 8/3/10 2:55 PM, Wilhelm Sanke wrote: > YOU CANNOT SET THE LOC OF AN IMAGE IN A GROUP IF THE IMAGE IS SMALLER > THAN THE GROUP. > > In the case of a smaller image the scriptline "set the loc of image "x" > to the loc of group "y"" will place the image at the topleft corner of > the group instead (unless the loc of the image is already exactly > identical with the group loc). I haven't looked at your stack yet but I just did a quick test with a new stack, new group, and a small image inside the group, and I had no trouble setting the image location anywhere from the message box, including setting it to the loc of the group. Maybe there is something else required for it to fail? My group had 2 buttons and a small image, and the lockloc was set to true. The group was the normal default size that encompassed the 2 buttons which served as "anchors" at the top left and lower right of the group. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From DunbarX at aol.com Tue Aug 3 16:21:05 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Tue, 3 Aug 2010 16:21:05 EDT Subject: Harry Potter's magic button - a solution to another tricky group bug Message-ID: <66a46.5343894d.3989d431@aol.com> Me, too, with a group and an even smaller image. If I set the loc of the image to a point outside the group, the group expands to contain it, as usual. If I set it to a point anywhere inside the group, again, the group extent adjusts. On a Mac. Does this matter? Craig Newman From gcanyon+rev at gmail.com Tue Aug 3 19:05:56 2010 From: gcanyon+rev at gmail.com (Geoff Canyon Rev) Date: Tue, 3 Aug 2010 18:05:56 -0500 Subject: Harry Potter's magic button - a solution to another tricky group bug In-Reply-To: <66a46.5343894d.3989d431@aol.com> References: <66a46.5343894d.3989d431@aol.com> Message-ID: Not sure, but I'd guess that the OP is falling afoul of the elastic nature of groups that have lockloc=false. When that is the case, groups automatically snap to the bounds of whatever they contain whenever they get the chance -- i.e. when the things they contain move or are themselves resized (I believe, I haven't tested all the variations here). That can cause some unexpected behavior if you're expecting groups to behave as if their lockloc were true, which allows them to be sized and positioned as most other controls are (whether those controls have their lockloc set to true or false). gc On Tue, Aug 3, 2010 at 3:21 PM, wrote: > Me, too, with a group and an even smaller image. > > If I set the loc of the image to a point outside the group, the group > expands to contain it, as usual. If I set it to a point anywhere inside the > group, again, the group extent adjusts. > > On a Mac. Does this matter? > > Craig Newman > _______________________________________________ > 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 tsj at unimelb.edu.au Tue Aug 3 19:52:19 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Wed, 04 Aug 2010 09:52:19 +1000 Subject: Mousemove, Optionkey and Windows In-Reply-To: Message-ID: On 3/08/10 11:46 PM, "ron barber" wrote: > > Terry, were you testing on a windows machine or emulation or some sort? > Hi Ron - I'm running Windows under VMWare Fusion. Terry... -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From chipp at chipp.com Tue Aug 3 20:26:43 2010 From: chipp at chipp.com (Chipp Walters) Date: Tue, 3 Aug 2010 19:26:43 -0500 Subject: [revServer] process timeout issue In-Reply-To: <1280747497634-2310168.post@n4.nabble.com> References: <1280747497634-2310168.post@n4.nabble.com> Message-ID: I am a friend of Jerry's and of Kevin's. I certainly wish Jerry, Sarah and their extraordinary effort, RODEO, the best of success! I think they are on to something great! Unfortunately, Jerry's team cannot provide a recipe where others can replicate the buggy behavior which he says is forcing him to choose another platform. If they could supply such a recipe, I feel certain Kevin would surely address the issue. Also of note is the fact Jerry's RODEO platform resides on a shared host, with GOD knows what other processes, daemons, etc. which could also be interjecting themselves into processor performance. It happens. I don't think it was necessary to have made a public spectacle of this on-rev issue. It only casts doubt on the on-rev server platform which, without a replicatable recipe, doesn't seem to me the gracious thing to do. I would encourage Jerry and his team to provide such a recipe, which would then allow others to test and hopefully fix this issue. I think it would be a great way to resolve this issue without further escalation. Jerry introduced me to RunRev and has been an ardent supporter of this technology, and the company for many years. I've worked on projects with both he and Sarah, and they're both extraordinary programmers and individuals of the highest character. I hope they will stay and help resolve this on-rev server problem. From mikekann at yahoo.com Tue Aug 3 21:12:34 2010 From: mikekann at yahoo.com (Michael Kann) Date: Tue, 3 Aug 2010 18:12:34 -0700 (PDT) Subject: [revServer] process timeout issue In-Reply-To: Message-ID: <791791.45599.qm@web56705.mail.re3.yahoo.com> Chip, Don't forget Mary Jane! Chip wrote: I certainly wish Jerry, Sarah, and their extraordinary effort, RODEO, the best of success! I think they are on to something great! Mike From massung at gmail.com Tue Aug 3 21:40:34 2010 From: massung at gmail.com (Jeff Massung) Date: Tue, 3 Aug 2010 20:40:34 -0500 Subject: [revServer] process timeout issue In-Reply-To: References: <1280747497634-2310168.post@n4.nabble.com> Message-ID: On Tue, Aug 3, 2010 at 7:26 PM, Chipp Walters wrote: > > Unfortunately, Jerry's team cannot provide a recipe where others can > replicate the buggy behavior which he says is forcing him to choose another > platform. > > I've tried to hold back from chiming in on yet another "passionate" discussion having to do with Rev. Most everyone here is great, and obviously there are those here intent on trying to diagnose and fix the problem. Bravo. Yet, I feel the need to say that I had *extremely* similar issues to Jerry for the few months I used On-Rev. I had several emails back and forth with Heather regarding extremely sporadic and spotty access to my site given a web application I've been developing for quite some time. While using On-Rev, my user-base (in pre-pre-alpha) consisted of a whopping 8 people, and there would be hours at a time during which my REST API'd application was just unavailable to my customers. There'd be times where an average command would take milliseconds, and others when socket operations would timeout *consistently* (we're talking 20+ second timeouts). This was just wholly unacceptable for me - as a paying customer. During this time, Heather and Co. were very responsive and - I think - understanding of the problem(s) I was facing, but in the end weren't able to accommodate me in the way I was hoping they would. And that's 100% okay; no company can meet every customers' needs. So I switched to a different host, I'm paying more, and have had no problems (other than my own stupid bugs) since. It's really great that Rev users love their tool of choice. It's even better that they want to make it the best it can be. Sometimes I wonder if the Rev team realizes just how good of a marketing resource they have in their community. I rarely witness it being coddled, nurtured, loved, and even taken advantage of (in a good way). If I had such a zealous group behind one of my products, I'd be here every day trying to grow it. But, in the end, we're customers. We're not paid advocates - at least I'm not. If a product I'm paying for isn't working for me, I move on. And - from what I've read and discussions had - that very much seems to be what Jerry did with On-Rev. We (and our business ventures) don't have infinite amounts of time and money in the bank to wait for a product to mature meet our needs, no matter how badly we want it to. And, likewise, unless the Rev team is aware that there is a serious risk of losing it's [very loyal] customers, there's no incentive for them to do better. If I may venture a guess, I think what most people like about Jerry, his team, and his products are that they are extremely focused and targeted. And to make things even better, they eat their own dog food. >From the outside, the Rev team feels like the exact opposite. I see nearly-zero focus on anything. On-Rev is > 1 years old now and the IDE is still something I wouldn't have release to any customer - even as an early alpha. There's no way they use that tool in-house, because any programmer worth their salt would have screamed out loud and started making it better within 48 hours of being forced to use it. And, to distract from that product line, there's also RevMobile, RevServer, RevWeb, RevDesktop, and whatever the next pre-alpha $400 product is in the pipe. That's not to say I don't love the thought of what Rev could be. I want it soooo badly I can taste it. And I'm what you might call a die-hard programmer that's programmed everything from 8-bit micro-controllers, Lisp compilers, satellite communications, to PS2, Nintendo, 360, and PS3 video games for Disney. But, I just love how productive I can be in the 100% live environment that Rev provides for me. And, frankly, it's fun as hell and even zen-like relaxing at times. ;-) But, there have to be consequences for failure. Jerry's a customer. I'm a customer. I've been a customer for over a year now, and the bottom line is that I've gotten nothing from my maintenance fee for Enterprise except continually postponed promises. If it expires before 5.0 comes out, I won't renew it. I tried On-Rev and it didn't do what it claimed (for me) either. Damn, that was a long-winded way of saying, please cut Jerry some slack. He's just another paying customer, and if the service provided doesn't live up to his expectations or needs, he moves on. No one should be upset at Jerry for any reason at all. If there's anything to be upset about, it would be asking one's self, "why on Earth wouldn't Rev do *everything* in their power to make such a long-standing customer incredibly happy so he could keep advocating Rev and even be able to claim that Rodeo runs on Rev servers?" Jeff M. /emote hunkers down, waiting to dodge incoming flames... From jacque at hyperactivesw.com Tue Aug 3 22:10:30 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 03 Aug 2010 21:10:30 -0500 Subject: Harry Potter's magic button - a solution to another tricky group bug In-Reply-To: <4C58742B.6030504@hrz.uni-kassel.de> References: <4C58742B.6030504@hrz.uni-kassel.de> Message-ID: <4C58CC16.8010003@hyperactivesw.com> On 8/3/10 2:55 PM, Wilhelm Sanke wrote: > > 1. The magic button - as a workaround - resolves the group bug that > > YOU CANNOT SET THE LOC OF AN IMAGE IN A GROUP IF THE IMAGE IS SMALLER > THAN THE GROUP. > > In the case of a smaller image the scriptline "set the loc of image "x" > to the loc of group "y"" will place the image at the topleft corner of > the group instead (unless the loc of the image is already exactly > identical with the group loc). I downloaded your stack and took a look. The problem isn't an unlocked group (your group was locked.) It seems to be the scrollbars around the group. If I turn them off, it all works as expected. So something about a group with scrollbars is causing the problem but I can't tell what. By the way, the image doesn't always pop to the top left of the group. If you drag it past the bottom right corner, for example, it will go almost to the center (but not quite.) So it's being offset to the left and top by some amount. Your scrollbars were inactive, but the image is behaving as though the group is scrolled and it's looking for the center of the virtual group space. It should, of course, look for the group's location on the card instead. I'm not sure why the extra button makes a difference, unless it simply jolts the engine into realizing where the topleft corner of the group is. The work-around would be to turn off scollbars, set the loc of the image, and then turn them on again. It should happen pretty fast, but you could lock the screen in case. It would be good to update the bug report so the team knows what exactly to look at. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Tue Aug 3 23:14:52 2010 From: chipp at chipp.com (Chipp Walters) Date: Tue, 3 Aug 2010 22:14:52 -0500 Subject: [revServer] process timeout issue In-Reply-To: References: <1280747497634-2310168.post@n4.nabble.com> Message-ID: Jeff, Honestly, how can you expect a company to fix a problem when they can't define the bug? Is that too much to ask for before you throw revServer under the bus? I, too, have an on-rev account. But I use if for many things outside of on-rev, including my wordpress blog http://blog.chipp.com along with a number of SiteGrinder websites including the still in progress Shafer Walters Group website at: http://altuit.on-rev.com/swg/swgweb/ (BTW, SiteGrinder rocks!) I don't use it for Hemingway (our Rev powered CMS) or GadgetPlugins.com (services all our products and updates to our products). I believe I paid something like 500 bucks for it at the beginning and nothing since, so I understand the SLA (or lack thereof) I am receiving. I use dedicated servers for projects which are, IMO, mission critical to our company and our clients. Some are hosted at places like Rackspace, other on our own dedicated hardware at highly secure data centers. And I have some of those $8.95 a month accounts as well. I can tell you I've had some lag issues with WordPress and my SiteGrinder PHP sites at on-rev. When I do, I usually contact Heather or Kevin and someone somewhere reboots or fixes the machine. That's how it goes at iPowered and the other hosts as well. I suspect I'm getting about what I paid for. So, even if the problem is with the on-rev server, it really can't be fixed until it is identified. That's all I'm saying. From joef1 at mac.com Tue Aug 3 23:18:48 2010 From: joef1 at mac.com (Joe F.) Date: Tue, 03 Aug 2010 23:18:48 -0400 Subject: [revServer] process timeout issue In-Reply-To: References: <1280747497634-2310168.post@n4.nabble.com> Message-ID: <40EA4C5B-B786-4500-98E0-DDE29EE279F0@mac.com> Very well put Jeff. I guess I came into Enterprise and On-Rev about the same time and your feelings echo my own. I had no interest in a pre-alpha RevMobile, but I feel like I was penalized because of it. And I have to add that Jerry's tRev has enhanced my Enterprise experience quite a bit. Joe F. On Aug 3, 2010, at 9:40 PM, Jeff Massung wrote: > I've tried to hold back from chiming in on yet another "passionate" > discussion having to do with Rev. Most everyone here is great, and obviously > there are those here intent on trying to diagnose and fix the problem. > Bravo. > > Yet, I feel the need to say that I had *extremely* similar issues to Jerry > for the few months I used On-Rev. I had several emails back and forth with > Heather regarding extremely sporadic and spotty access to my site given a > web application I've been developing for quite some time. > > While using On-Rev, my user-base (in pre-pre-alpha) consisted of a whopping > 8 people, and there would be hours at a time during which my REST API'd > application was just unavailable to my customers. There'd be times where an > average command would take milliseconds, and others when socket operations > would timeout *consistently* (we're talking 20+ second timeouts). This was > just wholly unacceptable for me - as a paying customer. > > During this time, Heather and Co. were very responsive and - I think - > understanding of the problem(s) I was facing, but in the end weren't able > to accommodate me in the way I was hoping they would. And that's 100% okay; > no company can meet every customers' needs. So I switched to a different > host, I'm paying more, and have had no problems (other than my own stupid > bugs) since. > > It's really great that Rev users love their tool of choice. It's even better > that they want to make it the best it can be. Sometimes I wonder if the Rev > team realizes just how good of a marketing resource they have in their > community. I rarely witness it being coddled, nurtured, loved, and even > taken advantage of (in a good way). If I had such a zealous group behind one > of my products, I'd be here every day trying to grow it. > > But, in the end, we're customers. We're not paid advocates - at least I'm > not. If a product I'm paying for isn't working for me, I move on. And - from > what I've read and discussions had - that very much seems to be what Jerry > did with On-Rev. We (and our business ventures) don't have infinite amounts > of time and money in the bank to wait for a product to mature meet our > needs, no matter how badly we want it to. And, likewise, unless the Rev team > is aware that there is a serious risk of losing it's [very loyal] customers, > there's no incentive for them to do better. > > If I may venture a guess, I think what most people like about Jerry, his > team, and his products are that they are extremely focused and targeted. And > to make things even better, they eat their own dog food. > >> From the outside, the Rev team feels like the exact opposite. I see > nearly-zero focus on anything. On-Rev is > 1 years old now and the IDE is > still something I wouldn't have release to any customer - even as an early > alpha. There's no way they use that tool in-house, because any programmer > worth their salt would have screamed out loud and started making it better > within 48 hours of being forced to use it. And, to distract from that > product line, there's also RevMobile, RevServer, RevWeb, RevDesktop, and > whatever the next pre-alpha $400 product is in the pipe. > > That's not to say I don't love the thought of what Rev could be. I want it > soooo badly I can taste it. And I'm what you might call a die-hard > programmer that's programmed everything from 8-bit micro-controllers, Lisp > compilers, satellite communications, to PS2, Nintendo, 360, and PS3 video > games for Disney. But, I just love how productive I can be in the 100% live > environment that Rev provides for me. And, frankly, it's fun as hell and > even zen-like relaxing at times. ;-) > > But, there have to be consequences for failure. Jerry's a customer. I'm a > customer. I've been a customer for over a year now, and the bottom line is > that I've gotten nothing from my maintenance fee for Enterprise except > continually postponed promises. If it expires before 5.0 comes out, I won't > renew it. I tried On-Rev and it didn't do what it claimed (for me) either. > > Damn, that was a long-winded way of saying, please cut Jerry some slack. > He's just another paying customer, and if the service provided doesn't live > up to his expectations or needs, he moves on. No one should be upset at > Jerry for any reason at all. If there's anything to be upset about, it would > be asking one's self, "why on Earth wouldn't Rev do *everything* in their > power to make such a long-standing customer incredibly happy so he could > keep advocating Rev and even be able to claim that Rodeo runs on Rev > servers?" > > Jeff M. > > /emote hunkers down, waiting to dodge incoming flames... > _______________________________________________ > 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 massung at gmail.com Wed Aug 4 00:14:57 2010 From: massung at gmail.com (Jeff Massung) Date: Tue, 3 Aug 2010 23:14:57 -0500 Subject: [revServer] process timeout issue In-Reply-To: References: <1280747497634-2310168.post@n4.nabble.com> Message-ID: On Tue, Aug 3, 2010 at 10:14 PM, Chipp Walters wrote: > Jeff, > > Honestly, how can you expect a company to fix a problem when they can't > define the bug? Is that too much to ask for before you throw revServer > under > the bus? > > I don't and yes, it is. I really don't mean to sound cold or callous. What I choose do (as a non-hobby) is impacted in the tools I choose to use. I use Mac over Windows for many similar reasons that are non-asthetic. Should I sit around waiting for Microsoft to fix a problem that's holding me up and be actively engaged with them to help fix the problem? I suppose I could if I just really liked the tool and I had the time/money to wait. But I don't, and my end goal is to grow _my_ business and make money - not theirs. Of course, things are best when two people/companies can mutually benefit each other, and to that end I would obviously take some time/effort and do just that. But, when it's more advantageous for me to do so, I will switch to using tools that helps to accomplish my goals without hesitation. I do not want to get into any discussions about what problem(s) I had with On-Rev. I merely wanted to point out that - regarding server response times and timeouts - I had a very similar issue to Jerry, which did cause me to switch hosting companies. I'd rather not say any more beyond what I already have about the issue. Jeff M. From sims at ezpzapps.com Wed Aug 4 02:43:03 2010 From: sims at ezpzapps.com (jim sims) Date: Wed, 4 Aug 2010 08:43:03 +0200 Subject: currency format Message-ID: I don't seem to be able to find any information about currency formatting in Rev. I'm adding up numbers to get a sum for currency use. So, am I right to assume that when doing something with currency like Sweden for example, I would swap the dot (decimal point) for comma (for decimal point) when I display the number (post calculations)? Same goes for the opposite case if a thousands marker for example - switch it to a dot? sims From peterwawood at gmail.com Wed Aug 4 02:56:04 2010 From: peterwawood at gmail.com (Peter W A Wood) Date: Wed, 4 Aug 2010 14:56:04 +0800 Subject: [revServer] process timeout issue In-Reply-To: References: <1280747497634-2310168.post@n4.nabble.com> Message-ID: <330003EA-4E1A-4951-ACEA-171C2CDD76D7@gmail.com> Hi Chipp On 4 Aug 2010, at 11:14, Chipp Walters wrote: > I believe I paid something like 500 bucks for it at the beginning and nothing since, so I > understand the SLA (or lack thereof) I am receiving. I also bought a founder account and share your sentiment to a large degree. However, RunRev appears to be its own worst enemy by making public statements such as "Ultra reliable web hosting", "Blistering Performance" and "Server Performance - Blistering". Yes, the founder account is good value at the current service levels but it doesn't live up to its promises. Regards Peter From chipp at chipp.com Wed Aug 4 04:49:56 2010 From: chipp at chipp.com (Chipp Walters) Date: Wed, 4 Aug 2010 03:49:56 -0500 Subject: [revServer] process timeout issue In-Reply-To: <330003EA-4E1A-4951-ACEA-171C2CDD76D7@gmail.com> References: <1280747497634-2310168.post@n4.nabble.com> <330003EA-4E1A-4951-ACEA-171C2CDD76D7@gmail.com> Message-ID: Peter, I also have budget accounts with Jupiter, iPowered and one other, and you're right-- you get what you paid for. I suspect as founding members, there was a time when our bandwidth and server performance may have been blistering-- I don't know, I didn't test it. But, as you may not know, this discussion isn't about that-- it's about trying to figure out what the problem Jerry was having that forced him to move to a different platform-- and all the bruhaha surrounding it. All I was/am trying to do is to point out there never was a recipe or a basic understanding of what the actual problem was. While typically it's bad form to 'repost' someone else's findings, I don't believe Kevin nor Andre Garzia would mind me sharing what Andre has found out over with regard to RevServer. From Andre: I believe the limits are not on RevServer itself but on the virtualization > stack used on On-Rev. I have RevServer running on my own web server here and > I just did two tests: * A RevServer script that takes 40 seconds to load. * A RevServer script that uses 90MB of memory. * A RevServer script that uses 225MB and takes 40 seconds to load. http://andregarzia.com/memory.irev http://andregarzia.com/40secs.irev http://andregarzia.com/supertest.irev Then I've run 30 requests at 5 concurrency level against memory.irev. The memory one completed without a single failure, it completed in 7 seconds for all the 30 requests, no errors, timeouts or hiccups. I could not use "ab" to test the ones with a wait in them because my "ab" is not honoring the timeout settings. So if I set the timeout to 2 minutes, it still timeout at couple seconds. Bug on my side not the RevServer side, all pages load fine on the web. So now we know scripts can take forever to run (40 seconds is forever) and use big amount of RAM (225MB). I am using http://jaguarpc.com with their VPS TWO plan. So, this seems to point to the configuration of the on-rev servers and not the RevServer architecture. That's a place to start and I hope the Rev engineers will look into it. I'll also reference a number of above requests by knowledgeable folks like Richard and Andre for information regarding this problem which have still gone unanswered. My point is to keep from spreading innuendo and disinformation which lead to comments like the ones on rodeoapps.posterous.com: "This time out deep burried limitation seems to me like a bomb : since I have built recent plans on on-rev." "Oh my god... This is a bad news." "I guess your guys with Rodeo, the first "large" use of RevServer, are like the canary in the coal mine." "The issues of script memory limitation and timeout have been in my opinion barriers to serious work on On-Rev since it's launch in 2009." "While I think it's obvious that Rodeo was going to split from Rev all along, my experiences with On-Rev have left me unlikely to use Rev products again in the future... You are right; using PHP is a far better choice." I imagine anyone Googling for information on RevServer would certainly find those. They do damage-- and deserve a rebuttal. But, of course, without a recipe or any sort of proof, a rebuttal is pretty much impossible. That is why I've called on Jerry to try and work with RR to create a recipe so that a fix can be found. Frankly, I was pretty much taken by surprise when Jerry posted his issue with RevServer so publicly, especially when Kevin has most generously allowed Jerry and company to harvest customers directly from this list-- something I have never seen another company do. From sanke at hrz.uni-kassel.de Wed Aug 4 06:20:20 2010 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Wed, 04 Aug 2010 12:20:20 +0200 Subject: Harry Potter's magic button - a solution to another tricky group bug Message-ID: <4C593EE4.7000901@hrz.uni-kassel.de> On Tue Aug 3, 2010, J. Landman Gay jacque at hyperactivesw.com wrote: > I downloaded your stack and took a look. The problem isn't an unlocked > group (your group was locked.) Jacqueline, really thanks for taking a look. Thanks to the others who gave feedback, too, but I think by responding to Jacqueline's questions I can cover most of the issues. I did *not* say that the problem is connected to an unlocked group. In fact, I stated somewhere in the report, that both the image-to-be-centered and the group have their lockloc set to true. I should have mentioned this at the beginning. The scenario I came across this bug - or rather a whole can of bugs - is like this: In an image-processing stack I put the image to be processed inside a group. The idea is to be able to display images of any size, images that are larger than the fixed rect (800x600) of the group can be scrolled by the horizontal and vertical scrollbars or inspected with "mousedown and dragging the image" directly. Besides that there is an option to display the image as a whole adjusted to a separate window covering the full screen. So in this scenario the scrollbars are necessary. Of course there are other possibilities for an image-processing stack to display the processed image without using a group, as we have done in another joint project, where a "copy" of the image is shown in a display image of fixed size: The "real" image is hidden, but at the same time transferred to the display image. When the hidden image is changed through filters or otherwise this change will then immediately be reflected via the text-of-image property in the visible image. > It seems to be the scrollbars around the > group. If I turn them off, it all works as expected. Unfortunately not quite! > The work-around would be to turn off scollbars, set the loc of the > image, and then turn them on again. It should happen pretty fast, but > you could lock the screen in case. When you turn the scrollbars on again, the image will immediately snap to a topleft position again - like it does in some other cases I mentioned (going to another card and back, changing the imagedata etc.) > So something about a group with scrollbars is causing the problem but I > can't tell what. Neither can I, but I think there is more involved than just the scrollbars.- Another test I just did: When you turn the scrollbars off and use one of the three scripts of the "automated demonstrations" the stack at once crashes/freezes after having set the image to the center. > By the way, the image doesn't always pop to the top > left of the group. If you drag it past the bottom right corner, for > example, it will go almost to the center (but not quite.) That is not correct. As it were, you are the victim of an optical delusion here, you see only a part of the image! I had described that in my report as the "two-steps" effect: The full image will be visible at the topleft position, if you "set the loc of img x to the loc of group y" a second time or click at the area of the image. Moreover, like with test button "duplicate colors - lock screen", the image full image will be displayed at once at the topleft position when you add the line "lock screen" before line "set the loc of image "x" to the loc of group "y"". > I'm not sure why the extra button makes a difference, unless it simply > jolts the engine into realizing where the topleft corner of the group is. That seems to be indeed part of the magic of Harry Potter's button, like also the interesting split-button effects. It will be the task and the pleasure of the Revolution engineers to find out what is going on. And they should also contemplate, why the alternate possibility to center the image using "move to the loc of group x" works in all cases (with or without scrollbars), but not "set the loc to the loc of group x" > It would be good to update the bug report so the team knows what exactly > to look at. If I knew myself what is going on behind the scenes, I could of course have told them, but I don't. As the report was already rather long, I have left out some other peculiarities. For instance, setting the loc of the image *not* to the loc of the group, but to other x,y coordinates will also produce unexpected results especially if x,y are near or beyond the borders of the group. Also, when saving the stack, it can happen that the part of the image which was under the window of the save dialog will be moved horizontally for a number of pixels. I have not yet found out the exact conditions, so I cannot reliably replicate this, but it happens from time to time -- Best regards, Wilhelm Sanke From steve at theworcestersource.com Wed Aug 4 08:37:56 2010 From: steve at theworcestersource.com (theworcestersource.com) Date: Wed, 4 Aug 2010 05:37:56 -0700 (PDT) Subject: currency format In-Reply-To: References: Message-ID: <1280925476176-2313382.post@n4.nabble.com> Hi Jim, I've popped a little stack called AccountancyFormat().rev up on RevOnline (filter by "numbers") and on my site (http://theworcestersource.com/trybuy/tabid/67/language/en-US/Default.aspx - bottom section). The function that it contains will help you. Countries on the European continent do swap the comma and period separators. Cheers, Steve www.theworcestersource.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/currency-format-tp2312998p2313382.html Sent from the Revolution - User mailing list archive at Nabble.com. From cszasz at mac.com Wed Aug 4 08:57:10 2010 From: cszasz at mac.com (charles61) Date: Wed, 4 Aug 2010 05:57:10 -0700 (PDT) Subject: E-mailing data file Message-ID: <1280926630470-2313404.post@n4.nabble.com> I created an app that generates a data file. The files are saved on the user's hard drive. I want to add an e-mail button that would allow the user to send the file by e-mail by selecting the file within the app to send to another person who is using my program. How can I do that? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/E-mailing-data-file-tp2313404p2313404.html Sent from the Revolution - User mailing list archive at Nabble.com. From mikekann at yahoo.com Wed Aug 4 09:14:08 2010 From: mikekann at yahoo.com (Michael Kann) Date: Wed, 4 Aug 2010 06:14:08 -0700 (PDT) Subject: [revServer] process timeout issue In-Reply-To: <330003EA-4E1A-4951-ACEA-171C2CDD76D7@gmail.com> Message-ID: <457828.85997.qm@web56708.mail.re3.yahoo.com> Peter, I agree with your analysis. I have an on-rev founder account and have learned a lot playing around with it. For me it has given good value. Unlike Chipp, Jeff, Jerry, and others, I am really just using my account for recreation. They have different needs because they have customers down the line who are depending on them. Going forward, it might make sense to have two checkout lines at the on-rev supermarket. One quick line for people like me who just want to post their vacation pictures and perhaps learn some coding. The second line for the serious business people who need to find out the capabilities of the server before they commit their resources. Those in the second line would be handed a printout of the latest server load test to peruse while they are waiting. If the server doesn't have the horsepower they need they can start looking for a better setup elsewhere -- no hard feelings either way. Mike --- On Wed, 8/4/10, Peter W A Wood wrote: From: Peter W A Wood Subject: Re: [revServer] process timeout issue To: "How to use Revolution" Date: Wednesday, August 4, 2010, 1:56 AM Hi Chipp On 4 Aug 2010, at 11:14, Chipp Walters wrote: > I believe I paid something like 500 bucks for it at the beginning and nothing since, so I > understand the SLA (or lack thereof) I am receiving. I also bought a founder account and share your sentiment to a large degree. However, RunRev appears to be its own worst enemy by making public statements such as "Ultra reliable web hosting", "Blistering Performance" and "Server Performance - Blistering". Yes, the founder account is good value at the current service levels but it doesn't live up to its promises. Regards 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 ambassador at fourthworld.com Wed Aug 4 10:06:40 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 04 Aug 2010 07:06:40 -0700 Subject: E-mailing data file Message-ID: <4C5973F0.4030104@fourthworld.com> charles61 wrote: > I created an app that generates a data file. The files are saved on the > user's hard drive. I want to add an e-mail button that would allow the user > to send the file by e-mail by selecting the file within the app to send to > another person who is using my program. How can I do that? Many people would recommend using mailto. Don't count on it. Microsoft has imposed a limit on the length of URLs used with that protocol; it's short, and varies from release to release, making the use of mailto for setting up emails on Windows unreliable unless you know your email+attachment will be very short. I would use a CGI on the server, and post the file to that, which could then email it to you. You can even compress the data using the built-in compress function to make the transfer much sorter. It's a bit more work to set up a CGI, but well worth it: once you get comfortable with CGIs a very large universe of possibilities opens up to you. The basics of getting started with the Rev CGI are here: If you get going and have any trouble working out the email part of it, drop a note here and we'll sort it out for you. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From cszasz at mac.com Wed Aug 4 10:44:21 2010 From: cszasz at mac.com (charles61) Date: Wed, 4 Aug 2010 07:44:21 -0700 (PDT) Subject: E-mailing data file In-Reply-To: <4C5973F0.4030104@fourthworld.com> References: <1280926630470-2313404.post@n4.nabble.com> <4C5973F0.4030104@fourthworld.com> Message-ID: <52CAA168-6B14-4E18-A059-8A7BD5433871@mac.com> Richard, The only problem is that I am dealing with individual computers running the program and not a server. Any other ideas? Charles Szasz cszasz at mac.com On Aug 4, 2010, at 10:07 AM, Richard Gaskin [via Runtime Revolution] wrote: > charles61 wrote: > > > I created an app that generates a data file. The files are saved on the > > user's hard drive. I want to add an e-mail button that would allow the user > > to send the file by e-mail by selecting the file within the app to send to > > another person who is using my program. How can I do that? > > Many people would recommend using mailto. Don't count on it. Microsoft > has imposed a limit on the length of URLs used with that protocol; it's > short, and varies from release to release, making the use of mailto for > setting up emails on Windows unreliable unless you know your > email+attachment will be very short. > > I would use a CGI on the server, and post the file to that, which could > then email it to you. You can even compress the data using the built-in > compress function to make the transfer much sorter. > > It's a bit more work to set up a CGI, but well worth it: once you get > comfortable with CGIs a very large universe of possibilities opens up to > you. > > The basics of getting started with the Rev CGI are here: > > > If you get going and have any trouble working out the email part of it, > drop a note here and we'll sort it out for you. > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > View message @ http://runtime-revolution.278305.n4.nabble.com/E-mailing-data-file-tp2313404p2313496.html > To unsubscribe from E-mailing data file, click here. > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/E-mailing-data-file-tp2313404p2313565.html Sent from the Revolution - User mailing list archive at Nabble.com. From gspearson at gmail.com Wed Aug 4 10:47:25 2010 From: gspearson at gmail.com (gspearson at gmail.com) Date: Wed, 4 Aug 2010 14:47:25 +0000 Subject: E-mailing data file In-Reply-To: <52CAA168-6B14-4E18-A059-8A7BD5433871@mac.com> References: <1280926630470-2313404.post@n4.nabble.com><4C5973F0.4030104@fourthworld.com><52CAA168-6B14-4E18-A059-8A7BD5433871@mac.com> Message-ID: <2070619593-1280933246-cardhu_decombobulator_blackberry.rim.net-1787779794-@bda665.bisx.prod.on.blackberry> My comment would be using a web service that the client application could access and then the web service would actually send the email. Sent via BlackBerry by AT&T -----Original Message----- From: charles61 Sender: use-revolution-bounces at lists.runrev.com Date: Wed, 4 Aug 2010 07:44:21 To: Reply-To: How to use Revolution Subject: Re: E-mailing data file Richard, The only problem is that I am dealing with individual computers running the program and not a server. Any other ideas? Charles Szasz cszasz at mac.com On Aug 4, 2010, at 10:07 AM, Richard Gaskin [via Runtime Revolution] wrote: > charles61 wrote: > > > I created an app that generates a data file. The files are saved on the > > user's hard drive. I want to add an e-mail button that would allow the user > > to send the file by e-mail by selecting the file within the app to send to > > another person who is using my program. How can I do that? > > Many people would recommend using mailto. Don't count on it. Microsoft > has imposed a limit on the length of URLs used with that protocol; it's > short, and varies from release to release, making the use of mailto for > setting up emails on Windows unreliable unless you know your > email+attachment will be very short. > > I would use a CGI on the server, and post the file to that, which could > then email it to you. You can even compress the data using the built-in > compress function to make the transfer much sorter. > > It's a bit more work to set up a CGI, but well worth it: once you get > comfortable with CGIs a very large universe of possibilities opens up to > you. > > The basics of getting started with the Rev CGI are here: > > > If you get going and have any trouble working out the email part of it, > drop a note here and we'll sort it out for you. > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > View message @ http://runtime-revolution.278305.n4.nabble.com/E-mailing-data-file-tp2313404p2313496.html > To unsubscribe from E-mailing data file, click here. > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/E-mailing-data-file-tp2313404p2313565.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 ambassador at fourthworld.com Wed Aug 4 10:53:28 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 04 Aug 2010 07:53:28 -0700 Subject: [revServer] process timeout issue Message-ID: <4C597EE8.6090006@fourthworld.com> Michael Kann wrote: > If the server doesn't have the horsepower they need they can > start looking for a better setup elsewhere -- no hard feelings > either way. Well said. I've been experimenting with spidering, data mining, and analytics, and like any processor-intensive tasks it would never occur to me to put them on a shared host. Like many hosts, the one I'm using offers dedicated servers for less than $70/mo, but being a cheapskate I've gone one step further during this experimental phase: I bought a nettop off Ebay for just $150, set it up with Ubuntu and Rev, and that does all the heavy lifting 24/7, posting only the output from those process to my servers periodically as needed. I never run into the CPU cycle limits most hosts have on their servers, and I don't even slow down my own web server from its tasks of serving pages to my visitors and handling their purchases. When the workflow expands to required tighter integration between the processing and the output, I can move the system from my office to a dedicated server with multiple redundant fat-pipe connections for just a few bucks a month. There are a million ways to create robust scalable infrastructures to handle any load. Many are cheap and easy to do, and for most of those tasks you can do them all in one fun language. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From ambassador at fourthworld.com Wed Aug 4 11:00:54 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 04 Aug 2010 08:00:54 -0700 Subject: E-mailing data file Message-ID: <4C5980A6.3030401@fourthworld.com> charles61 wrote: On Aug 4, 2010, at 10:07 AM, Richard Gaskin [via Runtime Revolution] wrote: > I would use a CGI on the server, and post the file to that, which > could then email it to you. You can even compress the data using > the built-in compress function to make the transfer much sorter. > > It's a bit more work to set up a CGI, but well worth it: once you > get comfortable with CGIs a very large universe of possibilities > opens up to you. > > The basics of getting started with the Rev CGI are here: > > > The only problem is that I am dealing with individual computers > running the program and not a server. Any other ideas? Right: the client side isn't running the CGI, any more than they would run your mail server if you could send the email directly. Whether sending email or posting the message to a CGI to email for you, both require nothing more than an Internet connection on the client. The work is done on a server. This assumes you have a web server available, and one that allows you to run compiled CGI engines like the Rev CGI (a good many do these days). The URL above describes what you'd need to set up Rev on your server, and I can't stress enough how wonderfully useful it is to have such a setup at your disposal, for this and a thousand other tasks you'll think up over time. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From viktoras at ekoinf.net Wed Aug 4 11:13:29 2010 From: viktoras at ekoinf.net (viktoras d.) Date: Wed, 04 Aug 2010 16:13:29 +0100 Subject: E-mailing data file In-Reply-To: <1280926630470-2313404.post@n4.nabble.com> References: <1280926630470-2313404.post@n4.nabble.com> Message-ID: <4C598399.2010201@ekoinf.net> Hi Charles, what if, instead of sending data as an attachment of an e-mail, user saved data into a ftp directory on a web server. In this case the only thing to send would be the url or name of data file. Of course in this case you will need to ensure 24/7 availability of your ftp directory. However this scheme simplifies implementatin and would not even require any cgi coding at all. Viktoras charles61 wrote: > I created an app that generates a data file. The files are saved on the > user's hard drive. I want to add an e-mail button that would allow the user > to send the file by e-mail by selecting the file within the app to send to > another person who is using my program. How can I do that? > From andre at andregarzia.com Wed Aug 4 11:36:25 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Aug 2010 12:36:25 -0300 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows Message-ID: Hello Folks, Spreading the load or why wise developers use asynchronous workflows Introduction Continuing the trend of posting tips for RevServer here, today I decided to talk about how to spread the load of your web application. During the last days we've seen many talks about memory limitations and execution time limitations regarding RevServer (actually regarding On-Rev). The fact is that all web hosts that use shared servers need some kind of virtualization police to prevent rogue processes from taking all RAM and/or CPU and thus rendering the whole system unresponsive. This kind of policy can be implemented on different OS levels and how each web hosting service does it is beyond the scope of this email. On-Rev service has a policy of allowing a process to run for about 30 seconds and to take up to 64MB, while this seems small to all the desktop developers in here, all of which are used to swallowing big chunks of memory and CPU (seen people trying to insert 1 GB of data into Text fields), these are actually very sensible values and should accomodate most users. Those 30 secs are like forever in terms of web serving, usually a page takes milliseconds to be served. 64MB of RAM is also a big sum. Here where I work we use the biggest database I've ever seen, it is spread among different machines but the one I am working now has 83 million records totaling 9GB of data and this is our small database, the big one holds more than 7 thousand tables and millions and millions of records. We're on the business of being evil, I mean, we're on the business of sending email marketing and just one of our machines pushes 26 thousand emails per minute. Right now our system is built with PHP (it was built before me) and we do all this stuff with a memory allocation of 120MB (which we use about 70MB), so the 64MB allowed by On-Rev appears quite good. Remember this limits applies only to On-Rev service, I am running RevServer on my own VPS and I am yet to face such limits (see my previous email). Other web hosts have different limits and one should not assume that his own hosting company has no limit. Many web developers here are just beginning on their path to total web server domination, most are coming from the safe lands of Desktop application design where you are free to do basically anything. You have as much memory as you can swap pages to disk. You can display a progress bar and have a handler execute for minutes without a problem. Those developers sometimes are unprepared to deal with the constraints forced on them by server side programming. They are no unprepared because they are lazy or anything but because they are not used to the "design patterns" of server side programming, you can't think in terms of something when you never ever saw that thing, without some knowledge base the only way up on the steep hill of server side programming is quite a hard track. So today's topic is on load distribution and asynchronous workflow, let us first detail the problem. Well, this message is to big for the list server, it blocked me, so if you want to carry on reading: move to: http://andregarzia.com/async.irev -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Wed Aug 4 11:40:28 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Aug 2010 12:40:28 -0300 Subject: E-mailing data file In-Reply-To: <1280926630470-2313404.post@n4.nabble.com> References: <1280926630470-2313404.post@n4.nabble.com> Message-ID: Charles, checkout libSMTP on revonline but I agree with Richard, it is easier to make your standalone ping a server cgi with the data. Email is just to cumbersome these days. Andre On Wed, Aug 4, 2010 at 9:57 AM, charles61 wrote: > > I created an app that generates a data file. The files are saved on the > user's hard drive. I want to add an e-mail button that would allow the > user > to send the file by e-mail by selecting the file within the app to send to > another person who is using my program. How can I do that? > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/E-mailing-data-file-tp2313404p2313404.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 psahores at free.fr Wed Aug 4 11:42:06 2010 From: psahores at free.fr (Pierre Sahores) Date: Wed, 4 Aug 2010 17:42:06 +0200 Subject: [revServer] process timeout issue In-Reply-To: <457828.85997.qm@web56708.mail.re3.yahoo.com> References: <457828.85997.qm@web56708.mail.re3.yahoo.com> Message-ID: <8818A214-186A-4DAA-AF24-5C6E823BCCCB@free.fr> Dear Rev fellows, None of my clients went aware nor unhappy about the performance or stability of the rev-based n-tier apps i deployed over the 15 last years and, i'm far from being alone in this case ;-) It took me a complete year to evaluate the on-rev platform in deploying an heavy test purpose only n-tier app at woooooooords.com. As the bilan : i just have to say : it worked exactly as expected and without any glichies of any kind, even along the time spend to develop it. As a n-tier experimented designer and developer relying mainly on this activity for most of my incomes, i can assure you that on-rev.com is a very suitable platform for most professional-grade deployments. About the revServer average speed responsivity, on a mutualised platform, it's able to run complexes .irev + SQL backends driven apps at 33% of the speed of the fastest competitor we can find all over the world (www.google.com). If you install the same revServer driven n-tier app on a well dimmensioned dedicated server (POSIX compliant needed, at least, for security reasons), you will become able to serve your clients with, at least, 66% of the speed of www.google.com. Is that not enought for most of our clearly suited needs ? Beside i continue to deploy inhouse and profesional-hosting provided apps for my B2B customers, mainly under the MacMini server platform, i will start to deploy real production apps on the on-rev.com at the end of this year and i'm 100% confident in the fact that on-rev.com will handle exactly as expected all my needs as long as i will not have to handle more than hundreds of thousand connexions per day. So, i'm not sure i will never need to run dedicated servers (500 US $ / month) at this point but if it becomes the case, it will not be a problem at all, after all ;-) N-tier development is alike playing Chess. Anyone can be a funny gamer but when some one wants to go over 2200 ELO, it become a full time and costly investissement. Rev, and Metacard before it, went always very well suited to target both the hobbyists and professional developers needs. 1.- Rev learning curve can stay very flat and accessible, alike Hypercard went before it, when it's used to build basic hobbyist solutions but ... 2.- Rev learning curve can become no far from vertical (alike any other professional-grade development environments well suited to target very special cases - AI, BI, n-tier development, RIA, advanced special middleware tools used to interconnect foreign n-tier clients and back-ends in real time, etc... In the first case, Rev will be appreciated by the hobbyists in letting them build, in minutes to hours, suitable low-level complexity and flat designed apps. It's OK soo. In the second case, Rev will never become the main problem if the professional developer know how to handle the application he has to build in using it as the main glue environment and all the foreign components (langages, templates, shell calls, external code editors, etc...) needed to complete the work to do in the best ways. In other words, rev can be handled as a very technical tool and framework : at this point, to get the best from it, we need to be able to design our softs before starting to code them. Else, if we try to gohead without knowing "where to get the light"..., to the end, there will no be good results at all... because the designer, because the developer, not because Rev. Please, dear Rev fellows, don't play always and again, an other game than the one Rev is well suited for each of us. Hobbyist and professional knows both what to get from it but hobbyists are not always very helpfull when they think or say "avec beaucoup de l?g?ret?" : if i can't handle this in using Rev, nobody will be able to do it : this is just : FALSE. ... At this point, the question is : why not purpose two definitively well distinct product lines of the Rev products : - a media + studio one - an enterprise, revplugin, revserver one, suited with a new marketed name / identity using more discriminative higher prices or invitation only availability, letting know to each one that those tools are definitively targeting the professional dev world. Thanks for reading. P. > Going forward, it might make sense to have two checkout lines at the on-rev supermarket. One quick line for people like me who just want to post their vacation pictures and perhaps learn some coding. The second line for the serious business people who need to find out the capabilities of the server before they commit their resources. Those in the second line would be handed a printout of the latest server load test to peruse while they are waiting. If the server doesn't have the horsepower they need they can start looking for a better setup elsewhere -- no hard feelings either way. > > Mike -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From bobs at twft.com Wed Aug 4 12:45:03 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 4 Aug 2010 09:45:03 -0700 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: Message-ID: Nice work Andre. This extraordinarily long bit of useful information ought to be in an article in the Run-Rev newsletter next month. Bob On Aug 4, 2010, at 8:36 AM, Andre Garzia wrote: > Hello Folks, > > Spreading the load or why wise developers use asynchronous workflows > > Introduction From wdurden at gmail.com Wed Aug 4 12:49:36 2010 From: wdurden at gmail.com (wayne durden) Date: Wed, 4 Aug 2010 12:49:36 -0400 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: Message-ID: Hi, Just want to make sure I have the general understanding of the issues... On a shared hosting setup where there is a process time limit such as 30 seconds, would that mean that some other entity using the same server with an intensive process could latch essentially all of the processing for up to 30 seconds? Is there a more finely granulated check that still swaps users in and out to a degree below a certain process priority claim? And if the first assertion is the case, it wouldn't matter what tech one went with Rev, Ruby, PHP, etc. you could still get a wait time of almost 30 seconds before the server ended your sharer's processing and reached you, correct? Thanks, Wayne From andre at andregarzia.com Wed Aug 4 12:54:02 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Aug 2010 13:54:02 -0300 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: Message-ID: Wayne, you got it wrong, it is a per process limitation. The policies change from shared hosting company to shared hosting company. At On-Rev means that a single process can only use 30 secs of processing time, this is done precisely to prevent a rogue process from using all the resources and thus making the life of other users a mess. No one can hog the whole server for 30 seconds because, there is a CPU limit as well. It is not just time, the limits are set so all users can reach the limit without affecting each other. Thats the idea Andre On Wed, Aug 4, 2010 at 1:49 PM, wayne durden wrote: > Hi, > > Just want to make sure I have the general understanding of the issues... > On > a shared hosting setup where there is a process time limit such as 30 > seconds, would that mean that some other entity using the same server with > an intensive process could latch essentially all of the processing for up > to > 30 seconds? Is there a more finely granulated check that still swaps users > in and out to a degree below a certain process priority claim? And if the > first assertion is the case, it wouldn't matter what tech one went with > Rev, > Ruby, PHP, etc. you could still get a wait time of almost 30 seconds before > the server ended your sharer's processing and reached you, correct? > > Thanks, > > Wayne > _______________________________________________ > 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 mikekann at yahoo.com Wed Aug 4 12:56:46 2010 From: mikekann at yahoo.com (Michael Kann) Date: Wed, 4 Aug 2010 09:56:46 -0700 (PDT) Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: Message-ID: <651408.72946.qm@web56703.mail.re3.yahoo.com> Andre wrote: If there's interest in this community I can craft some real RevServer scripts showing this approach. This is the key to being able to serve lots of request while doing intensive work and being a good shared server citizen. --------------------------------------------------------- I'm sure that everybody who has read your explanation would appreciate some scripts. Thanks again, Mike --- On Wed, 8/4/10, Andre Garzia wrote: From: Andre Garzia Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows To: "How to use Revolution" Date: Wednesday, August 4, 2010, 10:36 AM Hello Folks, Spreading the load or why wise developers use asynchronous workflows Introduction Continuing the trend of posting tips for RevServer here, today I decided to talk about how to spread the load of your web application. During the last days we've seen many talks about memory limitations and execution time limitations regarding RevServer (actually regarding On-Rev). The fact is that all web hosts that use shared servers need some kind of virtualization police to prevent rogue processes from taking all RAM and/or CPU and thus rendering the whole system unresponsive. This kind of policy can be implemented on different OS levels and how each web hosting service does it is beyond the scope of this email. On-Rev service has a policy of allowing a process to run for about 30 seconds and to take up to 64MB, while this seems small to all the desktop developers in here, all of which are used to swallowing big chunks of memory and CPU (seen people trying to insert 1 GB of data into Text fields), these are actually very sensible values and should accomodate most users. Those 30 secs are like forever in terms of web serving, usually a page takes milliseconds to be served. 64MB of RAM is also a big sum. Here where I work we use the biggest database I've ever seen, it is spread among different machines but the one I am working now has 83 million records totaling 9GB of data and this is our small database, the big one holds more than 7 thousand tables and millions and millions of records. We're on the business of being evil, I mean, we're on the business of sending email marketing and just one of our machines pushes 26 thousand emails per minute. Right now our system is built with PHP (it was built before me) and we do all this stuff with a memory allocation of 120MB (which we use about 70MB), so the 64MB allowed by On-Rev appears quite good. Remember this limits applies only to On-Rev service, I am running RevServer on my own VPS and I am yet to face such limits (see my previous email). Other web hosts have different limits and one should not assume that his own hosting company has no limit. Many web developers here are just beginning on their path to total web server domination, most are coming from the safe lands of Desktop application design where you are free to do basically anything. You have as much memory as you can swap pages to disk. You can display a progress bar and have a handler execute for minutes without a problem. Those developers sometimes are unprepared to deal with the constraints forced on them by server side programming. They are no unprepared because they are lazy or anything but because they are not used to the "design patterns" of server side programming, you can't think in terms of something when you never ever saw that thing, without some knowledge base the only way up on the steep hill of server side programming is quite a hard track. So today's topic is on load distribution and asynchronous workflow, let us first detail the problem. Well, this message is to big for the list server, it blocked me, so if you want to carry on reading: move to: http://andregarzia.com/async.irev -- 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 wdurden at gmail.com Wed Aug 4 12:59:58 2010 From: wdurden at gmail.com (wayne durden) Date: Wed, 4 Aug 2010 12:59:58 -0400 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: Message-ID: Thanks Andre, and I am working through your article now as well. I get that it is per process but the part that isn't still clear to me is that the OS can be doing my intensive process for 30 seconds before closing it and also attending to another user simultaneously or not. I am under the impression there is still some resource slicing going on, I just don't have a concrete understanding... This is all very interesting to me because I am interested in moving a desktop app that processes datafiles up to 100,000 lines which can mean for each line comparing against the remainder (in reality sorts cust this down a great deal), but this can run for minutes on a desktop app and I have got to cut it down into asynchronous processing as per your article... Thanks! Wayne On Wed, Aug 4, 2010 at 12:54 PM, Andre Garzia wrote: > Wayne, > > you got it wrong, it is a per process limitation. The policies change from > shared hosting company to shared hosting company. At On-Rev means that a > single process can only use 30 secs of processing time, this is done > precisely to prevent a rogue process from using all the resources and thus > making the life of other users a mess. No one can hog the whole server for > 30 seconds because, there is a CPU limit as well. It is not just time, the > limits are set so all users can reach the limit without affecting each > other. Thats the idea > > Andre > > On Wed, Aug 4, 2010 at 1:49 PM, wayne durden wrote: > > > Hi, > > > > Just want to make sure I have the general understanding of the issues... > > On > > a shared hosting setup where there is a process time limit such as 30 > > seconds, would that mean that some other entity using the same server > with > > an intensive process could latch essentially all of the processing for up > > to > > 30 seconds? Is there a more finely granulated check that still swaps > users > > in and out to a degree below a certain process priority claim? And if > the > > first assertion is the case, it wouldn't matter what tech one went with > > Rev, > > Ruby, PHP, etc. you could still get a wait time of almost 30 seconds > before > > the server ended your sharer's processing and reached you, correct? > > > > Thanks, > > > > Wayne > > _______________________________________________ > > 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 wdurden at gmail.com Wed Aug 4 13:01:05 2010 From: wdurden at gmail.com (wayne durden) Date: Wed, 4 Aug 2010 13:01:05 -0400 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: <651408.72946.qm@web56703.mail.re3.yahoo.com> References: <651408.72946.qm@web56703.mail.re3.yahoo.com> Message-ID: I second Michael per the scripts Andre! Wayne From andre at andregarzia.com Wed Aug 4 13:02:36 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Aug 2010 14:02:36 -0300 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: Message-ID: Glad the article is useful! The OS will be able to attend you and others with no problem but it will enforce the limitations, meaning in about 30 secs of work, your process will shutdown. For your intensive task, the best idea is an asynchronous workflow with some kind of map/reduce or queue processing governated by the client browser. Andre On Wed, Aug 4, 2010 at 1:59 PM, wayne durden wrote: > Thanks Andre, and I am working through your article now as well. I get > that > it is per process but the part that isn't still clear to me is that the OS > can be doing my intensive process for 30 seconds before closing it and also > attending to another user simultaneously or not. I am under the impression > there is still some resource slicing going on, I just don't have a concrete > understanding... > > This is all very interesting to me because I am interested in moving a > desktop app that processes datafiles up to 100,000 lines which can mean for > each line comparing against the remainder (in reality sorts cust this down > a > great deal), but this can run for minutes on a desktop app and I have got > to > cut it down into asynchronous processing as per your article... > > Thanks! > > Wayne > > On Wed, Aug 4, 2010 at 12:54 PM, Andre Garzia > wrote: > > > Wayne, > > > > you got it wrong, it is a per process limitation. The policies change > from > > shared hosting company to shared hosting company. At On-Rev means that a > > single process can only use 30 secs of processing time, this is done > > precisely to prevent a rogue process from using all the resources and > thus > > making the life of other users a mess. No one can hog the whole server > for > > 30 seconds because, there is a CPU limit as well. It is not just time, > the > > limits are set so all users can reach the limit without affecting each > > other. Thats the idea > > > > Andre > > > > On Wed, Aug 4, 2010 at 1:49 PM, wayne durden wrote: > > > > > Hi, > > > > > > Just want to make sure I have the general understanding of the > issues... > > > On > > > a shared hosting setup where there is a process time limit such as 30 > > > seconds, would that mean that some other entity using the same server > > with > > > an intensive process could latch essentially all of the processing for > up > > > to > > > 30 seconds? Is there a more finely granulated check that still swaps > > users > > > in and out to a degree below a certain process priority claim? And if > > the > > > first assertion is the case, it wouldn't matter what tech one went with > > > Rev, > > > Ruby, PHP, etc. you could still get a wait time of almost 30 seconds > > before > > > the server ended your sharer's processing and reached you, correct? > > > > > > Thanks, > > > > > > Wayne > > > _______________________________________________ > > > 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 mikekann at yahoo.com Wed Aug 4 13:09:35 2010 From: mikekann at yahoo.com (Michael Kann) Date: Wed, 4 Aug 2010 10:09:35 -0700 (PDT) Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: Message-ID: <124694.82378.qm@web56703.mail.re3.yahoo.com> Wayne, Someone on this forum might be able to find room for improvement in your data processing program. You might want to put it out as a challenge to see what others can do with it. Mike Wayne wrote: This is all very interesting to me because I am interested in moving a desktop app that processes datafiles up to 100,000 lines which can mean for each line comparing against the remainder (in reality sorts cust this down a great deal), but this can run for minutes on a desktop app and I have got to cut it down into asynchronous processing as per your article... From wdurden at gmail.com Wed Aug 4 13:17:03 2010 From: wdurden at gmail.com (wayne durden) Date: Wed, 4 Aug 2010 13:17:03 -0400 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: Message-ID: Thanks Andre, I am coming to that conclusion I believe as well. Wrestling with how to do some processing and save state of where it is and restart at the left off point... What still doesn't quite make sense to me is why if the server is already slicing its resources amount users (I get x memory and x amount of the processing time on the server), exactly why there then needs to be any per process limitation time wise if the OS can already swap resources between users. This isn't a question I need answered, it's just a matter of wanting to understand more concretely "all the way down" exactly how things work. I accept that it is so, and I suspect that the granularity of the OS time slice parceling amongst users perhaps isn't nearly as easy if a user has a process continually running. Please don't spend any more time responding, I will do some side reading to satisfy the curiosity until I reach my limit of effort to curiosity. Thanks again for all you put out on this list! Great pointers for how I have to rethink my app to turn it into a server service. Wayne On Wed, Aug 4, 2010 at 1:02 PM, Andre Garzia wrote: > Glad the article is useful! > > The OS will be able to attend you and others with no problem but it will > enforce the limitations, meaning in about 30 secs of work, your process > will > shutdown. For your intensive task, the best idea is an asynchronous > workflow > with some kind of map/reduce or queue processing governated by the client > browser. > > Andre > > On Wed, Aug 4, 2010 at 1:59 PM, wayne durden wrote: > > > Thanks Andre, and I am working through your article now as well. I get > > that > > it is per process but the part that isn't still clear to me is that the > OS > > can be doing my intensive process for 30 seconds before closing it and > also > > attending to another user simultaneously or not. I am under the > impression > > there is still some resource slicing going on, I just don't have a > concrete > > understanding... > > > > This is all very interesting to me because I am interested in moving a > > desktop app that processes datafiles up to 100,000 lines which can mean > for > > each line comparing against the remainder (in reality sorts cust this > down > > a > > great deal), but this can run for minutes on a desktop app and I have got > > to > > cut it down into asynchronous processing as per your article... > > > > Thanks! > > > > Wayne > > > > On Wed, Aug 4, 2010 at 12:54 PM, Andre Garzia > > wrote: > > > > > Wayne, > > > > > > you got it wrong, it is a per process limitation. The policies change > > from > > > shared hosting company to shared hosting company. At On-Rev means that > a > > > single process can only use 30 secs of processing time, this is done > > > precisely to prevent a rogue process from using all the resources and > > thus > > > making the life of other users a mess. No one can hog the whole server > > for > > > 30 seconds because, there is a CPU limit as well. It is not just time, > > the > > > limits are set so all users can reach the limit without affecting each > > > other. Thats the idea > > > > > > Andre > > > > > > On Wed, Aug 4, 2010 at 1:49 PM, wayne durden > wrote: > > > > > > > Hi, > > > > > > > > Just want to make sure I have the general understanding of the > > issues... > > > > On > > > > a shared hosting setup where there is a process time limit such as 30 > > > > seconds, would that mean that some other entity using the same server > > > with > > > > an intensive process could latch essentially all of the processing > for > > up > > > > to > > > > 30 seconds? Is there a more finely granulated check that still swaps > > > users > > > > in and out to a degree below a certain process priority claim? And > if > > > the > > > > first assertion is the case, it wouldn't matter what tech one went > with > > > > Rev, > > > > Ruby, PHP, etc. you could still get a wait time of almost 30 seconds > > > before > > > > the server ended your sharer's processing and reached you, correct? > > > > > > > > Thanks, > > > > > > > > Wayne > > > > _______________________________________________ > > > > 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 bobs at twft.com Wed Aug 4 13:22:05 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 4 Aug 2010 10:22:05 -0700 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: Message-ID: Okay, so let's say I'm a script kiddie with a bug up my butt about your web server. I decide I am going to take it down. Now I'm smart enough to know that servers are multi-threaded, meaning they can host lots of connections and process threads to manage simultaneous connections. But what I am banking on is that your server does not have any limits on how long a process can stay open. So what I do is craft an application that continuously opens processes that will take forever. All the well behaved processes from other users will eventually finish, leaving one more process thread for my malicious app to gobble up. Eventually my malicious app gobbles up ALL the available processes, and bobs-yer-uncle I have your server by the short hairs. Oh but wait! Turns out you were not as dumb as moi hoped you were, and you set up policies on your web server that automatically terminated processes lasting longer than 30 seconds. Well I might be able to bog down your server, but I can't kill it. Oh but wait! You turned out to be MUCH smarter than I thought, and after my server terminates x number of processes from a particular address, you lock me out of your server! Okay, well I craft my program now to create HUGE processes, as big as I can get them. Oh but wait again! Your server has limits on how big a process can be! Dang! Yer a genius and I am screwed! Bob On Aug 4, 2010, at 9:59 AM, wayne durden wrote: > Thanks Andre, and I am working through your article now as well. I get that > it is per process but the part that isn't still clear to me is that the OS > can be doing my intensive process for 30 seconds before closing it and also > attending to another user simultaneously or not. I am under the impression > there is still some resource slicing going on, I just don't have a concrete > understanding... > > This is all very interesting to me because I am interested in moving a > desktop app that processes datafiles up to 100,000 lines which can mean for > each line comparing against the remainder (in reality sorts cust this down a > great deal), but this can run for minutes on a desktop app and I have got to > cut it down into asynchronous processing as per your article... > > Thanks! > > Wayne From mwieder at ahsoftware.net Wed Aug 4 13:26:45 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 4 Aug 2010 10:26:45 -0700 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: Message-ID: <17587702515.20100804102645@ahsoftware.net> Bob- Good use-case about why this is necessary. -- -Mark Wieder mwieder at ahsoftware.net From wdurden at gmail.com Wed Aug 4 13:32:19 2010 From: wdurden at gmail.com (wayne durden) Date: Wed, 4 Aug 2010 13:32:19 -0400 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: <124694.82378.qm@web56703.mail.re3.yahoo.com> References: <124694.82378.qm@web56703.mail.re3.yahoo.com> Message-ID: Hi Mike, Thanks for that encouragement and I have seen such efforts on this list in the past. I don't think my situation is an ideal candidate because the business logic of the processing that happens is quite convoluted and hard to keep mentally in focus. The app in question takes lines of reported equity trades, and matches opposite sides prorating as necessary. That part is all rather straightforward and simple, but there is a particulary nasty tax rule called the wash sale rule that then requires a lengthy series of condition checks for other trades to see if it is triggered. It's not rocket science, but it is tax law with a bunch of weird nested conditions. I don't doubt that the members of this list could probably cut the compares substantially, but I think the complexity of the rules needed to understand is beyond the "interesting puzzle " level. Additionally, for the average case of less than 4000 lines, trying to optimize the desktop app is not necessary. Right now RunRev is a secret weapon which allows me to do this very effectively as a "touch" service, but where this is headed is in an institutional setting handling the accounts automatically and that is beyond optimizing the matching algorithms, to rethinking the breakdown of how the processing actually needs to be handled. I do appreciate the suggestion, and I have seen many cases in the past where the members on this list would jump at the chance to optimize others code. This list is truly a fantastic thing! Wayne On Wed, Aug 4, 2010 at 1:09 PM, Michael Kann wrote: > Wayne, > > Someone on this forum might be able to find room for improvement in your > data processing program. You might want to put it out as a challenge to see > what others can do with it. > > Mike > > Wayne wrote: > > This is all very interesting to me because I am interested in moving a > desktop app that processes datafiles up to 100,000 lines which can mean for > each line comparing against the remainder (in reality sorts cust this down > a > great deal), but this can run for minutes on a desktop app and I have got > to > cut it down into asynchronous processing as per your article... > > > > > > > _______________________________________________ > 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 wdurden at gmail.com Wed Aug 4 13:37:22 2010 From: wdurden at gmail.com (wayne durden) Date: Wed, 4 Aug 2010 13:37:22 -0400 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: <17587702515.20100804102645@ahsoftware.net> References: <17587702515.20100804102645@ahsoftware.net> Message-ID: Great Bob, got it! Probably would have taken hours of searching before this light bulb would have flashed on about the rationale for the limitation. Thanks, Wayne On Wed, Aug 4, 2010 at 1:26 PM, Mark Wieder wrote: > Bob- > > Good use-case about why this is necessary. > > -- > -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 jacque at hyperactivesw.com Wed Aug 4 13:51:20 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 04 Aug 2010 12:51:20 -0500 Subject: [revServer] process timeout issue In-Reply-To: References: <1280747497634-2310168.post@n4.nabble.com> <330003EA-4E1A-4951-ACEA-171C2CDD76D7@gmail.com> Message-ID: <4C59A898.5090403@hyperactivesw.com> On 8/4/10 3:49 AM, Chipp Walters wrote: > I imagine anyone Googling for information on RevServer would certainly find > those. They do damage-- and deserve a rebuttal. But, of course, without a > recipe or any sort of proof, a rebuttal is pretty much impossible. That is > why I've called on Jerry to try and work with RR to create a recipe so that > a fix can be found. This does bother me, especially since several of our web gurus on this list can't reproduce the problem. I of course believe there's an issue somewhere because I'm sure Jerry and others wouldn't just make this up, but it appears to be obscure. It seems unfair to post damaging accusations without giving the RR team enough info to respond and fix it. > Frankly, I was pretty much taken by surprise when Jerry posted his issue > with RevServer so publicly, especially when Kevin has most generously > allowed Jerry and company to harvest customers directly from this list-- > something I have never seen another company do. RR has worked very closely with D&M in the past to resolve issues in all their other products. They offered to do the same in this case too but got no response. That makes me wonder if the stated reason for the move to PHP isn't a red herring and there are other unspoken reasons for the reversal. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revdev at pdslabs.net Wed Aug 4 13:51:54 2010 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 04 Aug 2010 10:51:54 -0700 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: Message-ID: <4C59A8BA.4090404@pdslabs.net> Excellent piece, Andre! Thanks. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From andre at andregarzia.com Wed Aug 4 13:56:43 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Aug 2010 14:56:43 -0300 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: <4C59A8BA.4090404@pdslabs.net> References: <4C59A8BA.4090404@pdslabs.net> Message-ID: Thanks Phil! :-D On Wed, Aug 4, 2010 at 2:51 PM, Phil Davis wrote: > Excellent piece, Andre! 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 > -- http://www.andregarzia.com All We Do Is Code. From mikekann at yahoo.com Wed Aug 4 14:04:47 2010 From: mikekann at yahoo.com (Michael Kann) Date: Wed, 4 Aug 2010 11:04:47 -0700 (PDT) Subject: [revServer] process timeout issue In-Reply-To: <4C59A898.5090403@hyperactivesw.com> Message-ID: <140039.87679.qm@web56708.mail.re3.yahoo.com> Jacqueline, One weird aspect to the situation is that the on-rev server is physically in Texas (Houston) and the two people reporting problems (Jerry and Jeff) are also in Texas (Austin). Mike --- On Wed, 8/4/10, J. Landman Gay wrote: From: J. Landman Gay Subject: Re: [revServer] process timeout issue To: "How to use Revolution" Date: Wednesday, August 4, 2010, 12:51 PM On 8/4/10 3:49 AM, Chipp Walters wrote: > I imagine anyone Googling for information on RevServer would certainly find > those. They do damage-- and deserve a rebuttal. But, of course, without a > recipe or any sort of proof, a rebuttal is pretty much impossible. That is > why I've called on Jerry to try and work with RR to create a recipe so that > a fix can be found. This does bother me, especially since several of our web gurus on this list can't reproduce the problem. I of course believe there's an issue somewhere because I'm sure Jerry and others wouldn't just make this up, but it appears to be obscure. It seems unfair to post damaging accusations without giving the RR team enough info to respond and fix it. > Frankly, I was pretty much taken by surprise when Jerry posted his issue > with RevServer so publicly, especially when Kevin has most generously > allowed Jerry and company to harvest customers directly from this list-- > something I have never seen another company do. RR has worked very closely with D&M in the past to resolve issues in all their other products. They offered to do the same in this case too but got no response. That makes me wonder if the stated reason for the move to PHP isn't a red herring and there are other unspoken reasons for the reversal. -- 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 revdev at pdslabs.net Wed Aug 4 14:04:56 2010 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 04 Aug 2010 11:04:56 -0700 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: <4C59A8BA.4090404@pdslabs.net> Message-ID: <4C59ABC8.8040708@pdslabs.net> You already give back a lot to this community, but along with others I think it would be great if you could create an example like you mentioned. There's nothing like the real thing! Phil On 8/4/10 10:56 AM, Andre Garzia wrote: > Thanks Phil! > > :-D > > On Wed, Aug 4, 2010 at 2:51 PM, Phil Davis wrote: > > >> Excellent piece, Andre! 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 >> >> > > > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From andre at andregarzia.com Wed Aug 4 14:15:28 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Aug 2010 15:15:28 -0300 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: <4C59ABC8.8040708@pdslabs.net> References: <4C59A8BA.4090404@pdslabs.net> <4C59ABC8.8040708@pdslabs.net> Message-ID: I will craft something as soon as I have the time :-D Anyone has a suggestion on something lenghty and memory intensive for us to try? On Wed, Aug 4, 2010 at 3:04 PM, Phil Davis wrote: > You already give back a lot to this community, but along with others I > think it would be great if you could create an example like you mentioned. > There's nothing like the real thing! > > Phil > > > > On 8/4/10 10:56 AM, Andre Garzia wrote: > >> Thanks Phil! >> >> :-D >> >> On Wed, Aug 4, 2010 at 2:51 PM, Phil Davis wrote: >> >> >> >>> Excellent piece, Andre! 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 >>> >>> >>> >> >> >> >> > > -- > 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 > -- http://www.andregarzia.com All We Do Is Code. From massung at gmail.com Wed Aug 4 14:29:55 2010 From: massung at gmail.com (Jeff Massung) Date: Wed, 4 Aug 2010 13:29:55 -0500 Subject: [revServer] process timeout issue In-Reply-To: <140039.87679.qm@web56708.mail.re3.yahoo.com> References: <4C59A898.5090403@hyperactivesw.com> <140039.87679.qm@web56708.mail.re3.yahoo.com> Message-ID: On Wed, Aug 4, 2010 at 1:04 PM, Michael Kann wrote: > Jacqueline, > > One weird aspect to the situation is that the on-rev server is physically > in Texas (Houston) and the two people reporting problems (Jerry and Jeff) > are also in Texas (Austin). > > Agreed. I also found that extremely odd. I can promise that I'm not making up a problem. I have no vested interest in hurting On-Rev, advocating its use or non-use, and if the servers work well for everyone else using them, I'm not only happy for RR, but also for the customers using it. For my particular application/use, it didn't work as advertised. I had users continually unable to use the application as it was intended to be used, I needed to move forward, and RR was unable (I'd hate to think unwilling, but I don't know) to help me. To possibly help Andre and others diagnose the issue, I had an application running as a web server using a REST-base API (basically using GET, POST, DELETE, etc. to interact with a database on the server, think something similar to couchdb). These commands were timing out regularly and without warning with very few people hitting my site. They are also commands that are sent regularly to the server (every 5 seconds or so), so something timing out is a big problem. However, if you were to go to the webpage, it would load (eventually) since browser timeouts are much longer and typically more accepted by users; they assume the problem is their CPU or internet connection and not the site. Two of the reasons for my switch (there were others), were: 1) I personally had zero control over the server. If it needed rebooted or similar, I needed to get in touch with RR and ask them to do it. I was being reliant on someone else to handle my customer's problems. That was something I couldn't live with. It's completely subjective. 2) I was having problems with only 8 customers, and - if lucky - I was planning on growing this service to be considerably larger. If I had no faith at 10, why would I have any faith at 1,000 or 10,000? It was just a risk I was unwilling to take. Jeff M. From scott at tactilemedia.com Wed Aug 4 15:03:43 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 04 Aug 2010 12:03:43 -0700 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: Message-ID: Recently, Andre Garzia wrote: > I will craft something as soon as I have the time :-D > > Anyone has a suggestion on something lenghty and memory intensive for us to > try? Image processing? Regards, Scott Rossi Creative Director Tactile Media, UX Design From wdurden at gmail.com Wed Aug 4 15:09:13 2010 From: wdurden at gmail.com (wayne durden) Date: Wed, 4 Aug 2010 15:09:13 -0400 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: <4C59A8BA.4090404@pdslabs.net> <4C59ABC8.8040708@pdslabs.net> Message-ID: Graphic manipulations perhaps multiple iterations over the same image changing pixel values has proven to eat lots of time in my experience with rev in the past. On Wed, Aug 4, 2010 at 2:15 PM, Andre Garzia wrote: > I will craft something as soon as I have the time :-D > > Anyone has a suggestion on something lenghty and memory intensive for us to > try? > > On Wed, Aug 4, 2010 at 3:04 PM, Phil Davis wrote: > > > You already give back a lot to this community, but along with others I > > think it would be great if you could create an example like you > mentioned. > > There's nothing like the real thing! > > > > Phil > > > > > > > > On 8/4/10 10:56 AM, Andre Garzia wrote: > > > >> Thanks Phil! > >> > >> :-D > >> > >> On Wed, Aug 4, 2010 at 2:51 PM, Phil Davis wrote: > >> > >> > >> > >>> Excellent piece, Andre! 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 > >>> > >>> > >>> > >> > >> > >> > >> > > > > -- > > 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 > > > > > > -- > 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 ambassador at fourthworld.com Wed Aug 4 15:28:44 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 04 Aug 2010 12:28:44 -0700 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows Message-ID: <4C59BF6C.5010307@fourthworld.com> wayne durden wrote: > This is all very interesting to me because I am interested in moving a > desktop app that processes datafiles up to 100,000 lines which can mean for > each line comparing against the remainder (in reality sorts cust this down a > great deal), but this can run for minutes on a desktop app and I have got to > cut it down into asynchronous processing as per your article... I don't know the specifics of your data or your needs, but lately I've been experimenting with a variety of different ways to store data, and I've found that for many tasks using column-based storage over row-based storage can speed up searches and comparisons by orders of magnitude. This is where the old acronyms OLAP and OLTP come in, with the "A" being "access" (analytics, data mining; mostly read operations) and "T" being "transaction" (posting as well as reading). That's an oversimplification, but spending some time following those links out in Wikipedia from those can lead to all sorts of different ways to store and index data for task-specific needs which can radically reduce CPU and RAM consumption. For example, if you had a data set in which you had 300,000 address records stored in eight fields, you could store them in eight files in which each stores only the values for a given column. Finding addresses in zip code would then no longer need to traverse the whole data set and parse each line, but merely pick up the one file for zip codes and "repeat for each" with those. Any columns you're not interested in for a given search are left on disk and take up zero RAM. Then there are other things one can add in, like cardinal indexing of column values for one-step searches across data sets of any size. Quick example using the zip code exercise again: You write an indexer that runs through the data set and produces a stack file in which each of the custom property keys of the stack is a zip code, and the value of each property is a list of the ID numbers of all the records that have that zip code. With that index you can now search in one step: get the uZipCodes["90031"] of stack "ZipIndex.rev" ...and you have an instant list of the ID of every record with that zip code. How to get the data once you've found those IDs? There are an infinite number of ways to store data, but if you used even just simple tab-delimited files you'd be surprised how quickly you can get to what you want using the seek command if you write an index first. Such a master index could also be a simple list of properties in a stack (by far the most efficient way to load persistent arrays in Rev, much faster than arrayDecode), in which each element key is the ID number of the record and each value is just two lines: the byte offset to the start of the record, and the length of the record. With that relatively small index you can get any record anywhere in even a giant file in four lines: open file tMyDataFile for read seek to tRecordStart in file tMyDataFile read from file tMyDataFile for tRecordLength close file tMyDataFile On my slow Mac here I can use that to pull a record out of a 500 MB file containing 300,000 records in about 50 MICROseconds. Since an index for a file like that will take only a few MBs it can be loaded in no time, and the seek command doesn't load the whole data file into RAM so the only memory consumption for getting the record is just the record itself + the index + the engine's normal overhead. Combined with the cardinal indexing described above and you can slice and dice data any number of ways really quickly. Of course this is only suited for OLAP-style tasks, dependent on the data not changing frequently so it can be worthwhile indexing it without the indexing adding more overhead than it's worth. FWIW, on my slow Mac I can write the master index and two or three columnar cardinal indices in well under a minutes. For all sorts of task in which data is read far more frequently than written, you can use methods like this to get ultra-fast results with minimal resource consumption. If the data on the server is not modified there but merely used as a data repository for your searches, you could do the indexing tasks on your desktop and just upload the index stacks to your server along with a copy of the file. The server load will always be minimal, and you can do some relatively massive tasks well under even most shared hosting limits. Of course you could also use MySQL, CouchDB, or any number of other off-the-shelf solutions for much of this, but for some tasks you may find you can write an indexer and retriever faster in Rev than you could dig up the syntax to do it in another language. :) WARNING: Once you start exploring indexing techniques you may become addicted; you will find yourself daydreaming about new methods at odd hours of the day, and time formerly spent with the family will suddenly become spent on the web learning even better methods. You may find yourself thinking about ways to use Rev's union and intersect commands on results from index searches to implement even complex AND and OR queries in one step. Turning data inside out can cause your mind to cave in on itself, and worse you make like it. You have been warned. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From andre at andregarzia.com Wed Aug 4 15:32:13 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Aug 2010 16:32:13 -0300 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: Message-ID: On Wed, Aug 4, 2010 at 4:03 PM, Scott Rossi wrote: > Recently, Andre Garzia wrote: > > > I will craft something as soon as I have the time :-D > > > > Anyone has a suggestion on something lenghty and memory intensive for us > to > > try? > > Image processing? > Scott, Good idea, we'll try to craft something later. :D > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX 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 > -- http://www.andregarzia.com All We Do Is Code. From janschenkel at yahoo.com Wed Aug 4 15:59:51 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 4 Aug 2010 12:59:51 -0700 (PDT) Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: Message-ID: <555626.65785.qm@web65402.mail.ac4.yahoo.com> Excellent article, Andre - perhaps you should expand it with a stern warning for people who want to access their remote database directly, rather than going througha cgi? That's also one of those coming-from-the-desktop practices that need to be taken care of once and for all, IMO :-) 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) --- On Wed, 8/4/10, Andre Garzia wrote: > Hello Folks, > > Spreading the load or why wise developers use asynchronous > workflows > > [snip] > > move to: http://andregarzia.com/async.irev > From bobs at twft.com Wed Aug 4 16:10:17 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 4 Aug 2010 13:10:17 -0700 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: <555626.65785.qm@web65402.mail.ac4.yahoo.com> References: <555626.65785.qm@web65402.mail.ac4.yahoo.com> Message-ID: <9E263C41-D8DA-46D1-89A3-FEB7733AB1F7@twft.com> Hi Jan. Is accessing your database directly from a remote location taboo? I'm developing an app that does exactly that! Bob On Aug 4, 2010, at 12:59 PM, Jan Schenkel wrote: > Excellent article, Andre - perhaps you should expand it with a stern warning for people who want to access their remote database directly, rather than going througha cgi? That's also one of those coming-from-the-desktop practices that need to be taken care of once and for all, IMO :-) > > Jan Schenkel. From massung at gmail.com Wed Aug 4 16:20:57 2010 From: massung at gmail.com (Jeff Massung) Date: Wed, 4 Aug 2010 15:20:57 -0500 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: <9E263C41-D8DA-46D1-89A3-FEB7733AB1F7@twft.com> References: <555626.65785.qm@web65402.mail.ac4.yahoo.com> <9E263C41-D8DA-46D1-89A3-FEB7733AB1F7@twft.com> Message-ID: Never, ever, ever do this. ;-) It's basically asking for someone to hack - and nuke - your database out from under you. You never want to connect to it remotely, and you never want to send SQL commands to it directly. Use an intermediate layer. For example, have a server process that accepts incoming connections and [indirect] commands that will end up modifying the database. But that process is capable of doing a lot of security checks: - Logins + permissions - DOS attack checks - Ensure validity of actions - Much more... The 3rd one there is probably most important. Instead of having a remote app send direct SQL commands to a remotely hosted database, you create action commands that end up performing the correct SQL under-the-hood. This has *many* advantages: - Clients have no direct access to the database (which may hold the data for many clients) - You can change your data schema without a client ever knowing, and no application updates are required. - The data storage method is hidden from potential hackers. - Much more... Jeff M. On Wed, Aug 4, 2010 at 3:10 PM, Bob Sneidar wrote: > Hi Jan. > > Is accessing your database directly from a remote location taboo? I'm > developing an app that does exactly that! > > Bob > > > From andre at andregarzia.com Wed Aug 4 16:26:18 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Aug 2010 17:26:18 -0300 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: <555626.65785.qm@web65402.mail.ac4.yahoo.com> <9E263C41-D8DA-46D1-89A3-FEB7733AB1F7@twft.com> Message-ID: Jan, Will write a piece on this shortly, this is a big no no no! my lib RevSpark was created to serve exactly that situation where you need to be able to create simple CGIs that do not require complex views and stuff. I created it specifically to serve as an easy way to built RESTful services for database interaction. http://hg.andregarzia.com/revspark :D On Wed, Aug 4, 2010 at 5:20 PM, Jeff Massung wrote: > Never, ever, ever do this. ;-) > > It's basically asking for someone to hack - and nuke - your database out > from under you. You never want to connect to it remotely, and you never > want > to send SQL commands to it directly. Use an intermediate layer. > > For example, have a server process that accepts incoming connections and > [indirect] commands that will end up modifying the database. But that > process is capable of doing a lot of security checks: > > - Logins + permissions > - DOS attack checks > - Ensure validity of actions > - Much more... > > The 3rd one there is probably most important. Instead of having a remote > app > send direct SQL commands to a remotely hosted database, you create action > commands that end up performing the correct SQL under-the-hood. > > This has *many* advantages: > > - Clients have no direct access to the database (which may hold the data > for > many clients) > - You can change your data schema without a client ever knowing, and no > application updates are required. > - The data storage method is hidden from potential hackers. > - Much more... > > Jeff M. > > On Wed, Aug 4, 2010 at 3:10 PM, Bob Sneidar wrote: > > > Hi Jan. > > > > Is accessing your database directly from a remote location taboo? I'm > > developing an app that does exactly that! > > > > Bob > > > > > > > _______________________________________________ > 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 chipp at chipp.com Wed Aug 4 17:23:25 2010 From: chipp at chipp.com (Chipp Walters) Date: Wed, 4 Aug 2010 16:23:25 -0500 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: Message-ID: Brilliant example, Bob! Thanks so much for sharing. On Wednesday, August 4, 2010, Bob Sneidar wrote: > Okay, so let's say I'm a script kiddie with a bug up my butt about your web server. I decide I am going to take it down. Now I'm smart enough to know that servers are multi-threaded, meaning they can host lots of connections and process threads to manage simultaneous connections. But what I am banking on is that your server does not have any limits on how long a process can stay From andre at andregarzia.com Wed Aug 4 17:27:19 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Aug 2010 18:27:19 -0300 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: Message-ID: Folks, Let me tell you that I once did something like that by accident on my own test server. I had a recursive process that started spawning itself and would not quit... in the end I had to reboot the damn vps. Thats why those limits are important :-/ On Wed, Aug 4, 2010 at 6:23 PM, Chipp Walters wrote: > Brilliant example, Bob! Thanks so much for sharing. > > On Wednesday, August 4, 2010, Bob Sneidar wrote: > > Okay, so let's say I'm a script kiddie with a bug up my butt about your > web server. I decide I am going to take it down. Now I'm smart enough to > know that servers are multi-threaded, meaning they can host lots of > connections and process threads to manage simultaneous connections. But what > I am banking on is that your server does not have any limits on how long a > process can stay > _______________________________________________ > 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 psahores at free.fr Wed Aug 4 17:29:41 2010 From: psahores at free.fr (Pierre Sahores) Date: Wed, 4 Aug 2010 23:29:41 +0200 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: <555626.65785.qm@web65402.mail.ac4.yahoo.com> <9E263C41-D8DA-46D1-89A3-FEB7733AB1F7@twft.com> Message-ID: <21E5DBEC-429F-4960-9130-C9D73BEB20A0@free.fr> Please, follow the Andre's and Jeff's explainations as closely as possibe. It's realy important, if you don't want to get your dbs and, secondly, your accounts hacked in just some attempts. Best, Pierre RIA or Web served n-tier apps don't never need to provide a public access to SQL back-end. In setting the SQL servers to allow localhost or LAN access only via application's servers or cgis, we are sure to get the best from our SQL db without having to care about unneeded security glichies. Le 4 ao?t 2010 ? 22:26, Andre Garzia a ?crit : > Jan, > > Will write a piece on this shortly, this is a big no no no! > > my lib RevSpark was created to serve exactly that situation where you need > to be able to create simple CGIs that do not require complex views and > stuff. I created it specifically to serve as an easy way to built RESTful > services for database interaction. > > http://hg.andregarzia.com/revspark > > :D > > On Wed, Aug 4, 2010 at 5:20 PM, Jeff Massung wrote: > >> Never, ever, ever do this. ;-) >> >> It's basically asking for someone to hack - and nuke - your database out >> from under you. You never want to connect to it remotely, and you never >> want >> to send SQL commands to it directly. Use an intermediate layer. >> >> For example, have a server process that accepts incoming connections and >> [indirect] commands that will end up modifying the database. But that >> process is capable of doing a lot of security checks: >> >> - Logins + permissions >> - DOS attack checks >> - Ensure validity of actions >> - Much more... >> >> The 3rd one there is probably most important. Instead of having a remote >> app >> send direct SQL commands to a remotely hosted database, you create action >> commands that end up performing the correct SQL under-the-hood. >> >> This has *many* advantages: >> >> - Clients have no direct access to the database (which may hold the data >> for >> many clients) >> - You can change your data schema without a client ever knowing, and no >> application updates are required. >> - The data storage method is hidden from potential hackers. >> - Much more... >> >> Jeff M. >> >> On Wed, Aug 4, 2010 at 3:10 PM, Bob Sneidar wrote: >> >>> Hi Jan. >>> >>> Is accessing your database directly from a remote location taboo? I'm >>> developing an app that does exactly that! >>> >>> Bob >>> >>> >>> >> _______________________________________________ >> 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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From devin_asay at byu.edu Wed Aug 4 17:47:44 2010 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 4 Aug 2010 15:47:44 -0600 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: <555626.65785.qm@web65402.mail.ac4.yahoo.com> <9E263C41-D8DA-46D1-89A3-FEB7733AB1F7@twft.com> Message-ID: <6594BEDF-EC80-46B0-9B83-95D3089E58CA@byu.edu> Jan, Jeff, Andre, So is it okay to have irev scripts that are on the same server as the DB make the requests? Or are you just saying you should only submit DB queries from localhost? (In MySQL terms, the difference between 'localhost' access and '%' access, for example.) Of course, when doing DB access from Rev standalone apps, the only way it can be done is if the DB allows non-local access, through some port. If I understand you correctly, you're saying it is a Bad Idea to have an irev or php script query a DB from another server. Just trying to make sure I understand the context. I'm a desktop guy who is doing more and more with revServer and the web environment, and I'd like to avoid having my server nuked. Regards, Devin On Aug 4, 2010, at 2:26 PM, Andre Garzia wrote: > Jan, > > Will write a piece on this shortly, this is a big no no no! > > my lib RevSpark was created to serve exactly that situation where you need > to be able to create simple CGIs that do not require complex views and > stuff. I created it specifically to serve as an easy way to built RESTful > services for database interaction. > > http://hg.andregarzia.com/revspark > > :D > > On Wed, Aug 4, 2010 at 5:20 PM, Jeff Massung wrote: > >> Never, ever, ever do this. ;-) >> >> It's basically asking for someone to hack - and nuke - your database out >> from under you. You never want to connect to it remotely, and you never >> want >> to send SQL commands to it directly. Use an intermediate layer. >> >> For example, have a server process that accepts incoming connections and >> [indirect] commands that will end up modifying the database. But that >> process is capable of doing a lot of security checks: >> >> - Logins + permissions >> - DOS attack checks >> - Ensure validity of actions >> - Much more... >> >> The 3rd one there is probably most important. Instead of having a remote >> app >> send direct SQL commands to a remotely hosted database, you create action >> commands that end up performing the correct SQL under-the-hood. >> >> This has *many* advantages: >> >> - Clients have no direct access to the database (which may hold the data >> for >> many clients) >> - You can change your data schema without a client ever knowing, and no >> application updates are required. >> - The data storage method is hidden from potential hackers. >> - Much more... >> >> Jeff M. >> >> On Wed, Aug 4, 2010 at 3:10 PM, Bob Sneidar wrote: >> >>> Hi Jan. >>> >>> Is accessing your database directly from a remote location taboo? I'm >>> developing an app that does exactly that! >>> >>> Bob >>> >>> >>> >> _______________________________________________ >> 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 Devin Asay Humanities Technology and Research Support Center Brigham Young University From andre at andregarzia.com Wed Aug 4 17:53:53 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Aug 2010 18:53:53 -0300 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: <6594BEDF-EC80-46B0-9B83-95D3089E58CA@byu.edu> References: <555626.65785.qm@web65402.mail.ac4.yahoo.com> <9E263C41-D8DA-46D1-89A3-FEB7733AB1F7@twft.com> <6594BEDF-EC80-46B0-9B83-95D3089E58CA@byu.edu> Message-ID: Devin, Database communications such as SQL queries and logins should never cross networks. If the database server is running at a given host, then use a cgi at the same host as middleware to talk to it. :D On Wed, Aug 4, 2010 at 6:47 PM, Devin Asay wrote: > Jan, Jeff, Andre, > > So is it okay to have irev scripts that are on the same server as the DB > make the requests? Or are you just saying you should only submit DB queries > from localhost? (In MySQL terms, the difference between 'localhost' access > and '%' access, for example.) > > Of course, when doing DB access from Rev standalone apps, the only way it > can be done is if the DB allows non-local access, through some port. If I > understand you correctly, you're saying it is a Bad Idea to have an irev or > php script query a DB from another server. > > Just trying to make sure I understand the context. I'm a desktop guy who is > doing more and more with revServer and the web environment, and I'd like to > avoid having my server nuked. > > Regards, > > Devin > > > > On Aug 4, 2010, at 2:26 PM, Andre Garzia wrote: > > > Jan, > > > > Will write a piece on this shortly, this is a big no no no! > > > > my lib RevSpark was created to serve exactly that situation where you > need > > to be able to create simple CGIs that do not require complex views and > > stuff. I created it specifically to serve as an easy way to built RESTful > > services for database interaction. > > > > http://hg.andregarzia.com/revspark > > > > :D > > > > On Wed, Aug 4, 2010 at 5:20 PM, Jeff Massung wrote: > > > >> Never, ever, ever do this. ;-) > >> > >> It's basically asking for someone to hack - and nuke - your database out > >> from under you. You never want to connect to it remotely, and you never > >> want > >> to send SQL commands to it directly. Use an intermediate layer. > >> > >> For example, have a server process that accepts incoming connections and > >> [indirect] commands that will end up modifying the database. But that > >> process is capable of doing a lot of security checks: > >> > >> - Logins + permissions > >> - DOS attack checks > >> - Ensure validity of actions > >> - Much more... > >> > >> The 3rd one there is probably most important. Instead of having a remote > >> app > >> send direct SQL commands to a remotely hosted database, you create > action > >> commands that end up performing the correct SQL under-the-hood. > >> > >> This has *many* advantages: > >> > >> - Clients have no direct access to the database (which may hold the data > >> for > >> many clients) > >> - You can change your data schema without a client ever knowing, and no > >> application updates are required. > >> - The data storage method is hidden from potential hackers. > >> - Much more... > >> > >> Jeff M. > >> > >> On Wed, Aug 4, 2010 at 3:10 PM, Bob Sneidar wrote: > >> > >>> Hi Jan. > >>> > >>> Is accessing your database directly from a remote location taboo? I'm > >>> developing an app that does exactly that! > >>> > >>> Bob > >>> > >>> > >>> > >> _______________________________________________ > >> 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 > > 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 > -- http://www.andregarzia.com All We Do Is Code. From massung at gmail.com Wed Aug 4 18:07:52 2010 From: massung at gmail.com (Jeff Massung) Date: Wed, 4 Aug 2010 17:07:52 -0500 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: <6594BEDF-EC80-46B0-9B83-95D3089E58CA@byu.edu> References: <555626.65785.qm@web65402.mail.ac4.yahoo.com> <9E263C41-D8DA-46D1-89A3-FEB7733AB1F7@twft.com> <6594BEDF-EC80-46B0-9B83-95D3089E58CA@byu.edu> Message-ID: This is a typical, safe setup: 1. Client web browser clicks a button on a web page. 2. Web server sends a command to a CGI script (running on the server). 3. CGI script makes a connection to the database and runs a SQL function. 4. The SQL function executes a transaction on the database. #1 is executed at some random, remote, external machine. #2 is the only socket action that actually takes place. #3 is run through the localhost loopback device to gain DB access. #4 is entirely done within the database server code. Something you can usually do as a quick test is to set your database up so that it only accepts connections from the localhost. Then run through all your tests. If any of them fail, that's a point where you are trying to access the database remotely and need to fix it. HTH, Jeff M. From mwieder at ahsoftware.net Wed Aug 4 18:19:31 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 4 Aug 2010 15:19:31 -0700 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: <555626.65785.qm@web65402.mail.ac4.yahoo.com> <9E263C41-D8DA-46D1-89A3-FEB7733AB1F7@twft.com> <6594BEDF-EC80-46B0-9B83-95D3089E58CA@byu.edu> Message-ID: <199105268031.20100804151931@ahsoftware.net> Jeff- Wednesday, August 4, 2010, 3:07:52 PM, you wrote: > Something you can usually do as a quick test is to set your database up so > that it only accepts connections from the localhost. Then run through all > your tests. If any of them fail, that's a point where you are trying to > access the database remotely and need to fix it. If memory serves here, I believe both MySQL and postgresql are locked down to localhost only by default. You have to go out of your way to do things in a non-secure manner. -- -Mark Wieder mwieder at ahsoftware.net From devin_asay at byu.edu Wed Aug 4 18:46:39 2010 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 4 Aug 2010 16:46:39 -0600 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: <555626.65785.qm@web65402.mail.ac4.yahoo.com> <9E263C41-D8DA-46D1-89A3-FEB7733AB1F7@twft.com> <6594BEDF-EC80-46B0-9B83-95D3089E58CA@byu.edu> Message-ID: <8229E1A4-EA58-41DD-AAB2-C60D71B76BBB@byu.edu> Thanks for the reply, Andre. While I've been doing simple HTML and web stuff for years, I'm still relatively new to the world of server-side apps and server scripting. On Aug 4, 2010, at 3:53 PM, Andre Garzia wrote: > Database communications such as SQL queries and logins should never cross > networks. If the database server is running at a given host, then use a cgi > at the same host as middleware to talk to it. So SQL queries to DB servers, such as you can easily do from Rev stacks are inherently insecure? I've been doing this for years, so why am I even still alive!? ;-) Don't get me wrong; I have no reason to doubt your judgment. I'm just surprised I've never heard this before. (Or maybe never paid attention.) The ability to access online DBs is touted as a major feature of the Rev desktop product, and I make heavy use of it. What is the core issue--that when you send DB queries across network boundaries you're sending clear text? Does that mean if I use encryption or SSL in conjunction with DB calls I'm okay? Sorry to belabor the question. I just want to make sure I understand so I can limit my exposure to risk. I know how to do DB calls from irev scripts on localhost, so I can easily avoid a potential security hole. Thanks, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From tsj at unimelb.edu.au Wed Aug 4 18:50:38 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Thu, 05 Aug 2010 08:50:38 +1000 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: <6594BEDF-EC80-46B0-9B83-95D3089E58CA@byu.edu> Message-ID: So, just to be clear, are you guys saying that even in a desktop app it's not safe to use revDB calls to a networked mySQL server and that all database calls should be done via PHP (or whatever)? Regards, Terry... On 5/08/10 7:47 AM, "Devin Asay" wrote: > Jan, Jeff, Andre, > > So is it okay to have irev scripts that are on the same server as the DB make > the requests? Or are you just saying you should only submit DB queries from > localhost? (In MySQL terms, the difference between 'localhost' access and '%' > access, for example.) > > Of course, when doing DB access from Rev standalone apps, the only way it can > be done is if the DB allows non-local access, through some port. If I > understand you correctly, you're saying it is a Bad Idea to have an irev or > php script query a DB from another server. > > Just trying to make sure I understand the context. I'm a desktop guy who is > doing more and more with revServer and the web environment, and I'd like to > avoid having my server nuked. > > Regards, > > Devin > > > > On Aug 4, 2010, at 2:26 PM, Andre Garzia wrote: > >> Jan, >> >> Will write a piece on this shortly, this is a big no no no! >> >> my lib RevSpark was created to serve exactly that situation where you need >> to be able to create simple CGIs that do not require complex views and >> stuff. I created it specifically to serve as an easy way to built RESTful >> services for database interaction. >> >> http://hg.andregarzia.com/revspark >> >> :D >> >> On Wed, Aug 4, 2010 at 5:20 PM, Jeff Massung wrote: >> >>> Never, ever, ever do this. ;-) >>> >>> It's basically asking for someone to hack - and nuke - your database out >>> from under you. You never want to connect to it remotely, and you never >>> want >>> to send SQL commands to it directly. Use an intermediate layer. >>> >>> For example, have a server process that accepts incoming connections and >>> [indirect] commands that will end up modifying the database. But that >>> process is capable of doing a lot of security checks: >>> >>> - Logins + permissions >>> - DOS attack checks >>> - Ensure validity of actions >>> - Much more... >>> >>> The 3rd one there is probably most important. Instead of having a remote >>> app >>> send direct SQL commands to a remotely hosted database, you create action >>> commands that end up performing the correct SQL under-the-hood. >>> >>> This has *many* advantages: >>> >>> - Clients have no direct access to the database (which may hold the data >>> for >>> many clients) >>> - You can change your data schema without a client ever knowing, and no >>> application updates are required. >>> - The data storage method is hidden from potential hackers. >>> - Much more... >>> >>> Jeff M. >>> >>> On Wed, Aug 4, 2010 at 3:10 PM, Bob Sneidar wrote: >>> >>>> Hi Jan. >>>> >>>> Is accessing your database directly from a remote location taboo? I'm >>>> developing an app that does exactly that! >>>> >>>> Bob >>>> >>>> >>>> >>> _______________________________________________ >>> 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 > > 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 -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From devin_asay at byu.edu Wed Aug 4 18:53:04 2010 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 4 Aug 2010 16:53:04 -0600 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: <555626.65785.qm@web65402.mail.ac4.yahoo.com> <9E263C41-D8DA-46D1-89A3-FEB7733AB1F7@twft.com> <6594BEDF-EC80-46B0-9B83-95D3089E58CA@byu.edu> Message-ID: <21697347-FBF8-4B45-B8E6-127A5C47F003@byu.edu> On Aug 4, 2010, at 4:07 PM, Jeff Massung wrote: > This is a typical, safe setup: > > 1. Client web browser clicks a button on a web page. > 2. Web server sends a command to a CGI script (running on the server). > 3. CGI script makes a connection to the database and runs a SQL function. > 4. The SQL function executes a transaction on the database. > > #1 is executed at some random, remote, external machine. > #2 is the only socket action that actually takes place. > #3 is run through the localhost loopback device to gain DB access. > #4 is entirely done within the database server code. > > Something you can usually do as a quick test is to set your database up so > that it only accepts connections from the localhost. Then run through all > your tests. If any of them fail, that's a point where you are trying to > access the database remotely and need to fix it. Thanks, Jeff! This is a really useful outline that I can easily adapt to my work. I assume you'd want to follow this procedure even if you are making the db requests directly from a stack? So send a get or post http request to the CGI script from the stack and then process the returned data in the stack? Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From rman at free.fr Wed Aug 4 19:00:52 2010 From: rman at free.fr (Robert Mann) Date: Wed, 4 Aug 2010 16:00:52 -0700 (PDT) Subject: [revServer] process timeout issue In-Reply-To: <4C59A898.5090403@hyperactivesw.com> References: <1280747497634-2310168.post@n4.nabble.com> <330003EA-4E1A-4951-ACEA-171C2CDD76D7@gmail.com> <4C59A898.5090403@hyperactivesw.com> Message-ID: <1280962852787-2314267.post@n4.nabble.com> Many thanks to all for your shared intelligence, [now comes the french police again :] please to all again and again : let's forget Jerry ; he did not start this thread here : I, Robert M. posted this issue public, because I thought it was a true subject of interest for all on-rev and revServer users. I have no regrets to have made that public. The object of such a list is to share issues and possibly solutions. It is in the best interest of all of us and runrev, however challenging it can be for runrev. I'm real sorry for Jerry, because he took the role of the ugly goat :so yeahh : Jerry is not the problem! ok!? The problem is that Jerry, and Jeff and.. and.. have seen "a" problem. And we do not know what it is.. a bit like the monster of the lochness... that's where we are today, still. And the problem over the problem, is that our scotts guardians, who are so intimate with the lochness, leave us in the well known scottish mist... So let's all sing "with a litle help from our friends.. help help help.. !" And keep up with our focused intelligence sharing here... on chasing the on-rev monster !! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/revServer-process-timeout-issue-tp2310168p2314267.html Sent from the Revolution - User mailing list archive at Nabble.com. From massung at gmail.com Wed Aug 4 19:03:39 2010 From: massung at gmail.com (Jeff Massung) Date: Wed, 4 Aug 2010 18:03:39 -0500 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: <21697347-FBF8-4B45-B8E6-127A5C47F003@byu.edu> References: <555626.65785.qm@web65402.mail.ac4.yahoo.com> <9E263C41-D8DA-46D1-89A3-FEB7733AB1F7@twft.com> <6594BEDF-EC80-46B0-9B83-95D3089E58CA@byu.edu> <21697347-FBF8-4B45-B8E6-127A5C47F003@byu.edu> Message-ID: On Wed, Aug 4, 2010 at 5:53 PM, Devin Asay wrote: > > Thanks, Jeff! This is a really useful outline that I can easily adapt to my > work. I assume you'd want to follow this procedure even if you are making > the db requests directly from a stack? So send a get or post http request to > the CGI script from the stack and then process the returned data in the > stack? > > Exactly. Then you get to begin worrying about network traffic security (read: SSL). ;-) Jeff M. From kevin at runrev.com Wed Aug 4 19:03:41 2010 From: kevin at runrev.com (Kevin Miller) Date: Thu, 05 Aug 2010 00:03:41 +0100 Subject: [revServer] process timeout issue In-Reply-To: Message-ID: On 04/08/2010 02:40, "Jeff Massung" wrote: > I've tried to hold back from chiming in on yet another "passionate" > discussion having to do with Rev. Most everyone here is great, and obviously > there are those here intent on trying to diagnose and fix the problem. > Bravo. Hi Jeff, Thanks for this helpful post. I'm going to take a few minutes out to respond because I think its important. > Yet, I feel the need to say that I had *extremely* similar issues to Jerry > for the few months I used On-Rev. I'm certainly sorry to hear that and we will continue to work with you to try to identify whatever the cause is if that is what you want. Not to take away from your experience or say that we won't continue to look at ways of addressing it, I think its important to throw out a few data points so readers get a more balanced picture of the situation. There are many, many reasons why you might be experiencing problems with a hosting company. Those problems range from possible issues with a technology (e.g. in this instance revServer), to routing problems with our or your ISP, to other users on the server having runaway processes that need to be better capped, and so on. Then there is the coding that you or any customer on a service like ours does and the possibility of there being some bug in that which causes an issue. Like any complex computing problem with millions of variables, the list of possible causes is virtually endless. Because we do not know what Jerry's problem is, we cannot logically state that your problem is the same problem. All that we can state is that we have a small handful of customers, you and he included, who for whatever reason, have had a performance problem. All our customers are important and these issues need to be looked at. But at the same time, I doubt there is a hosting company in existence that doesn't have a percentage of customers who experience a problem at some time. As CEO its my job to know whether or not we have an issue that affects a small number of customers of if it affects lots of you. And I do have that data at my fingertips. In our last customer survey, on-Rev had just over a 90% customer recommendation rate. That's pretty outstanding in this industry. Even more so considering we are behind where we intended to be in rolling out the finished revServer technology. It is my belief that there are several good reasons for that outstanding statistic. We have thousands of sites that are working perfectly. Absolutely spot on, outstanding performance. Why do the perform so well? Because unlike other shared hosting providers, we keep the overall number of users and utilization per server extremely low. Our utilization is less than 20% of another mainstream hosting provider which has often come in for positive commendation on this list. Pretty outstanding value really. Then we have our customer service, which is working extremely well. We're a small company yet we have managed 24/7 cover with virtually no hitches and we almost never have a queue or a long lag time even for non-urgent queries. > During this time, Heather and Co. were very responsive and - I think - > understanding of the problem(s) I was facing, but in the end weren't able > to accommodate me in the way I was hoping they would. And that's 100% okay; > no company can meet every customers' needs. That's certainly fair enough. We tried, it didn't work out, it may not be optimal but it can happen. > It's really great that Rev users love their tool of choice. It's even better > that they want to make it the best it can be. Sometimes I wonder if the Rev > team realizes just how good of a marketing resource they have in their > community. I rarely witness it being coddled, nurtured, loved, and even > taken advantage of (in a good way). If I had such a zealous group behind one > of my products, I'd be here every day trying to grow it. I think its fair to say that we do a better job in direct interaction with customers using our support at runrev.com address than on the mailing lists. I've done a lot of reflecting on the business in the light of recent events and I agree that this deserves to be addressed. We most certainly do appreciate our many loyal customers - we are under absolutely no illusion about that. They are truly a massive, primary motivation for all of us here at RunRev. I would not be here writing this if that wasn't the case. > But, in the end, we're customers. We're not paid advocates - at least I'm > not. If a product I'm paying for isn't working for me, I move on. And - from > what I've read and discussions had - that very much seems to be what Jerry > did with On-Rev. We (and our business ventures) don't have infinite amounts > of time and money in the bank to wait for a product to mature meet our > needs, no matter how badly we want it to. And, likewise, unless the Rev team > is aware that there is a serious risk of losing it's [very loyal] customers, > there's no incentive for them to do better. I appreciate that Jerry wanted to move on, given the type of business he was entering into I think there might be business considerations driving at that. That hunch is supported by his somewhat dismissive response to my post that centered around our *technical* support. For the record, this is the technical test we asked Jerry for when we started to work with him to try to address the issues: About 6 weeks ago, Kevin Miller wrote: > One way to find out if it is something the script is doing is to measure the > execution time of the whole irev script (i.e. use the long seconds at start, > and append to a log file at the end). If, after observing a latency issue, > there are 'spikes' in this measurement it means that the culprit is a > side-effect of the script, rather than the startup time of the script. Its not a hard test to run, and he didn't run it, so logically we can conclude that Jerry had decided to move on for some other (perfectly valid) reason. But just to be clear about how seriously *we* took this issue: we also did some of our own tests to see how we performed relative to PHP. FYI I've also posted the test we ran when investigating this issue in a separate email. So we took the issue seriously and were quite willing to work on it. We haven't reached a conclusion and we didn't get any further information so we weren't able to take it further. There may or may not be a different, specific issue in this instance. If there is I'm sure we'll find it during the normal course of improving revServer as it gets closer to release. But the balance of probability is that there isn't some far reaching, sweeping issue. > From the outside, the Rev team feels like the exact opposite. I see > nearly-zero focus on anything. On-Rev is > 1 years old now and the IDE is > still something I wouldn't have release to any customer - even as an early > alpha. There's no way they use that tool in-house, because any programmer > worth their salt would have screamed out loud and started making it better > within 48 hours of being forced to use it. And, to distract from that > product line, there's also RevMobile, RevServer, RevWeb, RevDesktop, and > whatever the next pre-alpha $400 product is in the pipe. Well, its certainly true that we've had a few months that outwardly might have borne more of a resemblance to wondering in the wilderness than is healthy. We had a very public problem with revMobile and the knock on effect has clearly been significant. I've already posted about that in our blog and in emails to individual customers. I don't usually disclose much information about our internals for competitive reasons (we're a privately held company and its generally prudent to take advantage of that). But I think I'll venture a little more perspective in this instance in the hopes that it is useful. The bad news internally was that we ended up having to lose just over 1/3 of the company as a result of the revMobile debacle. That had a number of predictable knock on effects. We had to move the remaining team members around. We had to alter our development plan. Some of the work we had done was no longer relevant. Some of it had to be done differently to take proper advantage of the new opportunities that presented themselves. I'm sure that this is not the sort of news that anyone in the community wants to hear. But I'm sharing that news so that the community can understand that an event like that naturally placed an unwelcome delay into the middle of projects that we were working on. But equally important I think its important for everyone to understand that this is the extent of the issue, and for me to put it in perspective, and to explain that a lot of good things are coming out of this too. There is nothing like a good crisis to focus the mind, to make you truly step back and look at your business and what you're doing well and what you're not doing well. And in fact I've had more than one crisis, indeed several this year, both personal and professional (its been a year from hell almost like no other I've experienced!). But you can either buckle under that or you can find the positive. And the good news is that soul searching phase is done. We've done a root and branch analysis of everything from top to bottom and reached lots of positive, exciting conclusions. I'm not ready to share all the results today but I can give you a few examples. First case in point: its clear we need to aim to do less and do it better. We need to focus on the core things that we only we can do and work to better harness the wonderful support in this community in other areas. We should be out there, leading and focusing the energy of this community more regularly and more consistently. One practical example of how we're going to do that is that shortly after 4.5 we'll be making the externals (revVideoGrabber, revBrowser, etc) an open source project which we will manage. That's a win for everyone: we can continue to fix bugs and add features, while anyone in the community can do the same. We will also have more time to work on the core engine. There are lots of other examples in the works. We need to get even closer to our customers (I'm here at 11PM doing that). We can see ways to provide better support and make faster progress - through a combination of factors including better focus, new processes; all in all we've figured out a great plan to do that on many levels. And another example: our bug management process isn't working well for our customers, its going to go. So yes, recent events hit us hard and that's had an impact on the community which we wouldn't have wanted. Its been tough and it's certainly not an experience I care to repeat. We all wish for more good than bad in life, but you have to take what comes and deal with both. I know I've done some things well and that there other things I still need to improve at. But we have taken the time we need to regroup, rethink, to do our homework, to rip up the sacred cows and figure out some new ways of being. We have the talent and capability to pull it off and reinvent ourselves. And so there is a new sense of progress and dynamism here in Edinburgh as we put it all into practice. Code is getting churned out at a good pace again upstairs. And on my floor we're busy working on the new web presence that will support much of this. Its not had a chance to ripple out yet into the community yet, its going to take us until we launch 4.5 and even a little beyond to get all this done. I'm not going to fall into the trap of pre-announcing all the details instead of taking the time out to prepare and polish them properly. I hope you can bear with us a little longer and be around to see the results. Before I finish on this subject, I think a little historical context is useful. I've been at the helm of this company for over a decade. Its been a decade with lots of learning. I'm 31 now, I have a very different view of the world than I had when I started. For all the ups and downs, I've presided over the growth of our customer base by several orders of magnitude. I've faced good times and bad times and stuck through them all. We have taken a hit and you've all witnessed a slow down that no-one wanted. We may just have lost a chunk company we didn't want to lose. But in context, we still have a bigger company than we had a couple of years ago. And we're more experienced, have more perspective and are more focused than we've ever been before. There are some great opportunities ahead. Here we are and we have many, many wonderful customers doing awesome things with our technology every day. We will look back in two years time and see this for what it has been: a blip that ultimately made us stronger. > Damn, that was a long-winded way of saying, please cut Jerry some slack. > He's just another paying customer, and if the service provided doesn't live > up to his expectations or needs, he moves on. No one should be upset at > Jerry for any reason at all. If there's anything to be upset about, it would > be asking one's self, "why on Earth wouldn't Rev do *everything* in their > power to make such a long-standing customer incredibly happy so he could > keep advocating Rev and even be able to claim that Rodeo runs on Rev > servers?" I like Jerry, I like Rodeo and I'll continue to point people to his product if that seems to be a suitable fit for projects that need to deliver in that specific way to that specific domain. And its true that perhaps the recent business issues on our end have had some sort of impact. But I do need to set the record straight here: we were more than willing to work hard to make it work technically for Jerry. And beyond our professional interest in him as a customer, it was partly my strong relationship with him and thus genuine personal interest in seeing him succeed that persuaded me to allow him to use this list as free marketing for his project. I can remember what it was like starting out and I can see his obvious enthusiasm as he gets going. I've enjoyed watching that and its been one (of several recent) inspirations as I look forward to our own refresh that we're cooking up with 4.5. But at the same time I have a business to run, a responsibility to all of you and I cannot allow anyone to take advantage of my personal goodwill at the expense of the Rev platform. I take exception to the fact that rather than focusing on his own numerous strengths or citing business reasons, he decided to take a shot at us, and did that based on a technical, or technical support issue. Given the nature of his product Jerry may well have had legitimate business reasons for moving to PHP. And there may be some specific issue in revServer that need work. But his remarks have left our community scratching their heads to try to identify whether or not there is some fundamental issue with the technology or with on-Rev. I have cited data and experience to explain why I don't believe there is. And I do believe that any specific problems that occur in limited circumstances will be addressed by our outstanding engineering team who are very much back in the game. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ RunRev - Software construction for everyone From kevin at runrev.com Wed Aug 4 19:04:10 2010 From: kevin at runrev.com (Kevin Miller) Date: Thu, 05 Aug 2010 00:04:10 +0100 Subject: [revServer] process timeout issue - basic benchmarking Message-ID: Just a follow up to my previous post with the test Mark Waddingham ran when investigating this issue: > My hypothesis for the reason for the latency is that on a shared server the > churn of memory is very high - caches get overwritten quickly as the working > set is not just that of one use, but of all uses of all users at that time. > Thus, if the irev engine has happened not be used in the very near past, it > and its associated files will not be in a cache. Similar for PHP. > > To test this hypothesis I used: > echo 3 > /proc/sys/vm/drop_caches > This command flushes all inactive in-memory caches the kernel currently holds > (inactive meaning nothing using that entry at that time). > > I then did four sample runs. The first is just 12 fetches form the PHP page, > the second is 12 fetches from the irev path, the third alternating for 12 > fetches starting with php and the fourth 12 fetches alternating starting with > irev: > > -- DROP CACHES > PHP Latency: 1921ms > PHP Latency: 336ms > PHP Latency: 342ms > PHP Latency: 342ms > PHP Latency: 322ms > PHP Latency: 330ms > PHP Latency: 342ms > PHP Latency: 338ms > PHP Latency: 346ms > PHP Latency: 331ms > PHP Latency: 326ms > PHP Latency: 345ms > > -- DROP CACHES > Rev Latency: 1298ms > Rev Latency: 316ms > Rev Latency: 316ms > Rev Latency: 321ms > Rev Latency: 319ms > Rev Latency: 316ms > Rev Latency: 319ms > Rev Latency: 321ms > Rev Latency: 316ms > Rev Latency: 309ms > Rev Latency: 314ms > Rev Latency: 322ms > Rev Latency: 321ms > > -- DROP CACHES > PHP Latency: 1637ms > Rev Latency: 515ms > PHP Latency: 330ms > Rev Latency: 306ms > PHP Latency: 340ms > Rev Latency: 303ms > PHP Latency: 342ms > Rev Latency: 312ms > PHP Latency: 331ms > Rev Latency: 308ms > PHP Latency: 336ms > Rev Latency: 313ms > > -- DROP CACHES > Rev Latency: 1295ms > PHP Latency: 1247ms > Rev Latency: 312ms > PHP Latency: 334ms > Rev Latency: 332ms > PHP Latency: 345ms > Rev Latency: 311ms > PHP Latency: 341ms > Rev Latency: 321ms > PHP Latency: 341ms > Rev Latency: 315ms > PHP Latency: 356ms > > The resulting evidence supports my hypothesis. Immediately after the 'flush > caches' command, the first use of PHP or Rev takes significantly longer. > Indeed, rev (in general) performs a little better than PHP in this regard (and > generally latency wise). This is not all that surprising for such a simple > script - I think PHP's initial working set is larger than rev's (i.e. the > amount of stuff it needs in memory to actually get going) and thus this > startup completely dwarfs the script's execution. > > This isn't in anyway comprehensive, nor really a good way to compare the two > technologies in this regard. Also, these results are entirely down to PHP on > on-rev working the same as revserver - i.e. in a cgi 'suexec' type > environment. I'm sure if the timings were done in a dedicated environment the > latency would vanish for them both. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ RunRev - Software construction for everyone From massung at gmail.com Wed Aug 4 19:22:07 2010 From: massung at gmail.com (Jeff Massung) Date: Wed, 4 Aug 2010 18:22:07 -0500 Subject: [revServer] process timeout issue In-Reply-To: References: Message-ID: Kevin, Thanks for the reply. Honestly, I didn't expect it (but was secretly hoping). I don't really want to comment on much, there was certainly honesty in your tone and words, and I thank you for that. In the end, I *really* want Rev to succeed and grow. You have no idea how excited I was when I heard of the 5.0 features and how disappointed I was when I heard it was being pushed back (reasons understandable). Like I said in my post, I actually enjoy using Rev; it's fun. Look to the future. Don't look backwards for anything other than a little hindsight guidance. Cheers, Jeff M. From gregory.lypny at videotron.ca Wed Aug 4 19:32:59 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 04 Aug 2010 19:32:59 -0400 Subject: Setting Cookies and On-rev In-Reply-To: <20100804084952.513032880A6@mail.runrev.com> References: <20100804084952.513032880A6@mail.runrev.com> Message-ID: Thanks, Andre and Pierre, for sharing your code. Definitely something to study. Regards, Gregory From gregory.lypny at videotron.ca Wed Aug 4 19:55:13 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 04 Aug 2010 19:55:13 -0400 Subject: Keeping On-Rev Scripts and Data From Prying Eyes Message-ID: Hello everyone, I'm tinkering with my first web deployment at On-Rev, and calling scripts using embedded in HTML text objects on web pages. These scripts and various text databases reside in the folder named public_html, which I understand is accessible by everyone. I need users to be able to read selected records from the databases and add records to them, for example, sign-up information or data pertaining to an experiment, but otherwise, I want their access to be restricted to requests made through my web forms. My question is, can users simply type something into the url field of their browser and view an entire text file from the public_html folder? If so, where should I be keeping or handling databases that need restricted read and write access? Likewise for scripts? Regards, Gregory From ambassador at fourthworld.com Wed Aug 4 19:58:23 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 04 Aug 2010 16:58:23 -0700 Subject: [revServer] process timeout issue Message-ID: <4C59FE9F.4060907@fourthworld.com> Kevin Miller wrote: > One practical example of how we're going to do that is > that shortly after 4.5 we'll be making the externals (revVideoGrabber, > revBrowser, etc) an open source project which we will manage. That's > a win for everyone: we can continue to fix bugs and add features, > while anyone in the community can do the same. Pardon my Californiaism, but that so very rocks! RevBrowser for Linux, here we come.... -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From ambassador at fourthworld.com Wed Aug 4 20:06:51 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 04 Aug 2010 17:06:51 -0700 Subject: Keeping On-Rev Scripts and Data From Prying Eyes Message-ID: <4C5A009B.3060507@fourthworld.com> Gregory Lypny wrote: > I'm tinkering with my first web deployment at On-Rev, and calling scripts using > > ... > My question is, can users simply type something into the url field > of their browser and view an entire text file from the public_html > folder? If so, where should I be keeping or handling databases > that need restricted read and write access? Likewise for scripts? Dave Cragg to the rescue: He's long advocated taking anything that isn't for public consumption out of the public_html folder and referencing it in its new location one folder up. So if your directory structure looks like this: root/ public_html/ mypage.irev scriptname.irev ...you could switch it to: root/ public_html/ mypage.irev scriptname.irev ...and in your mypage.irev you'd change the reference to scriptname.irev to: Like Mr. Cragg says, it's the difference between quiche and egg pie. ;) -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From mikekann at yahoo.com Wed Aug 4 20:31:47 2010 From: mikekann at yahoo.com (Michael Kann) Date: Wed, 4 Aug 2010 17:31:47 -0700 (PDT) Subject: Keeping On-Rev Scripts and Data From Prying Eyes In-Reply-To: <4C5A009B.3060507@fourthworld.com> Message-ID: <592857.49300.qm@web56707.mail.re3.yahoo.com> Richard, I didn't see what switched? Mike So if your directory structure looks like this: root/ ???public_html/ ? ? ? mypage.irev ? ? ? scriptname.irev ...you could switch it to: root/ ???public_html/ ? ? ? mypage.irev ???scriptname.irev ...and in your mypage.irev you'd change the reference to scriptname.irev to: Like Mr. Cragg says, it's the difference between quiche and egg pie. ;) -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv _______________________________________________ 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 mikekann at yahoo.com Wed Aug 4 20:38:50 2010 From: mikekann at yahoo.com (Michael Kann) Date: Wed, 4 Aug 2010 17:38:50 -0700 (PDT) Subject: [revServer] process timeout issue - basic benchmarking In-Reply-To: Message-ID: <937268.97542.qm@web56701.mail.re3.yahoo.com> Kevin, Why all this benchmarking? Why not just put Jerry's script on the server, send Jerry's data to the script, and see what happens? If Jerry doesn't want you to see the data or the script then there isn't much you can do, I guess. But the technological solution doesn't seem that difficult. Mike --- On Wed, 8/4/10, Kevin Miller wrote: From: Kevin Miller Subject: Re: [revServer] process timeout issue - basic benchmarking To: "How to use Revolution" Date: Wednesday, August 4, 2010, 6:04 PM Just a follow up to my previous post with the test Mark Waddingham ran when investigating this issue: > My hypothesis for the reason for the latency is that on a shared server the > churn of memory is very high - caches get overwritten quickly as the working > set is not just that of one use, but of all uses of all users at that time. > Thus, if the irev engine has happened not be used in the very near past, it > and its associated files will not be in a cache. Similar for PHP. > > To test this hypothesis I used: > echo 3 > /proc/sys/vm/drop_caches > This command flushes all inactive in-memory caches the kernel currently holds > (inactive meaning nothing using that entry at that time). > > I then did four sample runs. The first is just 12 fetches form the PHP page, > the second is 12 fetches from the irev path, the third alternating for 12 > fetches starting with php and the fourth 12 fetches alternating starting with > irev: > > -- DROP CACHES > PHP Latency: 1921ms > PHP Latency: 336ms > PHP Latency: 342ms > PHP Latency: 342ms > PHP Latency: 322ms > PHP Latency: 330ms > PHP Latency: 342ms > PHP Latency: 338ms > PHP Latency: 346ms > PHP Latency: 331ms > PHP Latency: 326ms > PHP Latency: 345ms > > -- DROP CACHES > Rev Latency: 1298ms > Rev Latency: 316ms > Rev Latency: 316ms > Rev Latency: 321ms > Rev Latency: 319ms > Rev Latency: 316ms > Rev Latency: 319ms > Rev Latency: 321ms > Rev Latency: 316ms > Rev Latency: 309ms > Rev Latency: 314ms > Rev Latency: 322ms > Rev Latency: 321ms > > -- DROP CACHES > PHP Latency: 1637ms > Rev Latency: 515ms > PHP Latency: 330ms > Rev Latency: 306ms > PHP Latency: 340ms > Rev Latency: 303ms > PHP Latency: 342ms > Rev Latency: 312ms > PHP Latency: 331ms > Rev Latency: 308ms > PHP Latency: 336ms > Rev Latency: 313ms > > -- DROP CACHES > Rev Latency: 1295ms > PHP Latency: 1247ms > Rev Latency: 312ms > PHP Latency: 334ms > Rev Latency: 332ms > PHP Latency: 345ms > Rev Latency: 311ms > PHP Latency: 341ms > Rev Latency: 321ms > PHP Latency: 341ms > Rev Latency: 315ms > PHP Latency: 356ms > > The resulting evidence supports my hypothesis. Immediately after the 'flush > caches' command, the first use of PHP or Rev takes significantly longer. > Indeed, rev (in general) performs a little better than PHP in this regard (and > generally latency wise). This is not all that surprising for such a simple > script - I think PHP's initial working set is larger than rev's (i.e. the > amount of stuff it needs in memory to actually get going) and thus this > startup completely dwarfs the script's execution. > > This isn't in anyway comprehensive, nor really a good way to compare the two > technologies in this regard. Also, these results are entirely down to PHP on > on-rev working the same as revserver - i.e. in a cgi 'suexec' type > environment. I'm sure if the timings were done in a dedicated environment the > latency would vanish for them both. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ RunRev - Software construction for everyone _______________________________________________ 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 mikekann at yahoo.com Wed Aug 4 20:39:59 2010 From: mikekann at yahoo.com (Michael Kann) Date: Wed, 4 Aug 2010 17:39:59 -0700 (PDT) Subject: [revServer] process timeout issue - basic benchmarking In-Reply-To: <937268.97542.qm@web56701.mail.re3.yahoo.com> Message-ID: <128409.98787.qm@web56707.mail.re3.yahoo.com> Of course I'm referring to the script that timed out. Kevin, Why all this benchmarking? Why not just put Jerry's script on the server, send Jerry's data to the script, and see what happens? If Jerry doesn't want you to see the data or the script then there isn't much you can do, I guess. But the technological solution doesn't seem that difficult. Mike --- On Wed, 8/4/10, Kevin Miller wrote: From: Kevin Miller Subject: Re: [revServer] process timeout issue - basic benchmarking To: "How to use Revolution" Date: Wednesday, August 4, 2010, 6:04 PM Just a follow up to my previous post with the test Mark Waddingham ran when investigating this issue: > My hypothesis for the reason for the latency is that on a shared server the > churn of memory is very high - caches get overwritten quickly as the working > set is not just that of one use, but of all uses of all users at that time. > Thus, if the irev engine has happened not be used in the very near past, it > and its associated files will not be in a cache. Similar for PHP. > > To test this hypothesis I used: > echo 3 > /proc/sys/vm/drop_caches > This command flushes all inactive in-memory caches the kernel currently holds > (inactive meaning nothing using that entry at that time). > > I then did four sample runs. The first is just 12 fetches form the PHP page, > the second is 12 fetches from the irev path, the third alternating for 12 > fetches starting with php and the fourth 12 fetches alternating starting with > irev: > > -- DROP CACHES > PHP Latency: 1921ms > PHP Latency: 336ms > PHP Latency: 342ms > PHP Latency: 342ms > PHP Latency: 322ms > PHP Latency: 330ms > PHP Latency: 342ms > PHP Latency: 338ms > PHP Latency: 346ms > PHP Latency: 331ms > PHP Latency: 326ms > PHP Latency: 345ms > > -- DROP CACHES > Rev Latency: 1298ms > Rev Latency: 316ms > Rev Latency: 316ms > Rev Latency: 321ms > Rev Latency: 319ms > Rev Latency: 316ms > Rev Latency: 319ms > Rev Latency: 321ms > Rev Latency: 316ms > Rev Latency: 309ms > Rev Latency: 314ms > Rev Latency: 322ms > Rev Latency: 321ms > > -- DROP CACHES > PHP Latency: 1637ms > Rev Latency: 515ms > PHP Latency: 330ms > Rev Latency: 306ms > PHP Latency: 340ms > Rev Latency: 303ms > PHP Latency: 342ms > Rev Latency: 312ms > PHP Latency: 331ms > Rev Latency: 308ms > PHP Latency: 336ms > Rev Latency: 313ms > > -- DROP CACHES > Rev Latency: 1295ms > PHP Latency: 1247ms > Rev Latency: 312ms > PHP Latency: 334ms > Rev Latency: 332ms > PHP Latency: 345ms > Rev Latency: 311ms > PHP Latency: 341ms > Rev Latency: 321ms > PHP Latency: 341ms > Rev Latency: 315ms > PHP Latency: 356ms > > The resulting evidence supports my hypothesis. Immediately after the 'flush > caches' command, the first use of PHP or Rev takes significantly longer. > Indeed, rev (in general) performs a little better than PHP in this regard (and > generally latency wise). This is not all that surprising for such a simple > script - I think PHP's initial working set is larger than rev's (i.e. the > amount of stuff it needs in memory to actually get going) and thus this > startup completely dwarfs the script's execution. > > This isn't in anyway comprehensive, nor really a good way to compare the two > technologies in this regard. Also, these results are entirely down to PHP on > on-rev working the same as revserver - i.e. in a cgi 'suexec' type > environment. I'm sure if the timings were done in a dedicated environment the > latency would vanish for them both. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ RunRev - Software construction for everyone _______________________________________________ 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 sarah.reichelt at gmail.com Wed Aug 4 20:48:06 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 5 Aug 2010 10:48:06 +1000 Subject: Rodeo, revServer etc. Message-ID: Hi All, Kevin has given his point of view over Rodeo and revServer, and then forbidden us to comment, leaving us without the right of reply. Of course it is his list and he is quite at liberty to ban whoever he chooses, and if the matter had ended there, I would have let it slide. Unfortunately, discussion has continued and has expanded to a direct and personal attack on Jerry, which by association is an attack on me. So I have decided, reluctantly, to ignore Kevin's instructions and post my thoughts on the issue. I realise this will lead to my removal from the list, but that is a consequence that I am prepared to accept. Before I go, I would like to say goodbye and thank you to everyone here. I have thoroughly enjoyed most of the interactions on this list and there are many of you here that I regard as real friends, despite never having met you in person. There are too many of you to mention individually, but you know who you are. Now on to revServer: as soon as I heard about revServer, I was incredibly excited. I bought it as soon as it was released and I converted my entire web site to run using irev scripts. RunRev even used my examples page in their promotional mail outs, so I think everyone can see that I am a great supporter. The advertising material announced "Blistering Performance" which unfortunately never eventuated. Even on my modest web pages, often a page would only half-load. I frequently had to tell people just to give it a minute and the data came through in the end. However for my own web site, this was not really a problem. I think nobody will dispute that the On-Rev client is a big disappointment. It's primary feature was the debugging, but as soon as I added a new domain to my site, this stopped working for me. Heather was unable to find out why and nearly a year later, I am still waiting for the engineer to get back to me as promised. However the On-Rev client is a completely separate application and using revServer does not require it. I switched to using other apps to do my editing and file transfers and I debug using log files. CGIs are a different matter. I assume that many people on this list have done what I have done and written CGIs that are called from Rev stacks. These caused problems as the default socket timeout in Revolution is 10 seconds. Many times, this is not enough time to get an answer back from the On-Rev servers, even for a very simple CGI. So for anyone in this situation, it is essential to increase the socketTimeoutInterval before calling an On-Rev CGI. Before I got into more intensive use of the On-Rev servers, other people ran into the server's timeout limits. These were confirmed by Oliver from RunRev on the RunRev forum . Now on to Rodeo: our original planning for Rodeo was based entirely on revServer technology. They seemed like a perfect match. Jerry & Kevin had discussed it and Kevin had agreed that there was nothing in the Rodeo plans that conflicted with anything he and RunRev were planning to do. So we proceeded with his blessing. The first thing we found was that there was an extreme variation in the time taken to complete any given CGI request. Kevin has just posted the results of Mark's tests and they confirm what we suspected and asked Kevin about - that the server effectively needs a wake-up call before it gets going. Other test results posted on the lists have shown similar effects. However it does not seem to be always a wake-up issue. I have one utility that loops through a series of folders doing the same action for each folder. I started off by making this a single CGI and the CGI on the server assembled the folder list and performed all the tasks. Once I had more than a few folders, this stopped working, so I re-wrote the CGI so that I assembled the folder list and then sent a separate CGI call to the server to deal with each of the folders. Watching the progress of this is very interesting: The first call is nearly always slow, then I might get 4 or 5 inside a second, then it will slow down again for the next couple of calls, then speed up again. Chipp has repeatedly called on us to provide recipes for our problems, but this is not really possible. The first problem is the server timeout, which has been stated by RunRev so does not require any recipe. The second problem is the varying response times and as the same CGI will produce widely varying response times, I am unable to provide more of a recipe than that, as already reported to Kevin and confirmed by Mark's tests. Andre's tests have now demonstrated that the timeout issue is in the On-Rev server and not in revServer itself. This is excellent news, and I would still recommend revServer to anyone. But we were unable to get an answer from anyone at RunRev on this subject and did not feel justified spending $300 on an experiment, so for Rodeo, we have chosen a different route. But revServer is a wonderful prototyping tool, even if it is not the final production tool. As part of the Rodeo feature list, we announced a new way people would deploy their Rodeo web apps. This involved calling a CGI that converted their existing development app into a non-editable and public version. So as to be honest with our paying customers, Jerry mentioned that due to the acknowledged timeout issue with the On-Rev server, this might fail with a large app. This comment was taken - by a third-party - to the Rev list where it caused the current flame war. Part of the problem here is that as RunRev customers, we get very little communication from RunRev. We get announcements of great products that are not followed through: revServer is apparently still in alpha after more than a year, Rev 4.5.0-dp-3 was released in March and despite the basic flaw in libURL, has not been updated. I made it work using Trevor's fix (thanks Trevor), which would have taken the RunRev team about 30 seconds to apply, but they have not done so. I realise they were shaken by the revMobile fiasco - we all were. Remember that many of us paid a large sum of money for a product that will no longer do what we bought it for and a conference that has been cancelled. At least RunRev ended up with the money! But Apple can only be blamed for so long. At some stage Kevin and his group have to take responsibility. It is good to read Kevin's plans for better bug reporting, better communication, more products etc., but those of us who have been here for a while have heard all this before. Finally, a comment on this list itself. I know this is a long post, but it is my last one, so I have to get everything in. Some people on this list have a habit of shooting the messenger. Anyone who dares to suggest that there is anything less that perfect about RunRev is shouted down, and most of them just leave instead of being converted. The most noticeable exception to this was Bill Marriott. Bill was an extremely out-spoken member of the list who got very angry at the way bugs were being ignored. He got flamed on the list, but to Kevin's enormous credit, he hired Bill and put his anger and enthusiasm to work for RunRev. This worked extremely well and I am sure we all miss Bill. In fact I wonder how this situation would have been handled had Bill still been around. Since I anticipate my imminent removal from this list, anyone who would like to respond is invited to email me directly: sarah.reichelt at gmail.com So long, and thanks for all the fish! Sarah From mpetrides at earthlink.net Wed Aug 4 21:14:29 2010 From: mpetrides at earthlink.net (Marian Petrides) Date: Wed, 4 Aug 2010 20:14:29 -0500 Subject: Rodeo, revServer etc. In-Reply-To: References: Message-ID: Sent from my iPad On Aug 4, 2010, at 7:48 PM, Sarah Reichelt wrote: From ambassador at fourthworld.com Wed Aug 4 21:15:39 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 04 Aug 2010 18:15:39 -0700 Subject: Keeping On-Rev Scripts and Data From Prying Eyes Message-ID: <4C5A10BB.8080403@fourthworld.com> Michael Kann wrote: > I didn't see what switched? The indenting may not look clear if you're not viewing this with a monospaced font, but the scriptname.irev is outside of the public_html folder in the second example. > So if your directory structure looks like this: > > root/ > public_html/ > mypage.irev > scriptname.irev > > ...you could switch it to: > > root/ > public_html/ > mypage.irev > scriptname.irev > > ...and in your mypage.irev you'd change the reference to scriptname.irev to: > > -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From mpetrides at earthlink.net Wed Aug 4 21:18:14 2010 From: mpetrides at earthlink.net (Marian Petrides) Date: Wed, 4 Aug 2010 20:18:14 -0500 Subject: Rodeo, revServer etc. In-Reply-To: References: Message-ID: <698A4B32-937A-4FAB-992F-DF8F03C07077@earthlink.net> Well, I for one would hate to see you banned from the list, Sarah. I've always found your posts to be extremely helpful, even if they ARE often way, way over my head. Hoping to see you continue on here... Marian Sent from my iPad On Aug 4, 2010, at 7:48 PM, Sarah Reichelt wrote: From mikekann at yahoo.com Wed Aug 4 21:34:26 2010 From: mikekann at yahoo.com (Michael Kann) Date: Wed, 4 Aug 2010 18:34:26 -0700 (PDT) Subject: Keeping On-Rev Scripts and Data From Prying Eyes In-Reply-To: <4C5A10BB.8080403@fourthworld.com> Message-ID: <444392.23346.qm@web56703.mail.re3.yahoo.com> Gotcha. --- On Wed, 8/4/10, Richard Gaskin wrote: From: Richard Gaskin Subject: Re: Keeping On-Rev Scripts and Data From Prying Eyes To: "How to use Revolution" Date: Wednesday, August 4, 2010, 8:15 PM Michael Kann wrote: > I didn't see what switched? The indenting may not look clear if you're not viewing this with a monospaced font, but the scriptname.irev is outside of the public_html folder in the second example. > So if your directory structure looks like this: > > root/ >? ? public_html/ >? ? ???mypage.irev >? ? ???scriptname.irev > > ...you could switch it to: > > root/ >? ? public_html/ >? ? ???mypage.irev >? ? scriptname.irev > > ...and in your mypage.irev you'd change the reference to scriptname.irev to: > > -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv _______________________________________________ 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 Aug 4 21:47:43 2010 From: chipp at chipp.com (Chipp Walters) Date: Wed, 4 Aug 2010 20:47:43 -0500 Subject: Rodeo, revServer etc. In-Reply-To: References: Message-ID: Sarah, It would be so sad to see you go. You have been a well respected and most helpful community member for so long. And, I'm especially sorry to see you go in such a sad way. I understand that you and Jerry have ventured into some new uncharted waters and that architecting server apps while starting a brand new company can be a daunting task for anyone. Heck, Chris and I have helped Jerry create architectures for multiple-tier server applications for a number of his clients in the past, and it's never an easy task. And, truth be known, I don't know any more than either of you when it comes to the hard core details of what's going on at those servers AND that's why I have people like Chris and Andre and Pierre and this list who help steer me clear of some of the potholes you guys evidently stepped into on this project. Still, my understanding is that Jerry is in weekly contact with Kevin via RevSelect, so I suspect communication isn't a HUGE problem, and you all have done a marvelous job at promoting your application here on the use-list, so i'll chalk up the last minute parting cheap shots toward Rev to an overall frustration at this whole situation. I get it you are upset. The fact you can't reproduce your problems may be due to many different issues, as both Andre and Kevin point out. Certainly trying to debug these issues in a shared hosting environment didn't simplify things. But how were you to know? I think Rev should have probably taken a more active role in bug and recipe hunting, especially since there are so many factors and given the limited expertise. But there are ways to test these things and to produce a recipe, and that is all I was saying. Having this discussion here after publicly posting on your blog to your users, most of whom follow this list should be no surprise. We all want to know how real the problem is and why it happens. You have been and are an extremely valuable resource to this community and will be sorely missed if you go. I've enjoyed working with you on projects in the past and have always found you to be the highest in terms of integrity and professionalism. I would encourage you to reconsider leaving. On Wednesday, August 4, 2010, Sarah Reichelt wrote: > Hi All, > > Kevin has given his point of view over Rodeo and revServer, and then > forbidden us to comment, leaving us without the right of reply. Of > course it is his list and he is quite at liberty to ban whoever he > chooses, and if the matter had ended there, I would have let it slide. > Unfortunately, discussion has continued and has expanded to a direct > and personal attack on Jerry, which by association is an attack on me. > So I have decided, reluctantly, to ignore Kevin's instructions and > post my thoughts on the issue. I realise this will lead to my removal > from the list, but that is a consequence that I am prepared to accept. > > Before I go, I would like to say goodbye and thank you to everyone > here. I have thoroughly enjoyed most of the interactions on this list > and there are many of you here that I regard as real friends, despite > never having met you in person. There are too many of you to mention > individually, but you know who you are. > > Now on to revServer: as soon as I heard about revServer, I was > incredibly excited. I bought it as soon as it was released and I > converted my entire web site to run using irev scripts. RunRev even > used my examples page in their promotional mail outs, so I think > everyone can see that I am a great supporter. The advertising material > announced "Blistering Performance" which unfortunately never > eventuated. Even on my modest web pages, often a page would only > half-load. I frequently had to tell people just to give it a minute > and the data came through in the end. However for my own web site, > this was not really a problem. > > I think nobody will dispute that the On-Rev client is a big > disappointment. It's primary feature was the debugging, but as soon as > I added a new domain to my site, this stopped working for me. Heather > was unable to find out why and nearly a year later, I am still waiting > for the engineer to get back to me as promised. However the On-Rev > client is a completely separate application and using revServer does > not require it. I switched to using other apps to do my editing and > file transfers and I debug using log files. > > CGIs are a different matter. I assume that many people on this list > have done what I have done and written CGIs that are called from Rev > stacks. These caused problems as the default socket timeout in > Revolution is 10 seconds. Many times, this is not enough time to get > an answer back from the On-Rev servers, even for a very simple CGI. So > for anyone in this situation, it is essential to increase the > socketTimeoutInterval before calling an On-Rev CGI. > > Before I got into more intensive use of the On-Rev servers, other > people ran into the server's timeout limits. These were confirmed by > Oliver from RunRev on the RunRev forum > . > > Now on to Rodeo: our original planning for Rodeo was based entirely on > revServer technology. They seemed like a perfect match. Jerry & Kevin > had discussed it and Kevin had agreed that there was nothing in the > Rodeo plans that conflicted with anything he and RunRev were planning > to do. So we proceeded with his blessing. The first thing we found was > that there was an extreme variation in the time taken to complete any > given CGI request. Kevin has just posted the results of Mark's tests > and they confirm what we suspected and asked Kevin about - that the > server effectively needs a wake-up call before it gets going. Other > test results posted on the lists have shown similar effects. > > However it does not seem to be always a wake-up issue. I have one > utility that loops through a series of folders doing the same action > for each folder. I started off by making this a single CGI and the CGI > on the server assembled the folder list and performed all the tasks. > Once I had more than a few folders, this stopped working, so I > re-wrote the CGI so that I assembled the folder list and then sent a > separate CGI call to the server to deal with each of the folders. > Watching the progress of this is very interesting: The first call is > nearly always slow, then I might get 4 or 5 inside a second, then it > will slow down again for the next couple of calls, then speed up > again. > > Chipp has repeatedly called on us to provide recipes for our problems, > but this is not really possible. The first problem is the server > timeout, which has been stated by RunRev so does not require any > recipe. The second problem is the varying response times and as the > same CGI will produce widely varying response times, I am unable to > provide more of a recipe than that, as already reported to Kevin and > confirmed by Mark's tests. > > Andre's tests have now demonstrated that the timeout issue is in the > On-Rev server and not in revServer itself. This is excellent news, and > I would still recommend revServer to anyone. But we were unable to get > an answer from anyone at RunRev on this subject and did not feel > justified spending $300 on an experiment, so for Rodeo, we have chosen > a different route. But revServer is a wonderful prototyping tool, even > if it is not the final production tool. > > As part of the Rodeo feature list, we announced a new way people would > deploy their Rodeo web apps. This involved calling a CGI that > converted their existing development app into a non-editable and > public version. So as to be honest with our paying customers, Jerry > mentioned that due to the acknowledged timeout issue with the On-Rev > server, ?this might fail with a large app. This comment was taken - by > a third-party - to the Rev list where it caused the current flame war. > > Part of the problem here is that as RunRev customers, we get very > little communication from RunRev. We get announcements of great > products that are not followed through: revServer is apparently still > in alpha after more than a year, Rev 4.5.0-dp-3 was released in March > and despite the basic flaw in libURL, has not been updated. I made it > work using Trevor's fix (thanks Trevor), which would have taken the > RunRev team about 30 seconds to apply, but they have not done so. I > realise they were shaken by the revMobile fiasco - we all were. > Remember that many of us paid a large sum of money for a product that > will no longer do what we bought it for and a conference that has been > cancelled. At least RunRev ended up with the money! But Apple can only > be blamed for so long. At some stage Kevin and his group have to take > responsibility. It is good to read Kevin's plans for better bug > reporting, better communication, more products etc., but those of us > who have been here for a while have heard all this before. > > Finally, a comment on this list itself. I know this is a long post, > but it is my last one, so I have to get everything in. Some people on > this list have a habit of shooting the messenger. Anyone who dares to > suggest that there is anything less that perfect about RunRev is > shouted down, and most of them just leave instead of being converted. > The most noticeable exception to this was Bill Marriott. Bill was an > extremely out-spoken member of the list who got very angry at the way > bugs were being ignored. He got flamed on the list, but to Kevin's > enormous credit, he hired Bill and put his anger and enthusiasm to > work for RunRev. This worked extremely well and I am sure we all miss > Bill. In fact I wonder how this situation would have been handled had > Bill still been around. > > Since I anticipate my imminent removal from this list, anyone who > would like to respond is invited to email me directly: > sarah.reichelt at gmail.com > > So long, and thanks for all the fish! > 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 jacque at hyperactivesw.com Wed Aug 4 21:54:05 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 04 Aug 2010 20:54:05 -0500 Subject: Rodeo, revServer etc. In-Reply-To: References: Message-ID: <4C5A19BD.7040800@hyperactivesw.com> On 8/4/10 7:48 PM, Sarah Reichelt wrote: > Since I anticipate my imminent removal from this list, Sarah, don't be silly, of course you won't be banned! And I hope you don't disappear either, you're one of our greatest assets. I know of only three people who have been permanently banned in the last 10 years, and none of those cases were for criticisms they made on-list. (One was for physical harrassment, for example.) I think we need to make a distinction between discussing Rodeo features and plans, which belong on its dedicated list, and discussing on-rev performance, which is very appropriate here. Your experiences are valuable and I see nothing wrong with you replying and describing them. Hearing both sides is always the best course. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andre at andregarzia.com Wed Aug 4 22:20:54 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Aug 2010 23:20:54 -0300 Subject: Rodeo, revServer etc. In-Reply-To: <4C5A19BD.7040800@hyperactivesw.com> References: <4C5A19BD.7040800@hyperactivesw.com> Message-ID: On Wed, Aug 4, 2010 at 10:54 PM, J. Landman Gay wrote: > On 8/4/10 7:48 PM, Sarah Reichelt wrote: > > Since I anticipate my imminent removal from this list, >> > err Sarah, this will not happen, this is not some school club where you get banned for disagreeing with the president (oh... I just also described the Brazilian Goverment). RevServer still not ready, there are many things to polish and your experience and Jerrys is a good thing. As I've tested, most probably your problems were due to the virtualization stacks or something similar. Anyway, that matter is settled, you guys moved on into some other technology. World will not end, I will still get my beloved feature fridays for tRev and I will still use your stacks now and the future ones I am sure you will build. Arguments here tend to turn into heat waves and mudslinging but we're all above this. We're all friends and professionals (I am more friendly than professional) I am doing lots of tests and articles on RevServer believe me, if there are problems with the engine, I am sure to find them and if I have just one quality or skill, it is being quite good at diagnosing why software explodes into my face. I will run profilers, debuggers, hire mediums, drink copious amounts of tea while shouting, wave my art of programming books in front of the computer shouting: "The power of Knuth compels you!" but I will find it and be able to get a recipe. In the following months our engine will be better if not by tracking down any anomalies then due to our increased understanding of how to better use it. People tend to take sides. There are no sides, we're all together here, some teams faced troubles, others did not, we all share and in the end, I make the best jokes, oops, thats not how the phrase was supposed to end but anyway, in the end, it is just another day. Technologies come and go, we use what we can. I work with PHP daily, you will survive (but loose some sanity points due to variables needing an $). There are times when I am working with PHP that I just wish my Revolution engine back, there are times with RevServer that I wish I could transmogrify a ton of PHP extensions into RevTalk. All techologies have shortcomings (Except for LISP which is perfect and perl which is a shortcomming and not a language), you use what you have, there's no moral judgement in software choices. You have your customers and decisions to make, no one runs your teams for you. Moving Rodeo to PHP will deny its presence here on the use-list since it is not related to Rev anymore but those interested in Rodeo will go to Rodeo list and be fine. We'll all still use Rev for other tasks. People sometimes gets very passionated, now, if we could channel that passion into FREE OPEN SOURCE LIBRARY DEVELOPMENT and TESTING for Rev, it would be great and better than some threads that been here latelly. I won't say I will miss you guys because I know you are not leaving... :-) > > Sarah, don't be silly, of course you won't be banned! And I hope you don't > disappear either, you're one of our greatest assets. I know of only three > people who have been permanently banned in the last 10 years, and none of > those cases were for criticisms they made on-list. (One was for physical > harrassment, for example.) > > I think we need to make a distinction between discussing Rodeo features and > plans, which belong on its dedicated list, and discussing on-rev > performance, which is very appropriate here. Your experiences are valuable > and I see nothing wrong with you replying and describing them. Hearing both > sides is always the best course. > > -- > 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 massung at gmail.com Wed Aug 4 23:22:47 2010 From: massung at gmail.com (Jeff Massung) Date: Wed, 4 Aug 2010 22:22:47 -0500 Subject: Rodeo, revServer etc. In-Reply-To: References: <4C5A19BD.7040800@hyperactivesw.com> Message-ID: On Wed, Aug 4, 2010 at 9:20 PM, Andre Garzia wrote: > "The power of Knuth compels you!" > > I literally fell out of my chair! Jeff M. From sims at ezpzapps.com Thu Aug 5 00:38:44 2010 From: sims at ezpzapps.com (Jim Sims) Date: Thu, 5 Aug 2010 06:38:44 +0200 Subject: Rodeo, revServer etc. In-Reply-To: References: <4C5A19BD.7040800@hyperactivesw.com> Message-ID: On Aug 5, 2010, at 4:20 AM, Andre Garzia wrote: > we're all together here, > I won't say I will miss you guys because I know you are not leaving... :-) Hey Sarah, This List has Life, and you are one of the most alive persons around. I'm looking forward to learning more from you here. Life is Good. CU, sims From jacque at hyperactivesw.com Thu Aug 5 01:21:46 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Aug 2010 00:21:46 -0500 Subject: Rodeo, revServer etc. In-Reply-To: References: <4C5A19BD.7040800@hyperactivesw.com> Message-ID: <4C5A4A6A.9040007@hyperactivesw.com> On 8/4/10 10:22 PM, Jeff Massung wrote: > On Wed, Aug 4, 2010 at 9:20 PM, Andre Garzia wrote: > > >> "The power of Knuth compels you!"> > > I literally fell out of my chair! We'd be so grim without Andre. :) Andre, where's that link to your compiler story? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From janschenkel at yahoo.com Thu Aug 5 01:30:41 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 4 Aug 2010 22:30:41 -0700 (PDT) Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: <9E263C41-D8DA-46D1-89A3-FEB7733AB1F7@twft.com> Message-ID: <871277.93402.qm@web65405.mail.ac4.yahoo.com> Hi Bob et al, Jeff and others have already given the most important reason: security. It is one less place for the hackers to try and crack open (I recall a huge problem with MS SQLServer back in 2000 where one of its open ports allowed a virus to spread and bring servers to a grinding halt). Closely related is encapsulation: if someone can find his way into the database port and run arbitrary queries, that person can not only steal information, but can cripple everything by deleting or maiming data. Compatibility between versions is also much easier to accomplish: updates to the database schema won't cause headaches because one person is using an older version of the client application. Bonus points for using "go stack url" to fetch the latest version of the client app from the same server. Performance is another important factor: the closer your business logic is to the data, the faster things can run. Ideally the logic is on the same server, in which case some database drivers use shared memory to increase performance; if it is running on another server closeby, you could improve merformance even further by connecting the two servers directly. Oh, and whatever you do, don't just make a cgi that simply executes whatever string comes over the internet as an SQL query. It's already bad enough that we have to deal with SQL injection into forms, so don't make it worse - here's a nice cartoon to explain: Now, it is tempting to just scale up your single-user SQLite database access to a MySQL server on your own local network. And if you get away with it, you may even want to use the same method to go from local network to the internet by simply moving the database. But to handle concurrent data changes correctly, you're going to have to make changes to how you approach your database records (e.g. use optimistic locking with versioning). And at that point you ought to step back and see what else can be improved. Cheers, 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) --- On Wed, 8/4/10, Bob Sneidar wrote: > Hi Jan. > > Is accessing your database directly from a remote location > taboo? I'm developing an app that does exactly that! > > Bob > > > On Aug 4, 2010, at 12:59 PM, Jan Schenkel wrote: > > > Excellent article, Andre - perhaps you should expand > it with a stern warning for people who want to access their > remote database directly, rather than going througha cgi? > That's also one of those coming-from-the-desktop practices > that need to be taken care of once and for all, IMO :-) > > > > Jan Schenkel. > From psahores at free.fr Thu Aug 5 04:01:59 2010 From: psahores at free.fr (Pierre Sahores) Date: Thu, 5 Aug 2010 10:01:59 +0200 Subject: Keeping On-Rev Scripts and Data From Prying Eyes In-Reply-To: <4C5A10BB.8080403@fourthworld.com> References: <4C5A10BB.8080403@fourthworld.com> Message-ID: In waiting for the password proteced stacks libs support, it can become preferable to store the irev scripts inside the cgi-bin directory. Best, Pierre Le 5 ao?t 2010 ? 03:15, Richard Gaskin a ?crit : > Michael Kann wrote: > >> I didn't see what switched? > > The indenting may not look clear if you're not viewing this with a monospaced font, but the scriptname.irev is outside of the public_html folder in the second example. > > >> So if your directory structure looks like this: >> >> root/ >> public_html/ >> mypage.irev >> scriptname.irev >> >> ...you could switch it to: >> >> root/ >> public_html/ >> mypage.irev >> scriptname.irev >> >> ...and in your mypage.irev you'd change the reference to scriptname.irev to: >> >> > > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > 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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From benr_mc at cogapp.com Thu Aug 5 04:26:38 2010 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 05 Aug 2010 09:26:38 +0100 Subject: Long-term stability of revVideoGrabber? Message-ID: <4C5A75BE.5090903@cogapp.com> I'm embarking on a project for which I'll need to have an unnattended unit capturing short video clips (30-180 seconds) repeatedly over a long period; and need to pick my technology. Does anyone have experience of using the rVG over a long term like this? Does it hold up? War stories, witness statements, views or suggestions gratefully received. TIA, Ben From jean-pierre.soto at wanadoo.fr Thu Aug 5 04:32:45 2010 From: jean-pierre.soto at wanadoo.fr (Jean-Pierre Soto) Date: Thu, 5 Aug 2010 10:32:45 +0200 Subject: Can't start player together on window XP Message-ID: Hello, I have made a basic text-to-speech programm. I use 10 player for playing sound with overlap . It work well on Mac platform but on Window XP player start slowly with no overlap of sounds. Can I do something ? Thanks Revolution 2.7 Window XP on a MacBookPro From stephenREVOLUTION2 at barncard.com Thu Aug 5 04:50:46 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 5 Aug 2010 01:50:46 -0700 Subject: Long-term stability of revVideoGrabber? In-Reply-To: <4C5A75BE.5090903@cogapp.com> References: <4C5A75BE.5090903@cogapp.com> Message-ID: The sound component is broken on the Mac version of videograbber in two ways: 1. There is a sound panel to set parameters, but they don't always 'stick' when set and there is no instruction available on how to save the params for the next time as one can do with the video settings. 2. There is a intermittent bug in Quicktime that can cause the sound to be ahead of the picture. I've used a few applications that rely on QT for video capture that have the same sync problems. The only thing that has worked for me for pro video capture on the mac is Final Cut Pro. Too bad, too. I had created just the app I always wanted for video archiving integrated with a database - and had captured quite a few videos that I eventually had to do over with Final Cut. Oh well. However, for short clips VG might work very well. Not sure about the long term - it may have to be restarted occasionally. Video is hard. This memory intensive stuff has a tendency to crash more often. Videograbber has all the stuff you need to capture - you should be able to set up an automated test for your idea in little time. There has been talk of a new, privately commissioned external for audio/video. Stay tuned. sqb On 5 August 2010 01:26, Ben Rubinstein wrote: > I'm embarking on a project for which I'll need to have an unnattended unit > capturing short video clips (30-180 seconds) repeatedly over a long period; > and need to pick my technology. > > Does anyone have experience of using the rVG over a long term like this? > Does it hold up? > > War stories, witness statements, views or suggestions gratefully received. > > TIA, > > Ben > _______________________________________________ > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From psahores at free.fr Thu Aug 5 04:53:13 2010 From: psahores at free.fr (Pierre Sahores) Date: Thu, 5 Aug 2010 10:53:13 +0200 Subject: Rodeo, revServer etc. In-Reply-To: References: Message-ID: <27257F85-D4F5-4DA6-97C4-1A4BE64D68AB@free.fr> Sarah, Let me say in just some words. I just hope you will be back to this community witch always got so much from your always incredible fine work and human generosity as soon as possible. Until that, tu vas me manquer. Prends soin de toi. Reviens vite. Kind Regards, Pierre PS : Time to time, i had to go over sad difficultly trackables glichies or misconfigurations along i was working on one n-tier project or an other. To solve them, the best way to go went always to entierly clone the incrimined apps on the development box, in localhost mode : Apache, PHP, Rev, the SQL backend, etc... This solution is, in practice, always very helpfull when we need to get hands back on a special case problem and n-tier apps are always relying on special cases solutions, is'nt ;-) Le 5 ao?t 2010 ? 03:47, Chipp Walters a ?crit : > Sarah, > > It would be so sad to see you go. You have been a well respected and > most helpful community member for so long. And, I'm especially sorry > to see you go in such a sad way. > > I understand that you and Jerry have ventured into some new uncharted > waters and that architecting server apps while starting a brand new > company can be a daunting task for anyone. Heck, Chris and I have > helped Jerry create architectures for multiple-tier server > applications for a number of his clients in the past, and it's never > an easy task. And, truth be known, I don't know any more than either > of you when it comes to the hard core details of what's going on at > those servers AND that's why I have people like Chris and Andre and > Pierre and this list who help steer me clear of some of the potholes > you guys evidently stepped into on this project. > > Still, my understanding is that Jerry is in weekly contact with Kevin > via RevSelect, so I suspect communication isn't a HUGE problem, and > you all have done a marvelous job at promoting your application here > on the use-list, so i'll chalk up the last minute parting cheap shots > toward Rev to an overall frustration at this whole situation. > > I get it you are upset. The fact you can't reproduce your problems may > be due to many different issues, as both Andre and Kevin point out. > Certainly trying to debug these issues in a shared hosting environment > didn't simplify things. But how were you to know? I think Rev should > have probably taken a more active role in bug and recipe hunting, > especially since there are so many factors and given the limited > expertise. But there are ways to test these things and to produce a > recipe, and that is all I was saying. Having this discussion here > after publicly posting on your blog to your users, most of whom follow > this list should be no surprise. We all want to know how real the > problem is and why it happens. > > You have been and are an extremely valuable resource to this community > and will be sorely missed if you go. I've enjoyed working with you on > projects in the past and have always found you to be the highest in > terms of integrity and professionalism. I would encourage you to > reconsider leaving. > > On Wednesday, August 4, 2010, Sarah Reichelt wrote: >> Hi All, >> >> Kevin has given his point of view over Rodeo and revServer, and then >> forbidden us to comment, leaving us without the right of reply. Of >> course it is his list and he is quite at liberty to ban whoever he >> chooses, and if the matter had ended there, I would have let it slide. >> Unfortunately, discussion has continued and has expanded to a direct >> and personal attack on Jerry, which by association is an attack on me. >> So I have decided, reluctantly, to ignore Kevin's instructions and >> post my thoughts on the issue. I realise this will lead to my removal >> from the list, but that is a consequence that I am prepared to accept. >> >> Before I go, I would like to say goodbye and thank you to everyone >> here. I have thoroughly enjoyed most of the interactions on this list >> and there are many of you here that I regard as real friends, despite >> never having met you in person. There are too many of you to mention >> individually, but you know who you are. >> >> Now on to revServer: as soon as I heard about revServer, I was >> incredibly excited. I bought it as soon as it was released and I >> converted my entire web site to run using irev scripts. RunRev even >> used my examples page in their promotional mail outs, so I think >> everyone can see that I am a great supporter. The advertising material >> announced "Blistering Performance" which unfortunately never >> eventuated. Even on my modest web pages, often a page would only >> half-load. I frequently had to tell people just to give it a minute >> and the data came through in the end. However for my own web site, >> this was not really a problem. >> >> I think nobody will dispute that the On-Rev client is a big >> disappointment. It's primary feature was the debugging, but as soon as >> I added a new domain to my site, this stopped working for me. Heather >> was unable to find out why and nearly a year later, I am still waiting >> for the engineer to get back to me as promised. However the On-Rev >> client is a completely separate application and using revServer does >> not require it. I switched to using other apps to do my editing and >> file transfers and I debug using log files. >> >> CGIs are a different matter. I assume that many people on this list >> have done what I have done and written CGIs that are called from Rev >> stacks. These caused problems as the default socket timeout in >> Revolution is 10 seconds. Many times, this is not enough time to get >> an answer back from the On-Rev servers, even for a very simple CGI. So >> for anyone in this situation, it is essential to increase the >> socketTimeoutInterval before calling an On-Rev CGI. >> >> Before I got into more intensive use of the On-Rev servers, other >> people ran into the server's timeout limits. These were confirmed by >> Oliver from RunRev on the RunRev forum >> . >> >> Now on to Rodeo: our original planning for Rodeo was based entirely on >> revServer technology. They seemed like a perfect match. Jerry & Kevin >> had discussed it and Kevin had agreed that there was nothing in the >> Rodeo plans that conflicted with anything he and RunRev were planning >> to do. So we proceeded with his blessing. The first thing we found was >> that there was an extreme variation in the time taken to complete any >> given CGI request. Kevin has just posted the results of Mark's tests >> and they confirm what we suspected and asked Kevin about - that the >> server effectively needs a wake-up call before it gets going. Other >> test results posted on the lists have shown similar effects. >> >> However it does not seem to be always a wake-up issue. I have one >> utility that loops through a series of folders doing the same action >> for each folder. I started off by making this a single CGI and the CGI >> on the server assembled the folder list and performed all the tasks. >> Once I had more than a few folders, this stopped working, so I >> re-wrote the CGI so that I assembled the folder list and then sent a >> separate CGI call to the server to deal with each of the folders. >> Watching the progress of this is very interesting: The first call is >> nearly always slow, then I might get 4 or 5 inside a second, then it >> will slow down again for the next couple of calls, then speed up >> again. >> >> Chipp has repeatedly called on us to provide recipes for our problems, >> but this is not really possible. The first problem is the server >> timeout, which has been stated by RunRev so does not require any >> recipe. The second problem is the varying response times and as the >> same CGI will produce widely varying response times, I am unable to >> provide more of a recipe than that, as already reported to Kevin and >> confirmed by Mark's tests. >> >> Andre's tests have now demonstrated that the timeout issue is in the >> On-Rev server and not in revServer itself. This is excellent news, and >> I would still recommend revServer to anyone. But we were unable to get >> an answer from anyone at RunRev on this subject and did not feel >> justified spending $300 on an experiment, so for Rodeo, we have chosen >> a different route. But revServer is a wonderful prototyping tool, even >> if it is not the final production tool. >> >> As part of the Rodeo feature list, we announced a new way people would >> deploy their Rodeo web apps. This involved calling a CGI that >> converted their existing development app into a non-editable and >> public version. So as to be honest with our paying customers, Jerry >> mentioned that due to the acknowledged timeout issue with the On-Rev >> server, this might fail with a large app. This comment was taken - by >> a third-party - to the Rev list where it caused the current flame war. >> >> Part of the problem here is that as RunRev customers, we get very >> little communication from RunRev. We get announcements of great >> products that are not followed through: revServer is apparently still >> in alpha after more than a year, Rev 4.5.0-dp-3 was released in March >> and despite the basic flaw in libURL, has not been updated. I made it >> work using Trevor's fix (thanks Trevor), which would have taken the >> RunRev team about 30 seconds to apply, but they have not done so. I >> realise they were shaken by the revMobile fiasco - we all were. >> Remember that many of us paid a large sum of money for a product that >> will no longer do what we bought it for and a conference that has been >> cancelled. At least RunRev ended up with the money! But Apple can only >> be blamed for so long. At some stage Kevin and his group have to take >> responsibility. It is good to read Kevin's plans for better bug >> reporting, better communication, more products etc., but those of us >> who have been here for a while have heard all this before. >> >> Finally, a comment on this list itself. I know this is a long post, >> but it is my last one, so I have to get everything in. Some people on >> this list have a habit of shooting the messenger. Anyone who dares to >> suggest that there is anything less that perfect about RunRev is >> shouted down, and most of them just leave instead of being converted. >> The most noticeable exception to this was Bill Marriott. Bill was an >> extremely out-spoken member of the list who got very angry at the way >> bugs were being ignored. He got flamed on the list, but to Kevin's >> enormous credit, he hired Bill and put his anger and enthusiasm to >> work for RunRev. This worked extremely well and I am sure we all miss >> Bill. In fact I wonder how this situation would have been handled had >> Bill still been around. >> >> Since I anticipate my imminent removal from this list, anyone who >> would like to respond is invited to email me directly: >> sarah.reichelt at gmail.com >> >> So long, and thanks for all the fish! >> 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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From benr_mc at cogapp.com Thu Aug 5 05:16:41 2010 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 05 Aug 2010 10:16:41 +0100 Subject: Long-term stability of revVideoGrabber? In-Reply-To: References: <4C5A75BE.5090903@cogapp.com> Message-ID: <4C5A8179.3040005@cogapp.com> Thanks Stephen. I picked up on your reference to the sound settings issue in #3712 and made a new explicit report at http://quality.runrev.com/qacenter/show_bug.cgi?id=8886 (see also #8887, #8889). (I noted your remarks about sound going out sync but didn't do anything in the absence of reproducing this myself.) I will obviously now be setting up some sort of soak testing rig, which might flush out some other issues. At present the only blocker issue I know of is the audio settings, I'm trying to establish if there are others. > There has been talk of a new, privately commissioned external for > audio/video. Stay tuned. Is there any timescale on this talk? Many thanks, Ben On 05/08/2010 09:50, stephen barncard wrote: > The sound component is broken on the Mac version of videograbber in two > ways: > > 1. There is a sound panel to set parameters, but they don't always 'stick' > when set and there is no instruction available on how to save the params for > the next time as one can do with the video settings. > 2. There is a intermittent bug in Quicktime that can cause the sound to be > ahead of the picture. I've used a few applications that rely on QT for > video capture that have the same sync problems. The only thing that has > worked for me for pro video capture on the mac is Final Cut Pro. > > Too bad, too. I had created just the app I always wanted for video archiving > integrated with a database - and had captured quite a few videos that I > eventually had to do over with Final Cut. Oh well. > > However, for short clips VG might work very well. Not sure about the long > term - it may have to be restarted occasionally. Video is hard. This memory > intensive stuff has a tendency to crash more often. Videograbber has all > the stuff you need to capture - you should be able to set up an automated > test for your idea in little time. > > There has been talk of a new, privately commissioned external for > audio/video. Stay tuned. > > > sqb > > On 5 August 2010 01:26, Ben Rubinstein wrote: > >> I'm embarking on a project for which I'll need to have an unnattended unit >> capturing short video clips (30-180 seconds) repeatedly over a long period; >> and need to pick my technology. >> >> Does anyone have experience of using the rVG over a long term like this? >> Does it hold up? >> >> War stories, witness statements, views or suggestions gratefully received. >> >> TIA, >> >> Ben From scott at tactilemedia.com Thu Aug 5 05:39:29 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 05 Aug 2010 02:39:29 -0700 Subject: Can't start player together on window XP In-Reply-To: Message-ID: Recently, Jean-Pierre Soto wrote: > I have made a basic text-to-speech programm. I use 10 player for > playing sound with overlap . > It work well on Mac platform but on Window XP player start slowly > with no overlap of sounds. > > Can I do something ? Make sure you have QuickTime installed. If not, I don't know if this will work. Do you need to have 10 players operating at the same time? I assume you don't, so you could also try using the minimum number of players you need for simultaneous playback and swap filenames of the players when you need sounds to change. Regards, Scott Rossi Creative Director Tactile Media, UX Design From kevin at runrev.com Thu Aug 5 05:44:10 2010 From: kevin at runrev.com (Kevin Miller) Date: Thu, 05 Aug 2010 10:44:10 +0100 Subject: Rodeo, revServer etc. In-Reply-To: Message-ID: On 05/08/2010 01:48, "Sarah Reichelt" wrote: > Kevin has given his point of view over Rodeo and revServer, and then > forbidden us to comment, leaving us without the right of reply. Of > course it is his list and he is quite at liberty to ban whoever he > chooses, and if the matter had ended there, I would have let it slide. > Unfortunately, discussion has continued and has expanded to a direct > and personal attack on Jerry, which by association is an attack on me. > So I have decided, reluctantly, to ignore Kevin's instructions and > post my thoughts on the issue. I realise this will lead to my removal > from the list, but that is a consequence that I am prepared to accept. > > Before I go, I would like to say goodbye and thank you to everyone > here. I have thoroughly enjoyed most of the interactions on this list > and there are many of you here that I regard as real friends, despite > never having met you in person. There are too many of you to mention > individually, but you know who you are. I don't think we need to be quite so dramatic. I asked you not to discuss Rodeo because it no longer has anything to do with Rev and because you started to attack Rev as a method of promoting it. I'm sorry you saw my response as a personal attack, it wasn't. You and Jerry are both welcome on this list. As I've said I wish you guys all the best, I quite truly do. > Chipp has repeatedly called on us to provide recipes for our problems, > but this is not really possible. The first problem is the server > timeout, which has been stated by RunRev so does not require any > recipe. The second problem is the varying response times and as the > same CGI will produce widely varying response times, I am unable to > provide more of a recipe than that, as already reported to Kevin and > confirmed by Mark's tests. Well those tests showed that PHP is the same, and indeed we would expect the same results on any shared server environment with a variety of technologies. In order to determine if there was something more going on, I asked for a very simple piece of logging - this is what I wrote to Jerry: > One way to find out if it is something the script is doing is to measure the > execution time of the whole irev script (i.e. use the long seconds at start, > and append to a log file at the end). If, after observing a latency issue, > there are 'spikes' in this measurement it means that the culprit is a > side-effect of the script, rather than the startup time of the script. That's all we needed to continue to investigate it. > Andre's tests have now demonstrated that the timeout issue is in the > On-Rev server and not in revServer itself. This is excellent news, and > I would still recommend revServer to anyone. But we were unable to get > an answer from anyone at RunRev on this subject This is just patently untrue. You got a response from the CEO. I wrote to Jerry on 22nd of June at 16:38 with that logging request I pasted above, as part of an ongoing response to this issue and that was the last I heard. You could have added that to your code, created a logging text file and sent us the contents. I suspect with that, and possibly a couple of subsequent tests, the issue would have been identified weeks ago. > Part of the problem here is that as RunRev customers, we get very > little communication from RunRev. I've already commented and agreed on this. But in your specific case, again its just untrue. I've been available to Jerry throughout this entire process. Over the past couple of years, until very recently, we've typically had a Skype every week. I have a regular slot set aside in my calendar on a Monday evening at 7:30PM. I know Heather has been very responsive too. I'm not sure what else you could have asked for. > It is good to read Kevin's plans for better bug > reporting, better communication, more products etc., but those of us > who have been here for a while have heard all this before. You know, its easy when things are not going well to look at it and say that everything isn't working or hasn't worked. But I don't think that's a realistic way to view things. We've had many successes over the years and many times when our customers have been ecstatic. You're starting out on your own journey now and I'm sure you'll find aspects of it more challenging than you expect. I doubt you'll make the same mistakes that I do as we are very different people, you'll find your own ways to get in a tangle like every new business out there :) But I will not succumb to the "its all bad and you can't fix it" mantra any more than you should. That's just not a realistic way of looking at things. > Finally, a comment on this list itself. I know this is a long post, > but it is my last one, so I have to get everything in. Some people on > this list have a habit of shooting the messenger. Anyone who dares to > suggest that there is anything less that perfect about RunRev is > shouted down, and most of them just leave instead of being converted. > The most noticeable exception to this was Bill Marriott. Bill was an > extremely out-spoken member of the list who got very angry at the way > bugs were being ignored. He got flamed on the list, but to Kevin's > enormous credit, he hired Bill and put his anger and enthusiasm to > work for RunRev. This worked extremely well and I am sure we all miss > Bill. In fact I wonder how this situation would have been handled had > Bill still been around. We all miss Bill, I do in particular as he became a close advisor and friend. But you cite another positive in our history here, something that we've done that worked out well for everyone. And perhaps it gives you a clue that I don't hide in a box when people come at me with criticism. I didn't ban Bill from the mailing list, either. I respond and look for what parts of it are true. There is truth in what you say, but we can and will respond. And I do also think some parts of it might be a little overstated. My opinion of course, you are free to differ. Anyway, I hope you'll consider staying on this list Sarah, its been great having you here. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ RunRev - Software construction for everyone From jean-pierre.soto at wanadoo.fr Thu Aug 5 06:18:10 2010 From: jean-pierre.soto at wanadoo.fr (Jean-Pierre Soto) Date: Thu, 5 Aug 2010 12:18:10 +0200 Subject: Can't start player together on window XP In-Reply-To: References: Message-ID: <4DB210A8-AB73-40AF-9D12-008960C80948@wanadoo.fr> I have reduce the number of player to 2. ( they only play two by two) The problem is the same. I can start two player at the same time but I can't set the filename and then start with no delay ( less than 0.1 second) . Do I load first all the parts of words in N player and start them after ? or an other id?a ? Le 5 ao?t 10 ? 11:39, Scott Rossi a ?crit : > > Recently, Jean-Pierre Soto wrote: > >> I have made a basic text-to-speech programm. I use 10 player for >> playing sound with overlap . >> It work well on Mac platform but on Window XP player start slowly >> with no overlap of sounds. >> >> Can I do something ? > > Make sure you have QuickTime installed. If not, I don't know if > this will > work. > > Do you need to have 10 players operating at the same time? I > assume you > don't, so you could also try using the minimum number of players > you need > for simultaneous playback and swap filenames of the players when > you need > sounds to change. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX 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 david at vaudevillecourt.tv Thu Aug 5 06:25:27 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Thu, 5 Aug 2010 12:25:27 +0200 Subject: Rodeo, revServer etc. In-Reply-To: References: <4C5A19BD.7040800@hyperactivesw.com> Message-ID: On 5 August 2010 04:20, Andre Garzia wrote: > > People sometimes gets very passionated, now, if we could channel that > passion into FREE OPEN SOURCE LIBRARY DEVELOPMENT and TESTING for Rev, it > would be great and better than some threads that been here latelly. > > I won't say I will miss you guys because I know you are not leaving... :-) > I second that Sarah - in fact I'd go so far as to say you should consider yourself banned from leaving :) I'm going (to try) to stay out of debate on these issues, except to say I am broadly sympathetic to the problems that you have expressed and feel that both you and Jerry deserve a big thumbs up for your rational calm and positive contributions on the subject in the face of distinctly defensive replies, which you could easily have been tempted to reply to more "flamishly". On the positive, I'd second Andre's comment above. I too feel that a community run open source project and documentation resource, would not only provide a productive avenue for many of these issues to be channelled, but go a long way to addressing some of the technical issues raised. It would also importantly help to address the sense of a void created by the issues faced by RunRev currently, and compounded in my view by the approach to marketing and community that is being followed presently. Guys we can get better contributions from the community to help RunRev through this patch! Another positive note! The best things come from working through hard times - I think RunRev can and will come out of this stronger. But not without the community and people like Jerry and Sarah passionately on board. I think the moves to open source the externals is a great sign, I am hopeful about the longer term implications with regard to more open and co-development strategies being pursued on the Linux and Android platforms (it just makes sense), and I am sure that Kevin and RunRev are actively looking at ways to improve these things. So how about a regular monthly online conference - working on "FREE OPEN SOURCE LIBRARY DEVELOPMENT and TESTING for Rev", leading up to a constructive community show at next years RunRev live event? Say the first Tuesday of each month? From scott at tactilemedia.com Thu Aug 5 06:33:45 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 05 Aug 2010 03:33:45 -0700 Subject: Can't start player together on window XP In-Reply-To: <4DB210A8-AB73-40AF-9D12-008960C80948@wanadoo.fr> Message-ID: Recently, Jean-Pierre Soto wrote: > I have reduce the number of player to 2. ( they only play two by two) > > The problem is the same. > > I can start two player at the same time but I can't set the filename > and then start with no delay ( less than 0.1 second) . > > Do I load first all the parts of words in N player and start them > after ? or an other id?a ? Setting the filename will always take time and will never be instantaneous. If possible, you need to preload the player with the filename you want, and trigger the sound when you need it. Regards, Scott Rossi Creative Director Tactile Media, UX Design From chipp at altuit.com Thu Aug 5 07:04:47 2010 From: chipp at altuit.com (Chipp Walters) Date: Thu, 5 Aug 2010 06:04:47 -0500 Subject: Rodeo, revServer etc. In-Reply-To: References: Message-ID: Sarah, I suspect the requests for you and Jerry to stay around won't do much good. It's clear you both are most hurt and outraged by this rabble, and besides, you all have much work to do! Perhaps it might be helpful to look at this from a different point of view? One might say there seems to be a convenient correlation between the claims of a buggy RevServer, the announcement "RODEO now creates standalones on the Mac" (thus clearly in defiance of Rev's license policy), and the abrupt switch to PHP. In fact, one might suspect they go hand in hand, as the posts are the one and the same. http://rodeoapps.posterous.com/24666755 One can certainly understand the business reason for the change to PHP. It makes perfect sense and is the only way around the license issue. It's too bad RunRev has been an unknowing willing participant in helping fund, provide customers for, publicize, and launch a direct competitor. Still, one can applaud the skill at how deftly this has all come about-- heck RODEO even had a newly branded website up the exact same day as the post. Perfect timing. From richmondmathewson at gmail.com Thu Aug 5 07:07:02 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 05 Aug 2010 12:07:02 +0100 Subject: [OT] SRS TruSurroundXT In-Reply-To: <4C4DA5AB.6030105@fourthworld.com> References: <4C4DA5AB.6030105@fourthworld.com> Message-ID: <4C5A9B56.1070305@gmail.com> What a @@@@@@; changed Mum and dad's Toshiba laptop over to Ubuntu 10.04 LTS; runs mind-blowingly faster. HOWEVER; have fallen foul of the sound card: an SRS TruSurroundXT . . Please!!!!! Otherwise I will have to do a complete restore of the clone of their system I popped on an external disk and all my hardwork configuring everything will go down the tubes. sincerely, Richmond. From andre at andregarzia.com Thu Aug 5 08:01:50 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 5 Aug 2010 09:01:50 -0300 Subject: [OT] SRS TruSurroundXT In-Reply-To: <4C5A9B56.1070305@gmail.com> References: <4C4DA5AB.6030105@fourthworld.com> <4C5A9B56.1070305@gmail.com> Message-ID: Richmond, ask your question on superuser.com they usually know how to handle! :D :D On Thu, Aug 5, 2010 at 8:07 AM, Richmond wrote: > What a @@@@@@; changed Mum and dad's Toshiba laptop over to Ubuntu 10.04 > LTS; runs > mind-blowingly faster. > > HOWEVER; have fallen foul of the sound card: an SRS TruSurroundXT . . > > Please!!!!! Otherwise I will have to do a complete restore of the clone of > their system I popped > on an external disk and all my hardwork configuring everything will go down > the tubes. > > sincerely, Richmond. > > > _______________________________________________ > 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 gregory.lypny at videotron.ca Thu Aug 5 08:03:03 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 05 Aug 2010 08:03:03 -0400 Subject: Keeping On-Rev Scripts and Data From Prying Eyes In-Reply-To: <20100805103338.E3C5648A360@mail.runrev.com> References: <20100805103338.E3C5648A360@mail.runrev.com> Message-ID: Thanks Richard and Pierre, Keep scripts in a folder outside of public_HTML, or as Pierre suggests, the cgi-bin folder. Good stuff. Does the same apply for data files that need read and write access by the scripts? Gregory From runrevron at gmail.com Thu Aug 5 08:25:51 2010 From: runrevron at gmail.com (ron barber) Date: Thu, 5 Aug 2010 21:25:51 +0900 Subject: Mousemove, Optionkey and Windows Message-ID: Hi , Just to follow up on this question. Based on Terry's response and the fact that I am also using Fusion, and that Jan reported no problem, I will assume that this is a Fusion problem and not a Rev problem. Good news. Thanks Ron On 3/08/10 11:46 PM, "ron barber" wrote: Terry, were you testing on a windows machine or emulation or some sort? Hi Ron - I'm running Windows under VMWare Fusion. Terry... -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne _______________________________________________ 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 psahores at free.fr Thu Aug 5 08:29:13 2010 From: psahores at free.fr (Pierre Sahores) Date: Thu, 5 Aug 2010 14:29:13 +0200 Subject: Keeping On-Rev Scripts and Data From Prying Eyes In-Reply-To: References: <20100805103338.E3C5648A360@mail.runrev.com> Message-ID: <0D269DFC-C6E4-4BD5-9F82-EDA7EEBC9EF8@free.fr> > Thanks Richard and Pierre, > > Keep scripts in a folder outside of public_HTML, or as Pierre suggests, the cgi-bin folder. Good stuff. Does the same apply for data files that need read and write access by the scripts? Best than putting them in the cgi-bin, i always prefer to set to be a read-only dir, each time we need to push data files away from eyes, it's mostly simple to put them inside a private htaccess/htpasswd protected directory (need login/passwd authentication on the web side ; full accessible to the irev scripts as a simple local filesystem directory). > > Gregory > _______________________________________________ > 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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From runrevron at gmail.com Thu Aug 5 08:57:56 2010 From: runrevron at gmail.com (ron barber) Date: Thu, 5 Aug 2010 21:57:56 +0900 Subject: Liburl availability Message-ID: Hi, I am trying to compare the application's version number with the version number online at startup in order to give an option for upgrading. I use various liburl calls. I know that the liburl library must load before it is available, to quote the docs : When included in a standalone application, the Internet library is implemented as a hidden group and made available when the group receives its first openBackground message. During the first part of the application's startup process, before this message is sent, the libURLDownloadToFilecommand is not yet available. This may affect attempts to use this command in startup, preOpenStack, openStack, or preOpenCardhandlers in the main stack. Once the application has finished starting up, the library is available and the libURLDownloadToFilecommand can be used in any handler. Does this mean I cannot access it at any time during the startup process? I have tried 'wait' and 'send' but not successfully. So, what do you do use? Thanks Ron From ambassador at fourthworld.com Thu Aug 5 09:12:38 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 05 Aug 2010 06:12:38 -0700 Subject: [OT] SRS TruSurroundXT Message-ID: <4C5AB8C6.4030207@fourthworld.com> Richmond wrote: > What a @@@@@@; changed Mum and dad's Toshiba laptop over to Ubuntu 10.04 > LTS; runs > mind-blowingly faster. Nice to hear. I've had similar experiences on my Dell. > HOWEVER; have fallen foul of the sound card: an SRS TruSurroundXT . . > > Please!!!!! Otherwise I will have to do a complete restore of the clone > of their system I popped > on an external disk and all my hardwork configuring everything will go > down the tubes. Try posting in the forums at ubuntu.com. There's likely a driver available to fix that, and the good folks there are usually quick to turn up a link to such things. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From cszasz at mac.com Thu Aug 5 10:03:43 2010 From: cszasz at mac.com (charles61) Date: Thu, 5 Aug 2010 07:03:43 -0700 (PDT) Subject: E-mailing data file In-Reply-To: <1280926630470-2313404.post@n4.nabble.com> References: <1280926630470-2313404.post@n4.nabble.com> Message-ID: <1281017023803-2314908.post@n4.nabble.com> Thanks to everyone for your suggestions! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/E-mailing-data-file-tp2313404p2314908.html Sent from the Revolution - User mailing list archive at Nabble.com. From cszasz at mac.com Thu Aug 5 10:10:26 2010 From: cszasz at mac.com (charles61) Date: Thu, 5 Aug 2010 07:10:26 -0700 (PDT) Subject: Saving data in List Magic tables Message-ID: <1281017426329-2314915.post@n4.nabble.com> I have a standalone consisting of a splash stack and an app stack. I have set up a script that the user can insert some information into two tables - one for students and one for adults. These tables are on two different cards in my app stack. I have been testing my standalone on Windows XP where it was installed in the AllUsersAppData directory using an installer program. I tried the following script for the card that has the student list: on closeCard Save "School Report" as "\Documents and Settings\All Users\Application Data" end closeCard But this does not save the data in the two tables! Any suggestions would be greatly appreciated! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Saving-data-in-List-Magic-tables-tp2314915p2314915.html Sent from the Revolution - User mailing list archive at Nabble.com. From michael at michaelsmanias.com Thu Aug 5 10:20:42 2010 From: michael at michaelsmanias.com (Michael D Mays) Date: Thu, 5 Aug 2010 09:20:42 -0500 Subject: E-mailing data file In-Reply-To: References: <1280926630470-2313404.post@n4.nabble.com> Message-ID: <71D9A995-01E9-47C2-A613-A991F711B294@michaelsmanias.com> In a lot of places email is the only way. I have people whose parent corporation provides their internet connection. They have limited bandwidth and a less than stellar corporate IT. Emails of less than a few MB is the only way for them. Michael On Aug 4, 2010, at 10:40 AM, Andre Garzia wrote: > Charles, > > checkout libSMTP on revonline but I agree with Richard, it is easier to make > your standalone ping a server cgi with the data. Email is just to cumbersome > these days. > > Andre > > On Wed, Aug 4, 2010 at 9:57 AM, charles61 wrote: > >> >> I created an app that generates a data file. The files are saved on the >> user's hard drive. I want to add an e-mail button that would allow the >> user >> to send the file by e-mail by selecting the file within the app to send to >> another person who is using my program. How can I do that? >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/E-mailing-data-file-tp2313404p2313404.html >> Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Thu Aug 5 10:35:10 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 05 Aug 2010 07:35:10 -0700 Subject: Saving data in List Magic tables Message-ID: <4C5ACC1E.6030606@fourthworld.com> charles61 wrote: > I have a standalone consisting of a splash stack and an app stack. I have set > up a script that the user can insert some information into two tables - one > for students and one for adults. These tables are on two different cards in > my app stack. > > I have been testing my standalone on Windows XP where it was installed in > the AllUsersAppData directory using an installer program. I tried the > following script for the card that has the student list: > > on closeCard > Save "School Report" as "\Documents and Settings\All Users\Application > Data" > end closeCard > > But this does not save the data in the two tables! Any suggestions would be > greatly appreciated! When the unexpected happens, it's time for error-checking. One of the challenges of crafting apps is that when you're being diligent only about half your code will actually do what your app does, and the other half will be all the stuff you add to account for when things go wrong. :) In Rev, most error conditions are reported in "the result" immediately after a command fails, and for I/O and other system-related tasks you may find an additional OS-supplied error code using the sysError function. So to better understand what's happening there you may try adding that to your script. Also, by hard-wiring your paths they won't work on international systems where the spelling may differ, and may not survive changes to the OS if MS changes the names of those folders in a future version. The solution for that is Rev's specialFolderPath function. Rev provides a variety of constants you can pass to that function to get the path, and pretty much all OS constants provided by the OS vendor can be used as well -- Ken Ray's put together this comprehensive list: While Rev doesn't include a built-in constant for that, looking at Ken's list you can use the OS constant instead, which is "35". If you want that to be cross-platform you can use Ken's list to get the Application Support constant for OS X, but for now here's your code modified with specialFolderPath and including the error check which will hopefully help diagnose the issue. A ha! As I was rewriting your code I noticed that you're specifying only the folder and not the file name, so effectively you're asking Rev to try to turn the stack into a folder, which of course it can't do. The fix for that is included in this revision: on closeCard Save "School Report" as (specialFolderPath(35)&"/School Report.rev") if the result is not empty then answer error "An error occurred while saving the report: "&cr&\ the result & "("& sysError() &")" end if end closeCard Note that the ".rev" extension can be changed to anything else you feel might be appropriate for your app. Rev opens stacks based on their internal stucture, and a standalone is not required to use the .rev file name extension to work with stack files, allowing you to define your own document types. If you want to use a custom file name extension you may want to check to see if another program may be using it. That's not a comprehensive list (Microsoft doesn't maintain such an index), but it'll at least help avoid some of the more obvious conflicts. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From klaus at major.on-rev.com Thu Aug 5 10:46:50 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 5 Aug 2010 16:46:50 +0200 Subject: Saving data in List Magic tables In-Reply-To: <1281017426329-2314915.post@n4.nabble.com> References: <1281017426329-2314915.post@n4.nabble.com> Message-ID: <90083A08-9C65-4B14-A61A-39BDF1281895@major.on-rev.com> Hi Charles, additionally to Richard's answer, plese see my coments below your code. > I have a standalone consisting of a splash stack and an app stack. I have set > up a script that the user can insert some information into two tables - one > for students and one for adults. These tables are on two different cards in > my app stack. > > I have been testing my standalone on Windows XP where it was installed in > the AllUsersAppData directory using an installer program. I tried the > following script for the card that has the student list: > > on closeCard > Save "School Report" as "\Documents and Settings\All Users\Application > Data" > end closeCard 1. You only provide the STRING "School report" to the SAVE command! Probably you mean "save STACK "School report..."? 2. You only provided the target FOLDER and no filename! Hint: specialfolderpath(35) will give you that folder on all win versions! ... save STACK "School report" as (specialfolderpath(35) & "/" & "School report.rev" ## Richards debug code here... ... Hope that helps. > But this does not save the data in the two tables! Any suggestions would be > greatly appreciated! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From cszasz at mac.com Thu Aug 5 10:51:30 2010 From: cszasz at mac.com (charles61) Date: Thu, 5 Aug 2010 07:51:30 -0700 (PDT) Subject: Saving data in List Magic tables In-Reply-To: <4C5ACC1E.6030606@fourthworld.com> References: <1281017426329-2314915.post@n4.nabble.com> <4C5ACC1E.6030606@fourthworld.com> Message-ID: Richard, Thanks for pointing out my mistake and how to correct it! I was using Rev's Dictionary examples. And I agree with your comments about crafting an app! Regarding the .Rev extension, I had used the extension of .dat for a previous app, which consisted of only 8 cards. This was to make it harder for someone to try to open the app. The .dat extension worked great. But I was not successfully in using the .dat extension with my current project, which consists of 71 cards plus 18 customized dialogs. I got standalone errors in the exec recognizing the app stack. Thanks so much!! Charles Szasz cszasz at mac.com On Aug 5, 2010, at 10:35 AM, Richard Gaskin [via Runtime Revolution] wrote: > charles61 wrote: > > > I have a standalone consisting of a splash stack and an app stack. I have set > > up a script that the user can insert some information into two tables - one > > for students and one for adults. These tables are on two different cards in > > my app stack. > > > > I have been testing my standalone on Windows XP where it was installed in > > the AllUsersAppData directory using an installer program. I tried the > > following script for the card that has the student list: > > > > on closeCard > > Save "School Report" as "\Documents and Settings\All Users\Application > > Data" > > end closeCard > > > > But this does not save the data in the two tables! Any suggestions would be > > greatly appreciated! > > When the unexpected happens, it's time for error-checking. One of the > challenges of crafting apps is that when you're being diligent only > about half your code will actually do what your app does, and the other > half will be all the stuff you add to account for when things go wrong. :) > > In Rev, most error conditions are reported in "the result" immediately > after a command fails, and for I/O and other system-related tasks you > may find an additional OS-supplied error code using the sysError function. > > So to better understand what's happening there you may try adding that > to your script. > > Also, by hard-wiring your paths they won't work on international systems > where the spelling may differ, and may not survive changes to the OS if > MS changes the names of those folders in a future version. > > The solution for that is Rev's specialFolderPath function. Rev provides > a variety of constants you can pass to that function to get the path, > and pretty much all OS constants provided by the OS vendor can be used > as well -- Ken Ray's put together this comprehensive list: > > > While Rev doesn't include a built-in constant for that, looking at Ken's > list you can use the OS constant instead, which is "35". > > If you want that to be cross-platform you can use Ken's list to get the > Application Support constant for OS X, but for now here's your code > modified with specialFolderPath and including the error check which will > hopefully help diagnose the issue. > > A ha! As I was rewriting your code I noticed that you're specifying > only the folder and not the file name, so effectively you're asking Rev > to try to turn the stack into a folder, which of course it can't do. > The fix for that is included in this revision: > > on closeCard > Save "School Report" as (specialFolderPath(35)&"/School Report.rev") > if the result is not empty then > answer error "An error occurred while saving the report: "&cr&\ > the result & "("& sysError() &")" > end if > end closeCard > > Note that the ".rev" extension can be changed to anything else you feel > might be appropriate for your app. Rev opens stacks based on their > internal stucture, and a standalone is not required to use the .rev file > name extension to work with stack files, allowing you to define your own > document types. > > If you want to use a custom file name extension you may want to check > to see if another program may be using it. That's > not a comprehensive list (Microsoft doesn't maintain such an index), but > it'll at least help avoid some of the more obvious conflicts. > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > View message @ http://runtime-revolution.278305.n4.nabble.com/Saving-data-in-List-Magic-tables-tp2314915p2314948.html > To unsubscribe from Saving data in List Magic tables, click here. > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Saving-data-in-List-Magic-tables-tp2314915p2314965.html Sent from the Revolution - User mailing list archive at Nabble.com. From cszasz at mac.com Thu Aug 5 10:52:30 2010 From: cszasz at mac.com (charles61) Date: Thu, 5 Aug 2010 07:52:30 -0700 (PDT) Subject: Saving data in List Magic tables In-Reply-To: <90083A08-9C65-4B14-A61A-39BDF1281895@major.on-rev.com> References: <1281017426329-2314915.post@n4.nabble.com> <90083A08-9C65-4B14-A61A-39BDF1281895@major.on-rev.com> Message-ID: <17A73652-2302-4190-95EC-3DC77D697B9B@mac.com> Klaus, I appreciate your comments along with Richard's. Thanks so much! Charles Szasz cszasz at mac.com On Aug 5, 2010, at 10:47 AM, Klaus on-rev [via Runtime Revolution] wrote: > Hi Charles, > > additionally to Richard's answer, plese see my coments below your code. > > > I have a standalone consisting of a splash stack and an app stack. I have set > > up a script that the user can insert some information into two tables - one > > for students and one for adults. These tables are on two different cards in > > my app stack. > > > > I have been testing my standalone on Windows XP where it was installed in > > the AllUsersAppData directory using an installer program. I tried the > > following script for the card that has the student list: > > > > on closeCard > > Save "School Report" as "\Documents and Settings\All Users\Application > > Data" > > end closeCard > > 1. You only provide the STRING "School report" to the SAVE command! > Probably you mean "save STACK "School report..."? > > 2. You only provided the target FOLDER and no filename! > Hint: specialfolderpath(35) will give you that folder on all win versions! > ... > save STACK "School report" as (specialfolderpath(35) & "/" & "School report.rev" > ## Richards debug code here... > ... > > Hope that helps. > > > But this does not save the data in the two tables! Any suggestions would be > > greatly appreciated! > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > [hidden email] > > _______________________________________________ > use-revolution mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > View message @ http://runtime-revolution.278305.n4.nabble.com/Saving-data-in-List-Magic-tables-tp2314915p2314959.html > To unsubscribe from Saving data in List Magic tables, click here. > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Saving-data-in-List-Magic-tables-tp2314915p2314966.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Thu Aug 5 10:54:12 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 05 Aug 2010 07:54:12 -0700 Subject: E-mailing data file Message-ID: <4C5AD094.2080508@fourthworld.com> Michael D Mays wrote: > In a lot of places email is the only way. I have people whose > parent corporation provides their internet connection. They > have limited bandwidth and a less than stellar corporate IT. > Emails of less than a few MB is the only way for them. Unless I misunderstood the original request, this isn't a question of bandwidth but merely of finding a reliable way to send the message. The mailto: protocol is often used for such things, and in many cases will open the user's default email client with a preformatted message ready to send. The problem with mailto is that it's not reliable on Windows systems if there's any risk that the total URL string passed to it may exceed 512 characters -- see the first comment at: Complicating things further, this limit appears to vary between different versions of Windows and/or Outlook (I've seen some systems where lengths up to 2048 are accepted, but even that's kinda small for sending logs). When that limit is exceeded, in most cases (but again, this is not consistently implemented) the OS will simply fail to open the client at all. Faced with that unpredictable limit, mailto is only useful on Windows when you know the message will be very short. So instead, we need to explore other options, and CGI is a great one. With a CGI you use the same bandwidth, since the message isn't any longer regardless how it's sent. But using a CGI to handle the message you no longer give up control over the message length, provided you send it with POST rather than GET (well, technically speaking some hosts may impose limits on POST data length, but usually those limits are so large they won't come into play for most common uses). In fact, using a CGI you can send the same message in much a smaller data chunk using Rev's built-in gzip compression: post compress(tMyData) to url "http://mydomain.com/cgi-bin/myscript.cgi" Gzip compression works wonders on text, often reducing its length by as much as 40% and sometimes as high as 70% depending on the content. On the receiving end, the CGI script can get the POST data, run it through Rev's decompress function, and either email it to you, or write it to a file you can pick up with FTP, or any number of other options. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From cszasz at mac.com Thu Aug 5 10:59:05 2010 From: cszasz at mac.com (charles61) Date: Thu, 5 Aug 2010 07:59:05 -0700 (PDT) Subject: E-mailing data file In-Reply-To: <4C5AD094.2080508@fourthworld.com> References: <1280926630470-2313404.post@n4.nabble.com> <4C5AD094.2080508@fourthworld.com> Message-ID: <6929B0CC-1D2A-4667-B01E-DA45C8A2ABF7@mac.com> Richard, Wow! I really appreciate your suggestions on e-mailing data. This is something I hope to add on to my app after it is deployed. I don't have any experience with CGI. So thanks again!!! Charles Szasz cszasz at mac.com On Aug 5, 2010, at 10:54 AM, Richard Gaskin [via Runtime Revolution] wrote: > Michael D Mays wrote: > > > In a lot of places email is the only way. I have people whose > > parent corporation provides their internet connection. They > > have limited bandwidth and a less than stellar corporate IT. > > Emails of less than a few MB is the only way for them. > > Unless I misunderstood the original request, this isn't a question of > bandwidth but merely of finding a reliable way to send the message. > > The mailto: protocol is often used for such things, and in many cases > will open the user's default email client with a preformatted message > ready to send. > > The problem with mailto is that it's not reliable on Windows systems if > there's any risk that the total URL string passed to it may exceed 512 > characters -- see the first comment at: > > > Complicating things further, this limit appears to vary between > different versions of Windows and/or Outlook (I've seen some systems > where lengths up to 2048 are accepted, but even that's kinda small for > sending logs). > > When that limit is exceeded, in most cases (but again, this is not > consistently implemented) the OS will simply fail to open the client at all. > > Faced with that unpredictable limit, mailto is only useful on Windows > when you know the message will be very short. > > So instead, we need to explore other options, and CGI is a great one. > > With a CGI you use the same bandwidth, since the message isn't any > longer regardless how it's sent. > > But using a CGI to handle the message you no longer give up control over > the message length, provided you send it with POST rather than GET > (well, technically speaking some hosts may impose limits on POST data > length, but usually those limits are so large they won't come into play > for most common uses). > > In fact, using a CGI you can send the same message in much a smaller > data chunk using Rev's built-in gzip compression: > > post compress(tMyData) to url "http://mydomain.com/cgi-bin/myscript.cgi" > > Gzip compression works wonders on text, often reducing its length by as > much as 40% and sometimes as high as 70% depending on the content. > > On the receiving end, the CGI script can get the POST data, run it > through Rev's decompress function, and either email it to you, or write > it to a file you can pick up with FTP, or any number of other options. > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > View message @ http://runtime-revolution.278305.n4.nabble.com/E-mailing-data-file-tp2313404p2314969.html > To unsubscribe from E-mailing data file, click here. > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/E-mailing-data-file-tp2313404p2314978.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Thu Aug 5 11:00:49 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 05 Aug 2010 08:00:49 -0700 Subject: Saving data in List Magic tables Message-ID: <4C5AD221.60501@fourthworld.com> charles61 wrote: > Regarding the .Rev extension, I had used the extension of .dat for > a previous app, which consisted of only 8 cards. This was to make > it harder for someone to try to open the app. The .dat extension > worked great. But I was not successfully in using the .dat extension > with my current project, which consists of 71 cards plus 18 > customized dialogs. I got standalone errors in the exec recognizing > the app stack. FWIW I use ".dat" often and it seems to work as well as any other file name extension. If the standalone has trouble opening the file there must be something else at play beyond the file name. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From ambassador at fourthworld.com Thu Aug 5 11:07:33 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 05 Aug 2010 08:07:33 -0700 Subject: E-mailing data file Message-ID: <4C5AD3B5.7000206@fourthworld.com> charles61 wrote: > Wow! I really appreciate your suggestions on e-mailing data. > This is something I hope to add on to my app after it is > deployed. I don't have any experience with CGI. So thanks again!!! Charles, your life is about to change. :) Getting started with CGIs can be daunting at first because in many ways it's quite different from writing in a desktop app. But once you get the hang of it and you've ironed out all your 500 errors (yes, you'll have them, but most are caused by only three issues so when you encounter 'em just post here and we'll help you sort 'em out) you'll have all sorts of ideas for ways you can use CGIs. Pretty soon you'll be the master of your server, able to have it do your bidding when called from your stacks or your browser. It'll open many new worlds of discovery and personal achievement. I can't stress enough how helpful Jacque's tutorial is for getting started with CGIs: You're about to have a very good time. Let us know how it goes. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From cszasz at mac.com Thu Aug 5 11:09:52 2010 From: cszasz at mac.com (charles61) Date: Thu, 5 Aug 2010 08:09:52 -0700 (PDT) Subject: E-mailing data file In-Reply-To: <4C5AD3B5.7000206@fourthworld.com> References: <1280926630470-2313404.post@n4.nabble.com> <4C5AD3B5.7000206@fourthworld.com> Message-ID: <4AF23E5A-014D-4EDA-8440-DEF749A43B1B@mac.com> Richard, Thanks and I will check Jacque's tutorial for CGIs! Charles Szasz cszasz at mac.com On Aug 5, 2010, at 11:08 AM, Richard Gaskin [via Runtime Revolution] wrote: > charles61 wrote: > > > Wow! I really appreciate your suggestions on e-mailing data. > > This is something I hope to add on to my app after it is > > deployed. I don't have any experience with CGI. So thanks again!!! > > Charles, your life is about to change. :) > > Getting started with CGIs can be daunting at first because in many ways > it's quite different from writing in a desktop app. > > But once you get the hang of it and you've ironed out all your 500 > errors (yes, you'll have them, but most are caused by only three issues > so when you encounter 'em just post here and we'll help you sort 'em > out) you'll have all sorts of ideas for ways you can use CGIs. > > Pretty soon you'll be the master of your server, able to have it do your > bidding when called from your stacks or your browser. It'll open many > new worlds of discovery and personal achievement. > > I can't stress enough how helpful Jacque's tutorial is for getting > started with CGIs: > > > You're about to have a very good time. Let us know how it goes. > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > View message @ http://runtime-revolution.278305.n4.nabble.com/E-mailing-data-file-tp2313404p2314990.html > To unsubscribe from E-mailing data file, click here. > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/E-mailing-data-file-tp2313404p2314993.html Sent from the Revolution - User mailing list archive at Nabble.com. From cszasz at mac.com Thu Aug 5 11:11:03 2010 From: cszasz at mac.com (charles61) Date: Thu, 5 Aug 2010 08:11:03 -0700 (PDT) Subject: Saving data in List Magic tables In-Reply-To: <4C5AD221.60501@fourthworld.com> References: <1281017426329-2314915.post@n4.nabble.com> <4C5AD221.60501@fourthworld.com> Message-ID: <86CAF2AE-4EA9-4936-AEA5-96F0D157A9C5@mac.com> Richard, I check the standalones setting and found for the Mac, .rev is being used. I will uncheck that and try using .dat again. Thanks! Charles Szasz cszasz at mac.com On Aug 5, 2010, at 11:00 AM, Richard Gaskin [via Runtime Revolution] wrote: > charles61 wrote: > > > Regarding the .Rev extension, I had used the extension of .dat for > > a previous app, which consisted of only 8 cards. This was to make > > it harder for someone to try to open the app. The .dat extension > > worked great. But I was not successfully in using the .dat extension > > with my current project, which consists of 71 cards plus 18 > > customized dialogs. I got standalone errors in the exec recognizing > > the app stack. > > FWIW I use ".dat" often and it seems to work as well as any other file > name extension. > > If the standalone has trouble opening the file there must be something > else at play beyond the file name. > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > View message @ http://runtime-revolution.278305.n4.nabble.com/Saving-data-in-List-Magic-tables-tp2314915p2314981.html > To unsubscribe from Saving data in List Magic tables, click here. > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Saving-data-in-List-Magic-tables-tp2314915p2314997.html Sent from the Revolution - User mailing list archive at Nabble.com. From michael at michaelsmanias.com Thu Aug 5 11:12:00 2010 From: michael at michaelsmanias.com (Michael D Mays) Date: Thu, 5 Aug 2010 10:12:00 -0500 Subject: E-mailing data file In-Reply-To: <4C5AD094.2080508@fourthworld.com> References: <4C5AD094.2080508@fourthworld.com> Message-ID: I think you misunderstood my comment. And reading Charles comments I didn't think he was wanting to use mailto (cgi stuff) rather he was wanting a solution more along revMail. Email is not the best solution but many times it is more than adequate. Michael On Aug 5, 2010, at 9:54 AM, Richard Gaskin wrote: > Michael D Mays wrote: > > > In a lot of places email is the only way. I have people whose > > parent corporation provides their internet connection. They > > have limited bandwidth and a less than stellar corporate IT. > > Emails of less than a few MB is the only way for them. > > Unless I misunderstood the original request, From cszasz at mac.com Thu Aug 5 11:19:29 2010 From: cszasz at mac.com (charles61) Date: Thu, 5 Aug 2010 08:19:29 -0700 (PDT) Subject: Saving data in List Magic tables In-Reply-To: <4C5ACC1E.6030606@fourthworld.com> References: <1281017426329-2314915.post@n4.nabble.com> <4C5ACC1E.6030606@fourthworld.com> Message-ID: Richard, What is the best location for an app to be installed on OSX? Charles Szasz cszasz at mac.com On Aug 5, 2010, at 10:35 AM, Richard Gaskin [via Runtime Revolution] wrote: > charles61 wrote: > > > I have a standalone consisting of a splash stack and an app stack. I have set > > up a script that the user can insert some information into two tables - one > > for students and one for adults. These tables are on two different cards in > > my app stack. > > > > I have been testing my standalone on Windows XP where it was installed in > > the AllUsersAppData directory using an installer program. I tried the > > following script for the card that has the student list: > > > > on closeCard > > Save "School Report" as "\Documents and Settings\All Users\Application > > Data" > > end closeCard > > > > But this does not save the data in the two tables! Any suggestions would be > > greatly appreciated! > > When the unexpected happens, it's time for error-checking. One of the > challenges of crafting apps is that when you're being diligent only > about half your code will actually do what your app does, and the other > half will be all the stuff you add to account for when things go wrong. :) > > In Rev, most error conditions are reported in "the result" immediately > after a command fails, and for I/O and other system-related tasks you > may find an additional OS-supplied error code using the sysError function. > > So to better understand what's happening there you may try adding that > to your script. > > Also, by hard-wiring your paths they won't work on international systems > where the spelling may differ, and may not survive changes to the OS if > MS changes the names of those folders in a future version. > > The solution for that is Rev's specialFolderPath function. Rev provides > a variety of constants you can pass to that function to get the path, > and pretty much all OS constants provided by the OS vendor can be used > as well -- Ken Ray's put together this comprehensive list: > > > While Rev doesn't include a built-in constant for that, looking at Ken's > list you can use the OS constant instead, which is "35". > > If you want that to be cross-platform you can use Ken's list to get the > Application Support constant for OS X, but for now here's your code > modified with specialFolderPath and including the error check which will > hopefully help diagnose the issue. > > A ha! As I was rewriting your code I noticed that you're specifying > only the folder and not the file name, so effectively you're asking Rev > to try to turn the stack into a folder, which of course it can't do. > The fix for that is included in this revision: > > on closeCard > Save "School Report" as (specialFolderPath(35)&"/School Report.rev") > if the result is not empty then > answer error "An error occurred while saving the report: "&cr&\ > the result & "("& sysError() &")" > end if > end closeCard > > Note that the ".rev" extension can be changed to anything else you feel > might be appropriate for your app. Rev opens stacks based on their > internal stucture, and a standalone is not required to use the .rev file > name extension to work with stack files, allowing you to define your own > document types. > > If you want to use a custom file name extension you may want to check > to see if another program may be using it. That's > not a comprehensive list (Microsoft doesn't maintain such an index), but > it'll at least help avoid some of the more obvious conflicts. > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > View message @ http://runtime-revolution.278305.n4.nabble.com/Saving-data-in-List-Magic-tables-tp2314915p2314948.html > To unsubscribe from Saving data in List Magic tables, click here. > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Saving-data-in-List-Magic-tables-tp2314915p2315009.html Sent from the Revolution - User mailing list archive at Nabble.com. From klaus at major.on-rev.com Thu Aug 5 11:27:12 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 5 Aug 2010 17:27:12 +0200 Subject: Saving data in List Magic tables In-Reply-To: References: <1281017426329-2314915.post@n4.nabble.com> <4C5ACC1E.6030606@fourthworld.com> Message-ID: Hi Charles, > Richard, > > What is the best location for an app to be installed on OSX? The "Application" folder. Get it with: specialfolderpath("apps") > Charles Szasz > cszasz at mac.com > Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From ambassador at fourthworld.com Thu Aug 5 11:38:15 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 05 Aug 2010 08:38:15 -0700 Subject: E-mailing data file Message-ID: <4C5ADAE7.5010402@fourthworld.com> Michael D Mays wrote: > I think you misunderstood my comment. And reading Charles comments > I didn't think he was wanting to use mailto (cgi stuff) rather he > was wanting a solution more along revMail. Email is not the best > solution but many times it is more than adequate. I think I'm still missing something because RevMail is just a wrapper for mailto. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From cszasz at mac.com Thu Aug 5 11:49:08 2010 From: cszasz at mac.com (charles61) Date: Thu, 5 Aug 2010 08:49:08 -0700 (PDT) Subject: Saving data in List Magic tables In-Reply-To: <4C5ACC1E.6030606@fourthworld.com> References: <1281017426329-2314915.post@n4.nabble.com> <4C5ACC1E.6030606@fourthworld.com> Message-ID: <1B9CC75A-967C-4EF9-90A1-7A083421E62B@mac.com> Richard, After going to Key Ray's site, I found "asup" as code for Application Support constant for OS X. Is this the best place to put your app when you install it on an user's OS X computer? Charles Szasz cszasz at mac.com On Aug 5, 2010, at 10:35 AM, Richard Gaskin [via Runtime Revolution] wrote: > charles61 wrote: > > > I have a standalone consisting of a splash stack and an app stack. I have set > > up a script that the user can insert some information into two tables - one > > for students and one for adults. These tables are on two different cards in > > my app stack. > > > > I have been testing my standalone on Windows XP where it was installed in > > the AllUsersAppData directory using an installer program. I tried the > > following script for the card that has the student list: > > > > on closeCard > > Save "School Report" as "\Documents and Settings\All Users\Application > > Data" > > end closeCard > > > > But this does not save the data in the two tables! Any suggestions would be > > greatly appreciated! > > When the unexpected happens, it's time for error-checking. One of the > challenges of crafting apps is that when you're being diligent only > about half your code will actually do what your app does, and the other > half will be all the stuff you add to account for when things go wrong. :) > > In Rev, most error conditions are reported in "the result" immediately > after a command fails, and for I/O and other system-related tasks you > may find an additional OS-supplied error code using the sysError function. > > So to better understand what's happening there you may try adding that > to your script. > > Also, by hard-wiring your paths they won't work on international systems > where the spelling may differ, and may not survive changes to the OS if > MS changes the names of those folders in a future version. > > The solution for that is Rev's specialFolderPath function. Rev provides > a variety of constants you can pass to that function to get the path, > and pretty much all OS constants provided by the OS vendor can be used > as well -- Ken Ray's put together this comprehensive list: > > > While Rev doesn't include a built-in constant for that, looking at Ken's > list you can use the OS constant instead, which is "35". > > If you want that to be cross-platform you can use Ken's list to get the > Application Support constant for OS X, but for now here's your code > modified with specialFolderPath and including the error check which will > hopefully help diagnose the issue. > > A ha! As I was rewriting your code I noticed that you're specifying > only the folder and not the file name, so effectively you're asking Rev > to try to turn the stack into a folder, which of course it can't do. > The fix for that is included in this revision: > > on closeCard > Save "School Report" as (specialFolderPath(35)&"/School Report.rev") > if the result is not empty then > answer error "An error occurred while saving the report: "&cr&\ > the result & "("& sysError() &")" > end if > end closeCard > > Note that the ".rev" extension can be changed to anything else you feel > might be appropriate for your app. Rev opens stacks based on their > internal stucture, and a standalone is not required to use the .rev file > name extension to work with stack files, allowing you to define your own > document types. > > If you want to use a custom file name extension you may want to check > to see if another program may be using it. That's > not a comprehensive list (Microsoft doesn't maintain such an index), but > it'll at least help avoid some of the more obvious conflicts. > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > View message @ http://runtime-revolution.278305.n4.nabble.com/Saving-data-in-List-Magic-tables-tp2314915p2314948.html > To unsubscribe from Saving data in List Magic tables, click here. > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Saving-data-in-List-Magic-tables-tp2314915p2315052.html Sent from the Revolution - User mailing list archive at Nabble.com. From michael at michaelsmanias.com Thu Aug 5 11:59:04 2010 From: michael at michaelsmanias.com (Michael D Mays) Date: Thu, 5 Aug 2010 10:59:04 -0500 Subject: E-mailing data file In-Reply-To: <4C5ADAE7.5010402@fourthworld.com> References: <4C5ADAE7.5010402@fourthworld.com> Message-ID: I think were both wrong. revMail uses the user's email program to generate an email. The user then can send the email from their email program. It seems like I used Rev some years back to send email via SMTP. If not it was with that other cross platform software. Sorry, Michael On Aug 5, 2010, at 10:38 AM, Richard Gaskin wrote: > Michael D Mays wrote: > > > I think you misunderstood my comment. And reading Charles comments > > I didn't think he was wanting to use mailto (cgi stuff) rather he > > was wanting a solution more along revMail. Email is not the best > > solution but many times it is more than adequate. > > I think I'm still missing something because RevMail is just a wrapper for mailto. From ambassador at fourthworld.com Thu Aug 5 12:24:52 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 05 Aug 2010 09:24:52 -0700 Subject: E-mailing data file Message-ID: <4C5AE5D4.2040906@fourthworld.com> Michael D Mays wrote: > I think were both wrong. revMail uses the user's email program > to generate an email. The user then can send the email from > their email program. Right: that's how the mailto protocol is usually handled on most systems, and unfortunately the way Microsoft handles it is unpredictable for all but the shortest messages. > It seems like I used Rev some years back to send email via SMTP. > If not it was with that other cross platform software. There are a few SMTP libs floating around in the Rev community, but using them may require a bit of diligence as it would require putting your account's SMTP authentication into the stack you hand out to clients. Some years ago Andre found a clever way to send email directly to one's SMTP server without such authentication, but as much as I love Andre I never felt comfortable with such a scheme to have tried it myself. For my own needs, a CGI has provided a good mix of flexibility with the data I'm sending, the size of the data (thanks to the compress function), and the security of knowing it can't be used by spammers to send email to other addresses. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From bobs at twft.com Thu Aug 5 12:33:58 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 5 Aug 2010 09:33:58 -0700 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: <555626.65785.qm@web65402.mail.ac4.yahoo.com> <9E263C41-D8DA-46D1-89A3-FEB7733AB1F7@twft.com> Message-ID: I suppose on a server that was unrestricted, that would be true. But I set it up to only accept connections from the IP's I want, and I have strong passwords protecting it. Wouldn't that be enough? Bob On Aug 4, 2010, at 1:20 PM, Jeff Massung wrote: > Never, ever, ever do this. ;-) > > It's basically asking for someone to hack - and nuke - your database out > from under you. You never want to connect to it remotely, and you never want > to send SQL commands to it directly. Use an intermediate layer. From ambassador at fourthworld.com Thu Aug 5 12:45:34 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 05 Aug 2010 09:45:34 -0700 Subject: Saving data in List Magic tables Message-ID: <4C5AEAAE.1080108@fourthworld.com> charles61 wrote: > After going to Key Ray's site, I found "asup" as code for Application > Support constant for OS X. Is this the best place to put your app > when you install it on an user's OS X computer? Now you've gone an opened up a can of worms, Charles! :) This question touches on a few issues, but let's handle the small one first: If you want to save DATA (not the app, we'll get to that in a moment) to the Application Data folder, you need to decide which one. There's a system-wide one in the System folder, and a user-specific one in the user's Library folder. The system-wide one can be useful for data which will be used by all users on that machine: get specialFolderPath("asup") There is no special constant for the user's App Support folder, but you can get it by concatenating the user folder with the App Support folder: get specialFolderPath("home")& specialFolderPath("asup") But that's for data only. And Apple gets somewhat specific about *which* data should go there - see this overview of "Where to put application files": In short, they suggest using the Preferences folder for prefs data, and Application Support for "any type of file that supports the application but is not required for the application to run." As for the application itself, it should go into the Applications folder on OS X and Program Files on Windows. But remember that modern versions of both OS X and Windows can restrict access to those folders for non-admin accounts. For Windows, any installer builder you use will allow an option for the user to elevate privileges to a level appropriate for installation, or if you're rolling your own you can use the option for setting User Access Control in Rev's Standalone Builder. On OS X, it's common to deliver apps in a DMG image file, so they user will be able to put it wherever they have permissions to do so. Once the app is installed, if the user doesn't have admin permissions the app may not be able to write to its own folder. So for things like your Reports stack, I would consider using Application Support on OS X and Application Data on Windows. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From bobs at twft.com Thu Aug 5 12:52:03 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 5 Aug 2010 09:52:03 -0700 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: <21E5DBEC-429F-4960-9130-C9D73BEB20A0@free.fr> References: <555626.65785.qm@web65402.mail.ac4.yahoo.com> <9E263C41-D8DA-46D1-89A3-FEB7733AB1F7@twft.com> <21E5DBEC-429F-4960-9130-C9D73BEB20A0@free.fr> Message-ID: Problem is, I don't want to learn how to do web CGI's yet. I got the On-Rev account for 2 reasons: It was an AWESOME deal, and it had an SQL server I could use for my development wherever I go. Bob On Aug 4, 2010, at 2:29 PM, Pierre Sahores wrote: > Please, follow the Andre's and Jeff's explainations as closely as possibe. It's realy important, if you don't want to get your dbs and, secondly, your accounts hacked in just some attempts. > > Best, Pierre From pete at mollysrevenge.com Thu Aug 5 12:56:29 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 5 Aug 2010 09:56:29 -0700 Subject: Saving data in List Magic tables In-Reply-To: <20100805162441.BB91C28843B@mail.runrev.com> References: <20100805162441.BB91C28843B@mail.runrev.com> Message-ID: <4B0DB699-32EE-454A-808A-BC6C1BBE7E40@mollysrevenge.com> Probably worth mentioning that, as pointed out to me by the good folks on this list, it's NOT a good idea to put any of your application's data files in the Applications folder if you plan on writing to them. Unless the Mac user is an administrator, he/she won't have write access to the Applications folder. I ended up creating a folder in the user's Documents folder to hold my data files (sqlite db, etc). And also a folder in the user's Library/Preferences folder to hold that user's preferences information. Pete Haworth On Aug 5, 2010, at 9:24 AM, use-revolution-request at lists.runrev.com wrote: > Message: 24 > Date: Thu, 5 Aug 2010 17:27:12 +0200 > From: Klaus on-rev > Subject: Re: Saving data in List Magic tables > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset=us-ascii > > Hi Charles, > >> Richard, >> >> What is the best location for an app to be installed on OSX? > > The "Application" folder. Get it with: > specialfolderpath("apps") > >> Charles Szasz >> cszasz at mac.com >> > > Best > > Klaus From cszasz at mac.com Thu Aug 5 12:58:14 2010 From: cszasz at mac.com (charles61) Date: Thu, 5 Aug 2010 09:58:14 -0700 (PDT) Subject: Saving data in List Magic tables In-Reply-To: <4C5AEAAE.1080108@fourthworld.com> References: <1281017426329-2314915.post@n4.nabble.com> <4C5AEAAE.1080108@fourthworld.com> Message-ID: Richard, I am sorry to open this can of worms! The apps I made in the past were ones that did only computations where no data was saved. And, recently I learned about creating, saving and reading Prefs! My current app is the only one that has LM tables where information have to be saved for these tables within the app itself. Otherwise, data files created by my app are saved as data files in documents. So, I will go ahead and use Application Support to put my app. Charles Szasz cszasz at mac.com On Aug 5, 2010, at 12:45 PM, Richard Gaskin [via Runtime Revolution] wrote: > charles61 wrote: > > > After going to Key Ray's site, I found "asup" as code for Application > > Support constant for OS X. Is this the best place to put your app > > when you install it on an user's OS X computer? > > Now you've gone an opened up a can of worms, Charles! :) > > This question touches on a few issues, but let's handle the small one first: > > If you want to save DATA (not the app, we'll get to that in a moment) to > the Application Data folder, you need to decide which one. There's a > system-wide one in the System folder, and a user-specific one in the > user's Library folder. > > The system-wide one can be useful for data which will be used by all > users on that machine: > > get specialFolderPath("asup") > > There is no special constant for the user's App Support folder, but you > can get it by concatenating the user folder with the App Support folder: > > get specialFolderPath("home")& specialFolderPath("asup") > > > But that's for data only. And Apple gets somewhat specific about > *which* data should go there - see this overview of "Where to put > application files": > > > In short, they suggest using the Preferences folder for prefs data, and > Application Support for "any type of file that supports the application > but is not required for the application to run." > > As for the application itself, it should go into the Applications folder > on OS X and Program Files on Windows. But remember that modern versions > of both OS X and Windows can restrict access to those folders for > non-admin accounts. > > For Windows, any installer builder you use will allow an option for the > user to elevate privileges to a level appropriate for installation, or > if you're rolling your own you can use the option for setting User > Access Control in Rev's Standalone Builder. > > On OS X, it's common to deliver apps in a DMG image file, so they user > will be able to put it wherever they have permissions to do so. > > Once the app is installed, if the user doesn't have admin permissions > the app may not be able to write to its own folder. So for things like > your Reports stack, I would consider using Application Support on OS X > and Application Data on Windows. > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > View message @ http://runtime-revolution.278305.n4.nabble.com/Saving-data-in-List-Magic-tables-tp2314915p2315129.html > To unsubscribe from Saving data in List Magic tables, click here. > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Saving-data-in-List-Magic-tables-tp2314915p2315148.html Sent from the Revolution - User mailing list archive at Nabble.com. From gregory.lypny at videotron.ca Thu Aug 5 13:07:04 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 05 Aug 2010 13:07:04 -0400 Subject: Keeping On-Rev Scripts and Data From Prying Eyes In-Reply-To: <20100805162441.992B128843C@mail.runrev.com> References: <20100805162441.992B128843C@mail.runrev.com> Message-ID: <2B114FC6-960D-47D2-9653-B72E43C949E7@videotron.ca> Excellent. Good advice. Although, I've started to mess around with it, and my page is not longer working. I think I must be entering the file paths incorrectly or I have the wrong permissions. Those are two things I will have to do some homework on. Just as a first attempt, I created a folder named scripts. It is at the same level in the hierarchy as public_html and has the same permissions (750). Inside of scripts are the revolution handler MyLookUp.irev and MyData.txt. Both have permissions 0644, which is what they had when they were located in public_html. In my web page, which remains in public_html, I have The line in the script that accesses the data is put url ("file:../scripts/MyData.txt") into tmpList Regards, Gregory Montreal On Thu, Aug 5, 2010, at 12:24 PM, use-revolution-request at lists.runrev.com wrote: > Best than putting them in the cgi-bin, i always prefer to set to be a read-only dir, each time we need to push data files away from eyes, it's mostly simple to put them inside a private htaccess/htpasswd protected directory (need login/passwd authentication on the web side ; full accessible to the irev scripts as a simple local filesystem directory). From bobs at twft.com Thu Aug 5 13:10:39 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 5 Aug 2010 10:10:39 -0700 Subject: Rodeo, revServer etc. In-Reply-To: References: Message-ID: Gawd! Enough already! Bob On Aug 5, 2010, at 4:04 AM, Chipp Walters wrote: > Sarah, > > I suspect the requests for you and Jerry to stay around won't do much good. It's clear you both are most hurt and outraged by this rabble, and besides, you all have much work to do! > > Perhaps it might be helpful to look at this from a different point of view? > > One might say there seems to be a convenient correlation between the claims of a buggy RevServer, the announcement "RODEO now creates standalones on the Mac" (thus clearly in defiance of Rev's license policy), and the abrupt switch to PHP. In fact, one might suspect they go hand in hand, as the posts are the one and the same. > > http://rodeoapps.posterous.com/24666755 > > One can certainly understand the business reason for the change to PHP. It makes perfect sense and is the only way around the license issue. It's too bad RunRev has been an unknowing willing participant in helping fund, provide customers for, publicize, and launch a direct competitor. > > Still, one can applaud the skill at how deftly this has all come about-- heck RODEO even had a newly branded website up the exact same day as the post. Perfect timing._______________________________________________ > 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 Thu Aug 5 13:17:24 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Aug 2010 12:17:24 -0500 Subject: Rodeo, revServer etc. In-Reply-To: References: Message-ID: <4C5AF224.2040107@hyperactivesw.com> On 8/5/10 6:04 AM, Chipp Walters wrote: > http://rodeoapps.posterous.com/24666755 I just went over to read that page, and it made me sad. It looks like the "RR is uncommuncative" sentiment is based at least partly on the fact that Andrew sent emails directly to Oliver privately, and Ollie did not respond. The reason he didn't respond is because by that time he was no longer with the company -- he was one of the engineers who left. Any email sent directly to Ollie would have gone into oblivion. No one would have seen it. If anyone writes to an engineer privately and does not get a response, I hope you'll resend your email to the support queue, where RR is diligent in following up with the appropriate people. In fact, that's usually the best way to get a response, because I know for a fact that at least one of our major players has an inbox that goes on practically to infinity, and he's unlikely to even notice anything you send. If this whole mess has happened because of that misunderstanding, it's very sad indeed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Aug 5 13:53:58 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Aug 2010 12:53:58 -0500 Subject: Rodeo, revServer etc. In-Reply-To: References: Message-ID: <4C5AFAB6.6000100@hyperactivesw.com> On 8/5/10 4:44 AM, Kevin Miller wrote: > On 05/08/2010 01:48, "Sarah Reichelt" wrote: >> >> Andre's tests have now demonstrated that the timeout issue is in the >> On-Rev server and not in revServer itself. This is excellent news, and >> I would still recommend revServer to anyone. But we were unable to get >> an answer from anyone at RunRev on this subject > > This is just patently untrue. Sarah, please see my other post -- Ollie was gone by the time Andrew wrote to him. No one saw the email. I'm feeling pretty bad about all this, it sounds like a huge misunderstanding. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From michael at michaelsmanias.com Thu Aug 5 13:57:19 2010 From: michael at michaelsmanias.com (Michael D Mays) Date: Thu, 5 Aug 2010 12:57:19 -0500 Subject: E-mailing data file In-Reply-To: <4C5AE5D4.2040906@fourthworld.com> References: <4C5AE5D4.2040906@fourthworld.com> Message-ID: <6BD352A6-5A1F-443B-AA0B-71DC56D807A7@michaelsmanias.com> Ignorant me. I just tried revMail on Windows and if the file is too big the email program isn't launched or if running the email isn't generated. I think Sarah Reichelt's POP3 and SMTP stacks at http://www.troz.net/rev/index.irev?category=Library#stacks are pretty good. Michael On Aug 5, 2010, at 11:24 AM, Richard Gaskin wrote: > Right: that's how the mailto protocol is usually handled on most systems, and unfortunately the way Microsoft handles it is unpredictable for all but the shortest messages. From massung at gmail.com Thu Aug 5 14:06:04 2010 From: massung at gmail.com (Jeff Massung) Date: Thu, 5 Aug 2010 13:06:04 -0500 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: <555626.65785.qm@web65402.mail.ac4.yahoo.com> <9E263C41-D8DA-46D1-89A3-FEB7733AB1F7@twft.com> <21E5DBEC-429F-4960-9130-C9D73BEB20A0@free.fr> Message-ID: On Thu, Aug 5, 2010 at 11:52 AM, Bob Sneidar wrote: > Problem is, I don't want to learn how to do web CGI's yet. I got the On-Rev > account for 2 reasons: It was an AWESOME deal, and it had an SQL server I > could use for my development wherever I go. > > Bob > Bob, There's nothing to "CGI". The term has gone through many iterations. But, think of it like this: When someone makes an HTTP request to your web server (typically through a browser, but not required), the web server accepts the incoming connection, looks at the REST command (typically a GET or POST) and then attempts to fulfill the request. Let's try an example: GET /index.html HTTP/1.1 That would be the command sent by the socket (with more information, but that's primarily the important part). Your web server (Apache w/ On-Rev) looks at the file requested and says, ".HTML files are just sent verbatim back." So it loads /index.html and sends all the data back over the connection. With CGI, all that's different is that there's a level of indirection added to the process. Let's perform a similar command: GET /register_user.irev HTTP/1.1 Now, the On-Rev Apache server is configured to understand that .IREV files don't get sent verbatim back to the client. Instead, they are opened, parsed, portions of them are executed, and the results are then sent on to the client. That "executing" part of the story is a form of CGI. In your register_user.irev script, you can then do something like this (pseudo-code as I don't remember all of it correctly from memory): You've just executed a database action using CGI and a REST API (note: REST is just a glorified way of saying "via HTTP"). There's a lot to begin thinking about (security-wise*) once you've gotten it working, but you can use the above to do all sorts of things. And best of all, you don't need a browser. You can just send commands through Rev if you wan: get url "http://.../register_user.irev?username=bob&password=luggage12345" Hope this helps, Jeff M. * I -highly- recommend that you take some time an look up DOS attacks on Wikipedia and follow the links there to all the other kinds of attacks you should worry about once a database is exposed to the world (DOS is just the most common). Some key ones: - Data validation - Captcha - IP validation From scott at tactilemedia.com Thu Aug 5 14:10:09 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 05 Aug 2010 11:10:09 -0700 Subject: E-mailing data file In-Reply-To: <6BD352A6-5A1F-443B-AA0B-71DC56D807A7@michaelsmanias.com> Message-ID: Also, what if someone uses a Web-based mail client and doesn't use an email app at all? I know several people who use gmail directly within a browser because they can get to it from anywhere there's an internet connection. Doesn't seem like mailto would be of any use here. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Michael D Mays wrote: > Ignorant me. I just tried revMail on Windows and if the file is too big the > email program isn't launched or if running the email isn't generated. > > I think Sarah Reichelt's POP3 and SMTP stacks at > http://www.troz.net/rev/index.irev?category=Library#stacks > are pretty good. > > Michael > > On Aug 5, 2010, at 11:24 AM, Richard Gaskin wrote: > >> Right: that's how the mailto protocol is usually handled on most systems, and >> unfortunately the way Microsoft handles it is unpredictable for all but the >> shortest messages. From heather at runrev.com Thu Aug 5 14:16:21 2010 From: heather at runrev.com (Heather Nagey) Date: Thu, 5 Aug 2010 19:16:21 +0100 Subject: Rodeo, revServer etc. In-Reply-To: References: Message-ID: Good heavens. I go away for a week and a war breaks out! I do apologise, I will never take another holiday! Sarah, you are not banned. What a crazy idea. I might suggest that this whole saga is a sad illustration of my mantra - if you want to know the answer to a question, write to support - support at runrev.com. Do not assume that posting an issue on the use-list will get you an answer. Do not assume that emailing a specific engineer will get you an answer - that engineer might not be in a position to reply. Do not assume that a specific member of the user community knows the correct answer. Do not email my personal email address, I might be away. Support is manned, even when I am on holiday. In fact, Andre did finally email support to ask about the revServer limits, and he did get a reply. Now perhaps we can all get back to discussing Rev, in all its forms, and how to get the best use out of it. In a friendly, non- confrontational manner if at all possible! Warm Regards to all Heather Heather Nagey Customer Services Manager http://www.runrev.com/ RunRev - Software construction for everyone follow me on twitter http://www.twitter.com/lainopik From bonnmike at gmail.com Thu Aug 5 14:34:07 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 5 Aug 2010 12:34:07 -0600 Subject: E-mailing data file In-Reply-To: References: <6BD352A6-5A1F-443B-AA0B-71DC56D807A7@michaelsmanias.com> Message-ID: Theres a little tool you can install (and I think you can adjust things manually yourself) so that mailto: will kick gmail in. It can be handy for those online links so that it will open a gmail compose window, but of all the people I know who use gmail I think only 2 of them have it set up this way. I'm not one of them either, so its a safe bet that in most cases your point is correct. In that situation, it would open an unconfigured "default" mail client which would indeed be useless. On Thu, Aug 5, 2010 at 12:10 PM, Scott Rossi wrote: > Also, what if someone uses a Web-based mail client and doesn't use an email > app at all? ?I know several people who use gmail directly within a browser > because they can get to it from anywhere there's an internet connection. > Doesn't seem like mailto would be of any use here. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > Recently, Michael D Mays wrote: > >> Ignorant me. I just tried revMail on Windows and if the file is too big the >> email program isn't launched or if running the email isn't generated. >> >> I think Sarah Reichelt's POP3 and SMTP stacks at >> ? http://www.troz.net/rev/index.irev?category=Library#stacks >> are pretty good. >> >> Michael >> >> On Aug 5, 2010, at 11:24 AM, Richard Gaskin wrote: >> >>> Right: that's how the mailto protocol is usually handled on most systems, and >>> unfortunately the way Microsoft handles it is unpredictable for all but the >>> shortest messages. > > > _______________________________________________ > 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 mcgrath3 at mac.com Thu Aug 5 14:42:14 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 05 Aug 2010 14:42:14 -0400 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: Message-ID: Bob, It's amazing how your scenario turned on the light bulb in my brain about this. Thanks... And bobs-yer-uncle I got it... Tom On Aug 4, 2010, at 1:22 PM, Bob Sneidar wrote: > Okay, so let's say I'm a script kiddie with a bug up my butt about your web server. I decide I am going to take it down. Now I'm smart enough to know that servers are multi-threaded, meaning they can host lots of connections and process threads to manage simultaneous connections. But what I am banking on is that your server does not have any limits on how long a process can stay open. > > So what I do is craft an application that continuously opens processes that will take forever. All the well behaved processes from other users will eventually finish, leaving one more process thread for my malicious app to gobble up. > > Eventually my malicious app gobbles up ALL the available processes, and bobs-yer-uncle I have your server by the short hairs. Oh but wait! Turns out you were not as dumb as moi hoped you were, and you set up policies on your web server that automatically terminated processes lasting longer than 30 seconds. Well I might be able to bog down your server, but I can't kill it. > > Oh but wait! You turned out to be MUCH smarter than I thought, and after my server terminates x number of processes from a particular address, you lock me out of your server! Okay, well I craft my program now to create HUGE processes, as big as I can get them. Oh but wait again! Your server has limits on how big a process can be! Dang! Yer a genius and I am screwed! > > Bob > > > On Aug 4, 2010, at 9:59 AM, wayne durden wrote: > >> Thanks Andre, and I am working through your article now as well. I get that >> it is per process but the part that isn't still clear to me is that the OS >> can be doing my intensive process for 30 seconds before closing it and also >> attending to another user simultaneously or not. I am under the impression >> there is still some resource slicing going on, I just don't have a concrete >> understanding... >> >> This is all very interesting to me because I am interested in moving a >> desktop app that processes datafiles up to 100,000 lines which can mean for >> each line comparing against the remainder (in reality sorts cust this down a >> great deal), but this can run for minutes on a desktop app and I have got to >> cut it down into asynchronous processing as per your article... >> >> Thanks! >> >> Wayne > > _______________________________________________ > 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 gmail.com Thu Aug 5 14:46:15 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 5 Aug 2010 11:46:15 -0700 (PDT) Subject: Copying binary files over a LAN using Rev Message-ID: <1281033975358-2315446.post@n4.nabble.com> Hi all, How could i use Rev to copy a binary file between stacks opened in two different computers over a local area network? In this LAN, every computer reports at least two different IP directions: The first IP (reported by IPconfig) are in the range 192.168.1.[0-255]. The second IP (visible from the web) are in the range from 201.229.179.[0-255] Every idea is welcome! Thanks in advance. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Copying-binary-files-over-a-LAN-using-Rev-tp2315446p2315446.html Sent from the Revolution - User mailing list archive at Nabble.com. From andre at andregarzia.com Thu Aug 5 14:50:55 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 5 Aug 2010 15:50:55 -0300 Subject: E-mailing data file In-Reply-To: <4C5AE5D4.2040906@fourthworld.com> References: <4C5AE5D4.2040906@fourthworld.com> Message-ID: On Thu, Aug 5, 2010 at 1:24 PM, Richard Gaskin wrote: > Some years ago Andre found a clever way to send email directly to one's > SMTP server without such authentication, but as much as I love Andre I never > felt comfortable with such a scheme to have tried it myself. smtp-raw.rev was a toy, it does not guarantee deliveries because some receiving SMTP servers will try a reverse DNS check on it and will spot the difference. Nowadays with spam and stuff it is even harder to play the MTA game. That thing should not be used into production unless you control the receiving SMTP server and knows how to configure it to allow your traffic thru (Which will open it to all kinds of nastiness anyway) CGI/RevServer is the way to go for such communications. -- http://www.andregarzia.com All We Do Is Code. From michael at michaelsmanias.com Thu Aug 5 15:12:53 2010 From: michael at michaelsmanias.com (Michael D Mays) Date: Thu, 5 Aug 2010 14:12:53 -0500 Subject: E-mailing data file In-Reply-To: References: Message-ID: But not everyone can get Gmail from anywhere. The example I sited in my first reply doesn't have access to Gmail they block it and a lot of other things/sites/ports. I can use SMTP and email a file from there. I don't use Rev for this and from what Andre says, one shouldn't. But if you don't have anything but email, then use email. Michael On Aug 5, 2010, at 1:10 PM, Scott Rossi wrote: > Also, what if someone uses a Web-based mail client and doesn't use an email > app at all? I know several people who use gmail directly within a browser > because they can get to it from anywhere there's an internet connection. > Doesn't seem like mailto would be of any use here. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > Recently, Michael D Mays wrote: > >> Ignorant me. I just tried revMail on Windows and if the file is too big the >> email program isn't launched or if running the email isn't generated. >> >> I think Sarah Reichelt's POP3 and SMTP stacks at >> http://www.troz.net/rev/index.irev?category=Library#stacks >> are pretty good. >> >> Michael >> >> On Aug 5, 2010, at 11:24 AM, Richard Gaskin wrote: >> >>> Right: that's how the mailto protocol is usually handled on most systems, and >>> unfortunately the way Microsoft handles it is unpredictable for all but the >>> shortest messages. > From mikekann at yahoo.com Thu Aug 5 15:21:05 2010 From: mikekann at yahoo.com (Michael Kann) Date: Thu, 5 Aug 2010 12:21:05 -0700 (PDT) Subject: Rodeo, revServer etc. In-Reply-To: Message-ID: <9201.52563.qm@web56708.mail.re3.yahoo.com> Heather, As usual, the men have made a mess of everything. Mike --- On Thu, 8/5/10, Heather Nagey wrote: From: Heather Nagey Subject: Re: Rodeo, revServer etc. To: "How to use Revolution" Date: Thursday, August 5, 2010, 1:16 PM Good heavens. I go away for a week and a war breaks out! I do apologise, I will never take another holiday! Sarah, you are not banned. What a crazy idea. I might suggest that this whole saga is a sad illustration of my mantra - if you want to know the answer to a question, write to support - support at runrev.com. Do not assume that posting an issue on the use-list will get you an answer. Do not assume that emailing a specific engineer will get you an answer - that engineer might not be in a position to reply. Do not assume that a specific member of the user community knows the correct answer. Do not email my personal email address, I might be away.? Support is manned, even when I am on holiday. In fact, Andre did finally email support to ask about the revServer limits, and he did get a reply. Now perhaps we can all get back to discussing Rev, in all its forms, and how to get the best use out of it. In a friendly, non-confrontational manner if at all possible! Warm Regards to all Heather Heather Nagey Customer Services Manager http://www.runrev.com/ RunRev - Software construction for everyone follow me on twitter http://www.twitter.com/lainopik _______________________________________________ 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 gbojsza at gmail.com Thu Aug 5 15:47:27 2010 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 5 Aug 2010 12:47:27 -0700 Subject: Rev and Microsoft COM methods Message-ID: Hello all, I am looking for guidance on using Rev to work with an application through Microsoft COM methods. Currently, I have found the methods currently being used with VB Script and I believe that there must be a way to do the same thing via Rev. Any help or examples is appreciated. thanks, Glen From mwieder at ahsoftware.net Thu Aug 5 17:26:32 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 5 Aug 2010 14:26:32 -0700 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: Message-ID: <40188474359.20100805142632@ahsoftware.net> Andre- Wednesday, August 4, 2010, 2:27:19 PM, you wrote: > Let me tell you that I once did something like that by accident on my own > test server. I had a recursive process that started spawning itself and > would not quit... in the end I had to reboot the damn vps. Thats why those > limits are important Awww... I've brought down bigger systems than that. Next time we sit down over a beer I'll tell you about the time I found out what the nohup command does... -- -Mark Wieder mwieder at ahsoftware.net From massung at gmail.com Thu Aug 5 17:36:33 2010 From: massung at gmail.com (Jeff Massung) Date: Thu, 5 Aug 2010 16:36:33 -0500 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: <40188474359.20100805142632@ahsoftware.net> References: <40188474359.20100805142632@ahsoftware.net> Message-ID: On Thu, Aug 5, 2010 at 4:26 PM, Mark Wieder wrote: > Andre- > > Wednesday, August 4, 2010, 2:27:19 PM, you wrote: > > > Let me tell you that I once did something like that by accident on my own > > test server. I had a recursive process that started spawning itself and > > would not quit... in the end I had to reboot the damn vps. Thats why > those > > limits are important > > Awww... I've brought down bigger systems than that. Next time we sit > down over a beer I'll tell you about the time I found out what the > nohup command does... > While we're bringing up old "war stories" and measuring lengths... I have a friend who works for Boeing. Just to give a little physics background, satellites are not in perfect orbit; they are continuously falling to the Earth and need course correcting every so often. This one particular satellite used a particular program to course correct and the thrust units were measured in thousands (2000, 3000, etc). A new hire who was working late got the call for a course correct went to the machine, typed in the appropriate thrust amount and which rockets and hit enter. Was prompted "are you sure?", hit yes, and bye-bye satellite. Un-beknowst to the new guy, the program implicitly did the multiplication of units for him (he was supposed to enter 2, 3, ...). Nothing like firing a few hundred million dollars out into space your first week on the job, eh? ;-) Jeff M. From benr_mc at cogapp.com Thu Aug 5 17:39:48 2010 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 05 Aug 2010 22:39:48 +0100 Subject: revVideoGrabber: stop preview doesn't hide video window Message-ID: <4C5B2FA4.5000103@cogapp.com> Docs for revStopPreviewingVideo says: "Stops showing input from a video camera in the video grabber window." "Use the revStopPreviewingVideo command to stop showing video input." "When you stop previewing video, the video grabber window shows a blank screen." When I try this (rev 4.0 or later, on MacOS X 10.6) it doesn't show a blank screen, instead I'm left with a still of the last frame. The only way to make it go away is to execute revCloseVideoGrabber. Is this a known bug? Am I doing something wrong? Does anyone else experience this, or conversely has anyone experience of it working as documented? TIA, Ben From bobs at twft.com Thu Aug 5 17:54:59 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 5 Aug 2010 14:54:59 -0700 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: <40188474359.20100805142632@ahsoftware.net> Message-ID: <3F3F5119-02D0-47E5-B0F4-ED4B267B5E13@twft.com> Eh heh. Sounds a lot like urban legend to me. ;-) Ima going to have to look that up. Still, not unbelievable. My first day in the fleet I talked a second class petty officer into troubleshooting a particularly nasty problem with the control console for the "billion" dollar missile radar I was supposed to be trained to work on. After looking at the signal flow, and determining that the problem had to be on a particular card, I said, "We gotta put the card on an extender and check the signal here and here." So he got the scope and I pulled the card, inserted the extended and plugged the card in. We powered up the console, but after about 10 seconds I said, "What's burning?" You guessed it. The card I had just plugged into the extender... BACKWARDS! It seems that while the card slots were keyed to prevent this very thing, the extender cards were not. Opps didn't go over well the next day with the work center manager. I didn't get to touch the equipment for the next six months. Bob On Aug 5, 2010, at 2:36 PM, Jeff Massung wrote: > While we're bringing up old "war stories" and measuring lengths... > > I have a friend who works for Boeing. Just to give a little physics > background, satellites are not in perfect orbit; they are continuously > falling to the Earth and need course correcting every so often. > > This one particular satellite used a particular program to course correct > and the thrust units were measured in thousands (2000, 3000, etc). A new > hire who was working late got the call for a course correct went to the > machine, typed in the appropriate thrust amount and which rockets and hit > enter. Was prompted "are you sure?", hit yes, and bye-bye satellite. > Un-beknowst to the new guy, the program implicitly did the multiplication of > units for him (he was supposed to enter 2, 3, ...). > > Nothing like firing a few hundred million dollars out into space your first > week on the job, eh? ;-) > > Jeff M. > _______________________________________________ > 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 massung at gmail.com Thu Aug 5 18:05:35 2010 From: massung at gmail.com (Jeff Massung) Date: Thu, 5 Aug 2010 17:05:35 -0500 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: <3F3F5119-02D0-47E5-B0F4-ED4B267B5E13@twft.com> References: <40188474359.20100805142632@ahsoftware.net> <3F3F5119-02D0-47E5-B0F4-ED4B267B5E13@twft.com> Message-ID: On Thu, Aug 5, 2010 at 4:54 PM, Bob Sneidar wrote: > Eh heh. Sounds a lot like urban legend to me. ;-) > Maybe, I'm just passing along the story as it was told to me (my friend does work at Boeing, although I have to take his word on the story). Regardless, it makes me chuckle every time I think about it. Yours does as well. :-) Jeff M. From mwieder at ahsoftware.net Thu Aug 5 18:11:53 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 5 Aug 2010 15:11:53 -0700 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: <3F3F5119-02D0-47E5-B0F4-ED4B267B5E13@twft.com> References: <40188474359.20100805142632@ahsoftware.net> <3F3F5119-02D0-47E5-B0F4-ED4B267B5E13@twft.com> Message-ID: <72191195062.20100805151153@ahsoftware.net> Bob- LOL... ...and there's nothing like plugging a *chip* into a socket backwards and watching it go flying across the room when you turn on the power... -- -Mark Wieder mwieder at ahsoftware.net From andre at andregarzia.com Thu Aug 5 18:12:33 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 5 Aug 2010 19:12:33 -0300 Subject: [RevServer tips] Spreading the load or why wise developers use asynchronous workflows In-Reply-To: References: <40188474359.20100805142632@ahsoftware.net> Message-ID: On Thu, Aug 5, 2010 at 6:36 PM, Jeff Massung wrote: > On Thu, Aug 5, 2010 at 4:26 PM, Mark Wieder > wrote: > > > Andre- > > > > Wednesday, August 4, 2010, 2:27:19 PM, you wrote: > > > > > Let me tell you that I once did something like that by accident on my > own > > > test server. I had a recursive process that started spawning itself and > > > would not quit... in the end I had to reboot the damn vps. Thats why > > those > > > limits are important > > > > Awww... I've brought down bigger systems than that. Next time we sit > > down over a beer I'll tell you about the time I found out what the > > nohup command does... > > > > > While we're bringing up old "war stories" and measuring lengths... > > I have a friend who works for Boeing. Just to give a little physics > background, satellites are not in perfect orbit; they are continuously > falling to the Earth and need course correcting every so often. > > This one particular satellite used a particular program to course correct > and the thrust units were measured in thousands (2000, 3000, etc). A new > hire who was working late got the call for a course correct went to the > machine, typed in the appropriate thrust amount and which rockets and hit > enter. Was prompted "are you sure?", hit yes, and bye-bye satellite. > Un-beknowst to the new guy, the program implicitly did the multiplication > of > units for him (he was supposed to enter 2, 3, ...). > > Nothing like firing a few hundred million dollars out into space your first > week on the job, eh? ;-) > > Jeff M. > Wow, I wish I could ballistically implant a satellite into my government presidential palace... Not counting the whole earth orbit thing, I have a similar story, while being a rookie student at engineering, we were "stationed" at a robotics lab as the university. We built a mechanical arm and hand that was supposed to pick a cup of coffee from a table without spilling it and put it into our robotic waiter (aka motorized skate board). This was in 1998, we used old 486 and 386 for our spare parts, we did not have enclosures for those machines, so they usually were naked motherboards on our tables while we were DOING SCIENCE or something similar. The arm control software was written in Pascal and for the servo control we would pass an integer to a function and after a quick sum it would move the little arm. One very wise guy wondered what would happen if he changed that + sign to a * sign... coffee ended up on top of the motherboard as the arm made a complete turn and manage to hit its own video card with the cup... not a million dollars loss but a waste of a 386 running minix... I've learned on that day never ever fiddle with magic numbers in software... and I was not the one doing the arm thing, I was just watching and exploding coffeemakers trying to hook them to my serial port. As they said: "Robotics is the art of combining physics, computer science, mechanics and large amounts of money into a machine that will gather huge amounts of information regarding its surroundings and then ignore it and drive into a wall." > _______________________________________________ > 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 wow at together.net Thu Aug 5 19:38:35 2010 From: wow at together.net (Richard Miller) Date: Thu, 05 Aug 2010 19:38:35 -0400 Subject: revVideoGrabber: stop preview doesn't hide video window In-Reply-To: <4C5B2FA4.5000103@cogapp.com> References: <4C5B2FA4.5000103@cogapp.com> Message-ID: <4C5B4B7B.1020005@together.net> Ben, We use the video grabber functions extensively in our software, but only on PC's (where it runs with adequate stability even for video grabs as long as 3-5 minutes). The PC side works much better than the Mac side. The issue you are running into on a Mac is a known bug. You're not doing anything wrong. But I've not found it a problem to use revCloseVIdeoGrabber as often as needed (on Mac or PC side)... because you are right in saying it is the only way to get rid of the preview image on a Mac. Richard Miller On 8/5/10 5:39 PM, Ben Rubinstein wrote: > Docs for revStopPreviewingVideo says: > "Stops showing input from a video camera in the video grabber window." > "Use the revStopPreviewingVideo command to stop showing video input." > "When you stop previewing video, the video grabber window shows a > blank screen." > > When I try this (rev 4.0 or later, on MacOS X 10.6) it doesn't show a > blank screen, instead I'm left with a still of the last frame. The > only way to make it go away is to execute revCloseVideoGrabber. > > Is this a known bug? Am I doing something wrong? Does anyone else > experience this, or conversely has anyone experience of it working as > documented? > > TIA, > > Ben > _______________________________________________ > 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 Thu Aug 5 20:05:25 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 6 Aug 2010 10:05:25 +1000 Subject: Rodeo, revServer etc. In-Reply-To: <9201.52563.qm@web56708.mail.re3.yahoo.com> References: <9201.52563.qm@web56708.mail.re3.yahoo.com> Message-ID: Hi All, I would like to thank people for the many messages of support and encouragement I have received, both on and off-list. It seems to have been decided that my post was not worthy of banishment, so I'm still here, although after the recent threads, I will confine myself to lurking for a while, to give myself time to recover. All the best, Sarah From peterwawood at gmail.com Thu Aug 5 20:45:31 2010 From: peterwawood at gmail.com (Peter W A Wood) Date: Fri, 6 Aug 2010 08:45:31 +0800 Subject: Rodeo, revServer etc. In-Reply-To: <4C5AF224.2040107@hyperactivesw.com> References: <4C5AF224.2040107@hyperactivesw.com> Message-ID: On 6 Aug 2010, at 01:17, J. Landman Gay wrote: > I know for a fact that at least one of our major players has an inbox that goes on practically to infinity, and he's unlikely to even notice anything you send. I think that buying him a copy of David Allen's Getting Things Done and taking his computers away from him for a day so that he will read it would be one of the best investments RunRev could make at this time. In fact, if RunRev can get him to read it, I'll happily buy the book for him. Regards Peter From chipp at chipp.com Thu Aug 5 20:53:19 2010 From: chipp at chipp.com (Chipp Walters) Date: Thu, 5 Aug 2010 19:53:19 -0500 Subject: A real problem with Prefs!! In-Reply-To: <1280838122299-2311755.post@n4.nabble.com> References: <1280796919323-2311179.post@n4.nabble.com> <79253805265.20100802180232@ahsoftware.net> <8B42B9F3-84EC-4D42-BEB9-FFF8DA17BFFF@mac.com> <116275111406.20100802235738@ahsoftware.net> <1280838122299-2311755.post@n4.nabble.com> Message-ID: Charles, I will sometimes have a getPrefsFolder() function. Something like: function getPrefsFolder get the effective filename of this stack set itemDel to "/" delete last item of it put "/" & "Prefs" after it If there is not a folder it then create folder it return it end getPrefsFolder HTH From andre at andregarzia.com Thu Aug 5 21:10:28 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 5 Aug 2010 22:10:28 -0300 Subject: Rodeo, revServer etc. In-Reply-To: References: <4C5AF224.2040107@hyperactivesw.com> Message-ID: I should get one of those as well. My inbox has more than three thousand unread emails... Sent from my iPad On Aug 5, 2010, at 9:45 PM, Peter W A Wood wrote: > On 6 Aug 2010, at 01:17, J. Landman Gay wrote: > >> I know for a fact that at least one of our major players has an inbox that goes on practically to infinity, and he's unlikely to even notice anything you send. > > I think that buying him a copy of David Allen's Getting Things Done and taking his computers away from him for a day so that he will read it would be one of the best investments RunRev could make at this time. In fact, if RunRev can get him to read it, I'll happily buy the book for him. > > Regards > > 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 jacque at hyperactivesw.com Thu Aug 5 21:33:24 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Aug 2010 20:33:24 -0500 Subject: Rodeo, revServer etc. In-Reply-To: References: <4C5AF224.2040107@hyperactivesw.com> Message-ID: <4C5B6664.4060603@hyperactivesw.com> On 8/5/10 7:45 PM, Peter W A Wood wrote: > On 6 Aug 2010, at 01:17, J. Landman Gay wrote: > >> I know for a fact that at least one of our major players has an >> inbox that goes on practically to infinity, and he's unlikely to >> even notice anything you send. > > I think that buying him a copy of David Allen's Getting Things Done > and taking his computers away from him for a day so that he will read > it would be one of the best investments RunRev could make at this > time. In fact, if RunRev can get him to read it, I'll happily buy the > book for him. I am fairly certain that if you take his computer away for even a few hours, his head will implode. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Aug 5 21:47:58 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Aug 2010 20:47:58 -0500 Subject: Rodeo, revServer etc. In-Reply-To: <4C5B6664.4060603@hyperactivesw.com> References: <4C5AF224.2040107@hyperactivesw.com> <4C5B6664.4060603@hyperactivesw.com> Message-ID: <4C5B69CE.3070307@hyperactivesw.com> On 8/5/10 8:33 PM, J. Landman Gay wrote: > On 8/5/10 7:45 PM, Peter W A Wood wrote: >> On 6 Aug 2010, at 01:17, J. Landman Gay wrote: >> >>> I know for a fact that at least one of our major players has an >>> inbox that goes on practically to infinity, and he's unlikely to >>> even notice anything you send. >> >> I think that buying him a copy of David Allen's Getting Things Done >> and taking his computers away from him for a day so that he will read >> it would be one of the best investments RunRev could make at this >> time. In fact, if RunRev can get him to read it, I'll happily buy the >> book for him. > > I am fairly certain that if you take his computer away for even a few > hours, his head will implode. > On second thought, he might read it if there's a translation available in another language. Is there one in C? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From peterwawood at gmail.com Thu Aug 5 21:50:22 2010 From: peterwawood at gmail.com (Peter W A Wood) Date: Fri, 6 Aug 2010 09:50:22 +0800 Subject: Rodeo, revServer etc. In-Reply-To: <4C5B6664.4060603@hyperactivesw.com> References: <4C5AF224.2040107@hyperactivesw.com> <4C5B6664.4060603@hyperactivesw.com> Message-ID: On 6 Aug 2010, at 09:33, J. Landman Gay wrote: > I am fairly certain that if you take his computer away for even a few hours, his head will implode. A neural de-tox. Perfect! ;-) Peter From revdev at pdslabs.net Fri Aug 6 00:13:02 2010 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 05 Aug 2010 21:13:02 -0700 Subject: Copying binary files over a LAN using Rev In-Reply-To: <1281033975358-2315446.post@n4.nabble.com> References: <1281033975358-2315446.post@n4.nabble.com> Message-ID: <4C5B8BCE.2070604@pdslabs.net> First I assume each stack is running in its own execution session on the respective machines - both stacks are not running under the same copy of the engine on one machine. If that were true, both stacks would be running on the same machine, no? Given the above, I can think of 2 ways. 1) Set up a socket connection between the two stacks and write a TCP data stream from one to the other. If you do this, it might be a good idea to base64Encode the data before transferring it. And it would help the receiving machine know what to expect if line 1 of the data contains only a number which tells the total number of chars being transferred in lines 2 to the end of the data. Then the receiving computer can read the socket for 1 line, and then read for chars. When the data has been transferred, the receiving machine can base64Decode it and put it into url "binfile:". I believe that should work. 2) Open a socket connection between the two and transfer only a URL. Then the receiving machine could grab the file by its URL (that sounds painful!) and copy it over. This assumes the file whose URL was passed is sitting in a place on the sending machine that is accessible to the receiving one. 3) I bet there are other ways. Hope this helps - Phil Davis On 8/5/10 11:46 AM, Alejandro Tejada wrote: > Hi all, > > How could i use Rev to copy a binary file between > stacks opened in two different computers over a > local area network? > > In this LAN, every computer reports at least > two different IP directions: > The first IP (reported by IPconfig) are in the > range 192.168.1.[0-255]. > The second IP (visible from the web) are in > the range from 201.229.179.[0-255] > > Every idea is welcome! > Thanks in advance. > > Al > > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From kevin at runrev.com Fri Aug 6 04:40:59 2010 From: kevin at runrev.com (Kevin Miller) Date: Fri, 06 Aug 2010 09:40:59 +0100 Subject: Rodeo, revServer etc. In-Reply-To: Message-ID: On 06/08/2010 01:45, "Peter W A Wood" wrote: >> I know for a fact that at least one of our major players has an inbox that >> goes on practically to infinity, and he's unlikely to even notice anything >> you send. > > I think that buying him a copy of David Allen's Getting Things Done and taking > his computers away from him for a day so that he will read it would be one of > the best investments RunRev could make at this time. In fact, if RunRev can > get him to read it, I'll happily buy the book for him. Now that is just a fantastic book - I couldn't recommend it more strongly for anyone dealing with a big inbox and workload as long as your arm. I read it a few months ago and it has really helped me get more efficient. Wish I'd discovered it years back. There are a couple of other people here who could benefit from it, but all in good time - right now we need code written :) Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ RunRev - Software construction for everyone From scott at elementarysoftware.com Fri Aug 6 06:02:39 2010 From: scott at elementarysoftware.com (Scott Morrow) Date: Fri, 6 Aug 2010 03:02:39 -0700 Subject: DataGrid column update and button center Message-ID: <51450738-FF9A-4F7C-9E2B-4C3A86F5CA78@elementarysoftware.com> Two Data Grid questions: 1) I'm updating a single column of a Data Grid table. I can't discover any other way than to loop through each index. Would this be the accepted method? --- the code I'm using ------------------------------------------- put the dgData["false"] of grp "DataGrid 1" into tArray put 1 into tIndexCounter -- the column data might look like this as I'm setting the hilite of checkBox buttons put "true,true,false,true" into tNewColumnData repeat for each item tNewData in tNewColumnData put tNewData into tArray[tIndexCounter]["theColumnName"] add 1 to tIndexCounter end repeat set the dgData of grp "DataGrid 1" of stack "myStackName" to tArray --------------------------------------------------------------------- 2) I have a column of checkbox buttons. The column header is wider than the button(s) and I would like to be able to center the button(s) in the column. It seems like I should be able to do this (using the DataGrid inspector) by setting the dgColumnAlignment to "center" but I'm not having any luck. Any suggestions (hoping I don't need to switch to a "form" layout" : ) TIA Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com ------------------------------------------------------ From andre at andregarzia.com Fri Aug 6 09:06:22 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 6 Aug 2010 10:06:22 -0300 Subject: Rev and Microsoft COM methods In-Reply-To: References: Message-ID: Glen, Sorry for the delay. I am not a windows guy but I believe that you can use the same scripts from inside Rev with: do as vbscript check out: http://docs.runrev.com/Command/do (specially the part about alternateLanguages) Cheers andre On Thu, Aug 5, 2010 at 4:47 PM, Glen Bojsza wrote: > Hello all, > > I am looking for guidance on using Rev to work with an application through > Microsoft COM methods. > > Currently, I have found the methods currently being used with VB Script and > I believe that there must be a way to do the same thing via Rev. > > Any help or examples is appreciated. > > thanks, > > Glen > _______________________________________________ > 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 Aug 6 09:24:37 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 6 Aug 2010 10:24:37 -0300 Subject: Copying binary files over a LAN using Rev In-Reply-To: <4C5B8BCE.2070604@pdslabs.net> References: <1281033975358-2315446.post@n4.nabble.com> <4C5B8BCE.2070604@pdslabs.net> Message-ID: Alejandro, Check out my RevHTTPd, it is a pure transcript web server, you can embed it into your stacks and then serve files from there. http://andregarzia.com check RevOnRockets Andre On Fri, Aug 6, 2010 at 1:13 AM, Phil Davis wrote: > First I assume each stack is running in its own execution session on the > respective machines - both stacks are not running under the same copy of the > engine on one machine. If that were true, both stacks would be running on > the same machine, no? > > Given the above, I can think of 2 ways. > > 1) Set up a socket connection between the two stacks and write a TCP data > stream from one to the other. If you do this, it might be a good idea to > base64Encode the data before transferring it. And it would help the > receiving machine know what to expect if line 1 of the data contains only a > number which tells the total number of chars being transferred in lines 2 to > the end of the data. Then the receiving computer can read the socket for 1 > line, and then read for chars. When the data has been > transferred, the receiving machine can base64Decode it and put it into url > "binfile:". I believe that should work. > > 2) Open a socket connection between the two and transfer only a URL. Then > the receiving machine could grab the file by its URL (that sounds painful!) > and copy it over. This assumes the file whose URL was passed is sitting in a > place on the sending machine that is accessible to the receiving one. > > 3) I bet there are other ways. > > Hope this helps - > Phil Davis > > > > On 8/5/10 11:46 AM, Alejandro Tejada wrote: > >> Hi all, >> >> How could i use Rev to copy a binary file between >> stacks opened in two different computers over a >> local area network? >> >> In this LAN, every computer reports at least >> two different IP directions: >> The first IP (reported by IPconfig) are in the >> range 192.168.1.[0-255]. >> The second IP (visible from the web) are in >> the range from 201.229.179.[0-255] >> >> Every idea is welcome! >> Thanks in advance. >> >> Al >> >> >> > > -- > 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 > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Fri Aug 6 09:26:31 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 6 Aug 2010 10:26:31 -0300 Subject: E-mailing data file In-Reply-To: References: Message-ID: If you have gmail access then you have web access, then you have your web application access which is better. Automated Email is something that is hard to do well. Many of modern software will treat the automated piece as spam. It is cool for some kinds of notification but for crucial software reports I advise against. Andre On Thu, Aug 5, 2010 at 4:12 PM, Michael D Mays wrote: > But not everyone can get Gmail from anywhere. The example I sited in my > first reply doesn't have access to Gmail they block it and a lot of other > things/sites/ports. I can use SMTP and email a file from there. I don't use > Rev for this and from what Andre says, one shouldn't. > > But if you don't have anything but email, then use email. > > Michael > > On Aug 5, 2010, at 1:10 PM, Scott Rossi wrote: > > > Also, what if someone uses a Web-based mail client and doesn't use an > email > > app at all? I know several people who use gmail directly within a > browser > > because they can get to it from anywhere there's an internet connection. > > Doesn't seem like mailto would be of any use here. > > > > Regards, > > > > Scott Rossi > > Creative Director > > Tactile Media, UX Design > > > > > > Recently, Michael D Mays wrote: > > > >> Ignorant me. I just tried revMail on Windows and if the file is too big > the > >> email program isn't launched or if running the email isn't generated. > >> > >> I think Sarah Reichelt's POP3 and SMTP stacks at > >> http://www.troz.net/rev/index.irev?category=Library#stacks > >> are pretty good. > >> > >> Michael > >> > >> On Aug 5, 2010, at 11:24 AM, Richard Gaskin wrote: > >> > >>> Right: that's how the mailto protocol is usually handled on most > systems, and > >>> unfortunately the way Microsoft handles it is unpredictable for all but > the > >>> shortest messages. > > > > _______________________________________________ > 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 Aug 6 09:32:10 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 6 Aug 2010 10:32:10 -0300 Subject: Keeping On-Rev Scripts and Data From Prying Eyes In-Reply-To: <2B114FC6-960D-47D2-9653-B72E43C949E7@videotron.ca> References: <20100805162441.992B128843C@mail.runrev.com> <2B114FC6-960D-47D2-9653-B72E43C949E7@videotron.ca> Message-ID: Gregory, Checkout apache error_log, you may be facing some enforced policy here. Sometimes it will not allow you access files outside DOCUMENT_ROOT. If you want to keep your scripts outside of the prying eyes, just named them something .irev and place the data inside tags, they will be executed by apache before sending that that tag will vanish. Even if they manage to learn which file to call, they will not see anything. :-) I *love* little hacks! On Thu, Aug 5, 2010 at 2:07 PM, Gregory Lypny wrote: > Excellent. Good advice. Although, I've started to mess around with it, > and my page is not longer working. I think I must be entering the file > paths incorrectly or I have the wrong permissions. Those are two things I > will have to do some homework on. > > Just as a first attempt, I created a folder named scripts. It is at the > same level in the hierarchy as public_html and has the same permissions > (750). Inside of scripts are the revolution handler MyLookUp.irev and > MyData.txt. Both have permissions 0644, which is what they had when they > were located in public_html. > > In my web page, which remains in public_html, I have ../scripts/MyLookUp.irev ?> > > The line in the script that accesses the data is > > put url ("file:../scripts/MyData.txt") into tmpList > > > Regards, > > Gregory > Montreal > > > > On Thu, Aug 5, 2010, at 12:24 PM, use-revolution-request at lists.runrev.comwrote: > > > Best than putting them in the cgi-bin, i always prefer to set to be a > read-only dir, each time we need to push data files away from eyes, it's > mostly simple to put them inside a private htaccess/htpasswd protected > directory (need login/passwd authentication on the web side ; full > accessible to the irev scripts as a simple local filesystem directory). > > _______________________________________________ > 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 Aug 6 10:23:16 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 06 Aug 2010 07:23:16 -0700 Subject: Rev/Linux update - for Richmond Message-ID: <4C5C1AD4.6080507@fourthworld.com> I got another update this morning from the team on the progress of the Rev engine for Linux, and this one's for Richmond: With the screenshot Mark Waddingham noted: To be fair, the visual difference for roman text is mostly nil (or at least will be when I've fixed the slight difference in baselines that seems to have crept in). The linux engine now uses 'pango' to do all its text rendering and font selection/listing - this is the modern approach and means if you install fonts via GTK/Gnome/Fontconfig etc. you actually see them listed in Rev and will be used when requested. In addition, all the font fallback and such works correctly both for unicode text and all the config that distros have invested in 'fontconfig'. The latter, in particular, means you get sensible default fonts for most common typefaces for other platforms (for example, there is rarely actually a 'Helvetica' installed any more, but there is pretty much always Nimbus Sans which is metric and look compatible). I'm not sure what the performance impact of this might be yet - I'm hoping it might fix some of the field performance problems that seem to plague some linux distributions since various things are cached now which weren't before. More testing will be needed to see if this is indeed the case. Kevin also noted that some progress has been made in diagnosing the cause of the printPaperOrientation issue, but that the solution is "not straightforward" so he doesn't have a fix in hand just yet and will try to squeeze one in within the couple of weeks. Things are looking better each week for those of us enjoying Linux deployments. :) -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From andre at andregarzia.com Fri Aug 6 10:27:49 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 6 Aug 2010 11:27:49 -0300 Subject: Rev/Linux update - for Richmond In-Reply-To: <4C5C1AD4.6080507@fourthworld.com> References: <4C5C1AD4.6080507@fourthworld.com> Message-ID: Rev is approaching the point where I will simply complete my transition to linux and be happy... my ubuntu box is so much more responsive than my mac os x box, and both have similar specs. On Fri, Aug 6, 2010 at 11:23 AM, Richard Gaskin wrote: > I got another update this morning from the team on the progress of the Rev > engine for Linux, and this one's for Richmond: > > > > With the screenshot Mark Waddingham noted: > > To be fair, the visual difference for roman text is mostly nil > (or at least will be when I've fixed the slight difference in > baselines that seems to have crept in). > > The linux engine now uses 'pango' to do all its text rendering > and font selection/listing - this is the modern approach and > means if you install fonts via GTK/Gnome/Fontconfig etc. you > actually see them listed in Rev and will be used when requested. > > In addition, all the font fallback and such works correctly > both for unicode text and all the config that distros have > invested in 'fontconfig'. The latter, in particular, means you > get sensible default fonts for most common typefaces for other > platforms (for example, there is rarely actually a 'Helvetica' > installed any more, but there is pretty much always Nimbus Sans > which is metric and look compatible). > > I'm not sure what the performance impact of this might be yet > - I'm hoping it might fix some of the field performance problems > that seem to plague some linux distributions since various > things are cached now which weren't before. More testing will > be needed to see if this is indeed the case. > > > Kevin also noted that some progress has been made in diagnosing the cause > of the printPaperOrientation issue, but that the solution is "not > straightforward" so he doesn't have a fix in hand just yet and will try to > squeeze one in within the couple of weeks. > > Things are looking better each week for those of us enjoying Linux > deployments. :) > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > 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 davidocoker at gmail.com Fri Aug 6 11:02:21 2010 From: davidocoker at gmail.com (David C.) Date: Fri, 6 Aug 2010 10:02:21 -0500 Subject: Rev/Linux update - for Richmond In-Reply-To: <4C5C1AD4.6080507@fourthworld.com> References: <4C5C1AD4.6080507@fourthworld.com> Message-ID: On Fri, Aug 6, 2010 at 9:23 AM, Richard Gaskin wrote: > I got another update this morning from the team on the progress of the Rev > engine for Linux, and this one's for Richmond: > > ...Snip! > Things are looking better each week for those of us enjoying Linux > deployments. :) That is extremely good news, indeed! As Andre mentioned, I'm really close now in being able to move almost exclusively to Linux and this will be a great step in that direction. I'll keep at least one Win installation for testing purposes and the 2-3 pieces of proprietary software that I need to use from time to time... but otherwise I should be able to make a -big- move soon. :-) Thanks for sharing the update, Richard. Best regards, David C. From cszasz at mac.com Fri Aug 6 11:12:30 2010 From: cszasz at mac.com (charles61) Date: Fri, 6 Aug 2010 08:12:30 -0700 (PDT) Subject: A real problem with Prefs!! In-Reply-To: References: <1280796919323-2311179.post@n4.nabble.com> <79253805265.20100802180232@ahsoftware.net> <8B42B9F3-84EC-4D42-BEB9-FFF8DA17BFFF@mac.com> <116275111406.20100802235738@ahsoftware.net> <1280838122299-2311755.post@n4.nabble.com> Message-ID: <3199ECC4-87B3-4022-B921-F72654360009@mac.com> Chipp, Thanks! I will save it and use it in my next project! Charles Szasz cszasz at mac.com On Aug 5, 2010, at 8:53 PM, Chipp Walters [via Runtime Revolution] wrote: > Charles, I will sometimes have a getPrefsFolder() function. Something like: > > function getPrefsFolder > get the effective filename of this stack > set itemDel to "/" > delete last item of it > put "/" & "Prefs" after it > If there is not a folder it then create folder it > return it > end getPrefsFolder > > HTH > _______________________________________________ > use-revolution mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > View message @ http://runtime-revolution.278305.n4.nabble.com/A-real-problem-with-Prefs-tp2311179p2315803.html > To unsubscribe from Re: A real problem with Prefs!!, click here. > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/A-real-problem-with-Prefs-tp2311179p2316441.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Fri Aug 6 11:13:02 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 06 Aug 2010 08:13:02 -0700 Subject: Rev/Linux update - for Richmond Message-ID: <4C5C267E.60309@fourthworld.com> Andre Garzia wrote: > Rev is approaching the point where I will simply complete my transition to > linux and be happy... my ubuntu box is so much more responsive than my mac > os x box, and both have similar specs. Yep. Forgive me for making a "me too" post, but me too. :) I already use Firefox for browsing and Thunderbird for email, so with Rev beefing up its Linux engine the three most common apps I use every day are making life in Ubuntu a snap (and in Win7 of course, which I keep on dual-boot on my Dell for testing). And with all the goodies freely available in the Ubuntu Software Center just one click away (for those who don't use Ubuntu, think App Store for Linux), there's hardly anything I miss when I'm using my Dell these days. I recently started using Rhythmbox for my music purchases too - lets me support Canonical for the good work they've done giving me Ubuntu for free, and I get my music in MP3 format ready for my non-Apple music player that includes a radio and cost only $20 (after springing extra for good headphones I still saved more than $50 on that, and I love listening to NPR's business report on FM during the train ride home). Andrew Kluthe's comments here last month about the relative costs of different systems got me thinking, and inspired me to explore new hardware options that I'd never considered before having been almost exclusively Mac-centric. I love my Apple gear, but I can't say I mind getting great performance at ultra-low prices when I buy for "the other Unix-based OS" and spending the difference on a nice weekend on Catalina Island. :) -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From andre at andregarzia.com Fri Aug 6 11:27:51 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 6 Aug 2010 12:27:51 -0300 Subject: Rev/Linux update - for Richmond In-Reply-To: <4C5C267E.60309@fourthworld.com> References: <4C5C267E.60309@fourthworld.com> Message-ID: Now, when we get RevBrowser for Linux, I will be *ready* to switch... If just there was some nice laptops like my macbook pro... I feel bad about partitioning it to install linux. I think Macbooks should stay with mac os.... anyone recommends a good linux laptop not that ugly and not that expensive? just to know about, am forbidden to buy another laptop due to having 5 already... different generations, have all my laptops till today, neve threw away hardware, keep'em working all! The best laptop I have is my OLPC XO-1, that thing is damn cute! I don't care if it is an underpowered Geode. Sugar is Great! On Fri, Aug 6, 2010 at 12:13 PM, Richard Gaskin wrote: > Andre Garzia wrote: > > Rev is approaching the point where I will simply complete my transition to >> linux and be happy... my ubuntu box is so much more responsive than my mac >> os x box, and both have similar specs. >> > > Yep. Forgive me for making a "me too" post, but me too. :) > > I already use Firefox for browsing and Thunderbird for email, so with Rev > beefing up its Linux engine the three most common apps I use every day are > making life in Ubuntu a snap (and in Win7 of course, which I keep on > dual-boot on my Dell for testing). > > And with all the goodies freely available in the Ubuntu Software Center > just one click away (for those who don't use Ubuntu, think App Store for > Linux), there's hardly anything I miss when I'm using my Dell these days. > > I recently started using Rhythmbox for my music purchases too - lets me > support Canonical for the good work they've done giving me Ubuntu for free, > and I get my music in MP3 format ready for my non-Apple music player that > includes a radio and cost only $20 (after springing extra for good > headphones I still saved more than $50 on that, and I love listening to > NPR's business report on FM during the train ride home). > > Andrew Kluthe's comments here last month about the relative costs of > different systems got me thinking, and inspired me to explore new hardware > options that I'd never considered before having been almost exclusively > Mac-centric. > > I love my Apple gear, but I can't say I mind getting great performance at > ultra-low prices when I buy for "the other Unix-based OS" and spending the > difference on a nice weekend on Catalina Island. :) > > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > 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 richmondmathewson at gmail.com Fri Aug 6 11:42:01 2010 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 06 Aug 2010 16:42:01 +0100 Subject: Rev/Linux update - for Richmond In-Reply-To: <4C5C1AD4.6080507@fourthworld.com> References: <4C5C1AD4.6080507@fourthworld.com> Message-ID: <4C5C2D49.5030002@gmail.com> God bless you! Still on "holiday" in England; back to BG on Tuesday; off to BG mountains on Wednesday; hope to look at this on about 18/19 August. Love, Richmond. From ambassador at fourthworld.com Fri Aug 6 12:21:05 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 06 Aug 2010 09:21:05 -0700 Subject: Rev/Linux update - for Richmond Message-ID: <4C5C3671.4040703@fourthworld.com> Andre Garzia wrote: > Now, when we get RevBrowser for Linux, I will be *ready* to switch... But Andre, now that RevBrowser will be open source we're counting on you to make that happen. ;) -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From andre at andregarzia.com Fri Aug 6 12:41:51 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 6 Aug 2010 13:41:51 -0300 Subject: Rev/Linux update - for Richmond In-Reply-To: <4C5C3671.4040703@fourthworld.com> References: <4C5C3671.4040703@fourthworld.com> Message-ID: Richard, Making a window to follow other window is beyond my modest C skills. I tried looking into QTWebView thing but it is too much C for me. The only time I did GUI programming in C was during Google Summer of Code doing Haiku network control panel (in BeOS terminology, network preflet). It took me 3 months to do it and in the beginning it leaked so much memory that I felt like BP. Last time I checked it was working fine and at least until R1 they were still using my little preflet. Andre On Fri, Aug 6, 2010 at 1:21 PM, Richard Gaskin wrote: > Andre Garzia wrote: > > Now, when we get RevBrowser for Linux, I will be *ready* to switch... >> > > But Andre, now that RevBrowser will be open source we're counting on you to > make that happen. ;) > > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > 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 userev at canelasoftware.com Fri Aug 6 12:55:19 2010 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 6 Aug 2010 09:55:19 -0700 Subject: [revServer] process timeout issue In-Reply-To: <4C597EE8.6090006@fourthworld.com> References: <4C597EE8.6090006@fourthworld.com> Message-ID: <86D32006-61F8-410E-88B1-2F5A012F7571@canelasoftware.com> On Aug 4, 2010, at 7:53 AM, Richard Gaskin wrote: > I've been experimenting with spidering, data mining, and analytics, and like any processor-intensive tasks it would never occur to me to put them on a shared host. > > Like many hosts, the one I'm using offers dedicated servers for less than $70/mo, but being a cheapskate I've gone one step further during this experimental phase: I bought a nettop off Ebay for just $150, set it up with Ubuntu and Rev, and that does all the heavy lifting 24/7, posting only the output from those process to my servers periodically as needed. > > I never run into the CPU cycle limits most hosts have on their servers, and I don't even slow down my own web server from its tasks of serving pages to my visitors and handling their purchases. > > When the workflow expands to required tighter integration between the processing and the output, I can move the system from my office to a dedicated server with multiple redundant fat-pipe connections for just a few bucks a month. > > There are a million ways to create robust scalable infrastructures to handle any load. Many are cheap and easy to do, and for most of those tasks you can do them all in one fun language. We have been using this technique for years. We even posted the application we use to do this task in RevNet. I believe I need to update that file now that I think of it. But in short, we use our ISP to gather orders. Our client software sends a request for a key. Our local computer in the lab just pings the directory on the ISP every 4 seconds and downloads all the orders in that given directory. The heavy lifting and database work is done on a computer in the lab. The key is then sent back up to the ISP where the client computer is checking in for the result of that work every 4 seconds. The whole thing works out nicely and we keep our CPU usage low. Best regards, Mark Talluto http://www.canelasoftware.com From andre at andregarzia.com Fri Aug 6 12:58:11 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 6 Aug 2010 13:58:11 -0300 Subject: [revServer] process timeout issue In-Reply-To: <86D32006-61F8-410E-88B1-2F5A012F7571@canelasoftware.com> References: <4C597EE8.6090006@fourthworld.com> <86D32006-61F8-410E-88B1-2F5A012F7571@canelasoftware.com> Message-ID: Friends, you guys bring me tears of joy for using technology right! :-D Now, who will port ZeroMQ for us? On Fri, Aug 6, 2010 at 1:55 PM, Mark Talluto wrote: > On Aug 4, 2010, at 7:53 AM, Richard Gaskin wrote: > > > I've been experimenting with spidering, data mining, and analytics, and > like any processor-intensive tasks it would never occur to me to put them on > a shared host. > > > > Like many hosts, the one I'm using offers dedicated servers for less than > $70/mo, but being a cheapskate I've gone one step further during this > experimental phase: I bought a nettop off Ebay for just $150, set it up > with Ubuntu and Rev, and that does all the heavy lifting 24/7, posting only > the output from those process to my servers periodically as needed. > > > > I never run into the CPU cycle limits most hosts have on their servers, > and I don't even slow down my own web server from its tasks of serving pages > to my visitors and handling their purchases. > > > > When the workflow expands to required tighter integration between the > processing and the output, I can move the system from my office to a > dedicated server with multiple redundant fat-pipe connections for just a few > bucks a month. > > > > There are a million ways to create robust scalable infrastructures to > handle any load. Many are cheap and easy to do, and for most of those tasks > you can do them all in one fun language. > > We have been using this technique for years. We even posted the > application we use to do this task in RevNet. I believe I need to update > that file now that I think of it. But in short, we use our ISP to gather > orders. Our client software sends a request for a key. Our local computer > in the lab just pings the directory on the ISP every 4 seconds and downloads > all the orders in that given directory. The heavy lifting and database work > is done on a computer in the lab. The key is then sent back up to the ISP > where the client computer is checking in for the result of that work every 4 > seconds. The whole thing works out nicely and we keep our CPU usage low. > > > Best regards, > > Mark Talluto > 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 > -- http://www.andregarzia.com All We Do Is Code. From sanke at hrz.uni-kassel.de Fri Aug 6 13:01:27 2010 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Fri, 06 Aug 2010 19:01:27 +0200 Subject: Harry Potter's magic button - a solution to another tricky group bug Message-ID: <4C5C3FE7.9070006@hrz.uni-kassel.de> I need to rephrase the bug definition after Jacqueline has found out about the effect of the group scrollbars: "If an image is smaller than the dimensions of a group and the vscrollbar and the hscrollbar are set to true, then you cannot set the loc of the image to the loc of the group or reliably to any other x,y coordinates." Actually, there are at least two bugs: The problem of "setting" the loc and that of "keeping" the loc - although the lockloc of the image is set to true. "Lockloc" in the context of the definition above is also broken. After having succesfully centered the image, it will - as reported - revert to a topleft position in the group - when you go to another card and then navigate back - when you set the imagedata - when you import a new image - when you toggle the scrollbars back to true - when you close the stack (even after having saved it again) and then reopen it. Until these bug will have been fixed, this leaves us with three options for workarounds for the time being: 1. Use the "magic button" This seems to be indeed the simplest solution as it works under all conditions and also with and without scrollbars - and you set the necessary properties only once. As you know from my report (the first post of this thread) the button has to be visible in the sense that the vis of the button must be true. If you really "hide" it - with hide or set the vis to false - the effect is lost. Another prerequisite is that the button is placed at the topleft corner of the group. But you can make the button invisible to the eye of the user by setting - the showname, showborder, show hilite etc. to false - the ink of its color to noop - the layer of the button in the group to the lowest. Additionally you could comment out the script of the button or put empty into it to prevent the button being accidentally dragged somewhere because of the "grab me" script in my sample stack. You could also make the button very small; size does not matter to achieve the effect. Why the magic button works at all is still a mystery to me. 2. Toggle the hscrollbar and the vscrollbar on and off In my configuration of the image-processing stack I needed the scrollbars for images that are larger than the group. In this case of a larger image "set the loc of image x" works fine with visible scrollbars. You would have to check - when importing an image or retrieving an image stored inside the stack - what the size of the image is , and set the scrollbars accordingly. That would mean to add appropriate script lines to each handler in the stack that imports images or sets images from inside the stack. There is one difficulty here as the size of the image has to be larger in both dimensions - horizontally and vertically - for the "set" command to work properly with scrollbars turned on, .e.g. meaning that if the image is higher than the group and the scrollbars are on you cannot set the loc accurately: the y-part of the loc will be set accurately, but the image will snap to the left side of the group - Of course - as a different configuration of an image-processing stack - one could dispense with scrollbars altogether, and let the user drag the image around with a "grab me" script. 3. Use "move to" instead of "set the loc" This workaround is the least comfortable. Although "move image x to x,y" or "to the loc of group y" ( if you add "in 1 millisecond") it will set the image at once and reliably to the intended place, you have then to cope with the problem of "keeping" the image at its loc - see the conditions listed above. You would need to add the scriptline "move to..." in quite a number of handlers, in the preopenstack handler of the card, in each filter script that adresses imagedata - there may be hundreds of such filters in an image-processing stack -, in the "import image" handler and elsewhere. By the way, the effect involving imagedata is not because imagedata are changed in any way, but because they are "set". "Set the imagedata of img x to the imagedata of img x" will also cause to place the image in the topleft corner of the group.-- Some deliberations for the Revolution engineers that will try to fix these bugs: The first places to look for would probably be the codes in the engine for the "set loc" and "move to" commands. There must be a distinctive difference in the "move to" code that overrules the effects caused by a "smaller image in a group" and the influence of turned on "group scrollbars" Another approach.might be to analyse the internal differences between the variants of the "two-step" effects triggered when you "set the loc" or "set the imagedata". With "set the loc" after the first step - using the command once - only that portion of the image will be displayed that is identical to the overlapping parts of the image set to the topleft corner of the group and the area the image would have occupied when it would have been really centered. Only after applying "set the loc" another time the image will be fully displayed in the topleft corner. This effect is independent of the place where you might have dragged the image to before you used "set the loc". This special overlapping effect with the "set" command points to fact that somehow the area - which would have been occupied by a centered image - is treated differently and that "set the loc of img x to the loc of img y" apperently produced some kind of result for this area, although not the intended one. With "set the imagedata" the portion of the image being displayed after the first step is defined by the overlapping parts of the image at a topleft position and the current position of the image before the first "set the imagedata" command was applied. This also means that after the first step the image might be totally invisible if you had dragged the image to a position where no overlapping occurs. If you click in the area of the image at its topleft position after the first step you can revive the missing parts of the image. When you add "lock screen" before the "set loc" or "set imagedata" line the image will at once be displayed in the topleft corner - without a second step.-- It might be worth exploring whether these image-related peculiarities are somehow and distantly connected to other Revolution-specific image properties as, for example, what I have called "pre-PNGs" in my stack "More about Masks" and in several posts to this list. An image in a stack created by a snapshot (and remaining in the stack or copied and pasted into another stack) behaves differently in some aspects from an image already saved externally or imported into the stack.- During the last two years much of my time devoted to programming with Revolution was spent in the field of image processing of various kinds. I suppose - with a rough estimate - that I spent 20 to 30 percent of this time to detect the causes of crashes and to find workarounds for less fatal bugs, time I could have really used more creatively - although of course bug-hunting in itself can be challenging and interesting. If you consider this lost time and add the fact that bug reports could remain with absolutely no feedback for almost a year, then you might understand that anger and frustration can come up. Hopefully, according to the new policy announced by Kevin, this will now change. Regards, Wilhelm Sanke From ambassador at fourthworld.com Fri Aug 6 13:08:53 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 06 Aug 2010 10:08:53 -0700 Subject: Harry Potter's magic button - a solution to another tricky group bug Message-ID: <4C5C41A5.2010709@fourthworld.com> Wilhelm Sanke wrote: > Actually, there are at least two bugs: The problem of "setting" the loc > and that of "keeping" the loc - although the lockloc of the image is set > to true. "Lockloc" in the context of the definition above is also broken. > After having succesfully centered the image, it will - as reported - > revert to a topleft position in the group Yes, with the default dynamic behavior of groups this is what most folks will experience. But some time ago I needed more canvas-like behaviors, and Scott Raney accommodated me by adding the boundingRect property for groups. Similar to SuperCard's backSize property, the boundingRect lets you define a rect for the scrollable area of a group regardless of its contents. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From jimaultwins at yahoo.com Fri Aug 6 13:32:52 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 6 Aug 2010 10:32:52 -0700 Subject: [revServer] process timeout issue In-Reply-To: <86D32006-61F8-410E-88B1-2F5A012F7571@canelasoftware.com> References: <4C597EE8.6090006@fourthworld.com> <86D32006-61F8-410E-88B1-2F5A012F7571@canelasoftware.com> Message-ID: <6FC0E8BC-BEC3-4E6C-A208-88913C521FC5@yahoo.com> The one provision ( or gotcha ) that I would add to this discussion is log files You should insure that log files to not become too large, especially if they are using an XML format that is very fluffy. I just had a client decide to program his ping schedule into my system for once every 3 seconds instead of the design of 50 per hour. One of my log files expanded to 42 Mb and caused a connection timeout ( greater than 10 seconds ). I now have taken protective action to protect my dedicated server, but the shared hosting part of the network cannot be changed ( the admin company is not willing to do this ) Most log file logic is to add new transactions to the end of an existing file, thus 2 Mb requires more time than 100K. Some servers start new log files every calendar day, but others may have a much lower frequency. You may not be able to control this frequency, but you might be able to switch modes. Sometimes all events are logged and designated 'verbose' or 'debugging mode'. If you are on a shared host, you may not have the permissions to edit or delete these files. On your own server, you should investigate if the log files could expand quickly, especially if you are doing a week of intense testing and programming. On Aug 6, 2010, at 9:55 AM, Mark Talluto wrote: > On Aug 4, 2010, at 7:53 AM, Richard Gaskin wrote: > >> I've been experimenting with spidering, data mining, and analytics, >> and like any processor-intensive tasks it would never occur to me >> to put them on a shared host. >> >> Like many hosts, the one I'm using offers dedicated servers for >> less than $70/mo, but being a cheapskate I've gone one step further >> during this experimental phase: I bought a nettop off Ebay for >> just $150, set it up with Ubuntu and Rev, and that does all the >> heavy lifting 24/7, posting only the output from those process to >> my servers periodically as needed. >> >> I never run into the CPU cycle limits most hosts have on their >> servers, and I don't even slow down my own web server from its >> tasks of serving pages to my visitors and handling their purchases. >> >> When the workflow expands to required tighter integration between >> the processing and the output, I can move the system from my office >> to a dedicated server with multiple redundant fat-pipe connections >> for just a few bucks a month. >> >> There are a million ways to create robust scalable infrastructures >> to handle any load. Many are cheap and easy to do, and for most of >> those tasks you can do them all in one fun language. > > We have been using this technique for years. We even posted the > application we use to do this task in RevNet. I believe I need to > update that file now that I think of it. But in short, we use our > ISP to gather orders. Our client software sends a request for a > key. Our local computer in the lab just pings the directory on the > ISP every 4 seconds and downloads all the orders in that given > directory. The heavy lifting and database work is done on a > computer in the lab. The key is then sent back up to the ISP where > the client computer is checking in for the result of that work every > 4 seconds. The whole thing works out nicely and we keep our CPU > usage low. > > Mark Talluto Jim Ault Las Vegas From andre at andregarzia.com Fri Aug 6 13:37:15 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 6 Aug 2010 14:37:15 -0300 Subject: [revServer] process timeout issue In-Reply-To: <6FC0E8BC-BEC3-4E6C-A208-88913C521FC5@yahoo.com> References: <4C597EE8.6090006@fourthworld.com> <86D32006-61F8-410E-88B1-2F5A012F7571@canelasoftware.com> <6FC0E8BC-BEC3-4E6C-A208-88913C521FC5@yahoo.com> Message-ID: Jim, I have some profilers running here in my PHP development in our test machines. The cachegrind files are worth 250 MB after three days of turning the system on. Be aware that this is the test machine, if something similar was running on the production system, our logs and cachegrind files would make the server run out of space in less than a week. Thats why we have some modes here: "normal" - only logs important stuff "debug" - very verbose "andre-daily-special" - we can basically time travel anyware and see all that was happening inside the CPU, RAM and DISK. (xDebug, XHProf, Inclued and lots and lots of logs) On Fri, Aug 6, 2010 at 2:32 PM, Jim Ault wrote: > The one provision ( or gotcha ) that I would add to this discussion is > log files > > You should insure that log files to not become too large, especially if > they are using an XML format that is very fluffy. > > I just had a client decide to program his ping schedule into my system for > once every 3 seconds instead of the design of 50 per hour. One of my log > files expanded to 42 Mb and caused a connection timeout ( greater than 10 > seconds ). I now have taken protective action to protect my dedicated > server, but the shared hosting part of the network cannot be changed ( the > admin company is not willing to do this ) > > Most log file logic is to add new transactions to the end of an existing > file, thus 2 Mb requires more time than 100K. Some servers start new log > files every calendar day, but others may have a much lower frequency. > > You may not be able to control this frequency, but you might be able to > switch modes. > Sometimes all events are logged and designated 'verbose' or 'debugging > mode'. > > If you are on a shared host, you may not have the permissions to edit or > delete these files. On your own server, you should investigate if the log > files could expand quickly, especially if you are doing a week of intense > testing and programming. > > > > > > > On Aug 6, 2010, at 9:55 AM, Mark Talluto wrote: > > On Aug 4, 2010, at 7:53 AM, Richard Gaskin wrote: >> >> I've been experimenting with spidering, data mining, and analytics, and >>> like any processor-intensive tasks it would never occur to me to put them on >>> a shared host. >>> >>> Like many hosts, the one I'm using offers dedicated servers for less than >>> $70/mo, but being a cheapskate I've gone one step further during this >>> experimental phase: I bought a nettop off Ebay for just $150, set it up >>> with Ubuntu and Rev, and that does all the heavy lifting 24/7, posting only >>> the output from those process to my servers periodically as needed. >>> >>> I never run into the CPU cycle limits most hosts have on their servers, >>> and I don't even slow down my own web server from its tasks of serving pages >>> to my visitors and handling their purchases. >>> >>> When the workflow expands to required tighter integration between the >>> processing and the output, I can move the system from my office to a >>> dedicated server with multiple redundant fat-pipe connections for just a few >>> bucks a month. >>> >>> There are a million ways to create robust scalable infrastructures to >>> handle any load. Many are cheap and easy to do, and for most of those tasks >>> you can do them all in one fun language. >>> >> >> We have been using this technique for years. We even posted the >> application we use to do this task in RevNet. I believe I need to update >> that file now that I think of it. But in short, we use our ISP to gather >> orders. Our client software sends a request for a key. Our local computer >> in the lab just pings the directory on the ISP every 4 seconds and downloads >> all the orders in that given directory. The heavy lifting and database work >> is done on a computer in the lab. The key is then sent back up to the ISP >> where the client computer is checking in for the result of that work every 4 >> seconds. The whole thing works out nicely and we keep our CPU usage low. >> >> Mark Talluto >> > > 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 > -- http://www.andregarzia.com All We Do Is Code. From bobs at twft.com Fri Aug 6 13:42:20 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 6 Aug 2010 10:42:20 -0700 Subject: Rev/Linux update - for Richmond In-Reply-To: References: <4C5C3671.4040703@fourthworld.com> Message-ID: <15C8DFEB-A337-427C-8AE4-B66DED7B948C@twft.com> On Aug 6, 2010, at 9:41 AM, Andre Garzia wrote: > It took me 3 > months to do it and in the beginning it leaked so much memory that I felt > like BP Or like Margaret Thatcher after drinking too much beer. (Gawd I hope I don't get banned for that one!) Bob From ambassador at fourthworld.com Fri Aug 6 13:49:22 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 06 Aug 2010 10:49:22 -0700 Subject: [revServer] process timeout issue Message-ID: <4C5C4B22.7000806@fourthworld.com> Jim Ault wrote: > Most log file logic is to add new transactions to the end of an > existing file, thus 2 Mb requires more time than 100K. Some servers > start new log files every calendar day, but others may have a much > lower frequency. Limiting unnecessary frequency is useful for many reasons, but with regard to logs I was just running some experiments last night using "open file for append" and it seems that with the append option the time to write is independent of the original file size; it seems to operate like the seek command in that regard. In my tests I was running 10,000 iterations, in which each one created a string 1k long and wrote it to the file after the file had been opened for append. Along the way, every 1000 times through the loop it gets the elapsed time since the last 1000 was done, with these results: 385 383 383 384 384 385 386 382 803 383 The second-to-last item spiking is probably just some background process; the rest are consistent enough that I've gotten very confident about using append for logging. In fact, I repeated the same test a few times, so each time the data file is growing by 10 MBs, and each time the results are roughly the same. For example, the results above were done when the file was only about 30 MBs - here are the results when the file is well over 120 MBs: 387 383 383 383 382 383 654 383 383 382 -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From jacque at hyperactivesw.com Fri Aug 6 15:00:40 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 06 Aug 2010 14:00:40 -0500 Subject: Harry Potter's magic button - a solution to another tricky group bug In-Reply-To: <4C5C3FE7.9070006@hrz.uni-kassel.de> References: <4C5C3FE7.9070006@hrz.uni-kassel.de> Message-ID: <4C5C5BD8.1010905@hyperactivesw.com> On 8/6/10 12:01 PM, Wilhelm Sanke wrote: > I need to rephrase the bug definition after Jacqueline has found out > about the effect of the group scrollbars: > > "If an image is smaller than the dimensions of a group and the > vscrollbar and the hscrollbar are set to true, then you cannot set the > loc of the image to the loc of the group or reliably to any other x,y > coordinates." > > Actually, there are at least two bugs: The problem of "setting" the loc > and that of "keeping" the loc - although the lockloc of the image is set > to true. "Lockloc" in the context of the definition above is also broken. > After having succesfully centered the image, it will - as reported - > revert to a topleft position in the group > > - when you go to another card and then navigate back > - when you set the imagedata > - when you import a new image > - when you toggle the scrollbars back to true > - when you close the stack (even after having saved it again) and then > reopen it. (snipping rest) All these, plus other issues you describe in the rest of the message, boil down to the same thing: the loc of the image isn't applied correctly whenever the group (or card, perhaps) is redrawn. Everything in the above list redraws at least part of the card. Even just moving the image causes a redraw. When I did my brief tests it looked like the "set" command ignored the requested location, even if I stored it in a variable first: get the loc of grp "imagegroup" -- this was identified correctly set the loc of img "eins" to it -- didn't work This only failed when the group had scrollbars. So I think setting and keeping the requested location are really the same problem, and fixing one will likely fix the other. I think you can probably revise the bug report with that info and it will be enough for the team to identify the issue, especially if you upload your example stack which makes the problem quite clear. To work around it, I altered your button script to open images this way: on mouseUp answer file "Choose image" -- with filter "*.jpg;*.png" if it is empty then exit to top else put it into tfile put "binfile:" before tfile set the lockloc of img "eins" to false lock screen put URL tfile into img "eins" set the lockloc of img "eins" to true -- changes start here: put (the width of img "eins" > the width of group "imagegroup" \ or the height of img "eins" > the height of \ group "imagegroup") into tIsLarge set the hscrollbar of group "imagegroup" to tIsLarge set the vscrollbar of group "imagegroup" to tIsLarge unlock screen end if end mouseUp BTW, I had to comment out the "with filter" which doesn't apply on Macs. If you will be distributing this cross platform, use "with type" instead. Since you only have to work around the problem when the image is opened or reset, you shouldn't need to add anything else to other handlers. Leave the scrollbars alone except when changing or importing an image. This worked in your sample stack. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Aug 6 15:13:54 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 06 Aug 2010 14:13:54 -0500 Subject: Harry Potter's magic button - a solution to another tricky group bug In-Reply-To: <4C5C41A5.2010709@fourthworld.com> References: <4C5C41A5.2010709@fourthworld.com> Message-ID: <4C5C5EF2.1030606@hyperactivesw.com> On 8/6/10 12:08 PM, Richard Gaskin wrote: > Yes, with the default dynamic behavior of groups this is what most folks > will experience. But some time ago I needed more canvas-like behaviors, > and Scott Raney accommodated me by adding the boundingRect property for > groups. His group has only 2 objects, and both are fully within the group rect. The group is locked and extends beyond its contents. The boundingrect is empty so I assume it's the same as the group rect. I don't think dynamic group behavior is in play here, or if it is, I'm at a loss as to why. I didn't play with boundingrect though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jimaultwins at yahoo.com Fri Aug 6 16:55:05 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 6 Aug 2010 13:55:05 -0700 Subject: [revServer] process timeout issue In-Reply-To: <4C5C4B22.7000806@fourthworld.com> References: <4C5C4B22.7000806@fourthworld.com> Message-ID: <6F8D95C6-7E14-43A2-A2E6-3A7C4CF407D6@yahoo.com> Thanks for this confirmation for Rev coding. Very good info for planning work flows. My log file limitation is on the system that I do not control, where the log files don't 'roll forward' unless that other operating system is rebooted. It runs for 6 months, then reboots. If they switch to a daily reboot, then I need to relaunch and test sockets between my programs every morning at 5 AM, seven days a week... ouch! Jim Ault Las Vegas On Aug 6, 2010, at 10:49 AM, Richard Gaskin wrote: > Jim Ault wrote: >> Most log file logic is to add new transactions to the end of an >> existing file, thus 2 Mb requires more time than 100K. Some servers >> start new log files every calendar day, but others may have a much >> lower frequency. > > Limiting unnecessary frequency is useful for many reasons, but with > regard to logs I was just running some experiments last night using > "open file for append" and it seems that with the append > option the time to write is independent of the original file size; > it seems to operate like the seek command in that regard. > > In my tests I was running 10,000 iterations, in which each one > created a string 1k long and wrote it to the file after the file had > been opened for append. Along the way, every 1000 times through the > loop it gets the elapsed time since the last 1000 was done, with > these results: > > 385 > 383 > 383 > 384 > 384 > 385 > 386 > 382 > 803 > 383 > > The second-to-last item spiking is probably just some background > process; the rest are consistent enough that I've gotten very > confident about using append for logging. > > In fact, I repeated the same test a few times, so each time the data > file is growing by 10 MBs, and each time the results are roughly the > same. > > For example, the results above were done when the file was only > about 30 MBs - here are the results when the file is well over 120 > MBs: > > 387 > 383 > 383 > 383 > 382 > 383 > 654 > 383 > 383 > 382 > > -- > Richard Gaskin From katir at hindu.org Fri Aug 6 18:27:16 2010 From: katir at hindu.org (Web Admin Himalayan Academy) Date: Fri, 06 Aug 2010 12:27:16 -1000 Subject: Copying binary files over a LAN using Rev In-Reply-To: <1281033975358-2315446.post@n4.nabble.com> References: <1281033975358-2315446.post@n4.nabble.com> Message-ID: <4C5C8C44.7070805@hindu.org> Aloha, Al Can you mount the other computer on the users's desktop? or a volume thereon? We are an all Mac shop... I have created a simple revision control system here for our editors that is working quite well, for Indesign files. The core of it is simply running cmds like: put ("cp " & quote & tCurrentLocationPath & quote &" "& quote & tArchivePath & quote) into tShell get shell (tShell) the core is just "cp... " for making copies and "mv...." for renaming in place or actually moving the file. (I never use "rm" ever! users must do their housekeeping manually so that there are no evil tragedies with a failed file delete handler that is ends up pointing to a whole folder or volume because a file var turns up empty.... ) # update Control string and rename the top level file put gUser into char -7 to -6 of pFileName replace "-ci-" with "-co-" in pFileName put gServerProjectPath &"/"& pFileName into tNewNamePath put ("mv " & quote & tCurrentLocationPath & quote &" "& quote & tNewNamePath & quote) into tShell get shell (tShell) # moves the file put gLocalProjectPath &"/"& pFileName into tNewLocalPath put ("cp " & quote & tNewNamePath & quote &" "& quote & tNewLocalPath & quote) into tShell get shell (tShell) launch (tNewLocalPath) with the uInDesignPath of this stack Where the paths to the other volumes look like "/Volumes/OtherMachineServer/OnTheNetwork/Version Control/" which is stored in a custom prop in the main stack. The stack auto mounts the server volume on the user's desktop, and also checks the user;s ethernet or airport status to make sure he's really connected etc. but the core is cp and mv. I'm not sure how you would point it to an IP. But it is probably doable. Sivakatirswami On 8/5/10 8:46 AM, Alejandro Tejada wrote: > Hi all, > > How could i use Rev to copy a binary file between > stacks opened in two different computers over a > local area network? > > In this LAN, every computer reports at least > two different IP directions: > The first IP (reported by IPconfig) are in the > range 192.168.1.[0-255]. > The second IP (visible from the web) are in > the range from 201.229.179.[0-255] > > Every idea is welcome! > Thanks in advance. > > Al From katir at hindu.org Fri Aug 6 18:58:55 2010 From: katir at hindu.org (Web Admin Himalayan Academy) Date: Fri, 06 Aug 2010 12:58:55 -1000 Subject: Rodeo, revServer etc. In-Reply-To: References: <4C5AF224.2040107@hyperactivesw.com> Message-ID: <4C5C93AF.1000009@hindu.org> I have Getting things done and also listen to Merlin Man at 43 folders, I also get David Allen's newsletter and *try* to implement as much as I can... changed my life... especially "inbox zero" -- though that is only part of the solution. I have David's GSD work flow map on my wall and look at it every day when I sit down to "go at it." Sivakatirswami On 8/5/10 3:10 PM, Andre Garzia wrote: > I should get one of those as well. My inbox has more than three thousand unread emails... > > Sent from my iPad > > On Aug 5, 2010, at 9:45 PM, Peter W A Wood wrote: > >> On 6 Aug 2010, at 01:17, J. Landman Gay wrote: >> >>> I know for a fact that at least one of our major players has an inbox that goes on practically to infinity, and he's unlikely to even notice anything you send. >> I think that buying him a copy of David Allen's Getting Things Done and taking his computers away from him for a day so that he will read it would be one of the best investments RunRev could make at this time. In fact, if RunRev can get him to read it, I'll happily buy the book for him. >> >> Regards >> >> 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 > From sanke at hrz.uni-kassel.de Sat Aug 7 05:16:35 2010 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sat, 07 Aug 2010 11:16:35 +0200 Subject: Harry Potter's magic button - a solution to another tricky group bug Message-ID: <4C5D2473.1030701@hrz.uni-kassel.de> On Fri Aug 6, 2010, Richard Gaskin ambassador at fourthworld.com > Wilhelm Sanke wrote: > > > Actually, there are at least two bugs: The problem of "setting" the loc > > and that of "keeping" the loc - although the lockloc of the image is set > > to true. "Lockloc" in the context of the definition above is also > broken. > > After having succesfully centered the image, it will - as reported - > > revert to a topleft position in the group > > Yes, with the default dynamic behavior of groups this is what most folks > will experience. But some time ago I needed more canvas-like behaviors, > and Scott Raney accommodated me by adding the boundingRect property for > groups. > > Similar to SuperCard's backSize property, the boundingRect lets you > define a rect for the scrollable area of a group regardless of its > contents. > > -- > Richard Gaskin Richard, Thanks for this really valuable information. "set the boundingrect of group x to the rect of group x" solves the complete list of problems, the "setting" and "keeping" bugs are no longer interfering and all side effects have gone away - like with the magic button, but with even less effort. They must be a great amount of similarities between what the boundingrect and the magic button achieve, and if the Rev engineers will still try to fix the "set the loc" bug they should also look how the boundingrect is coded in the engine. The Revolution docs/dictionary should be updated to reflect the dependency of "set the loc" in groups on the "boundingrect" property. Regards and many thanks, Wilhelm From ambassador at fourthworld.com Sat Aug 7 08:33:15 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 07 Aug 2010 05:33:15 -0700 Subject: Harry Potter's magic button - a solution to another tricky group bug Message-ID: <4C5D528B.5030503@fourthworld.com> Wilhelm Sanke wrote: > Richard, > > Thanks for this really valuable information. > > "set the boundingrect of group x to the rect of group x" solves the > complete list of problems, the "setting" and "keeping" bugs are no > longer interfering and all side effects have gone away - like with the > magic button, but with even less effort. Yeah, the boundingRect property been a godsend on some projects, and I was quite pleased when Raney added it. Makes short work of things that can get quite complicated without it. As much as I enjoy using Rev, there are a few things I miss from when when I was using SuperCard daily; this was one of them. > They must be a great amount of similarities between what the > boundingrect and the magic button achieve, and if the Rev engineers > will still try to fix the "set the loc" bug they should also look how > the boundingrect is coded in the engine. I think I missed that bug - what's the RQCC#? > The Revolution docs/dictionary should be updated to reflect the > dependency of "set the loc" in groups on the "boundingrect" property. Good idea - I've just added this note to the Dictionary entry for the location property: If you encounter difficulties setting the loc of objects within a group, see the boundingRect group property in this dictionary. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From jonathandlynch at gmail.com Sat Aug 7 11:09:07 2010 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Sat, 7 Aug 2010 11:09:07 -0400 Subject: Rodeo, revServer etc. In-Reply-To: <4C5C93AF.1000009@hindu.org> References: <4C5AF224.2040107@hyperactivesw.com> <4C5C93AF.1000009@hindu.org> Message-ID: I am going to go buy this book today. On Fri, Aug 6, 2010 at 6:58 PM, Web Admin Himalayan Academy wrote: > I have Getting things done and also listen to Merlin Man at 43 folders, I > also get David Allen's newsletter and *try* to implement as much as I can... > changed my life... especially "inbox zero" -- though that is only part of > the solution. > > I have David's GSD work flow map on my wall and look at it every day when I > sit down to "go at it." > > > Sivakatirswami > > > On 8/5/10 3:10 PM, Andre Garzia wrote: > >> I should get one of those as well. My inbox has more than three thousand >> unread emails... >> >> Sent from my iPad >> >> On Aug 5, 2010, at 9:45 PM, Peter W A Wood wrote: >> >> On 6 Aug 2010, at 01:17, J. Landman Gay wrote: >>> >>> I know for a fact that at least one of our major players has an inbox >>>> that goes on practically to infinity, and he's unlikely to even notice >>>> anything you send. >>>> >>> I think that buying him a copy of David Allen's Getting Things Done and >>> taking his computers away from him for a day so that he will read it would >>> be one of the best investments RunRev could make at this time. In fact, if >>> RunRev can get him to read it, I'll happily buy the book for him. >>> >>> Regards >>> >>> 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 >> >> > _______________________________________________ > 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 > -- Do all things with love From benr_mc at cogapp.com Sat Aug 7 11:35:14 2010 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Sat, 07 Aug 2010 16:35:14 +0100 Subject: revVideoGrabber: stop preview doesn't hide video window In-Reply-To: <4C5B4B7B.1020005@together.net> References: <4C5B2FA4.5000103@cogapp.com> <4C5B4B7B.1020005@together.net> Message-ID: <4C5D7D32.9020804@cogapp.com> Thanks for the confirmation Richard, I've added a report to RQCC for this issue. I'm a bit perturbed by the combination of the "The PC side works much better than the Mac side" with "runs with adequate stability even for video grabs as long as 3-5 minutes". The latter seems to me to be a doubly low standard: "adequate stability" and "as long as...". So far my testing (on Mac) with a rig cycling round initialising, setting settings, preview, capture (for short capture runs at this point, ie 5 seconds) and closing the video grabber has captured approx 2,000 clips over a nine hour period without evident issues. Should I infer from your remarks that I got lucky? Is it long grabs (my next set of tests) that is the problem? Many thanks, Ben On 06/08/2010 00:38, Richard Miller wrote: > Ben, > > We use the video grabber functions extensively in our software, but only > on PC's (where it runs with adequate stability even for video grabs as > long as 3-5 minutes). The PC side works much better than the Mac side. > > The issue you are running into on a Mac is a known bug. You're not doing > anything wrong. But I've not found it a problem to use > revCloseVIdeoGrabber as often as needed (on Mac or PC side)... because > you are right in saying it is the only way to get rid of the preview > image on a Mac. > > Richard Miller > > > On 8/5/10 5:39 PM, Ben Rubinstein wrote: >> Docs for revStopPreviewingVideo says: >> "Stops showing input from a video camera in the video grabber window." >> "Use the revStopPreviewingVideo command to stop showing video input." >> "When you stop previewing video, the video grabber window shows a >> blank screen." >> >> When I try this (rev 4.0 or later, on MacOS X 10.6) it doesn't show a >> blank screen, instead I'm left with a still of the last frame. The >> only way to make it go away is to execute revCloseVideoGrabber. >> >> Is this a known bug? Am I doing something wrong? Does anyone else >> experience this, or conversely has anyone experience of it working as >> documented? >> >> TIA, >> >> Ben From sanke at hrz.uni-kassel.de Sat Aug 7 11:54:23 2010 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sat, 07 Aug 2010 17:54:23 +0200 Subject: Harry Potter's magic button - a solution to another tricky group bug Message-ID: <4C5D81AF.5070703@hrz.uni-kassel.de> On Sat Aug 7, 2010, Richard Gaskin ambassador at fourthworld.com wrote > Wilhelm Sanke wrote: > > > Richard, > > > > Thanks for this really valuable information. > > > > "set the boundingrect of group x to the rect of group x" solves the > > complete list of problems, the "setting" and "keeping" bugs are no > > longer interfering and all side effects have gone away - like with the > > magic button, but with even less effort. > > Yeah, the boundingRect property been a godsend on some projects, and I > was quite pleased when Raney added it. Makes short work of things that > can get quite complicated without it. > > As much as I enjoy using Rev, there are a few things I miss from when > when I was using SuperCard daily; this was one of them. > > > They must be a great amount of similarities between what the > > boundingrect and the magic button achieve, and if the Rev engineers > > will still try to fix the "set the loc" bug they should also look how > > the boundingrect is coded in the engine. > > I think I missed that bug - what's the RQCC# The first post of this thread of August 3 was intended to be a first draft of the report. I did not yet submit the report as I wanted to see and possibly include relevant feedback from the list, which seems to be justified now. > > The Revolution docs/dictionary should be updated to reflect the > > dependency of "set the loc" in groups on the "boundingrect" property. > > Good idea - I've just added this note to the Dictionary entry for the > location property: > > If you encounter difficulties setting the loc of objects > within a group, see the boundingRect group property in > this dictionary. > > -- > Richard Gaskin I took a look at the comments in the Dictionary: Here are the comments: > Use the boundingRect property to control how a group responds when you > move one of the group's controls to the edge of the group. > > Value: > The boundingRect of a group consists of four integers separated by commas. > > By default, the boundingRect property of a group is set to empty. > > Comments: > If a group's boundingRect is empty and its lockLocation is false, when > you drag an object toward the boundary of the group, the group > automatically expands, resizing itself to fit. If the lockLocation is > true, the object is clipped to the group's rectangle. > > If a group's boundingRect is not empty and its lockLocation is false, > when you drag an object toward the boundary of the group, the group > does not automatically resize to fit its objects. Instead, the object > is clipped at the boundingRect. (In group-editing mode, the entire > control is shown, but when you exit group-editing mode, controls > outside the boundingRect are clipped.) > > If the group is a scrolling group, dragging an object in it > automatically scrolls the group. When you drag beyond the scrollable > area, the object is clipped. Some remarks to these comments: I doubt that a user could see any indication of the problem of setting and keeping the loc in groups in these comments. Setting the loc of an object is not mentioned. There seems to be no difference between "boundingrect empty and locLocation true" and "boundingrect not empty and lockLocation false", the option of "boundingrect not empty and lockLocaction true", which would describe the properties of the group as I use it now, is absent in the comments. I could *not* verify the last sentence of the comments: "If the group is a scrolling group, dragging an object in it automatically scrolls the group". I think this entry for "boundingrect" in the docs needs to be updated, too. And I also recommend to change the note for entry "location" to "If you want to set the loc of an object inside a group reliably, set the boundingrect of the group to the rect of the group".- If the boundingrect of a group is such a powerful property I wonder why the default for groups isn't "boundingrect not empty" and is automatically set to the coordinates when a group is created or resized ? I will test which of the other bugs in my substantial collection of group bugs is positively affected by using the "boundingrect" property. Regards, Wilhelm Sanke From benr_mc at cogapp.com Sat Aug 7 12:04:54 2010 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Sat, 07 Aug 2010 17:04:54 +0100 Subject: Bug management systems In-Reply-To: References: <4C5D549F.3010701@cogapp.com> Message-ID: <4C5D8426.8010303@cogapp.com> On 07/08/2010 14:56, wayne durden wrote: > Given that almost all will indeed have excessive features, it seems like > this might be a good use case for Rev and "eating one's own dogfood." > Admittedly any prebuilt system has an enormous amount of man hours > already in it, but it doesn't seem like a bug report system needs to > start with more than 15 or so fields and Rev is ideal for incrementally > adding a feature such as a new report type as the need arises... > > It has bugged me a little in that if Rev is so ideal for some of these > things, why isn't the maillist, bug syetem etc. done in Rev? It sent > mixed messages to me at least to get a Python or PHP based list signup, > etc. Now I fully understand the rationale, each of these things is > proven and has a ton of manhours already invested in discovering the > "gotchas" that crop up as time passes, but still, it generates a mixed > message when juxtaposed against the main selling claims related to Rev. I'd really hate RunRev to waste resources doing this. If they were to write their own bug tracking system, mailing list etc, then I'd certainly expect them to consider using their own dog food (but possibly decide to use something else); but unless there's really nothing available that's "good enough", they should focus on their core job of improving and selling the product, not distract themselves by building from scratch what can be economically purchased. As a programmer, with a load of programmer colleagues, it's taken me years to learn to resist the urge to roll our own. Gradually we've replaced the internally developed intranet calendar, the internally developed bug tracker, the internally developed CRM system and many other pieces, with products or OSS. Each move was a step in the right direction in focusing on what we could do for our clients. Frankly products are probably a better move than OSS in this respect; for the equivalent of perhaps half a day's rates, we get the product of months of work by someone else's developers, with someone else to do support and fix bugs; the inability to change the odd aspects that we don't like are probably outweighed by the inability to waste staff time fixing those aspects. I cry when I recall that in the infancy of our company we kept our accounts using a system written by our MD in Prolog! Ben From stephenREVOLUTION2 at barncard.com Sat Aug 7 12:52:41 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 7 Aug 2010 09:52:41 -0700 Subject: revVideoGrabber: stop preview doesn't hide video window In-Reply-To: <4C5D7D32.9020804@cogapp.com> References: <4C5B2FA4.5000103@cogapp.com> <4C5B4B7B.1020005@together.net> <4C5D7D32.9020804@cogapp.com> Message-ID: It depends of what you define as 'long'. I was transferring entire 8mm tapes at SD DV resolution - 2 hrs - and generating up to 24g files. I would get sync issues as big as 10 seconds sometimes. Other times not. Videograbber could be extremely useful for archiving. Video transfer and database integrated into one app. An archivist's dream. The audio issues are puzzling, and indicate an external sort of half-baked. I suspect that these issues are related to the ambiguity of the audio for videograbber, especially when the audio panel is used, which seems to make things worse. Doesn't anybody test these things before release? On 7 August 2010 08:35, Ben Rubinstein wrote: > Thanks for the confirmation Richard, I've added a report to RQCC for this > issue. > > I'm a bit perturbed by the combination of the "The PC side works much > better than the Mac side" with "runs with adequate stability even for video > grabs as long as 3-5 minutes". The latter seems to me to be a doubly low > standard: "adequate stability" and "as long as...". > > So far my testing (on Mac) with a rig cycling round initialising, setting > settings, preview, capture (for short capture runs at this point, ie 5 > seconds) and closing the video grabber has captured approx 2,000 clips over > a nine hour period without evident issues. Should I infer from your remarks > that I got lucky? Is it long grabs (my next set of tests) that is the > problem? > > Many thanks, > > Ben > > > On 06/08/2010 00:38, Richard Miller wrote: > >> Ben, >> >> We use the video grabber functions extensively in our software, but only >> on PC's (where it runs with adequate stability even for video grabs as >> long as 3-5 minutes). The PC side works much better than the Mac side. >> >> The issue you are running into on a Mac is a known bug. You're not doing >> anything wrong. But I've not found it a problem to use >> revCloseVIdeoGrabber as often as needed (on Mac or PC side)... because >> you are right in saying it is the only way to get rid of the preview >> image on a Mac. >> >> Richard Miller >> >> >> On 8/5/10 5:39 PM, Ben Rubinstein wrote: >> >>> Docs for revStopPreviewingVideo says: >>> "Stops showing input from a video camera in the video grabber window." >>> "Use the revStopPreviewingVideo command to stop showing video input." >>> "When you stop previewing video, the video grabber window shows a >>> blank screen." >>> >>> When I try this (rev 4.0 or later, on MacOS X 10.6) it doesn't show a >>> blank screen, instead I'm left with a still of the last frame. The >>> only way to make it go away is to execute revCloseVideoGrabber. >>> >>> Is this a known bug? Am I doing something wrong? Does anyone else >>> experience this, or conversely has anyone experience of it working as >>> documented? >>> >>> TIA, >>> >>> Ben >>> >> _______________________________________________ > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From gandalf at doctortimothyMiller.com Sat Aug 7 15:33:06 2010 From: gandalf at doctortimothyMiller.com (Timothy Miller) Date: Sat, 7 Aug 2010 12:33:06 -0700 Subject: Activate Rev Media ?! Message-ID: <04B54D0F-A78E-4D88-B883-4C17C994FD41@doctortimothyMiller.com> Hello, I've been the happy owner of Rev Media v 3.0.0 for several years. Yes, I paid for it. I use it every day, in a variety of ways, on crude, self-authored stacks. Today, I routinely launched a stack I use ever day, and, to my surprise, I was prompted to activate my copy. I might have the serial number around somewhere. I'll have to hunt. Meanwhile, why did this happen? Tim Miller From gandalf at doctortimothyMiller.com Sat Aug 7 15:35:24 2010 From: gandalf at doctortimothyMiller.com (Timothy Miller) Date: Sat, 7 Aug 2010 12:35:24 -0700 Subject: Activate Rev Media ?! In-Reply-To: <04B54D0F-A78E-4D88-B883-4C17C994FD41@doctortimothyMiller.com> References: <04B54D0F-A78E-4D88-B883-4C17C994FD41@doctortimothyMiller.com> Message-ID: <8296A644-62AC-45EA-94A7-9E416A0B0362@doctortimothyMiller.com> Hoo Boy! I just realized that the place I keep my Rev Media registration number is an a password-protected Rev Stack! Tim Miller On Aug 7, 2010, at 12:33 PM, Timothy Miller wrote: > Hello, > > I've been the happy owner of Rev Media v 3.0.0 for several years. Yes, I paid for it. I use it every day, in a variety of ways, on crude, self-authored stacks. > > Today, I routinely launched a stack I use ever day, and, to my surprise, I was prompted to activate my copy. > > I might have the serial number around somewhere. I'll have to hunt. > > Meanwhile, why did this happen? > > Tim 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 mpetrides at earthlink.net Sat Aug 7 15:40:59 2010 From: mpetrides at earthlink.net (Petrides, M.D. Marian) Date: Sat, 7 Aug 2010 14:40:59 -0500 Subject: Activate Rev Media ?! In-Reply-To: <8296A644-62AC-45EA-94A7-9E416A0B0362@doctortimothyMiller.com> References: <04B54D0F-A78E-4D88-B883-4C17C994FD41@doctortimothyMiller.com> <8296A644-62AC-45EA-94A7-9E416A0B0362@doctortimothyMiller.com> Message-ID: Tim Just contact support at runrev.com and they can provide you with your password. They might also be able to tell you why this happened--I certainly can't (no surprise that :-) M On Aug 7, 2010, at 2:35 PM, Timothy Miller wrote: > Hoo Boy! I just realized that the place I keep my Rev Media > registration number is an a password-protected Rev Stack! > > Tim Miller > > > On Aug 7, 2010, at 12:33 PM, Timothy Miller wrote: > >> Hello, >> >> I've been the happy owner of Rev Media v 3.0.0 for several years. >> Yes, I paid for it. I use it every day, in a variety of ways, on >> crude, self-authored stacks. >> >> Today, I routinely launched a stack I use ever day, and, to my >> surprise, I was prompted to activate my copy. >> >> I might have the serial number around somewhere. I'll have to hunt. >> >> Meanwhile, why did this happen? >> >> Tim 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 ambassador at fourthworld.com Sat Aug 7 15:43:45 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 07 Aug 2010 12:43:45 -0700 Subject: Harry Potter's magic button - a solution to another tricky group bug Message-ID: <4C5DB771.20307@fourthworld.com> Wilhelm Sanke wrote: > There seems to be no difference between "boundingrect empty and > locLocation true" and "boundingrect not empty and lockLocation false", > the option of "boundingrect not empty and lockLocaction true", which > would describe the properties of the group as I use it now, is absent in > the comments. > > I could *not* verify the last sentence of the comments: "If the group is > a scrolling group, dragging an object in it automatically scrolls the > group". > > I think this entry for "boundingrect" in the docs needs to be updated, > too. And I also recommend to change the note for entry "location" to > > "If you want to set the loc of an object inside a group reliably, set > the boundingrect of the group to the rect of the group".- The Comments section is open to you as a way to provide the information you feel is useful immediately. For the main dictionary entry, use the Documentation specifier when filing the request in the RQCC. > If the boundingrect of a group is such a powerful property I wonder why > the default for groups isn't "boundingrect not empty" and is > automatically set to the coordinates when a group is created or resized ? It depends what you want to do with the group. Groups are very dynamic by default, adjusting themselves for whatever contents are inside of them. Altering that behavior with the boundingRect is useful for making canvas-like regions, but if you're not after a canvas you may prefer the default behavior. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From m.schonewille at economy-x-talk.com Sat Aug 7 15:55:10 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 7 Aug 2010 21:55:10 +0200 Subject: Activate Rev Media ?! In-Reply-To: <04B54D0F-A78E-4D88-B883-4C17C994FD41@doctortimothyMiller.com> References: <04B54D0F-A78E-4D88-B883-4C17C994FD41@doctortimothyMiller.com> Message-ID: Hi Tim, Why don't you just download the new free RevMedia 4.0? Often, when I install a trial version or an older version of Revolution, all already installed versions of Rev get unregistered. I don't know why. -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 7-aug-2010, om 21:33 heeft Timothy Miller het volgende geschreven: > Hello, > > I've been the happy owner of Rev Media v 3.0.0 for several years. > Yes, I paid for it. I use it every day, in a variety of ways, on > crude, self-authored stacks. > > Today, I routinely launched a stack I use ever day, and, to my > surprise, I was prompted to activate my copy. > > I might have the serial number around somewhere. I'll have to hunt. > > Meanwhile, why did this happen? From gandalf at doctortimothyMiller.com Sat Aug 7 15:56:50 2010 From: gandalf at doctortimothyMiller.com (Timothy Miller) Date: Sat, 7 Aug 2010 12:56:50 -0700 Subject: Activate Rev Media ?! In-Reply-To: References: <04B54D0F-A78E-4D88-B883-4C17C994FD41@doctortimothyMiller.com> <8296A644-62AC-45EA-94A7-9E416A0B0362@doctortimothyMiller.com> Message-ID: Thanks Marian, I was able to retrieve the serial number from another source. Then I couldn't enter it because the serial number fields were dimmed out in the "please register" window, along with a spinning beachball. It's working now. A slightly worrisome incident. Maybe time to run Disk Warrior. Any preventive measures I should consider? Is my copy of Media too old? Cheers, Tim Miller On Aug 7, 2010, at 12:40 PM, Petrides, M.D. Marian wrote: > Tim > Just contact support at runrev.com and they can provide you with your password. They might also be able to tell you why this happened--I certainly can't (no surprise that :-) > > M > On Aug 7, 2010, at 2:35 PM, Timothy Miller wrote: > >> Hoo Boy! I just realized that the place I keep my Rev Media registration number is an a password-protected Rev Stack! >> >> Tim Miller >> >> >> On Aug 7, 2010, at 12:33 PM, Timothy Miller wrote: >> >>> Hello, >>> >>> I've been the happy owner of Rev Media v 3.0.0 for several years. Yes, I paid for it. I use it every day, in a variety of ways, on crude, self-authored stacks. >>> >>> Today, I routinely launched a stack I use ever day, and, to my surprise, I was prompted to activate my copy. >>> >>> I might have the serial number around somewhere. I'll have to hunt. >>> >>> Meanwhile, why did this happen? >>> >>> Tim 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 > > _______________________________________________ > 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 gandalf at doctortimothyMiller.com Sat Aug 7 16:10:01 2010 From: gandalf at doctortimothyMiller.com (Timothy Miller) Date: Sat, 7 Aug 2010 13:10:01 -0700 Subject: Activate Rev Media ?! In-Reply-To: References: <04B54D0F-A78E-4D88-B883-4C17C994FD41@doctortimothyMiller.com> Message-ID: <2A5B91FC-4763-440F-B15C-2BE657D0D1E4@doctortimothyMiller.com> Good question, Mark. Answer: I didn't know RevMedia 4.0 is free, and for that matter, I didn't realize it exists. I often move stacks back and forth between my PowerPC OS X 10.4.x machine and my Intel OS 10.6.4 machine, so I need that to keep working. I can't find the system requirements for RevMedia 4.0 on the RunRev website. Will someone please enlighten me on this point? I suspect RevMedia 4.0 is Intel-only. True? If I have RevMedia 4.0 on one machine and 3.0 on the other, moving stacks back and forth, am I at risk for trouble? Thanks in advance. Tim Miller On Aug 7, 2010, at 12:55 PM, Mark Schonewille wrote: > Hi Tim, > > Why don't you just download the new free RevMedia 4.0? > > Often, when I install a trial version or an older version of Revolution, all already installed versions of Rev get unregistered. I don't know why. > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz > > Op 7-aug-2010, om 21:33 heeft Timothy Miller het volgende geschreven: > >> Hello, >> >> I've been the happy owner of Rev Media v 3.0.0 for several years. Yes, I paid for it. I use it every day, in a variety of ways, on crude, self-authored stacks. >> >> Today, I routinely launched a stack I use ever day, and, to my surprise, I was prompted to activate my copy. >> >> I might have the serial number around somewhere. I'll have to hunt. >> >> Meanwhile, why did this happen? > > > _______________________________________________ > 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 katir at hindu.org Sat Aug 7 16:53:35 2010 From: katir at hindu.org (Web Admin Himalayan Academy) Date: Sat, 07 Aug 2010 10:53:35 -1000 Subject: Rodeo, revServer etc. In-Reply-To: References: Message-ID: <4C5DC7CF.6010109@hindu.org> FWIW There is a marvelous old book around, 40 years old in fact, The Management of Time by James T. McCay. It appears there are only about 60 copies left on Amazon. It mandatory reading given to use by our spiritual master. If you wanted a dynamic insight into personal management in just 190 pages without all the hype of the modern management movement, ( which is marvelous in it's own way) get it now! Good as gold today as it was back then. A key point McCay makes in the first chapter is that the primary "leak" in our time management is poor communications, and that it is almost an inevitability, inherent in life itself. This whole thing with Jerry and Sarah and RunRev is a classic case. McCay's contention is that we *must always!* take into account the following principles, and if we do not it will cost us dearly on many levels. 1) What I say or write is probably not very close to what I actually think or actually feel. 2) What the other person actually hears or reads is not going to be what I said or wrote. 3) How the person cognizes what she heard or read is going to be different from what she thought she heard 4) conversely, you need to be humble enough to admit that what you cognize from what someone writes or said to you, is probably not exactly what they said, and that you need to factor into the relationship #1 above: that what she said or wrote to you was inevitably not the fullness of what they thought or felt. ergo "it's all my fault" If you bear these principles in mind "run time...." and keep a feedback loop going with the other person, then you a) get true communications b) efficient "management" (it takes less time to get things done because everyone understand everyone else from the get go) c) much more positive inter-personal relationships. I would add to this: and avoid possibly serious strategic blunders by taking decisions based on the inherently flawed communications, both "business" decisions as well as decisions about relationships. skts On 8/5/10 8:16 AM, Heather Nagey wrote: > Good heavens. I go away for a week and a war breaks out! I do > apologise, I will never take another holiday! > > Sarah, you are not banned. What a crazy idea. > > I might suggest that this whole saga is a sad illustration of my > mantra - if you want to know the answer to a question, write to > support - support at runrev.com. Do not assume that posting an issue on > the use-list will get you an answer. Do not assume that emailing a > specific engineer will get you an answer - that engineer might not be > in a position to reply. Do not assume that a specific member of the > user community knows the correct answer. Do not email my personal > email address, I might be away. Support is manned, even when I am on > holiday. In fact, Andre did finally email support to ask about the > revServer limits, and he did get a reply. > > Now perhaps we can all get back to discussing Rev, in all its forms, > and how to get the best use out of it. In a friendly, > non-confrontational manner if at all possible! > > Warm Regards to all > > Heather > > Heather Nagey > Customer Services Manager > http://www.runrev.com/ > RunRev - Software construction for everyone > follow me on twitter > http://www.twitter.com/lainopik > > _______________________________________________ > 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 Sat Aug 7 17:38:59 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 07 Aug 2010 16:38:59 -0500 Subject: Activate Rev Media ?! In-Reply-To: <2A5B91FC-4763-440F-B15C-2BE657D0D1E4@doctortimothyMiller.com> References: <04B54D0F-A78E-4D88-B883-4C17C994FD41@doctortimothyMiller.com> <2A5B91FC-4763-440F-B15C-2BE657D0D1E4@doctortimothyMiller.com> Message-ID: <4C5DD273.607@hyperactivesw.com> On 8/7/10 3:10 PM, Timothy Miller wrote: > > > If I have RevMedia 4.0 on one machine and 3.0 on the other, moving > stacks back and forth, am I at risk for trouble? No, it should work fine. The stacks are in the same format. The only problem you might have is if you write new scripts that use 4.0 features which won't be supported in 3.0. It doesn't sound like you're doing that. Your license info is stored in a licensing folder inside your user's Library/Application Support/Runtime Revolution/ folder. I'm not sure exactly how it works, but you can remove the folder to make Rev believe you are an unlicensed user. Then the next time you launch Rev it will ask for your license and if it matches the version of Rev you are launching, you're good to go. If any of the licensing files were removed or damaged somehow, you'd get the behavior you saw. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bvlahos at mac.com Sat Aug 7 18:14:50 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 07 Aug 2010 15:14:50 -0700 Subject: Tab char doesn't work Message-ID: <5560ECC3-8ABE-4D2A-9C8E-5C332D4A873A@mac.com> I want to intercept a paste command to replace any tabs or returns in it with spaces so they don't get pasted into a table object. The script below works for returns but not tabs. Notice that color of the word tab is not even the same as the color of the word return. It is like the tab character isn't being recognized. on pasteKey -- replace returns and tabs with spaces before pasting for attachments description (actually any table) if word 2 of the target begins with "revCell-" then set the clipboardData["text"] to replaceText(the clipboardData["text"],return,space) set the clipboardData["text"] to replaceText(the clipboardData["text"],tab,space) end if paste end pasteKey I put this script into a frontscript. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. From bvlahos at mac.com Sat Aug 7 18:21:22 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 07 Aug 2010 15:21:22 -0700 Subject: Tab char doesn't work In-Reply-To: <5560ECC3-8ABE-4D2A-9C8E-5C332D4A873A@mac.com> References: <5560ECC3-8ABE-4D2A-9C8E-5C332D4A873A@mac.com> Message-ID: <2CEB8071-B1E3-4092-838A-7059D6F3EF6B@mac.com> Sorry the actual script is: on pasteKey -- replace returns and tabs with spaces before pasting for attachments description (actually any table) if the target contains "revCell-" then set the clipboardData["text"] to replaceText(the clipboardData["text"],return,space) set the clipboardData["text"] to replaceText(the clipboardData["text"],tab,space) end if paste end pasteKey Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Aug 7, 2010, at 3:14 PM, Bill Vlahos wrote: > I want to intercept a paste command to replace any tabs or returns in it with spaces so they don't get pasted into a table object. The script below works for returns but not tabs. Notice that color of the word tab is not even the same as the color of the word return. It is like the tab character isn't being recognized. > > on pasteKey -- replace returns and tabs with spaces before pasting for attachments description (actually any table) > if word 2 of the target begins with "revCell-" then > set the clipboardData["text"] to replaceText(the clipboardData["text"],return,space) > set the clipboardData["text"] to replaceText(the clipboardData["text"],tab,space) > end if > paste > end pasteKey > > I put this script into a frontscript. > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. > > _______________________________________________ > 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 Aug 7 18:38:16 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Sat, 7 Aug 2010 15:38:16 -0700 Subject: Tab char doesn't work In-Reply-To: <5560ECC3-8ABE-4D2A-9C8E-5C332D4A873A@mac.com> References: <5560ECC3-8ABE-4D2A-9C8E-5C332D4A873A@mac.com> Message-ID: <40CE3988-4608-48FA-B501-4F748F7AF811@yahoo.com> 'tab' is a keyword, but not a command , 'return' is a command in a function and will be a different color 'space' and 'tab' should be the same color, just as 'comma'. Try the simple 'replace tab with space in var ------ get the clipboardData["text"] replace tab with space in IT set the clipboardData["text"] to IT ------ since replaceText is expecting a regEx string. I think you need to escape the tab char for the string to work On Aug 7, 2010, at 3:14 PM, Bill Vlahos wrote: > I want to intercept a paste command to replace any tabs or returns > in it with spaces so they don't get pasted into a table object. The > script below works for returns but not tabs. Notice that color of > the word tab is not even the same as the color of the word return. > It is like the tab character isn't being recognized. > > on pasteKey -- replace returns and tabs with spaces before pasting > for attachments description (actually any table) > if word 2 of the target begins with "revCell-" then > set the clipboardData["text"] to replaceText(the > clipboardData["text"],return,space) > set the clipboardData["text"] to replaceText(the > clipboardData["text"],tab,space) > end if > paste > end pasteKey > > I put this script into a frontscript. > Jim Ault Las Vegas From andre at andregarzia.com Sat Aug 7 19:50:49 2010 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 7 Aug 2010 20:50:49 -0300 Subject: [ANNOYANCE] Custom protocols that are not registered do not trigger browserBeforeNavigate correctly on windows. Message-ID: Folks, Sometimes do you want to create some fancy interface using RevBrowser and want to communicate back with the stack that hosts the RevBrowsr view. One quick way of doing this is to use custom protocols (so that you know that url is yours) such as: myapp:refreshGui myapp:executeHandler/doStuff For example, some construct like: Click here to Refresh GUI When that link is clicked, you could use a browserBeforeNavigate handler such as this one: on browserBeforeNavigate pID, pURL set the itemdel to ":" if word 1 of pURL is "myapp" then -- our protocol! switch word 2 of pURL case "refreshGui" refreshGui break end switch put true into browserCancel end if end browserBeforeNavigate This of course works great on Mac OS X and you can create your own browser windows that trigger things back with no problem and you don't mix http://or other protocols with your own, very elegant. Now on Windows land (damn you Redmond!!!) things are different. It appears that browserBeforeNavigate is only triggered afted IE renderer inspects the URL. When it finds out a custom protocol, it checks to know if the system can handle it. If you are using your own and haven't fiddled with Windows Registry to register it, that check will fail and IE will change the damn URL for you pointing to a internal windows dll page showing something like: "Hey Fella, I don't know how to handle this!" which of course is an exercise in patience since my own browserBeforeNavigate will prevent IE from even trying to handle my own protocol. This is not a RevBrowser BUG per se since RevBrowser is not doing anything, it is IE again in its infinite wisdom trying to do things for you (which it shouldn't). The only solution in these case is to add lots of Registry information, registering your own protocol, which will probably make windows try to relaunch your standalone for every of those links. Damn, microsoft always makes my life harder! Andre -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Sat Aug 7 20:09:19 2010 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 7 Aug 2010 21:09:19 -0300 Subject: How to set a empty registry setting on windows? Message-ID: Folks, For some stuff to work I need to set a subkey on the windows registry to empty value, I need the key there with an empty value but setRegistry says that if you set a subKey to empty it will delete the subKey. How to proceed then? Andre -- http://www.andregarzia.com All We Do Is Code. From ambassador at fourthworld.com Sat Aug 7 20:35:13 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 07 Aug 2010 17:35:13 -0700 Subject: How to set a empty registry setting on windows? Message-ID: <4C5DFBC1.40301@fourthworld.com> Andre Garzia wrote: > For some stuff to work I need to set a subkey on the windows registry to > empty value, I need the key there with an empty value but setRegistry says > that if you set a subKey to empty it will delete the subKey. How to proceed > then? If memory serves you can set it to (in Rev) quote"e, which gives you "" which is different from empty in the Win registry (but of course is synonymous with empty in Rev). It's been a long time since I needed to do that, so test it before trusting it of course. If that's not it let me know and I'll see if I can dig up what I was working on back then.... -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From bvlahos at mac.com Sat Aug 7 20:39:02 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 07 Aug 2010 17:39:02 -0700 Subject: Where to declare frontscripts? Message-ID: <05AADBE6-16D1-4389-9C28-24C5F1CC70CD@mac.com> Do frontscripts need to be set up in the standalone or can they be established in a stack that is launched by the standalone? I can do the former but I can't seem to set a frontscript from a stack launched by the standalone. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. From andre at andregarzia.com Sat Aug 7 20:40:38 2010 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 7 Aug 2010 21:40:38 -0300 Subject: How to set a empty registry setting on windows? In-Reply-To: <4C5DFBC1.40301@fourthworld.com> References: <4C5DFBC1.40301@fourthworld.com> Message-ID: On Sat, Aug 7, 2010 at 9:35 PM, Richard Gaskin wrote: > Andre Garzia wrote: > > For some stuff to work I need to set a subkey on the windows registry to >> empty value, I need the key there with an empty value but setRegistry says >> that if you set a subKey to empty it will delete the subKey. How to >> proceed >> then? >> > > If memory serves you can set it to (in Rev) quote"e, which gives you "" > which is different from empty in the Win registry (but of course is > synonymous with empty in Rev). > > It's been a long time since I needed to do that, so test it before trusting > it of course. > > If that's not it let me know and I'll see if I can dig up what I was > working on back then.... > Richard, Thanks for the reply. What I am trying to do is set a custom URL protocol as described here: http://msdn.microsoft.com/en-us/library/aa767914%28VS.85%29.aspx This needs a subkey "URL Protocol" set to windows empty string. Now, won't quote & quote be interpreted as not empty by windows subsystems? ARGH!!!! Why using empty keys, why not hardwiring for something more sensible such as URL Protocol = "True". Damn windows "design" ideas. > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > 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 Sat Aug 7 20:42:44 2010 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 7 Aug 2010 21:42:44 -0300 Subject: Where to declare frontscripts? In-Reply-To: <05AADBE6-16D1-4389-9C28-24C5F1CC70CD@mac.com> References: <05AADBE6-16D1-4389-9C28-24C5F1CC70CD@mac.com> Message-ID: Bill, I've set frontscripts from many places including stacks launched by standalones. Can you query the frontscripts property after setting it to see if it is missing? On Sat, Aug 7, 2010 at 9:39 PM, Bill Vlahos wrote: > Do frontscripts need to be set up in the standalone or can they be > established in a stack that is launched by the standalone? > > I can do the former but I can't seem to set a frontscript from a stack > launched by the standalone. > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important > life information with you, accessible, and secure. > > _______________________________________________ > 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 wow at together.net Sat Aug 7 20:54:54 2010 From: wow at together.net (Richard Miller) Date: Sat, 07 Aug 2010 20:54:54 -0400 Subject: revVideoGrabber: stop preview doesn't hide video window In-Reply-To: <4C5D7D32.9020804@cogapp.com> References: <4C5B2FA4.5000103@cogapp.com> <4C5B4B7B.1020005@together.net> <4C5D7D32.9020804@cogapp.com> Message-ID: <4C5E005E.7000606@together.net> Yes. Long grabs are where we've encountered problems. Richard Miller On 8/7/10 11:35 AM, Ben Rubinstein wrote: > Is it long grabs (my next set of tests) that is the problem? > > Many thanks, > > Ben From jacque at hyperactivesw.com Sat Aug 7 20:54:37 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 07 Aug 2010 19:54:37 -0500 Subject: [ANNOYANCE] Custom protocols that are not registered do not trigger browserBeforeNavigate correctly on windows. In-Reply-To: References: Message-ID: <4C5E004D.7040904@hyperactivesw.com> On 8/7/10 6:50 PM, Andre Garzia wrote: > This is not a RevBrowser BUG per se since RevBrowser is not doing anything, > it is IE again in its infinite wisdom trying to do things for you (which it > shouldn't). The only solution in these case is to add lots of Registry > information, registering your own protocol, which will probably make windows > try to relaunch your standalone for every of those links. Probably it's a security measure so that an unregistered custom protocol doesn't wipe your hard drive or kill your dog or steal your children's house keys. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bvlahos at mac.com Sat Aug 7 20:55:49 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 07 Aug 2010 17:55:49 -0700 Subject: Where to declare frontscripts? In-Reply-To: References: <05AADBE6-16D1-4389-9C28-24C5F1CC70CD@mac.com> Message-ID: <2C7DB1A2-3D1B-43DC-B6FC-EFA3175AC1CA@mac.com> I have a button with the script: answer the frontscripts which returns nothing. Not even an empty dialog box. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Aug 7, 2010, at 5:42 PM, Andre Garzia wrote: > Bill, > > I've set frontscripts from many places including stacks launched by > standalones. Can you query the frontscripts property after setting it to see > if it is missing? > > > > On Sat, Aug 7, 2010 at 9:39 PM, Bill Vlahos wrote: > >> Do frontscripts need to be set up in the standalone or can they be >> established in a stack that is launched by the standalone? >> >> I can do the former but I can't seem to set a frontscript from a stack >> launched by the standalone. >> >> Bill Vlahos >> _________________ >> InfoWallet (http://www.infowallet.com) is about keeping your important >> life information with you, accessible, and secure. >> >> _______________________________________________ >> 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 bvlahos at mac.com Sat Aug 7 20:57:56 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 07 Aug 2010 17:57:56 -0700 Subject: Where to declare frontscripts? In-Reply-To: <2C7DB1A2-3D1B-43DC-B6FC-EFA3175AC1CA@mac.com> References: <05AADBE6-16D1-4389-9C28-24C5F1CC70CD@mac.com> <2C7DB1A2-3D1B-43DC-B6FC-EFA3175AC1CA@mac.com> Message-ID: Sorry. I misspoke. It is getting loaded. Now I have to figure out why it isn't working. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Aug 7, 2010, at 5:55 PM, Bill Vlahos wrote: > I have a button with the script: answer the frontscripts which returns nothing. Not even an empty dialog box. > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. > > On Aug 7, 2010, at 5:42 PM, Andre Garzia wrote: > >> Bill, >> >> I've set frontscripts from many places including stacks launched by >> standalones. Can you query the frontscripts property after setting it to see >> if it is missing? >> >> >> >> On Sat, Aug 7, 2010 at 9:39 PM, Bill Vlahos wrote: >> >>> Do frontscripts need to be set up in the standalone or can they be >>> established in a stack that is launched by the standalone? >>> >>> I can do the former but I can't seem to set a frontscript from a stack >>> launched by the standalone. >>> >>> Bill Vlahos >>> _________________ >>> InfoWallet (http://www.infowallet.com) is about keeping your important >>> life information with you, accessible, and secure. >>> >>> _______________________________________________ >>> 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 From andre at andregarzia.com Sat Aug 7 20:59:32 2010 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 7 Aug 2010 21:59:32 -0300 Subject: [ANNOYANCE] Custom protocols that are not registered do not trigger browserBeforeNavigate correctly on windows. In-Reply-To: <4C5E004D.7040904@hyperactivesw.com> References: <4C5E004D.7040904@hyperactivesw.com> Message-ID: On Sat, Aug 7, 2010 at 9:54 PM, J. Landman Gay wrote: > On 8/7/10 6:50 PM, Andre Garzia wrote: > > This is not a RevBrowser BUG per se since RevBrowser is not doing >> anything, >> it is IE again in its infinite wisdom trying to do things for you (which >> it >> shouldn't). The only solution in these case is to add lots of Registry >> information, registering your own protocol, which will probably make >> windows >> try to relaunch your standalone for every of those links. >> > > Probably it's a security measure so that an unregistered custom protocol > doesn't wipe your hard drive or kill your dog or steal your children's house > keys. > > check my other email. Setting your own custom protocol in windows is hard because you need an empty subkey set and revs own setRegistry will pick your attempt to set an empty subkey and delete it (like: why would someone want to set an empty subkey? well, I do!) :-/ > -- > 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 andre at andregarzia.com Sat Aug 7 21:06:22 2010 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 7 Aug 2010 22:06:22 -0300 Subject: Where to declare frontscripts? In-Reply-To: References: <05AADBE6-16D1-4389-9C28-24C5F1CC70CD@mac.com> <2C7DB1A2-3D1B-43DC-B6FC-EFA3175AC1CA@mac.com> Message-ID: Bill, Best reason for it not to be working is it referencing wrong relative objects and stacks. Try setting the defaultstack to something on your frontscript before trying to do stuff with objects. Andre On Sat, Aug 7, 2010 at 9:57 PM, Bill Vlahos wrote: > Sorry. I misspoke. It is getting loaded. Now I have to figure out why it > isn't working. > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important > life information with you, accessible, and secure. > > On Aug 7, 2010, at 5:55 PM, Bill Vlahos wrote: > > > I have a button with the script: answer the frontscripts which returns > nothing. Not even an empty dialog box. > > > > Bill Vlahos > > _________________ > > InfoWallet (http://www.infowallet.com) is about keeping your important > life information with you, accessible, and secure. > > > > On Aug 7, 2010, at 5:42 PM, Andre Garzia wrote: > > > >> Bill, > >> > >> I've set frontscripts from many places including stacks launched by > >> standalones. Can you query the frontscripts property after setting it to > see > >> if it is missing? > >> > >> > >> > >> On Sat, Aug 7, 2010 at 9:39 PM, Bill Vlahos wrote: > >> > >>> Do frontscripts need to be set up in the standalone or can they be > >>> established in a stack that is launched by the standalone? > >>> > >>> I can do the former but I can't seem to set a frontscript from a stack > >>> launched by the standalone. > >>> > >>> Bill Vlahos > >>> _________________ > >>> InfoWallet (http://www.infowallet.com) is about keeping your important > >>> life information with you, accessible, and secure. > >>> > >>> _______________________________________________ > >>> 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 > > _______________________________________________ > 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 bonnmike at gmail.com Sat Aug 7 21:08:52 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 7 Aug 2010 19:08:52 -0600 Subject: [ANNOYANCE] Custom protocols that are not registered do not trigger browserBeforeNavigate correctly on windows. In-Reply-To: References: <4C5E004D.7040904@hyperactivesw.com> Message-ID: Can't you do it with a shell call and a .reg file? regedit /s path\to\regfile.reg where /s tells it to run silent. More info at the following KB article, but the gist is, insert the keys you want then export them to a the .reg file. http://support.microsoft.com/kb/310516 On Sat, Aug 7, 2010 at 6:59 PM, Andre Garzia wrote: > On Sat, Aug 7, 2010 at 9:54 PM, J. Landman Gay wrote: > >> On 8/7/10 6:50 PM, Andre Garzia wrote: >> >> ?This is not a RevBrowser BUG per se since RevBrowser is not doing >>> anything, >>> it is IE again in its infinite wisdom trying to do things for you (which >>> it >>> shouldn't). The only solution in these case is to add lots of Registry >>> information, registering your own protocol, which will probably make >>> windows >>> try to relaunch your standalone for every of those links. >>> >> >> Probably it's a security measure so that an unregistered custom protocol >> doesn't wipe your hard drive or kill your dog or steal your children's house >> keys. >> >> > check my other email. Setting your own custom protocol in windows is hard > because you need an empty subkey set and revs own setRegistry will pick your > attempt to set an empty subkey and delete it (like: why would someone want > to set an empty subkey? well, I do!) > > :-/ > > > >> -- >> 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. > _______________________________________________ > 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 Sat Aug 7 21:26:16 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 7 Aug 2010 18:26:16 -0700 Subject: Where to declare frontscripts? In-Reply-To: References: <05AADBE6-16D1-4389-9C28-24C5F1CC70CD@mac.com> <2C7DB1A2-3D1B-43DC-B6FC-EFA3175AC1CA@mac.com> Message-ID: <145375658953.20100807182616@ahsoftware.net> Andre- Saturday, August 7, 2010, 6:06:22 PM, you wrote: > Bill, > Best reason for it not to be working is it referencing wrong relative > objects and stacks. Try setting the defaultstack to something on your > frontscript before trying to do stuff with objects. Yeah - front- and back-scripts are a bit tricky, because when you turn them loose they're not part of any stack any more. -- -Mark Wieder mwieder at ahsoftware.net From benr_mc at cogapp.com Sun Aug 8 05:05:49 2010 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Sun, 08 Aug 2010 10:05:49 +0100 Subject: revVideoGrabber: stop preview doesn't hide video window In-Reply-To: <4C5E005E.7000606@together.net> References: <4C5B2FA4.5000103@cogapp.com> <4C5B4B7B.1020005@together.net> <4C5D7D32.9020804@cogapp.com> <4C5E005E.7000606@together.net> Message-ID: <4C5E736D.7040200@cogapp.com> Thanks, Stephen and Richard. Because I'm selfishly focused on my immediate needs, can you clarify "long grabs" and "problems"? Are long grabs like Stephen's two hours, or would five minutes qualify? Are problems sync drift, or crashing, or memory leaks, or... something else? My application will probably not be doing more than a few minutes per clip - but it will be doing lots and lots of them over a day. Obviously I'll be testing this for myself - but it would be good to have tips on what to look out for. Many thanks, Ben On 08/08/2010 01:54, Richard Miller wrote: > Yes. Long grabs are where we've encountered problems. > > Richard Miller > > > > On 8/7/10 11:35 AM, Ben Rubinstein wrote: >> Is it long grabs (my next set of tests) that is the problem? >> >> Many thanks, >> >> Ben From sanke at hrz.uni-kassel.de Sun Aug 8 07:29:48 2010 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sun, 08 Aug 2010 13:29:48 +0200 Subject: Harry Potter's magic button - a solution to another tricky group bug Message-ID: <4C5E952C.9060409@hrz.uni-kassel.de> On Sat Aug 7, 2010, Richard Gaskin ambassador at fourthworld.com wrote: > For the main dictionary entry, use the Documentation specifier when > filing the request in the RQCC. > > > If the boundingrect of a group is such a powerful property I wonder why > > the default for groups isn't "boundingrect not empty" and is > > automatically set to the coordinates when a group is created or > resized ? > > It depends what you want to do with the group...... Altering that > behavior with the boundingRect is useful for making > canvas-like regions, but if you're not after a canvas you may prefer > the default behavior. Richard, I think *you* are the most competent person to re-write the "boundingrect" entry of the Dictionary and to specify the details more accurately and understandably, after all, as you mentioned, it was you who requested such a feature from Scott Raney. And this was probably one of the last additions Scott Raney made to the MetaTalk language, as the "boundingrect" did not find its way into the Help index of the Metacard IDE as we still use it today. On August 6 you wrote: > But some time ago I needed more canvas-like behaviors, > and Scott Raney accommodated me by adding the boundingRect property for > groups. > > Similar to SuperCard's backSize property, the boundingRect lets you > define a rect for the scrollable area of a group regardless of its > contents. Question: Can we not achieve the same effect for a fixed scrollable area when we simply "set the rect", i.e. not the boundingrect, and the locLocation to true? What is the difference for a scrollable area when you use "boundingrect" instead? On August 7 you wrote: > Yeah, the boundingRect property been a godsend on some projects, and I > was quite pleased when Raney added it. Makes short work of things that > can get quite complicated without it. Could you possibly provide us - the revolution users - with more details and examples, why the boundingrect is a "godsend" and and how it simplifies things that otherwise remain complicated?- Of course, the "boundingrect" is one of the solutions to the "set the loc of objects in a group" problem, identical (in that) to the effect of the "magic button", and very similar to the effect of Jacqueline's proposal to switch off the scrollbars of a group if the image is smaller than the group. The only difference when focusing on this bug - as it were "on the surface", but not only - is that with the "boundingsrect" scrollbars are tolerated with smaller images whereas with Jacqueline's proposal you have to turn the scrollbars off. If would be surely very nice of you and helpful for Revolution users if you would tell us more about the other features coming with the "boundingrect" property that provide canvas-like behaviors and simplify otherwise complicated things. Thanks very much in advance. Wilhelm Sanke From wow at together.net Sun Aug 8 08:48:26 2010 From: wow at together.net (Richard Miller) Date: Sun, 08 Aug 2010 08:48:26 -0400 Subject: revVideoGrabber: stop preview doesn't hide video window In-Reply-To: <4C5E736D.7040200@cogapp.com> References: <4C5B2FA4.5000103@cogapp.com> <4C5B4B7B.1020005@together.net> <4C5D7D32.9020804@cogapp.com> <4C5E005E.7000606@together.net> <4C5E736D.7040200@cogapp.com> Message-ID: <4C5EA79A.4080005@together.net> Ben, We limit grabs to 3 minutes now, but I suspect we could go longer. It really depends on the processor and camera involved (and probably the audio input source as well)... tremendous variability. Only testing will tell. We sell a customized "kiosk" driven entirely by Rev. This kiosk now uses a dual-core Pentium and a machine-vision camera capturing at 60 frames per second, all under Windows 7. We had problems when using a slower Atom processor, but the new processor allows the videograb functions to work much more smoothly. For example, even during video capture, the live Preview screen still shows fluid motion. Before, it would be jerky and only show perhaps 1/4 of the actual frames. We're not seeing any syncing issues with the audio using this configuration. No crashing. No problems. Richard On 8/8/10 5:05 AM, Ben Rubinstein wrote: > Thanks, Stephen and Richard. > > Because I'm selfishly focused on my immediate needs, can you clarify > "long grabs" and "problems"? Are long grabs like Stephen's two hours, > or would five minutes qualify? Are problems sync drift, or crashing, > or memory leaks, or... something else? > > My application will probably not be doing more than a few minutes per > clip - but it will be doing lots and lots of them over a day. > Obviously I'll be testing this for myself - but it would be good to > have tips on what to look out for. > > Many thanks, > > Ben > > > On 08/08/2010 01:54, Richard Miller wrote: >> Yes. Long grabs are where we've encountered problems. >> >> Richard Miller >> >> >> >> On 8/7/10 11:35 AM, Ben Rubinstein wrote: >>> Is it long grabs (my next set of tests) that is the problem? >>> >>> Many thanks, >>> >>> Ben > _______________________________________________ > 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 richmondmathewson at gmail.com Sun Aug 8 09:29:01 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 08 Aug 2010 14:29:01 +0100 Subject: Rev/Linux update - for Richmond In-Reply-To: <4C5C1AD4.6080507@fourthworld.com> References: <4C5C1AD4.6080507@fourthworld.com> Message-ID: <4C5EB11D.1030405@gmail.com> Here I am in London; just had time to sit down and look at this: On 06/08/2010 15:23, Richard Gaskin wrote: > I got another update this morning from the team on the progress of the > Rev engine for Linux, and this one's for Richmond: > > > > With the screenshot Mark Waddingham noted: > > To be fair, the visual difference for roman text is mostly nil > (or at least will be when I've fixed the slight difference in > baselines that seems to have crept in). Yer, but . . . the reall "fun" will be when I get home and try the Sanskrit2003 font on Linux . . . err . . . wait a minute . . . no it won't as I have a Studio licence so no access to DP builds; Heather very kindly extended my licence to Sept.; whether that will encompass the 4.5 release I don't know ???? > > The linux engine now uses 'pango' to do all its text rendering > and font selection/listing - this is the modern approach and > means if you install fonts via GTK/Gnome/Fontconfig etc. you > actually see them listed in Rev and will be used when requested. Unfortunately I am using my niece's iMac and she will get narked if I put RevMedia on it; also, as it is a Mac running MacOS (mind you, try installing RunRev for Linux on a Ma running Linux PPC and you get a rude awakening) I cannot comment directly on what is happening fontwise on Linux. > > In addition, all the font fallback and such works correctly > both for unicode text and all the config that distros have > invested in 'fontconfig'. The latter, in particular, means you > get sensible default fonts for most common typefaces for other > platforms (for example, there is rarely actually a 'Helvetica' > installed any more, but there is pretty much always Nimbus Sans > which is metric and look compatible). Bye-the-bye; slightly OT trick for those who like Microsoft fonts with their Linux: If you install WINE it also installs Times New Roman and so on, which show up in ALMOST ALL Gnome and KDE compatible apps; mun be in RunRev allus! > > I'm not sure what the performance impact of this might be yet > - I'm hoping it might fix some of the field performance problems > that seem to plague some linux distributions since various > things are cached now which weren't before. More testing will > be needed to see if this is indeed the case. > > > Kevin also noted that some progress has been made in diagnosing the > cause of the printPaperOrientation issue, but that the solution is > "not straightforward" so he doesn't have a fix in hand just yet and > will try to squeeze one in within the couple of weeks. > > Things are looking better each week for those of us enjoying Linux > deployments. :) "enjoying linux deployments" . . . Um, chacun ? son go?t . . . :) ? ce moment J'ai un "grosse durchfall" avec ???? ???????? ? ??????! mind you, Unicode fonts that work would do my digestion no end of good. As my "next trick" will be designing a Sanskrit2003 compatible font with the ancient, southern Indian Grantha script it will cheer me up no end thinking that it will work with RunRev on Linux. sincerely, Richmond Mathewson. From mkoob at rogers.com Sun Aug 8 09:59:45 2010 From: mkoob at rogers.com (Martin Koob) Date: Sun, 8 Aug 2010 13:59:45 +0000 (UTC) Subject: revVideoGrabber: stop preview doesn't hide video window References: <4C5B2FA4.5000103@cogapp.com> <4C5B4B7B.1020005@together.net> <4C5D7D32.9020804@cogapp.com> <4C5E005E.7000606@together.net> <4C5E736D.7040200@cogapp.com> Message-ID: Ben Rubinstein writes: > > Thanks, Stephen and Richard. > > Because I'm selfishly focused on my immediate needs, can you clarify "long > grabs" and "problems"? Are long grabs like Stephen's two hours, or would five > minutes qualify? Are problems sync drift, or crashing, or memory leaks, or... > something else? > > My application will probably not be doing more than a few minutes per clip - > but it will be doing lots and lots of them over a day. Obviously I'll be > testing this for myself - but it would be good to have tips on what to look > out for. > > Many thanks, > > Ben > I have a mac application that uses revVideograbber extensively and the captures range from a few minutes to over an hour. I have not noticed sync issues. I have dealt with the problem of stop preview window by using closevideograbber to get rid of the preview window. One of the things I have noticed is the high CPU use while previewing or recording. It is higher than other mac applications that capture video. The other annoyance is the inability to turn off the audio while previewing. Sometimesthat results in audio feedback depending on the placement of microphones and the volume setting of the Mac. You can use an undocumented keyword for revvideograbdialog revVideograbdialog "audio" to see a QT audio dialog to turn off the sound while previewing but if you try to save the settings it results in problems with the video settings. From stephenREVOLUTION2 at barncard.com Sun Aug 8 11:59:32 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 8 Aug 2010 08:59:32 -0700 Subject: revVideoGrabber: stop preview doesn't hide video window In-Reply-To: References: <4C5B2FA4.5000103@cogapp.com> <4C5B4B7B.1020005@together.net> <4C5D7D32.9020804@cogapp.com> <4C5E005E.7000606@together.net> <4C5E736D.7040200@cogapp.com> Message-ID: On 8 August 2010 06:59, Martin Koob wrote: > > > I have dealt with the problem of stop preview window by using > closevideograbber to get rid of the preview window. > Huh? Doesn't that stop the capture? > > The other annoyance is the inability to turn off the audio while > previewing. > Sometimesthat results in audio feedback depending on the placement > of microphones and the volume setting of the Mac. > You can use an undocumented keyword for revvideograbdialog > > revVideograbdialog "audio" > > to see a QT audio dialog to turn off the > sound while previewing but if you try to save the settings it results in > problems with the video settings. > > yes, just changing the audio setting results in quirky behavior on the video side. I found the audio levels too *low* for monitoring. I was using VG for archiving 8mm videos. I went back to final cut. Save the audio settings? - how does one do that ? It appears impossible because there's no commands documented for that. If one tries to save on top of the video settings... they get trounced. Stephen Barncard San Francisco Ca. USA more about sqb From warrenkuhl at gmail.com Sun Aug 8 12:19:04 2010 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Sun, 8 Aug 2010 11:19:04 -0500 Subject: Check If URL Is Valid Message-ID: I need to check if a URL is valid and receive notification for invalid URLs. I don't want my program to open any browswers when checking. Is this possible? Thanks for any help! Warren From coiin at verizon.net Sun Aug 8 12:37:57 2010 From: coiin at verizon.net (Colin Holgate) Date: Sun, 8 Aug 2010 12:37:57 -0400 Subject: Check If URL Is Valid In-Reply-To: References: Message-ID: <5548C382-15E1-45FB-83D5-B968806E94C8@verizon.net> On Aug 8, 2010, at 12:19 PM, Warren Kuhl wrote: > I need to check if a URL is valid and receive notification for invalid > URLs. I don't want my program to open any browswers when checking. Is > this possible? In some cases it is. If the page you try to access doesn't exist, but the server traps for that, then it's harder to tell. Try these in the message box to see the difference: put url "http://www.runrev.com/" contains "404 Not Found" put url "http://www.runrevvvvvv.com/" contains "404 Not Found" put url "http://www.runrev.com/abcdefg.html" contains "404 Not Found" The first and third ones show "false", and the middle one "true". Although the third one returns false, the page doesn't really exist, but runrev.com handles that and redirects you to another page. From warrenkuhl at gmail.com Sun Aug 8 12:41:11 2010 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Sun, 8 Aug 2010 11:41:11 -0500 Subject: Check If URL Is Valid In-Reply-To: <5548C382-15E1-45FB-83D5-B968806E94C8@verizon.net> References: <5548C382-15E1-45FB-83D5-B968806E94C8@verizon.net> Message-ID: Thanks Colin....this is a great start. Appreciate it! Warren On Sun, Aug 8, 2010 at 11:37 AM, Colin Holgate wrote: > > On Aug 8, 2010, at 12:19 PM, Warren Kuhl wrote: > >> I need to check if a URL is valid and receive notification for invalid >> URLs. ?I don't want my program to open any browswers when checking. Is >> this possible? > > In some cases it is. If the page you try to access doesn't exist, but the server traps for that, then it's harder to tell. Try these in the message box to see the difference: > > put url "http://www.runrev.com/" contains "404 Not Found" > > put url "http://www.runrevvvvvv.com/" contains "404 Not Found" > > put url "http://www.runrev.com/abcdefg.html" contains "404 Not Found" > > The first and third ones show "false", and the middle one "true". Although the third one returns false, the page doesn't really exist, but runrev.com handles that and redirects you to another page. > > > _______________________________________________ > 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 mkoob at rogers.com Sun Aug 8 12:42:40 2010 From: mkoob at rogers.com (Martin Koob) Date: Sun, 8 Aug 2010 09:42:40 -0700 (PDT) Subject: revVideoGrabber: stop preview doesn't hide video window In-Reply-To: References: <4C5B2FA4.5000103@cogapp.com> <4C5B4B7B.1020005@together.net> <4C5D7D32.9020804@cogapp.com> <4C5E005E.7000606@together.net> <4C5E736D.7040200@cogapp.com> Message-ID: <1281285760298-2317836.post@n4.nabble.com> > > I have dealt with the problem of stop preview window by using > closevideograbber to get rid of the preview window. > Huh? Doesn't that stop the capture? Sorry I was not clear. I have the revgrabber window in a substack. This way I can hide the preview of the recording by hiding and showing the substack. This does not affect the capture. If I am not capturing, just previewing and I want to stop the preview I close revvideograbber window and close the substack. >yes, just changing the audio setting results in quirky behavior on the video >side. I found the audio levels too *low* for monitoring. I was using VG for >archiving 8mm videos. I went back to final cut. >Save the audio settings? - how does one do that ? > It appears impossible because there's no commands documented for that. If >one tries to save on top of the video settings... they get trounced. I can save the audio settings with the revvideograbsettings command but like you said the video settings that have been set are changed as well so I had to take the audio settings feature out. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/revVideoGrabber-stop-preview-doesn-t-hide-video-window-tp2315648p2317836.html Sent from the Revolution - User mailing list archive at Nabble.com. From massung at gmail.com Sun Aug 8 12:49:43 2010 From: massung at gmail.com (Jeff Massung) Date: Sun, 8 Aug 2010 11:49:43 -0500 Subject: Check If URL Is Valid In-Reply-To: References: <5548C382-15E1-45FB-83D5-B968806E94C8@verizon.net> Message-ID: I believe "the result" of your get will have an error message in it if the URL doesn't exist. Otherwise the result is empty. Jeff M. On Sun, Aug 8, 2010 at 11:41 AM, Warren Kuhl wrote: > Thanks Colin....this is a great start. Appreciate it! > > Warren > > On Sun, Aug 8, 2010 at 11:37 AM, Colin Holgate wrote: > > > > On Aug 8, 2010, at 12:19 PM, Warren Kuhl wrote: > > > >> I need to check if a URL is valid and receive notification for invalid > >> URLs. I don't want my program to open any browswers when checking. Is > >> this possible? > > > > In some cases it is. If the page you try to access doesn't exist, but the > server traps for that, then it's harder to tell. Try these in the message > box to see the difference: > > > > put url "http://www.runrev.com/" contains "404 Not Found" > > > > put url "http://www.runrevvvvvv.com/" contains "404 Not Found" > > > > put url "http://www.runrev.com/abcdefg.html" contains "404 Not Found" > > > > The first and third ones show "false", and the middle one "true". > Although the third one returns false, the page doesn't really exist, but > runrev.com handles that and redirects you to another page. > > > > > > _______________________________________________ > > 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 verizon.net Sun Aug 8 13:23:03 2010 From: coiin at verizon.net (Colin Holgate) Date: Sun, 8 Aug 2010 13:23:03 -0400 Subject: Check If URL Is Valid In-Reply-To: References: <5548C382-15E1-45FB-83D5-B968806E94C8@verizon.net> Message-ID: On Aug 8, 2010, at 12:49 PM, Jeff Massung wrote: > I believe "the result" of your get will have an error message in it if the > URL doesn't exist. Otherwise the result is empty. It does indeed contain: error 404 Not Found but it has the same limitation I mentioned, if you try a nonexistent page that redirects successfully, the result will still be empty. From massung at gmail.com Sun Aug 8 13:27:11 2010 From: massung at gmail.com (Jeff Massung) Date: Sun, 8 Aug 2010 12:27:11 -0500 Subject: Check If URL Is Valid In-Reply-To: References: <5548C382-15E1-45FB-83D5-B968806E94C8@verizon.net> Message-ID: Ah, if you are curious about redirects, you should be able to use the HTTP headers returned from the site to know if what you got back was what you were actually asking for. Jeff M. On Sun, Aug 8, 2010 at 12:23 PM, Colin Holgate wrote: > > On Aug 8, 2010, at 12:49 PM, Jeff Massung wrote: > > > I believe "the result" of your get will have an error message in it if > the > > URL doesn't exist. Otherwise the result is empty. > > > It does indeed contain: > > error 404 Not Found > > but it has the same limitation I mentioned, if you try a nonexistent page > that redirects successfully, the result will still be empty. > > > _______________________________________________ > 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 warrenkuhl at gmail.com Sun Aug 8 13:28:51 2010 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Sun, 8 Aug 2010 12:28:51 -0500 Subject: Check If URL Is Valid In-Reply-To: References: <5548C382-15E1-45FB-83D5-B968806E94C8@verizon.net> Message-ID: Colin/Jeff, The websites I are checking do not redirect so this is working perfect. Thanks for all your help! Warren On Sun, Aug 8, 2010 at 12:23 PM, Colin Holgate wrote: > > On Aug 8, 2010, at 12:49 PM, Jeff Massung wrote: > >> I believe "the result" of your get will have an error message in it if the >> URL doesn't exist. Otherwise the result is empty. > > > It does indeed contain: > > error 404 Not Found > > but it has the same limitation I mentioned, if you try a nonexistent page that redirects successfully, the result will still be empty. > > > _______________________________________________ > 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 verizon.net Sun Aug 8 14:07:22 2010 From: coiin at verizon.net (Colin Holgate) Date: Sun, 8 Aug 2010 14:07:22 -0400 Subject: Check If URL Is Valid In-Reply-To: References: <5548C382-15E1-45FB-83D5-B968806E94C8@verizon.net> Message-ID: On Aug 8, 2010, at 1:28 PM, Warren Kuhl wrote: > The websites I are checking do not redirect so this is working > perfect. Thanks for all your help! That's good. Given a choice, I would go with the way Jeff was suggesting: get url "some maybe valid url" if the result is not empty then --something went wrong end if From warrenkuhl at gmail.com Sun Aug 8 14:31:14 2010 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Sun, 8 Aug 2010 13:31:14 -0500 Subject: Check If URL Is Valid In-Reply-To: References: <5548C382-15E1-45FB-83D5-B968806E94C8@verizon.net> Message-ID: Colin, I did use code similar to what you and Jeff recommended below and it is working great for my purposes. Colin/Jeff...Thanks again for all your help! Warren On Sun, Aug 8, 2010 at 1:07 PM, Colin Holgate wrote: > > On Aug 8, 2010, at 1:28 PM, Warren Kuhl wrote: > >> The websites I are checking do not redirect so this is working >> perfect. ?Thanks for all your help! > > > That's good. Given a choice, I would go with the way Jeff was suggesting: > > get url "some maybe valid url" > > if the result is not empty then > ?--something went wrong > end if > > > > _______________________________________________ > 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 gmail.com Sun Aug 8 19:12:33 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 8 Aug 2010 16:12:33 -0700 (PDT) Subject: Copying binary files over a LAN using Rev In-Reply-To: <4C5B8BCE.2070604@pdslabs.net> References: <1281033975358-2315446.post@n4.nabble.com> <4C5B8BCE.2070604@pdslabs.net> Message-ID: <1281309153246-2318037.post@n4.nabble.com> Hi All, Many thanks Phil, Andre and Sivakatirswami for your answers! :-) Looks like it should be completely necessary that i start learning about sockets communications and TCP IP. This is a completely new area of knowledge for me and, if my guess is right, would require its own share of "puzzled contemplation". Later this week, as workload returns to normal, i would tackle this chore. I remember that some years ago, i used FTP transfers from stacks to a server. Then, from this server, stacks could read a list of files in a directory and the user could download any of them. Did exist a stack that implements directly the FTP protocol to serve files? I understand the limitations of FTP. Read: http://daniel.haxx.se/docs/ftp-vs-http.html but it's good idea to have more than one option available. Thanks in advance for your answers and many, many thanks again for your invaluable help!!! :-D Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Copying-binary-files-over-a-LAN-using-Rev-tp2315446p2318037.html Sent from the Revolution - User mailing list archive at Nabble.com. From tech1 at troutfoot.com Sun Aug 8 21:59:39 2010 From: tech1 at troutfoot.com (tech1 at troutfoot.com) Date: Sun, 8 Aug 2010 18:59:39 -0700 Subject: Making clickable text links in Rev Message-ID: Hi folks, I can?t find this in the docs. Let?s say there?s a scrolling field with a few thousand words. Is there a way to make some words into clickable links, as in html web pages, without using their position? Because the text will be lengthy, and changed at various times, I want to avoid things like ?...set the linkText of word 35429...? Thanks, Sandy From mcgrath3 at mac.com Sun Aug 8 22:16:08 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 08 Aug 2010 22:16:08 -0400 Subject: Rev and Microsoft COM methods In-Reply-To: References: Message-ID: <146F0FF7-DE5F-456C-917F-1F560B751EFB@mac.com> Glen, The as VBScript will work very well with COM methods. If you find my LibITS stack on Rev that is how I made the Windows side. Tom McGrath III Lazy River Software http://lazyriver.on-rev.com 3mcgrath at comcast.net I Can Speak - Communication for the rest of us... http://mypad.lazyriver.on-rev.com I Can Speak on the iPad Store http://itunes.apple.com/us/app/i-can-speak/id364733279?mt=8 On Aug 6, 2010, at 9:06 AM, Andre Garzia wrote: > Glen, > > Sorry for the delay. I am not a windows guy but I believe that you can use > the same scripts from inside Rev with: > > do as vbscript > > check out: http://docs.runrev.com/Command/do (specially the part about > alternateLanguages) > > Cheers > andre > > On Thu, Aug 5, 2010 at 4:47 PM, Glen Bojsza wrote: > >> Hello all, >> >> I am looking for guidance on using Rev to work with an application through >> Microsoft COM methods. >> >> Currently, I have found the methods currently being used with VB Script and >> I believe that there must be a way to do the same thing via Rev. >> >> Any help or examples is appreciated. >> >> thanks, >> >> Glen >> _______________________________________________ >> 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 monte at sweattechnologies.com Sun Aug 8 22:18:49 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 9 Aug 2010 12:18:49 +1000 Subject: Making clickable text links in Rev In-Reply-To: References: Message-ID: <90A05ACE-39F8-4A5A-9369-71869D9022B3@sweattechnologies.com> Where there's a will there's a way. For starters look at htmlText in the dictionary. If pre-parsing the text you want to put in your field and adding the links won't work then you might try checking out the mouseText and clickText functions. For this method let's say you had a list of words that you want to link to actions. You can create a custom property set in your field uLinkWord. The keys of the set are the words. The values are the handler you want executed if the word is clicked. Then the field script is something like this: on mouseUp local tAction put the uLinkWord[the clicktText] of me into tAction if tAction <> "" then dispatch tAction pass mouseUp end mouseUp If you want to use the same handler with the word as a parameter then just use a custom property with a list of words. on mouseUp if the clicktText is among the lines of the uLinkWords of me then dispatch linkHandler with the clicktText pass mouseUp end mouseUp on linkHandler pWord -- do what you want here end linkHandler On 09/08/2010, at 11:59 AM, tech1 at troutfoot.com wrote: > Hi folks, > I can?t find this in the docs. > > Let?s say there?s a scrolling field with a few thousand words. > > Is there a way to make some words into clickable links, as in html web > pages, without using their position? > > Because the text will be lengthy, and changed at various times, I want to > avoid things like ?...set the linkText of word 35429...? > > Thanks, > Sandy > > > _______________________________________________ > 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 bobcole at earthlink.net Sun Aug 8 23:16:49 2010 From: bobcole at earthlink.net (Bob Cole) Date: Sun, 8 Aug 2010 22:16:49 -0500 Subject: browser messages, Pass them? Message-ID: <0448C872-2DAE-4F0A-A10B-A24ADCDA4982@earthlink.net> I use revBrowser in a stack and it works fine. I noticed that a message is sent when I click on a link in the browser window: browserBeforeNavigate 10:00:35 PM (11005) What does the number in parentheses mean? Process ID? I trap this message in a card handler so I can update a status field on browserBeforeNavigate put "Page Loading" into field "Status" --pass browserBeforeNavigate --? end browserBeforeNavigate I also trap the browserDocumentComplete message on browserDocumentComplete put "Page Loaded" into field "Status" --pass browserDocumentComplete --? end browserDocumentComplete Should I pass these browser messages? Does it hurt if I don't? Any other thoughts would be welcome, too. Thanks, Bob From jperryl at ecs.fullerton.edu Mon Aug 9 00:25:20 2010 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 8 Aug 2010 21:25:20 -0700 (PDT) Subject: Making clickable text links in Rev In-Reply-To: References: Message-ID: Hi Sandy, I think I have a tutorial up on the Buckets/Lessons thingy at RunRev's site on this topic... Here it is: http://lessons.runrev.com/spaces/lessons/buckets/784/lessons/7406-Creating-Hypertext-Links-in-Fields Unfortunately, it uses what you want to avoid. Maybe somebody else has a better answer. HTH, Judy On Sun, 8 Aug 2010, tech1 at troutfoot.com wrote: > Hi folks, > I can?t find this in the docs. > > Let?s say there?s a scrolling field with a few thousand words. > > Is there a way to make some words into clickable links, as in html web > pages, without using their position? > > Because the text will be lengthy, and changed at various times, I want to > avoid things like ?...set the linkText of word 35429...? From tsj at unimelb.edu.au Mon Aug 9 00:47:11 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Mon, 09 Aug 2010 14:47:11 +1000 Subject: [ANNOYANCE] Custom protocols that are not registered do not trigger browserBeforeNavigate correctly on windows. In-Reply-To: Message-ID: What's really annoying is that you used to be able to grab data from form elements using browserBeforeNavigate - the values of the form elements would be reported in the url variable, even if no action was ascribed to the form. This was really useful as you could use a webform to capture some user entered data, intercept it with browserBeforeNavigate, process and/or store it in Rev and then do some other stuff - in some cases removing the need for server-side logic or cookies (for example, I used it to store and retrieve student's quiz answers submitted during a session). This still works in OSX (you just have to parse some 'garbage' off the front of the URL) but broke in one of the earlier versions of the revBrowser externals for Windows. AFAIA, it still works with the original altBrowser external. I reported this some time ago (more than 3 years) but it was never fixed and my original bug report has disappeared. I for one would like to see this feature reinstated. Anyone else? On 8/08/10 9:50 AM, "Andre Garzia" wrote: > Folks, > > Sometimes do you want to create some fancy interface using RevBrowser and > want to communicate back with the stack that hosts the RevBrowsr view. One > quick way of doing this is to use custom protocols (so that you know that > url is yours) such as: > > myapp:refreshGui > myapp:executeHandler/doStuff > > For example, some construct like: > > Click here to Refresh GUI > > When that link is clicked, you could use a browserBeforeNavigate handler > such as this one: > > on browserBeforeNavigate pID, pURL > set the itemdel to ":" > if word 1 of pURL is "myapp" then > -- our protocol! > switch word 2 of pURL > case "refreshGui" > refreshGui > break > end switch > put true into browserCancel > end if > end browserBeforeNavigate > > > This of course works great on Mac OS X and you can create your own browser > windows that trigger things back with no problem and you don't mix > http://or other protocols with your own, very elegant. > > Now on Windows land (damn you Redmond!!!) things are different. It appears > that browserBeforeNavigate is only triggered afted IE renderer inspects the > URL. When it finds out a custom protocol, it checks to know if the system > can handle it. If you are using your own and haven't fiddled with Windows > Registry to register it, that check will fail and IE will change the damn > URL for you pointing to a internal windows dll page showing something like: > "Hey Fella, I don't know how to handle this!" which of course is an exercise > in patience since my own browserBeforeNavigate will prevent IE from even > trying to handle my own protocol. > > This is not a RevBrowser BUG per se since RevBrowser is not doing anything, > it is IE again in its infinite wisdom trying to do things for you (which it > shouldn't). The only solution in these case is to add lots of Registry > information, registering your own protocol, which will probably make windows > try to relaunch your standalone for every of those links. > > Damn, microsoft always makes my life harder! > > Andre > > > -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From runrev260805 at m-r-d.de Mon Aug 9 05:07:05 2010 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Mon, 9 Aug 2010 11:07:05 +0200 Subject: OT: Free eBook from Charles Petzold about Windows Phone7 Programming Message-ID: <4A1CB464-814E-46A0-9E12-E43850F6E00D@m-r-d.de> Hi, just want to let you know, that there is a free ebook from Charles Petzold about "Programming Windows Phone 7" for download at http://www.charlespetzold.com/phone/index.html The book is a special draft preview and contains 11 chapter with 265 pages. The final book is available in october and will be also free. Regards, Matthias From zryip.theslug at gmail.com Mon Aug 9 06:38:10 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Mon, 9 Aug 2010 12:38:10 +0200 Subject: DataGrid column update and button center In-Reply-To: <51450738-FF9A-4F7C-9E2B-4C3A86F5CA78@elementarysoftware.com> References: <51450738-FF9A-4F7C-9E2B-4C3A86F5CA78@elementarysoftware.com> Message-ID: On Fri, Aug 6, 2010 at 12:02 PM, Scott Morrow wrote: Hi Scott, > Two Data Grid questions: > > 1) ? ? I'm updating a single column of a Data Grid table. ?I can't discover any other way than to loop through each index. ?Would this be the accepted method? > > --- the code I'm using ------------------------------------------- > > put the dgData["false"] of grp "DataGrid 1" into tArray > put 1 into tIndexCounter > ?-- the column data might look like this as I'm setting the hilite of checkBox buttons > put "true,true,false,true" into tNewColumnData > > repeat for each item tNewData in tNewColumnData > ? ? put tNewData into tArray[tIndexCounter]["theColumnName"] > ? ? add 1 to tIndexCounter > end repeat > > set the dgData of grp "DataGrid 1" of stack "myStackName" to ?tArray > --------------------------------------------------------------------- Using a loop is the only way I know. You can also update the array by using the DataGrid API, with the SetDataOfIndex (or SetDataOfLine). It is equivalent to your loop excepted that you have not to refresh the whole data, only the data required by the column. It means that by using the SetDataOfIndex, set the dgData of the DG is not required. Note that in this line put the dgData["false"] of grp "DataGrid 1" into tArray the dgData properties not accepts a parameter. Only dgText do. > 2) ? ? I have a column of checkbox buttons. ?The column header is wider than the > button(s) and I would like to be able to center the button(s) in the column. ?It seems like I >should be able to do this (using the DataGrid inspector) by setting the > dgColumnAlignment to "center" but I'm not having any luck. ?Any suggestions (hoping I > don't need to switch to a "form" layout" ?: ?) The dgColumnAlignment is only provided to change the alignment of a standard column (text and not managed by a custom behavior) To "center" a checkbox, you have to manage it in the LayoutControl event of the column behavior. on LayoutControl pControlRect centerMyCheckBox -- center the checkbox in the rect (pControlRect) of the cell end LayoutControl So no need to switch to a DG form ;) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From scott at elementarysoftware.com Mon Aug 9 07:03:37 2010 From: scott at elementarysoftware.com (Scott Morrow) Date: Mon, 9 Aug 2010 04:03:37 -0700 Subject: DataGrid column update and button center In-Reply-To: References: <51450738-FF9A-4F7C-9E2B-4C3A86F5CA78@elementarysoftware.com> Message-ID: <24E5BF47-7A92-4746-9D67-F5EE4E28A720@elementarysoftware.com> Thank you, Mr. Slug. Your helpful observations about my beginning efforts with the data grid are much appreciated. -Scott On Aug 9, 2010, at 3:38 AM, zryip theSlug wrote: > On Fri, Aug 6, 2010 at 12:02 PM, Scott Morrow > wrote: > > Hi Scott, > >> Two Data Grid questions: >> >> 1) I'm updating a single column of a Data Grid table. I can't discover any other way than to loop through each index. Would this be the accepted method? >> >> --- the code I'm using ------------------------------------------- >> >> put the dgData["false"] of grp "DataGrid 1" into tArray >> put 1 into tIndexCounter >> -- the column data might look like this as I'm setting the hilite of checkBox buttons >> put "true,true,false,true" into tNewColumnData >> >> repeat for each item tNewData in tNewColumnData >> put tNewData into tArray[tIndexCounter]["theColumnName"] >> add 1 to tIndexCounter >> end repeat >> >> set the dgData of grp "DataGrid 1" of stack "myStackName" to tArray >> --------------------------------------------------------------------- > > Using a loop is the only way I know. > You can also update the array by using the DataGrid API, with the > SetDataOfIndex (or SetDataOfLine). > It is equivalent to your loop excepted that you have not to refresh > the whole data, only the data required by the column. > It means that by using the SetDataOfIndex, set the dgData of the DG is > not required. > > Note that in this line > put the dgData["false"] of grp "DataGrid 1" into tArray > > the dgData properties not accepts a parameter. Only dgText do. > >> 2) I have a column of checkbox buttons. The column header is wider than the >> button(s) and I would like to be able to center the button(s) in the column. It seems like I >> should be able to do this (using the DataGrid inspector) by setting the >> dgColumnAlignment to "center" but I'm not having any luck. Any suggestions (hoping I >> don't need to switch to a "form" layout" : ) > > The dgColumnAlignment is only provided to change the alignment of a > standard column (text and not managed by a custom behavior) > To "center" a checkbox, you have to manage it in the LayoutControl > event of the column behavior. > > on LayoutControl pControlRect > centerMyCheckBox -- center the checkbox in the rect (pControlRect) > of the cell > end LayoutControl > > So no need to switch to a DG form ;) > > > Regards, > > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > _______________________________________________ > 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 Mon Aug 9 07:19:11 2010 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Mon, 9 Aug 2010 13:19:11 +0200 Subject: Classic CGI on Win In-Reply-To: <20100728170007.3CCDA288856@mail.runrev.com> References: <20100728170007.3CCDA288856@mail.runrev.com> Message-ID: Hi folks, as we do not yet have a win version of revServer, I need to set up a CGI on Win Server 2003 (if possible) Requirements are: Needs to work with local postGreSQL DB Needs to work with revXML Is this possible? If so, which components do I need to install where? Server can run Apache. Cheers, Malte From psahores at free.fr Mon Aug 9 07:45:25 2010 From: psahores at free.fr (Pierre Sahores) Date: Mon, 9 Aug 2010 13:45:25 +0200 Subject: Classic CGI on Win In-Reply-To: References: <20100728170007.3CCDA288856@mail.runrev.com> Message-ID: <806380BF-F35F-442C-9E23-E936BD822270@free.fr> Malte, Richard, Andre and others may help you more directly than me ... My last experience about using a server side solution on the win platform (1998, win NT 4 server, Apache 1.3, PHP + MC + PG) did'nt never work very well. Why ? The win NT RAM management was so sad in this config that the server had to be rebooted, at least on time per 24 hours... After that, i always used Linux or OS X (desktop, not server) configs to set up all my n-tier apps solutions. Frankly, you will avoid lots of unwanted problems (security related included) if you choose to install your revCGI (or revServer) powered n-tier solution on, even, a linux powered N270 subnotebook + external 3.5" 7200 t/mn HD instead of on any 720 QM (or more) powered windows box .... Hope this can help. Best Regards, Pierre Le 9 ao?t 2010 ? 13:19, Malte Pfaff-Brill a ?crit : > Hi folks, > > as we do not yet have a win version of revServer, I need to set up a CGI on Win Server 2003 (if possible) > > Requirements are: > > Needs to work with local postGreSQL DB > Needs to work with revXML > > Is this possible? If so, which components do I need to install where? Server can run Apache. > > Cheers, > > Malte_______________________________________________ > 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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From revolution at derbrill.de Mon Aug 9 07:55:30 2010 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Mon, 9 Aug 2010 13:55:30 +0200 Subject: Classic CGI on Win In-Reply-To: <20100730170009.5EB11288A8B@mail.runrev.com> References: <20100730170009.5EB11288A8B@mail.runrev.com> Message-ID: <2BCECC6E-57E4-4A5A-802D-34F5A0432900@derbrill.de> Merci beaucoup Pierre, the crux is I have no control over the OS the server is running. :-/ Cheers, Malte From psahores at free.fr Mon Aug 9 08:33:17 2010 From: psahores at free.fr (Pierre Sahores) Date: Mon, 9 Aug 2010 14:33:17 +0200 Subject: Classic CGI on Win In-Reply-To: <2BCECC6E-57E4-4A5A-802D-34F5A0432900@derbrill.de> References: <20100730170009.5EB11288A8B@mail.runrev.com> <2BCECC6E-57E4-4A5A-802D-34F5A0432900@derbrill.de> Message-ID: Hum ! ... Le 9 ao?t 2010 ? 13:55, Malte Pfaff-Brill a ?crit : > Merci beaucoup Pierre, > > the crux is I have no control over the OS the server is running. :-/ > > Cheers, > Malte > _______________________________________________ > 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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From andre at andregarzia.com Mon Aug 9 08:55:35 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 9 Aug 2010 09:55:35 -0300 Subject: [ANNOYANCE] Custom protocols that are not registered do not trigger browserBeforeNavigate correctly on windows. In-Reply-To: References: Message-ID: Terry, I believe that this can be "fixed" by using client side javascript only. By fixed I mean "restore that behaviour". If you specify an action that is a javascript function and in that function you assemble your parameters in a url and set the window.location of the running page, it should trigger browserBeforeNavigate with the URL from the js function and your parameters there. This should work on both windows and mac os x and it is quite an elegant solution. Andre On Mon, Aug 9, 2010 at 1:47 AM, Terry Judd wrote: > What's really annoying is that you used to be able to grab data from form > elements using browserBeforeNavigate - the values of the form elements > would > be reported in the url variable, even if no action was ascribed to the > form. > This was really useful as you could use a webform to capture some user > entered data, intercept it with browserBeforeNavigate, process and/or store > it in Rev and then do some other stuff - in some cases removing the need > for > server-side logic or cookies (for example, I used it to store and retrieve > student's quiz answers submitted during a session). > > This still works in OSX (you just have to parse some 'garbage' off the > front > of the URL) but broke in one of the earlier versions of the revBrowser > externals for Windows. AFAIA, it still works with the original altBrowser > external. > > I reported this some time ago (more than 3 years) but it was never fixed > and > my original bug report has disappeared. I for one would like to see this > feature reinstated. > > Anyone else? > > > On 8/08/10 9:50 AM, "Andre Garzia" wrote: > > > Folks, > > > > Sometimes do you want to create some fancy interface using RevBrowser and > > want to communicate back with the stack that hosts the RevBrowsr view. > One > > quick way of doing this is to use custom protocols (so that you know that > > url is yours) such as: > > > > myapp:refreshGui > > myapp:executeHandler/doStuff > > > > For example, some construct like: > > > > Click here to Refresh GUI > > > > When that link is clicked, you could use a browserBeforeNavigate handler > > such as this one: > > > > on browserBeforeNavigate pID, pURL > > set the itemdel to ":" > > if word 1 of pURL is "myapp" then > > -- our protocol! > > switch word 2 of pURL > > case "refreshGui" > > refreshGui > > break > > end switch > > put true into browserCancel > > end if > > end browserBeforeNavigate > > > > > > This of course works great on Mac OS X and you can create your own > browser > > windows that trigger things back with no problem and you don't mix > > http://or other protocols with your own, very elegant. > > > > Now on Windows land (damn you Redmond!!!) things are different. It > appears > > that browserBeforeNavigate is only triggered afted IE renderer inspects > the > > URL. When it finds out a custom protocol, it checks to know if the system > > can handle it. If you are using your own and haven't fiddled with Windows > > Registry to register it, that check will fail and IE will change the damn > > URL for you pointing to a internal windows dll page showing something > like: > > "Hey Fella, I don't know how to handle this!" which of course is an > exercise > > in patience since my own browserBeforeNavigate will prevent IE from even > > trying to handle my own protocol. > > > > This is not a RevBrowser BUG per se since RevBrowser is not doing > anything, > > it is IE again in its infinite wisdom trying to do things for you (which > it > > shouldn't). The only solution in these case is to add lots of Registry > > information, registering your own protocol, which will probably make > windows > > try to relaunch your standalone for every of those links. > > > > Damn, microsoft always makes my life harder! > > > > Andre > > > > > > > > -- > Dr Terry Judd | Senior Lecturer in Medical Education > Medical Education Unit > Melbourne Medical School > The University of Melbourne > > > _______________________________________________ > 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 Mon Aug 9 09:07:01 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 9 Aug 2010 10:07:01 -0300 Subject: Classic CGI on Win In-Reply-To: References: <20100728170007.3CCDA288856@mail.runrev.com> Message-ID: Malte, I think you're in for a wild ride here my friend. I never used CGI on windows machines but if you can run apache then it should be easier than trying this kind of stunt with IIS. Below I will reproduce the steps needed. I haven't tried them I am just converting the common steps for other languages to Rev. It should work. After installing apache, look for httpd.conf in the conf folder and edit it like this: After setting the ExecCGI option to the CGI-Bin folder. You need to set your handlers. Search on httpd.conf for "CGI", you will find a commented AddHandler entry that you need to uncomment. #AddHandler CGI-script .cgi becomes AddHandler CGI-script .cgi This binds the .cgi extension to a CGI script. After that restart apache. Copy your Rev engine (3.5) to the CGI-Bin folder. Try it with a file hello.cgi with the following content: #!"C:/Program Files/Apache Software Foundation/Apache2.2/CGI-bin/revolution.exe" -cs on startup put "Content-type: text/plain" & crlf & crlf put "hello world!" & crlf end startup Then you call "http://localhost/cgi-bin/hello.cgi" I have never tested Apache or CGI under windows but that is the standard recipe. If you manage to get that working you will stumble in the database connection for it will not work out of the box. You will need to set the databasedriverspath by hand in the startup handler and might need to bind revdb.dll there as well. andre On Mon, Aug 9, 2010 at 8:19 AM, Malte Pfaff-Brill wrote: > > Hi folks, > > as we do not yet have a win version of revServer, I need to set up a CGI on Win Server 2003 (if possible) > > Requirements are: > > Needs to work with local postGreSQL DB > Needs to work with revXML > > Is this possible? If so, which components do I need to install where? Server can run Apache. > > Cheers, > > Malte_______________________________________________ > 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 jerry.daniels at me.com Mon Aug 9 09:08:42 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 9 Aug 2010 08:08:42 -0500 Subject: Moving forward Message-ID: The following quotes has helped me through the ups and downs of business and life over the years. Thought I'd share it. "If you are kind, people may accuse you of selfish, ulterior motives; be kind anyway. If you are successful, you will win some false friends and some true enemies; succeed anyway. If you are honest and frank, people may cheat you; be honest and frank anyway. What you spend years building, someone could destroy overnight; build anyway." - Mother Teresa From peterwawood at gmail.com Mon Aug 9 09:36:58 2010 From: peterwawood at gmail.com (Peter W A Wood) Date: Mon, 9 Aug 2010 21:36:58 +0800 Subject: Classic CGI on Win In-Reply-To: References: <20100728170007.3CCDA288856@mail.runrev.com> Message-ID: <22A7AAC1-3A2A-44A5-A2AF-90132B2FAD8E@gmail.com> Malte Thanks to RRobert from Hamburg, if you can do all you want in a standalone, you can do it as a CGI. It is easy to forget that a CGI is just an ordinary program with specific output. His detailed explanation is here - http://forums.runrev.com/phpBB2/viewtopic.php?f=8&t=5160&p=24096&hilit=RRobert#p23142 Also, this may be of interest http://forums.runrev.com/phpBB2/viewtopic.php?f=15&t=4755#p21119 Regards Peter On 9 Aug 2010, at 19:19, Malte Pfaff-Brill wrote: > Hi folks, > > as we do not yet have a win version of revServer, I need to set up a CGI on Win Server 2003 (if possible) > > Requirements are: > > Needs to work with local postGreSQL DB > Needs to work with revXML > > Is this possible? If so, which components do I need to install where? Server can run Apache. > > Cheers, > > Malte_______________________________________________ > 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 Mon Aug 9 09:44:33 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 9 Aug 2010 10:44:33 -0300 Subject: Classic CGI on Win In-Reply-To: <22A7AAC1-3A2A-44A5-A2AF-90132B2FAD8E@gmail.com> References: <20100728170007.3CCDA288856@mail.runrev.com> <22A7AAC1-3A2A-44A5-A2AF-90132B2FAD8E@gmail.com> Message-ID: Peter, The standalone trick will not work on some circunstances. If you don't have X11 installed on the linux machine (Common for servers), the standalone will not load due to missing libraries. :-/ PS: This was the case long time ago, need to double check now if it still holds. Andre On Mon, Aug 9, 2010 at 10:36 AM, Peter W A Wood wrote: > Malte > > Thanks to RRobert from Hamburg, if you can do all you want in a standalone, you can do it as a CGI. It is easy to forget that a CGI is just an ordinary program with specific output. His detailed explanation is here - http://forums.runrev.com/phpBB2/viewtopic.php?f=8&t=5160&p=24096&hilit=RRobert#p23142 > > Also, this may be of interest http://forums.runrev.com/phpBB2/viewtopic.php?f=15&t=4755#p21119 > > Regards > > Peter > > On 9 Aug 2010, at 19:19, Malte Pfaff-Brill wrote: > >> Hi folks, >> >> as we do not yet have a win version of revServer, I need to set up a CGI on Win Server 2003 (if possible) >> >> Requirements are: >> >> Needs to work with local postGreSQL DB >> Needs to work with revXML >> >> Is this possible? If so, which components do I need to install where? Server can run Apache. >> >> Cheers, >> >> Malte_______________________________________________ >> 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 peterwawood at gmail.com Mon Aug 9 10:23:27 2010 From: peterwawood at gmail.com (Peter W A Wood) Date: Mon, 9 Aug 2010 22:23:27 +0800 Subject: Classic CGI on Win In-Reply-To: References: <20100728170007.3CCDA288856@mail.runrev.com> <22A7AAC1-3A2A-44A5-A2AF-90132B2FAD8E@gmail.com> Message-ID: <36F2217D-3E34-46F9-B2AD-A419F57AAD05@gmail.com> Andre I must admit I only tried a simple "hello world" test on Mac OS X and then not as a CGI but a simple command line executable. Regards Peter On 9 Aug 2010, at 21:44, Andre Garzia wrote: > Peter, > > The standalone trick will not work on some circunstances. If you don't > have X11 installed on the linux machine (Common for servers), the > standalone will not load due to missing libraries. :-/ > > PS: This was the case long time ago, need to double check now if it still holds. > > Andre > > On Mon, Aug 9, 2010 at 10:36 AM, Peter W A Wood wrote: >> Malte >> >> Thanks to RRobert from Hamburg, if you can do all you want in a standalone, you can do it as a CGI. It is easy to forget that a CGI is just an ordinary program with specific output. His detailed explanation is here - http://forums.runrev.com/phpBB2/viewtopic.php?f=8&t=5160&p=24096&hilit=RRobert#p23142 >> >> Also, this may be of interest http://forums.runrev.com/phpBB2/viewtopic.php?f=15&t=4755#p21119 >> >> Regards >> >> Peter >> >> On 9 Aug 2010, at 19:19, Malte Pfaff-Brill wrote: >> >>> Hi folks, >>> >>> as we do not yet have a win version of revServer, I need to set up a CGI on Win Server 2003 (if possible) >>> >>> Requirements are: >>> >>> Needs to work with local postGreSQL DB >>> Needs to work with revXML >>> >>> Is this possible? If so, which components do I need to install where? Server can run Apache. >>> >>> Cheers, >>> >>> Malte_______________________________________________ >>> 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 Mon Aug 9 10:47:35 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 9 Aug 2010 11:47:35 -0300 Subject: Classic CGI on Win In-Reply-To: <36F2217D-3E34-46F9-B2AD-A419F57AAD05@gmail.com> References: <20100728170007.3CCDA288856@mail.runrev.com> <22A7AAC1-3A2A-44A5-A2AF-90132B2FAD8E@gmail.com> <36F2217D-3E34-46F9-B2AD-A419F57AAD05@gmail.com> Message-ID: I tried the standalone approach under linux many years ago and while the -ui setting would not load the graphic user interface it would still require the libs to be present which would not work for my servers. Maybe things changed, we should try it again. :D On Mon, Aug 9, 2010 at 11:23 AM, Peter W A Wood wrote: > Andre > > I must admit I only tried a simple "hello world" test on Mac OS X and then not as a CGI but a simple command line executable. > > Regards > > Peter > > On 9 Aug 2010, at 21:44, Andre Garzia wrote: > >> Peter, >> >> The standalone trick will not work on some circunstances. If you don't >> have X11 installed on the linux machine (Common for servers), the >> standalone will not load due to missing libraries. :-/ >> >> PS: This was the case long time ago, need to double check now if it still holds. >> >> Andre >> >> On Mon, Aug 9, 2010 at 10:36 AM, Peter W A Wood wrote: >>> Malte >>> >>> Thanks to RRobert from Hamburg, if you can do all you want in a standalone, you can do it as a CGI. It is easy to forget that a CGI is just an ordinary program with specific output. His detailed explanation is here - http://forums.runrev.com/phpBB2/viewtopic.php?f=8&t=5160&p=24096&hilit=RRobert#p23142 >>> >>> Also, this may be of interest http://forums.runrev.com/phpBB2/viewtopic.php?f=15&t=4755#p21119 >>> >>> Regards >>> >>> Peter >>> >>> On 9 Aug 2010, at 19:19, Malte Pfaff-Brill wrote: >>> >>>> Hi folks, >>>> >>>> as we do not yet have a win version of revServer, I need to set up a CGI on Win Server 2003 (if possible) >>>> >>>> Requirements are: >>>> >>>> Needs to work with local postGreSQL DB >>>> Needs to work with revXML >>>> >>>> Is this possible? If so, which components do I need to install where? Server can run Apache. >>>> >>>> Cheers, >>>> >>>> Malte_______________________________________________ >>>> 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 mwieder at ahsoftware.net Mon Aug 9 11:26:09 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 9 Aug 2010 08:26:09 -0700 Subject: Classic CGI on Win In-Reply-To: References: <20100728170007.3CCDA288856@mail.runrev.com> Message-ID: <28512451468.20100809082609@ahsoftware.net> Malte- Monday, August 9, 2010, 4:19:11 AM, you wrote: > Is this possible? If so, which components do I need to install where? Server can run Apache. Use Apache. I did this once (and once only) using Windows' own IIS server technology. I don't recommend this and I won't do it again. Just use Apache, forget it's a Windows box, and do everything normally (copy into the cgi-bin folder, set the permissions, etc). -- -Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Mon Aug 9 12:05:41 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 9 Aug 2010 09:05:41 -0700 Subject: How to set a empty registry setting on windows? In-Reply-To: References: <4C5DFBC1.40301@fourthworld.com> Message-ID: <232B05BE-EB16-460B-AD46-2D002CE71000@twft.com> I have been saying for years that I don't think Microsoft uses their own product in development. I am convinced they use a Unix mainframe and workstations. If they did use their own product, all the thousands of little bugs that irritate the heck out of you and I every day would be fixed forthright. Bob On Aug 7, 2010, at 5:40 PM, Andre Garzia wrote: > Richard, > > Thanks for the reply. What I am trying to do is set a custom URL protocol as > described here: > http://msdn.microsoft.com/en-us/library/aa767914%28VS.85%29.aspx > > This needs a subkey "URL Protocol" set to windows empty string. Now, won't > quote & quote be interpreted as not empty by windows subsystems? > > ARGH!!!! Why using empty keys, why not hardwiring for something more > sensible such as URL Protocol = "True". > > Damn windows "design" ideas. From cszasz at mac.com Mon Aug 9 12:08:08 2010 From: cszasz at mac.com (charles61) Date: Mon, 9 Aug 2010 09:08:08 -0700 (PDT) Subject: Creating a folder using get specialFolderPath Message-ID: <1281370088406-2318720.post@n4.nabble.com> I have the following handler that creates a text file (list) on the user's application support folder on OS X: if the platform = "MacOS" then get specialFolderPath("home") & specialFolderPath("asup") &"/" & "list" put it into tfilePath end if I tried the following to create a folder in the user's application support folder that would store the text file (list): if the platform = "MacOS" then get specialFolderPath("home") & specialFolderPath("asup") &"/" & "Student Report" & "/" & "list" put it into tfilePath end if But it does not work? Any suggestions? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Creating-a-folder-using-get-specialFolderPath-tp2318720p2318720.html Sent from the Revolution - User mailing list archive at Nabble.com. From andre at andregarzia.com Mon Aug 9 12:13:54 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 9 Aug 2010 13:13:54 -0300 Subject: How to set a empty registry setting on windows? In-Reply-To: <232B05BE-EB16-460B-AD46-2D002CE71000@twft.com> References: <4C5DFBC1.40301@fourthworld.com> <232B05BE-EB16-460B-AD46-2D002CE71000@twft.com> Message-ID: Bob, Let us be truthful here, what I am experiencing is not a microsoft bug per se. It is an annoying specification by microsoft. We all agree that empty keys are not the way to go but they are valid. The problem was setting the key to empty which I had a suggestion from RunRev support. When I arrive home I will try and post if it worked in here. :D On Mon, Aug 9, 2010 at 1:05 PM, Bob Sneidar wrote: > I have been saying for years that I don't think Microsoft uses their own product in development. I am convinced they use a Unix mainframe and workstations. If they did use their own product, all the thousands of little bugs that irritate the heck out of you and I every day would be fixed forthright. > > Bob > > > On Aug 7, 2010, at 5:40 PM, Andre Garzia wrote: > >> Richard, >> >> Thanks for the reply. What I am trying to do is set a custom URL protocol as >> described here: >> http://msdn.microsoft.com/en-us/library/aa767914%28VS.85%29.aspx >> >> This needs a subkey "URL Protocol" set to windows empty string. Now, won't >> quote & quote be interpreted as not empty by windows subsystems? >> >> ARGH!!!! Why using empty keys, why not hardwiring for something more >> sensible such as URL Protocol = "True". >> >> Damn windows "design" ideas. > > _______________________________________________ > 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 mwieder at ahsoftware.net Mon Aug 9 12:18:52 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 9 Aug 2010 09:18:52 -0700 Subject: Creating a folder using get specialFolderPath In-Reply-To: <1281370088406-2318720.post@n4.nabble.com> References: <1281370088406-2318720.post@n4.nabble.com> Message-ID: <98515614218.20100809091852@ahsoftware.net> charles61- Monday, August 9, 2010, 9:08:08 AM, you wrote: > I have the following handler that creates a text file (list) on the user's > application support folder on OS X: > if the platform = "MacOS" then > get specialFolderPath("home") & specialFolderPath("asup") &"/" & > "list" > put it into tfilePath > end if > I tried the following to create a folder in the user's application support > folder that would store the text file (list): > if the platform = "MacOS" then > get specialFolderPath("home") & specialFolderPath("asup") &"/" & > "Student Report" & "/" & "list" > put it into tfilePath > end if > But it does not work? Any suggestions? If the "Student Report" folder doesn't already exist then it won't be created automatically. Try this: if the platform = "MacOS" then put specialFolderPath("home") & specialFolderPath("asup") &"/" & "Student Report" into tfilePath if there is no folder tfilePath then create folder tfilePath end if put "/" & "list" after tfilePath end if -- -Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Mon Aug 9 12:21:50 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 9 Aug 2010 09:21:50 -0700 Subject: How to set a empty registry setting on windows? In-Reply-To: References: <4C5DFBC1.40301@fourthworld.com> <232B05BE-EB16-460B-AD46-2D002CE71000@twft.com> Message-ID: <10B15031-D958-49FF-9CC2-05656253D381@twft.com> Point taken. on readerObjection replace "bug" with "annoying specification by Microsoft" in theBodyText answer "Sorry about that" with "No Problemo!" end readerObjection Bob On Aug 9, 2010, at 9:13 AM, Andre Garzia wrote: > Bob, > > Let us be truthful here, what I am experiencing is not a microsoft bug > per se. It is an annoying specification by microsoft. We all agree > that empty keys are not the way to go but they are valid. The problem > was setting the key to empty which I had a suggestion from RunRev > support. When I arrive home I will try and post if it worked in here. > > :D > > On Mon, Aug 9, 2010 at 1:05 PM, Bob Sneidar wrote: >> I have been saying for years that I don't think Microsoft uses their own product in development. I am convinced they use a Unix mainframe and workstations. If they did use their own product, all the thousands of little bugs that irritate the heck out of you and I every day would be fixed forthright. >> >> Bob >> >> >> On Aug 7, 2010, at 5:40 PM, Andre Garzia wrote: >> >>> Richard, >>> >>> Thanks for the reply. What I am trying to do is set a custom URL protocol as >>> described here: >>> http://msdn.microsoft.com/en-us/library/aa767914%28VS.85%29.aspx >>> >>> This needs a subkey "URL Protocol" set to windows empty string. Now, won't >>> quote & quote be interpreted as not empty by windows subsystems? >>> >>> ARGH!!!! Why using empty keys, why not hardwiring for something more >>> sensible such as URL Protocol = "True". >>> >>> Damn windows "design" ideas. >> >> _______________________________________________ >> 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 sanke at hrz.uni-kassel.de Mon Aug 9 12:36:59 2010 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Mon, 09 Aug 2010 18:36:59 +0200 Subject: Making clickable text links in Rev Message-ID: <4C602EAB.9080602@hrz.uni-kassel.de> On Sun Aug 8, 2010, tech1 at troutfoot.com tech1 at troutfoot.com wrote: > Hi folks, > I can?t find this in the docs. > > Let?s say there?s a scrolling field with a few thousand words. > > Is there a way to make some words into clickable links, as in html web > pages, without using their position? > > Because the text will be lengthy, and changed at various times, I want to > avoid things like ?...set the linkText of word 35429...? > > Thanks, > Sandy My tutorial and sample stack "Hypertextannotations" could be of help here: The stack shows three ways to create such hyperlinks. I use a "glossar" in which the "words" (can be more than just one word for one link) and the corresponding "annotations" (the text that is displayed in an automatically resized field near the link when you click at the link) can be edited. Then you activate all the words of the glossar as links anywhere in a text without using their position. When you edit the text that contains the links (adding text anywhere or cutting parts of the text) all links will be maintained. If there are link words in the added text, just activate the glossar one more time. Regards, Wilhelm Sanke From gbojsza at gmail.com Mon Aug 9 13:35:50 2010 From: gbojsza at gmail.com (Glen Bojsza) Date: Mon, 9 Aug 2010 10:35:50 -0700 Subject: Rev and Microsoft COM methods In-Reply-To: <146F0FF7-DE5F-456C-917F-1F560B751EFB@mac.com> References: <146F0FF7-DE5F-456C-917F-1F560B751EFB@mac.com> Message-ID: Gentlemen, thanks for the feedback... it looks like a good start. regards, Glen On Sun, Aug 8, 2010 at 7:16 PM, Thomas McGrath III wrote: > Glen, > > The as VBScript will work very well with COM methods. If you find my LibITS > stack on Rev that is how I made the Windows side. > > > Tom McGrath III > Lazy River Software > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > I Can Speak - Communication for the rest of us... > http://mypad.lazyriver.on-rev.com > > I Can Speak on the iPad Store > http://itunes.apple.com/us/app/i-can-speak/id364733279?mt=8 > > On Aug 6, 2010, at 9:06 AM, Andre Garzia wrote: > > > Glen, > > > > Sorry for the delay. I am not a windows guy but I believe that you can > use > > the same scripts from inside Rev with: > > > > do as vbscript > > > > check out: http://docs.runrev.com/Command/do (specially the part about > > alternateLanguages) > > > > Cheers > > andre > > > > On Thu, Aug 5, 2010 at 4:47 PM, Glen Bojsza wrote: > > > >> Hello all, > >> > >> I am looking for guidance on using Rev to work with an application > through > >> Microsoft COM methods. > >> > >> Currently, I have found the methods currently being used with VB Script > and > >> I believe that there must be a way to do the same thing via Rev. > >> > >> Any help or examples is appreciated. > >> > >> thanks, > >> > >> Glen > >> _______________________________________________ > >> 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 > From m.schonewille at economy-x-talk.com Mon Aug 9 14:39:33 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 9 Aug 2010 20:39:33 +0200 Subject: Creating a folder using get specialFolderPath In-Reply-To: <1281370088406-2318720.post@n4.nabble.com> References: <1281370088406-2318720.post@n4.nabble.com> Message-ID: Hi, It is not entirely clear to me what you want. Why exactly did you choose to glue specialFolderPath("home") and specialFolderPath("asup") together? Have you actually checked what the two return? Also, you might need to check that folders actually exist. If they don't exist, create them. set the itemdel to slash repeat with x = 2 to number of items of myPath if not (there is a folder (item 1 to x of myPath)) then create folder (item 1 to x of myPath) end if end repeat Use the above repeat loop with folder paths only. Temporarily remove the file name from the path if necessary. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 9 aug 2010, at 18:08, charles61 wrote: > > I have the following handler that creates a text file (list) on the user's > application support folder on OS X: > > if the platform = "MacOS" then > get specialFolderPath("home") & specialFolderPath("asup") &"/" & > "list" > put it into tfilePath > end if > > I tried the following to create a folder in the user's application support > folder that would store the text file (list): > > if the platform = "MacOS" then > get specialFolderPath("home") & specialFolderPath("asup") &"/" & > "Student Report" & "/" & "list" > put it into tfilePath > end if > > But it does not work? Any suggestions? From richmondmathewson at gmail.com Mon Aug 9 16:40:27 2010 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 09 Aug 2010 21:40:27 +0100 Subject: Input methods on Mac interfering with Unicode in RunRev. Message-ID: <4C6067BB.30404@gmail.com> I had a chat with Sivakatirswami last night [Wow; what a sympathetic, easy-going sort of chap . . . would that we all could be like that] AND . . . and this is where things get 'ugly' . . . So, my Devawriter (both the Free and the Demo of the Pro versions) leverage a non-standard Unicode Sanskrit font to perform their "magic" (this is a technical term for the results of hard work); and that is jolly good as the Unicode consortium have not made spaces for all the thousands of twiddly characters that Sanskrit-Devanagari features . . . Now, cut to the chase; Mac OS X has a system for inputting languages leveraging standard Unicode tables; when I use my Devawriter it swaps over into Macs fairly manky Devanagari input system (mainly because I have selected it as one of the keyboard options on my system . . . Sivakatirswami, on the other hand, gets the system swapping over to the Tamil input system. Both of these are, frankly, utter nonsense, as Devawriter is meant to "do the job" ? without Mac imposing Apple's "vision of multi-script input" on the end-user; it also is a pain as it sometimes interferes when the end-user swaps over, inside Devawriter, to the 'Edit' card to mess around, and possibly write something in his/her mother tongue, or any other for that matter. ? i.e. over ride Mac's own system. As I am still sitting in London and have no access to RunRev for another 2 days I would be extremely grateful if anybody can direct me to some way to work round this problem. sincerely, Richmond Mathewson. From tsj at unimelb.edu.au Mon Aug 9 18:39:44 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 10 Aug 2010 08:39:44 +1000 Subject: [ANNOYANCE] Custom protocols that are not registered do not trigger browserBeforeNavigate correctly on windows. In-Reply-To: Message-ID: Thanks Andre, that sounds very promising. I'll give it a whirl. Terry... On 9/08/10 10:55 PM, "Andre Garzia" wrote: > Terry, > > I believe that this can be "fixed" by using client side javascript only. By > fixed I mean "restore that behaviour". If you specify an action that is a > javascript function and in that function you assemble your parameters in a > url and set the window.location of the running page, it should trigger > browserBeforeNavigate with the URL from the js function and your parameters > there. This should work on both windows and mac os x and it is quite an > elegant solution. > > Andre > > On Mon, Aug 9, 2010 at 1:47 AM, Terry Judd wrote: > >> What's really annoying is that you used to be able to grab data from form >> elements using browserBeforeNavigate - the values of the form elements >> would >> be reported in the url variable, even if no action was ascribed to the >> form. >> This was really useful as you could use a webform to capture some user >> entered data, intercept it with browserBeforeNavigate, process and/or store >> it in Rev and then do some other stuff - in some cases removing the need >> for >> server-side logic or cookies (for example, I used it to store and retrieve >> student's quiz answers submitted during a session). >> >> This still works in OSX (you just have to parse some 'garbage' off the >> front >> of the URL) but broke in one of the earlier versions of the revBrowser >> externals for Windows. AFAIA, it still works with the original altBrowser >> external. >> >> I reported this some time ago (more than 3 years) but it was never fixed >> and >> my original bug report has disappeared. I for one would like to see this >> feature reinstated. >> >> Anyone else? >> >> >> On 8/08/10 9:50 AM, "Andre Garzia" wrote: >> >>> Folks, >>> >>> Sometimes do you want to create some fancy interface using RevBrowser and >>> want to communicate back with the stack that hosts the RevBrowsr view. >> One >>> quick way of doing this is to use custom protocols (so that you know that >>> url is yours) such as: >>> >>> myapp:refreshGui >>> myapp:executeHandler/doStuff >>> >>> For example, some construct like: >>> >>> Click here to Refresh GUI >>> >>> When that link is clicked, you could use a browserBeforeNavigate handler >>> such as this one: >>> >>> on browserBeforeNavigate pID, pURL >>> set the itemdel to ":" >>> if word 1 of pURL is "myapp" then >>> -- our protocol! >>> switch word 2 of pURL >>> case "refreshGui" >>> refreshGui >>> break >>> end switch >>> put true into browserCancel >>> end if >>> end browserBeforeNavigate >>> >>> >>> This of course works great on Mac OS X and you can create your own >> browser >>> windows that trigger things back with no problem and you don't mix >>> http://or other protocols with your own, very elegant. >>> >>> Now on Windows land (damn you Redmond!!!) things are different. It >> appears >>> that browserBeforeNavigate is only triggered afted IE renderer inspects >> the >>> URL. When it finds out a custom protocol, it checks to know if the system >>> can handle it. If you are using your own and haven't fiddled with Windows >>> Registry to register it, that check will fail and IE will change the damn >>> URL for you pointing to a internal windows dll page showing something >> like: >>> "Hey Fella, I don't know how to handle this!" which of course is an >> exercise >>> in patience since my own browserBeforeNavigate will prevent IE from even >>> trying to handle my own protocol. >>> >>> This is not a RevBrowser BUG per se since RevBrowser is not doing >> anything, >>> it is IE again in its infinite wisdom trying to do things for you (which >> it >>> shouldn't). The only solution in these case is to add lots of Registry >>> information, registering your own protocol, which will probably make >> windows >>> try to relaunch your standalone for every of those links. >>> >>> Damn, microsoft always makes my life harder! >>> >>> Andre >>> >>> >>> >> >> -- >> Dr Terry Judd | Senior Lecturer in Medical Education >> Medical Education Unit >> Melbourne Medical School >> The University of Melbourne >> >> >> _______________________________________________ >> 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 >> > > -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From tech1 at troutfoot.com Mon Aug 9 22:40:15 2010 From: tech1 at troutfoot.com (tech1 at troutfoot.com) Date: Mon, 9 Aug 2010 19:40:15 -0700 Subject: Making clickable text links in Rev Message-ID: Judy, I did go through your excellent tutorial, but, as you said, it didn't fit this particular instance. Monte and Wilhem, thank you. I will check out your suggestions. Best regards, Sandy From ambassador at fourthworld.com Mon Aug 9 23:20:58 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 09 Aug 2010 20:20:58 -0700 Subject: Copying binary files over a LAN using Rev Message-ID: <4C60C59A.3060607@fourthworld.com> Alejandro Tejada wrote: > Looks like it should be completely necessary > that i start learning about sockets communications > and TCP IP. TCP's fun to play with and useful for so many things, but in your case since you only need to copy over a LAN I gotta ask: Any chance you could just use file sharing and mount the other volume and write to it directly? -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From ambassador at fourthworld.com Mon Aug 9 23:34:42 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 09 Aug 2010 20:34:42 -0700 Subject: Harry Potter's magic button - a solution to another tricky group bug Message-ID: <4C60C8D2.9080004@fourthworld.com> Wilhelm Sanke wrote: > On August 7 you wrote: > >> Yeah, the boundingRect property been a godsend on some projects, and I >> was quite pleased when Raney added it. Makes short work of things that >> can get quite complicated without it. > > Could you possibly provide us - the revolution users - with more details > and examples, why the boundingrect is a "godsend" and and how it > simplifies things that otherwise remain complicated?- Looks like you did a good job of it here: > Of course, the "boundingrect" is one of the solutions to the "set the > loc of objects in a group" problem, identical (in that) to the effect of > the "magic button", and very similar to the effect of Jacqueline's > proposal to switch off the scrollbars of a group if the image is smaller > than the group. The only difference when focusing on this bug - as it > were "on the surface", but not only - is that with the "boundingsrect" > scrollbars are tolerated with smaller images whereas with Jacqueline's > proposal you have to turn the scrollbars off. I think you've hit on the most complex aspects of it. My own work must be pretty simple since that sort of complexity is stuff I never come across. In my simple view, groups are dynamic, in the sense that they automatically adjust to fit the controls within them. On this, one man's "dynamic" may be another man's "squirrelly", depending on various combinations of what you're trying to do, how much time you have to poke around trying, and how much coffee you had when you started out. For me, the boundingRect makes things ultra-simple when what I want is a sort of canvas, a scrollable area of a fixed size which may represent a page or other construct of fixed size. For other uses the default "squirrelly" mode is actually kinda great to me, as I can adjust the controls in my layout and the group resizes along with 'em. But for fixed-size things like representations of a printed page, you can think of using the boundingRect as being like adding a rectangle graphic to the group to define the scroll region, except you don't need to add anything. Hope that helps a bit, but if it doesn't that may explain why I don't write Rev's docs. :) My advice on such things is usually to just play with properties in some new stack you don't care about to learn about them. Reading can help you learn the syntax, but to really understand so many things nothing beats doing. And exploring in a fresh stack means you can play freely without having to worry if you'll mess something up in a stack that actually matters. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From ambassador at fourthworld.com Mon Aug 9 23:42:18 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 09 Aug 2010 20:42:18 -0700 Subject: Rev/Linux update - for Richmond Message-ID: <4C60CA9A.60505@fourthworld.com> Richmond wrote: > On 06/08/2010 15:23, Richard Gaskin wrote: >> I got another update this morning from the team on the progress of the >> Rev engine for Linux, and this one's for Richmond: >> >> >> >> With the screenshot Mark Waddingham noted: >> >> To be fair, the visual difference for roman text is mostly nil >> (or at least will be when I've fixed the slight difference in >> baselines that seems to have crept in). > > Yer, but . . . the reall "fun" will be when I get home and try the > Sanskrit2003 font on Linux . . . > > err . . . wait a minute . . . no it won't as I have a Studio licence so > no access to DP builds; > Heather very kindly extended my licence to Sept.; whether that will > encompass the 4.5 release I don't know ???? All Enterprise licensees get access to DP builds automatically, but since you're more enthused about testing the new font handling than anyone else around I would suggest you drop a note to support at runrev.com to see if you can get access to the DPs on this round to help out. No rush at the moment though: so far all I've seen are screen shots of the in-progress builds as the team works toward the DP. Not sure when the next DP will be posted, but thus far none have had the new font handling, so it's not like you've been missing out while you were traveling. Hopefully the next DP will up soon.... -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From chipp at chipp.com Tue Aug 10 00:26:40 2010 From: chipp at chipp.com (Chipp Walters) Date: Mon, 9 Aug 2010 23:26:40 -0500 Subject: [OT] Anyone hear of TapLynx? Message-ID: http://www.taplynx.com/features/ Just wondering if anyone has seen this or heard of it? -- Chipp Walters CEO, Shafer Walters Group, Inc. From chipp at chipp.com Tue Aug 10 00:54:22 2010 From: chipp at chipp.com (Chipp Walters) Date: Mon, 9 Aug 2010 23:54:22 -0500 Subject: [OT] Anyone hear of TapLynx? In-Reply-To: References: Message-ID: Just in case anyone is interested-- here's a video explaining some of it (done last year. I suspect there's more this year). It's amazing to see someone build a full updatable app in only a few minutes and no programming: http://broadcast.oreilly.com/2009/10/making-an-oreilly-rss-iphone-a.html On another note, I sure wish Rev would get back in the game as it sure seems Steve Jobs BARK is much worse than his BITE. From chipp at chipp.com Tue Aug 10 01:04:43 2010 From: chipp at chipp.com (Chipp Walters) Date: Tue, 10 Aug 2010 00:04:43 -0500 Subject: [OT] Anyone hear of TapLynx? In-Reply-To: References: Message-ID: Ack. Looks like it's only good for iPhone and not iPad-- at least I can't find any mention of iPads. Bummer. From benr_mc at cogapp.com Tue Aug 10 03:44:16 2010 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 10 Aug 2010 08:44:16 +0100 Subject: [ANNOYANCE] Custom protocols that are not registered do not trigger browserBeforeNavigate correctly on windows. In-Reply-To: References: Message-ID: <4C610350.1040203@cogapp.com> On 09/08/2010 13:55, Andre Garzia wrote: > I believe that this can be "fixed" by using client side javascript only. By > fixed I mean "restore that behaviour". If you specify an action that is a > javascript function and in that function you assemble your parameters in a > url and set the window.location of the running page, it should trigger > browserBeforeNavigate with the URL from the js function and your parameters > there. This should work on both windows and mac os x and it is quite an > elegant solution. Bear in mind that while this works if you genuinely want the browser to display a new URL (you just want to do stuff first), it is limited as a means of calling back to Rev in general (but it is AFAIK the only way to do so). In effect (from memory, syntax may be dodgy) you can have a javascript function like this: function tellRev (tMessage) { window.location = "SPECIALREV:" + tMessage; } tellRev("beep"); tellRev("show-onscreen-keyboard"); ....etc A browserBeforeNavigate handler can then catch the URL, spot the special 'protocol' prefix, do something with the rest of the so-called URL, and tell the browser to cancel the navigation. This works up to a point: the issue, at least on Mac OS X, is that when javascript executes two statements to set window.location in succession, as in the above example, one cancels the other. So if for example you have two controls on the web page, each of which instructs Rev to do something, if the user clicks both in quick succession, only one will execute. See http://quality.runrev.com/qacenter/show_bug.cgi?id=6986 for a proposed solution (which I admit I don't know if it's possible). Ben From admin at FlexibleLearning.com Tue Aug 10 03:53:45 2010 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Tue, 10 Aug 2010 08:53:45 +0100 Subject: Multi-dimensional arrays, tutorial? In-Reply-To: <20100809160535.81120288187@mail.runrev.com> Message-ID: Can someone point me to an explanation or tutorial on using multi-dimensional arrays, and specifically persistence between sessions? Okay, so I'm a trifle late to the party but I am here now! I am making no headway at all from such information as I can find in the dox so obviously I have my fundamentals in a twist... For example 'put pData into the databaseArray[pCompany][pPerson][pName] of this stack' ain't co-operating. tia Hugh From revolution at derbrill.de Tue Aug 10 04:03:48 2010 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Tue, 10 Aug 2010 10:03:48 +0200 Subject: Classic CGI on Win In-Reply-To: <20100802170009.0DC4A2881AC@mail.runrev.com> References: <20100802170009.0DC4A2881AC@mail.runrev.com> Message-ID: <4A8D3613-3908-4FEE-BA70-BE9A69BF9F39@derbrill.de> Thanks for the head ups guys. Will have my coworker try to set things up today. Mark, you raised my curiosity. What exactly were the problems you encountered on IIS? Did it work at all? Or was it just complicated? All the best, Malte From revolution at derbrill.de Tue Aug 10 04:12:11 2010 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Tue, 10 Aug 2010 10:12:11 +0200 Subject: Multi-dimensional arrays, tutorial? In-Reply-To: <20100802170009.0DC4A2881AC@mail.runrev.com> References: <20100802170009.0DC4A2881AC@mail.runrev.com> Message-ID: <6234ADBF-B751-4C19-B310-29245D995A43@derbrill.de> Hi Hugh, as of Rev 4 (if I recall correctly) you can store the whole array in a custom property, which you would need to set: local tArray put "malte" into tArray[1]["firstname"] put "pfaff-brill" into tArray[1]["lastname"] put "linus" into tArray[2]["firstname"] put "pfaff" into tArray[2]["lastname"] set the cAddressBook of this stack to tArray save this stack --- -- retrieve it local tArray put the cAddressBook of this stack into tArray answer tArray[1]["firstname"] Hope that helps, Malte From jimaultwins at yahoo.com Tue Aug 10 04:15:57 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Tue, 10 Aug 2010 01:15:57 -0700 Subject: Multi-dimensional arrays, tutorial? In-Reply-To: References: Message-ID: I only have time for a quick hint. I think you need to create each node before defining the next child level. Kind of like 'create folder' at each level in the directory. When I did this a year ago I recall I used nested repeat loops and the array names in strings. I built the requisite strings, then parsed them as I spun everything into all the dimensions. put pData into the databaseArray[pCompany] put pData into the databaseArray[pCompany][pPerson] put pData into the databaseArray[pCompany][pPerson][pName] Persistence is probably something like arrayEncode() Use the Rev arrayEncode function to convert an array into a string so that it can be saved to a file or sent across a network. On Aug 10, 2010, at 12:53 AM, FlexibleLearning wrote: > Can someone point me to an explanation or tutorial on using > multi-dimensional arrays, and specifically persistence between > sessions? > Okay, so I'm a trifle late to the party but I am here now! > > I am making no headway at all from such information as I can find in > the dox > so obviously I have my fundamentals in a twist... For example 'put > pData > into the databaseArray[pCompany][pPerson][pName] of this stack' ain't > co-operating. > Jim Ault Las Vegas From bonnmike at gmail.com Tue Aug 10 05:39:10 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 10 Aug 2010 03:39:10 -0600 Subject: [ANNOYANCE] Custom protocols that are not registered do not trigger browserBeforeNavigate correctly on windows. In-Reply-To: <4C610350.1040203@cogapp.com> References: <4C610350.1040203@cogapp.com> Message-ID: Think there might be an easier way to do this, have only done a little experimentation though. If your page has links in the form of The Link Text Then when its clicked by default it will go nowhere, yet you can pass in any combination of information you wish, process it then if desired navigate to whatever page you want under those circumstances. I had been thinking that the advanced callback messages could be turned on in windows but it would still require either a browser stop, or setting the href to # so that no navigation occured before the element ID could be checked, then do it different with osx. Using this alternate method it should work the same way on both platforms. Click, check the url in browserbeforenagivate, if it starts with #, bingo bango bongo, process it and move along. On Tue, Aug 10, 2010 at 1:44 AM, Ben Rubinstein wrote: > On 09/08/2010 13:55, Andre Garzia wrote: >> >> I believe that this can be "fixed" by using client side javascript only. >> By >> fixed I mean "restore that behaviour". If you specify an action that is a >> javascript function and in that function you assemble your parameters in a >> url and set the window.location of the running page, it should trigger >> browserBeforeNavigate with the URL from the js function and your >> parameters >> there. This should work on both windows and mac os x and it is quite an >> elegant solution. > > Bear in mind that while this works if you genuinely want the browser to > display a new URL (you just want to do stuff first), it is limited as a > means of calling back to Rev in general (but it is AFAIK the only way to do > so). > > In effect (from memory, syntax may be dodgy) you can have a javascript > function like this: > > ? ? ? ?function tellRev (tMessage) > ? ? ? ?{ > ? ? ? ? ? window.location = "SPECIALREV:" + tMessage; > ? ? ? ?} > > ? ? ? ?tellRev("beep"); > ? ? ? ?tellRev("show-onscreen-keyboard"); > ? ? ? ?....etc > > A browserBeforeNavigate handler can then catch the URL, spot the special > 'protocol' prefix, do something with the rest of the so-called URL, and tell > the browser to cancel the navigation. > > This works up to a point: the issue, at least on Mac OS X, is that when > javascript executes two statements to set window.location in succession, as > in the above example, one cancels the other. ?So if for example you have two > controls on the web page, each of which instructs Rev to do something, if > the user clicks both in quick succession, only one will execute. > > See > http://quality.runrev.com/qacenter/show_bug.cgi?id=6986 > > for a proposed solution (which I admit I don't know if it's possible). > > Ben > _______________________________________________ > 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 bonnmike at gmail.com Tue Aug 10 05:44:20 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 10 Aug 2010 03:44:20 -0600 Subject: [ANNOYANCE] Custom protocols that are not registered do not trigger browserBeforeNavigate correctly on windows. In-Reply-To: References: <4C610350.1040203@cogapp.com> Message-ID: Followup, it will actually start with currenturl# I believe, so that should be what is checked for. Am I correct in my understanding that the page itself is not reloaded on link hrefs that begin with #? If so, should still work fine this way, will have to setup a full blown page and see how it behaves. On Tue, Aug 10, 2010 at 3:39 AM, Mike Bonner wrote: > Think there might be an easier way to do this, have only done a little > experimentation though. > > If your page has links in the form of href=#?yourparam=something&yourotherparam=somethingelse&thefinalurltogoto=www.myurl.net>The > Link Text > Then when its clicked by default it will go nowhere, yet you can pass > in any combination of information you wish, process it then if desired > navigate to whatever page you want under those circumstances. > > I had been thinking that the advanced callback messages could be > turned on in windows but it would still require either a browser stop, > or setting the href to # so that no navigation occured before the > element ID could be checked, then do it different with osx. ?Using > this alternate method it should work the same way on both platforms. > Click, check the url in browserbeforenagivate, if it starts with #, > bingo bango bongo, process it and move along. > > On Tue, Aug 10, 2010 at 1:44 AM, Ben Rubinstein wrote: >> On 09/08/2010 13:55, Andre Garzia wrote: >>> >>> I believe that this can be "fixed" by using client side javascript only. >>> By >>> fixed I mean "restore that behaviour". If you specify an action that is a >>> javascript function and in that function you assemble your parameters in a >>> url and set the window.location of the running page, it should trigger >>> browserBeforeNavigate with the URL from the js function and your >>> parameters >>> there. This should work on both windows and mac os x and it is quite an >>> elegant solution. >> >> Bear in mind that while this works if you genuinely want the browser to >> display a new URL (you just want to do stuff first), it is limited as a >> means of calling back to Rev in general (but it is AFAIK the only way to do >> so). >> >> In effect (from memory, syntax may be dodgy) you can have a javascript >> function like this: >> >> ? ? ? ?function tellRev (tMessage) >> ? ? ? ?{ >> ? ? ? ? ? window.location = "SPECIALREV:" + tMessage; >> ? ? ? ?} >> >> ? ? ? ?tellRev("beep"); >> ? ? ? ?tellRev("show-onscreen-keyboard"); >> ? ? ? ?....etc >> >> A browserBeforeNavigate handler can then catch the URL, spot the special >> 'protocol' prefix, do something with the rest of the so-called URL, and tell >> the browser to cancel the navigation. >> >> This works up to a point: the issue, at least on Mac OS X, is that when >> javascript executes two statements to set window.location in succession, as >> in the above example, one cancels the other. ?So if for example you have two >> controls on the web page, each of which instructs Rev to do something, if >> the user clicks both in quick succession, only one will execute. >> >> See >> http://quality.runrev.com/qacenter/show_bug.cgi?id=6986 >> >> for a proposed solution (which I admit I don't know if it's possible). >> >> Ben >> _______________________________________________ >> 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 Aug 10 05:58:26 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 10 Aug 2010 11:58:26 +0200 Subject: Multi-dimensional arrays, tutorial? In-Reply-To: References: Message-ID: Jim, your folder analogy is not correct, as this works fine: put "mex" into foo["bar"]["tex"] put foo["bar"]["tex"] --yields: mex With multiple arrays, I always run into conceptual problems (aka. brain pain) because in the example above: foo is an array (has keys) foo["bar"] is also an array and has keys foo["bar"]["tex"] is not an array and contains text ("mex") --damn I have written an advanced tutorial (read: confusing) on various uses for multidimensional arrays when having tab delimited data: http://lessons.runrev.com/spaces/lessons/buckets/784/lessons/9678-How-do-I-convert-tab-delimited-data-into-an-array- On 10 Aug 2010, at 10:15, Jim Ault wrote: > I only have time for a quick hint. > I think you need to create each node before defining the next child level. > Kind of like 'create folder' at each level in the directory. > When I did this a year ago I recall I used nested repeat loops and > the array names in strings. I built the requisite strings, then parsed them as I spun everything into all the dimensions. > > put pData into the databaseArray[pCompany] > put pData into the databaseArray[pCompany][pPerson] > put pData into the databaseArray[pCompany][pPerson][pName] > > Persistence is probably something like arrayEncode() > > Use the Rev arrayEncode function to convert an array into a string so that it can be saved to a file or sent across a network. > > > On Aug 10, 2010, at 12:53 AM, FlexibleLearning wrote: > >> Can someone point me to an explanation or tutorial on using >> multi-dimensional arrays, and specifically persistence between sessions? >> Okay, so I'm a trifle late to the party but I am here now! >> >> I am making no headway at all from such information as I can find in the dox >> so obviously I have my fundamentals in a twist... For example 'put pData >> into the databaseArray[pCompany][pPerson][pName] of this stack' ain't >> co-operating. >> > > 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 kevin at runrev.com Tue Aug 10 06:51:47 2010 From: kevin at runrev.com (Kevin Miller) Date: Tue, 10 Aug 2010 11:51:47 +0100 Subject: Rev/Linux update - for Richmond In-Reply-To: <4C60CA9A.60505@fourthworld.com> Message-ID: On 10/08/2010 04:42, "Richard Gaskin" wrote: >> Yer, but . . . the reall "fun" will be when I get home and try the >> Sanskrit2003 font on Linux . . . >> >> err . . . wait a minute . . . no it won't as I have a Studio licence so >> no access to DP builds; >> Heather very kindly extended my licence to Sept.; whether that will >> encompass the 4.5 release I don't know ???? I won't comment publicly on release dates, but I might be surprised if it didn't. > All Enterprise licensees get access to DP builds automatically, but > since you're more enthused about testing the new font handling than > anyone else around I would suggest you drop a note to support at runrev.com > to see if you can get access to the DPs on this round to help out. > > No rush at the moment though: so far all I've seen are screen shots of > the in-progress builds as the team works toward the DP. Not sure when > the next DP will be posted, but thus far none have had the new font > handling, so it's not like you've been missing out while you were > traveling. Hopefully the next DP will up soon.... Yes its just screenshots at the moment but there is a new DP for our revEnterprise customers coming up shortly. Feel free to drop a line to support though as a little extra help testing the Linux tweaks wouldn't go amiss. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ RunRev - Software construction for everyone From mikekann at yahoo.com Tue Aug 10 08:35:33 2010 From: mikekann at yahoo.com (Michael Kann) Date: Tue, 10 Aug 2010 05:35:33 -0700 (PDT) Subject: [OT] Anyone hear of TapLynx? In-Reply-To: Message-ID: <783177.93741.qm@web56702.mail.re3.yahoo.com> Chipp, Did it say how much it costs? Mike --- On Tue, 8/10/10, Chipp Walters wrote: From: Chipp Walters Subject: Re: [OT] Anyone hear of TapLynx? To: "How to use Revolution" Date: Tuesday, August 10, 2010, 12:04 AM Ack. Looks like it's only good for iPhone and not iPad-- at least I can't find any mention of iPads. Bummer. _______________________________________________ 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 bill at fmpsolutions.com Tue Aug 10 09:01:21 2010 From: bill at fmpsolutions.com (William Roger Moseid) Date: Tue, 10 Aug 2010 06:01:21 -0700 Subject: Moving forward Message-ID: <5DAA8207FDCA4596A75C025DB86453A5@BillPC> Bravo, Jerry! Jerry Daniels wrote: (The following quote has helped me through the ups and downs of business and life over the years. Thought I'd share it. "If you are kind, people may accuse you of selfish, ulterior motives; be kind anyway. If you are successful, you will win some false friends and some true enemies; succeed anyway. If you are honest and frank, people may cheat you; be honest and frank anyway. What you spend years building, someone could destroy overnight; build anyway." - Mother Teresa) I belive Mother Teresa lived what she quoted: "Love your neighbor as you love yourself" Best, William __________ Information from ESET Smart Security, version of virus signature database 5354 (20100810) __________ The message was checked by ESET Smart Security. http://www.eset.com From mikekann at yahoo.com Tue Aug 10 09:35:49 2010 From: mikekann at yahoo.com (Michael Kann) Date: Tue, 10 Aug 2010 06:35:49 -0700 (PDT) Subject: [OT] Anyone hear of TapLynx? In-Reply-To: Message-ID: <754516.74898.qm@web56703.mail.re3.yahoo.com> Chipp, I found the price -- it was in plain sight. $599 to get one app running. I guess you can play around with the SDK for free. Thanks for the heads up. Mike --- On Tue, 8/10/10, Chipp Walters wrote: From: Chipp Walters Subject: Re: [OT] Anyone hear of TapLynx? To: "How to use Revolution" Date: Tuesday, August 10, 2010, 12:04 AM Ack. Looks like it's only good for iPhone and not iPad-- at least I can't find any mention of iPads. Bummer. _______________________________________________ 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 BG_Alerts at virginbroadband.com.au Mon Aug 9 21:06:34 2010 From: BG_Alerts at virginbroadband.com.au (Brent Summerton) Date: Tue, 10 Aug 2010 10:36:34 +0930 Subject: Unable to Print/ Email from Standalone Message-ID: When User hits the Print Button or Email Button using Windows XP/Vista in Standalone it prints or emails a Blank Document - Even with printing exported as part of the Standalone. Works fine directly from within RevEnterprise on my Macintosh! Below I describe what I am trying to achieve: Scenario - Multiple Choice Questions with four modules. User can complete one module for a Credential or do the whole lot. User Enters their personal details once and it is propagated across several Modules on Opencard Put the long date into card field "date" Put "Module 2: Food Hygeine" into card field "Module" end Opencard On Closecard Get card field "Name" Put it into A Get card field "Site" Put it into B Get card field "Date" Put it into C Get card field "Module" Put it into D Put A &Return& B &Return& C &Return & D &Return & "___________________________________________________________________" into field "Results" of card "Module2Results" Put A into field "Name" of card "Module1Credential" Put B into field "Site" of card "Module1Credential" Put A into field "Name" of card "Module2Credential" Put B into field "Site" of card "Module2Credential" Put A into field "Name" of card "Module3Credential" Put B into field "Site" of card "Module3Credential" end Closecard User begins answering Multiple Choice Questions Right/Wrong Answers Recorded and put into field "Results" of Card "Module1Results" on mouseUp Play "WellDone!.aif" Put "Correct" into field "A" Get field "Results" of card "Module1Results" -- Gets Results so far and adds the next Answer to the bottom of the list. Put it into A Put "Yes to Clean Fridges - " into B Put "Well Done!" into C Put A & B & C &Return into field "Results" of card "Module1Results" Add 1 to field "Correct" of card "Module1Results" end mouseUp On the Last Card it is instructed to 'Get' the information from the Results field of each Module and populate ALL the Results into a field on this Card for sending to a printer with a button. On Opencard Put field "Results" of card "Module1Results" into A Put field "Results" of card "Module2Results" into B Put field "Results" of card "Module3Results" into C Put "Module 4: Food Safety Plans - Currently has no test questions to answer." into D Put A & Return & Return & Return & Return & Return & Return & B & Return & Return & Return & Return & Return & Return & C & Return & Return & Return & Return & Return & Return &D & Return & Return & Return & Return into field "Results" of card "Module4Results" end Opencard The User then sends to a Printer with a Button. on mouseUp Answer "Print now or wait until you have completed ALL Modules?" with "Print" and "Wait" If it is "Print" then send PrintResults else end if end mouseUp Or the User then sends via Email with a Button. on mouseUp Answer "Email now or wait until you have completed ALL Modules?" with "Send" and "Wait" If it is "Send" then send EmailResults else end if end mouseUp I have spent over three months trying to resolve this issue and I am getting frustrated. Any suggestions? From modelmasters1 at cox.net Mon Aug 9 22:00:20 2010 From: modelmasters1 at cox.net (William Moseid) Date: Mon, 9 Aug 2010 19:00:20 -0700 Subject: Moving forward Message-ID: Bravo, Jerry! Jerry Daniels wrote: (The following quote has helped me through the ups and downs of business and life over the years. Thought I'd share it. "If you are kind, people may accuse you of selfish, ulterior motives; be kind anyway. If you are successful, you will win some false friends and some true enemies; succeed anyway. If you are honest and frank, people may cheat you; be honest and frank anyway. What you spend years building, someone could destroy overnight; build anyway." - Mother Teresa) I belive Mother Teresa lived what she quoted: "Love your neighbor as you love yourself" Best, William __________ Information from ESET Smart Security, version of virus signature database 5353 (20100809) __________ The message was checked by ESET Smart Security. http://www.eset.com From klaus at major.on-rev.com Tue Aug 10 10:20:40 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 10 Aug 2010 16:20:40 +0200 Subject: Unable to Print/ Email from Standalone In-Reply-To: References: Message-ID: <86C3843A-E528-4E3F-950A-B6EBCC832598@major.on-rev.com> Hi Brent, > When User hits the Print Button or Email Button using Windows XP/Vista in Standalone it prints or emails a Blank Document - Even with printing exported as part of the Standalone. Works fine directly from within RevEnterprise on my Macintosh! Below I describe what I am trying to achieve: > > Scenario - Multiple Choice Questions with four modules. > User can complete one module for a Credential or do the whole lot. > > User Enters their personal details once and it is propagated across several Modules > > on Opencard > ... > ... > ... > end if > end mouseUp > > I have spent over three months trying to resolve this issue and I am getting frustrated. Any suggestions? well, all of you posted code does only collect the users data, but we need to take a look at the mailing resp. printing handler(s) to be able to guess why the results do not get printed/mailed! BTW, does the above code work as exspected? Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From mwieder at ahsoftware.net Tue Aug 10 11:05:52 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 10 Aug 2010 08:05:52 -0700 Subject: Classic CGI on Win In-Reply-To: <4A8D3613-3908-4FEE-BA70-BE9A69BF9F39@derbrill.de> References: <20100802170009.0DC4A2881AC@mail.runrev.com> <4A8D3613-3908-4FEE-BA70-BE9A69BF9F39@derbrill.de> Message-ID: <87597634031.20100810080552@ahsoftware.net> Malte- Tuesday, August 10, 2010, 1:03:48 AM, you wrote: > Mark, you raised my curiosity. What exactly were the problems you > encountered on IIS? Did it work at all? Or was it just complicated? It's been some four years now since I did this, so my memory is a bit hazy about it. I did write this up, but thanks to my brilliant organizational skills I can't find the writeup at the moment. I do remember having to change line endings on scripts, of course. I remember having to convince the IIS security policy that rev scripts were acceptable files to serve. I remember getting generic 500 errors from the server rather than anything meaningful. I remember the Alamo. It did work eventually. I'll see if I can dig up my writeup for you, but my conclusion after having gone through the experience was that Apache was a *much* better solution for serving cgi scripts than IIS. And I doubt that anyone with any IIS experience will be surprised by this. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Tue Aug 10 11:08:40 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 10 Aug 2010 08:08:40 -0700 Subject: [OT] Anyone hear of TapLynx? In-Reply-To: <754516.74898.qm@web56703.mail.re3.yahoo.com> References: <754516.74898.qm@web56703.mail.re3.yahoo.com> Message-ID: <160597802453.20100810080840@ahsoftware.net> Mike- Tuesday, August 10, 2010, 6:35:49 AM, you wrote: > I found the price -- it was in plain sight. $599 to get one app > running. I guess you can play around with the SDK for free. Thanks > for the heads up. That was my take on the pricing as well. It's free to develop with the SDK, and then when you're ready to deploy it's $599 *per app*. -- -Mark Wieder mwieder at ahsoftware.net From admin at FlexibleLearning.com Tue Aug 10 11:24:11 2010 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Tue, 10 Aug 2010 16:24:11 +0100 Subject: Multi-dimensional arrays, tutorial? In-Reply-To: <20100810142101.D90F62882A4@mail.runrev.com> Message-ID: Thank you BvG. Persistence by putting an array into a property makes sense kinda... It was the syntax that had me fooled. If I have understood the system, then 1. set the dinnerNames["mains"] of this stack to "tex" - good 2. set the dinnerNames["mains"]["spicy"] of this stack to "tex" - bad! because [1] is a single dimension array property [2] is a multi-dimensional array variable but [3] we can 'set' a single dimension property to a multi-dimensional array which is what I need to do. Nice tutorial, by the way... >I have written an advanced tutorial (read: confusing) on various >uses for multidimensional arrays when having tab delimited data: http://lessons.runrev.com/spaces/lessons/buckets/784/lessons/9678-How-do-I-c onvert-tab-delimited-data-into-an-array- /H From bvg at mac.com Tue Aug 10 11:48:49 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 10 Aug 2010 17:48:49 +0200 Subject: Multi-dimensional arrays, tutorial? In-Reply-To: References: Message-ID: <4ED3DC9F-CD61-4B60-9842-049584E64DBC@mac.com> Yes, you're right because what you're doing is not multidimensional arrays at all. You're simply using custom property sets and want to store stuff in them. I did once make an enhancement requests that ask for making arrays and properties (custom or not) basically be the same, which might that then be possible. I think that the person who made custompropertysets had single dimension arrays in mind, but never came to the idea to just actually _make_ em arrays. Which is hugely confusing, especially considering how abstract all that subgrouping with weird brackets is to begin with. So what you can do is either: a. save your array in a customproperty: set the dinnerNames of this stack to myDinnerArray b. save your array in a custompropertyset's customproperty: set the dinner["names"] of this stack to myDinnerArray --equivalent of: set the custompropertyset of this stack to "dinner" set the names of this stack to myDinnerArray set the custompropertyset of this stack to "" c. do not use arrays: set the dinner["name1"] of this stack to "tex" d. do not use customproperties put arrayencode(myDinnerArray) into url ("binfile:" & "Array.txt") Bjoernke PS: Mentioned feature request: http://quality.runrev.com/qacenter/show_bug.cgi?id=6912 On 10 Aug 2010, at 17:24, FlexibleLearning wrote: > If I have understood the system, then > > 1. set the dinnerNames["mains"] of this stack to "tex" - good > 2. set the dinnerNames["mains"]["spicy"] of this stack to "tex" - bad! > > because > > [1] is a single dimension array property > [2] is a multi-dimensional array variable > > but > > [3] we can 'set' a single dimension property to a multi-dimensional array > which is what I need to do. From cszasz at mac.com Tue Aug 10 12:06:19 2010 From: cszasz at mac.com (charles61) Date: Tue, 10 Aug 2010 09:06:19 -0700 (PDT) Subject: ListMagic Users: Cannot import LM data with the status of checkboxes Message-ID: <1281456379000-2320015.post@n4.nabble.com> I love List Magic. It makes it extremely easy to make lists in Rev apps. After using the syntax given in the docs to export and then import LM lists, I found that the status of the checkboxes in the second header are not being imported when you import the list back into your app. Has any LM users run into this problem? If so, how did you deal with it? I would be happy to share my export and import scripts to compare notes about this problem! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ListMagic-Users-Cannot-import-LM-data-with-the-status-of-checkboxes-tp2320015p2320015.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Tue Aug 10 12:16:13 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 10 Aug 2010 09:16:13 -0700 Subject: [OT] Anyone hear of TapLynx? In-Reply-To: References: Message-ID: Looks like you can do really simple "apps" (read applicationized web pages) without coding. But if you have to code, it's Objective C, right? Bob On Aug 9, 2010, at 9:26 PM, Chipp Walters wrote: > http://www.taplynx.com/features/ > > Just wondering if anyone has seen this or > heard of it? > > -- > Chipp Walters > CEO, Shafer Walters Group, Inc. > _______________________________________________ > 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 gregory.lypny at videotron.ca Tue Aug 10 12:33:40 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 10 Aug 2010 12:33:40 -0400 Subject: Functions for On-Rev Message-ID: Hello everyone, Is it possible to call a file of functions for On-Rev? I created a file called functions.irev. In it, I put a function that converts strings to title case. I then placed an HTML object on a web page with but unfortunately, I get nothing. Regards, Gregory From gregory.lypny at videotron.ca Tue Aug 10 12:37:09 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 10 Aug 2010 12:37:09 -0400 Subject: Ooops - Functions for On-Rev Message-ID: Please disregard my previous post on this topic. I figured it out: forgot to name the web page with .irev. How embarrassing. Gregory From alex at tweedly.net Tue Aug 10 13:11:16 2010 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 10 Aug 2010 18:11:16 +0100 Subject: Functions for On-Rev In-Reply-To: References: Message-ID: <4C618834.5080408@tweedly.net> I saw your later post, but thought I'd mention .... it should be function titlecase pString rather than function titlecase, pString (i.e. no comma between name and parameter list) -- Alex. On 10/08/2010 17:33, Gregory Lypny wrote: > Hello everyone, > > Is it possible to call a file of functions for On-Rev? I created a file called functions.irev. In it, I put a function that converts strings to title case. > > function titleCase, pString > -- do stuff > return theResult > end titleCase > ?> > > I then placed an HTML object on a web page with > > include functions.irev > put titleCase("THIS SENTENCE WAS CONVERTED TO TITLE CASE.") > ?> > > but unfortunately, I get nothing. > > Regards, > > Gregory > > _______________________________________________ > 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 Aug 10 13:22:04 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 10 Aug 2010 10:22:04 -0700 Subject: [OT] Anyone hear of TapLynx? In-Reply-To: References: Message-ID: or Javascript. On 10 August 2010 09:16, Bob Sneidar wrote: > Looks like you can do really simple "apps" (read applicationized web pages) > without coding. But if you have to code, it's Objective C, right? > > Bob > > > On Aug 9, 2010, at 9:26 PM, Chipp Walters wrote: > > > http://www.taplynx.com/features/ > > > > Just wondering if anyone has seen this > or > > heard of it? > > > > -- > > Chipp Walters > > CEO, Shafer Walters Group, Inc. > Stephen Barncard San Francisco Ca. USA more about sqb From psahores at free.fr Tue Aug 10 13:39:33 2010 From: psahores at free.fr (Pierre Sahores) Date: Tue, 10 Aug 2010 19:39:33 +0200 Subject: Functions for On-Rev In-Reply-To: References: Message-ID: <8975F806-C534-4CE2-B83A-3C74D8156BE7@free.fr> Hello, You just need to quote the name of your "functions.irev" lib, separe your code in two parts (load, use) and eventually set the needed relative HTTP path if the actual file don't lies in the same directory. > include "functions.irev" > ?> > > put titleCase("THIS SENTENCE WAS CONVERTED TO TITLE CASE.") > ?> HTH, Best, Pierre Le 10 ao?t 2010 ? 18:33, Gregory Lypny a ?crit : > Hello everyone, > > Is it possible to call a file of functions for On-Rev? I created a file called functions.irev. In it, I put a function that converts strings to title case. > > function titleCase, pString > -- do stuff > return theResult > end titleCase > ?> > > I then placed an HTML object on a web page with > > include functions.irev > put titleCase("THIS SENTENCE WAS CONVERTED TO TITLE CASE.") > ?> > > but unfortunately, I get nothing. > > Regards, > > Gregory > > _______________________________________________ > 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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From runrev260805 at m-r-d.de Tue Aug 10 15:23:28 2010 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Tue, 10 Aug 2010 21:23:28 +0200 Subject: [OT] Anyone hear of TapLynx? In-Reply-To: References: Message-ID: <40B18D18-F941-4741-B673-0C60753972D1@m-r-d.de> Javascript? Then you could also use NimbleKit (http://www.nimblekit.com/). You just have to pay a onetime fee of 99USD and may sell as many different apps as you want. Even Apple lists this tool http://www.apple.com/downloads/macosx/development_tools/nimblekit.html Regards, Matthias Am 10.08.2010 um 19:22 schrieb stephen barncard: > or Javascript. > > On 10 August 2010 09:16, Bob Sneidar wrote: > >> Looks like you can do really simple "apps" (read applicationized web pages) >> without coding. But if you have to code, it's Objective C, right? >> >> Bob >> >> >> On Aug 9, 2010, at 9:26 PM, Chipp Walters wrote: >> >>> http://www.taplynx.com/features/ >>> >>> Just wondering if anyone has seen this >> or >>> heard of it? >>> >>> -- >>> Chipp Walters >>> CEO, Shafer Walters Group, Inc. >> > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > 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 hershrev at syp2u4c.com Tue Aug 10 15:52:03 2010 From: hershrev at syp2u4c.com (Hershel Fisch) Date: Tue, 10 Aug 2010 15:52:03 -0400 Subject: Multiple revCursors stacks Message-ID: Hi, I?m wordering why I have multiple stacks with name ?revCursors? and multiple stacks ?macRevCursors? Thakns, Hershel From pete at mollysrevenge.com Tue Aug 10 15:57:52 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 10 Aug 2010 12:57:52 -0700 Subject: revdb_connectionerr Message-ID: Does this function return the result of the last db operation or the last db operation that failed? The dictionary entry seems to suggest the latter... Pete Haworth From bobs at twft.com Tue Aug 10 16:12:04 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 10 Aug 2010 13:12:04 -0700 Subject: revdb_connectionerr In-Reply-To: References: Message-ID: <26C37379-ADFE-4D8A-B2EA-295966231443@twft.com> Comments: If there were no errors on the specified database connection, the revDatabaseConnectResult function returns empty. Otherwise the revDatabaseConnectResult function returns the database specific error message for the most recent database operation that failed. Bob On Aug 10, 2010, at 12:57 PM, Peter Haworth wrote: > Does this function return the result of the last db operation or the last db operation that failed? The dictionary entry seems to suggest the latter... > > Pete Haworth > > > > > > > > > _______________________________________________ > 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 Tue Aug 10 16:13:03 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 10 Aug 2010 22:13:03 +0200 Subject: revdb_connectionerr In-Reply-To: References: Message-ID: <777ECC41-2560-454E-BBBF-3B557FD95B67@economy-x-talk.com> Peter, The last db operation. If no error occurred, it is empty. Actually, I thought this function was obsolete, but I might be wrong about that. In any case, I'd always check the result after using a database command or function besides any dedicated error reporting functions. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 10 aug 2010, at 21:57, Peter Haworth wrote: > Does this function return the result of the last db operation or the last db operation that failed? The dictionary entry seems to suggest the latter... > > Pete Haworth From bobs at twft.com Tue Aug 10 16:17:32 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 10 Aug 2010 13:17:32 -0700 Subject: revdb_connectionerr In-Reply-To: <777ECC41-2560-454E-BBBF-3B557FD95B67@economy-x-talk.com> References: <777ECC41-2560-454E-BBBF-3B557FD95B67@economy-x-talk.com> Message-ID: <13879E4D-8EAE-45D6-95AC-25601C3DF4E3@twft.com> Agreed. In fact, I put all database operations inside a try/catch structure so as not to assault the end user with error dialogs that they don't know what to do with. If you are making a TON of calls in your app, you may want to consider writing a special database error function which knows how to handle all the errors you want in a way that the end user (and your app) can work with. For instance, a "Database temporarily unavailable. Try again?" dialog that gives the user a chance to call IT and have them get the DB back online without dumping your app mid transaction. Bob On Aug 10, 2010, at 1:13 PM, Mark Schonewille wrote: > Peter, > > The last db operation. If no error occurred, it is empty. Actually, I thought this function was obsolete, but I might be wrong about that. In any case, I'd always check the result after using a database command or function besides any dedicated error reporting functions. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > From 15th August, we'll have time for new projects! Be the first in line and contact me now! > > Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce > > On 10 aug 2010, at 21:57, Peter Haworth wrote: > >> Does this function return the result of the last db operation or the last db operation that failed? The dictionary entry seems to suggest the latter... >> >> Pete Haworth > > _______________________________________________ > 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 DunbarX at aol.com Tue Aug 10 17:22:11 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Tue, 10 Aug 2010 17:22:11 EDT Subject: the pendingClick Message-ID: <3585f.9fe6e8e.39931d03@aol.com> In HC, I always distinguished, within a single mouseUp handler, the difference between a single mouseClick and a double mouseClick as: on mouseUp wait 15 if the mouseClick then put "Double" else put "Single" end mouseUp But it seems more modern, more revLike, to use a mouseUp handler and a mouseDoubleUp handler: on mouseUp put "Single" end mouseUp on mouseDoubleUp put "Double" end mouseDoubleUp Of course, both messages are sent, as they ought to be, and you see both results. Is there are way to do this with two handlers? Like: on mouseUp if there is a handler "mouseDoubleUp" in this script then exit mouseUp put "Single" end mouseUp Of course, the "is a" operator takes no such argument, though one could easily determine if a mouseDoubleUp handler actually existed, and set a flag or property on mouseDown, say. But is there a cleverer way? From dick.kriesel at mail.com Tue Aug 10 17:23:23 2010 From: dick.kriesel at mail.com (Dick Kriesel) Date: Tue, 10 Aug 2010 14:23:23 -0700 Subject: Multi-dimensional arrays, tutorial? In-Reply-To: Message-ID: On Aug 10, 2010, at 12:53 AM, FlexibleLearning wrote: > Can someone point me to an explanation or tutorial on using > multi-dimensional arrays, and specifically persistence between > sessions? Hi, Hugh. If you'd like to see a script locals persistence toolkit, I'd be glad to share the code. The library loads and stores script locals, as you've seen in other replies, but goes further by enabling operations on multiple arrays in a single invocation, and by enabling operations on arrays within arrays. The primary handler in the library starts with this: command scriptLocals_op pOperation, pVariableNames, pKey, pRevObject /* pOperation is among the items of "register,load,store,empty,unregister,remove" pVariableNames can be a list delimited by cr, comma, or space. pVariableNames is optional; without it, the command operates on all script locals identified in previous executions of the command. pKey can be a string that is a top-level subscript of the array. pKey can be a sequentially-keyed array that determines a compound subscript of the array. pKey is optional; without it, the command operates on whole arrays rather than on elements of arrays. pRevObject can identify any Rev object. pRevObject is optional; without it, the Rev object is the one whose script invokes the command. The command performs the operation in the context of the Rev object on the Rev object's own script locals. */ Please let me know if you have questions or if you'd like to see the library. -- Dick From zryip.theslug at gmail.com Tue Aug 10 18:36:24 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 11 Aug 2010 00:36:24 +0200 Subject: the pendingClick In-Reply-To: <3585f.9fe6e8e.39931d03@aol.com> References: <3585f.9fe6e8e.39931d03@aol.com> Message-ID: On Tue, Aug 10, 2010 at 11:22 PM, wrote: > In HC, I always distinguished, within a single mouseUp handler, the > difference between a single mouseClick and a double mouseClick as: > > on mouseUp > ? wait 15 > ? if the mouseClick then put "Double" else put "Single" > end mouseUp > > But it seems more modern, more revLike, to use a mouseUp handler and a > mouseDoubleUp handler: > > on mouseUp > ? put "Single" > end mouseUp > > on mouseDoubleUp > ? put "Double" > end mouseDoubleUp > > Of course, both messages are sent, as they ought to be, and you see both > results. > > Is there are way to do this with two handlers? Like: > > on mouseUp > ? if there is a handler "mouseDoubleUp" in this script then exit mouseUp > ? put "Single" > end mouseUp > > Of course, the "is a" operator takes no such argument, though one could > easily determine if a mouseDoubleUp handler actually existed, and set a flag or > property on mouseDown, say. But is there a cleverer way? Have a look to this old thread: http://www.mail-archive.com/use-revolution at lists.runrev.com/msg110620.html Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From mwieder at ahsoftware.net Tue Aug 10 18:40:14 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 10 Aug 2010 15:40:14 -0700 Subject: the pendingClick In-Reply-To: References: <3585f.9fe6e8e.39931d03@aol.com> Message-ID: <28624896531.20100810154014@ahsoftware.net> zryip- Tuesday, August 10, 2010, 3:36:24 PM, you wrote: > Have a look to this old thread: > http://www.mail-archive.com/use-revolution at lists.runrev.com/msg110620.html Ah... Eric to the rescue once again... -- -Mark Wieder mwieder at ahsoftware.net From zryip.theslug at gmail.com Tue Aug 10 18:57:29 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 11 Aug 2010 00:57:29 +0200 Subject: the pendingClick In-Reply-To: <28624896531.20100810154014@ahsoftware.net> References: <3585f.9fe6e8e.39931d03@aol.com> <28624896531.20100810154014@ahsoftware.net> Message-ID: On Wed, Aug 11, 2010 at 12:40 AM, Mark Wieder wrote: > zryip- > > Tuesday, August 10, 2010, 3:36:24 PM, you wrote: > >> Have a look to this old thread: > >> http://www.mail-archive.com/use-revolution at lists.runrev.com/msg110620.html > > Ah... Eric to the rescue once again... > The master is away but he still has plenty of things to teach us ;) -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From bobcole at earthlink.net Tue Aug 10 19:28:50 2010 From: bobcole at earthlink.net (Bob Cole) Date: Tue, 10 Aug 2010 18:28:50 -0500 Subject: Learning CGI - Woes Message-ID: <81B12FF2-6F2F-4554-BEE0-6A996003F331@earthlink.net> On August 4th there was a lot of chatter SQL queries and logins going across the network and what a bad idea that is. There was discussion about CGIs and Jacque's tutorial and other resources that I have now studied. I know I have followed the steps (many times) but I can't get the Hello World script to work! Here is my set up: - I am using Mac OS X 10.6.4 and Web Sharing is on. - I put copied the script from Jacque's tutorial into BBEdit, saved it with Unix line endings (LF) and Unicode (UTF-8): #!revolution -ui on startup put "Content-type: text/plain" & cr & cr put "Hello World!" end startup - I put this hello.cgi file into the /Library/WebServer/CGI-Executables folder. - I copied the standalone to the CGI-Executables folder from: /Applications/Revolution Enterprise/4.0.0-gm-1/Runtime/Mac OS \ X/x86-32/Standalone.app/Contents/MacOS/Standalone - I renamed it as revolution - I used chmod 755 on both hello.cgi and revolution - I call the script from FireFox 3.6.8 with http://localhost/cgi-bin/hello.cgi - In the browser I see: Internal Server Error [...snip...] - In the console I see: [Tue Aug 10 17:56:16 2010] [error] [client ::1] Tue Aug 10 17:56:16 \ myMac.local revolution[1589] : kCGErrorFailure: Set a breakpoint @ \ CGErrorBreakpoint() to catch errors as they are logged. [Tue Aug 10 17:56:16 2010] [error] [client ::1] Premature end of script \ headers: hello.cgi I used the Terminal and ran: ./revolution ./hello.cgi but there is no output Nothing works. What am I missing? Do I have to modify httpd.conf? I put a simple perl script in the cgi-bin folder and it runs fine. I even tried some php scripts and they run ok from the cgi-bin folder, too. Any help would be appreciated! Bob From capellan2000 at gmail.com Tue Aug 10 20:15:11 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 10 Aug 2010 17:15:11 -0700 (PDT) Subject: Copying binary files over a LAN using Rev In-Reply-To: <4C60C59A.3060607@fourthworld.com> References: <1281033975358-2315446.post@n4.nabble.com> <4C60C59A.3060607@fourthworld.com> Message-ID: <1281485711337-2320606.post@n4.nabble.com> Hi Richard, Actually, it would be ideal to mount the volume, but it's not possible in this setup. I will continue with this topic, as soon workload returns to normal levels. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Copying-binary-files-over-a-LAN-using-Rev-tp2315446p2320606.html Sent from the Revolution - User mailing list archive at Nabble.com. From revolution at derbrill.de Tue Aug 10 20:42:54 2010 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Wed, 11 Aug 2010 02:42:54 +0200 Subject: Learning CGI - Woes In-Reply-To: <20100804084953.07A5A48A69A@mail.runrev.com> References: <20100804084953.07A5A48A69A@mail.runrev.com> Message-ID: Hi Bob, I could not get it to work with the 4.0 engine either. I did fall back to the 3.5 engine which works as advertised. :-) Hth, Malte From andre at andregarzia.com Tue Aug 10 21:04:19 2010 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 10 Aug 2010 22:04:19 -0300 Subject: [HELP] anyone have a simple handler to add a control to a group programatically? Message-ID: Folks, Trying not to reinvent the wheel here. I am working with some runtime group creations but I like to be able to add controls to an existing group. Checked the docs and did not found anything like that. Did anyone here created such command? Thanks in advance Andre "groups inside groups inside groups inside..." Garzia -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Tue Aug 10 21:05:48 2010 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 10 Aug 2010 22:05:48 -0300 Subject: Learning CGI - Woes In-Reply-To: References: <20100804084953.07A5A48A69A@mail.runrev.com> Message-ID: The last engine to have that behaviour is 3.5. Can't use 4.x as CGI. 3.5 is great, till some time ago I was using 2.9.... :D On Tue, Aug 10, 2010 at 9:42 PM, Malte Pfaff-Brill wrote: > Hi Bob, > > I could not get it to work with the 4.0 engine either. I did fall back to > the 3.5 engine which works as advertised. :-) > > Hth, > > Malte_______________________________________________ > 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 jacque at hyperactivesw.com Tue Aug 10 21:10:09 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Aug 2010 20:10:09 -0500 Subject: [HELP] anyone have a simple handler to add a control to a group programatically? In-Reply-To: References: Message-ID: <4C61F871.9020700@hyperactivesw.com> On 8/10/10 8:04 PM, Andre Garzia wrote: > Folks, > > Trying not to reinvent the wheel here. I am working with some runtime group > creations but I like to be able to add controls to an existing group. > Checked the docs and did not found anything like that. Did anyone here > created such command? > > Thanks in advance > Andre "groups inside groups inside groups inside..." Garzia > Use: create in grp . For example: create btn "newBtn" in group "groupTwo" -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Aug 10 21:13:57 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Aug 2010 20:13:57 -0500 Subject: Learning CGI - Woes In-Reply-To: <81B12FF2-6F2F-4554-BEE0-6A996003F331@earthlink.net> References: <81B12FF2-6F2F-4554-BEE0-6A996003F331@earthlink.net> Message-ID: <4C61F955.3050804@hyperactivesw.com> On 8/10/10 6:28 PM, Bob Cole wrote: > On August 4th there was a lot of chatter SQL queries and logins going across > the network and what a bad idea that is. There was discussion about CGIs and > Jacque's tutorial and other resources that I have now studied. I know I have > followed the steps (many times) but I can't get the Hello World script to work! As mentioned, 3.5 is the last CGI engine that works. This has sort of broken Zygodact too, since one of it's features is CGI compatibility. I did get RR's permission to send the 3.5 Linux CGI engine to a customer to overcome that. If you don't have Rev 3.5, ping me, I think it'll be okay, since you can't really use the Linux CGI engine for development. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andre at andregarzia.com Tue Aug 10 21:47:23 2010 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 10 Aug 2010 22:47:23 -0300 Subject: [HELP] anyone have a simple handler to add a control to a group programatically? In-Reply-To: <4C61F871.9020700@hyperactivesw.com> References: <4C61F871.9020700@hyperactivesw.com> Message-ID: :-O x 100000000 Is it that simple?!!? :-O *GASP* I can code a whole web server in Rev but could not do it! :-D Now, for your amusement, I will tell you what I was doing. I kept a "Stack" (the datastructure not the file format) with all the long ids of the controls in a group. If I needed to add one control to a group. I'd ungroup them, then, assemble a string with all the long ids plus the new control and group them again. I knew it was supposed to be easier than that... Thanks Jacque, you are a life saver, as always! :D On Tue, Aug 10, 2010 at 10:10 PM, J. Landman Gay wrote: > On 8/10/10 8:04 PM, Andre Garzia wrote: > >> Folks, >> >> Trying not to reinvent the wheel here. I am working with some runtime >> group >> creations but I like to be able to add controls to an existing group. >> Checked the docs and did not found anything like that. Did anyone here >> created such command? >> >> Thanks in advance >> Andre "groups inside groups inside groups inside..." Garzia >> >> > Use: create in grp . For example: > create btn "newBtn" in group "groupTwo" > > -- > 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 jacque at hyperactivesw.com Tue Aug 10 23:13:49 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Aug 2010 22:13:49 -0500 Subject: [HELP] anyone have a simple handler to add a control to a group programatically? In-Reply-To: References: <4C61F871.9020700@hyperactivesw.com> Message-ID: <4C62156D.2060307@hyperactivesw.com> On 8/10/10 8:47 PM, Andre Garzia wrote: > :-O x 100000000 > > Is it that simple?!!? :-O > > > *GASP* > > I can code a whole web server in Rev but could not do it! :-D > > Now, for your amusement, I will tell you what I was doing. I kept a "Stack" > (the datastructure not the file format) with all the long ids of the > controls in a group. If I needed to add one control to a group. I'd ungroup > them, then, assemble a string with all the long ids plus the new control and > group them again. > > I knew it was supposed to be easier than that... You got a little confused is all. You're supposed to let the *engine* keep the list, not you. :) But here's what really happened, and you shouldn't blame yourself. I saw your request but there was nothing I could do until I finished my time warp stack a few years from now. Then I went back to the days of MetaCard and told Dr Raney that there would be this crazy Brazillian guy who was going to need to put controls in groups. Raney agreed to add it to the engine, though he did mention that it was a bit of a stretch. Maybe he just wanted to get rid of me. Anyway, fast forward and here we are in a different alternate timeline, but the changeover happened so fast you lagged a bit before you could snap back to us. It's really simple when you know the story. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Aug 10 23:28:53 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Aug 2010 22:28:53 -0500 Subject: the pendingClick In-Reply-To: <28624896531.20100810154014@ahsoftware.net> References: <3585f.9fe6e8e.39931d03@aol.com> <28624896531.20100810154014@ahsoftware.net> Message-ID: <4C6218F5.7080507@hyperactivesw.com> On 8/10/10 5:40 PM, Mark Wieder wrote: > zryip- > > Tuesday, August 10, 2010, 3:36:24 PM, you wrote: > >> Have a look to this old thread: > >> http://www.mail-archive.com/use-revolution at lists.runrev.com/msg110620.html > > Ah... Eric to the rescue once again... > Ken Ray had a good one too, a long time ago. I don't think he'll mind if I quote it: ... my version uses the pendingMessages to cancel the "doClick" > command if the user actually double-clicks: > > on mouseUp > send "doClick" to me in (the doubleClickInterval) milliseconds > end mouseUp > > on mouseDoubleUp > put lineOffset(",doClick,",the pendingMessages) into tLine > if tLine <> 0 then cancel item 1 of line tLine of the pendingMessages > --> doDoubleClickStuff > end mouseDoubleUp > > on doClick > --> doSingleClickStuff > end doClick > > It's a bit shorter, but depends on the pendingMessages, so if you think some > external force may muck with the pendingMessages during the > doubleClickInterval you may wish to go another route. But it's worked for me > for years... > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Aug 10 23:31:21 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Aug 2010 22:31:21 -0500 Subject: Multiple revCursors stacks In-Reply-To: References: Message-ID: <4C621989.8000301@hyperactivesw.com> On 8/10/10 2:52 PM, Hershel Fisch wrote: > Hi, I?m wordering why I have multiple stacks with name ?revCursors? and > multiple stacks ?macRevCursors? I don't know how it happened, but you should only have one of each. If they have different dates, keep the newest one. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Wed Aug 11 00:03:47 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 10 Aug 2010 21:03:47 -0700 Subject: Front scripts vs Behaviors Message-ID: <1A9C21CC-8748-45F9-998D-439C1D777B09@mollysrevenge.com> I'm currently using front scripts to handle common events for different types of controls. For example, I have menuPick, mouseDown, and mouseUp front script handlers that deal with what I want do in those events for option menu buttons. They all pass the event on so the real controls can have their own local logic in addition to the common logic in the front scripts. I guess I'm wondering if it might be better to use behaviors instead of front scripts. The front scripts seem to work just fine but I had to jump through several hoops to prevent them from intercepting controls I didn't want them to handle, for example everything in the rev IDE, and I think some of the occasional hangs I get in Rev might be because of these front scripts. It feels like the behavior approach might be tidier since it keeps the logic closer to the objects themselves. If I do switch to behaviors, I'm not quite sure how to deal with the "local logic" I mentioned earlier. If the behavior handlers pass the event, will it end up going to the instance of the object that initiated the event or will I have to use a different approach for that? Seems like it might be a matter of programming style as much as anything else but I'm wondering what guidance there might be out there from people who've been using Rev for a lot longer than I have. Thanks, Pete Haworth From mwieder at ahsoftware.net Wed Aug 11 01:10:09 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 10 Aug 2010 22:10:09 -0700 Subject: Front scripts vs Behaviors In-Reply-To: <1A9C21CC-8748-45F9-998D-439C1D777B09@mollysrevenge.com> References: <1A9C21CC-8748-45F9-998D-439C1D777B09@mollysrevenge.com> Message-ID: <136648291062.20100810221009@ahsoftware.net> Peter- Check out Richard Gaskin's writeup on the message path: http://www.fourthworld.com/embassy/articles/revolution_message_path.html Behavior objects are not at all like frontscripts, but are more like local backscripts. That said, it sounds from your description that behaviors fit your purposes more than the use of frontscripts does. You wouldn't normally pass a message on after a behavior button has handled it (or not) because it would be at the end of the message path. Behavior objects also allow you to override a default behavior when desired. -- -Mark Wieder mwieder at ahsoftware.net From shaosean at wehostmacs.com Wed Aug 11 03:00:47 2010 From: shaosean at wehostmacs.com (Shao Sean) Date: Wed, 11 Aug 2010 03:00:47 -0400 Subject: teaser Message-ID: still low standards but here are a couple little teaser videos of stuff i have been working on.. a 5 minute video showing off how to quickly create a basic ftp client with the FTP control.. http://www.screentoaster.com/watch/stUElQR0JLRFtXQV1UX19cVlVX/ssftpcontrol and a shorter (2 minute) video of using the SMTP control.. http://www.screentoaster.com/watch/stUElQR0JLRFtXQV9aWVlZUlRc/sssmtpcontrol the controls are 100% revTalk and are hidden in compiled applications.. From runrev260805 at m-r-d.de Wed Aug 11 04:32:15 2010 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Wed, 11 Aug 2010 10:32:15 +0200 Subject: teaser In-Reply-To: References: Message-ID: That looks promising! Will the SMTP control support attachments? When can we test them? Regards, Matthias Am 11.08.2010 um 09:00 schrieb Shao Sean: > still low standards but here are a couple little teaser videos of stuff i have been working on.. > > > a 5 minute video showing off how to quickly create a basic ftp client with the FTP control.. > http://www.screentoaster.com/watch/stUElQR0JLRFtXQV1UX19cVlVX/ssftpcontrol > > > and a shorter (2 minute) video of using the SMTP control.. > http://www.screentoaster.com/watch/stUElQR0JLRFtXQV9aWVlZUlRc/sssmtpcontrol > > > > the controls are 100% revTalk and are hidden in compiled applications.. > _______________________________________________ > 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 Wed Aug 11 09:28:28 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 11 Aug 2010 10:28:28 -0300 Subject: [OT] O'Reilly eBook deal of the day (top 10 books for USD 9.99) Message-ID: Folks, O'Reilly is promoting a deal that will last only for today. They are offering their top 10 ebooks for USD 9.99. Thought you guys might like it. http://oreilly.com/store/ddbst.html Cheers andre -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Wed Aug 11 09:38:15 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 11 Aug 2010 10:38:15 -0300 Subject: teaser In-Reply-To: References: Message-ID: Shao Sean, You Rock!!! These are such time savers that I think I could put them into use right now. Congratulations on very elegant design (loved the callbacks) and overall developer friendliness. I look forward for the time when these will be available. If you have the inclination, please share with us how did you add a control to the toolbar as well, I liked that. Cheers andre On Wed, Aug 11, 2010 at 4:00 AM, Shao Sean wrote: > still low standards but here are a couple little teaser videos of stuff i > have been working on.. > > > a 5 minute video showing off how to quickly create a basic ftp client with > the FTP control.. > http://www.screentoaster.com/watch/stUElQR0JLRFtXQV1UX19cVlVX/ssftpcontrol > > > and a shorter (2 minute) video of using the SMTP control.. > http://www.screentoaster.com/watch/stUElQR0JLRFtXQV9aWVlZUlRc/sssmtpcontrol > > > > the controls are 100% revTalk and are hidden in compiled applications.. > > _______________________________________________ > 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 Wed Aug 11 09:42:28 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 11 Aug 2010 10:42:28 -0300 Subject: Front scripts vs Behaviors In-Reply-To: <136648291062.20100810221009@ahsoftware.net> References: <1A9C21CC-8748-45F9-998D-439C1D777B09@mollysrevenge.com> <136648291062.20100810221009@ahsoftware.net> Message-ID: Dar Scott had a quite nice stack called "message path primer" which was great! It was my introduction to rev message path and till today I still remember it fondly. Wonder if RevOnline still has it... Just checked, it does not, but I have his website handy: http://pages.swcp.com/dsc/revstacks.html On Wed, Aug 11, 2010 at 2:10 AM, Mark Wieder wrote: > Peter- > > Check out Richard Gaskin's writeup on the message path: > > http://www.fourthworld.com/embassy/articles/revolution_message_path.html > > Behavior objects are not at all like frontscripts, but are more like > local backscripts. That said, it sounds from your description that > behaviors fit your purposes more than the use of frontscripts does. > > You wouldn't normally pass a message on after a behavior button has > handled it (or not) because it would be at the end of the message > path. Behavior objects also allow you to override a default behavior > when desired. > > -- > -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 > -- http://www.andregarzia.com All We Do Is Code. From coiin at verizon.net Wed Aug 11 10:58:24 2010 From: coiin at verizon.net (Colin Holgate) Date: Wed, 11 Aug 2010 10:58:24 -0400 Subject: the pendingClick In-Reply-To: <4C6218F5.7080507@hyperactivesw.com> References: <3585f.9fe6e8e.39931d03@aol.com> <28624896531.20100810154014@ahsoftware.net> <4C6218F5.7080507@hyperactivesw.com> Message-ID: I was going to post something on those lines too (the one where you set a variable to know whether to not do the mouseup after all), but there's a big problem. The rules for mousedoubleup are that it is triggered when the mouse is released after the double click. That means you could click, click again before the doubleclickinterval, but release after the doubleclickinterval. You intended to do a double click, but the pending message you had set for the mouseup would have already triggered before the mousedoubleup event happens. From ambassador at fourthworld.com Wed Aug 11 11:13:00 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 11 Aug 2010 08:13:00 -0700 Subject: the pendingClick Message-ID: <4C62BDFC.40906@fourthworld.com> Controls that take different behaviors based on whether a single- or double-click has been received often limit the single-click behavior to selection, but reserve any action for the double-click. For example, you may have an Inspector that updates when an object is single-clicked, but double-clicking the object may perform an action like opening a dialog. Or in the Mac Finder, single-clicking an icon selects it, but double-clicking opens it. Or a master-detail view in which single-clicking an item in a list updates the detail display, and double-clicking may trigger a default button in that layout. Given the dexterity required to distinguish between single- and double-clicks, and that some OSes let you alternately use single-clicks for double-click actions which creates a very different set of user habits, it may be simpler for the user to put those two different actions in two different controls, or have some alternate means of distinguishing the action to be taken in response to an interaction. Of course, in all fairness I have no idea about the UI in which this is proposed, so feel free to ignore what I've written. But FWIW, offhand I can't think of a control I've encountered in any app in which both messages are used for actions, rather than the single-click being limited to selection and updating. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From gregory.lypny at videotron.ca Wed Aug 11 11:28:56 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 11 Aug 2010 11:28:56 -0400 Subject: Functions for On-Rev In-Reply-To: <20100811151249.AB3DF28834C@mail.runrev.com> References: <20100811151249.AB3DF28834C@mail.runrev.com> Message-ID: <1FC00B9F-30C8-4213-9D20-94C3EC6EBE10@videotron.ca> Thanks Alex and Pierre, Good tips! Gregory From bobs at twft.com Wed Aug 11 11:46:49 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 11 Aug 2010 08:46:49 -0700 Subject: [HELP] anyone have a simple handler to add a control to a group programatically? In-Reply-To: <4C62156D.2060307@hyperactivesw.com> References: <4C61F871.9020700@hyperactivesw.com> <4C62156D.2060307@hyperactivesw.com> Message-ID: So THAT'S why I spilled my coffee!!! Bob On Aug 10, 2010, at 8:13 PM, J. Landman Gay wrote: > You got a little confused is all. You're supposed to let the *engine* keep the list, not you. :) > > But here's what really happened, and you shouldn't blame yourself. I saw your request but there was nothing I could do until I finished my time warp stack a few years from now. Then I went back to the days of MetaCard and told Dr Raney that there would be this crazy Brazillian guy who was going to need to put controls in groups. Raney agreed to add it to the engine, though he did mention that it was a bit of a stretch. Maybe he just wanted to get rid of me. Anyway, fast forward and here we are in a different alternate timeline, but the changeover happened so fast you lagged a bit before you could snap back to us. > > It's really simple when you know the story. From andre at andregarzia.com Wed Aug 11 11:52:32 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 11 Aug 2010 12:52:32 -0300 Subject: [HELP] anyone have a simple handler to add a control to a group programatically? In-Reply-To: <4C62156D.2060307@hyperactivesw.com> References: <4C61F871.9020700@hyperactivesw.com> <4C62156D.2060307@hyperactivesw.com> Message-ID: You got a little confused is all. You're supposed to let the *engine* keep the list, not you. :) > > But here's what really happened, and you shouldn't blame yourself. I saw > your request but there was nothing I could do until I finished my time warp > stack a few years from now. Then I went back to the days of MetaCard and > told Dr Raney that there would be this crazy Brazillian guy who was going to > need to put controls in groups. Raney agreed to add it to the engine, though > he did mention that it was a bit of a stretch. Maybe he just wanted to get > rid of me. Anyway, fast forward and here we are in a different alternate > timeline, but the changeover happened so fast you lagged a bit before you > could snap back to us. > > It's really simple when you know the story. Jacque, I think that time travel external of yours would make a nice RevSelect add-on. I want to get it in my 2008 MegaBundle please. :-D > > > -- > 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 hershrev at syp2u4c.com Wed Aug 11 12:07:24 2010 From: hershrev at syp2u4c.com (Hershel Fisch) Date: Wed, 11 Aug 2010 12:07:24 -0400 Subject: Multiple revCursors stacks In-Reply-To: <4C621989.8000301@hyperactivesw.com> Message-ID: Hi and thanks, sorry I meant to say subStacks for a main stack. Also how can I check the dates? Thanks, Hershel On 8/10/10 11:31 PM, "J. Landman Gay" wrote: > On 8/10/10 2:52 PM, Hershel Fisch wrote: >> Hi, I?m wordering why I have multiple stacks with name ?revCursors? and >> multiple stacks ?macRevCursors? > > I don't know how it happened, but you should only have one of each. If > they have different dates, keep the newest one. From pete at mollysrevenge.com Wed Aug 11 12:42:46 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 11 Aug 2010 09:42:46 -0700 Subject: revdb_connectionerr In-Reply-To: <20100811151249.D291C28834F@mail.runrev.com> References: <20100811151249.D291C28834F@mail.runrev.com> Message-ID: <6509052B-91C1-444F-8798-1BA36C1BB99A@mollysrevenge.com> Thanks for the replies and clarification. I do normally check the result of each db call but came across a circumstance where revdb_connectionerr would have been useful. I like the idea of using try/catch for all db operations and will implement that but I guess it relies on knowing what all the possible error messages can be. Is that dependant on which sql implementation I'm using (I use sqlite). However, that gives rise to another question. I'm using try/catch in other places to execute rev commands that are built programmatically. All works fine but the error messages that are caught are full of sequences of three numbers separated by commas as well as the original statement and an English error message (sorry don't have any examples immediately to hand). Does anyone know what those numbers indicate? Pete Haworth On Aug 11, 2010, at 8:12 AM, use-revolution-request at lists.runrev.com wrote: > Message: 9 > Date: Tue, 10 Aug 2010 13:17:32 -0700 > From: Bob Sneidar > Subject: Re: revdb_connectionerr > To: How to use Revolution > Message-ID: <13879E4D-8EAE-45D6-95AC-25601C3DF4E3 at twft.com> > Content-Type: text/plain; charset=us-ascii > > Agreed. In fact, I put all database operations inside a try/catch > structure so as not to assault the end user with error dialogs that > they don't know what to do with. If you are making a TON of calls in > your app, you may want to consider writing a special database error > function which knows how to handle all the errors you want in a way > that the end user (and your app) can work with. > > For instance, a "Database temporarily unavailable. Try again?" > dialog that gives the user a chance to call IT and have them get the > DB back online without dumping your app mid transaction. > > Bob From mwieder at ahsoftware.net Wed Aug 11 12:50:38 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 11 Aug 2010 09:50:38 -0700 Subject: Classic CGI on Win In-Reply-To: <87597634031.20100810080552@ahsoftware.net> References: <20100802170009.0DC4A2881AC@mail.runrev.com> <4A8D3613-3908-4FEE-BA70-BE9A69BF9F39@derbrill.de> <87597634031.20100810080552@ahsoftware.net> Message-ID: <144690320671.20100811095038@ahsoftware.net> Malte- I found the writeup I posted to this list on 18 April 2006 archived at gmane. I'm posting it in its entirety. In 2006 I was still using a Win2k server, so some of this is probably different now. I still don't recommend doing this, but this should at least give you an idea of what you'd be in for if you did decide to go this route. ----------------------------------------- I don't recommend this, but if you *really* have to get Revolution working as a cgi service on a Windows server, here's how. Note that you have to start with having IIS already installed. And you have to be logged in as an administrator. And that you're probably much better off installing Apache and working with that. It's more secure and more stable and open source and easier to configure and work with. http://www.apache.org/ But if you gotta you gotta... Basically what you're going to do here is create a directory to hold the executable and scripts, then configure IIS to know about .cgi files and associate them with the Revolution executable. Out of the box, IIS is by design fairly dumb. It knows how to run ASP code embedded in web pages, but for anything else you have to go through a lot of contortions. Start by pointing a web browser at: http://my.execpc.com/~keithp/bdlognt.htm Now click on the Section labeled "IIS Server Setup". Don't bother installing perl unless you're interested in running perl scripts. A few paragraphs down, however, is that part about creating a cgi-bin directory *outside* of the inetpub directory. Start from there, following all the directions verbatim (you don't have to call the directory "perl-scripts", though). If you're having trouble finding the Internet Service Manager it's either on the Start Menu in Administrative Tools or in a control panel named Administrative Tools or else you don't have IIS installed. When you reach the part labeled "Setting Up Scripts", stop. Instead of browsing for the perl interpreter you'll want to find the Revolution executable. I placed a copy in the cgi-bin folder just to make things easy on myself, but if you have Revolution installed you can just browse to the file in your Revolution folder. Add the parameter string (without quotes) after the executable, so you should end up with: C:\cgi-bin\revolution.exe %s Create the canonical "hello.cgi" test script as a text file and copy it to the same cgi-bin directory you dumped the executable in. Note that Windows will ignore the #!revolution line at the beginning of the file, so it doesn't matter what it says, or even if it exists at all. Launch a DOS command window from the start menu. Assuming that you've called your cgi-bin directory "cgi-bin", type cd \cgi-bin revolution hello.cgi >test.txt Type dir. You should see a 39-byte file named "test.txt". Type test.txt You should see "Hello World!". This verifies that your script is correct. Now you're configured and ready to go. Close the ISM if you haven't already, launch Services from the Administrative Tools, and launch the World Wide Web Publishing Service down at the bottom. If it isn't started already then right-click on it and select "Start" from the contextual menu. Once it's up and running go to a client computer, launch a web browser, and point it at the hello.cgi file. In my case, my Win2k server is at 192.168.0.253, so I go to: http://192.168.0.253/cgi-bin/hello.cgi You should now see the text "Hello World!" on your browser. Whoopee. You could've done all that by installing Apache, but you'd miss the headaches, and what fun would that be? -- -Mark Wieder mwieder at ahsoftware.net From psahores at free.fr Wed Aug 11 12:53:15 2010 From: psahores at free.fr (Pierre Sahores) Date: Wed, 11 Aug 2010 18:53:15 +0200 Subject: revdb_connectionerr In-Reply-To: <6509052B-91C1-444F-8798-1BA36C1BB99A@mollysrevenge.com> References: <20100811151249.D291C28834F@mail.runrev.com> <6509052B-91C1-444F-8798-1BA36C1BB99A@mollysrevenge.com> Message-ID: <0A894D20-2D22-42B3-A5D6-62D3B39D684D@free.fr> Hi Pete, In checking the result of a db connection, each time the POST or GET command did'nt return the expected reply from the cgi or irev script, you will get directly the SQL backend debug comment in the detailed level mode as set in your db server prefs. Always very usefull, at least in using PostgreSQL. HTH, Pierre Le 11 ao?t 2010 ? 18:42, Peter Haworth a ?crit : > Thanks for the replies and clarification. I do normally check the result of each db call but came across a circumstance where revdb_connectionerr would have been useful. > > I like the idea of using try/catch for all db operations and will implement that but I guess it relies on knowing what all the possible error messages can be. Is that dependant on which sql implementation I'm using (I use sqlite). > > However, that gives rise to another question. I'm using try/catch in other places to execute rev commands that are built programmatically. All works fine but the error messages that are caught are full of sequences of three numbers separated by commas as well as the original statement and an English error message (sorry don't have any examples immediately to hand). Does anyone know what those numbers indicate? > > Pete Haworth > > > > > > > > > On Aug 11, 2010, at 8:12 AM, use-revolution-request at lists.runrev.com wrote: > >> Message: 9 >> Date: Tue, 10 Aug 2010 13:17:32 -0700 >> From: Bob Sneidar >> Subject: Re: revdb_connectionerr >> To: How to use Revolution >> Message-ID: <13879E4D-8EAE-45D6-95AC-25601C3DF4E3 at twft.com> >> Content-Type: text/plain; charset=us-ascii >> >> Agreed. In fact, I put all database operations inside a try/catch structure so as not to assault the end user with error dialogs that they don't know what to do with. If you are making a TON of calls in your app, you may want to consider writing a special database error function which knows how to handle all the errors you want in a way that the end user (and your app) can work with. >> >> For instance, a "Database temporarily unavailable. Try again?" dialog that gives the user a chance to call IT and have them get the DB back online without dumping your app mid transaction. >> >> Bob > > _______________________________________________ > 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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From pete at mollysrevenge.com Wed Aug 11 13:01:05 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 11 Aug 2010 10:01:05 -0700 Subject: Front scripts vs Behaviors In-Reply-To: <20100811151249.D291C28834F@mail.runrev.com> References: <20100811151249.D291C28834F@mail.runrev.com> Message-ID: <054458C6-32EC-4195-B27B-19263CD60905@mollysrevenge.com> Thanks Mark. I've read Richard's write up before, very useful. Maybe if I explain a bit more what I'm trying to achieve. I've written a development framework for my apps which serves as the interface between controls on cards and my sqlite database. Groups on the card are tied to a db table and controls in the group are tied to columns in the table related to the group. Every time the user modifies the content of a control, my frontscripts handle the updating of the database in handlers such as menuPick, closeField, etc. Sometimes, a specific control may need some "local" logic to handle things it needs to do other than just updating the db (changing the contents of another field, recalculate totals, stuff like that). The front script handlers pass their respective messages on so I can write that "local" logic as a handler for that specific instance of that type of control. If I switch over to behaviors (and I'm inclined to do that) I need a way to handle this "local" logic since, as you say, the messages wont; ever make it to the actual control, but I still need the database update to occur in the behavior. I'm thinking perhaps if I have handlers in the controls themselves named something like "localMenuPick" or something similar then have the behavior menuPick handler send/dispatch a localMenuPick messge to the control, that might work? Pete On Aug 11, 2010, at 8:12 AM, use-revolution-request at lists.runrev.com wrote: > Message: 27 > Date: Tue, 10 Aug 2010 22:10:09 -0700 > From: Mark Wieder > Subject: Re: Front scripts vs Behaviors > To: How to use Revolution > Message-ID: <136648291062.20100810221009 at ahsoftware.net> > Content-Type: text/plain; charset=us-ascii > > Peter- > > Check out Richard Gaskin's writeup on the message path: > > http://www.fourthworld.com/embassy/articles/revolution_message_path.html > > Behavior objects are not at all like frontscripts, but are more like > local backscripts. That said, it sounds from your description that > behaviors fit your purposes more than the use of frontscripts does. > > You wouldn't normally pass a message on after a behavior button has > handled it (or not) because it would be at the end of the message > path. Behavior objects also allow you to override a default behavior > when desired. > > -- > -Mark Wieder > mwieder at ahsoftware.net From pete at mollysrevenge.com Wed Aug 11 13:09:34 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 11 Aug 2010 10:09:34 -0700 Subject: [HELP] anyone have a simple handler to add a control to a group programatically? In-Reply-To: <20100811151249.D291C28834F@mail.runrev.com> References: <20100811151249.D291C28834F@mail.runrev.com> Message-ID: <1C02497F-F952-4B6D-B317-ABD8F281D659@mollysrevenge.com> I would love to see the ability to drag/drop controls into or out of a group in the Application Browser window. Sometimes ungrouping, select/ deselect control, group can be really error prone if nested groups/ hidden fields are involved. Pete On Aug 11, 2010, at 8:12 AM, use-revolution-request at lists.runrev.com wrote: > Message: 20 > Date: Tue, 10 Aug 2010 20:10:09 -0500 > From: "J. Landman Gay" > Subject: Re: [HELP] anyone have a simple handler to add a control to a > group programatically? > To: How to use Revolution > Message-ID: <4C61F871.9020700 at hyperactivesw.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 8/10/10 8:04 PM, Andre Garzia wrote: >> Folks, >> >> Trying not to reinvent the wheel here. I am working with some >> runtime group >> creations but I like to be able to add controls to an existing group. >> Checked the docs and did not found anything like that. Did anyone >> here >> created such command? >> >> Thanks in advance >> Andre "groups inside groups inside groups inside..." Garzia >> > > Use: create in grp . For example: > create btn "newBtn" in group "groupTwo" > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From andre at andregarzia.com Wed Aug 11 13:16:27 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 11 Aug 2010 14:16:27 -0300 Subject: [HELP] anyone have a simple handler to add a control to a group programatically? In-Reply-To: <1C02497F-F952-4B6D-B317-ABD8F281D659@mollysrevenge.com> References: <20100811151249.D291C28834F@mail.runrev.com> <1C02497F-F952-4B6D-B317-ABD8F281D659@mollysrevenge.com> Message-ID: Pete, That is a really useful feature request. Bugzilla it and we'll vote! Andre On Wed, Aug 11, 2010 at 2:09 PM, Peter Haworth wrote: > I would love to see the ability to drag/drop controls into or out of a > group in the Application Browser window. Sometimes ungrouping, > select/deselect control, group can be really error prone if nested > groups/hidden fields are involved. > > Pete > > > On Aug 11, 2010, at 8:12 AM, use-revolution-request at lists.runrev.comwrote: > > Message: 20 >> Date: Tue, 10 Aug 2010 20:10:09 -0500 >> From: "J. Landman Gay" >> Subject: Re: [HELP] anyone have a simple handler to add a control to a >> group programatically? >> To: How to use Revolution >> Message-ID: <4C61F871.9020700 at hyperactivesw.com> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> >> On 8/10/10 8:04 PM, Andre Garzia wrote: >> >>> Folks, >>> >>> Trying not to reinvent the wheel here. I am working with some runtime >>> group >>> creations but I like to be able to add controls to an existing group. >>> Checked the docs and did not found anything like that. Did anyone here >>> created such command? >>> >>> Thanks in advance >>> Andre "groups inside groups inside groups inside..." Garzia >>> >>> >> Use: create in grp . For example: >> create btn "newBtn" in group "groupTwo" >> >> -- >> 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 userev at canelasoftware.com Wed Aug 11 13:34:58 2010 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 11 Aug 2010 10:34:58 -0700 Subject: Microsoft Win XP and read only folders Message-ID: <515DC9C2-35DB-46A8-AC13-0585891AE894@canelasoftware.com> Today we had an issue with XP and its intentional desire to set folders in specialPath(26) to read only. If you ever find that your update tech or prefs logic fail when it shouldn't, you may have fallen victim to permissions being set to read only. Keep in mind that MS does this on purpose in XP under certain circumstances. The link below explains the issue further. It also has a workaround to clear this up. A restart of the OS is required for it to take effect. I hope this helps you solve this issue for your clients before it becomes a bigger problem. We are considering adding code to our products that set this registry key up automatically to prevent this from happening again. http://support.microsoft.com/kb/256614 Best regards, Mark Talluto http://www.canelasoftware.com From bobs at twft.com Wed Aug 11 13:42:03 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 11 Aug 2010 10:42:03 -0700 Subject: Microsoft Win XP and read only folders In-Reply-To: <515DC9C2-35DB-46A8-AC13-0585891AE894@canelasoftware.com> References: <515DC9C2-35DB-46A8-AC13-0585891AE894@canelasoftware.com> Message-ID: <6EC21829-E458-4F2A-AC2B-E1DC237DA8E6@twft.com> The thing that scares me about your approach, is the (some software will not operate correctly with the system attribute" disclaimer. I would be very reticent to change any installations default system behavior if it might cause problems for other software down the road. Obviously, this is a generalization, and in your case may prove to be benign. Bob On Aug 11, 2010, at 10:34 AM, Mark Talluto wrote: > Today we had an issue with XP and its intentional desire to set folders in specialPath(26) to read only. If you ever find that your update tech or prefs logic fail when it shouldn't, you may have fallen victim to permissions being set to read only. Keep in mind that MS does this on purpose in XP under certain circumstances. The link below explains the issue further. It also has a workaround to clear this up. A restart of the OS is required for it to take effect. > > I hope this helps you solve this issue for your clients before it becomes a bigger problem. We are considering adding code to our products that set this registry key up automatically to prevent this from happening again. > > http://support.microsoft.com/kb/256614 > > > Best regards, > > Mark Talluto > 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 mwieder at ahsoftware.net Wed Aug 11 14:34:31 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 11 Aug 2010 11:34:31 -0700 Subject: [HELP] anyone have a simple handler to add a control to a group programatically? In-Reply-To: References: <20100811151249.D291C28834F@mail.runrev.com> <1C02497F-F952-4B6D-B317-ABD8F281D659@mollysrevenge.com> Message-ID: <152696553593.20100811113431@ahsoftware.net> Andre, Pete- Wednesday, August 11, 2010, 10:16:27 AM, you wrote: > Pete, > That is a really useful feature request. Bugzilla it and we'll vote! tRev does this already. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Wed Aug 11 14:38:57 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 11 Aug 2010 13:38:57 -0500 Subject: Multiple revCursors stacks In-Reply-To: References: Message-ID: <4C62EE41.6090108@hyperactivesw.com> On 8/11/10 11:07 AM, Hershel Fisch wrote: > Hi and thanks, sorry I meant to say subStacks for a main stack. > Also how can I check the dates? I see, it was an inclusion in a standalone. In that case you'll need to delete the duplicate stacks manually using the Application Browser. Right-click on the stack you want to delete in the app browser's list to do that. You can't check the dates on substacks, but if you've been building multiple times in the same version of Rev then they're identical. I'm not sure why Rev would have included the stacks twice, it's supposed to check for that. Did you manually copy the cursor stacks as substacks? If you aren't sure whether the substacks are identical then just delete them all and let the standalone builder include them again on the next build. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Aug 11 14:40:30 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 11 Aug 2010 13:40:30 -0500 Subject: [HELP] anyone have a simple handler to add a control to a group programatically? In-Reply-To: References: <4C61F871.9020700@hyperactivesw.com> <4C62156D.2060307@hyperactivesw.com> Message-ID: <4C62EE9E.6070101@hyperactivesw.com> On 8/11/10 10:52 AM, Andre Garzia wrote: > > I think that time travel external of yours would make a nice RevSelect > add-on. I want to get it in my 2008 MegaBundle please. How do you know you didn't? :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Wed Aug 11 14:43:23 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 11 Aug 2010 11:43:23 -0700 Subject: Front scripts vs Behaviors In-Reply-To: <054458C6-32EC-4195-B27B-19263CD60905@mollysrevenge.com> References: <20100811151249.D291C28834F@mail.runrev.com> <054458C6-32EC-4195-B27B-19263CD60905@mollysrevenge.com> Message-ID: <95697085765.20100811114323@ahsoftware.net> Peter- Wednesday, August 11, 2010, 10:01:05 AM, you wrote: > interface between controls on cards and my sqlite database. Groups on > the card are tied to a db table and controls in the group are tied to > columns in the table related to the group. Cool. I've thought of doing something like that. > If I switch over to behaviors (and I'm inclined to do that) I need a > way to handle this "local" logic since, as you say, the messages wont; > ever make it to the actual control, but I still need the database No, I did *not* say that (or at least didn't mean that). Messages won't get passed farther down the path (card, stack, backscripts...) *unless* you do something yourself. If you have a handler (e.g., mouseUp) in the behavior button and not in the target button you can use the dispatch message in the behavior button to pass a message to the target. behavior: on mouseUp doSomething dispatch doMouseUp to me end mouseUp target1: on doMouseUp -- change contents of another field end doMouseUp target2: on doMouseUp -- recalculate totals end doMouseUp target3: on doMouseUp -- stuff like that end doMouseUp -- -Mark Wieder mwieder at ahsoftware.net From shaosean at wehostmacs.com Wed Aug 11 14:51:10 2010 From: shaosean at wehostmacs.com (Shao Sean) Date: Wed, 11 Aug 2010 14:51:10 -0400 Subject: teaser Message-ID: <7E6DB48C-F749-4B7B-9F53-C30BCA433287@wehostmacs.com> > Will the SMTP control support attachments? If you need this now, look for our old MIME Encoding library.. > When can we test them? We feel that the quality of them is too low to publicly test.. > Congratulations on very elegant design (loved the callbacks) and > overall > developer friendliness thank you.. it was what we were going for.. > please share with us how did you add a control > to the toolbar as well, I liked that. copy group ;-) From shaosean at wehostmacs.com Wed Aug 11 14:58:52 2010 From: shaosean at wehostmacs.com (Shao Sean) Date: Wed, 11 Aug 2010 14:58:52 -0400 Subject: teaser Message-ID: <9AAC053E-2165-4DDD-9D89-874BCB177117@wehostmacs.com> we were asked off-list but we figured an on-list reply would be beneficial to anyone else wondering.. the ftp control does not use libURL but a completely brand new code base that is non-blocking and allows for multiple connections (including multiple downloads).. keep in mind that rev is single threaded so too much at once will start to affect the performance of your application.. From bobs at twft.com Wed Aug 11 15:28:44 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 11 Aug 2010 12:28:44 -0700 Subject: [HELP] anyone have a simple handler to add a control to a group programatically? In-Reply-To: <4C62EE9E.6070101@hyperactivesw.com> References: <4C61F871.9020700@hyperactivesw.com> <4C62156D.2060307@hyperactivesw.com> <4C62EE9E.6070101@hyperactivesw.com> Message-ID: Look I keep spilling my coffee into these temporal rifts that time travel external opens up next to my desk. Do you have any idea how hot coffee coming through a temporal rift could alter time for all of us? And why MY desk?? Bob On Aug 11, 2010, at 11:40 AM, J. Landman Gay wrote: > On 8/11/10 10:52 AM, Andre Garzia wrote: >> >> I think that time travel external of yours would make a nice RevSelect >> add-on. I want to get it in my 2008 MegaBundle please. > > How do you know you didn't? > > :) > > -- > 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 tm1274 at gmail.com Wed Aug 11 15:45:24 2010 From: tm1274 at gmail.com (Ted Mills) Date: Wed, 11 Aug 2010 15:45:24 -0400 Subject: Find or Search Function Message-ID: Does anyone know of a tutorial showing how to create a search function or a find function that can be used to search all cards in a stack for a certain word that may be in all fields and then going to that card as well as have next and previous functionality to find each instance of the search? I have been looking through all documentation and the web and can only find the find command in the revolution dictionary but nothing real explanation. From pmbrig at gmail.com Wed Aug 11 15:53:15 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Wed, 11 Aug 2010 15:53:15 -0400 Subject: [OT] Moving forward In-Reply-To: <5DAA8207FDCA4596A75C025DB86453A5@BillPC> References: <5DAA8207FDCA4596A75C025DB86453A5@BillPC> Message-ID: While we're quoting nuns... The only way I know what I really believe is by keeping watch over what I do. -- Sister Helen Prejean -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Aug 10, 2010, at 9:01 AM, William Roger Moseid wrote: > Bravo, Jerry! > > Jerry Daniels wrote: > (The following quote has helped me through the ups and downs of > business and life over the years. Thought I'd share it. > > "If you are kind, people may accuse you of selfish, ulterior > motives; be kind anyway. If you are successful, you will win some > false friends and some true enemies; succeed anyway. If you are > honest and frank, people may cheat you; be honest and frank anyway. > What you spend years building, someone could destroy overnight; > build anyway." > > - Mother Teresa) > > I belive Mother Teresa lived what she quoted: > "Love your neighbor as you love yourself" > > Best, > > William > > > > > __________ Information from ESET Smart Security, version of virus > signature database 5354 (20100810) __________ > > The message was checked by ESET Smart Security. > > http://www.eset.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 DunbarX at aol.com Wed Aug 11 15:59:40 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 11 Aug 2010 15:59:40 EDT Subject: Find or Search Function Message-ID: There always seems to be a better way, but you can always: on mouseUp ask "Find?" if it <> "" then put it into tFind repeat with y = 1 to the number of cds repeat with u = 1 to the number of flds of cd y if tFind is in fld u of cd y then put "fld id" && the id of fld u of cd y && "of" && "Card id" && the id of cd y & return after temp end repeat end repeat answer temp end mouseUp From coiin at verizon.net Wed Aug 11 16:11:00 2010 From: coiin at verizon.net (Colin Holgate) Date: Wed, 11 Aug 2010 16:11:00 -0400 Subject: [OT] Moving forward In-Reply-To: References: <5DAA8207FDCA4596A75C025DB86453A5@BillPC> Message-ID: <5F24D06D-8972-438B-BF1E-872B92DA6026@verizon.net> On Aug 11, 2010, at 3:53 PM, Peter Brigham MD wrote: > The only way I know what I really believe is by keeping watch over what I do. -- Sister Helen Prejean I met her once. She seemed nice. It was in connection with a HyperCard based version of Dead Man Walking. From hershrev at syp2u4c.com Wed Aug 11 16:12:43 2010 From: hershrev at syp2u4c.com (Hershel Fisch) Date: Wed, 11 Aug 2010 16:12:43 -0400 Subject: Multiple revCursors stacks In-Reply-To: <4C621989.8000301@hyperactivesw.com> Message-ID: Hi and thanks, Sorry didn't express myself properly, so I'll try to elaborate a bit, When I open RunRev everything sounds fine, I then open my App. A message comes up saying "A stack "revMacCursors" is already in memory. The Revolution UI does not distinguish stacks which have identical names,so editing these stack files while both are in memory could result in data loss." with an "ok" btn. I hit "ok" the app. Opens up, then I go to the application browser I see multiple substacks of "revCursors" and multi mainStacks of "revMacCursors". Now, which one do I delete, Since there is no date on them? Thanks in advanced, Hershel On 8/10/10 11:31 PM, "J. Landman Gay" wrote: > On 8/10/10 2:52 PM, Hershel Fisch wrote: >> Hi, I?m wordering why I have multiple stacks with name ?revCursors? and >> multiple stacks ?macRevCursors? > > I don't know how it happened, but you should only have one of each. If > they have different dates, keep the newest one. From coiin at verizon.net Wed Aug 11 16:15:11 2010 From: coiin at verizon.net (Colin Holgate) Date: Wed, 11 Aug 2010 16:15:11 -0400 Subject: Find or Search Function In-Reply-To: References: Message-ID: <2C0A3E79-FF49-49A2-8229-5743EFDD4C7B@verizon.net> In HyperCard you could speed up that sort of thing by saying: unmark all cards mark cards by finding "whatever" repeat with a = 1 to the number of marked cards go marked card a --then run around the fields if you need to end repeat That may well work the same in Rev, and might make things faster. Perhaps throw in a lock messages and lock screen if you're just collecting a list of results. From pmbrig at gmail.com Wed Aug 11 16:17:58 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Wed, 11 Aug 2010 16:17:58 -0400 Subject: [HELP] anyone have a simple handler to add a control to a group programatically? In-Reply-To: <4C62156D.2060307@hyperactivesw.com> References: <4C61F871.9020700@hyperactivesw.com> <4C62156D.2060307@hyperactivesw.com> Message-ID: <47C03A72-17AA-4BA1-8517-82F35C32F33F@gmail.com> On Aug 10, 2010, at 11:13 PM, J. Landman Gay wrote: > On 8/10/10 8:47 PM, Andre Garzia wrote: >> :-O x 100000000 >> >> Is it that simple?!!? :-O >> >> >> *GASP* >> >> I can code a whole web server in Rev but could not do it! :-D >> >> Now, for your amusement, I will tell you what I was doing. I kept a >> "Stack" >> (the datastructure not the file format) with all the long ids of the >> controls in a group. If I needed to add one control to a group. I'd >> ungroup >> them, then, assemble a string with all the long ids plus the new >> control and >> group them again. >> >> I knew it was supposed to be easier than that... > > You got a little confused is all. You're supposed to let the > *engine* keep the list, not you. :) > > But here's what really happened, and you shouldn't blame yourself. I > saw your request but there was nothing I could do until I finished > my time warp stack a few years from now. Then I went back to the > days of MetaCard and told Dr Raney that there would be this crazy > Brazillian guy who was going to need to put controls in groups. > Raney agreed to add it to the engine, though he did mention that it > was a bit of a stretch. Maybe he just wanted to get rid of me. > Anyway, fast forward and here we are in a different alternate > timeline, but the changeover happened so fast you lagged a bit > before you could snap back to us. > > It's really simple when you know the story. see: http://xkcd.com/338/ -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pmbrig at gmail.com Wed Aug 11 16:32:32 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Wed, 11 Aug 2010 16:32:32 -0400 Subject: [HELP] anyone have a simple handler to add a control to a group programatically? In-Reply-To: <152696553593.20100811113431@ahsoftware.net> References: <20100811151249.D291C28834F@mail.runrev.com> <1C02497F-F952-4B6D-B317-ABD8F281D659@mollysrevenge.com> <152696553593.20100811113431@ahsoftware.net> Message-ID: <357F740B-7FE9-414D-AD64-A24AFADA530C@gmail.com> On Aug 11, 2010, at 2:34 PM, Mark Wieder wrote: > Andre, Pete- > > Wednesday, August 11, 2010, 10:16:27 AM, you wrote: > >> Pete, > >> That is a really useful feature request. Bugzilla it and we'll vote! ("I would love to see the ability to drag/drop controls into or out of a group in the Application Browser window. Sometimes ungrouping, select/deselect control, group can be really error prone if nested groups/hidden fields are involved.") > tRev does this already. ... as does revNavigator (plugin, should be included with the IDE). -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From effendi at wanadoo.fr Wed Aug 11 16:40:24 2010 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Wed, 11 Aug 2010 22:40:24 +0200 Subject: Date to Days Message-ID: <015F6F39-5FB1-44FB-8E63-4A90952BC236@wanadoo.fr> Hi from Beautiful Brittany, Has any kind soul (not on holiday) got a script for converting a date to a number of days (any recent base such as 1900 will suffice). With Thanks - Francis "Nothing should ever be done for the first time !" From Roger.E.Eller at sealedair.com Wed Aug 11 16:50:03 2010 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed, 11 Aug 2010 16:50:03 -0400 Subject: Date to Days In-Reply-To: <015F6F39-5FB1-44FB-8E63-4A90952BC236@wanadoo.fr> Message-ID: Francis Nugent Dixon wrote: > Has any kind soul (not on holiday) got a script > for converting a date to a number of days > (any recent base such as 1900 will suffice). You will have to do some math to acheive days, but here is a start. >From the Rev Dictionary: convert the date && the time to seconds Note: The range of dates that the convert command can handle is limited by the operating system's date routines. In particular, Windows systems are limited to dates after 1/1/1970. From jim at visitrieve.com Wed Aug 11 16:59:17 2010 From: jim at visitrieve.com (Jim Bufalini) Date: Wed, 11 Aug 2010 10:59:17 -1000 Subject: ListMagic Users: Cannot import LM data with the status of checkboxes In-Reply-To: <1281456379000-2320015.post@n4.nabble.com> References: <1281456379000-2320015.post@n4.nabble.com> Message-ID: <000801cb3998$10513200$30f39600$@com> Hi Charles, The checkboxes are not part of an export or import. They are only active when you are using the list and their status is not saved. In this sense they are similar to highlighting a line. The line highlight is also not saved in an export or restored in an import. If this is important to you, you can separately record which boxes are checked using the LMGetCheckedBoxes and save the list of checked boxes off to a small text file and then use the LMSetCheckedBoxes to check off the ones you saved the next time the list is displayed. Aloha from Hawaii, Jim Bufalini Charles wrote: > > I love List Magic. It makes it extremely easy to make lists in Rev > apps. > After using the syntax given in the docs to export and then import LM > lists, > I found that the status of the checkboxes in the second header are not > being > imported when you import the list back into your app. Has any LM users > run > into this problem? > > If so, how did you deal with it? I would be happy to share my export > and > import scripts to compare notes about this problem! > -- > View this message in context: http://runtime- > revolution.278305.n4.nabble.com/ListMagic-Users-Cannot-import-LM-data- > with-the-status-of-checkboxes-tp2320015p2320015.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 jimaultwins at yahoo.com Wed Aug 11 17:47:14 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Wed, 11 Aug 2010 14:47:14 -0700 Subject: Date to Days In-Reply-To: <015F6F39-5FB1-44FB-8E63-4A90952BC236@wanadoo.fr> References: <015F6F39-5FB1-44FB-8E63-4A90952BC236@wanadoo.fr> Message-ID: Study Sarah's offering from her web site http://troz.net/rev/index.irev?category=Library#stacks look for "DateTime" stack On Aug 11, 2010, at 1:40 PM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Has any kind soul (not on holiday) got a script > for converting a date to a number of days > (any recent base such as 1900 will suffice). > > With Thanks > Jim Ault Las Vegas From tm1274 at gmail.com Wed Aug 11 17:49:54 2010 From: tm1274 at gmail.com (Ted Mills) Date: Wed, 11 Aug 2010 14:49:54 -0700 (PDT) Subject: Find or Search Function In-Reply-To: <2C0A3E79-FF49-49A2-8229-5743EFDD4C7B@verizon.net> References: <2C0A3E79-FF49-49A2-8229-5743EFDD4C7B@verizon.net> Message-ID: <1281563394457-2321929.post@n4.nabble.com> Thanks for the response's. I will give it a shot and see what happens. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Find-or-Search-Function-tp2321792p2321929.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Wed Aug 11 19:47:02 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 11 Aug 2010 16:47:02 -0700 Subject: SoCal Rev User Group meeting: Thursday, August 19th Message-ID: <4C633676.1010409@fourthworld.com> The next meeting of the Southern California Rev User Group will be on Thursday, August 19th, at 7PM in Glendale. Early birds can meet at 6PM at the restaurant across the street to share a meal before the meeting. One of the topics being presented is an overview of Rev on Linux; other topics in the works. If you're in SoCal feel free to join - the meeting is open to every Rev developer. Details here: Looking forward to seeing you there - -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dan at clearvisiontech.com Wed Aug 11 19:51:06 2010 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 11 Aug 2010 16:51:06 -0700 Subject: Dividing Line in Button In-Reply-To: <20100811170005.E887928835C@mail.runrev.com> References: <20100811170005.E887928835C@mail.runrev.com> Message-ID: <77A7013F-0119-4B5F-BECE-BE25D362A978@clearvisiontech.com> Greetings... You can add a dividing line in a option menu (a button who's menuMode is set to "option") on the Mac by simply putting a "-" into a line in the button's text. How do you get a dividing line on Windows? All I get is the dash. Thanks in advance, -Dan From ambassador at fourthworld.com Wed Aug 11 20:02:54 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 11 Aug 2010 17:02:54 -0700 Subject: Dividing Line in Button Message-ID: <4C633A2E.5070509@fourthworld.com> Dan Friedman wrote: > You can add a dividing line in a option menu (a button who's > menuMode is set to "option") on the Mac by simply putting a > "-" into a line in the button's text. How do you get a > dividing line on Windows? All I get is the dash. Not supported by the Win HIG - I say ignore the HIG and add it in the engine anyway: -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From userev at canelasoftware.com Wed Aug 11 20:03:00 2010 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 11 Aug 2010 17:03:00 -0700 Subject: Microsoft Win XP and read only folders In-Reply-To: <6EC21829-E458-4F2A-AC2B-E1DC237DA8E6@twft.com> References: <515DC9C2-35DB-46A8-AC13-0585891AE894@canelasoftware.com> <6EC21829-E458-4F2A-AC2B-E1DC237DA8E6@twft.com> Message-ID: <05E6731D-3221-4ABF-9D66-EE002198BA3B@canelasoftware.com> I have not decided one way or the other just yet. We have the luxury though of having the hardware to ourselves. Our software stands alone on the hardware as the equipment it runs on has one central focus. This may not work well for those that make apps that must exist with the rest of the world. I still believe that on a tech support level, the information presented may help someone else one day. Best regards, Mark Talluto http://www.canelasoftware.com On Aug 11, 2010, at 10:42 AM, Bob Sneidar wrote: > The thing that scares me about your approach, is the (some software will not operate correctly with the system attribute" disclaimer. I would be very reticent to change any installations default system behavior if it might cause problems for other software down the road. > > Obviously, this is a generalization, and in your case may prove to be benign. > > Bob > > > On Aug 11, 2010, at 10:34 AM, Mark Talluto wrote: > >> Today we had an issue with XP and its intentional desire to set folders in specialPath(26) to read only. If you ever find that your update tech or prefs logic fail when it shouldn't, you may have fallen victim to permissions being set to read only. Keep in mind that MS does this on purpose in XP under certain circumstances. The link below explains the issue further. It also has a workaround to clear this up. A restart of the OS is required for it to take effect. >> >> I hope this helps you solve this issue for your clients before it becomes a bigger problem. We are considering adding code to our products that set this registry key up automatically to prevent this from happening again. >> >> http://support.microsoft.com/kb/256614 >> >> >> Best regards, >> >> Mark Talluto >> 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 From bvlahos at mac.com Wed Aug 11 20:14:04 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 11 Aug 2010 17:14:04 -0700 Subject: SoCal Rev User Group meeting: Thursday, August 19th In-Reply-To: <4C633676.1010409@fourthworld.com> References: <4C633676.1010409@fourthworld.com> Message-ID: <2A6C95C0-B81F-43C6-946D-7380E8F604A3@mac.com> Yay! Thanks Richard. I'll be there. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Aug 11, 2010, at 4:47 PM, Richard Gaskin wrote: > The next meeting of the Southern California Rev User Group will be on Thursday, August 19th, at 7PM in Glendale. > > Early birds can meet at 6PM at the restaurant across the street to share a meal before the meeting. > > One of the topics being presented is an overview of Rev on Linux; other topics in the works. > > If you're in SoCal feel free to join - the meeting is open to every Rev developer. > > Details here: > > > Looking forward to seeing you there - > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.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 Aug 11 20:47:22 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 11 Aug 2010 19:47:22 -0500 Subject: Multiple revCursors stacks In-Reply-To: References: Message-ID: <4C63449A.2010803@hyperactivesw.com> On 8/11/10 3:12 PM, Hershel Fisch wrote: > Hi and thanks, > Sorry didn't express myself properly, so I'll try to elaborate a bit, > When I open RunRev everything sounds fine, I then open my App. A message > comes up saying "A stack "revMacCursors" is already in memory. The > Revolution UI does not distinguish stacks which have identical names,so > editing these stack files while both are in memory could result in data > loss." with an "ok" btn. > I hit "ok" the app. Opens up, then I go to the application browser I see > multiple substacks of "revCursors" and multi mainStacks of "revMacCursors". > Now, which one do I delete, Since there is no date on them? It sounds like your stack has the cursor stacks embedded in it as substacks, which conflict with those already in the IDE. But check to make sure: In the Finder (or Windows Explorer if you're on a PC) look in Rev's main program folder, in a subfolder called Toolset. See if there are two copies of revCursors and revMacCursors in there. If so, that's where you can compare dates and delete the oldest two. If not, then the IDE is fine. It probably is. In Rev's application browser, open the problem stack and look at its substacks. You should see the cursor stacks in there as substacks of your own stack. Delete them both. Your own stack should not include any cursor stacks. If you need the cursors in a standalone, just assign them in Standalone Settings instead. Save your stack and reopen it. The error should be gone. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Thu Aug 12 00:01:48 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 11 Aug 2010 21:01:48 -0700 Subject: Microsoft Win XP and read only folders In-Reply-To: <515DC9C2-35DB-46A8-AC13-0585891AE894@canelasoftware.com> References: <515DC9C2-35DB-46A8-AC13-0585891AE894@canelasoftware.com> Message-ID: <2026399625.20100811210148@ahsoftware.net> Mark- Wednesday, August 11, 2010, 10:34:58 AM, you wrote: > http://support.microsoft.com/kb/256614 The technote says it applies only to Win2k. Are you saying that you also had the same problem on XP and that applying the registry key fixed the problem? -- -Mark Wieder mwieder at ahsoftware.net From chipp at chipp.com Thu Aug 12 03:41:34 2010 From: chipp at chipp.com (Chipp Walters) Date: Thu, 12 Aug 2010 02:41:34 -0500 Subject: get filename broke? Message-ID: Hey guys, can you do me a quick favor and make sure this is a bug before I report it. put in msg box: go URL "http://www.widgetgadget.com/stuff/fred.rev" drag an image onto the stack double-click the image to open prop inspector set the filename of the image to any JPG you have on your disk now type into msg: put the filename of img 1 you should get a good path. something like: C:/Users/Public/Pictures/Sample Pictures/Desert.jpg Now save the stack, quit Rev, launch Rev and load the stack. Now try and set the filename of the image to something else. When you do, you should see the filename of the image is now a non-path..something like: ./../../../Public/Pictures/Sample Pictures/Desert.jpg Let me know if this is a repeatable problem for you. I've tested it on both the latest RC and the release 4.0 GM Thanks! ON CLOSER INSPECTION.. I can set and retrieve the filename from script, so it seems the filename button on the Prop Inspector is screwing things up. I'll post a bug. -- Chipp Walters CEO, Shafer Walters Group, Inc. From richmondmathewson at gmail.com Thu Aug 12 04:04:23 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 12 Aug 2010 11:04:23 +0300 Subject: get filename broke? In-Reply-To: References: Message-ID: <4C63AB07.3090907@gmail.com> On 08/12/2010 10:41 AM, Chipp Walters wrote: > Hey guys, can you do me a quick favor and make sure this is a bug before I > report it. > > Right . . . > put in msg box: > > go URL "http://www.widgetgadget.com/stuff/fred.rev" > > drag an image onto the stack > How do I do that? Seem unable to DRAG any images onto the stack in either Ubuntu or Mac? Imported an image. > double-click the image to open prop inspector > set the filename of the image to any JPG you have on your disk > now type into msg: > put the filename of img 1 > > you should get a good path. something like: > C:/Users/Public/Pictures/Sample Pictures/Desert.jpg > Nothing happens at this point . . . > Now save the stack, quit Rev, launch Rev and load the stack. > Now try and set the filename of the image to something else. > > When you do, you should see the filename of the image is now a > non-path..something like: > ./../../../Public/Pictures/Sample Pictures/Desert.jpg > Nope. > Let me know if this is a repeatable problem for you. I've tested it on both > the latest RC and the release 4.0 GM Thanks! > > ON CLOSER INSPECTION.. I can set and retrieve the filename from script, so > it seems the filename button on the Prop Inspector is screwing things up. > I'll post a bug. > > However I think you have written slightly misleading instructions as there is NO "filename button" in my Prop Inspector: what there is, is a SOURCE button . . . Now when I use the source button (on Mac) stage 1 works, and, so does stage 2; so, on Mac, at least, this is not buggy. Everything works OK on Ubuntu Linux as well. Regards, Richmond. From chipp at chipp.com Thu Aug 12 04:14:02 2010 From: chipp at chipp.com (Chipp Walters) Date: Thu, 12 Aug 2010 03:14:02 -0500 Subject: get filename broke? In-Reply-To: <4C63AB07.3090907@gmail.com> References: <4C63AB07.3090907@gmail.com> Message-ID: Richmond, see below for answers.. On Thu, Aug 12, 2010 at 3:04 AM, Richmond wrote: > >> >> > How do I do that? Seem unable to DRAG any images onto the stack in either > Ubuntu or Mac? > You drag an image control onto a stack from the tool palette > > Imported an image. > > > double-click the image to open prop inspector >> set the filename of the image to any JPG you have on your disk >> now type into msg: >> put the filename of img 1 >> >> you should get a good path. something like: >> C:/Users/Public/Pictures/Sample Pictures/Desert.jpg >> >> > > Nothing happens at this point . . . > > > Now save the stack, quit Rev, launch Rev and load the stack. >> Now try and set the filename of the image to something else. >> >> When you do, you should see the filename of the image is now a >> non-path..something like: >> ./../../../Public/Pictures/Sample Pictures/Desert.jpg >> >> > > Nope. > > > Let me know if this is a repeatable problem for you. I've tested it on >> both >> the latest RC and the release 4.0 GM Thanks! >> >> ON CLOSER INSPECTION.. I can set and retrieve the filename from script, so >> it seems the filename button on the Prop Inspector is screwing things up. >> I'll post a bug. >> >> >> > > However I think you have written slightly misleading instructions as there > is NO "filename button" > in my Prop Inspector: what there is, is a SOURCE button . . . > Yes, if you check the Prefs you will see "Property labels are:" and 2 radio buttons: Description of option Name of revTalk property I always keep mine set to the name of revTalk property-- that is why you don't see it. > Now when I use the source button (on Mac) stage 1 works, > > and, so does stage 2; so, on Mac, at least, this is not buggy. > > Everything works OK on Ubuntu Linux as well. > > Regards, Richmond. > _______________________________________________ > 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 > -- Chipp Walters CEO, Shafer Walters Group, Inc. From chipp at chipp.com Thu Aug 12 04:15:42 2010 From: chipp at chipp.com (Chipp Walters) Date: Thu, 12 Aug 2010 03:15:42 -0500 Subject: get filename broke? In-Reply-To: References: Message-ID: I think I've found the culprit. It turns out in Rev 4 prefs, there's a checkbox for "Always use absolute file paths for images" which is checked OFF by default. Turning it on fixes things. Don't remember this "feature" being there in the past. From richmondmathewson at gmail.com Thu Aug 12 05:10:00 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 12 Aug 2010 12:10:00 +0300 Subject: get filename broke? In-Reply-To: References: Message-ID: <4C63BA68.1050404@gmail.com> On 08/12/2010 11:15 AM, Chipp Walters wrote: > I think I've found the culprit. It turns out in Rev 4 prefs, there's a > checkbox for "Always use absolute file paths for images" which is checked > OFF by default. Turning it on fixes things. Don't remember this "feature" > being there in the past. > Right; now there is an important point . . . Every new release needs comprhensive documentation about what has been Introduced, Removed, Changed. From chipp at chipp.com Thu Aug 12 05:22:41 2010 From: chipp at chipp.com (Chipp Walters) Date: Thu, 12 Aug 2010 04:22:41 -0500 Subject: get filename broke? In-Reply-To: <4C63BA68.1050404@gmail.com> References: <4C63BA68.1050404@gmail.com> Message-ID: I'm pretty sure all that's in the release notes-- I just didn't read them. On Thu, Aug 12, 2010 at 4:10 AM, Richmond wrote: > On 08/12/2010 11:15 AM, Chipp Walters wrote: > >> I think I've found the culprit. It turns out in Rev 4 prefs, there's a >> checkbox for "Always use absolute file paths for images" which is checked >> OFF by default. Turning it on fixes things. Don't remember this "feature" >> being there in the past. >> >> > > Right; now there is an important point . . . > > Every new release needs comprhensive documentation about what has been > > Introduced, > > Removed, > > Changed. > > _______________________________________________ > 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 > -- Chipp Walters CEO, Shafer Walters Group, Inc. From klaus at major.on-rev.com Thu Aug 12 05:22:32 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 12 Aug 2010 11:22:32 +0200 Subject: Dividing Line in Button In-Reply-To: <4C633A2E.5070509@fourthworld.com> References: <4C633A2E.5070509@fourthworld.com> Message-ID: <4CBCDB72-3F72-4F44-AB2F-A0F93D3E0090@major.on-rev.com> Hi all, Am 12.08.2010 um 02:02 schrieb Richard Gaskin: > Dan Friedman wrote: > > You can add a dividing line in a option menu (a button who's > > menuMode is set to "option") on the Mac by simply putting a > > "-" into a line in the button's text. How do you get a > > dividing line on Windows? All I get is the dash. > > Not supported by the Win HIG - I say ignore the HIG and add it in the engine anyway: > > Yep, and when they are at it, they could make the engine a bit more intelligent and check for ONE dash in a line, so negative numbers will be possible as menu entries without ugly hacks and workarounds! > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From effendi at wanadoo.fr Thu Aug 12 05:31:04 2010 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Thu, 12 Aug 2010 11:31:04 +0200 Subject: Date to Days Message-ID: <8889182F-BDF0-4FAA-969F-2EAA23564000@wanadoo.fr> Hi from Beautiful Brittany, I knew someone had done this before ! Thanks Jim Ault for pointing to it. Thanks to Sarah Reichelt for the stack, and to regretted Eric Chatonet for the part that I wanted. -Francis "Nothing should ever be done for the first time !" From chipp at chipp.com Thu Aug 12 05:52:24 2010 From: chipp at chipp.com (Chipp Walters) Date: Thu, 12 Aug 2010 04:52:24 -0500 Subject: [HELP] anyone have a simple handler to add a control to a group programatically? In-Reply-To: <357F740B-7FE9-414D-AD64-A24AFADA530C@gmail.com> References: <20100811151249.D291C28834F@mail.runrev.com> <1C02497F-F952-4B6D-B317-ABD8F281D659@mollysrevenge.com> <152696553593.20100811113431@ahsoftware.net> <357F740B-7FE9-414D-AD64-A24AFADA530C@gmail.com> Message-ID: altGroupMgr lets you share and unshare groups from one card to another to another. Here's a quick way to get it. STEP 1 PUT IN MSG BOX AND HIT ENTER: go URL "http://www.gadgetplugins.com/altplugins/altGroupMgr.rev" STEP 2 PUT IN MSG BOX AND HIT ENTER: save stack "altGroupMgr" as (revEnvironmentUserPluginsPath()&"/altGroupMgr.rev") And even better, altLayerTools lets you do exactly what you need to do w/regard to relayering everything, including in and out of groups: STEP 1 PUT IN MSG BOX AND HIT ENTER: go URL "http://www.gadgetplugins.com/altplugins/altLayerTools.rev" STEP 2 PUT IN MSG BOX AND HIT ENTER: save stack "altLayerTools" as (revEnvironmentUserPluginsPath()&"/altLayerTools.rev") Once these are stored in your plugins folder, you can then access them directly from the Plugins menu under the Development menu in the revMenubar. You may have to quit and restart Rev to see them. And of course, they all work fine in altPluginToolbar. HTH, Chipp From scott at tactilemedia.com Thu Aug 12 06:51:47 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 12 Aug 2010 03:51:47 -0700 Subject: Dividing Line in Button In-Reply-To: <77A7013F-0119-4B5F-BECE-BE25D362A978@clearvisiontech.com> Message-ID: Recently, Dan Friedman wrote: > You can add a dividing line in a option menu (a button who's menuMode is set > to "option") on the Mac by simply putting a "-" into a line in the button's > text. How do you get a dividing line on Windows? All I get is the dash. Maybe this is could be a goofy workaround/hack/etc: use 2 buttons, an option button with no contents, and a popup menu button that contains all your options and dividing lines. Then in the option button: on mouseDown popup btn "myPopupMenu" at bottomLeft of me end mouseDown Regards, Scott Rossi Creative Director Tactile Media, UX Design From psahores at free.fr Thu Aug 12 08:09:11 2010 From: psahores at free.fr (Pierre Sahores) Date: Thu, 12 Aug 2010 14:09:11 +0200 Subject: =?utf-8?q?R=C3=A9p_=3A_=5Bsolved=5D=5BrevServer=5D_process_timeo?= =?utf-8?q?ut_issue?= Message-ID: Hi There, After verification and as Mark Waddingham expected, the latency has only to do with the time needed, on mutualized servers, to reload and cache in RAM the "on-the-fly-compiled" server-side code, irev scripts included - in between all the server-side scripted and bytecoded languages available around, from PHP/Zend to Java/Tomcat/JBoss. Verification test protocol : 1.- i used an up and response time HTTP inline service (pingdom.com) set to test woooooooords.com one time per minute. 2.- this revserver app appears yet to stay 100% responsive at a 330ms average - in other words, its main code is not swaped out of RAM in the forcoming minute. 3.- If this would occurs indeed, it would be time for me [in staying away from any untrustable rumor] to setup a dedicated server for my app... ;-) HTH, Pierre -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From pete at mollysrevenge.com Thu Aug 12 11:28:47 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 12 Aug 2010 08:28:47 -0700 Subject: [HELP] anyone have a simple handler to add a control to a group programatically? In-Reply-To: <20100812040139.AEBF32883B3@mail.runrev.com> References: <20100812040139.AEBF32883B3@mail.runrev.com> Message-ID: <5F9FB8FA-F0DD-46EA-89E2-D598E613F64D@mollysrevenge.com> I will put in an enhancement request and start my campaign for votes! Can someone point me to how to do this in tRev? I just got tRev and still finding my way around it. Thanks for the tip on revNavigator, just tried it out and seems to work most of the time but I did find a few instances of the changes I made in it not being reflected in the Application Browser. It's great that these 3rd-part tools and plugins are available but I'd still prefer to see it as aprt of the Rev IDE. Pete Haworth From pete at mollysrevenge.com Thu Aug 12 11:33:15 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 12 Aug 2010 08:33:15 -0700 Subject: Front scripts vs Behaviors In-Reply-To: <20100812040139.AEBF32883B3@mail.runrev.com> References: <20100812040139.AEBF32883B3@mail.runrev.com> Message-ID: <1D088F14-7F1D-41CF-9FD5-AB6F72A727EC@mollysrevenge.com> Yep, the group=table/control=column model seems to work really well. I'm considering making all the handlers for it available once I've resolved the front script/behavior issue and tidied up the code. On the message path issue, I just meant ti wouldn't reach the target following the normal message path. The model you showed using dispatch is just what I need. Pete On Aug 11, 2010, at 9:01 PM, use-revolution-request at lists.runrev.com wrote: > Message: 9 > Date: Wed, 11 Aug 2010 11:43:23 -0700 > From: Mark Wieder > Subject: Re: Front scripts vs Behaviors > To: How to use Revolution > Message-ID: <95697085765.20100811114323 at ahsoftware.net> > Content-Type: text/plain; charset=us-ascii > > Peter- > > Wednesday, August 11, 2010, 10:01:05 AM, you wrote: > >> interface between controls on cards and my sqlite database. Groups >> on >> the card are tied to a db table and controls in the group are tied to >> columns in the table related to the group. > > Cool. I've thought of doing something like that. > >> If I switch over to behaviors (and I'm inclined to do that) I need a >> way to handle this "local" logic since, as you say, the messages >> wont; >> ever make it to the actual control, but I still need the database > > No, I did *not* say that (or at least didn't mean that). Messages > won't get passed farther down the path (card, stack, backscripts...) > *unless* you do something yourself. If you have a handler (e.g., > mouseUp) in the behavior button and not in the target button you can > use the dispatch message in the behavior button to pass a message to > the target. > > behavior: > on mouseUp > doSomething > dispatch doMouseUp to me > end mouseUp > > target1: > on doMouseUp > -- change contents of another field > end doMouseUp > > target2: > on doMouseUp > -- recalculate totals > end doMouseUp > > target3: > on doMouseUp > -- stuff like that > end doMouseUp > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > > ------------------------------ From stephenREVOLUTION2 at barncard.com Thu Aug 12 12:04:14 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 12 Aug 2010 09:04:14 -0700 Subject: [HELP] anyone have a simple handler to add a control to a group programatically? In-Reply-To: <5F9FB8FA-F0DD-46EA-89E2-D598E613F64D@mollysrevenge.com> References: <20100812040139.AEBF32883B3@mail.runrev.com> <5F9FB8FA-F0DD-46EA-89E2-D598E613F64D@mollysrevenge.com> Message-ID: The app browser must be refreshed sometimes to see the changes. There's a tiny icon at the bottom right of the objects list. On 12 August 2010 08:28, Peter Haworth wrote: > I will put in an enhancement request and start my campaign for votes! > > Can someone point me to how to do this in tRev? I just got tRev and still > finding my way around it. > > Thanks for the tip on revNavigator, just tried it out and seems to work > most of the time but I did find a few instances of the changes I made in it > not being reflected in the Application Browser. > > It's great that these 3rd-part tools and plugins are available but I'd > still prefer to see it as aprt of the Rev IDE. > > Pete Haworth > > > _______________________________________________ > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From andre at andregarzia.com Thu Aug 12 12:05:50 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 12 Aug 2010 13:05:50 -0300 Subject: get filename broke? In-Reply-To: References: <4C63BA68.1050404@gmail.com> Message-ID: Chipp, Reproduced your problem on a mac, checked the rest of the thread and saw the solution... I can see that being useful for apps that set the defaultfolder to something and then you add images and they are already relative. On Thu, Aug 12, 2010 at 6:22 AM, Chipp Walters wrote: > I'm pretty sure all that's in the release notes-- I just didn't read them. > > On Thu, Aug 12, 2010 at 4:10 AM, Richmond >wrote: > > > On 08/12/2010 11:15 AM, Chipp Walters wrote: > > > >> I think I've found the culprit. It turns out in Rev 4 prefs, there's a > >> checkbox for "Always use absolute file paths for images" which is > checked > >> OFF by default. Turning it on fixes things. Don't remember this > "feature" > >> being there in the past. > >> > >> > > > > Right; now there is an important point . . . > > > > Every new release needs comprhensive documentation about what has been > > > > Introduced, > > > > Removed, > > > > Changed. > > > > _______________________________________________ > > 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 > > > > > > -- > Chipp Walters > CEO, Shafer Walters Group, Inc. > _______________________________________________ > 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 mwieder at ahsoftware.net Thu Aug 12 12:21:03 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 12 Aug 2010 09:21:03 -0700 Subject: Front scripts vs Behaviors In-Reply-To: <1D088F14-7F1D-41CF-9FD5-AB6F72A727EC@mollysrevenge.com> References: <20100812040139.AEBF32883B3@mail.runrev.com> <1D088F14-7F1D-41CF-9FD5-AB6F72A727EC@mollysrevenge.com> Message-ID: <7170753750.20100812092103@ahsoftware.net> Pete- Thursday, August 12, 2010, 8:33:15 AM, you wrote: > On the message path issue, I just meant ti wouldn't reach the target > following the normal message path. The model you showed using > dispatch is just what I need. The dispatch command is my favorite thing about behaviors. -- -Mark Wieder mwieder at ahsoftware.net From pmbrig at gmail.com Thu Aug 12 14:23:02 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Thu, 12 Aug 2010 14:23:02 -0400 Subject: [HELP] anyone have a simple handler to add a control to a group programatically? In-Reply-To: <5F9FB8FA-F0DD-46EA-89E2-D598E613F64D@mollysrevenge.com> References: <20100812040139.AEBF32883B3@mail.runrev.com> <5F9FB8FA-F0DD-46EA-89E2-D598E613F64D@mollysrevenge.com> Message-ID: <93A449FA-CADE-467A-B3B8-4B2468DFDF29@gmail.com> On Aug 12, 2010, at 11:28 AM, Peter Haworth wrote: > Thanks for the tip on revNavigator, just tried it out and seems to > work most of the time but I did find a few instances of the changes > I made in it not being reflected in the Application Browser. The Application Browser sometimes doesn't update until you click the little round circular-arrows button at the bottom of its window. I haven't found what the recipe is for when it updates or not -- this is not just when using revNavigator -- but if something isn't the way I expect it to be in the A.B. I always click the refresh button before getting worried. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From jacque at hyperactivesw.com Thu Aug 12 14:40:13 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 12 Aug 2010 13:40:13 -0500 Subject: [HELP] anyone have a simple handler to add a control to a group programatically? In-Reply-To: <93A449FA-CADE-467A-B3B8-4B2468DFDF29@gmail.com> References: <20100812040139.AEBF32883B3@mail.runrev.com> <5F9FB8FA-F0DD-46EA-89E2-D598E613F64D@mollysrevenge.com> <93A449FA-CADE-467A-B3B8-4B2468DFDF29@gmail.com> Message-ID: <4C64400D.3070301@hyperactivesw.com> On 8/12/10 1:23 PM, Peter Brigham MD wrote: > On Aug 12, 2010, at 11:28 AM, Peter Haworth wrote: > >> Thanks for the tip on revNavigator, just tried it out and seems to >> work most of the time but I did find a few instances of the changes I >> made in it not being reflected in the Application Browser. > > The Application Browser sometimes doesn't update until you click the > little round circular-arrows button at the bottom of its window. I > haven't found what the recipe is for when it updates or not -- this is > not just when using revNavigator -- but if something isn't the way I > expect it to be in the A.B. I always click the refresh button before > getting worried. It probably relies on certain system messages being sent. If a plugin doesn't pass those messages then the app browser won't know anything is different and won't update. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From hershrev at syp2u4c.com Thu Aug 12 15:20:12 2010 From: hershrev at syp2u4c.com (Hershel Fisch) Date: Thu, 12 Aug 2010 15:20:12 -0400 Subject: Multiple revCursors stacks In-Reply-To: <4C63449A.2010803@hyperactivesw.com> Message-ID: Thanks a mill. Working beautifully. Hershel On 8/11/10 8:47 PM, "J. Landman Gay" wrote: > On 8/11/10 3:12 PM, Hershel Fisch wrote: >> Hi and thanks, >> Sorry didn't express myself properly, so I'll try to elaborate a bit, >> When I open RunRev everything sounds fine, I then open my App. A message >> comes up saying "A stack "revMacCursors" is already in memory. The >> Revolution UI does not distinguish stacks which have identical names,so >> editing these stack files while both are in memory could result in data >> loss." with an "ok" btn. >> I hit "ok" the app. Opens up, then I go to the application browser I see >> multiple substacks of "revCursors" and multi mainStacks of "revMacCursors". >> Now, which one do I delete, Since there is no date on them? > > It sounds like your stack has the cursor stacks embedded in it as > substacks, which conflict with those already in the IDE. But check to > make sure: > > In the Finder (or Windows Explorer if you're on a PC) look in Rev's main > program folder, in a subfolder called Toolset. See if there are two > copies of revCursors and revMacCursors in there. If so, that's where you > can compare dates and delete the oldest two. If not, then the IDE is > fine. It probably is. > > In Rev's application browser, open the problem stack and look at its > substacks. You should see the cursor stacks in there as substacks of > your own stack. Delete them both. Your own stack should not include any > cursor stacks. If you need the cursors in a standalone, just assign them > in Standalone Settings instead. > > Save your stack and reopen it. The error should be gone. From hershrev at syp2u4c.com Thu Aug 12 15:31:50 2010 From: hershrev at syp2u4c.com (Hershel Fisch) Date: Thu, 12 Aug 2010 15:31:50 -0400 Subject: Dividing Line in Button In-Reply-To: Message-ID: Or, maybe put all items into a custom Prop then " On mouseDown Put the mycustomProp of this cd into btn "myBtn" End mouseDown Then Use your regular menuPick command Good Luck, Hershel On 8/12/10 6:51 AM, "Scott Rossi" wrote: > Recently, Dan Friedman wrote: > >> You can add a dividing line in a option menu (a button who's menuMode is set >> to "option") on the Mac by simply putting a "-" into a line in the button's >> text. How do you get a dividing line on Windows? All I get is the dash. > > Maybe this is could be a goofy workaround/hack/etc: use 2 buttons, an option > button with no contents, and a popup menu button that contains all your > options and dividing lines. Then in the option button: > > on mouseDown > popup btn "myPopupMenu" at bottomLeft of me > end mouseDown > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX 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 hershrev at syp2u4c.com Thu Aug 12 15:59:35 2010 From: hershrev at syp2u4c.com (Hershel Fisch) Date: Thu, 12 Aug 2010 15:59:35 -0400 Subject: Multiple revCursors stacks In-Reply-To: Message-ID: I also realize that I have two "revHelpPopup" substacks, under the revDocumentation stack and under the "revMenuBar" stack, which one has to be deleted and which one is the correct one. I see it since version 3.504 dp-4. Prior to the above version its only urder the revMenuBar? It effects when you press the "restore development tool" btn. Thanks, Hershel On 8/12/10 3:20 PM, "Hershel Fisch" wrote: > Thanks a mill. Working beautifully. > Hershel > > > On 8/11/10 8:47 PM, "J. Landman Gay" wrote: > >> On 8/11/10 3:12 PM, Hershel Fisch wrote: >>> Hi and thanks, >>> Sorry didn't express myself properly, so I'll try to elaborate a bit, >>> When I open RunRev everything sounds fine, I then open my App. A message >>> comes up saying "A stack "revMacCursors" is already in memory. The >>> Revolution UI does not distinguish stacks which have identical names,so >>> editing these stack files while both are in memory could result in data >>> loss." with an "ok" btn. >>> I hit "ok" the app. Opens up, then I go to the application browser I see >>> multiple substacks of "revCursors" and multi mainStacks of "revMacCursors". >>> Now, which one do I delete, Since there is no date on them? >> >> It sounds like your stack has the cursor stacks embedded in it as >> substacks, which conflict with those already in the IDE. But check to >> make sure: >> >> In the Finder (or Windows Explorer if you're on a PC) look in Rev's main >> program folder, in a subfolder called Toolset. See if there are two >> copies of revCursors and revMacCursors in there. If so, that's where you >> can compare dates and delete the oldest two. If not, then the IDE is >> fine. It probably is. >> >> In Rev's application browser, open the problem stack and look at its >> substacks. You should see the cursor stacks in there as substacks of >> your own stack. Delete them both. Your own stack should not include any >> cursor stacks. If you need the cursors in a standalone, just assign them >> in Standalone Settings instead. >> >> Save your stack and reopen it. The error should be gone. > > > > _______________________________________________ > 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 gregory.lypny at videotron.ca Thu Aug 12 16:59:22 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 12 Aug 2010 16:59:22 -0400 Subject: Trouble Setting Cookies Message-ID: Hello everyone, Having trouble setting my first cookies at On-Rev. My iRev script pulls in a page template and puts it into a variable called thePage. thePage starts with the usual stuff, such as Sign In My feeble understanding of setting cookies is that I must send off the request before I load the page, so I created a simple cookie like this put "myCookie=" into theCookie put 6666 after theCookie I then sent if off with put new header ("Set-Cookie:" && theCookie) and then immediately followed with put thePage But the cookie does not appear in Safari's cookie listing or by checking $_SERVER["HTTP_COOKIE"]. The latter, however, gives me two cookies set by .revolutionss.com, which presumably has something to do with my On-Rev account. I also tried Andre Garzia's function setCookie "myCookie",6666 but struck out there too. What am I doing wrong? Regards, Gregory From userev at canelasoftware.com Thu Aug 12 17:03:21 2010 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 12 Aug 2010 14:03:21 -0700 Subject: Microsoft Win XP and read only folders In-Reply-To: <2026399625.20100811210148@ahsoftware.net> References: <515DC9C2-35DB-46A8-AC13-0585891AE894@canelasoftware.com> <2026399625.20100811210148@ahsoftware.net> Message-ID: Hi Mark, Yuppers. I guess they need to update the document and add XP to the Applies To section. -Mark On Aug 11, 2010, at 9:01 PM, Mark Wieder wrote: > Mark- > > Wednesday, August 11, 2010, 10:34:58 AM, you wrote: > >> http://support.microsoft.com/kb/256614 > > The technote says it applies only to Win2k. Are you saying that you > also had the same problem on XP and that applying the registry key > fixed the problem? > > -- > -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 andre at andregarzia.com Thu Aug 12 17:40:37 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 12 Aug 2010 18:40:37 -0300 Subject: Trouble Setting Cookies In-Reply-To: References: Message-ID: Gregory, Can you do a curl to your host and glue the answer? We need to check if the Set-Cookies headers are actually comming thru. Andre PS: Using firebug to inspect the request is also ok. On Thu, Aug 12, 2010 at 5:59 PM, Gregory Lypny wrote: > Hello everyone, > > Having trouble setting my first cookies at On-Rev. My iRev script pulls in > a page template and puts it into a variable called thePage. thePage starts > with the usual stuff, such as > > http://www.w3.org/TR/html4/loose.dtd"> > > > > Sign In > > My feeble understanding of setting cookies is that I must send off the > request before I load the page, so I created a simple cookie like this > > put "myCookie=" into theCookie > put 6666 after theCookie > > I then sent if off with > > put new header ("Set-Cookie:" && theCookie) > > and then immediately followed with > > put thePage > > But the cookie does not appear in Safari's cookie listing or by checking > $_SERVER["HTTP_COOKIE"]. The latter, however, gives me two cookies set by . > revolutionss.com, which presumably has something to do with my On-Rev > account. > > I also tried Andre Garzia's function > > setCookie "myCookie",6666 > > but struck out there too. What am I doing wrong? > > Regards, > > Gregory > > > _______________________________________________ > 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 capellan2000 at gmail.com Thu Aug 12 22:21:49 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 12 Aug 2010 19:21:49 -0700 (PDT) Subject: [OT] O'Reilly eBook deal of the day (top 10 books for USD 9.99) In-Reply-To: References: Message-ID: <1281666109474-2323623.post@n4.nabble.com> Hi Andre, This offer is over at 10:20 pm but, just for curiosity: Which were the books offered by O'Really in this deal? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-O-Reilly-eBook-deal-of-the-day-top-10-books-for-USD-9-99-tp2321217p2323623.html Sent from the Revolution - User mailing list archive at Nabble.com. From andre at andregarzia.com Thu Aug 12 22:37:30 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 12 Aug 2010 23:37:30 -0300 Subject: [OT] O'Reilly eBook deal of the day (top 10 books for USD 9.99) In-Reply-To: <1281666109474-2323623.post@n4.nabble.com> References: <1281666109474-2323623.post@n4.nabble.com> Message-ID: Alejandro, The ones I remember: * learning python * CouchDB book * Cooking for Geeks * The R book * iphone programming thing (called touch worthy) * javascript cookbook There were more but I can't recall... On Thu, Aug 12, 2010 at 11:21 PM, Alejandro Tejada wrote: > > Hi Andre, > > This offer is over at 10:20 pm > but, just for curiosity: > Which were the books offered > by O'Really in this deal? > > > Al > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/OT-O-Reilly-eBook-deal-of-the-day-top-10-books-for-USD-9-99-tp2321217p2323623.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 stephenREVOLUTION2 at barncard.com Thu Aug 12 23:08:10 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 12 Aug 2010 20:08:10 -0700 Subject: Revserver / Dreamhost question Message-ID: hello , everyone 1. If I want to use my own Revserver instance at Dreamhost, would I have to get a 'Personal Server' account? I understand my shared hosting can't be used for this. Has anyone here done this? 2. If I want to use RevServer on multiple domains - is a single license good for this? Per server, not per domain, right? thanks in advance -- Stephen Barncard San Francisco Ca. USA more about sqb From iangmcknight at gmail.com Fri Aug 13 03:18:23 2010 From: iangmcknight at gmail.com (Ian McKnight) Date: Fri, 13 Aug 2010 08:18:23 +0100 Subject: Problems displaying iRev script output in an iFrame Message-ID: Hi I am experimenting with iRev scripts in my OnRev account and I am having difficulty in displaying the required response to data retrieved from a web form. I have two html pages. On one page, the home page, a simple 3 line web form is displayed in an iFrame. The form is in an iRev file. This page displays correctly. When the submit button is clicked I want to reproduce the form content and some other fixed text inside the same iFrame. My form action line from the iRev Form file is
My formResponse.irev script is
Put "Your information is:"

put "Name:"&& $_post["name"] &

put "Age:"&& $_post["age"] &

put "Email:"&& $_post["email"] &


Put "We'll be in touch as soon as possible." &
?> When I enter data and press submit the iFrame goes blank. However, if I rename formresponse.irev to formresponse.html everything after 'Thanks for the feedback' including tags is displayed in the iFrame. Now I know that the file needs to have an irev extension for the script to run but the renaming seems to show that the output is being aimed in the right direction - the iframe. Any tips and advice would be appreciated. Thanks -- Regards Ian McKnight iangmcknight at gmail.com ======================= From Bsummerton at virginbroadband.com.au Fri Aug 13 04:13:32 2010 From: Bsummerton at virginbroadband.com.au (Brent Summerton) Date: Fri, 13 Aug 2010 17:43:32 +0930 Subject: Printing/ Email error in Standalone Application Message-ID: When User hits the Print Button or Email Button using Windows XP/Vista in Standalone it prints or emails a Blank Document - Even with printing exported as part of the Standalone. Works fine directly from within RevEnterprise on my Macintosh! Below I describe what I am trying to achieve: Scenario - Multiple Choice Questions with four modules. User can complete one module for a Credential or do the whole lot. User Enters their personal details once and it is propagated across several Modules on Opencard Put the long date into card field "date" Put "Module 2: Food Hygeine" into card field "Module" end Opencard On Closecard Get card field "Name" Put it into A Get card field "Site" Put it into B Get card field "Date" Put it into C Get card field "Module" Put it into D Put A &Return& B &Return& C &Return & D &Return & "___________________________________________________________________" into field "Results" of card "Module2Results" Put A into field "Name" of card "Module1Credential" Put B into field "Site" of card "Module1Credential" Put A into field "Name" of card "Module2Credential" Put B into field "Site" of card "Module2Credential" Put A into field "Name" of card "Module3Credential" Put B into field "Site" of card "Module3Credential" end Closecard User begins answering Multiple Choice Questions Right/Wrong Answers Recorded and put into field "Results" of Card "Module1Results" on mouseUp Play "WellDone!.aif" Put "Correct" into field "A" Get field "Results" of card "Module1Results" -- Gets Results so far and adds the next Answer to the bottom of the list. Put it into A Put "Yes to Clean Fridges - " into B Put "Well Done!" into C Put A & B & C &Return into field "Results" of card "Module1Results" Add 1 to field "Correct" of card "Module1Results" end mouseUp On the Last Card it is instructed to 'Get' the information from the Results field of each Module and populate ALL the Results into a field on this Card for sending to a printer with a button. On Opencard Put field "Results" of card "Module1Results" into A Put field "Results" of card "Module2Results" into B Put field "Results" of card "Module3Results" into C Put "Module 4: Food Safety Plans - Currently has no test questions to answer." into D Put A & Return & Return & Return & Return & Return & Return & B & Return & Return & Return & Return & Return & Return & C & Return & Return & Return & Return & Return & Return &D & Return & Return & Return & Return into field "Results" of card "Module4Results" end Opencard The User then sends to a Printer with a Button. on mouseUp Answer "Print now or wait until you have completed ALL Modules?" with "Print" and "Wait" If it is "Print" then send PrintResults else end if end mouseUp Or the User then sends via Email with a Button. on mouseUp Answer "Email now or wait until you have completed ALL Modules?" with "Send" and "Wait" If it is "Send" then send EmailResults else end if end mouseUp I have spent over three months trying to resolve this issue and I am getting frustrated. Any suggestions? From smudge.andy at googlemail.com Fri Aug 13 07:14:12 2010 From: smudge.andy at googlemail.com (AndyP) Date: Fri, 13 Aug 2010 04:14:12 -0700 (PDT) Subject: Printing/ Email error in Standalone Application In-Reply-To: References: Message-ID: <1281698052318-2324042.post@n4.nabble.com> What are you doing with the sent meassages? For printing you may find it better to place a hidden field on your card and then use this: revPrintField >From the dictionary: mportant! The revPrintFieldcommand does not accept direct field references. For example, the following statement causes an error message: revPrintField field "My Field" -- CAN'T USE THIS FORM Instead, use a form that evaluates to a field reference, like this: revPrintField the name of field "My Field" -- use this form instead revPrintField ("field" && quote & "My Field" & quote) -- or this It's also a simple matter of using the hidden field contents for your email. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Printing-Email-error-in-Standalone-Application-tp2323851p2324042.html Sent from the Revolution - User mailing list archive at Nabble.com. From bonnmike at gmail.com Fri Aug 13 08:24:52 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 13 Aug 2010 06:24:52 -0600 Subject: Problems displaying iRev script output in an iFrame In-Reply-To: References: Message-ID: You can't use form elements directly in an irev script. Meaning you can't include them between So for example the line: put "Thanks for the feedback."

Just confuses the engine. Since its within a
" If you wanted to do the
seperate, you could do: put "Thanks for the feedback." & "

" If you need to put several things together, follow normal rev rules. You do this correctly with your $_POST lines, except for the trailing "
" which should be in quotes. If it was just
it would probably work because then it would be seen as a single entity, the engine would try to interpret it as a variable, failing that would just put out
(I think) but since there is a space between the r and the / it would see it as 2 separate entities and not know what to do with the last part. This is an example of why you should always quote string output. The fixed script portion follows:
" Put "Your information is:

" put "Name:"&& $_post["name"] & "

" put "Age:"&& $_post["age"] & "

" put "Email:"&& $_post["email"] & "

" put "
" Put "We'll be in touch as soon as possible." & "
" ?> On Fri, Aug 13, 2010 at 1:18 AM, Ian McKnight wrote: > Hi > > I am experimenting with iRev scripts in my OnRev account and I am > having difficulty in displaying the required response to data > retrieved from a web form. > > I have two html pages. On one page, the home page, a simple 3 line web > form is displayed in an iFrame. The form is in an iRev file. > This page displays correctly. > > When the submit button is clicked I want to reproduce the form content > and some other fixed text inside the same iFrame. > > My form action line from the iRev Form file is action="http://mcknight.on-rev.com/onrevtest/formresponse.irev" > method="post" name="inlineframe3"> > > My formResponse.irev script is > > > > > put "Thanks for the feedback."
>
> Put "Your information is:"
>
> > put "Name:"&& $_post["name"] &
>
> put "Age:"&& $_post["age"] &
>
> put "Email:"&& $_post["email"] &
>
> >
> Put "We'll be in touch as soon as possible." &
> > ?> > > > > When I enter data and press submit the iFrame goes blank. However, if > I rename formresponse.irev to formresponse.html everything after > 'Thanks for the feedback' including tags is displayed in the iFrame. > Now I know that the file needs to have an irev extension for the > script to run but the renaming seems to show that the output is being > aimed in the right direction - the iframe. > > Any tips and advice would be appreciated. > > Thanks > > -- > Regards > > > Ian McKnight > > iangmcknight at gmail.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 iangmcknight at gmail.com Fri Aug 13 08:47:36 2010 From: iangmcknight at gmail.com (Ian McKnight) Date: Fri, 13 Aug 2010 13:47:36 +0100 Subject: Problems displaying iRev script output in an iFrame In-Reply-To: References: Message-ID: Of course! (Sound of head slapping!) The missing quotes. Thanks very much Mike - I must write a very big sign in front of my desk to remind me :) On 13 August 2010 13:24, Mike Bonner wrote: > You can't use form elements directly in an irev script. Meaning you > can't include them between > > So for example the line: > > put "Thanks for the feedback."
>
> > Just confuses the engine. ?Since its within a to specifically "put" the tags you want, inside quotes as rev expects > things to be. Since the html tags are just text you can do: > > put "Thanks for the feedback.

" > > If you wanted to do the
seperate, you could do: > put "Thanks for the feedback." & "

" > > If you need to put several things together, follow normal rev rules. > You do this correctly with your $_POST lines, except for the trailing > "
" which should be in quotes. ?If it was just
it would > probably work because then it would be seen as a single entity, the > engine would try to interpret it as a variable, failing that would > just put out
?(I think) but since there is a space between the r > and the / it would see it as 2 separate entities and not know what to > do with the last part. ?This is an example of why you should always > quote string output. > > The fixed script portion follows: > > > put "Thanks for the feedback.

" > Put "Your information is:

" > > put "Name:"&& $_post["name"] & "

" > put "Age:"&& $_post["age"] & "

" > put "Email:"&& $_post["email"] & "

" > put "
" > Put "We'll be in touch as soon as possible." & "
" > > ?> > > > > On Fri, Aug 13, 2010 at 1:18 AM, Ian McKnight wrote: >> Hi >> >> I am experimenting with iRev scripts in my OnRev account and I am >> having difficulty in displaying the required response to data >> retrieved from a web form. >> >> I have two html pages. On one page, the home page, a simple 3 line web >> form is displayed in an iFrame. The form is in an iRev file. >> This page displays correctly. >> >> When the submit button is clicked I want to reproduce the form content >> and some other fixed text inside the same iFrame. >> >> My form action line from the iRev Form file is > action="http://mcknight.on-rev.com/onrevtest/formresponse.irev" >> method="post" name="inlineframe3"> >> >> My formResponse.irev script is >> >> >> >> > >> put "Thanks for the feedback."
>>
>> Put "Your information is:"
>>
>> >> put "Name:"&& $_post["name"] &
>>
>> put "Age:"&& $_post["age"] &
>>
>> put "Email:"&& $_post["email"] &
>>
>> >>
>> Put "We'll be in touch as soon as possible." &
>> >> ?> >> >> >> >> When I enter data and press submit the iFrame goes blank. However, if >> I rename formresponse.irev to formresponse.html everything after >> 'Thanks for the feedback' including tags is displayed in the iFrame. >> Now I know that the file needs to have an irev extension for the >> script to run but the renaming seems to show that the output is being >> aimed in the right direction - the iframe. >> >> Any tips and advice would be appreciated. >> >> Thanks >> >> -- >> Regards >> >> >> Ian McKnight >> >> iangmcknight at gmail.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 > -- Regards Ian McKnight iangmcknight at gmail.com ======================= From ambassador at fourthworld.com Fri Aug 13 12:10:48 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 13 Aug 2010 09:10:48 -0700 Subject: Revserver / Dreamhost question Message-ID: <4C656E88.8060201@fourthworld.com> stephen barncard wrote: > 1. If I want to use my own Revserver instance at Dreamhost, would I have to > get a 'Personal Server' account? I understand my shared hosting can't be > used for this. Has anyone here done this? Shared hosting should be fine. Just like the older Rev CGI engine, the only limits you'll run into with RevServer are those imposed by the hosting company for shared accounts, which should be fine for most uses. Hosts will vary in how they limit resource consumption to prevent a single account from dominating a shared CPU. For example, on-rev.com, TierraNet, and others limit processes to 30 seconds, while Dreamhost limits them to about 300 aggregate minutes per day. Which is "better" will depend on your needs (and if you ran a single process for 300 consecutive minutes you'd likely get a letter from Dreamhost asking why you need to do that ). But no matter which specific limits are used by the host, most CGIs will run quite well within them. Very few on-rev.com customers have run into these limits themselves, and I run a lot of CGIs on TierraNet, Dreamhost, and others and have never come even close them at all. As many here have noted, 30 seconds is a very long time to run a continuous process. With my CGIs I target a maximum of 5 seconds and may in some extreme cases tolerate up to 10 seconds if absolutely unavoidable, but even that's too long for my tastes; I can't have the user siting there without feedback for that long. Looking at resource averages as our guide on this, the Dreamhost support wiki says: "Average shared hosting customers normally use less than 5 CPU minutes per day for their account". When you consider the popularity of Wordpress, Drupal, Joomla, and other PHP/MySQL-driven systems, that average lends a good perspective of how even complex systems perform under normal loads. Given the speed of the Rev engine, I'd be surprised if you ever needed more than a second or two to run most things you'd want to do with it on your server. With the revJournal.com blog, the custom search engine I built for a client, and other relatively processor-intensive tasks, the Rev engine is able to do what I ask of it in a fraction of a second. But if you ever find that you do need to run unusually lengthy processes, Andre's latest article in the RevUp newsletter covers how to break up a long task into chunks that allow even a shared-hosting account to run long processes without denying performance to other accounts, and will keep your users happy with good responsiveness: > 2. If I want to use RevServer on multiple domains - is a single license > good for this? Per server, not per domain, right? My understanding is that it's per server rather than per domain. So if your Dreamhost account has a dozen domains you should be able to use RevServer on all of them, but if you also have hosting on another service you would need an additional license for that other server. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From andre at andregarzia.com Fri Aug 13 12:34:13 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 13 Aug 2010 13:34:13 -0300 Subject: Revserver / Dreamhost question In-Reply-To: <4C656E88.8060201@fourthworld.com> References: <4C656E88.8060201@fourthworld.com> Message-ID: On Fri, Aug 13, 2010 at 1:10 PM, Richard Gaskin wrote: > But if you ever find that you do need to run unusually lengthy processes, > Andre's latest article in the RevUp newsletter covers how to break up a long > task into chunks that allow even a shared-hosting account to run long > processes without denying performance to other accounts, and will keep your > users happy with good responsiveness: > > < > http://www.runrev.com/newsletter/august/issue98/newsletter2.php?id=NW098S29789 > > > Oh, Is that up already? I think I missed the newsletter... :D -- http://www.andregarzia.com All We Do Is Code. From andrew at rjdfarm.com Fri Aug 13 12:37:14 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Fri, 13 Aug 2010 09:37:14 -0700 (PDT) Subject: SoCal Rev User Group meeting: Thursday, August 19th In-Reply-To: <2A6C95C0-B81F-43C6-946D-7380E8F604A3@mac.com> References: <4C633676.1010409@fourthworld.com> <2A6C95C0-B81F-43C6-946D-7380E8F604A3@mac.com> Message-ID: <1281717434040-2324475.post@n4.nabble.com> Hmm. I wonder how many rev users are in the St. Louis-ish area that would be interested in something similar. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/SoCal-Rev-User-Group-meeting-Thursday-August-19th-tp2322016p2324475.html Sent from the Revolution - User mailing list archive at Nabble.com. From andre at andregarzia.com Fri Aug 13 12:39:16 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 13 Aug 2010 13:39:16 -0300 Subject: SoCal Rev User Group meeting: Thursday, August 19th In-Reply-To: <1281717434040-2324475.post@n4.nabble.com> References: <4C633676.1010409@fourthworld.com> <2A6C95C0-B81F-43C6-946D-7380E8F604A3@mac.com> <1281717434040-2324475.post@n4.nabble.com> Message-ID: Where are all the Brazilians??? On Fri, Aug 13, 2010 at 1:37 PM, Andrew Kluthe wrote: > > Hmm. I wonder how many rev users are in the St. Louis-ish area that would > be > interested in something similar. > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/SoCal-Rev-User-Group-meeting-Thursday-August-19th-tp2322016p2324475.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 mikekann at yahoo.com Fri Aug 13 12:40:58 2010 From: mikekann at yahoo.com (Michael Kann) Date: Fri, 13 Aug 2010 09:40:58 -0700 (PDT) Subject: Revserver / Dreamhost question In-Reply-To: <4C656E88.8060201@fourthworld.com> Message-ID: <366241.31539.qm@web56705.mail.re3.yahoo.com> Richard and Stephen, I'm still confused as to the difference between using revServer and using the 3.5 engine. My mental model is that when the apache webserver sees a script with an irev extension it sends it over to the 3.5 engine to parse it. The 3.5 engine sends back some html to push out the door to the browser in Glendale. Apache and the 3.5 engine work together to allow us to use irev scripts. Does the revServer work with Apache to do the same thing? In short, why RevServer instead of the 3.5 engine? Mike --- On Fri, 8/13/10, Richard Gaskin wrote: From: Richard Gaskin Subject: Re: Revserver / Dreamhost question To: "How to use Revolution" Date: Friday, August 13, 2010, 11:10 AM stephen barncard wrote: > 1.? If I want to use my own Revserver instance at Dreamhost, would I have to > get a 'Personal Server' account?? I understand my shared hosting can't be > used for this. Has anyone here done this? Shared hosting should be fine.???Just like the older Rev CGI engine, the only limits you'll run into with RevServer are those imposed by the hosting company for shared accounts, which should be fine for most uses. Hosts will vary in how they limit resource consumption to prevent a single account from dominating a shared CPU.? For example, on-rev.com, TierraNet, and others limit processes to 30 seconds, while Dreamhost limits them to about 300 aggregate minutes per day. Which is "better" will depend on your needs (and if you ran a single process for 300 consecutive minutes you'd likely get a letter from Dreamhost asking why you need to do that ).? But no matter which specific limits are used by the host, most CGIs will run quite well within them.? Very few on-rev.com customers have run into these limits themselves, and I run a lot of CGIs on TierraNet, Dreamhost, and others and have never come even close them at all. As many here have noted, 30 seconds is a very long time to run a continuous process.? With my CGIs I target a maximum of 5 seconds and may in some extreme cases tolerate up to 10 seconds if absolutely unavoidable, but even that's too long for my tastes; I can't have the user siting there without feedback for that long. Looking at resource averages as our guide on this, the Dreamhost support wiki says: "Average shared hosting customers normally use less than 5 CPU minutes per day for their account".? When you consider the popularity of Wordpress, Drupal, Joomla, and other PHP/MySQL-driven systems, that average lends a good perspective of how even complex systems perform under normal loads. Given the speed of the Rev engine, I'd be surprised if you ever needed more than a second or two to run most things you'd want to do with it on your server.? With the revJournal.com blog, the custom search engine I built for a client, and other relatively processor-intensive tasks, the Rev engine is able to do what I ask of it in a fraction of a second. But if you ever find that you do need to run unusually lengthy processes, Andre's latest article in the RevUp newsletter covers how to break up a long task into chunks that allow even a shared-hosting account to run long processes without denying performance to other accounts, and will keep your users happy with good responsiveness: > 2. If I want to use RevServer on multiple domains -? is a? single license > good for this? Per server, not per domain, right? My understanding is that it's per server rather than per domain. So if your Dreamhost account has a dozen domains you should be able to use RevServer on all of them, but if you also have hosting on another service you would need an additional license for that other server. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv _______________________________________________ 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 Aug 13 12:47:33 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 13 Aug 2010 13:47:33 -0300 Subject: Revserver / Dreamhost question In-Reply-To: <366241.31539.qm@web56705.mail.re3.yahoo.com> References: <4C656E88.8060201@fourthworld.com> <366241.31539.qm@web56705.mail.re3.yahoo.com> Message-ID: Mike, There is some confusion in there. RevServer engine and 3.5 engine are different things. While if you configured your apache correctly you can make it invoke one engine or the other depending on your choices, on my server I have .irev files mapped to RevServer and .CGI files mapped to whoever runs them (usually a she-bang line on top). RevServer engine has more features than 3.5 engine. It allows you to mix and match RevTalk and HTML, so things like this become possible:

Count from 1 to 10

Such construct is not possible with 3.5 engine. Also RevServer has the cool $_POST and $_GET globals that parse the CGI stuff for you. With 3.5, you need to do all this parsing by hand. RevServer has additional commands such as "put [new] header" for sending HTTP headers and is able to include additional files with the include command. All of those are not available to 3.5 engine. Hope this helps andre On Fri, Aug 13, 2010 at 1:40 PM, Michael Kann wrote: > Richard and Stephen, > > I'm still confused as to the difference between using revServer and using > the 3.5 engine. My mental model is that when the apache webserver sees a > script with an irev extension it sends it over to the 3.5 engine to parse > it. The 3.5 engine sends back some html to push out the door to the browser > in Glendale. Apache and the 3.5 engine work together to allow us to use irev > scripts. Does the revServer work with Apache to do the same thing? > > In short, why RevServer instead of the 3.5 engine? > > Mike > > > > > > --- On Fri, 8/13/10, Richard Gaskin wrote: > > From: Richard Gaskin > Subject: Re: Revserver / Dreamhost question > To: "How to use Revolution" > Date: Friday, August 13, 2010, 11:10 AM > > stephen barncard wrote: > > > 1. If I want to use my own Revserver instance at Dreamhost, would I have > to > > get a 'Personal Server' account? I understand my shared hosting can't be > > used for this. Has anyone here done this? > > Shared hosting should be fine. Just like the older Rev CGI engine, the > only limits you'll run into with RevServer are those imposed by the hosting > company for shared accounts, which should be fine for most uses. > > Hosts will vary in how they limit resource consumption to prevent a single > account from dominating a shared CPU. For example, on-rev.com, TierraNet, > and others limit processes to 30 seconds, while Dreamhost limits them to > about 300 aggregate minutes per day. > > Which is "better" will depend on your needs (and if you ran a single > process for 300 consecutive minutes you'd likely get a letter from Dreamhost > asking why you need to do that ). But no matter which specific limits > are used by the host, most CGIs will run quite well within them. Very few > on-rev.com customers have run into these limits themselves, and I run a > lot of CGIs on TierraNet, Dreamhost, and others and have never come even > close them at all. > > As many here have noted, 30 seconds is a very long time to run a continuous > process. With my CGIs I target a maximum of 5 seconds and may in some > extreme cases tolerate up to 10 seconds if absolutely unavoidable, but even > that's too long for my tastes; I can't have the user siting there without > feedback for that long. > > Looking at resource averages as our guide on this, the Dreamhost support > wiki says: "Average shared hosting customers normally use less than 5 CPU > minutes per day for their account". When you consider the popularity of > Wordpress, Drupal, Joomla, and other PHP/MySQL-driven systems, that average > lends a good perspective of how even complex systems perform under normal > loads. > > Given the speed of the Rev engine, I'd be surprised if you ever needed more > than a second or two to run most things you'd want to do with it on your > server. With the revJournal.com blog, the custom search engine I built for > a client, and other relatively processor-intensive tasks, the Rev engine is > able to do what I ask of it in a fraction of a second. > > But if you ever find that you do need to run unusually lengthy processes, > Andre's latest article in the RevUp newsletter covers how to break up a long > task into chunks that allow even a shared-hosting account to run long > processes without denying performance to other accounts, and will keep your > users happy with good responsiveness: > > < > http://www.runrev.com/newsletter/august/issue98/newsletter2.php?id=NW098S29789 > > > > > > 2. If I want to use RevServer on multiple domains - is a single license > > good for this? Per server, not per domain, right? > > My understanding is that it's per server rather than per domain. So if your > Dreamhost account has a dozen domains you should be able to use RevServer on > all of them, but if you also have hosting on another service you would need > an additional license for that other server. > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > 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 stephenREVOLUTION2 at barncard.com Fri Aug 13 12:58:16 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 13 Aug 2010 09:58:16 -0700 Subject: Revserver / Dreamhost question In-Reply-To: <4C656E88.8060201@fourthworld.com> References: <4C656E88.8060201@fourthworld.com> Message-ID: Thanks , Richard. sqb On 13 August 2010 09:10, Richard Gaskin wrote: > stephen barncard wrote: > > 1. If I want to use my own Revserver instance at Dreamhost, would I have >> to >> get a 'Personal Server' account? I understand my shared hosting can't be >> used for this. Has anyone here done this? >> > > Shared hosting should be fine. Just like the older Rev CGI engine, the > only limits you'll run into with RevServer are those imposed by the hosting > company for shared accounts, which should be fine for most uses. > Stephen Barncard San Francisco Ca. USA more about sqb From bobs at twft.com Fri Aug 13 13:25:44 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 13 Aug 2010 10:25:44 -0700 Subject: SoCal Rev User Group meeting: Thursday, August 19th In-Reply-To: References: <4C633676.1010409@fourthworld.com> <2A6C95C0-B81F-43C6-946D-7380E8F604A3@mac.com> <1281717434040-2324475.post@n4.nabble.com> Message-ID: <550DD324-6049-4D64-9633-CF33148E9F43@twft.com> Pay for my transportation and accommodations and I am there! Bob On Aug 13, 2010, at 9:39 AM, Andre Garzia wrote: > Where are all the Brazilians??? > > On Fri, Aug 13, 2010 at 1:37 PM, Andrew Kluthe wrote: > >> >> Hmm. I wonder how many rev users are in the St. Louis-ish area that would >> be >> interested in something similar. >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/SoCal-Rev-User-Group-meeting-Thursday-August-19th-tp2322016p2324475.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 From jacque at hyperactivesw.com Fri Aug 13 13:38:49 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 13 Aug 2010 12:38:49 -0500 Subject: Printing/ Email error in Standalone Application In-Reply-To: References: Message-ID: <4C658329.5040107@hyperactivesw.com> On 8/13/10 3:13 AM, Brent Summerton wrote: > Or the User then sends via Email with a Button. > on mouseUp > Answer "Email now or wait until you have completed ALL Modules?" with "Send" and "Wait" > If it is "Send" then send EmailResults This command goes nowhere. You need a target for the "send", otherwise it goes to the engine, which doesn't know what to do with the email results and just discards the instruction. I don't see any handlers in your script to actually deal with email. But "send" isn't the right command here anyway. You need to use "revmail" or "launch url" with a mailto url. See the dictionary for examples under either of those commands. > I have spent over three months trying to resolve this issue > and I am getting frustrated. Next time don't wait so long to ask. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Aug 13 13:40:48 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 13 Aug 2010 12:40:48 -0500 Subject: Multiple revCursors stacks In-Reply-To: References: Message-ID: <4C6583A0.1000701@hyperactivesw.com> On 8/12/10 2:59 PM, Hershel Fisch wrote: > I also realize that I have two "revHelpPopup" substacks, under the > revDocumentation stack and under the "revMenuBar" stack, which one has to be > deleted and which one is the correct one. I see it since version 3.504 dp-4. > Prior to the above version its only urder the revMenuBar? > It effects when you press the "restore development tool" btn. I also see both of those, so I assume they are both necessary. If you're getting an error about it, the problem is likely in your stack. Better check it for copies of that popup stack. In fact, check your stack for any substacks that start with "rev", since none of them should be there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From psahores at free.fr Fri Aug 13 14:07:16 2010 From: psahores at free.fr (Pierre Sahores) Date: Fri, 13 Aug 2010 20:07:16 +0200 Subject: Revserver / Dreamhost question In-Reply-To: <4C656E88.8060201@fourthworld.com> References: <4C656E88.8060201@fourthworld.com> Message-ID: Hej Richard, Thanks for your post ! About some more on-rev related feed-back : Before going head with professional grade projects targeting the revServer and/or On-Rev options, i used woooooooords.com as a purely test needs platform and the results are, in practice, feeting as well as needed the expectations. The average response time of woooooooords.com remained stable at 4020 ms per request over the last 12 months (at this point : 22 000 MySQL xml-stored games files with no negative impact at all on the speed execution witch remains exactly the same than when there was only 10 xml-stored games behind - on year ago, a Java applet, a revPlugin, MySQL driven secure two-level authentication, an unoptimized 270 ko irev scripts lib, etc...). Kind Regards, Le 13 ao?t 2010 ? 18:10, Richard Gaskin a ?crit : > As many here have noted, 30 seconds is a very long time to run a continuous process. With my CGIs I target a maximum of 5 seconds and may in some extreme cases tolerate up to 10 seconds if absolutely unavoidable, but even that's too long for my tastes; I can't have the user siting there without feedback for that long. > > Looking at resource averages as our guide on this, the Dreamhost support wiki says: "Average shared hosting customers normally use less than 5 CPU minutes per day for their account". When you consider the popularity of Wordpress, Drupal, Joomla, and other PHP/MySQL-driven systems, that average lends a good perspective of how even complex systems perform under normal loads. > > Given the speed of the Rev engine, I'd be surprised if you ever needed more than a second or two to run most things you'd want to do with it on your server. With the revJournal.com blog, the custom search engine I built for a client, and other relatively processor-intensive tasks, the Rev engine is able to do what I ask of it in a fraction of a second. -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From gregory.lypny at videotron.ca Fri Aug 13 17:08:50 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Fri, 13 Aug 2010 17:08:50 -0400 Subject: Trouble Setting Cookies In-Reply-To: <20100813170004.10B3D2880EF@mail.runrev.com> References: <20100813170004.10B3D2880EF@mail.runrev.com> Message-ID: <9961D6A4-4990-447D-ABD6-7E24FEF80FF5@videotron.ca> Hi Andre, Thanks for responding. I'm afraid I'm not familiar with curl. I installed FireBug but I'm not clear on how to use it. I'm not an experienced web developer. My server is On-Rev. This afternoon I tried something even simpler than before and that is a Submit button that executes this script: On a page called "test.irev", I have an HTML object that executes the following (via "include") when the page is loaded: Once again "myCookie" is not among the cookies shown on "test.irev" when that page is visited after setting the cookie. I checked my error log at On_Rev and found the following. I don't understand why is says that the file "test.irev" does not exist when the page was, in fact, loaded! [Fri Aug 13 15:54:14 2010] [error] [client myIP] File does not exist: /home/myDomain/public_html/404.shtml, referer: http://myDomain.on-rev.com/test.irev [Fri Aug 13 15:54:14 2010] [error] [client myIP] File does not exist: /home/myDomain/public_html/favicon.ico, referer: http://myDomain.on-rev.com/test.irev I'm getting the sinking feeling that I should be looking at alternatives to cookies for managing sessions with my users. Regards, Gregory On Fri, Aug 13, 2010, at 1:00 PM, Andre wrote: > Gregory, > > Can you do a curl to your host and glue the answer? We need to check if the > Set-Cookies headers are actually comming thru. > > Andre > PS: Using firebug to inspect the request is also ok. > > On Thu, Aug 12, 2010 at 5:59 PM, Gregory Lypny > wrote: > >> Hello everyone, >> >> Having trouble setting my first cookies at On-Rev. My iRev script pulls in >> a page template and puts it into a variable called thePage. thePage starts >> with the usual stuff, such as >> >> > http://www.w3.org/TR/html4/loose.dtd"> >> >> >> >> Sign In >> >> My feeble understanding of setting cookies is that I must send off the >> request before I load the page, so I created a simple cookie like this >> >> put "myCookie=" into theCookie >> put 6666 after theCookie >> >> I then sent if off with >> >> put new header ("Set-Cookie:" && theCookie) >> >> and then immediately followed with >> >> put thePage >> >> But the cookie does not appear in Safari's cookie listing or by checking >> $_SERVER["HTTP_COOKIE"]. The latter, however, gives me two cookies set by . >> revolutionss.com, which presumably has something to do with my On-Rev >> account. >> >> I also tried Andre Garzia's function >> >> setCookie "myCookie",6666 >> >> but struck out there too. What am I doing wrong? >> >> Regards, >> >> Gregory From andre at andregarzia.com Fri Aug 13 19:18:50 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 13 Aug 2010 20:18:50 -0300 Subject: Trouble Setting Cookies In-Reply-To: <9961D6A4-4990-447D-ABD6-7E24FEF80FF5@videotron.ca> References: <20100813170004.10B3D2880EF@mail.runrev.com> <9961D6A4-4990-447D-ABD6-7E24FEF80FF5@videotron.ca> Message-ID: Gregory, If possible, send me the url for the offending page, let me look at the headers. cookies are annoying believe me. For example, I think you might need a space between the colon and the cookie key name... (an && instead of &) Andre On Fri, Aug 13, 2010 at 6:08 PM, Gregory Lypny wrote: > Hi Andre, > > Thanks for responding. > > I'm afraid I'm not familiar with curl. I installed FireBug but I'm not > clear on how to use it. I'm not an experienced web developer. My server is > On-Rev. > > This afternoon I tried something even simpler than before and that is a > Submit button that executes this script: > > put new header "Set-Cookie: " & "myCookie" & "=" & 666 & ";path=/" > put "Done." && the long date && the long time into thePage > put thePage > ?> > > On a page called "test.irev", I have an HTML object that executes the > following (via "include") when the page is loaded: > > put $_SERVER["HTTP_COOKIE"] into theCookies > put theCookies > ?> > > Once again "myCookie" is not among the cookies shown on "test.irev" when > that page is visited after setting the cookie. > > I checked my error log at On_Rev and found the following. I don't > understand why is says that the file "test.irev" does not exist when the > page was, in fact, loaded! > > [Fri Aug 13 15:54:14 2010] [error] [client myIP] File does not exist: > /home/myDomain/public_html/404.shtml, referer: > http://myDomain.on-rev.com/test.irev > [Fri Aug 13 15:54:14 2010] [error] [client myIP] File does not exist: > /home/myDomain/public_html/favicon.ico, referer: > http://myDomain.on-rev.com/test.irev > > I'm getting the sinking feeling that I should be looking at alternatives to > cookies for managing sessions with my users. > > Regards, > > Gregory > > > > > On Fri, Aug 13, 2010, at 1:00 PM, Andre wrote: > > > Gregory, > > > > Can you do a curl to your host and glue the answer? We need to check if > the > > Set-Cookies headers are actually comming thru. > > > > Andre > > PS: Using firebug to inspect the request is also ok. > > > > On Thu, Aug 12, 2010 at 5:59 PM, Gregory Lypny > > wrote: > > > >> Hello everyone, > >> > >> Having trouble setting my first cookies at On-Rev. My iRev script pulls > in > >> a page template and puts it into a variable called thePage. thePage > starts > >> with the usual stuff, such as > >> > >> >> http://www.w3.org/TR/html4/loose.dtd"> > >> > >> > >> > >> Sign In > >> > >> My feeble understanding of setting cookies is that I must send off the > >> request before I load the page, so I created a simple cookie like this > >> > >> put "myCookie=" into theCookie > >> put 6666 after theCookie > >> > >> I then sent if off with > >> > >> put new header ("Set-Cookie:" && theCookie) > >> > >> and then immediately followed with > >> > >> put thePage > >> > >> But the cookie does not appear in Safari's cookie listing or by checking > >> $_SERVER["HTTP_COOKIE"]. The latter, however, gives me two cookies set > by . > >> revolutionss.com, which presumably has something to do with my On-Rev > >> account. > >> > >> I also tried Andre Garzia's function > >> > >> setCookie "myCookie",6666 > >> > >> but struck out there too. What am I doing wrong? > >> > >> Regards, > >> > >> Gregory > > _______________________________________________ > 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 peterwawood at gmail.com Fri Aug 13 19:39:59 2010 From: peterwawood at gmail.com (Peter W A Wood) Date: Sat, 14 Aug 2010 07:39:59 +0800 Subject: Revserver / Dreamhost question In-Reply-To: <4C656E88.8060201@fourthworld.com> References: <4C656E88.8060201@fourthworld.com> Message-ID: <3BCF082A-10B8-499C-9C07-76AFFE08EB95@gmail.com> Richard On 14 Aug 2010, at 00:10, Richard Gaskin wrote: > As many here have noted, 30 seconds is a very long time to run a continuous process. With my CGIs I target a maximum of 5 seconds and may in some extreme cases tolerate up to 10 seconds if absolutely unavoidable, but even that's too long for my tastes; I can't have the user siting there without feedback for that long. After reading this I wasn't clear whether the 30 second per process limit was imposed on CPU usage or elapsed time. I ran the following test that confirms it is CPU usage. The iRev file: I started at" && the date && the time && "

" wait 120 seconds put "

I finished at" && the date && the time && "

" ?> The result: I started at 8/13/10 6:30 PM I finished at 8/13/10 6:32 PM Personally, I think a 30 second cpu usage limit per process to avoid looping process is very reasonable and should rarely be an issue when serving web pages. It could possibly be restrictive for server based tasks though. Regards Peter From gcanyon+rev at gmail.com Sat Aug 14 01:32:30 2010 From: gcanyon+rev at gmail.com (Geoff Canyon Rev) Date: Sat, 14 Aug 2010 00:32:30 -0500 Subject: [HELP] anyone have a simple handler to add a control to a group programatically? In-Reply-To: <4C64400D.3070301@hyperactivesw.com> References: <20100812040139.AEBF32883B3@mail.runrev.com> <5F9FB8FA-F0DD-46EA-89E2-D598E613F64D@mollysrevenge.com> <93A449FA-CADE-467A-B3B8-4B2468DFDF29@gmail.com> <4C64400D.3070301@hyperactivesw.com> Message-ID: revNavigator hasn't been updated for several versions, so it's entirely possible that the dev environment has changed since I wrote it. Or I might just have done a bad job with it ;-) That said it still works -- I don't do much work with Rev anymore, but when I do I couldn't live without it. While I'm thinking about it, I hereby declare revNavigator to be free for anyone to use. gc On Thu, Aug 12, 2010 at 1:40 PM, J. Landman Gay wrote: > On 8/12/10 1:23 PM, Peter Brigham MD wrote: >> >> On Aug 12, 2010, at 11:28 AM, Peter Haworth wrote: >> >>> Thanks for the tip on revNavigator, just tried it out and seems to >>> work most of the time but I did find a few instances of the changes I >>> made in it not being reflected in the Application Browser. >> >> The Application Browser sometimes doesn't update until you click the >> little round circular-arrows button at the bottom of its window. I >> haven't found what the recipe is for when it updates or not -- this is >> not just when using revNavigator -- but if something isn't the way I >> expect it to be in the A.B. I always click the refresh button before >> getting worried. > > It probably relies on certain system messages being sent. If a plugin > doesn't pass those messages then the app browser won't know anything is > different and won't update. > > -- > 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 support at ahsomme.com Sat Aug 14 10:45:06 2010 From: support at ahsomme.com (Paul Looney) Date: Sat, 14 Aug 2010 07:45:06 -0700 Subject: revNavigator In-Reply-To: References: <20100812040139.AEBF32883B3@mail.runrev.com> <5F9FB8FA-F0DD-46EA-89E2-D598E613F64D@mollysrevenge.com> <93A449FA-CADE-467A-B3B8-4B2468DFDF29@gmail.com> <4C64400D.3070301@hyperactivesw.com> Message-ID: I use revNavigator all the time. It works fine with Rev 4.0 - and all versions back to 1.1. I'm glad Geoff has been willing and able to put all the work into this that he has, it has been indispensable. Thanks again Geoff. Paul Looney On Aug 13, 2010, at 10:32 PM, Geoff Canyon Rev wrote: > revNavigator hasn't been updated for several versions, so it's > entirely possible that the dev environment has changed since I wrote > it. Or I might just have done a bad job with it ;-) That said it still > works -- I don't do much work with Rev anymore, but when I do I > couldn't live without it. > > While I'm thinking about it, I hereby declare revNavigator to be free > for anyone to use. > > gc From gregory.lypny at videotron.ca Sat Aug 14 19:26:04 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Sat, 14 Aug 2010 19:26:04 -0400 Subject: Trouble Setting Cookies In-Reply-To: <20100814170004.8FA2748A6C7@mail.runrev.com> References: <20100814170004.8FA2748A6C7@mail.runrev.com> Message-ID: Thank you, Andre, That's very kind of you. Go to http://pareto.on-rev.com/setcookie.irev This page has a one-button form that sets a cookie by calling a script called sSetCookie.irev. The cookie's name is testCookie and it's value is 666. Here is the script. Clicking the button takes you to http://pareto.on-rev.com/sSetCookie.irev -- (cookieResult.html) This is the page you will land on if the script in 1 above ran. It has a button that will load another page that calls a script to show what you what cookies you have from the on-rev server. The page uses an include statement in an HTML object to invoke the following script: Thanks again for having a look, Gregory On Sat, Aug 14, 2010, at 1:00 PM, use-revolution-request at lists.runrev.com wrote: > Message: 6 > Date: Fri, 13 Aug 2010 20:18:50 -0300 > From: Andre Garzia > Subject: Re: Trouble Setting Cookies > To: How to use Revolution > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Gregory, > > If possible, send me the url for the offending page, let me look at the > headers. cookies are annoying believe me. > > For example, I think you might need a space between the colon and the cookie > key name... > > (an && instead of &) > > Andre From richard.pierce at rihopi.on-rev.com Sun Aug 15 04:36:27 2010 From: richard.pierce at rihopi.on-rev.com (Richard Holton Pierce) Date: Sun, 15 Aug 2010 04:36:27 -0400 Subject: Conversion of large Hypercard Stack to Revolution Message-ID: <4C67A70B.2030104@rihopi.on-rev.com> I am not a professional programmer but had worked with Hypercard from its inception, and went over to Revolution as soon as I became aware of its existence. I have been able to convert most of my stacks flawlessly, with one exception. In the late 1990s I produced a stack for a research project in Russian which contained 119,000 cards (sic!). It has become necessary to reactivate this stack, and to convert it to Revolution Enterprise 4.5 I have followed the prescribed Revolution procedure. After conversion, all the functions I had built into the stack work as they should, but the converted stack contains only 28,005 cards. Is there a built-in limit on how many cards a conversion can accommodate? Is there a work-around? Any advice appreciated. Hopefully, Richard Pierce -- Richard Holton Pierce Professor of Egyptology University of Bergen (Ret.) richard.pierce at rihopi.on-rev.com richard.pierce at uib.no richard at pierce.no From jimaultwins at yahoo.com Sun Aug 15 05:06:08 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Sun, 15 Aug 2010 02:06:08 -0700 Subject: Conversion of large Hypercard Stack to Revolution In-Reply-To: <4C67A70B.2030104@rihopi.on-rev.com> References: <4C67A70B.2030104@rihopi.on-rev.com> Message-ID: <7FD334B1-4C59-4B43-8657-40FCD2EC79BE@yahoo.com> I would recommend doing some sort of audit trail on the two versions, such as Version running in Hypercard: repeat with x = 1 to the number of cards go card x put the short id of this card & "^" & the name of this card & cr after masterList end repeat put the number of lines in masterList into cardCount put the short date && the short time & cr before masterList put "Master List of Card Details - " & cardCount & cr before masterList put masterList into url ("file:CardIdAndNameList.txt") ----------- Then do the same for your converted stack and see if there is a pattern, such as duplicate card names, or background definitions that don't exist, etc. Of course, with Hypercard, there is always the possibility of a corrupted stack. I used to do many recoveries back in the day, especially on the Rodime 140 hard drives. This is why I used the "go to card x" step. If that fails, then it will be a clue about the health of the stack. If there is a failure with "go to card x" then try repeat with x = the number of cards down to 1 Hope his gives you some clues. Jim Ault Las Vegas On Aug 15, 2010, at 1:36 AM, Richard Holton Pierce wrote: > > I am not a professional programmer but had worked with Hypercard > from its inception, and went over to Revolution as soon as I became > aware of its existence. > > I have been able to convert most of my stacks flawlessly, with one > exception. In the late 1990s I produced a stack for a research > project in Russian which contained 119,000 cards (sic!). It has > become necessary to reactivate this stack, and to convert it to > Revolution Enterprise 4.5 I have followed the prescribed Revolution > procedure. After conversion, all the functions I had built into the > stack work as they should, but the converted stack contains only > 28,005 cards. > > Is there a built-in limit on how many cards a conversion can > accommodate? > > Is there a work-around? > > Any advice appreciated. > > Hopefully, > > Richard Pierce > > -- > Richard Holton Pierce > Professor of Egyptology From m.schonewille at economy-x-talk.com Sun Aug 15 06:09:33 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 15 Aug 2010 12:09:33 +0200 Subject: Conversion of large Hypercard Stack to Revolution In-Reply-To: <4C67A70B.2030104@rihopi.on-rev.com> References: <4C67A70B.2030104@rihopi.on-rev.com> Message-ID: Hi Richard, According to the documentation, the number of cards in a Revolution stack is only limited by the amount of available memory. I can imagine that a stack with 119000 cards becomes rather big once converted to Revolution. Perhaps it indeed doesn't fit in memory. It is also possible that one card is corrupted, but usually this causes Revolution to fail importing the entire stack. If you are using a very old version of HyperCard, it might help to convert it to HyperCard 2.3 or 2.4.1 before opening your stack in Revolution. Compacting your stack might also help. A few years ago, I created a HyperCard utility, which allows for recovering corrupted stacks and seems to work very well. It can also cut your stack into smaller pieces. This utility is called Split & Recover. It is freeware and you can find it here http://qurl.tk/ey . You will need a machine with Mac OS 9 to run this utility. There's another utility, called DIFfersifier, which extracts the data from your stack. It won't work with corrupted stacks and you might need to run Split & Recover before using DIFfersifier. DIFfersifier works on Mac OS X, Windows and Linux. You can find this utility here . -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 15 aug 2010, at 10:36, Richard Holton Pierce wrote: > > I am not a professional programmer but had worked with Hypercard from its inception, and went over to Revolution as soon as I became aware of its existence. > > I have been able to convert most of my stacks flawlessly, with one exception. In the late 1990s I produced a stack for a research project in Russian which contained 119,000 cards (sic!). It has become necessary to reactivate this stack, and to convert it to Revolution Enterprise 4.5 I have followed the prescribed Revolution procedure. After conversion, all the functions I had built into the stack work as they should, but the converted stack contains only 28,005 cards. > > Is there a built-in limit on how many cards a conversion can accommodate? > > Is there a work-around? > > Any advice appreciated. > > Hopefully, > > Richard Pierce From m.schonewille at economy-x-talk.com Sun Aug 15 06:14:26 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 15 Aug 2010 12:14:26 +0200 Subject: Conversion of large Hypercard Stack to Revolution In-Reply-To: References: <4C67A70B.2030104@rihopi.on-rev.com> Message-ID: <47BE220C-6CE5-4089-AE80-DF10F0DE1E56@economy-x-talk.com> Sorry for messing up the link in my previous post. > Hi Richard, > > According to the documentation, the number of cards in a Revolution stack is only limited by the amount of available memory. I can imagine that a stack with 119000 cards becomes rather big once converted to Revolution. Perhaps it indeed doesn't fit in memory. It is also possible that one card is corrupted, but usually this causes Revolution to fail importing the entire stack. > > If you are using a very old version of HyperCard, it might help to convert it to HyperCard 2.3 or 2.4.1 before opening your stack in Revolution. Compacting your stack might also help. > > A few years ago, I created a HyperCard utility, which allows for recovering corrupted stacks and seems to work very well. It can also cut your stack into smaller pieces. This utility is called Split & Recover. It is freeware and you can find it here http://qurl.tk/ey . You will need a machine with Mac OS 9 to run this utility. > > There's another utility, called DIFfersifier, which extracts the data from your stack. It won't work with corrupted stacks and you might need to run Split & Recover before using DIFfersifier. DIFfersifier works on Mac OS X, Windows and Linux. You can find this utility here . > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > From 15th August, we'll have time for new projects! Be the first in line and contact me now! > > Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce > > On 15 aug 2010, at 10:36, Richard Holton Pierce wrote: > >> >> I am not a professional programmer but had worked with Hypercard from its inception, and went over to Revolution as soon as I became aware of its existence. >> >> I have been able to convert most of my stacks flawlessly, with one exception. In the late 1990s I produced a stack for a research project in Russian which contained 119,000 cards (sic!). It has become necessary to reactivate this stack, and to convert it to Revolution Enterprise 4.5 I have followed the prescribed Revolution procedure. After conversion, all the functions I had built into the stack work as they should, but the converted stack contains only 28,005 cards. >> >> Is there a built-in limit on how many cards a conversion can accommodate? >> >> Is there a work-around? >> >> Any advice appreciated. >> >> Hopefully, >> >> Richard Pierce From david at vaudevillecourt.tv Sun Aug 15 10:59:43 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Sun, 15 Aug 2010 15:59:43 +0100 Subject: Pattern recognition of basic shapes in Rev Message-ID: I'd like to emulate the behavior of some software which allows you to draw rough shapes by hand and recognises whether you want to draw a circle, triangle, rectangle etc. The tools would allow you to use the freehand pen polygon tool to sketch and then replace the sketch with an appropriately placed polygon or button. The missing algorithm is one which will take an arbitrary set of poygon points and return the recognised shape and vertices / dimensions. Any ideas where to start? From support at ahsomme.com Sun Aug 15 11:16:35 2010 From: support at ahsomme.com (Paul Looney) Date: Sun, 15 Aug 2010 08:16:35 -0700 Subject: Conversion of large Hypercard Stack to Revolution In-Reply-To: <4C67A70B.2030104@rihopi.on-rev.com> References: <4C67A70B.2030104@rihopi.on-rev.com> Message-ID: <83D250AB-876E-4051-9078-941DCE8371DB@ahsomme.com> Richard, We've done a lot of large HC to Rev conversions and have run into the same problem. 1. Make sure the original HC stack has been compacted, several times 2. Strip all NULLs before import. These can get into the data if a user has pasted text into the HC fields from Word or some other programs. It appears that Rev removes all data between the NULLs. 3. Don't use Rev cards for a large number of records, it just won't handle the information in this format as well as HC did. Move to a database - or use a text file for the data. 4. Put in some wait states ("wait 0 seconds") in your import routine to let the computer "catch up" and finish processing current information before continuing. 5. Don't try to view the information in a Rev field. This will truncate any information beyond approx 64,000 characters in a line. If you view it in a field and then put the field back into the DB, all of the truncated info will be lost. Paul Looney On Aug 15, 2010, at 1:36 AM, Richard Holton Pierce wrote: > > I am not a professional programmer but had worked with Hypercard > from its inception, and went over to Revolution as soon as I became > aware of its existence. > > I have been able to convert most of my stacks flawlessly, with one > exception. In the late 1990s I produced a stack for a research > project in Russian which contained 119,000 cards (sic!). It has > become necessary to reactivate this stack, and to convert it to > Revolution Enterprise 4.5 I have followed the prescribed Revolution > procedure. After conversion, all the functions I had built into the > stack work as they should, but the converted stack contains only > 28,005 cards. > > Is there a built-in limit on how many cards a conversion can > accommodate? > > Is there a work-around? > > Any advice appreciated. > > Hopefully, > > Richard Pierce > > -- > Richard Holton Pierce > Professor of Egyptology > University of Bergen (Ret.) > richard.pierce at rihopi.on-rev.com > richard.pierce at uib.no > richard at pierce.no > > _______________________________________________ > 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 kee at kagi.com Sun Aug 15 12:07:12 2010 From: kee at kagi.com (Kee Nethery) Date: Sun, 15 Aug 2010 09:07:12 -0700 Subject: Conversion of large Hypercard Stack to Revolution In-Reply-To: <4C67A70B.2030104@rihopi.on-rev.com> References: <4C67A70B.2030104@rihopi.on-rev.com> Message-ID: <328DA220-1887-4D40-88E5-37237A652153@kagi.com> Of course, everything everyone is recommending is against a copy of the original stack. Make a copy, try something, like a compact, and then save that copy. Then use that copy and do a second compact, save that copy, etc. When doing this kind of recover I normally keep a log of the versions and what their lineage is. I agree with the "go to card x" test for every card. If you cannot go to every card, you've got a corrupted stack. I've typically found it is a single card and I can grab the rest of the stack by advancing from the first card to the bad card, and then once that dies, advancing from the last card to the bad card. I typically have an exporter pulling all the scripts and card and field definitions for each card into a text file (one per card works for me). Later I build the framework in RunRev and then spin through the text files and import the data into that framework. I've opened stacks with text editors and have used that to extract data and scripts from the bad cards. The idea of removing NULL characters from the stack using a text editor is not something I've tried before but it seems like it is worth a try. I've found TexEdit to work quite well when opening large stacks. I've not tried TextWrangler or BBEdit but I'm guessing they too can handle mega large files. Sounds like as a last resort you could hire someone (not me) on this list to do the conversion for you. Good luck, Kee Nethery From randall at randallreetz.com Sun Aug 15 12:55:18 2010 From: randall at randallreetz.com (Randall Reetz) Date: Sun, 15 Aug 2010 09:55:18 -0700 Subject: Pattern recognition of basic shapes in Rev Message-ID: <20100815165520.LZZA14208.schemailmta01.cingularme.com@Inbox> Yes, the missing algorithm. From jacque at hyperactivesw.com Sun Aug 15 13:13:47 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 15 Aug 2010 12:13:47 -0500 Subject: Conversion of large Hypercard Stack to Revolution In-Reply-To: <7FD334B1-4C59-4B43-8657-40FCD2EC79BE@yahoo.com> References: <4C67A70B.2030104@rihopi.on-rev.com> <7FD334B1-4C59-4B43-8657-40FCD2EC79BE@yahoo.com> Message-ID: <4C68204B.9050509@hyperactivesw.com> On 8/15/10 4:06 AM, Jim Ault wrote: > I would recommend doing some sort of audit trail on the two versions, > such as > > Version running in Hypercard: > > repeat with x = 1 to the number of cards > go card x > put the short id of this card & "^" & the name of this card & cr after > masterList > end repeat > > put the number of lines in masterList into cardCount > put the short date && the short time & cr before masterList > put "Master List of Card Details - " & cardCount & cr before masterList > put masterList into url ("file:CardIdAndNameList.txt") Just for the record, the "put into url" syntax isn't supported by HC, you have to do the open/read/write file dance. But in this case I wouldn't even try converting the stack, it's just too big. Instead I'd export all the data to text files from within HC. Then I'd make a new mainstack in Rev and see if I could import. Or, you can make a one-card version of your stack in HC by saving the original as a copy using the current background. Then try importing that into Rev. A one-card stack will import fine. But with that many cards I wouldn't recommend importing at all, the stack will not function very smoothly. I'd move the data to outside storage (files or database) and read in whatever is needed dynamically. In general, because the whole stack needs to load into RAM, Rev stacks shouldn't really contain more than a few thousand cards for optimal performance. How many a "few" is will depend on how much data each card contains and how many objects. A rough rule-of-thumb figure is around 5,000 cards. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Sun Aug 15 14:38:12 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 15 Aug 2010 20:38:12 +0200 Subject: Conversion of large Hypercard Stack to Revolution In-Reply-To: <83D250AB-876E-4051-9078-941DCE8371DB@ahsomme.com> References: <4C67A70B.2030104@rihopi.on-rev.com> <83D250AB-876E-4051-9078-941DCE8371DB@ahsomme.com> Message-ID: <8ACFF445-7A56-49BA-AC46-AC3D6CE7BE10@economy-x-talk.com> Hi, "wait 0 secs" really should be "wait 0 secs with messages" to have the effect you want. Stripping the NULLs is an interesting idea, but there is no way to do this inside of HC as far as I know and removing _ALL_ NULLs might break the stack. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 15 aug 2010, at 17:16, Paul Looney wrote: > Richard, > We've done a lot of large HC to Rev conversions and have run into the same problem. > 1. Make sure the original HC stack has been compacted, several times > 2. Strip all NULLs before import. These can get into the data if a user has pasted text into the HC fields from Word or some other programs. It appears that Rev removes all data between the NULLs. > 3. Don't use Rev cards for a large number of records, it just won't handle the information in this format as well as HC did. Move to a database - or use a text file for the data. > 4. Put in some wait states ("wait 0 seconds") in your import routine to let the computer "catch up" and finish processing current information before continuing. > 5. Don't try to view the information in a Rev field. This will truncate any information beyond approx 64,000 characters in a line. If you view it in a field and then put the field back into the DB, all of the truncated info will be lost. > Paul Looney From support at ahsomme.com Sun Aug 15 14:54:13 2010 From: support at ahsomme.com (Paul Looney) Date: Sun, 15 Aug 2010 11:54:13 -0700 Subject: Conversion of large Hypercard Stack to Revolution In-Reply-To: <8ACFF445-7A56-49BA-AC46-AC3D6CE7BE10@economy-x-talk.com> References: <4C67A70B.2030104@rihopi.on-rev.com> <83D250AB-876E-4051-9078-941DCE8371DB@ahsomme.com> <8ACFF445-7A56-49BA-AC46-AC3D6CE7BE10@economy-x-talk.com> Message-ID: <3ACB82C5-645C-4404-9398-2AD73EF367F0@ahsomme.com> Yes, Mark, "wait 0 secs with messages" is better. The "NULL Hypothesis" is a bit strange but we have encountered many problems (data disappearing, sorts not working right, filters filtering too much) all of which were fixed by striping NULLs from the data before performing the action. Now it is always one of the first things we do. I was suggesting removing the NULLs either from each record as it is imported to the text file - or removing the NULLs from the text file before using it with Rev. I agree that it would be a bad idea to removed NULLs from the HC stack directly. Sorry I didn't make that clearer. Paul Looney On Aug 15, 2010, at 11:38 AM, Mark Schonewille wrote: > Hi, > > "wait 0 secs" really should be "wait 0 secs with messages" to have > the effect you want. > > Stripping the NULLs is an interesting idea, but there is no way to > do this inside of HC as far as I know and removing _ALL_ NULLs > might break the stack. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > From 15th August, we'll have time for new projects! Be the first in > line and contact me now! > > Download the Installer Maker plugin for Runtime Revolution at > http://qurl.tk/ce > > On 15 aug 2010, at 17:16, Paul Looney wrote: > >> Richard, >> We've done a lot of large HC to Rev conversions and have run into >> the same problem. >> 1. Make sure the original HC stack has been compacted, several times >> 2. Strip all NULLs before import. These can get into the data if a >> user has pasted text into the HC fields from Word or some other >> programs. It appears that Rev removes all data between the NULLs. >> 3. Don't use Rev cards for a large number of records, it just >> won't handle the information in this format as well as HC did. >> Move to a database - or use a text file for the data. >> 4. Put in some wait states ("wait 0 seconds") in your import >> routine to let the computer "catch up" and finish processing >> current information before continuing. >> 5. Don't try to view the information in a Rev field. This will >> truncate any information beyond approx 64,000 characters in a >> line. If you view it in a field and then put the field back into >> the DB, all of the truncated info will be lost. >> Paul Looney > > > _______________________________________________ > 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 Sun Aug 15 19:35:37 2010 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 15 Aug 2010 20:35:37 -0300 Subject: Trouble Setting Cookies In-Reply-To: References: <20100814170004.8FA2748A6C7@mail.runrev.com> Message-ID: > Go to http://pareto.on-rev.com/setcookie.irev > > This page has a one-button form that sets a cookie by calling a script > called sSetCookie.irev. The cookie's name is testCookie and it's value is > 666. Here is the script. > > put "Set-Cookie:" && "testCookie" & "=" & 666 & ";path=/" into theCookie > put new header theCookie > > put url ("file:cookieResult.html") into thePage > > put "Done." && the long date && the long time into theMessage > replace "{message}" with theMessage in thePage > put thePage > ?> > Gregory, The POST operation is not setting the cookie. As you can see here: http://andregarzia.com/shots/Cookie_Result-20100815-203217.jpg The set-cookie header is not coming thru. Try loosing the path part, it might be confusing the browser. Tricky tricky tricky. :-/ (PS: also try put header instead of put new header) -- http://www.andregarzia.com All We Do Is Code. From massung at gmail.com Sun Aug 15 20:11:39 2010 From: massung at gmail.com (Jeff Massung) Date: Sun, 15 Aug 2010 19:11:39 -0500 Subject: Trouble Setting Cookies In-Reply-To: References: <20100814170004.8FA2748A6C7@mail.runrev.com> Message-ID: Just in case it hasn't been mentioned already (I haven't really been following the thread closely), put header has to be used before *any* other put commands. Jeff M. On Sun, Aug 15, 2010 at 6:35 PM, Andre Garzia wrote: > > Go to http://pareto.on-rev.com/setcookie.irev > > > > This page has a one-button form that sets a cookie by calling a script > > called sSetCookie.irev. The cookie's name is testCookie and it's value > is > > 666. Here is the script. > > > > > put "Set-Cookie:" && "testCookie" & "=" & 666 & ";path=/" into theCookie > > put new header theCookie > > > > put url ("file:cookieResult.html") into thePage > > > > put "Done." && the long date && the long time into theMessage > > replace "{message}" with theMessage in thePage > > put thePage > > ?> > > > > Gregory, > > The POST operation is not setting the cookie. As you can see here: > > http://andregarzia.com/shots/Cookie_Result-20100815-203217.jpg > > The set-cookie header is not coming thru. Try loosing the path part, it > might be confusing the browser. > > Tricky tricky tricky. > > :-/ > > (PS: also try put header instead of put new header) > > > > -- > 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 Sun Aug 15 20:20:42 2010 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 15 Aug 2010 21:20:42 -0300 Subject: Trouble Setting Cookies In-Reply-To: References: <20100814170004.8FA2748A6C7@mail.runrev.com> Message-ID: Jeff, If I remember correctly it can be used after some other put but not after the first ?> sign, the first ?> is what triggers the start of the output process by that time, all the put headers need to be in the output queue. :D On Sun, Aug 15, 2010 at 9:11 PM, Jeff Massung wrote: > Just in case it hasn't been mentioned already (I haven't really been > following the thread closely), put header has to be used before *any* other > put commands. > > Jeff M. > > On Sun, Aug 15, 2010 at 6:35 PM, Andre Garzia > wrote: > > > > Go to http://pareto.on-rev.com/setcookie.irev > > > > > > This page has a one-button form that sets a cookie by calling a script > > > called sSetCookie.irev. The cookie's name is testCookie and it's value > > is > > > 666. Here is the script. > > > > > > > > put "Set-Cookie:" && "testCookie" & "=" & 666 & ";path=/" into > theCookie > > > put new header theCookie > > > > > > put url ("file:cookieResult.html") into thePage > > > > > > put "Done." && the long date && the long time into theMessage > > > replace "{message}" with theMessage in thePage > > > put thePage > > > ?> > > > > > > > Gregory, > > > > The POST operation is not setting the cookie. As you can see here: > > > > http://andregarzia.com/shots/Cookie_Result-20100815-203217.jpg > > > > The set-cookie header is not coming thru. Try loosing the path part, it > > might be confusing the browser. > > > > Tricky tricky tricky. > > > > :-/ > > > > (PS: also try put header instead of put new header) > > > > > > > > -- > > 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 Bsummerton at virginbroadband.com.au Sun Aug 15 22:38:54 2010 From: Bsummerton at virginbroadband.com.au (Bsummerton) Date: Mon, 16 Aug 2010 12:08:54 +0930 Subject: Printing Field contents in RunRev Enterprise 4.5.5 Message-ID: <38F2709E-47BC-4C8B-9DA3-BB1579E01A83@virginbroadband.com.au> Thank you for suggestions but I am still having trouble. I have a Stack that has thirty Cards containing multiple choice questions. On Four of these thirty Cards I have a Field named "Results" that contains the users answers for each section. On each of the four Cards that has the field "Results" I have a Print Button. I have tried the following scripts to try and print on a Networked Printer the contents of the Field "Results," to no avail. What am I doing wrong? on Mouseup print card "Output" end Mouseup (Used this as a TEST - This prints the Card to the printer successfully) on Mouseup revPrintText "Hello world" End Mouseup (Used this as a TEST - This prints a Blank Page) on Mouseup revPrintField the name of field "Results" end mouseup (This continues to print a Blank Page) on Mouseup revPrintText (the htmlText of field "Results"),"Results",the time && the date End Mouseup (This continues to print a Blank Page) I have checked that the Field "Results" contains text that is Black and not White. Can a Stack only have one Field Named "Results" within its Cards? I am using a Mac and exporting to Mac (which prints fine) but the Windows Standalone continues to print a Blank Page. Am using Enterprise 4.5.5 If YOU were wanting to print the text from a Field named "Results" what specifically would YOU script: Kind regards, Brent. From tereza at califex.com Sun Aug 15 22:53:59 2010 From: tereza at califex.com (Tereza Snyder) Date: Sun, 15 Aug 2010 21:53:59 -0500 Subject: teaser In-Reply-To: References: Message-ID: On Aug 11, 2010, at 2:00 AM, Shao Sean wrote: > still low standards but here are a couple little teaser videos of stuff i have been working on.. ... > the controls are 100% revTalk and are hidden in compiled applications.. There are tears in my eyes! I am SO ready for these! Low standards! Ha! t -- Tereza Snyder Califex Software, Inc. From andre at andregarzia.com Sun Aug 15 23:04:46 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 16 Aug 2010 00:04:46 -0300 Subject: teaser In-Reply-To: <7E6DB48C-F749-4B7B-9F53-C30BCA433287@wehostmacs.com> References: <7E6DB48C-F749-4B7B-9F53-C30BCA433287@wehostmacs.com> Message-ID: On Wed, Aug 11, 2010 at 3:51 PM, Shao Sean wrote: > please share with us how did you add a control >> to the toolbar as well, I liked that. >> > copy group ;-) I am going *CRAZY* with copy groups now... life is so much easier! -- http://www.andregarzia.com All We Do Is Code. From m.schonewille at economy-x-talk.com Mon Aug 16 03:10:55 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 16 Aug 2010 09:10:55 +0200 Subject: Printing Field contents in RunRev Enterprise 4.5.5 In-Reply-To: <38F2709E-47BC-4C8B-9DA3-BB1579E01A83@virginbroadband.com.au> References: <38F2709E-47BC-4C8B-9DA3-BB1579E01A83@virginbroadband.com.au> Message-ID: Hi Brent, Your scripts seem correct to me. What happenes if you execute revPrintText "Hello World" from the message box? I get a page with that text in both Rev 4.0 and Rev 4.5. Are you using Rev 4.5? This is still in beta stage. You might want to use 4.0 instead. Which operating system are you using? Are you sure the field that is being printed is on the current card? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 16 aug 2010, at 04:38, Bsummerton wrote: > > > Thank you for suggestions but I am still having trouble. > > I have a Stack that has thirty Cards containing multiple choice questions. On Four of these thirty Cards I have a Field named "Results" that contains the users answers for each section. On each of the four Cards that has the field "Results" I have a Print Button. I have tried the following scripts to try and print on a Networked Printer the contents of the Field "Results," to no avail. What am I doing wrong? > > > on Mouseup > print card "Output" > end Mouseup > (Used this as a TEST - This prints the Card to the printer successfully) > > > on Mouseup > revPrintText "Hello world" > End Mouseup > (Used this as a TEST - This prints a Blank Page) > > > on Mouseup > revPrintField the name of field "Results" > end mouseup > (This continues to print a Blank Page) > > > on Mouseup > revPrintText (the htmlText of field "Results"),"Results",the time && the date > End Mouseup > (This continues to print a Blank Page) > > I have checked that the Field "Results" contains text that is Black and not White. Can a Stack only have one Field Named "Results" within its Cards? I am using a Mac and exporting to Mac (which prints fine) but the Windows Standalone continues to print a Blank Page. Am using Enterprise 4.5.5 > > If YOU were wanting to print the text from a Field named "Results" what specifically would YOU script: > > Kind regards, Brent. From palcibiades-first at yahoo.co.uk Mon Aug 16 03:16:36 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 16 Aug 2010 00:16:36 -0700 (PDT) Subject: Printing Field contents in RunRev Enterprise 4.5.5 In-Reply-To: <38F2709E-47BC-4C8B-9DA3-BB1579E01A83@virginbroadband.com.au> References: <38F2709E-47BC-4C8B-9DA3-BB1579E01A83@virginbroadband.com.au> Message-ID: <1281942996375-2326452.post@n4.nabble.com> "If YOU were wanting to print the text from a Field named "Results" what specifically would YOU script..." Well, you did ask! Stop struggling with revPrintField etc. Just export the content to a text file, then call some other program to print it. Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Printing-Field-contents-in-RunRev-Enterprise-4-5-5-tp2326353p2326452.html Sent from the Revolution - User mailing list archive at Nabble.com. From smudge.andy at googlemail.com Mon Aug 16 05:24:45 2010 From: smudge.andy at googlemail.com (AndyP) Date: Mon, 16 Aug 2010 02:24:45 -0700 (PDT) Subject: Printing Field contents in RunRev Enterprise 4.5.5 In-Reply-To: <38F2709E-47BC-4C8B-9DA3-BB1579E01A83@virginbroadband.com.au> References: <38F2709E-47BC-4C8B-9DA3-BB1579E01A83@virginbroadband.com.au> Message-ID: <1281950685754-2326583.post@n4.nabble.com> HI Bren, I think you need to go back to some basic tests to tie this down. 1. As Mark suggested: revPrintText "Hello World" Does this work? if Yes goto 2. if not you have a problem with Rev so a reinstall may be in order. 2. Create a new stack with one card. Place one text box named "Results" and populate with some text. Add a button and add revPrintField the name of field "Results" to mouseUp Does this work?.. No then I'm stumped I've tested here and works ok Rev 4.5.2 Yes, elaborate the print function. 3. Replace 2. with this (from your code) revPrintText (the htmlText of field "Results"),"Results",the time && the date I've tested and this also works as expected If 3 works then as Mark as suggested you probably are not specifying the correct card with the Results field on. revPrintText (the htmlText of field "Results" of card "mycard" ),"Results",the time && the date Have tested and this works. Hope this helps ----- Andy Piddock -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Printing-Field-contents-in-RunRev-Enterprise-4-5-5-tp2326353p2326583.html Sent from the Revolution - User mailing list archive at Nabble.com. From bvlahos at mac.com Mon Aug 16 06:38:20 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 16 Aug 2010 03:38:20 -0700 Subject: New release of InfoWallet Message-ID: I just wanted to let folks know that InfoWallet 1.2.09 is out. New look and logo. New features include file attachments (compressed, encrypted, and password protected), pictures for contacts, RSS news, and more. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. From kevin at runrev.com Mon Aug 16 06:45:16 2010 From: kevin at runrev.com (Kevin Miller) Date: Mon, 16 Aug 2010 11:45:16 +0100 Subject: Printing Field contents in RunRev Enterprise 4.5.5 In-Reply-To: <38F2709E-47BC-4C8B-9DA3-BB1579E01A83@virginbroadband.com.au> Message-ID: On 16/08/2010 03:38, "Bsummerton" wrote: > I have checked that the Field "Results" contains text that is Black and not > White. Can a Stack only have one Field Named "Results" within its Cards? I > am using a Mac and exporting to Mac (which prints fine) but the Windows > Standalone continues to print a Blank Page. Am using Enterprise 4.5.5 Are you sure that the printing libraries have been selected correctly in the standalone builder? Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ RunRev - Software construction for everyone From wdurden at gmail.com Mon Aug 16 07:55:05 2010 From: wdurden at gmail.com (wayne durden) Date: Mon, 16 Aug 2010 07:55:05 -0400 Subject: Printing Field contents in RunRev Enterprise 4.5.5 In-Reply-To: References: <38F2709E-47BC-4C8B-9DA3-BB1579E01A83@virginbroadband.com.au> Message-ID: You might also double check that you didn't create two fields that have the same name with one being blank.... I quite often use button scripts to flesh out handlers before I turn them into functions in a card or stack script. I occasionally copy and paste a button control, change the script and wonder why a click at the loc of the btn which I have in another button which is doing a series of operations by clicking at the location of several such test buttons hasn't included the actions to be performed in the new button's script... Whoops, it had the same name as the button it was duplicated from.... Good luck, Wayne From psahores at free.fr Mon Aug 16 09:43:31 2010 From: psahores at free.fr (Pierre Sahores) Date: Mon, 16 Aug 2010 15:43:31 +0200 Subject: [solved][revServer] process timeout issue References: Message-ID: Hi There, To avoid any problem of response latency against any mutualised server, we can force the server to "wakeup" (if needed) in sending it a simple HTTP GET request against the app base URL just before going further with any HTTP POST requests. HTH, -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From jean-pierre.soto at wanadoo.fr Mon Aug 16 10:54:22 2010 From: jean-pierre.soto at wanadoo.fr (Jean-Pierre Soto) Date: Mon, 16 Aug 2010 16:54:22 +0200 Subject: Effective line of a word Message-ID: <7010622A-E4D4-4F3F-B61F-D0FC1F93E336@wanadoo.fr> Hello, how can i know the effective line of a word in field with the wrap text set to true ? Thanks Jean-Pierre From m.schonewille at economy-x-talk.com Mon Aug 16 11:06:05 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 16 Aug 2010 17:06:05 +0200 Subject: Effective line of a word In-Reply-To: <7010622A-E4D4-4F3F-B61F-D0FC1F93E336@wanadoo.fr> References: <7010622A-E4D4-4F3F-B61F-D0FC1F93E336@wanadoo.fr> Message-ID: Hi Jean-Pierre, Let's assume that you know the position of the word in the text as a whole. For example, because the user clicked on it. put word 2 of the clickCharChunk into myPos put the formattedText of fld "Your Field" into myText put number of lines of (char 1 to myPos of myText) into myLineNr -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 16 aug 2010, at 16:54, Jean-Pierre Soto wrote: > Hello, > > how can i know the effective line of a word in field with the wrap text set to true ? > > > Thanks > Jean-Pierre From shaosean at wehostmacs.com Mon Aug 16 12:27:00 2010 From: shaosean at wehostmacs.com (Shao Sean) Date: Mon, 16 Aug 2010 12:27:00 -0400 Subject: teaser Message-ID: <23AAD7F1-936E-45BC-8892-B8238B0F7E8D@wehostmacs.com> > There are tears in my eyes! yeah, they were pretty bad.. > Low standards! Ha! i will try to have a another video within the next couple of days and you can see what i mean by the low standards... From gregory.lypny at videotron.ca Mon Aug 16 13:27:08 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Mon, 16 Aug 2010 13:27:08 -0400 Subject: Trouble Setting Cookies In-Reply-To: <20100816170005.D73FF28813A@mail.runrev.com> References: <20100816170005.D73FF28813A@mail.runrev.com> Message-ID: Hi Andre and Jeff, Thank you for testing my site. I think the location of PUT NEW HEADER or PUT HEADER in relation ?> or other PUT statements is, as you have mentioned, be the issue, although I can't say that I understand it yet. It may be why I have not been able to get Andre or John Craig's cookie functions to work when I load them from separate script files using . The following stripped down handler works. I just got it a few minutes ago. " & the long date && the long time) in thePage put thePage ?> If you like, you can test it by going to http://pareto.on-rev.com/setcookie.irev and clicking the Set Cookie button. Click through the pages and you should come to one that displays a cookie named myCookie and whose value is the seconds. Man, what a headache! It would be nice if some of our Rev web pros could document the use of cookies using the most basic example possible along with all of the important qualifiers. Regards, Gregory From userev at canelasoftware.com Mon Aug 16 14:30:37 2010 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 16 Aug 2010 11:30:37 -0700 Subject: revNavigator In-Reply-To: References: <20100812040139.AEBF32883B3@mail.runrev.com> <5F9FB8FA-F0DD-46EA-89E2-D598E613F64D@mollysrevenge.com> <93A449FA-CADE-467A-B3B8-4B2468DFDF29@gmail.com> <4C64400D.3070301@hyperactivesw.com> Message-ID: Super tool! I have been using it for years and I did make my very affordable payment back then. I too could not survive without it. Best regards, Mark Talluto http://www.canelasoftware.com > On Aug 13, 2010, at 10:32 PM, Geoff Canyon Rev wrote: > >> revNavigator hasn't been updated for several versions, so it's >> entirely possible that the dev environment has changed since I wrote >> it. Or I might just have done a bad job with it ;-) That said it still >> works -- I don't do much work with Rev anymore, but when I do I >> couldn't live without it. >> >> While I'm thinking about it, I hereby declare revNavigator to be free >> for anyone to use. >> >> gc From hershrev at syp2u4c.com Mon Aug 16 15:01:35 2010 From: hershrev at syp2u4c.com (Hershel Fisch) Date: Mon, 16 Aug 2010 15:01:35 -0400 Subject: Multiple revCursors stacks In-Reply-To: <4C6583A0.1000701@hyperactivesw.com> Message-ID: Hi and thanks, as of now there are no subStacks in my stack starting with "rev" And the error is as follows " A stack "revHelpPopup" in file /Application/Revolution Enterprise/4.0.0-dp-4/Toolset/revdocumentationlibrary.rev is already in memory. The Revolution UI does not distinguish stacks which have identical names, so editing these stack files while both are in memory could result in data loss. " Thanks in advanced, Hershel On 8/13/10 1:40 PM, "J. Landman Gay" wrote: > On 8/12/10 2:59 PM, Hershel Fisch wrote: >> I also realize that I have two "revHelpPopup" substacks, under the >> revDocumentation stack and under the "revMenuBar" stack, which one has to be >> deleted and which one is the correct one. I see it since version 3.504 dp-4. >> Prior to the above version its only urder the revMenuBar? >> It effects when you press the "restore development tool" btn. > > I also see both of those, so I assume they are both necessary. If you're > getting an error about it, the problem is likely in your stack. Better > check it for copies of that popup stack. In fact, check your stack for > any substacks that start with "rev", since none of them should be there. From richmondmathewson at gmail.com Mon Aug 16 16:00:14 2010 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 16 Aug 2010 23:00:14 +0300 Subject: [OT] Dead video card Message-ID: <4C6998CE.7040403@gmail.com> Wow! I returned from 4 days in the mountains to find the video-card on my G4 MDD had 'died'; this is a nuisance as I will be unable to release my Devawriter Pro before I can "see" into my computer. Has anybody any links to Mac compatible video-cards?????? I find that Amazon is full of video-cards but they give no indication if they are Mac compatible. From massung at gmail.com Mon Aug 16 16:08:14 2010 From: massung at gmail.com (Jeff Massung) Date: Mon, 16 Aug 2010 15:08:14 -0500 Subject: [OT] Dead video card In-Reply-To: <4C6998CE.7040403@gmail.com> References: <4C6998CE.7040403@gmail.com> Message-ID: No such thing as a "Mac Compatible" video card... or a "PC Compatible" one for that matter. That's just a matter of branding. The only important question is whether or not there are good video drivers for your particular OS for that piece of hardware. If you go look at the ATI or nVidia websites, look over their drivers and see if there's a driver set for the OS you have and the card you are considering buying. Jeff M. On Mon, Aug 16, 2010 at 3:00 PM, Richmond wrote: > Wow! > > I returned from 4 days in the mountains to find the video-card on my G4 MDD > had 'died'; > this is a nuisance as I will be unable to release my Devawriter Pro before > I can "see" into > my computer. > > Has anybody any links to Mac compatible video-cards?????? > > I find that Amazon is full of video-cards but they give no indication if > they are > Mac compatible. > _______________________________________________ > 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 richmondmathewson at gmail.com Mon Aug 16 16:12:48 2010 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 16 Aug 2010 23:12:48 +0300 Subject: [OT] Dead video card In-Reply-To: References: <4C6998CE.7040403@gmail.com> Message-ID: <4C699BC0.3080303@gmail.com> Thanks for the helpful advice. On 08/16/2010 11:08 PM, Jeff Massung wrote: > No such thing as a "Mac Compatible" video card... or a "PC Compatible" one > for that matter. That's just a matter of branding. > > The only important question is whether or not there are good video drivers > for your particular OS for that piece of hardware. > > If you go look at the ATI or nVidia websites, look over their drivers and > see if there's a driver set for the OS you have and the card you are > considering buying. > > Jeff M. > > On Mon, Aug 16, 2010 at 3:00 PM, Richmondwrote: > > >> Wow! >> >> I returned from 4 days in the mountains to find the video-card on my G4 MDD >> had 'died'; >> this is a nuisance as I will be unable to release my Devawriter Pro before >> I can "see" into >> my computer. >> >> Has anybody any links to Mac compatible video-cards?????? >> >> I find that Amazon is full of video-cards but they give no indication if >> they are >> Mac compatible. >> _______________________________________________ >> 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 bobs at twft.com Mon Aug 16 16:13:53 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 16 Aug 2010 13:13:53 -0700 Subject: [OT] Dead video card In-Reply-To: References: <4C6998CE.7040403@gmail.com> Message-ID: <124ED064-10C1-41E8-8EEB-A4FDF454E6F7@twft.com> Sorry, but this is patently untrue. We have had cards that have a Mac model and a PC model, and neither work in the other, even though the slots are the same and they both have drivers. It may be that many (maybe most) cards are designed to work in both PC's and Macs, but it is not true to say there is no such thing as a card that will only work in one and not the other. Bob On Aug 16, 2010, at 1:08 PM, Jeff Massung wrote: > No such thing as a "Mac Compatible" video card... or a "PC Compatible" one > for that matter. That's just a matter of branding. > > The only important question is whether or not there are good video drivers > for your particular OS for that piece of hardware. > > If you go look at the ATI or nVidia websites, look over their drivers and > see if there's a driver set for the OS you have and the card you are > considering buying. > > Jeff M. > > On Mon, Aug 16, 2010 at 3:00 PM, Richmond wrote: > >> Wow! >> >> I returned from 4 days in the mountains to find the video-card on my G4 MDD >> had 'died'; >> this is a nuisance as I will be unable to release my Devawriter Pro before >> I can "see" into >> my computer. >> >> Has anybody any links to Mac compatible video-cards?????? >> >> I find that Amazon is full of video-cards but they give no indication if >> they are >> Mac compatible. >> _______________________________________________ >> 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 bobs at twft.com Mon Aug 16 16:16:28 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 16 Aug 2010 13:16:28 -0700 Subject: [OT] Dead video card In-Reply-To: <4C6998CE.7040403@gmail.com> References: <4C6998CE.7040403@gmail.com> Message-ID: Richmond, it is my experience that only certain video cards would work in those G4 towers, and different G4 towers may only support certain video cards. In other words, I have had video cards that worked in one model G4 tower that would NOT work in another, same bus design. I would definitely do some research before popping for one on eBay. Bob On Aug 16, 2010, at 1:00 PM, Richmond wrote: > Wow! > > I returned from 4 days in the mountains to find the video-card on my G4 MDD had 'died'; > this is a nuisance as I will be unable to release my Devawriter Pro before I can "see" into > my computer. > > Has anybody any links to Mac compatible video-cards?????? > > I find that Amazon is full of video-cards but they give no indication if they are > Mac compatible. > _______________________________________________ > 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 Mon Aug 16 16:26:55 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 16 Aug 2010 17:26:55 -0300 Subject: [OT] Dead video card In-Reply-To: References: <4C6998CE.7040403@gmail.com> Message-ID: lowendmac.com is your friend in those cases On Mon, Aug 16, 2010 at 5:16 PM, Bob Sneidar wrote: > Richmond, it is my experience that only certain video cards would work in > those G4 towers, and different G4 towers may only support certain video > cards. In other words, I have had video cards that worked in one model G4 > tower that would NOT work in another, same bus design. > > I would definitely do some research before popping for one on eBay. > > Bob > > > On Aug 16, 2010, at 1:00 PM, Richmond wrote: > > > Wow! > > > > I returned from 4 days in the mountains to find the video-card on my G4 > MDD had 'died'; > > this is a nuisance as I will be unable to release my Devawriter Pro > before I can "see" into > > my computer. > > > > Has anybody any links to Mac compatible video-cards?????? > > > > I find that Amazon is full of video-cards but they give no indication if > they are > > Mac compatible. > > _______________________________________________ > > 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 richmondmathewson at gmail.com Mon Aug 16 16:36:06 2010 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 16 Aug 2010 23:36:06 +0300 Subject: [OT] Dead video card In-Reply-To: References: <4C6998CE.7040403@gmail.com> Message-ID: <4C69A136.6050705@gmail.com> On 08/16/2010 11:26 PM, Andre Garzia wrote: > lowendmac.com is your friend in those cases > > Ha, Ha, Ha: right now it is a case of lowendmathewson . . . :) I have been poking round that website, but a lot of their links are dead. From jonathandlynch at gmail.com Mon Aug 16 16:49:31 2010 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Mon, 16 Aug 2010 16:49:31 -0400 Subject: Is it possible to copy and paste html links from a browser, or MS Word, into a Rev app? Message-ID: I am trying to figure out how to copy text that contains a link into a Rev field, such that the link information is preserved. It seems that some formatting, such as bolding, text size, and text font are preserved, but that link information is entirely stripped out. Is there a way to do this? Am I missing something obvious? Many thanks, Jonathan -- Do all things with love From ambassador at fourthworld.com Mon Aug 16 16:59:45 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 16 Aug 2010 13:59:45 -0700 Subject: Is it possible to copy and paste html links from a browser, or MS Word, into a Rev app? Message-ID: <4C69A6C1.6060705@fourthworld.com> Jonathan Lynch wrote: > I am trying to figure out how to copy text that contains a link into a Rev > field, such that the link information is preserved. It seems that some > formatting, such as bolding, text size, and text font are preserved, but > that link information is entirely stripped out. Many apps don't copy link data to the public clipboard. Can you paste from one of those programs into another and have the links preserved? -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From bonnmike at gmail.com Mon Aug 16 17:16:22 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 16 Aug 2010 15:16:22 -0600 Subject: [OT] Dead video card In-Reply-To: <4C69A136.6050705@gmail.com> References: <4C6998CE.7040403@gmail.com> <4C69A136.6050705@gmail.com> Message-ID: Would this http://eshop.macsales.com/item/ATI%20Technologies/1028342302B/ or this http://eshop.macsales.com/item/ATI%20Technologies/1028342302/ be the right card for your machine? I don't know enough about the earlier mac models to know for sure. On Mon, Aug 16, 2010 at 2:36 PM, Richmond wrote: > On 08/16/2010 11:26 PM, Andre Garzia wrote: >> >> lowendmac.com is your friend in those cases >> >> > > Ha, Ha, Ha: right now it is a case of lowendmathewson . . . ?:) > > I have been poking round that website, but a lot of their links are dead. > _______________________________________________ > 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 jonathandlynch at gmail.com Mon Aug 16 17:18:18 2010 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Mon, 16 Aug 2010 17:18:18 -0400 Subject: Is it possible to copy and paste html links from a browser, or MS Word, into a Rev app? In-Reply-To: <4C69A6C1.6060705@fourthworld.com> References: <4C69A6C1.6060705@fourthworld.com> Message-ID: Hmmm... All of the applications we use at work (except the ones I create) are microsoft applications. I will have to find something that is not from microsoft to test this. On Mon, Aug 16, 2010 at 4:59 PM, Richard Gaskin wrote: > Jonathan Lynch wrote: > > I am trying to figure out how to copy text that contains a link into a Rev >> field, such that the link information is preserved. It seems that some >> formatting, such as bolding, text size, and text font are preserved, but >> that link information is entirely stripped out. >> > > Many apps don't copy link data to the public clipboard. > > Can you paste from one of those programs into another and have the links > preserved? > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > > _______________________________________________ > 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 > -- Do all things with love From jonathandlynch at gmail.com Mon Aug 16 17:28:05 2010 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Mon, 16 Aug 2010 17:28:05 -0400 Subject: Is it possible to copy and paste html links from a browser, or MS Word, into a Rev app? In-Reply-To: References: <4C69A6C1.6060705@fourthworld.com> Message-ID: OK, I verified that I can copy from MS Word into AbiWord - so the link information must be made available in some form. Would RunRev have a means of accessing this? If not, is there something I could do with Cscript or Windows Command Line to access components of the clipboard that are not accessible to RunRev? Thanks, Jonathan On Mon, Aug 16, 2010 at 5:18 PM, Jonathan Lynch wrote: > Hmmm... > > All of the applications we use at work (except the ones I create) are > microsoft applications. I will have to find something that is not from > microsoft to test this. > > > > On Mon, Aug 16, 2010 at 4:59 PM, Richard Gaskin < > ambassador at fourthworld.com> wrote: > >> Jonathan Lynch wrote: >> >> I am trying to figure out how to copy text that contains a link into a Rev >>> field, such that the link information is preserved. It seems that some >>> formatting, such as bolding, text size, and text font are preserved, but >>> that link information is entirely stripped out. >>> >> >> Many apps don't copy link data to the public clipboard. >> >> Can you paste from one of those programs into another and have the links >> preserved? >> >> -- >> Richard Gaskin >> Fourth World >> Rev training and consulting: http://www.fourthworld.com >> Webzine for Rev developers: http://www.revjournal.com >> revJournal blog: http://revjournal.com/blog.irv >> >> _______________________________________________ >> 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 >> > > > > -- > Do all things with love > -- Do all things with love From revlist at azurevision.co.uk Mon Aug 16 17:34:59 2010 From: revlist at azurevision.co.uk (Ian Wood) Date: Mon, 16 Aug 2010 22:34:59 +0100 Subject: [OT] Dead video card In-Reply-To: References: <4C6998CE.7040403@gmail.com> Message-ID: <30FAFDDF-3025-4916-8E89-1246901DEA31@azurevision.co.uk> On 16 Aug 2010, at 21:08, Jeff Massung wrote: > No such thing as a "Mac Compatible" video card... or a "PC Compatible" one > for that matter. That's just a matter of branding. Like Bob says, this is not true. Mac and Windows versions of the same graphics card models have different firmware. Apparently it's possible to flash Windows-compatible cards with the correct firmware to run in a Mac, but I've no idea how complex the process is. Ian From jacque at hyperactivesw.com Mon Aug 16 17:54:38 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 16 Aug 2010 16:54:38 -0500 Subject: Is it possible to copy and paste html links from a browser, or MS Word, into a Rev app? In-Reply-To: References: Message-ID: <4C69B39E.1080803@hyperactivesw.com> On 8/16/10 3:49 PM, Jonathan Lynch wrote: > I am trying to figure out how to copy text that contains a link into a Rev > field, such that the link information is preserved. It seems that some > formatting, such as bolding, text size, and text font are preserved, but > that link information is entirely stripped out. > > Is there a way to do this? Am I missing something obvious? If the links are really in there, they should be in the htmltext of the clipboard, i.e.: set the htmltext of fld x to the clipboardData["html"] That will put the underlines and links into the field, but you'll have to handle the actual navigation after a click by examining the parameter passed in the linkClicked message and figuring out what to do. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jonathandlynch at gmail.com Mon Aug 16 18:33:06 2010 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Mon, 16 Aug 2010 18:33:06 -0400 Subject: Is it possible to copy and paste html links from a browser, or MS Word, into a Rev app? In-Reply-To: <4C69B39E.1080803@hyperactivesw.com> References: <4C69B39E.1080803@hyperactivesw.com> Message-ID: Hi Jacqueline, I tested this. It is not retaining the link information, either from MS Word or from IE 8. This is true both with RunRev 4.0 and RunRev 2.6.1 - those are the only versions I have to test with. Take care, Jonathan On Mon, Aug 16, 2010 at 5:54 PM, J. Landman Gay wrote: > On 8/16/10 3:49 PM, Jonathan Lynch wrote: > >> I am trying to figure out how to copy text that contains a link into a Rev >> field, such that the link information is preserved. It seems that some >> formatting, such as bolding, text size, and text font are preserved, but >> that link information is entirely stripped out. >> >> Is there a way to do this? Am I missing something obvious? >> > > If the links are really in there, they should be in the htmltext of the > clipboard, i.e.: > set the htmltext of fld x to the clipboardData["html"] > > That will put the underlines and links into the field, but you'll have to > handle the actual navigation after a click by examining the parameter passed > in the linkClicked message and figuring out what to do. > > -- > 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 > -- Do all things with love From massung at gmail.com Mon Aug 16 18:39:01 2010 From: massung at gmail.com (Jeff Massung) Date: Mon, 16 Aug 2010 17:39:01 -0500 Subject: [OT] Dead video card In-Reply-To: <30FAFDDF-3025-4916-8E89-1246901DEA31@azurevision.co.uk> References: <4C6998CE.7040403@gmail.com> <30FAFDDF-3025-4916-8E89-1246901DEA31@azurevision.co.uk> Message-ID: On Mon, Aug 16, 2010 at 4:34 PM, Ian Wood wrote: > On 16 Aug 2010, at 21:08, Jeff Massung wrote: > > > No such thing as a "Mac Compatible" video card... or a "PC Compatible" > one > > for that matter. That's just a matter of branding. > > Like Bob says, this is not true. Mac and Windows versions of the same > graphics card models have different firmware. Apparently it's possible to > flash Windows-compatible cards with the correct firmware to run in a Mac, > but I've no idea how complex the process is. > > Guys, it's just hardware. If there's no code to run it on the hardware, then yes, it won't work. But, there's no such thing as a a piece of hardware that cannot possibly interface with another piece of hardware. One could make an ATI video card be run from a Z80 micro processor if one felt so inclined. It's just bytes and cycles, and maybe a little soldering. ;-) Jeff M. From bvlahos at mac.com Mon Aug 16 18:54:22 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 16 Aug 2010 15:54:22 -0700 Subject: Code signing certificate Message-ID: <5BA5371B-EE7A-461F-9201-1030BFB71950@mac.com> I understand that I need to purchase and continually renew a "Code Signing Certificate" for both the installer .exe and the application .exe. This way Windows won't complain that the application is from an unknown publisher. Does anyone have any experience and recommendations for getting and implementing these? Thanks, Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. From jacque at hyperactivesw.com Mon Aug 16 19:09:37 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 16 Aug 2010 18:09:37 -0500 Subject: Is it possible to copy and paste html links from a browser, or MS Word, into a Rev app? In-Reply-To: References: <4C69B39E.1080803@hyperactivesw.com> Message-ID: <4C69C531.1020303@hyperactivesw.com> On 8/16/10 5:33 PM, Jonathan Lynch wrote: > Hi Jacqueline, > > I tested this. > > It is not retaining the link information, either from MS Word or from IE 8. > > This is true both with RunRev 4.0 and RunRev 2.6.1 - those are the only > versions I have to test with. Okay, this time I actually tried it. :) I have an extension in Firefox that allows me to copy either plain text or html text. I copied a selection as html. In Rev: set the htmltext of fld 1 to the clipboardData["text"] That works here. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Mon Aug 16 19:30:57 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 16 Aug 2010 16:30:57 -0700 Subject: [OT] Dead video card In-Reply-To: References: <4C6998CE.7040403@gmail.com> <30FAFDDF-3025-4916-8E89-1246901DEA31@azurevision.co.uk> Message-ID: <152442150421.20100816163057@ahsoftware.net> Jeff- Monday, August 16, 2010, 3:39:01 PM, you wrote: > Guys, it's just hardware. If there's no code to run it on the hardware, then > yes, it won't work. But, there's no such thing as a a piece of hardware that > cannot possibly interface with another piece of hardware. One could make an > ATI video card be run from a Z80 micro processor if one felt so inclined. > It's just bytes and cycles, and maybe a little soldering. ;-) Sorry, Jeff, but these days (the last 20 years or so) cards have some bootup code in the firmware. PCI cards in particular run a variant of Forth known as Open Firmware that's initialized and run from the motherboard. It's supposed to be manufacturer-neutral, but not required to be so. Some cards are supported on macs, some are supported with firmware upgrades, some manufacturers have trouble spelling macintosh. Point taken about the soldering . -- -Mark Wieder mwieder at ahsoftware.net From jonathandlynch at gmail.com Mon Aug 16 20:27:10 2010 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Tue, 17 Aug 2010 00:27:10 +0000 Subject: Is it possible to copy and paste html links from a browser, orMS Word, into a Rev app? In-Reply-To: <4C69C531.1020303@hyperactivesw.com> References: <4C69B39E.1080803@hyperactivesw.com><4C69C531.1020303@hyperactivesw.com> Message-ID: <970860730-1282003769-cardhu_decombobulator_blackberry.rim.net-302660712-@bda2034.bisx.prod.on.blackberry> Hmmmmm Would you mind trying copying from ms word? I have a hunch that microsoft is at the heart of my plight. Thanks Jacqueline Sent from my Verizon Wireless BlackBerry -----Original Message----- From: "J. Landman Gay" Sender: use-revolution-bounces at lists.runrev.com Date: Mon, 16 Aug 2010 18:09:37 To: How to use Revolution Reply-To: How to use Revolution Subject: Re: Is it possible to copy and paste html links from a browser, or MS Word, into a Rev app? On 8/16/10 5:33 PM, Jonathan Lynch wrote: > Hi Jacqueline, > > I tested this. > > It is not retaining the link information, either from MS Word or from IE 8. > > This is true both with RunRev 4.0 and RunRev 2.6.1 - those are the only > versions I have to test with. Okay, this time I actually tried it. :) I have an extension in Firefox that allows me to copy either plain text or html text. I copied a selection as html. In Rev: set the htmltext of fld 1 to the clipboardData["text"] That works here. -- 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 mwieder at ahsoftware.net Mon Aug 16 20:36:10 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 16 Aug 2010 17:36:10 -0700 Subject: Is it possible to copy and paste html links from a browser, orMS Word, into a Rev app? In-Reply-To: <970860730-1282003769-cardhu_decombobulator_blackberry.rim.net-302660712-@bda2034.bisx.prod.on.blackberry> References: <4C69B39E.1080803@hyperactivesw.com><4C69C531.1020303@hyperactivesw.com> <970860730-1282003769-cardhu_decombobulator_blackberry.rim.net-302660712-@bda2034.bisx.prod.on.blackberry> Message-ID: <109446063796.20100816173610@ahsoftware.net> Jonathan- Monday, August 16, 2010, 5:27:10 PM, you wrote: > Hmmmmm > Would you mind trying copying from ms word? I have a hunch that > microsoft is at the heart of my plight. Verified here. Good old Microsoft. The links are underlined and blue but not linked. Neither the html nor the rtf data contain the links. Normally I'd advise dropping Word and going with something more reasonable, but I don't suppose that's an option for you. FWIW you can't paste them into WordPad either. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Mon Aug 16 20:44:10 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 16 Aug 2010 19:44:10 -0500 Subject: Is it possible to copy and paste html links from a browser, orMS Word, into a Rev app? In-Reply-To: <109446063796.20100816173610@ahsoftware.net> References: <4C69B39E.1080803@hyperactivesw.com><4C69C531.1020303@hyperactivesw.com> <970860730-1282003769-cardhu_decombobulator_blackberry.rim.net-302660712-@bda2034.bisx.prod.on.blackberry> <109446063796.20100816173610@ahsoftware.net> Message-ID: <4C69DB5A.3060303@hyperactivesw.com> On 8/16/10 7:36 PM, Mark Wieder wrote: > Jonathan- > > Monday, August 16, 2010, 5:27:10 PM, you wrote: > >> Hmmmmm > >> Would you mind trying copying from ms word? I have a hunch that >> microsoft is at the heart of my plight. > > Verified here. Good old Microsoft. The links are underlined and blue > but not linked. Neither the html nor the rtf data contain the links. > Normally I'd advise dropping Word and going with something more > reasonable, but I don't suppose that's an option for you. FWIW you > can't paste them into WordPad either. > Thanks for testing, Mark. I don't have Word. I have Open Office but I'm not sure that would have been the same. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andre at andregarzia.com Mon Aug 16 20:46:47 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 16 Aug 2010 21:46:47 -0300 Subject: [OT] Dead video card In-Reply-To: <152442150421.20100816163057@ahsoftware.net> References: <4C6998CE.7040403@gmail.com> <30FAFDDF-3025-4916-8E89-1246901DEA31@azurevision.co.uk> <152442150421.20100816163057@ahsoftware.net> Message-ID: On Mon, Aug 16, 2010 at 8:30 PM, Mark Wieder wrote: > Jeff- > > Monday, August 16, 2010, 3:39:01 PM, you wrote: > > > Guys, it's just hardware. If there's no code to run it on the hardware, > then > > yes, it won't work. But, there's no such thing as a a piece of hardware > that > > cannot possibly interface with another piece of hardware. One could make > an > > ATI video card be run from a Z80 micro processor if one felt so inclined. > > It's just bytes and cycles, and maybe a little soldering. ;-) > > Sorry, Jeff, but these days (the last 20 years or so) cards have some > bootup code in the firmware. PCI cards in particular run a variant of > Forth known as Open Firmware that's initialized and run from the > motherboard. It's supposed to be manufacturer-neutral, but not > required to be so. Some cards are supported on macs, some are > supported with firmware upgrades, some manufacturers have trouble > spelling macintosh. > I am reflashing my open firmware on my OLPC right now... I crashed my forth doing some stunts :-( I LOVE OPEN FIRMWARE and forth... way ahead of BIOS stuff... > > Point taken about the soldering . > > -- > -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 > -- http://www.andregarzia.com All We Do Is Code. From jacque at hyperactivesw.com Mon Aug 16 21:02:35 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 16 Aug 2010 20:02:35 -0500 Subject: Multiple revCursors stacks In-Reply-To: References: Message-ID: <4C69DFAB.5020504@hyperactivesw.com> On 8/16/10 2:01 PM, Hershel Fisch wrote: > Hi and thanks, as of now there are no subStacks in my stack starting with > "rev" > And the error is as follows " > A stack "revHelpPopup" in file /Application/Revolution > Enterprise/4.0.0-dp-4/Toolset/revdocumentationlibrary.rev > is already in memory. The Revolution UI does not > distinguish stacks which have identical names, so editing > these stack files while both are in memory could result in > data loss. > " > Thanks in advanced, Hershel I can repeat the error when I suspend development tools and then return to the IDE. I think it's a minor bug. Clicking "Okay" to get out won't hurt anything, the error is spurious. If you feel like it, you could report it in the QCC () and mark it as "minor". If I knew whether that stack was required in the docs I'd say delete it, but I'm not sure. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From withforesight at gmail.com Mon Aug 16 21:38:06 2010 From: withforesight at gmail.com (mike) Date: Mon, 16 Aug 2010 21:38:06 -0400 Subject: Is it possible to copy and paste html links from a browser, orMS Word, into a Rev app? In-Reply-To: <4C69DB5A.3060303@hyperactivesw.com> References: <4C69B39E.1080803@hyperactivesw.com> <4C69C531.1020303@hyperactivesw.com> <970860730-1282003769-cardhu_decombobulator_blackberry.rim.net-302660712-@bda2034.bisx.prod.on.blackberry> <109446063796.20100816173610@ahsoftware.net> <4C69DB5A.3060303@hyperactivesw.com> Message-ID: Sorry I have not been following this thread closely and I am very new to Rev... but this seems to work on mouseUp -- launch URL "http://google.com/" get text of field "x" -- paste or drag&drop your URL into this field launch URL it -- this launches the default browser using your URL end mouseUp Seems as though this would serve as the basis for what you are trying to do or maybe I misunderstand. HTHs Mike Behar On Mon, Aug 16, 2010 at 8:44 PM, J. Landman Gay wrote: > On 8/16/10 7:36 PM, Mark Wieder wrote: > >> Jonathan- >> >> Monday, August 16, 2010, 5:27:10 PM, you wrote: >> >> Hmmmmm >>> >> >> Would you mind trying copying from ms word? I have a hunch that >>> microsoft is at the heart of my plight. >>> >> >> Verified here. Good old Microsoft. The links are underlined and blue >> but not linked. Neither the html nor the rtf data contain the links. >> Normally I'd advise dropping Word and going with something more >> reasonable, but I don't suppose that's an option for you. FWIW you >> can't paste them into WordPad either. >> >> > Thanks for testing, Mark. I don't have Word. I have Open Office but I'm not > sure that would have been the same. > > -- > 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 nealk3nc at gmail.com Mon Aug 16 21:43:22 2010 From: nealk3nc at gmail.com (Neal Campbell) Date: Mon, 16 Aug 2010 21:43:22 -0400 Subject: Code signing certificate In-Reply-To: <5BA5371B-EE7A-461F-9201-1030BFB71950@mac.com> References: <5BA5371B-EE7A-461F-9201-1030BFB71950@mac.com> Message-ID: Hi Bill I got mine thru Godaddy.com for a decent price. Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com (540) 645 5394 NEW PHONE NUMBER Amateur Radio: K3NC Blog: http://www.abrohamnealsoftware.com/blog/ DXBase bug reports: email to cases at dxbase.fogbugz.com Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/ On Mon, Aug 16, 2010 at 6:54 PM, Bill Vlahos wrote: > I understand that I need to purchase and continually renew a "Code Signing > Certificate" for both the installer .exe and the application .exe. This way > Windows won't complain that the application is from an unknown publisher. > > Does anyone have any experience and recommendations for getting and > implementing these? > > Thanks, > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important > life information with you, accessible, and secure. > > _______________________________________________ > 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 monte at sweattechnologies.com Mon Aug 16 23:40:44 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 17 Aug 2010 13:40:44 +1000 Subject: cross platform drawers Message-ID: <3EA0BBBA-CC88-4FBC-A557-6F6A3DD1F9AA@sweattechnologies.com> Hi I'm working on InstallGadget 2 and an InstallGadget plugin for rev. The plugin is well suited to using drawers on OS X to integrate IG settings with the standalone builder interface. I'm just wondering what people think I should do on Windows? Has anyone done drawer emulation and is it worthwhile and appreciated my users? Check out InstallGadget 2 & the plugin on Facebook and you will see what I mean about the drawers ;-) Cheers Monte From monte at sweattechnologies.com Mon Aug 16 23:50:35 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 17 Aug 2010 13:50:35 +1000 Subject: cross platform drawers In-Reply-To: <3EA0BBBA-CC88-4FBC-A557-6F6A3DD1F9AA@sweattechnologies.com> References: <3EA0BBBA-CC88-4FBC-A557-6F6A3DD1F9AA@sweattechnologies.com> Message-ID: Don't know why the facebook link didn't work but here it is if you are interested: http://www.facebook.com/pages/InstallGadget/140038149354105 On 17/08/2010, at 1:40 PM, Monte Goulding wrote: > Hi > > I'm working on InstallGadget 2 and an InstallGadget plugin for rev. The plugin is well suited to using drawers on OS X to integrate IG settings with the standalone builder interface. I'm just wondering what people think I should do on Windows? Has anyone done drawer emulation and is it worthwhile and appreciated my users? > > Check out InstallGadget 2 & the plugin on Facebook and you will see what I mean about the drawers ;-) > > Cheers > > Monte_______________________________________________ > 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 mpezzo at gmail.com Mon Aug 16 23:58:05 2010 From: mpezzo at gmail.com (AcidJazz) Date: Mon, 16 Aug 2010 20:58:05 -0700 (PDT) Subject: Pattern recognition of basic shapes in Rev In-Reply-To: <20100815165520.LZZA14208.schemailmta01.cingularme.com@Inbox> References: <20100815165520.LZZA14208.schemailmta01.cingularme.com@Inbox> Message-ID: <1282017485752-2327748.post@n4.nabble.com> Here's a link to a technical article that discusses the fuzzy logic involved in pattern recognition of shapes. It doesn't provide the exact algorithm, but should get you a little further down the road in your search. Cheers, Mark http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.37.5875&rep=rep1&type=pdf -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Pattern-recognition-of-basic-shapes-in-Rev-tp2325992p2327748.html Sent from the Revolution - User mailing list archive at Nabble.com. From pderocco at ix.netcom.com Tue Aug 17 00:54:17 2010 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Mon, 16 Aug 2010 21:54:17 -0700 Subject: cross platform drawers In-Reply-To: Message-ID: > From: Monte Goulding > > Don't know why the facebook link didn't work but here it is > if you are interested: > > http://www.facebook.com/pages/InstallGadget/140038149354105 So "drawers" are sub-panes that stick out to the side of the main window, the way Nvidia driver settings appear in Windows display properties? -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From monte at sweattechnologies.com Tue Aug 17 01:00:18 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 17 Aug 2010 15:00:18 +1000 Subject: cross platform drawers In-Reply-To: References: Message-ID: <658EBDCE-04E5-42BB-8322-076DD552F261@sweattechnologies.com> On 17/08/2010, at 2:54 PM, Paul D. DeRocco wrote: >> From: Monte Goulding >> >> Don't know why the facebook link didn't work but here it is >> if you are interested: >> >> http://www.facebook.com/pages/InstallGadget/140038149354105 > > So "drawers" are sub-panes that stick out to the side of the main window, > the way Nvidia driver settings appear in Windows display properties? Well, I'm not sure about the driver settings on windows but that sounds about right. There's a screenshot of my plugin in a drawer next to the rev standalone settings stack on the facebook page if you want to have a look. Cheers Monte From scott at tactilemedia.com Tue Aug 17 01:41:07 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 16 Aug 2010 22:41:07 -0700 Subject: cross platform drawers In-Reply-To: <3EA0BBBA-CC88-4FBC-A557-6F6A3DD1F9AA@sweattechnologies.com> Message-ID: Recently, Monte Goulding wrote: > The plugin is well suited to using drawers on OS X to integrate IG settings > with the standalone builder interface. I'm just wondering what people think I > should do on Windows? Has anyone done drawer emulation and is it worthwhile > and appreciated my users? I think you'll find people who will argue both sides of what is or is not appropriate for Windows. From an implementation standpoint (not philosophical), I've only been able to figure out 2 ways of doing a drawer like window: a 2-stack approach, with the front stack being a palette so it always stacks in front a topLevel drawer stack, or a stack with 2 custom windowShapes -- a closed state and an opened state. Neither of these options lends it self easily to Windows because Windows only lists topStacks with default decorations in the Taskbar. If you're willing to jump through some hoops, you can workaround this limitation, but it does take some work. If you were open to modifying your design, you could build the drawer as a group within your mainStack -- a pane that opens inward from the left edge, instead of outside the mainStack. True, this would temporarily obscure the controls of the mainStack, but it would solve a multitude of challenges that you'll probably face when trying to implement an actual drawer. Regards, Scott Rossi Creative Director Tactile Media, UX Design From richmondmathewson at gmail.com Tue Aug 17 02:20:31 2010 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 17 Aug 2010 09:20:31 +0300 Subject: [OT] Dead video card In-Reply-To: <30FAFDDF-3025-4916-8E89-1246901DEA31@azurevision.co.uk> References: <4C6998CE.7040403@gmail.com> <30FAFDDF-3025-4916-8E89-1246901DEA31@azurevision.co.uk> Message-ID: <4C6A2A2F.40209@gmail.com> On 08/17/2010 12:34 AM, Ian Wood wrote: > On 16 Aug 2010, at 21:08, Jeff Massung wrote: > > >> No such thing as a "Mac Compatible" video card... or a "PC Compatible" one >> for that matter. That's just a matter of branding. >> > Like Bob says, this is not true. Mac and Windows versions of the same graphics card models have different firmware. Apparently it's possible to flash Windows-compatible cards with the correct firmware to run in a Mac, but I've no idea how complex the process is. > > 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 > Well; as I don't have a machine running Windows to flash RAM the whole thing looks a bit risky, so I shall stick to a card that is labelled as Mac compatible. I am waiting for an answer from AXLE re their nVidia cards . . . Here in Bulgaria the situation re Macs is "a right pox". From monte at sweattechnologies.com Tue Aug 17 02:39:27 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 17 Aug 2010 16:39:27 +1000 Subject: cross platform drawers In-Reply-To: References: Message-ID: <893AAAF3-E92D-408A-BEF7-31B2FF590F7B@sweattechnologies.com> On 17/08/2010, at 3:41 PM, Scott Rossi wrote: > Recently, Monte Goulding wrote: > >> The plugin is well suited to using drawers on OS X to integrate IG settings >> with the standalone builder interface. I'm just wondering what people think I >> should do on Windows? Has anyone done drawer emulation and is it worthwhile >> and appreciated my users? > > I think you'll find people who will argue both sides of what is or is not > appropriate for Windows. From an implementation standpoint (not > philosophical), I've only been able to figure out 2 ways of doing a drawer > like window: a 2-stack approach, with the front stack being a palette so it > always stacks in front a topLevel drawer stack, or a stack with 2 custom > windowShapes -- a closed state and an opened state. Hmm... neither of these are options for the ig rev plugin. > If you were open to modifying your design, you could build the drawer as a > group within your mainStack -- a pane that opens inward from the left edge, > instead of outside the mainStack. True, this would temporarily obscure the > controls of the mainStack, but it would solve a multitude of challenges that > you'll probably face when trying to implement an actual drawer. Hmm.. I can't do that without modifying revStandaloneSettings and that's going to cause maintenance issues. I'll see what it feels like with palettes on windows but I may need to come up with a plan b... Cheers Monte From richmondmathewson at gmail.com Tue Aug 17 02:47:09 2010 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 17 Aug 2010 09:47:09 +0300 Subject: [OT] Dead video card In-Reply-To: References: <4C6998CE.7040403@gmail.com> <30FAFDDF-3025-4916-8E89-1246901DEA31@azurevision.co.uk> Message-ID: <4C6A306D.10305@gmail.com> On 08/17/2010 01:39 AM, Jeff Massung wrote: > > Guys, it's just hardware. If there's no code to run it on the hardware, then > yes, it won't work. But, there's no such thing as a a piece of hardware that > cannot possibly interface with another piece of hardware. One could make an > ATI video card be run from a Z80 micro processor if one felt so inclined. > It's just bytes and cycles, and maybe a little soldering. ;-) > > Um . . . yes: but "ole slack brain" over here in Bulgaria wouldn't know how to write a driver even if somebody was holding a gun to his head: nor, for that matter, is he prepared to sit down and study that type of coding for 2 weeks when what he needs is a video-card that works with his tatty old Mac right this minute . . . :) From richmondmathewson at gmail.com Tue Aug 17 02:49:30 2010 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 17 Aug 2010 09:49:30 +0300 Subject: cross platform drawers In-Reply-To: References: <3EA0BBBA-CC88-4FBC-A557-6F6A3DD1F9AA@sweattechnologies.com> Message-ID: <4C6A30FA.8070507@gmail.com> Sorry chaps: couldn't resist it; but "Cross platform drawers" sounds like something from "Priscilla, Queen of the Desert". Personally, for all my RunRev needs I use a THONG . . . :) From scott at tactilemedia.com Tue Aug 17 02:49:38 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 16 Aug 2010 23:49:38 -0700 Subject: cross platform drawers In-Reply-To: <893AAAF3-E92D-408A-BEF7-31B2FF590F7B@sweattechnologies.com> Message-ID: Recently, Monte Goulding wrote: >> If you were open to modifying your design, you could build the drawer as a >> group within your mainStack -- a pane that opens inward from the left edge, >> instead of outside the mainStack. True, this would temporarily obscure the >> controls of the mainStack, but it would solve a multitude of challenges that >> you'll probably face when trying to implement an actual drawer. > > > Hmm.. I can't do that without modifying revStandaloneSettings and that's going > to cause maintenance issues. I'll see what it feels like with palettes on > windows but I may need to come up with a plan b... Monte, I took a closer look at your screenshot and it seems you're "tacking on" to the existing standalone builder (I thought at first it was your own creation). If you're not handling the mainStack in your design, then probably none of my suggestions apply. Maybe a drawer type approach isn't even necessary -- perhaps just a separate add-on window that "knows" about the standalone builder would suffice. Regards, Scott Rossi Creative Director Tactile Media, UX Design From monte at sweattechnologies.com Tue Aug 17 03:17:04 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 17 Aug 2010 17:17:04 +1000 Subject: cross platform drawers In-Reply-To: References: Message-ID: <457D010D-A816-4E82-B8B5-A748097B2C17@sweattechnologies.com> > Monte, I took a closer look at your screenshot and it seems you're "tacking > on" to the existing standalone builder (I thought at first it was your own > creation). If you're not handling the mainStack in your design, then > probably none of my suggestions apply. Maybe a drawer type approach isn't > even necessary -- perhaps just a separate add-on window that "knows" about > the standalone builder would suffice. Yeah, just having a play with it now. I think it's just as functional with palette's but not as sexy. Just store the topLeft of the stack in the prefs so when it swaps stacks it doesn't jump around and retains loc between sessions and it feels ok. I'll leave the drawers in for os x just so Richmond can keep thinking about Hugo Weaving in drag ;-) Cheers Monte From richmondmathewson at gmail.com Tue Aug 17 03:19:38 2010 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 17 Aug 2010 10:19:38 +0300 Subject: [OT] Dead video card In-Reply-To: References: <4C6998CE.7040403@gmail.com> <4C69A136.6050705@gmail.com> Message-ID: <4C6A380A.6000300@gmail.com> On 08/17/2010 12:16 AM, Mike Bonner wrote: > Would this http://eshop.macsales.com/item/ATI%20Technologies/1028342302B/ > or this http://eshop.macsales.com/item/ATI%20Technologies/1028342302/ > be the right card for your machine? I don't know enough about the > earlier mac models to know for sure. > > Thank you so much: I have just ordered the more expensive option: wonder how long FedEx will take to get it to me in Bulgaria ???? AND; here's a silly joke (as always, it's on me!): I had to check if my MDD G4 had AGP slots; so I downloaded the Windows version of MacTracker onto my Linux box and ran it under WINE . . . just about as bl**dy-minded as one can get; but the only way I could manage it! From david at vaudevillecourt.tv Tue Aug 17 04:38:14 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Tue, 17 Aug 2010 09:38:14 +0100 Subject: Pattern recognition of basic shapes in Rev In-Reply-To: <1282017485752-2327748.post@n4.nabble.com> References: <20100815165520.LZZA14208.schemailmta01.cingularme.com@Inbox> <1282017485752-2327748.post@n4.nabble.com> Message-ID: Thanks Mark - great paper! There does not seem to be a lot of code around - nearest I can find is here. I'd have thought it was something built into the touch screen OS's as it is kind of essential for vector graphic drawing on touch screens? On 17 August 2010 04:58, AcidJazz wrote: > > Here's a link to a technical article that discusses the fuzzy logic > involved > in pattern recognition of shapes. It doesn't provide the exact algorithm, > but should get you a little further down the road in your search. > From monte at sweattechnologies.com Tue Aug 17 07:58:16 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 17 Aug 2010 21:58:16 +1000 Subject: file owner & group names Message-ID: <626DB4CE-FD2B-4951-B86D-BDBA26DC325D@sweattechnologies.com> Hi I'm wondering if there is a way to translate the numeric owner and group returned in the detailed files into the actual names. At present I'm thinking of parsing ls -l but if there's another way to do it I'd be interested to know. Cheers Monte From monte at sweattechnologies.com Tue Aug 17 08:01:14 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 17 Aug 2010 22:01:14 +1000 Subject: UUID Message-ID: Hi I found this little gem in the rev SB library. _internal call "generate_uuid";put the result I'm wondering why it's not a public function and if there's a problem with me using it. Cheers Monte From shaosean at wehostmacs.com Tue Aug 17 08:06:44 2010 From: shaosean at wehostmacs.com (Shao Sean) Date: Tue, 17 Aug 2010 08:06:44 -0400 Subject: UUID Message-ID: yup.. was posted to the list a year or so ago.. does not work in compiled apps, only in the IDE and it seems only for the U3 builds.. From davidocoker at gmail.com Tue Aug 17 08:09:49 2010 From: davidocoker at gmail.com (David C.) Date: Tue, 17 Aug 2010 07:09:49 -0500 Subject: cross platform drawers In-Reply-To: <4C6A30FA.8070507@gmail.com> References: <3EA0BBBA-CC88-4FBC-A557-6F6A3DD1F9AA@sweattechnologies.com> <4C6A30FA.8070507@gmail.com> Message-ID: On Tue, Aug 17, 2010 at 1:49 AM, Richmond wrote: > Sorry chaps: couldn't resist it; > > but "Cross platform drawers" sounds like something > from "Priscilla, Queen of the Desert". > > Personally, for all my RunRev needs I use a THONG . . . ?:) ...nor could I resist the urge: http://www.docstoolchest.com/dual_bootys.jpg Best regards, David C. From revolution at derbrill.de Tue Aug 17 08:18:55 2010 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Tue, 17 Aug 2010 14:18:55 +0200 Subject: UUID In-Reply-To: <20100805170005.C07F5288450@mail.runrev.com> References: <20100805170005.C07F5288450@mail.runrev.com> Message-ID: <8D181EA1-2040-4B34-9EE0-73DB9E1934C7@derbrill.de> Hey Monte, http://marksmith.on-rev.com/revstuff/ He has got a very nice lib for UUIDs Cheers, Malte From monte at sweattechnologies.com Tue Aug 17 08:23:34 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 17 Aug 2010 22:23:34 +1000 Subject: UUID In-Reply-To: References: Message-ID: <5736886D-9C45-457C-87E0-550A1D96FE7A@sweattechnologies.com> On 17/08/2010, at 10:06 PM, Shao Sean wrote: > yup.. was posted to the list a year or so ago.. does not work in compiled apps, only in the IDE and it seems only for the U3 builds.. Ah, might be ok for my situation but it's a pity it's not a public function? Cheers Monte > _______________________________________________ > 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.on-rev.com Tue Aug 17 08:24:24 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 17 Aug 2010 14:24:24 +0200 Subject: UUID In-Reply-To: <8D181EA1-2040-4B34-9EE0-73DB9E1934C7@derbrill.de> References: <20100805170005.C07F5288450@mail.runrev.com> <8D181EA1-2040-4B34-9EE0-73DB9E1934C7@derbrill.de> Message-ID: <9FE722EE-7277-4CB6-B3D9-25953DBF2788@major.on-rev.com> Hi all, Am 17.08.2010 um 14:18 schrieb Malte Pfaff-Brill: > Hey Monte, > > http://marksmith.on-rev.com/revstuff/ > He has got a very nice lib for UUIDs > > Cheers, > > Malte Yep, or just use shell on Mac and Win (no idea about Linux, but might be similar to MacOS)! Put these two lines into a custom property of your stack or wherever Set TypeLib = CreateObject("Scriptlet.TypeLib") result = TypeLib.Guid And then use this function to get a UUID: function get_uuid if the platform = "MacOS" then put shell("uuidgen") into tUUID else do (the YOUR_CP_NAME_HERE of stack "your stack with the CP") as VBScript put the result into tUUID ## Comes in {} on Windows! delete char -1 of tUUID delete char 1 of tUUID end if return tUUID end get_uuid Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From monte at sweattechnologies.com Tue Aug 17 08:30:11 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 17 Aug 2010 22:30:11 +1000 Subject: UUID In-Reply-To: <8D181EA1-2040-4B34-9EE0-73DB9E1934C7@derbrill.de> References: <20100805170005.C07F5288450@mail.runrev.com> <8D181EA1-2040-4B34-9EE0-73DB9E1934C7@derbrill.de> Message-ID: Woah, now there's a handy site ;-) On 17/08/2010, at 10:18 PM, Malte Pfaff-Brill wrote: > Hey Monte, > > http://marksmith.on-rev.com/revstuff/ > > He has got a very nice lib for UUIDs > > Cheers, > > Malte > _______________________________________________ > 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 monte at sweattechnologies.com Tue Aug 17 08:30:25 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 17 Aug 2010 22:30:25 +1000 Subject: UUID In-Reply-To: <9FE722EE-7277-4CB6-B3D9-25953DBF2788@major.on-rev.com> References: <20100805170005.C07F5288450@mail.runrev.com> <8D181EA1-2040-4B34-9EE0-73DB9E1934C7@derbrill.de> <9FE722EE-7277-4CB6-B3D9-25953DBF2788@major.on-rev.com> Message-ID: <1CDE4D57-5F5A-4309-9208-B6EA86A0C28E@sweattechnologies.com> Gotta love this list ;-) On 17/08/2010, at 10:24 PM, Klaus on-rev wrote: > Hi all, > > Am 17.08.2010 um 14:18 schrieb Malte Pfaff-Brill: > >> Hey Monte, >> >> http://marksmith.on-rev.com/revstuff/ >> He has got a very nice lib for UUIDs >> >> Cheers, >> >> Malte > > Yep, or just use shell on Mac and Win (no idea about Linux, but might be similar to MacOS)! > > Put these two lines into a custom property of your stack or wherever > > Set TypeLib = CreateObject("Scriptlet.TypeLib") > result = TypeLib.Guid > > And then use this function to get a UUID: > > function get_uuid > if the platform = "MacOS" then > put shell("uuidgen") into tUUID > else > do (the YOUR_CP_NAME_HERE of stack "your stack with the CP") as VBScript > put the result into tUUID > > ## Comes in {} on Windows! > delete char -1 of tUUID > delete char 1 of tUUID > end if > return tUUID > end get_uuid > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.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 Tue Aug 17 08:40:43 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 17 Aug 2010 05:40:43 -0700 (PDT) Subject: file owner & group names In-Reply-To: <626DB4CE-FD2B-4951-B86D-BDBA26DC325D@sweattechnologies.com> Message-ID: <945749.43551.qm@web65411.mail.ac4.yahoo.com> On Unix machines you can lookup - the name of group id by parsing the file /etc/group - the name of a user id by parsing the file /etc/passwd Should be fairly straightforward to read into a variable and turn that into something searchable. In both files, the line delimiter is a newline character and the item delimiter is a colon character - and in both files the id is the third item. HTH, 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) --- On Tue, 8/17/10, Monte Goulding wrote: > From: Monte Goulding > Subject: file owner & group names > To: "How to use Revolution" > Date: Tuesday, August 17, 2010, 4:58 AM > Hi > > I'm wondering if there is a way to translate the numeric > owner and group returned in the detailed files into the > actual names. At present I'm thinking of parsing ls -l but > if there's another way to do it I'd be interested to know. > > Cheers > > Monte_______________________________________________ > 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 Aug 17 09:47:27 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 17 Aug 2010 09:47:27 -0400 Subject: Code signing certificate In-Reply-To: <5BA5371B-EE7A-461F-9201-1030BFB71950@mac.com> References: <5BA5371B-EE7A-461F-9201-1030BFB71950@mac.com> Message-ID: <770B173E-C4BC-45D7-B635-67C797E90EEA@mangomultimedia.com> On Aug 16, 2010, at 6:54 PM, Bill Vlahos wrote: > I understand that I need to purchase and continually renew a "Code > Signing Certificate" for both the installer .exe and the > application .exe. This way Windows won't complain that the > application is from an unknown publisher. > > Does anyone have any experience and recommendations for getting and > implementing these? I used Tucows which in turn uses Comodo - $75/yr. You need to sign up for an account at Tucows and then you can purchase the code signing certificate. I believe the starting point is here: https://author.tucows.com/ -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From ambassador at fourthworld.com Tue Aug 17 09:50:54 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 17 Aug 2010 06:50:54 -0700 Subject: cross platform drawers Message-ID: <4C6A93BE.1080904@fourthworld.com> Monte Goulding wrote: > I'll see what it feels like with palettes on windows but > I may need to come up with a plan b... You may find a disclosure triangle a suitable Plan B. They're still recommended in the Mac HIG, and in the HIGs for Win and Gnome too. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From andrew at rjdfarm.com Tue Aug 17 11:57:18 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 17 Aug 2010 08:57:18 -0700 (PDT) Subject: How safe is the data in the datagrid? Message-ID: <1282060638272-2328573.post@n4.nabble.com> Hey all, I am currently working on a database app that needs to work whether it is connected to the db or not. For this, I just check the connection before each transaction and if it is connected it puts the data into a mySQL. If it is not connected, I have it storing it in a datagrid queue until the next connection is detected. Once connected, my program loops through the dataGrid and inserts it into the DB. After a successful insertion that index gets deleted from the dataGrid. My original idea was to store these locally as a tab delimited text file or as xml. How safe is the data in the dataGrid from program crashes and in between sessions of use? The local data must be kept intact until it can be successfully loaded into the DB. Should I dump to an xml or txt file as a backup plan, or is this unnecessary? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-safe-is-the-data-in-the-datagrid-tp2328573p2328573.html Sent from the Revolution - User mailing list archive at Nabble.com. From slord at karbonized.com Tue Aug 17 11:52:29 2010 From: slord at karbonized.com (Simon Lord) Date: Tue, 17 Aug 2010 11:52:29 -0400 Subject: Group Culling... Message-ID: Hi all, I'm wondering if there is a way to lock a group in place so that it maintains a specific rect BUT at the same time show any objects within that group which are partly, or completely, outside the rect. Group must maintain size and position so bounding rect is not an option. Trying to avoid having to create needless workaround. Horrible feeling the answer is *no*. From sanke at hrz.uni-kassel.de Tue Aug 17 12:55:29 2010 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Tue, 17 Aug 2010 18:55:29 +0200 Subject: cross platform drawers Message-ID: <4C6ABF01.6090909@hrz.uni-kassel.de> On Mon Aug, 2010, Monte Goulding monte at sweattechnologies.com wrote: > Hi > > I'm working on InstallGadget 2 and an InstallGadget plugin for rev. > The plugin is well suited to using drawers on OS X to integrate IG > settings with the standalone builder interface. I'm just wondering > what people think I should do on Windows? Has anyone done drawer > emulation and is it worthwhile and appreciated my users? > > Check out InstallGadget 2 & the plugin on Facebook and you will see > what I mean about the drawers ;-) > > Cheers > Monte I do not know if you could use an old stack of mine for your Install Gadget, but it is indeed a drawer emulation for all platforms: The stack demonstrates the use of "drawers" without using the new "drawer" command introduced in Revolution 2.1.2. Therefore these forms of drawers can be implemented also with older versions of Metacard and Revolution and on any platform. Drawers can slide out and back at any point of the rectangle of the main stack and even in diagonal directions. From the "information" pane of the stack itself: "Using and modifying the scripts of the "drawer"-buttons you can create any number of drawer stacks that can slide out in any direction. 1. Set the starting point of the drawer to any point of the sides of the drawerbase. 2. Define the direction of the drawer movement in the repeat loop 3. Modify the respective close buttons Drawers can be created for any platform and with Rev or Metacard versions lower than 2.1 or 2.5 as these examples do *not* use the new "drawer" command available at present - August 2003 - only in version 2.1 of Revolution (2.5.1B3 of Metacard) and only for MacOS X." Best regards, Wilhelm Sanke From francois.chaplais at mines-paristech.fr Tue Aug 17 13:19:14 2010 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Tue, 17 Aug 2010 19:19:14 +0200 Subject: [OT] Dead video card In-Reply-To: References: <4C6998CE.7040403@gmail.com> Message-ID: isn't there a difference between PPC and Intel video cards? Something related to the ordering of bits in the bytes (big Endian v.s. small Endian, or something like that?) Best, Fran?ois Le 16 ao?t 2010 ? 22:08, Jeff Massung a ?crit : > No such thing as a "Mac Compatible" video card... or a "PC Compatible" one > for that matter. That's just a matter of branding. > > The only important question is whether or not there are good video drivers > for your particular OS for that piece of hardware. > > If you go look at the ATI or nVidia websites, look over their drivers and > see if there's a driver set for the OS you have and the card you are > considering buying. > > Jeff M. > > On Mon, Aug 16, 2010 at 3:00 PM, Richmond wrote: > >> Wow! >> >> I returned from 4 days in the mountains to find the video-card on my G4 MDD >> had 'died'; >> this is a nuisance as I will be unable to release my Devawriter Pro before >> I can "see" into >> my computer. >> >> Has anybody any links to Mac compatible video-cards?????? >> >> I find that Amazon is full of video-cards but they give no indication if >> they are >> Mac compatible. >> _______________________________________________ >> 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 Tue Aug 17 13:21:26 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 17 Aug 2010 19:21:26 +0200 Subject: Group Culling... In-Reply-To: References: Message-ID: <364394AD-261A-429C-A03E-0507B2BA1891@economy-x-talk.com> Hi Simon, Use the property inspector to set the locLock of the group to true and give it scroll bars. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 17 aug 2010, at 17:52, Simon Lord wrote: > Hi all, I'm wondering if there is a way to lock a group in place so > that it maintains a specific rect BUT at the same time show any > objects within that group which are partly, or completely, outside the > rect. Group must maintain size and position so bounding rect is not > an option. Trying to avoid having to create needless workaround. > > Horrible feeling the answer is *no*. From bobs at twft.com Tue Aug 17 13:24:04 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 17 Aug 2010 10:24:04 -0700 Subject: Is it possible to copy and paste html links from a browser, or MS Word, into a Rev app? In-Reply-To: References: <4C69A6C1.6060705@fourthworld.com> Message-ID: <09AECF9A-60C2-4458-B732-3A5556247881@twft.com> Not sure if it relates, but I have noticed that if I copy something, then launch a Microsoft application and try to paste it, it doesn't work. However, if I already have the Microsoft application running, and copy something from a foreign app, I can then paste it into the MS app. I believe this is because Microsoft "takes over" the clipboard, to ensure the proper translation of data in the clipboard to a format the MS app will recognize. Could this be what you are running into? Bob On Aug 16, 2010, at 2:18 PM, Jonathan Lynch wrote: > Hmmm... > > All of the applications we use at work (except the ones I create) are > microsoft applications. I will have to find something that is not from > microsoft to test this. > > > > On Mon, Aug 16, 2010 at 4:59 PM, Richard Gaskin > wrote: > >> Jonathan Lynch wrote: >> >> I am trying to figure out how to copy text that contains a link into a Rev >>> field, such that the link information is preserved. It seems that some >>> formatting, such as bolding, text size, and text font are preserved, but >>> that link information is entirely stripped out. >>> >> >> Many apps don't copy link data to the public clipboard. >> >> Can you paste from one of those programs into another and have the links >> preserved? >> >> -- >> Richard Gaskin >> Fourth World >> Rev training and consulting: http://www.fourthworld.com >> Webzine for Rev developers: http://www.revjournal.com >> revJournal blog: http://revjournal.com/blog.irv >> >> _______________________________________________ >> 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 >> > > > > -- > Do all things with love > _______________________________________________ > 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 gcanyon+rev at gmail.com Tue Aug 17 13:27:52 2010 From: gcanyon+rev at gmail.com (Geoff Canyon Rev) Date: Tue, 17 Aug 2010 12:27:52 -0500 Subject: revNavigator In-Reply-To: References: <20100812040139.AEBF32883B3@mail.runrev.com> <5F9FB8FA-F0DD-46EA-89E2-D598E613F64D@mollysrevenge.com> <93A449FA-CADE-467A-B3B8-4B2468DFDF29@gmail.com> <4C64400D.3070301@hyperactivesw.com> Message-ID: aw gee, thanks guys -- nice to know it lives on in some people's tool boxes. gc On Mon, Aug 16, 2010 at 1:30 PM, Mark Talluto wrote: > Super tool! ?I have been using it for years and I did make my very affordable payment back then. ?I too could not survive without it. > > Best regards, > > Mark Talluto > http://www.canelasoftware.com > >> On Aug 13, 2010, at 10:32 PM, Geoff Canyon Rev wrote: >> >>> revNavigator hasn't been updated for several versions, so it's >>> entirely possible that the dev environment has changed since I wrote >>> it. Or I might just have done a bad job with it ;-) That said it still >>> works -- I don't do much work with Rev anymore, but when I do I >>> couldn't live without it. >>> >>> While I'm thinking about it, I hereby declare revNavigator to be free >>> for anyone to use. >>> >>> gc > _______________________________________________ > 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 gcanyon+rev at gmail.com Tue Aug 17 13:29:22 2010 From: gcanyon+rev at gmail.com (Geoff Canyon Rev) Date: Tue, 17 Aug 2010 12:29:22 -0500 Subject: SoCal Rev User Group meeting: Thursday, August 19th In-Reply-To: <1281717434040-2324475.post@n4.nabble.com> References: <4C633676.1010409@fourthworld.com> <2A6C95C0-B81F-43C6-946D-7380E8F604A3@mac.com> <1281717434040-2324475.post@n4.nabble.com> Message-ID: I recently moved to St. Louis -- where are you located? gc On Fri, Aug 13, 2010 at 11:37 AM, Andrew Kluthe wrote: > > Hmm. I wonder how many rev users are in the St. Louis-ish area that would be > interested in something similar. > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/SoCal-Rev-User-Group-meeting-Thursday-August-19th-tp2322016p2324475.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 gcanyon+rev at gmail.com Tue Aug 17 13:29:58 2010 From: gcanyon+rev at gmail.com (Geoff Canyon Rev) Date: Tue, 17 Aug 2010 12:29:58 -0500 Subject: SoCal Rev User Group meeting: Thursday, August 19th In-Reply-To: References: <4C633676.1010409@fourthworld.com> <2A6C95C0-B81F-43C6-946D-7380E8F604A3@mac.com> <1281717434040-2324475.post@n4.nabble.com> Message-ID: Richard, I'm one day off -- I'm flying in on Friday to visit my son. :-( gc On Tue, Aug 17, 2010 at 12:29 PM, Geoff Canyon Rev wrote: > I recently moved to St. Louis -- where are you located? > > gc > > On Fri, Aug 13, 2010 at 11:37 AM, Andrew Kluthe wrote: >> >> Hmm. I wonder how many rev users are in the St. Louis-ish area that would be >> interested in something similar. >> -- >> View this message in context: http://runtime-revolution.278305.n4.nabble.com/SoCal-Rev-User-Group-meeting-Thursday-August-19th-tp2322016p2324475.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 bobs at twft.com Tue Aug 17 13:32:06 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 17 Aug 2010 10:32:06 -0700 Subject: How safe is the data in the datagrid? In-Reply-To: <1282060638272-2328573.post@n4.nabble.com> References: <1282060638272-2328573.post@n4.nabble.com> Message-ID: <6D99BCE3-3EFC-488E-A68E-A22DB2DE79B6@twft.com> I think you will have to eventually either dump your data to a text file whenever it's modified, or else if you intend to produce a compiled app, consider having your main app as a stack attached to your startup app, which cannot be modified. That way you can simply store the contents in a custom property in the datagrid, which is what I do. Bob On Aug 17, 2010, at 8:57 AM, Andrew Kluthe wrote: > > Hey all, > > I am currently working on a database app that needs to work whether it is > connected to the db or not. > > For this, I just check the connection before each transaction and if it is > connected it puts the data into a mySQL. > > If it is not connected, I have it storing it in a datagrid queue until the > next connection is detected. > > Once connected, my program loops through the dataGrid and inserts it into > the DB. After a successful insertion that index gets deleted from the > dataGrid. > > My original idea was to store these locally as a tab delimited text file or > as xml. > > How safe is the data in the dataGrid from program crashes and in between > sessions of use? The local data must be kept intact until it can be > successfully loaded into the DB. > > Should I dump to an xml or txt file as a backup plan, or is this > unnecessary? > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-safe-is-the-data-in-the-datagrid-tp2328573p2328573.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 bobs at twft.com Tue Aug 17 13:42:55 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 17 Aug 2010 10:42:55 -0700 Subject: [OT] Dead video card In-Reply-To: <30FAFDDF-3025-4916-8E89-1246901DEA31@azurevision.co.uk> References: <4C6998CE.7040403@gmail.com> <30FAFDDF-3025-4916-8E89-1246901DEA31@azurevision.co.uk> Message-ID: Now that my memory is jogged, I recall that older PowerPC computers write data to the video cards in the opposite order that PC's did. Now that they have Intel based OS X systems for Mac, I think this has gone the way of the Dodo. But we are after all talking about an old G4. In fact, this was the reason that emulators like Virtual PC could never attain the performance on graphics intensive tasks that people needed. EVERYTHING graphics had to go through a translator. Nowadays, a lot of emulated tasks can access the processor directly with little or no translation, giving us the exceptional performance of emulators like VMWare and Parallels produces. Bob On Aug 16, 2010, at 2:34 PM, Ian Wood wrote: > On 16 Aug 2010, at 21:08, Jeff Massung wrote: > >> No such thing as a "Mac Compatible" video card... or a "PC Compatible" one >> for that matter. That's just a matter of branding. > > Like Bob says, this is not true. Mac and Windows versions of the same graphics card models have different firmware. Apparently it's possible to flash Windows-compatible cards with the correct firmware to run in a Mac, but I've no idea how complex the process is. > > 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 bobs at twft.com Tue Aug 17 13:44:52 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 17 Aug 2010 10:44:52 -0700 Subject: [OT] Dead video card In-Reply-To: References: <4C6998CE.7040403@gmail.com> <30FAFDDF-3025-4916-8E89-1246901DEA31@azurevision.co.uk> Message-ID: <6916C098-B63C-4A52-AA2C-E95144046838@twft.com> I thought you might say that. :-) You are saying that they are theoretically identical. We are saying that it is practically not. What we can do in theory is not going to help Richmond at this point, but I see what you are getting at. Bob On Aug 16, 2010, at 3:39 PM, Jeff Massung wrote: > On Mon, Aug 16, 2010 at 4:34 PM, Ian Wood wrote: > >> On 16 Aug 2010, at 21:08, Jeff Massung wrote: >> >>> No such thing as a "Mac Compatible" video card... or a "PC Compatible" >> one >>> for that matter. That's just a matter of branding. >> >> Like Bob says, this is not true. Mac and Windows versions of the same >> graphics card models have different firmware. Apparently it's possible to >> flash Windows-compatible cards with the correct firmware to run in a Mac, >> but I've no idea how complex the process is. >> >> > Guys, it's just hardware. If there's no code to run it on the hardware, then > yes, it won't work. But, there's no such thing as a a piece of hardware that > cannot possibly interface with another piece of hardware. One could make an > ATI video card be run from a Z80 micro processor if one felt so inclined. > It's just bytes and cycles, and maybe a little soldering. ;-) > > Jeff M. > _______________________________________________ > 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 Aug 17 13:50:40 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 17 Aug 2010 10:50:40 -0700 Subject: [OT] Dead video card In-Reply-To: References: <4C6998CE.7040403@gmail.com> Message-ID: I'm guessing compatibility is where the Forth language is concerned. Forth is terse, can be interpreted, has a tiny footprint and is known to be near machine code speed for some operations. But it's true you or your motherboard could get burned making assumptions about anything that isn't specifically tested for MacOS (and the version you want to deploy) AND the G4 hardware. It's a minefield so much research is necessary. Computerdom has already deemed my 'ancient' PCI G5 as worthless and will be furnishing no more updates. Google didn't even bother porting a G5 browser, Digidesign gave up a year ago. Eye-TV just quit updates for G5. The replacement hardware for this old stuff becomes 'rare' and thus more expensive. 2010/8/17 Fran?ois Chaplais > isn't there a difference between PPC and Intel video cards? Something > related to the ordering of bits in the bytes (big Endian v.s. small Endian, > or something like that?) > Best, > Fran?ois > Le 16 ao?t 2010 ? 22:08, Jeff Massung a ?crit : > > > No such thing as a "Mac Compatible" video card... or a "PC Compatible" > one > > for that matter. That's just a matter of branding. > > > > The only important question is whether or not there are good video > drivers > > for your particular OS for that piece of hardware. > > > > If you go look at the ATI or nVidia websites, look over their drivers and > > see if there's a driver set for the OS you have and the card you are > > considering buying. > > > > Jeff M. > > > > On Mon, Aug 16, 2010 at 3:00 PM, Richmond >wrote: > > > >> Wow! > >> > >> I returned from 4 days in the mountains to find the video-card on my G4 > MDD > >> had 'died'; > >> this is a nuisance as I will be unable to release my Devawriter Pro > before > >> I can "see" into > >> my computer. > >> > >> Has anybody any links to Mac compatible video-cards?????? > >> > >> I find that Amazon is full of video-cards but they give no indication if > >> they are > >> Mac compatible. > >> _______________________________________________ > >> 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From stephenREVOLUTION2 at barncard.com Tue Aug 17 13:53:17 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 17 Aug 2010 10:53:17 -0700 Subject: revNavigator In-Reply-To: References: <20100812040139.AEBF32883B3@mail.runrev.com> <5F9FB8FA-F0DD-46EA-89E2-D598E613F64D@mollysrevenge.com> <93A449FA-CADE-467A-B3B8-4B2468DFDF29@gmail.com> <4C64400D.3070301@hyperactivesw.com> Message-ID: I thought it shipped in the plugins folder within every new install of Rev! sqb On 17 August 2010 10:27, Geoff Canyon Rev > wrote: > aw gee, thanks guys -- nice to know it lives on in some people's tool > boxes. > > gc > > On Mon, Aug 16, 2010 at 1:30 PM, Mark Talluto > wrote: > > Super tool! I have been using it for years and I did make my very > affordable payment back then. I too could not survive without it. > > > > Best regards, > > > > Mark Talluto > > http://www.canelasoftware.com > > > >> On Aug 13, 2010, at 10:32 PM, Geoff Canyon Rev wrote: > >> > >>> revNavigator hasn't been updated for several versions, so it's > >>> entirely possible that the dev environment has changed since I wrote > >>> it. Or I might just have done a bad job with it ;-) That said it still > >>> works -- I don't do much work with Rev anymore, but when I do I > >>> couldn't live without it. > >>> > >>> While I'm thinking about it, I hereby declare revNavigator to be free > >>> for anyone to use. > >>> > >>> gc > > _______________________________________________ > > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From andre at andregarzia.com Tue Aug 17 13:53:50 2010 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 17 Aug 2010 14:53:50 -0300 Subject: [OT] Dead video card In-Reply-To: References: <4C6998CE.7040403@gmail.com> Message-ID: still those G5 are loved by video production students on a budget. They can pick them up cheap these days and they run Final Cut which is king among video stuff. (Wearing my film school graduate hat) On Tue, Aug 17, 2010 at 2:50 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > I'm guessing compatibility is where the Forth language is concerned. Forth > is terse, can be interpreted, has a tiny footprint and is known to be near > machine code speed for some operations. > > But it's true you or your motherboard could get burned making assumptions > about anything that isn't specifically tested for MacOS (and the version > you > want to deploy) AND the G4 hardware. It's a minefield so much research is > necessary. > > Computerdom has already deemed my 'ancient' PCI G5 as worthless and will be > furnishing no more updates. Google didn't even bother porting a G5 browser, > Digidesign gave up a year ago. Eye-TV just quit updates for G5. The > replacement hardware for this old stuff becomes 'rare' and thus more > expensive. > > 2010/8/17 Fran?ois Chaplais > > > isn't there a difference between PPC and Intel video cards? Something > > related to the ordering of bits in the bytes (big Endian v.s. small > Endian, > > or something like that?) > > Best, > > Fran?ois > > Le 16 ao?t 2010 ? 22:08, Jeff Massung a ?crit : > > > > > No such thing as a "Mac Compatible" video card... or a "PC Compatible" > > one > > > for that matter. That's just a matter of branding. > > > > > > The only important question is whether or not there are good video > > drivers > > > for your particular OS for that piece of hardware. > > > > > > If you go look at the ATI or nVidia websites, look over their drivers > and > > > see if there's a driver set for the OS you have and the card you are > > > considering buying. > > > > > > Jeff M. > > > > > > On Mon, Aug 16, 2010 at 3:00 PM, Richmond > >wrote: > > > > > >> Wow! > > >> > > >> I returned from 4 days in the mountains to find the video-card on my > G4 > > MDD > > >> had 'died'; > > >> this is a nuisance as I will be unable to release my Devawriter Pro > > before > > >> I can "see" into > > >> my computer. > > >> > > >> Has anybody any links to Mac compatible video-cards?????? > > >> > > >> I find that Amazon is full of video-cards but they give no indication > if > > >> they are > > >> Mac compatible. > > >> _______________________________________________ > > >> 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 > > > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > 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 bobs at twft.com Tue Aug 17 13:57:00 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 17 Aug 2010 10:57:00 -0700 Subject: [OT] Dead video card In-Reply-To: References: <4C6998CE.7040403@gmail.com> Message-ID: <21E338B1-C705-4C71-B09C-0718ED1FA893@twft.com> I have always maintained that IT obsolescence occurs not when there is something different on the drawing board or the local computer store shelf, but when what you have can no longer run software or operating systems that are on the shelf today. In the case of software, it works the opposite direction. If you accept this, then yeah the G5 is obsolete. Sad too, because we have 6 G5 towers that are perfectly good, but will not take the latest OS and much software that we want to run. Bob On Aug 17, 2010, at 10:50 AM, stephen barncard wrote: > Computerdom has already deemed my 'ancient' PCI G5 as worthless and will be > furnishing no more updates. Google didn't even bother porting a G5 browser, > Digidesign gave up a year ago. Eye-TV just quit updates for G5. The > replacement hardware for this old stuff becomes 'rare' and thus more > expensive. From andre at andregarzia.com Tue Aug 17 14:07:13 2010 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 17 Aug 2010 15:07:13 -0300 Subject: revNavigator In-Reply-To: References: <20100812040139.AEBF32883B3@mail.runrev.com> <5F9FB8FA-F0DD-46EA-89E2-D598E613F64D@mollysrevenge.com> <93A449FA-CADE-467A-B3B8-4B2468DFDF29@gmail.com> <4C64400D.3070301@hyperactivesw.com> Message-ID: Yes it does but they are shipping an old version. I just discovered the 3.0 version, wow, that is quite a tool! On Tue, Aug 17, 2010 at 2:53 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > I thought it shipped in the plugins folder within every new install of Rev! > > sqb > > On 17 August 2010 10:27, Geoff Canyon Rev > > > > > wrote: > > > aw gee, thanks guys -- nice to know it lives on in some people's tool > > boxes. > > > > gc > > > > On Mon, Aug 16, 2010 at 1:30 PM, Mark Talluto > > > wrote: > > > Super tool! I have been using it for years and I did make my very > > affordable payment back then. I too could not survive without it. > > > > > > Best regards, > > > > > > Mark Talluto > > > http://www.canelasoftware.com > > > > > >> On Aug 13, 2010, at 10:32 PM, Geoff Canyon Rev wrote: > > >> > > >>> revNavigator hasn't been updated for several versions, so it's > > >>> entirely possible that the dev environment has changed since I wrote > > >>> it. Or I might just have done a bad job with it ;-) That said it > still > > >>> works -- I don't do much work with Rev anymore, but when I do I > > >>> couldn't live without it. > > >>> > > >>> While I'm thinking about it, I hereby declare revNavigator to be free > > >>> for anyone to use. > > >>> > > >>> gc > > > _______________________________________________ > > > 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 > > > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > 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 andrew at rjdfarm.com Tue Aug 17 14:08:27 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 17 Aug 2010 11:08:27 -0700 (PDT) Subject: SoCal Rev User Group meeting: Thursday, August 19th In-Reply-To: References: <4C633676.1010409@fourthworld.com> <2A6C95C0-B81F-43C6-946D-7380E8F604A3@mac.com> <1281717434040-2324475.post@n4.nabble.com> Message-ID: <1282068507856-2328783.post@n4.nabble.com> About 45 minutes to the north east of Stl. Quiet little Carlinville, IL. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/SoCal-Rev-User-Group-meeting-Thursday-August-19th-tp2322016p2328783.html Sent from the Revolution - User mailing list archive at Nabble.com. From stephenREVOLUTION2 at barncard.com Tue Aug 17 14:08:20 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 17 Aug 2010 11:08:20 -0700 Subject: [OT] Dead video card In-Reply-To: References: <4C6998CE.7040403@gmail.com> Message-ID: Exactly, my friend - FC Studio 5 is on my G5 right now. It looks to be my A/V platform for some time to come. They will have to take it from my 'cold dead hands' POWER COMPUTING sqb On 17 August 2010 10:53, Andre Garzia wrote: > still those G5 are loved by video production students on a budget. They can > pick them up cheap these days and they run Final Cut which is king among > video stuff. > > (Wearing my film school graduate hat) > > On Tue, Aug 17, 2010 at 2:50 PM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > > > I'm guessing compatibility is where the Forth language is concerned. > Forth > > is terse, can be interpreted, has a tiny footprint and is known to be > near > > machine code speed for some operations. > > > > But it's true you or your motherboard could get burned making assumptions > > about anything that isn't specifically tested for MacOS (and the version > > you > > want to deploy) AND the G4 hardware. It's a minefield so much research > is > > necessary. > > > > Computerdom has already deemed my 'ancient' PCI G5 as worthless and will > be > > furnishing no more updates. Google didn't even bother porting a G5 > browser, > > Digidesign gave up a year ago. Eye-TV just quit updates for G5. The > > replacement hardware for this old stuff becomes 'rare' and thus more > > expensive. > > > > 2010/8/17 Fran?ois Chaplais > > > > > isn't there a difference between PPC and Intel video cards? Something > > > related to the ordering of bits in the bytes (big Endian v.s. small > > Endian, > > > or something like that?) > > > Best, > > > Fran?ois > > > Le 16 ao?t 2010 ? 22:08, Jeff Massung a ?crit : > > > > > > > No such thing as a "Mac Compatible" video card... or a "PC > Compatible" > > > one > > > > for that matter. That's just a matter of branding. > > > > > > > > The only important question is whether or not there are good video > > > drivers > > > > for your particular OS for that piece of hardware. > > > > > > > > If you go look at the ATI or nVidia websites, look over their drivers > > and > > > > see if there's a driver set for the OS you have and the card you are > > > > considering buying. > > > > > > > > Jeff M. > > > > > > > > On Mon, Aug 16, 2010 at 3:00 PM, Richmond < > richmondmathewson at gmail.com > > > >wrote: > > > > > > > >> Wow! > > > >> > > > >> I returned from 4 days in the mountains to find the video-card on my > > G4 > > > MDD > > > >> had 'died'; > > > >> this is a nuisance as I will be unable to release my Devawriter Pro > > > before > > > >> I can "see" into > > > >> my computer. > > > >> > > > >> Has anybody any links to Mac compatible video-cards?????? > > > >> > > > >> I find that Amazon is full of video-cards but they give no > indication > > if > > > >> they are > > > >> Mac compatible. > > > >> _______________________________________________ > > > >> 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 > > > > > > > > > > > -- > > > > > > > > Stephen Barncard > > San Francisco Ca. USA > > > > more about sqb > > _______________________________________________ > > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From andrew at rjdfarm.com Tue Aug 17 14:12:38 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 17 Aug 2010 11:12:38 -0700 (PDT) Subject: How safe is the data in the datagrid? In-Reply-To: <6D99BCE3-3EFC-488E-A68E-A22DB2DE79B6@twft.com> References: <1282060638272-2328573.post@n4.nabble.com> <6D99BCE3-3EFC-488E-A68E-A22DB2DE79B6@twft.com> Message-ID: <1282068758115-2328793.post@n4.nabble.com> I should have explained. The stack it is getting stored in is to be shipped as a stack and run with a launcher. What are the chances of data that is stored in a stack might be damaged or lost when the app crashes? Anyone had this happen? Hmm, and my autoupdate feature just downloads the new version of the stack. If it overwrites their copy, I assume any data stored within is gone too huh? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-safe-is-the-data-in-the-datagrid-tp2328573p2328793.html Sent from the Revolution - User mailing list archive at Nabble.com. From bvlahos at mac.com Tue Aug 17 14:20:10 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 17 Aug 2010 11:20:10 -0700 Subject: Code signing certificate In-Reply-To: <770B173E-C4BC-45D7-B635-67C797E90EEA@mangomultimedia.com> References: <5BA5371B-EE7A-461F-9201-1030BFB71950@mac.com> <770B173E-C4BC-45D7-B635-67C797E90EEA@mangomultimedia.com> Message-ID: Neal and Trevor, Thanks very much. Once you get the certificate how do you attach it? Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Aug 17, 2010, at 6:47 AM, Trevor DeVore wrote: > On Aug 16, 2010, at 6:54 PM, Bill Vlahos wrote: > >> I understand that I need to purchase and continually renew a "Code Signing Certificate" for both the installer .exe and the application .exe. This way Windows won't complain that the application is from an unknown publisher. >> >> Does anyone have any experience and recommendations for getting and implementing these? > > I used Tucows which in turn uses Comodo - $75/yr. You need to sign up for an account at Tucows and then you can purchase the code signing certificate. I believe the starting point is here: > > https://author.tucows.com/ > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.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 bobs at twft.com Tue Aug 17 15:14:20 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 17 Aug 2010 12:14:20 -0700 Subject: How safe is the data in the datagrid? In-Reply-To: <1282068758115-2328793.post@n4.nabble.com> References: <1282060638272-2328573.post@n4.nabble.com> <6D99BCE3-3EFC-488E-A68E-A22DB2DE79B6@twft.com> <1282068758115-2328793.post@n4.nabble.com> Message-ID: <302BA130-1F61-4A9F-AB86-294897F67FE8@twft.com> Your assumptions would be accurate. Actually, since a datagrid is simply a bunch of Revolution buttons and fields, your chances are exactly the same that the dat in the datagrid would get corrupted as any other control. But I don't think I have ever seen a revolution lockup corrupt data in a field. If it did, it would probably corrupt the whole stack. I don't think that is something you have to worry about. This isn't Hypercard you know!! ;-) At any rate, I think you are getting on the right track thinking about data persistence through any state, which is going to involve saving the data to an external source no matter what. I would do it after the user exits the data grid. That is how any disk based database I have ever seen does it. No one expects data to be retained as the user is entering it! If the data is confidential, then you have to start thinking about encoding and decoding and such. Bob On Aug 17, 2010, at 11:12 AM, Andrew Kluthe wrote: > > I should have explained. The stack it is getting stored in is to be shipped > as a stack and run with a launcher. > > What are the chances of data that is stored in a stack might be damaged or > lost when the app crashes? > > Anyone had this happen? > > Hmm, and my autoupdate feature just downloads the new version of the stack. > If it overwrites their copy, I assume any data stored within is gone too > huh? > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-safe-is-the-data-in-the-datagrid-tp2328573p2328793.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 davidocoker at gmail.com Tue Aug 17 15:28:44 2010 From: davidocoker at gmail.com (David C.) Date: Tue, 17 Aug 2010 14:28:44 -0500 Subject: [OT] Dead video card In-Reply-To: <21E338B1-C705-4C71-B09C-0718ED1FA893@twft.com> References: <4C6998CE.7040403@gmail.com> <21E338B1-C705-4C71-B09C-0718ED1FA893@twft.com> Message-ID: Bob Said: > I have always maintained that IT obsolescence occurs not when there is something > different on the drawing board or the local computer store shelf, but when what you > have can no longer run software or operating systems that are on the shelf today. Sad but true. I personally came kicking and screaming into the world of GUI based software (Windows) and was otherwise quite pleased to be using just plain DOS up until I could no longer purchase anything worthwhile at the big name computer stores.... In fact, I went from daily use of a Commodore C-64 to DOS 6.22, directly to Win 98. Happy to say that I missed all previous versions of Windows and never have liked the one's I've been stuck with even at that. Best regards, David C. From jonathandlynch at gmail.com Tue Aug 17 16:37:24 2010 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Tue, 17 Aug 2010 16:37:24 -0400 Subject: Is it possible to copy and paste html links from a browser, orMS Word, into a Rev app? In-Reply-To: <109446063796.20100816173610@ahsoftware.net> References: <4C69B39E.1080803@hyperactivesw.com> <4C69C531.1020303@hyperactivesw.com> <970860730-1282003769-cardhu_decombobulator_blackberry.rim.net-302660712-@bda2034.bisx.prod.on.blackberry> <109446063796.20100816173610@ahsoftware.net> Message-ID: Thanks for checking, Mark :) On Mon, Aug 16, 2010 at 8:36 PM, Mark Wieder wrote: > Jonathan- > > Monday, August 16, 2010, 5:27:10 PM, you wrote: > > > Hmmmmm > > > Would you mind trying copying from ms word? I have a hunch that > > microsoft is at the heart of my plight. > > Verified here. Good old Microsoft. The links are underlined and blue > but not linked. Neither the html nor the rtf data contain the links. > Normally I'd advise dropping Word and going with something more > reasonable, but I don't suppose that's an option for you. FWIW you > can't paste them into WordPad either. > > -- > -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 > -- Do all things with love From jonathandlynch at gmail.com Tue Aug 17 16:45:27 2010 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Tue, 17 Aug 2010 16:45:27 -0400 Subject: Is it possible to copy and paste html links from a browser, or MS Word, into a Rev app? In-Reply-To: <09AECF9A-60C2-4458-B732-3A5556247881@twft.com> References: <4C69A6C1.6060705@fourthworld.com> <09AECF9A-60C2-4458-B732-3A5556247881@twft.com> Message-ID: I think that microsoft must put the information into the public clipboard in a non-standard way. The fact that AbiWord can retrieve the link information from the public clipboard tells me that it is in there. AbiWord appears to have been specifically designed to be compatible with MS word, so AbiWord's developers might have deliberately wrote in code to access components of the clipboard that have been microsofticized. Fortunately for me, after talking with the team lead at work for whom this is relevant, I will probably be able to just build a custom interface for their needs, and avoid this issue entirely. If I cannot do that, then I am going to see if it is possible to use Cscript to retrieve microsoftized parts of the clipboard. Thanks, J On Tue, Aug 17, 2010 at 1:24 PM, Bob Sneidar wrote: > Not sure if it relates, but I have noticed that if I copy something, then > launch a Microsoft application and try to paste it, it doesn't work. > However, if I already have the Microsoft application running, and copy > something from a foreign app, I can then paste it into the MS app. > > I believe this is because Microsoft "takes over" the clipboard, to ensure > the proper translation of data in the clipboard to a format the MS app will > recognize. Could this be what you are running into? > > Bob > > > On Aug 16, 2010, at 2:18 PM, Jonathan Lynch wrote: > > > Hmmm... > > > > All of the applications we use at work (except the ones I create) are > > microsoft applications. I will have to find something that is not from > > microsoft to test this. > > > > > > > > On Mon, Aug 16, 2010 at 4:59 PM, Richard Gaskin > > wrote: > > > >> Jonathan Lynch wrote: > >> > >> I am trying to figure out how to copy text that contains a link into a > Rev > >>> field, such that the link information is preserved. It seems that some > >>> formatting, such as bolding, text size, and text font are preserved, > but > >>> that link information is entirely stripped out. > >>> > >> > >> Many apps don't copy link data to the public clipboard. > >> > >> Can you paste from one of those programs into another and have the links > >> preserved? > >> > >> -- > >> Richard Gaskin > >> Fourth World > >> Rev training and consulting: http://www.fourthworld.com > >> Webzine for Rev developers: http://www.revjournal.com > >> revJournal blog: http://revjournal.com/blog.irv > >> > >> _______________________________________________ > >> 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 > >> > > > > > > > > -- > > Do all things with love > > _______________________________________________ > > 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 > -- Do all things with love From mwieder at ahsoftware.net Tue Aug 17 17:13:03 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 17 Aug 2010 14:13:03 -0700 Subject: [OT] Dead video card In-Reply-To: <6916C098-B63C-4A52-AA2C-E95144046838@twft.com> References: <4C6998CE.7040403@gmail.com> <30FAFDDF-3025-4916-8E89-1246901DEA31@azurevision.co.uk> <6916C098-B63C-4A52-AA2C-E95144046838@twft.com> Message-ID: <152520276015.20100817141303@ahsoftware.net> Bob- Tuesday, August 17, 2010, 10:44:52 AM, you wrote: > I thought you might say that. :-) You are saying that they are > theoretically identical. We are saying that it is practically not. > What we can do in theory is not going to help Richmond at this > point, but I see what you are getting at. ...you know what they say... In theory there's no difference between theory and practice, but in practice there is. -- -Mark Wieder mwieder at ahsoftware.net From monte at sweattechnologies.com Tue Aug 17 17:22:00 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 18 Aug 2010 07:22:00 +1000 Subject: cross platform drawers In-Reply-To: <4C6ABF01.6090909@hrz.uni-kassel.de> References: <4C6ABF01.6090909@hrz.uni-kassel.de> Message-ID: <27A39603-838F-408F-9B9F-124AFE9DDE4A@sweattechnologies.com> Hi Wilhelm That looks good but I think I'm settled now on just using palettes unless on OS X. Cheers Monte From monte at sweattechnologies.com Tue Aug 17 17:24:19 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 18 Aug 2010 07:24:19 +1000 Subject: file owner & group names In-Reply-To: <945749.43551.qm@web65411.mail.ac4.yahoo.com> References: <945749.43551.qm@web65411.mail.ac4.yahoo.com> Message-ID: <7C654B1B-2FE2-4E26-A927-E2D977BA4DC6@sweattechnologies.com> Great, cheers Jan On 17/08/2010, at 10:40 PM, Jan Schenkel wrote: > On Unix machines you can lookup > - the name of group id by parsing the file /etc/group > - the name of a user id by parsing the file /etc/passwd > > Should be fairly straightforward to read into a variable and turn that into something searchable. In both files, the line delimiter is a newline character and the item delimiter is a colon character - and in both files the id is the third item. > > HTH, > > 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) > > > --- On Tue, 8/17/10, Monte Goulding wrote: > >> From: Monte Goulding >> Subject: file owner & group names >> To: "How to use Revolution" >> Date: Tuesday, August 17, 2010, 4:58 AM >> Hi >> >> I'm wondering if there is a way to translate the numeric >> owner and group returned in the detailed files into the >> actual names. At present I'm thinking of parsing ls -l but >> if there's another way to do it I'd be interested to know. >> >> Cheers >> >> Monte_______________________________________________ >> 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 runrev at aboutmyfiles.com Tue Aug 17 17:53:33 2010 From: runrev at aboutmyfiles.com (Mark E. Powell) Date: Tue, 17 Aug 2010 21:53:33 +0000 Subject: Can't get to first base with 'do as VBScript' Message-ID: I am on Windows, Rev 2.9, and trying to use VBScript to do some Outlook stuff. I know almost no Visual Basic and have never invoked VBScript from Rev, so please consider me a simpleton. I've put sample code into a field and used the basic call get fld "Statements" replace CR with (quote & " & vbCrLf & " & quote) in it do it as VBScript In all the samples I have tried I get the result "execution error". Question 1: can anyone tell what I might be doing wrong, based on what I have described? Question 2: Is there is an extremely elementary "Hello World" type validation code snippet that I could use to test basic execution? By the way, the alternateLanguages returns this: XML VBScript VBScript.Encode JScript JScript.Encode "SignedJavaScript" "SignedVBScript" Thanks! Mark From monte at sweattechnologies.com Tue Aug 17 17:57:53 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 18 Aug 2010 07:57:53 +1000 Subject: revZip & resource fork Message-ID: Hi Is there a way to preserve the resource fork using revZip on OS X? Cheers Monte From bobs at twft.com Tue Aug 17 18:01:10 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 17 Aug 2010 15:01:10 -0700 Subject: Can't get to first base with 'do as VBScript' In-Reply-To: References: Message-ID: <0A45F3F0-6531-4088-99D2-DCEDB8EA44E1@twft.com> If I were to evaluate (quote & " & vbCrLf & " & quote) I would get: " &vbCrLf & " I don't think that is what you are looking for. I think you must mean: replace CR with vbCrLf in it Bob On Aug 17, 2010, at 2:53 PM, Mark E. Powell wrote: > I am on Windows, Rev 2.9, and trying to use VBScript to do some Outlook stuff. I know almost no Visual Basic and have never invoked VBScript from Rev, so please consider me a simpleton. > > I've put sample code into a field and used the basic call > > get fld "Statements" > replace CR with (quote & " & vbCrLf & " & quote) in it > do it as VBScript > > In all the samples I have tried I get the result "execution error". > > Question 1: can anyone tell what I might be doing wrong, based on what I have described? > > Question 2: Is there is an extremely elementary "Hello World" type validation code snippet that I could use to test basic execution? > > By the way, the alternateLanguages returns this: > XML > VBScript > VBScript.Encode > JScript > JScript.Encode > "SignedJavaScript" > "SignedVBScript" > > 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 gregory.lypny at videotron.ca Tue Aug 17 18:04:04 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 17 Aug 2010 18:04:04 -0400 Subject: Cookies, Cookies - Got the Setting but Now the Getting Message-ID: Hello everyone, Yes, it's the pathetic cookie guy again. Having finally learned how to set them, I was wondering if anyone might care to comment on whether my method for getting a user's cookie makes sense. My understanding of get $_SERVER["HTTP_COOKIE"] is that it will only get the most recent cookies if a new request has been made, and I'm guessing that that means a POST or GET action. Say a user clicks a hyperlink named My Page, which is supposed to take them to a personal account page, populated with personal settings. I figure that it is easiest to embed a POST form action in every page, even if there are no form objects on some pages, so that no matter what page a user is on or what hyperlink they click, their cookies can be retrieved by a script in the destination page, checked against a database, and the appropriate content shown. Does that sound kind of in the ballpark? It probably makes more sense to attach the POST action directly specific hyperlinks, such as My Page, but I'm not sure how to do that. Regards, Gregory From janschenkel at yahoo.com Tue Aug 17 18:22:34 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 17 Aug 2010 15:22:34 -0700 (PDT) Subject: file owner & group names In-Reply-To: <7C654B1B-2FE2-4E26-A927-E2D977BA4DC6@sweattechnologies.com> Message-ID: <662942.63145.qm@web65403.mail.ac4.yahoo.com> Hi Monte et al, What I sent earlier is only a partial solution. At work I only had our Solaris server to play with; but once I got home, I found things on MacOS X to be more complicated. See: Unfortunately we're not there yet for MacOS X 10.5 Leopard or 10.6 Snow Leopard. So does anyone have any bright ideas? 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) From andre at andregarzia.com Tue Aug 17 18:34:21 2010 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 17 Aug 2010 19:34:21 -0300 Subject: file owner & group names In-Reply-To: <662942.63145.qm@web65403.mail.ac4.yahoo.com> References: <7C654B1B-2FE2-4E26-A927-E2D977BA4DC6@sweattechnologies.com> <662942.63145.qm@web65403.mail.ac4.yahoo.com> Message-ID: On Tue, Aug 17, 2010 at 7:22 PM, Jan Schenkel wrote: > Hi Monte et al, > > What I sent earlier is only a partial solution. At work I only had our > Solaris server to play with; but once I got home, I found things on MacOS X > to be more complicated. > See: > > Unfortunately we're not there yet for MacOS X 10.5 Leopard or 10.6 Snow > Leopard. So does anyone have any bright ideas? > Why not use shell("stat ") to acquire the information? > > 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) > > > > > _______________________________________________ > 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 Tue Aug 17 18:37:30 2010 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 17 Aug 2010 19:37:30 -0300 Subject: revZip & resource fork In-Reply-To: References: Message-ID: On Tue, Aug 17, 2010 at 6:57 PM, Monte Goulding wrote: > Hi > > Is there a way to preserve the resource fork using revZip on OS X? > Monte, I think you can shell() to ditto to flatten a file that has a resource fork... > > Cheers > > Monte > _______________________________________________ > 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 mwieder at ahsoftware.net Tue Aug 17 18:46:27 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 17 Aug 2010 15:46:27 -0700 Subject: revZip & resource fork In-Reply-To: References: Message-ID: <198525880609.20100817154627@ahsoftware.net> Monte- Tuesday, August 17, 2010, 2:57:53 PM, you wrote: > Hi > Is there a way to preserve the resource fork using revZip on OS X? No. Here's what I do: -- tZipFile is the path to the outputfile -- tFileName is the name of the input file -- set the defaultFolder to the folder containing the input file get shell("zip -r" && tZipFile && tFileName) put url("binfile:" & tZipFile) into tData -- -Mark Wieder mwieder at ahsoftware.net From revlist at azurevision.co.uk Tue Aug 17 19:10:08 2010 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 18 Aug 2010 00:10:08 +0100 Subject: [OT] Dead video card In-Reply-To: References: <4C6998CE.7040403@gmail.com> <30FAFDDF-3025-4916-8E89-1246901DEA31@azurevision.co.uk> Message-ID: <05669175-D691-406E-AC21-DDBD04318EFA@azurevision.co.uk> On 17 Aug 2010, at 18:42, Bob Sneidar wrote: > In fact, this was the reason that emulators like Virtual PC could never attain the performance on graphics intensive tasks that people needed. EVERYTHING graphics had to go through a translator. Nowadays, a lot of emulated tasks can access the processor directly with little or no translation, giving us the exceptional performance of emulators like VMWare and Parallels produces. Virtual PC was an emulator, trying to run an OS on a different type of processor. VMWare and Parallels are virtualisation programs with no emulation involved. They do drastically different things under the hood, which is why the performance is so different. Ian From psahores at free.fr Tue Aug 17 20:30:03 2010 From: psahores at free.fr (Pierre Sahores) Date: Wed, 18 Aug 2010 02:30:03 +0200 Subject: Cookies, Cookies - Got the Setting but Now the Getting In-Reply-To: References: Message-ID: Hi Gregory, try : get $_SERVER[HTTP_COOKIE] without quoting HTTP_COOKIE Works fine there. HTH, Pierre Le 18 ao?t 2010 ? 00:04, Gregory Lypny a ?crit : > Hello everyone, > > Yes, it's the pathetic cookie guy again. Having finally learned how to set them, I was wondering if anyone might care to comment on whether my method for getting a user's cookie makes sense. My understanding of > > get $_SERVER["HTTP_COOKIE"] > > is that it will only get the most recent cookies if a new request has been made, and I'm guessing that that means a POST or GET action. Say a user clicks a hyperlink named My Page, which is supposed to take them to a personal account page, populated with personal settings. I figure that it is easiest to embed a POST form action in every page, even if there are no form objects on some pages, so that no matter what page a user is on or what hyperlink they click, their cookies can be retrieved by a script in the destination page, checked against a database, and the appropriate content shown. Does that sound kind of in the ballpark? It probably makes more sense to attach the POST action directly specific hyperlinks, such as My Page, but I'm not sure how to do that. > > Regards, > > Gregory > > > _______________________________________________ > 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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From gcanyon+rev at gmail.com Tue Aug 17 21:26:19 2010 From: gcanyon+rev at gmail.com (Geoff Canyon Rev) Date: Tue, 17 Aug 2010 20:26:19 -0500 Subject: revNavigator In-Reply-To: References: <20100812040139.AEBF32883B3@mail.runrev.com> <5F9FB8FA-F0DD-46EA-89E2-D598E613F64D@mollysrevenge.com> <93A449FA-CADE-467A-B3B8-4B2468DFDF29@gmail.com> <4C64400D.3070301@hyperactivesw.com> Message-ID: I was referring to the fact that for most people revNavigator just takes up space in their install (since they don't use it). But as Andre pointed out, there is a more recent version available, which is significantly more capable than the original. A question to those who still use it: does it still have features that make it worthwhile compared to other tools, or do you stay with it out of familiarity/inertia? I haven't checked out the competition over the last five or six years so I don't know if it has been superseded. gc On Tue, Aug 17, 2010 at 12:53 PM, stephen barncard wrote: > I thought it shipped in the plugins folder within every new install of Rev! > > sqb > > On 17 August 2010 10:27, Geoff Canyon Rev > >> wrote: > >> aw gee, thanks guys -- nice to know it lives on in some people's tool >> boxes. >> >> gc >> >> On Mon, Aug 16, 2010 at 1:30 PM, Mark Talluto >> wrote: >> > Super tool! ?I have been using it for years and I did make my very >> affordable payment back then. ?I too could not survive without it. >> > >> > Best regards, >> > >> > Mark Talluto >> > http://www.canelasoftware.com >> > >> >> On Aug 13, 2010, at 10:32 PM, Geoff Canyon Rev wrote: >> >> >> >>> revNavigator hasn't been updated for several versions, so it's >> >>> entirely possible that the dev environment has changed since I wrote >> >>> it. Or I might just have done a bad job with it ;-) That said it still >> >>> works -- I don't do much work with Rev anymore, but when I do I >> >>> couldn't live without it. >> >>> >> >>> While I'm thinking about it, I hereby declare revNavigator to be free >> >>> for anyone to use. >> >>> >> >>> gc >> > _______________________________________________ >> > 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 >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb ? > _______________________________________________ > 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 josh at dvcreators.net Tue Aug 17 22:15:40 2010 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 17 Aug 2010 19:15:40 -0700 Subject: (data grid) is there a good workaround for obtaining other column values in FillInData for a Data Grid Table? Message-ID: <9AAA4C70-8786-42D2-A901-F117D956C1D9@dvcreators.net> Let's say you had a data grid table with three columns, and you wanted the first column to be the sum of the other two, like this: 10 7 3 5 2 3 7 4 3 How would you calculate the first column while the table is filling in? --- Originally, we looped through the data and did the calculations, then put the data into the data grid. Now the data set is getting so large that this is too slow, looping through once to calc, then again for the grid. So we're thinking doing the calculation in FillInData would be more efficient. If possible. It's easy to find any field value in a Data Grid form, since pData is an array with the row values, but we'd like to avoid switching to a form. From bonnmike at gmail.com Tue Aug 17 22:52:34 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 17 Aug 2010 20:52:34 -0600 Subject: (data grid) is there a good workaround for obtaining other column values in FillInData for a Data Grid Table? In-Reply-To: <9AAA4C70-8786-42D2-A901-F117D956C1D9@dvcreators.net> References: <9AAA4C70-8786-42D2-A901-F117D956C1D9@dvcreators.net> Message-ID: If you set a custom behavior for the column you want the sum in, and where it has the section for filling data, put put the dgDataOfIndex[ the dgIndex of me] of the dgControl of me into theDataA set the text of field 1 of me to (theDataA["Col 2"] + theDataA["Col 3"]) Should work fine. Not positive this is the best method, but seems to work dandy fine with small datasets. Haven't tried it with big ugly datasets. On Tue, Aug 17, 2010 at 8:15 PM, Josh Mellicker wrote: > Let's say you had a data grid table with three columns, and you wanted the first column to be the sum of the other two, like this: > > 10 ? ? ?7 ? ? ? 3 > 5 ? ? ? 2 ? ? ? 3 > 7 ? ? ? 4 ? ? ? 3 > > How would you calculate the first column while the table is filling in? > > > --- > > Originally, we looped through the data and did the calculations, then put the data into the data grid. Now the data set is getting so large that this is too slow, looping through once to calc, then again for the grid. So we're thinking doing the calculation in FillInData would be more efficient. If possible. > > It's easy to find any field value in a Data Grid form, since pData is an array with the row values, but we'd like to avoid switching to a form._______________________________________________ > 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 Wed Aug 18 01:07:47 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 17 Aug 2010 22:07:47 -0700 (PDT) Subject: file owner & group names In-Reply-To: Message-ID: <204130.81010.qm@web65405.mail.ac4.yahoo.com> --- On Tue, 8/17/10, Andre Garzia wrote: > > On Tue, Aug 17, 2010 at 7:22 PM, Jan > Schenkel > wrote: > > > Hi Monte et al, > > > > What I sent earlier is only a partial solution. At > work I only had our > > Solaris server to play with; but once I got home, I > found things on MacOS X > > to be more complicated. > > See: > > > > Unfortunately we're not there yet for MacOS X 10.5 > Leopard or 10.6 Snow > > Leopard. So does anyone have any bright ideas? > > > > Why not use shell("stat ") to acquire the > information? > > Hi Andre, It looks like "stat" has the advantage over "ls -l" when it comes to displaying the complete user and group name - my user name is "janschenkel" which is cut down to 8 characters using "ls -l" so that's not a workable solution. The reason to avoid a shell call to stat is simple: calling it for each individual file in a big folder could prove an expensive operation, while a simple mapping method should suffice to convert 501 to "janschenkel" when you're already using the detailed files. 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) From janschenkel at yahoo.com Wed Aug 18 01:38:55 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 17 Aug 2010 22:38:55 -0700 (PDT) Subject: file owner & group names In-Reply-To: <204130.81010.qm@web65405.mail.ac4.yahoo.com> Message-ID: <378007.6541.qm@web65415.mail.ac4.yahoo.com> --- On Tue, 8/17/10, I wrote before my first mug of coffee: > --- On Tue, 8/17/10, Andre Garzia > > wrote: > > > > Why not use shell("stat ") to acquire > the > > information? > > > > > > Hi Andre, > > It looks like "stat" has the advantage over "ls -l" when it > comes to displaying the complete user and group name - my > user name is "janschenkel" which is cut down to 8 characters > using "ls -l" so that's not a workable solution. > > The reason to avoid a shell call to stat is simple: calling > it for each individual file in a big folder could prove an > expensive operation, while a simple mapping method should > suffice to convert 501 to "janschenkel" when you're already > using the detailed files. > Thinking it over, we could build a caching mechanism and only fall back to "stat" if we don't have the id in our cache already. Poirot shall investigate :-) 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) From monte at sweattechnologies.com Wed Aug 18 02:07:50 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 18 Aug 2010 16:07:50 +1000 Subject: file owner & group names In-Reply-To: <378007.6541.qm@web65415.mail.ac4.yahoo.com> References: <378007.6541.qm@web65415.mail.ac4.yahoo.com> Message-ID: > > Thinking it over, we could build a caching mechanism and only fall back to "stat" if we don't have the id in our cache already. Just what I was thinking. PS: ls -l on my machine doesn't truncate the user name. Cheers Monte From andre at andregarzia.com Wed Aug 18 09:06:38 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 18 Aug 2010 10:06:38 -0300 Subject: revNavigator In-Reply-To: References: <20100812040139.AEBF32883B3@mail.runrev.com> <5F9FB8FA-F0DD-46EA-89E2-D598E613F64D@mollysrevenge.com> <93A449FA-CADE-467A-B3B8-4B2468DFDF29@gmail.com> <4C64400D.3070301@hyperactivesw.com> Message-ID: Geoff, I don't think there is competition for RevNavigator right now. There are the altPlugins and they are wonderful, been using them since my first Rev installation, but they are designed different. The application browser is like a Brazilian landlord, it uses an enormous real state and does not develop it all. I seldon use the application browser. tRev has a browser panel that is great but then, when you're back in the IDE you have no access to it. What more there is in terms of RevNavigator competition? On Tue, Aug 17, 2010 at 10:26 PM, Geoff Canyon Rev > wrote: > I was referring to the fact that for most people revNavigator just > takes up space in their install (since they don't use it). > > But as Andre pointed out, there is a more recent version available, > which is significantly more capable than the original. > > A question to those who still use it: does it still have features that > make it worthwhile compared to other tools, or do you stay with it out > of familiarity/inertia? I haven't checked out the competition over the > last five or six years so I don't know if it has been superseded. > > gc > > On Tue, Aug 17, 2010 at 12:53 PM, stephen barncard > wrote: > > I thought it shipped in the plugins folder within every new install of > Rev! > > > > sqb > > > > On 17 August 2010 10:27, Geoff Canyon Rev > > > > > >> wrote: > > > >> aw gee, thanks guys -- nice to know it lives on in some people's tool > >> boxes. > >> > >> gc > >> > >> On Mon, Aug 16, 2010 at 1:30 PM, Mark Talluto < > userev at canelasoftware.com> > >> wrote: > >> > Super tool! I have been using it for years and I did make my very > >> affordable payment back then. I too could not survive without it. > >> > > >> > Best regards, > >> > > >> > Mark Talluto > >> > http://www.canelasoftware.com > >> > > >> >> On Aug 13, 2010, at 10:32 PM, Geoff Canyon Rev wrote: > >> >> > >> >>> revNavigator hasn't been updated for several versions, so it's > >> >>> entirely possible that the dev environment has changed since I wrote > >> >>> it. Or I might just have done a bad job with it ;-) That said it > still > >> >>> works -- I don't do much work with Rev anymore, but when I do I > >> >>> couldn't live without it. > >> >>> > >> >>> While I'm thinking about it, I hereby declare revNavigator to be > free > >> >>> for anyone to use. > >> >>> > >> >>> gc > >> > _______________________________________________ > >> > 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 > >> > > > > > > > > -- > > > > > > > > Stephen Barncard > > San Francisco Ca. USA > > > > more about sqb > > _______________________________________________ > > 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 Wed Aug 18 09:17:41 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 18 Aug 2010 10:17:41 -0300 Subject: file owner & group names In-Reply-To: <204130.81010.qm@web65405.mail.ac4.yahoo.com> References: <204130.81010.qm@web65405.mail.ac4.yahoo.com> Message-ID: On Wed, Aug 18, 2010 at 2:07 AM, Jan Schenkel wrote: > The reason to avoid a shell call to stat is simple: calling it for each > individual file in a big folder could prove an expensive operation, while a > simple mapping method should suffice to convert 501 to "janschenkel" when > you're already using the detailed files. Jan, But you can use a single stat command to list the property for all your files. Using the format options for the stat call you can tailor the output of the command to suit your needs of parsing. For example, if all you want is group information then you can do something along the lines of: stat --format="%n|%U|%G" for example, look at this usage scenario: stat --format="%n|%U|%G" base.csv callgraph.dot examples.desktop the output is: base.csv|agarzia|agarzia callgraph.dot|agarzia|agarzia examples.desktop|agarzia|agarzia which is a nice parsable format using cr and pipes. First is the file name, then the owner name, then the group name. I think that a single stat call querying multiple files is easier than ls -l or parsing the detailed files and then checking the /etc/ stuff. :D -- http://www.andregarzia.com All We Do Is Code. From lists at mangomultimedia.com Wed Aug 18 09:21:59 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 18 Aug 2010 09:21:59 -0400 Subject: (data grid) is there a good workaround for obtaining other column values in FillInData for a Data Grid Table? In-Reply-To: References: <9AAA4C70-8786-42D2-A901-F117D956C1D9@dvcreators.net> Message-ID: <9DECF9C9-F5CB-4371-B6FE-C2B97361F0B6@mangomultimedia.com> On Aug 17, 2010, at 10:52 PM, Mike Bonner wrote: > If you set a custom behavior for the column you want the sum in, and > where it has the section for filling data, put > > put the dgDataOfIndex[ the dgIndex of me] of the dgControl of me > into theDataA > set the text of field 1 of me to (theDataA["Col 2"] + > theDataA["Col 3"]) > > Should work fine. Not positive this is the best method, but seems to > work dandy fine with small datasets. Haven't tried it with big ugly > datasets. If you didn't want to fetch all of the data for the entire row you could use GetDataOfIndex. GetDataOfIndex only retrieves the value of a specific column. put the dgIndex of me into theIndex set the text of field 1 of me to (GetDataOfIndex(theIndex, "Col 2") + GetDataOfIndex(theIndex, "Col 3")) -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From tkuypers at telenet.be Wed Aug 18 10:17:20 2010 From: tkuypers at telenet.be (tkuypers at telenet.be) Date: Wed, 18 Aug 2010 16:17:20 +0200 Subject: Problem with copy groups in standalones Message-ID: <6BA5D07E-2E81-4F1D-80A2-BF821FB50800@telenet.be> Hi, I'm having a strange problem, maybe someone can assist... I need to duplicate a group of controls into another group and do some things with it afterwards. In the IDE the following works fine: copy grp "RightPageOriginalNew" to group "PageList" put it into vNewPage But when I save the app as a standalone, no copy is made and the variable It returns empty... I'm running on Mac, RR version 4.5.0-dp3, but 4.0 gives the same result. Can someone tell me what I'm doing wrong? Met vriendelijke groeten, Warm Regards, PublishingTools4u Ton Kuypers +32 (0) 477 739 530 Aardbemden 11 ? B-2400 ? Mol ? Belgium www.publishingtools4u.com From bobs at twft.com Wed Aug 18 11:53:09 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 18 Aug 2010 08:53:09 -0700 Subject: [OT] Dead video card In-Reply-To: <05669175-D691-406E-AC21-DDBD04318EFA@azurevision.co.uk> References: <4C6998CE.7040403@gmail.com> <30FAFDDF-3025-4916-8E89-1246901DEA31@azurevision.co.uk> <05669175-D691-406E-AC21-DDBD04318EFA@azurevision.co.uk> Message-ID: <808849C2-658A-4C6B-9508-3FAA92003253@twft.com> So you are saying that the processes in the Windows environment are actually running on the OS X side? I did not know that! I will have to check my processes next time to see them there. Ya learn something every day. Bob On Aug 17, 2010, at 4:10 PM, Ian Wood wrote: > > On 17 Aug 2010, at 18:42, Bob Sneidar wrote: > >> In fact, this was the reason that emulators like Virtual PC could never attain the performance on graphics intensive tasks that people needed. EVERYTHING graphics had to go through a translator. Nowadays, a lot of emulated tasks can access the processor directly with little or no translation, giving us the exceptional performance of emulators like VMWare and Parallels produces. > > Virtual PC was an emulator, trying to run an OS on a different type of processor. VMWare and Parallels are virtualisation programs with no emulation involved. > > They do drastically different things under the hood, which is why the performance is so different. > > 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 bobs at twft.com Wed Aug 18 11:55:03 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 18 Aug 2010 08:55:03 -0700 Subject: revNavigator In-Reply-To: References: <20100812040139.AEBF32883B3@mail.runrev.com> <5F9FB8FA-F0DD-46EA-89E2-D598E613F64D@mollysrevenge.com> <93A449FA-CADE-467A-B3B8-4B2468DFDF29@gmail.com> <4C64400D.3070301@hyperactivesw.com> Message-ID: So where is said newer version of RevNavigator? Pardon me if I missed the email with the link. Bob On Aug 18, 2010, at 6:06 AM, Andre Garzia wrote: > Geoff, > > I don't think there is competition for RevNavigator right now. There are the > altPlugins and they are wonderful, been using them since my first Rev > installation, but they are designed different. > > The application browser is like a Brazilian landlord, it uses an enormous > real state and does not develop it all. I seldon use the application > browser. > > tRev has a browser panel that is great but then, when you're back in the IDE > you have no access to it. > > What more there is in terms of RevNavigator competition? > > > On Tue, Aug 17, 2010 at 10:26 PM, Geoff Canyon Rev > >> wrote: > >> I was referring to the fact that for most people revNavigator just >> takes up space in their install (since they don't use it). >> >> But as Andre pointed out, there is a more recent version available, >> which is significantly more capable than the original. >> >> A question to those who still use it: does it still have features that >> make it worthwhile compared to other tools, or do you stay with it out >> of familiarity/inertia? I haven't checked out the competition over the >> last five or six years so I don't know if it has been superseded. >> >> gc >> >> On Tue, Aug 17, 2010 at 12:53 PM, stephen barncard >> wrote: >>> I thought it shipped in the plugins folder within every new install of >> Rev! >>> >>> sqb >>> >>> On 17 August 2010 10:27, Geoff Canyon Rev >>> >>> >>>> wrote: >>> >>>> aw gee, thanks guys -- nice to know it lives on in some people's tool >>>> boxes. >>>> >>>> gc >>>> >>>> On Mon, Aug 16, 2010 at 1:30 PM, Mark Talluto < >> userev at canelasoftware.com> >>>> wrote: >>>>> Super tool! I have been using it for years and I did make my very >>>> affordable payment back then. I too could not survive without it. >>>>> >>>>> Best regards, >>>>> >>>>> Mark Talluto >>>>> http://www.canelasoftware.com >>>>> >>>>>> On Aug 13, 2010, at 10:32 PM, Geoff Canyon Rev wrote: >>>>>> >>>>>>> revNavigator hasn't been updated for several versions, so it's >>>>>>> entirely possible that the dev environment has changed since I wrote >>>>>>> it. Or I might just have done a bad job with it ;-) That said it >> still >>>>>>> works -- I don't do much work with Rev anymore, but when I do I >>>>>>> couldn't live without it. >>>>>>> >>>>>>> While I'm thinking about it, I hereby declare revNavigator to be >> free >>>>>>> for anyone to use. >>>>>>> >>>>>>> gc >>>>> _______________________________________________ >>>>> 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 >>>> >>> >>> >>> >>> -- >>> >>> >>> >>> Stephen Barncard >>> San Francisco Ca. USA >>> >>> more about sqb >>> _______________________________________________ >>> 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 bobs at twft.com Wed Aug 18 12:00:22 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 18 Aug 2010 09:00:22 -0700 Subject: (data grid) is there a good workaround for obtaining other column values in FillInData for a Data Grid Table? In-Reply-To: <9DECF9C9-F5CB-4371-B6FE-C2B97361F0B6@mangomultimedia.com> References: <9AAA4C70-8786-42D2-A901-F117D956C1D9@dvcreators.net> <9DECF9C9-F5CB-4371-B6FE-C2B97361F0B6@mangomultimedia.com> Message-ID: <3198817A-EED1-472A-8E2E-E96238F1F7D2@twft.com> Also, if the displayed values is all you care about, then can't you only do calculations for the displayed data as opposed to the entire dataset? Obviously this will not work if you want to extract the entire data set and work with it later. Bob On Aug 18, 2010, at 6:21 AM, Trevor DeVore wrote: > On Aug 17, 2010, at 10:52 PM, Mike Bonner wrote: > >> If you set a custom behavior for the column you want the sum in, and >> where it has the section for filling data, put >> >> put the dgDataOfIndex[ the dgIndex of me] of the dgControl of me >> into theDataA >> set the text of field 1 of me to (theDataA["Col 2"] + theDataA["Col 3"]) >> >> Should work fine. Not positive this is the best method, but seems to >> work dandy fine with small datasets. Haven't tried it with big ugly >> datasets. > > If you didn't want to fetch all of the data for the entire row you could use GetDataOfIndex. GetDataOfIndex only retrieves the value of a specific column. > > put the dgIndex of me into theIndex > set the text of field 1 of me to (GetDataOfIndex(theIndex, "Col 2") + GetDataOfIndex(theIndex, "Col 3")) > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.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 andre at andregarzia.com Wed Aug 18 12:00:44 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 18 Aug 2010 13:00:44 -0300 Subject: revNavigator In-Reply-To: References: <20100812040139.AEBF32883B3@mail.runrev.com> <5F9FB8FA-F0DD-46EA-89E2-D598E613F64D@mollysrevenge.com> <93A449FA-CADE-467A-B3B8-4B2468DFDF29@gmail.com> <4C64400D.3070301@hyperactivesw.com> Message-ID: inspiredlogic.com On Wed, Aug 18, 2010 at 12:55 PM, Bob Sneidar wrote: > So where is said newer version of RevNavigator? Pardon me if I missed the > email with the link. > > Bob > > > On Aug 18, 2010, at 6:06 AM, Andre Garzia wrote: > > > Geoff, > > > > I don't think there is competition for RevNavigator right now. There are > the > > altPlugins and they are wonderful, been using them since my first Rev > > installation, but they are designed different. > > > > The application browser is like a Brazilian landlord, it uses an enormous > > real state and does not develop it all. I seldon use the application > > browser. > > > > tRev has a browser panel that is great but then, when you're back in the > IDE > > you have no access to it. > > > > What more there is in terms of RevNavigator competition? > > > > > > On Tue, Aug 17, 2010 at 10:26 PM, Geoff Canyon Rev > > > > > >> wrote: > > > >> I was referring to the fact that for most people revNavigator just > >> takes up space in their install (since they don't use it). > >> > >> But as Andre pointed out, there is a more recent version available, > >> which is significantly more capable than the original. > >> > >> A question to those who still use it: does it still have features that > >> make it worthwhile compared to other tools, or do you stay with it out > >> of familiarity/inertia? I haven't checked out the competition over the > >> last five or six years so I don't know if it has been superseded. > >> > >> gc > >> > >> On Tue, Aug 17, 2010 at 12:53 PM, stephen barncard > >> wrote: > >>> I thought it shipped in the plugins folder within every new install of > >> Rev! > >>> > >>> sqb > >>> > >>> On 17 August 2010 10:27, Geoff Canyon Rev > >>> < > gcanyon%2Brev at gmail.com >< > gcanyon%2Brev at gmail.com < > gcanyon%252Brev at gmail.com > > >>> > >>>> wrote: > >>> > >>>> aw gee, thanks guys -- nice to know it lives on in some people's tool > >>>> boxes. > >>>> > >>>> gc > >>>> > >>>> On Mon, Aug 16, 2010 at 1:30 PM, Mark Talluto < > >> userev at canelasoftware.com> > >>>> wrote: > >>>>> Super tool! I have been using it for years and I did make my very > >>>> affordable payment back then. I too could not survive without it. > >>>>> > >>>>> Best regards, > >>>>> > >>>>> Mark Talluto > >>>>> http://www.canelasoftware.com > >>>>> > >>>>>> On Aug 13, 2010, at 10:32 PM, Geoff Canyon Rev wrote: > >>>>>> > >>>>>>> revNavigator hasn't been updated for several versions, so it's > >>>>>>> entirely possible that the dev environment has changed since I > wrote > >>>>>>> it. Or I might just have done a bad job with it ;-) That said it > >> still > >>>>>>> works -- I don't do much work with Rev anymore, but when I do I > >>>>>>> couldn't live without it. > >>>>>>> > >>>>>>> While I'm thinking about it, I hereby declare revNavigator to be > >> free > >>>>>>> for anyone to use. > >>>>>>> > >>>>>>> gc > >>>>> _______________________________________________ > >>>>> 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 > >>>> > >>> > >>> > >>> > >>> -- > >>> > >>> > >>> > >>> Stephen Barncard > >>> San Francisco Ca. USA > >>> > >>> more about sqb > >>> _______________________________________________ > >>> 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 bobs at twft.com Wed Aug 18 12:03:12 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 18 Aug 2010 09:03:12 -0700 Subject: Problem with copy groups in standalones In-Reply-To: <6BA5D07E-2E81-4F1D-80A2-BF821FB50800@telenet.be> References: <6BA5D07E-2E81-4F1D-80A2-BF821FB50800@telenet.be> Message-ID: <5927B6FF-09E7-4C60-B1EF-08BE0D5528AA@twft.com> Is this the famed "can't modify a compiled app" problem? Is your stack that contains the groups the main stack? If so, then you cannot modify the main stack after it is compiled. To repeat an old, old solution, have your main stack be a dumb splash screen that calls your real stack as a substack of your application. Then you can modify the stack all you want. Bob On Aug 18, 2010, at 7:17 AM, tkuypers at telenet.be wrote: > Hi, > > I'm having a strange problem, maybe someone can assist... > > I need to duplicate a group of controls into another group and do some things with it afterwards. In the IDE the following works fine: > > copy grp "RightPageOriginalNew" to group "PageList" > put it into vNewPage > > But when I save the app as a standalone, no copy is made and the variable It returns empty... > > I'm running on Mac, RR version 4.5.0-dp3, but 4.0 gives the same result. > > Can someone tell me what I'm doing wrong? > > > Met vriendelijke groeten, > Warm Regards, > > PublishingTools4u > Ton Kuypers > +32 (0) 477 739 530 > > Aardbemden 11 ? B-2400 ? Mol ? Belgium > www.publishingtools4u.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 bobs at twft.com Wed Aug 18 12:04:59 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 18 Aug 2010 09:04:59 -0700 Subject: Problem with copy groups in standalones In-Reply-To: <6BA5D07E-2E81-4F1D-80A2-BF821FB50800@telenet.be> References: <6BA5D07E-2E81-4F1D-80A2-BF821FB50800@telenet.be> Message-ID: <4F7B7C74-1DD1-4A1F-BF6D-512AA8D021E0@twft.com> Honestly, I think the process of compiling to an application ought to attach a splash stack automatically so people do not keep running into this problem. Then have a method for replacing the splash stack with your own, otherwise it uses a default stack whose script is modified to call the main stack on application launch. My 2? Bob On Aug 18, 2010, at 7:17 AM, tkuypers at telenet.be wrote: > Hi, > > I'm having a strange problem, maybe someone can assist... > > I need to duplicate a group of controls into another group and do some things with it afterwards. In the IDE the following works fine: > > copy grp "RightPageOriginalNew" to group "PageList" > put it into vNewPage > > But when I save the app as a standalone, no copy is made and the variable It returns empty... > > I'm running on Mac, RR version 4.5.0-dp3, but 4.0 gives the same result. > > Can someone tell me what I'm doing wrong? > > > Met vriendelijke groeten, > Warm Regards, > > PublishingTools4u > Ton Kuypers > +32 (0) 477 739 530 > > Aardbemden 11 ? B-2400 ? Mol ? Belgium > www.publishingtools4u.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 Wed Aug 18 12:25:14 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 18 Aug 2010 09:25:14 -0700 Subject: Problem with copy groups in standalones Message-ID: <4C6C096A.9060903@fourthworld.com> tkuypers wrote: > I need to duplicate a group of controls into another group and do > some things with it afterwards. In the IDE the following works fine: > > copy grp "RightPageOriginalNew" to group "PageList" > put it into vNewPage > > But when I save the app as a standalone, no copy is made and the > variable It returns empty... > > I'm running on Mac, RR version 4.5.0-dp3, but 4.0 gives the same > result. If the stack from which you are copying has been password-protected, copying will not be possible because of the security exposure from being able to copy objects with scripts into unlocked stacks for viewing. To copy from a password-protected stack, you can set the stack's passkey as needed: set the passkey of stack "CopyingFrom" to "MyPassword" If the stack is not password-protected you should be able to copy and paste freely, but as noted by others here the OS will prevent the app from saving any changes to itself so if that stack is part of the executable you'll need to move to to a separate stack file in order to be able to save changes to it. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From dfepstein at comcast.net Wed Aug 18 13:14:00 2010 From: dfepstein at comcast.net (dfepstein at comcast.net) Date: Wed, 18 Aug 2010 17:14:00 +0000 (UTC) Subject: Copying text and images together In-Reply-To: <20100818162506.00C05288C4E@mail.runrev.com> Message-ID: <1023558042.149202.1282151640994.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> Has anyone found a way to convert a Rev field that includes images to some format that TextEdit or MSWord would display with the images intact?? Best would be if one could "set the clipboarddata" and then paste the information, images and all, into TextEdit or MSWord. David Epstein From jacque at hyperactivesw.com Wed Aug 18 13:34:42 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 18 Aug 2010 12:34:42 -0500 Subject: Problem with copy groups in standalones In-Reply-To: <4F7B7C74-1DD1-4A1F-BF6D-512AA8D021E0@twft.com> References: <6BA5D07E-2E81-4F1D-80A2-BF821FB50800@telenet.be> <4F7B7C74-1DD1-4A1F-BF6D-512AA8D021E0@twft.com> Message-ID: <4C6C19B2.8050508@hyperactivesw.com> On 8/18/10 11:04 AM, Bob Sneidar wrote: > Honestly, I think the process of compiling to an application ought to > attach a splash stack automatically so people do not keep running > into this problem. Then have a method for replacing the splash stack > with your own, otherwise it uses a default stack whose script is > modified to call the main stack on application launch. I would hate that. There are many instances where you don't want a splash stack, and the confusion this would cause would be equal to what happens now, only worse: the reason apps can't modify themselves is easily explained. Why Rev is suddenly creating a stack you didn't make yourself would not only have to be explained, it would make people angry. No app should decide for me how my product should be structured. If this were a preference instead, then we'd just have to explain the reason for it all over again and nothing would be gained. There are some concepts that developers just have to know, and this one is universal on any platform using any development tool. Rev does provide a bit of automation for this though. The standalone builder has the option to move substacks out of the stackfile and into separate files. (But even that has to be re-explained repeatedly.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gregory.lypny at videotron.ca Wed Aug 18 14:05:16 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 18 Aug 2010 14:05:16 -0400 Subject: Cookies, Cookies - Got the Setting but Now the Getting In-Reply-To: <20100818162505.E502C288C3A@mail.runrev.com> References: <20100818162505.E502C288C3A@mail.runrev.com> Message-ID: <06C9D093-062F-4E89-B5FE-2E86E9D6B33E@videotron.ca> Hi Pierre, Thanks for responding. I'm afraid that unquoting makes no difference here. The first two below do not work but the third one does. (1) If I set a new cookie using PUT NEW HEADER and then retrieve all cookies using GET $_SERVER[HTTP_COOKIE] all in the same irev script as part of a POST form action then the new cookie is set successfully but the cookie retrieved is the previous one, that is, same name but previous value. (2) If I set the new cookie as in (1) above but instead retrieve them by embedding an irev script with PUT $_SERVER[HTTP_COOKIE] in the HTML of arbitrary pages, then those pages, when loaded, will either not show the cookie with the name I have set (but will show cookies with other names from the same domain), or will show the cookie with the name I have set but with it's previous value. (3) This works. If instead of (2), I retrieve the cookies by using hyperlinks will full HTTP paths to a script with PUT $_SERVER[HTTP_COOKIE] in it, then the most recently set cookie is retrieved. And the page with the hyperlink does not need to be a form page. I tested these by setting the cookie's value to the long seconds and logging them. That way, I was always able to compare the most recent value to the previous one. Regards, Gregory On Wed, Aug 18, 2010, at 12:25 PM, Pierre wrote: > Message: 10 > Date: Wed, 18 Aug 2010 02:30:03 +0200 > From: Pierre Sahores > Subject: Re: Cookies, Cookies - Got the Setting but Now the Getting > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset=iso-8859-1 > > Hi Gregory, > > try : > > get $_SERVER[HTTP_COOKIE] > > without quoting HTTP_COOKIE > > Works fine there. > > HTH, > > Pierre From janschenkel at yahoo.com Wed Aug 18 14:11:31 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 18 Aug 2010 11:11:31 -0700 (PDT) Subject: file owner & group names In-Reply-To: Message-ID: <31337.34991.qm@web65413.mail.ac4.yahoo.com> --- On Tue, 8/17/10, Monte Goulding wrote: > > > > Thinking it over, we could build a caching mechanism > and only fall back to "stat" if we don't have the id in our > cache already. > > Just what I was thinking. > > PS: ls -l on my machine doesn't truncate the user name. > > Cheers > > Monte > Well, just to wrap things up, I implemented the caching mechanism with calls to 'stat' to fetch additional user and group names based on the uid/gid from the detailed files. See: Cheers, 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) From pete at mollysrevenge.com Wed Aug 18 14:35:57 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 18 Aug 2010 11:35:57 -0700 Subject: (data grid) is there a good workaround for obtaining other column values in FillInData for a Data Grid Table? In-Reply-To: <20100818162506.17CC8288C59@mail.runrev.com> References: <20100818162506.17CC8288C59@mail.runrev.com> Message-ID: Not sure what the source of your data is but if it's coming from a database, maybe you could have the db do the calculation for you when it retrieves the data. I'm using sqlite and have found it to be lightning fast at calculations while retrieving data, so maybe something like "SELECT columnA + columnB as Total, columnA, columnB FROM ,tablename>...." Pete Haworth On Aug 18, 2010, at 9:25 AM, use-revolution-request at lists.runrev.com wrote: > Message: 12 > Date: Tue, 17 Aug 2010 19:15:40 -0700 > From: Josh Mellicker > Subject: (data grid) is there a good workaround for obtaining other > column values in FillInData for a Data Grid Table? > To: how to use Revolution > Message-ID: <9AAA4C70-8786-42D2-A901-F117D956C1D9 at dvcreators.net> > Content-Type: text/plain; charset=us-ascii > > Let's say you had a data grid table with three columns, and you > wanted the first column to be the sum of the other two, like this: > > 10 7 3 > 5 2 3 > 7 4 3 > > How would you calculate the first column while the table is filling > in? From ambassador at fourthworld.com Wed Aug 18 14:48:58 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 18 Aug 2010 11:48:58 -0700 Subject: Problem with copy groups in standalones Message-ID: <4C6C2B1A.7080204@fourthworld.com> J. Landman Gay wrote: > If this were a preference instead, then we'd just have to explain the > reason for it all over again and nothing would be gained. There are some > concepts that developers just have to know, and this one is universal on > any platform using any development tool. > > Rev does provide a bit of automation for this though. The standalone > builder has the option to move substacks out of the stackfile and into > separate files. (But even that has to be re-explained repeatedly.) That's probably enough. This is rarely a problem for folks other than those coming from a HyperCard background, because the older Classic OS separated executable code in the resource fork from the data in the data fork. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From ray at linkit.com Wed Aug 18 15:17:47 2010 From: ray at linkit.com (Ray Horsley) Date: Wed, 18 Aug 2010 15:17:47 -0400 Subject: Data Grid Basics Message-ID: <57AD75FB-DDF3-4120-BEFA-232690F384B7@linkit.com> Greetings, Parts of the 'relatively' new DataGrid seem not very RunRev to me. Anybody with some basics on how to provide users with the ability to double click in a cell and get an insertion point to edit text? This works fine in development but after saving a stand alone the grid comes up unresponsive. Ideally there would be a simple way to specify individual columns to be editable or not. Thanks, Ray Horsley LinkIt! Software From zryip.theslug at gmail.com Wed Aug 18 16:19:21 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 18 Aug 2010 22:19:21 +0200 Subject: (data grid) is there a good workaround for obtaining other column values in FillInData for a Data Grid Table? In-Reply-To: <9AAA4C70-8786-42D2-A901-F117D956C1D9@dvcreators.net> References: <9AAA4C70-8786-42D2-A901-F117D956C1D9@dvcreators.net> Message-ID: On Wed, Aug 18, 2010 at 4:15 AM, Josh Mellicker wrote: > Let's say you had a data grid table with three columns, and you wanted the first column to be the sum of the other two, like this: > > 10 ? ? ?7 ? ? ? 3 > 5 ? ? ? 2 ? ? ? 3 > 7 ? ? ? 4 ? ? ? 3 > > How would you calculate the first column while the table is filling in? > > > --- > > Originally, we looped through the data and did the calculations, then put the data into the data grid. Now the data set is getting so large that this is too slow, looping through once to calc, then again for the grid. So we're thinking doing the calculation in FillInData would be more efficient. If possible. > > It's easy to find any field value in a Data Grid form, since pData is an array with the row values, but we'd like to avoid switching to a form._______________________________________________ I have just upload an experiment stack in the Slug's website: http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&download=8:experiment-013-doing-sum-in-a-column-of-a-data-grid&id=7:data-grid&Itemid=63 The experiment shows how doing a sum of three columns in a column of a data grid: - when the dg is filling in - when you change a value in one of the three columns. The stack using a custom column behavior. You can access to the script by clicking on the edit script button. HTH Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From tkuypers at telenet.be Wed Aug 18 16:54:12 2010 From: tkuypers at telenet.be (tkuypers at telenet.be) Date: Wed, 18 Aug 2010 22:54:12 +0200 Subject: Problem with copy groups in standalones In-Reply-To: <4C6C096A.9060903@fourthworld.com> References: <4C6C096A.9060903@fourthworld.com> Message-ID: <5B53DC17-D60D-4355-B286-3EA36E965D11@telenet.be> Hi Richard, Thanks, it was the copy protection, that messed up things, so "set the passkey" solved the problem. Thanks! Met vriendelijke groeten, Ton Kuypers On 18-aug-2010, at 18:25, Richard Gaskin wrote: > > To copy from a password-protected stack, you can set the stack's passkey as needed: > > set the passkey of stack "CopyingFrom" to "MyPassword" > From monte at sweattechnologies.com Wed Aug 18 18:45:59 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 19 Aug 2010 08:45:59 +1000 Subject: file owner & group names In-Reply-To: <662942.63145.qm@web65403.mail.ac4.yahoo.com> References: <662942.63145.qm@web65403.mail.ac4.yahoo.com> Message-ID: Loving your work Jan and Andre. Cheers Monte On 18/08/2010, at 8:22 AM, Jan Schenkel wrote: > Hi Monte et al, > > What I sent earlier is only a partial solution. At work I only had our Solaris server to play with; but once I got home, I found things on MacOS X to be more complicated. > See: > > Unfortunately we're not there yet for MacOS X 10.5 Leopard or 10.6 Snow Leopard. So does anyone have any bright ideas? > > 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) > > > > > _______________________________________________ > 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 josh at dvcreators.net Wed Aug 18 19:48:06 2010 From: josh at dvcreators.net (Josh Mellicker) Date: Wed, 18 Aug 2010 16:48:06 -0700 Subject: (data grid) is there a good workaround for obtaining other column values in FillInData for a Data Grid Table? In-Reply-To: <9DECF9C9-F5CB-4371-B6FE-C2B97361F0B6@mangomultimedia.com> References: <9AAA4C70-8786-42D2-A901-F117D956C1D9@dvcreators.net> <9DECF9C9-F5CB-4371-B6FE-C2B97361F0B6@mangomultimedia.com> Message-ID: On Aug 18, 2010, at 6:21 AM, Trevor DeVore wrote: > On Aug 17, 2010, at 10:52 PM, Mike Bonner wrote: > >> If you set a custom behavior for the column you want the sum in, and >> where it has the section for filling data, put >> >> put the dgDataOfIndex[ the dgIndex of me] of the dgControl of me >> into theDataA >> set the text of field 1 of me to (theDataA["Col 2"] + theDataA["Col 3"]) >> >> Should work fine. Not positive this is the best method, but seems to >> work dandy fine with small datasets. Haven't tried it with big ugly >> datasets. > > If you didn't want to fetch all of the data for the entire row you could use GetDataOfIndex. GetDataOfIndex only retrieves the value of a specific column. > > put the dgIndex of me into theIndex > set the text of field 1 of me to (GetDataOfIndex(theIndex, "Col 2") + GetDataOfIndex(theIndex, "Col 3")) And this code goes into FillInData in the table's behavior, right? > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.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 bonnmike at gmail.com Wed Aug 18 20:31:41 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 18 Aug 2010 18:31:41 -0600 Subject: (data grid) is there a good workaround for obtaining other column values in FillInData for a Data Grid Table? In-Reply-To: References: <9AAA4C70-8786-42D2-A901-F117D956C1D9@dvcreators.net> <9DECF9C9-F5CB-4371-B6FE-C2B97361F0B6@mangomultimedia.com> Message-ID: It goes in a custom behavior script for the column you want the sum to appear in. To do a quicky test, create a stack, add a grid, in the inspector create columns Sum, Col 2 and Col 3 While on the columns screen in the inspector, at the bottom click the plus to add a custom behavior. It will open up a template for that column, click the now enabled behavior button and change the fillNData section to contain put the dgIndex of me into theIndex set the text of field 1 of me to (GetDataOfIndex(theIndex, "Col 2") + GetDataOfIndex(theIndex, "Col 3")) instead of the line to set it to pData save the script, save the stack, close the template editor. Shove some data in for col 2 and col 3, and when it hits the Sum col during fill should do the calculation and fill the data in. On Wed, Aug 18, 2010 at 5:48 PM, Josh Mellicker wrote: > > On Aug 18, 2010, at 6:21 AM, Trevor DeVore wrote: > >> On Aug 17, 2010, at 10:52 PM, Mike Bonner wrote: >> >>> If you set a custom behavior for the column you want the sum in, and >>> where it has the section for filling data, put >>> >>> ?put the dgDataOfIndex[ the dgIndex of me] of the dgControl of me >>> into theDataA >>> ?set the text of field 1 of me to (theDataA["Col 2"] + theDataA["Col 3"]) >>> >>> Should work fine. Not positive this is the best method, but seems to >>> work dandy fine with small datasets. ?Haven't tried it with big ugly >>> datasets. >> >> If you didn't want to fetch all of the data for the entire row you could use GetDataOfIndex. GetDataOfIndex only retrieves the value of a specific column. >> >> put the dgIndex of me into theIndex >> set the text of field 1 of me to (GetDataOfIndex(theIndex, "Col 2") + GetDataOfIndex(theIndex, "Col 3")) > > > And this code goes into FillInData in the table's behavior, right? > > >> >> -- >> Trevor DeVore >> Blue Mango Learning Systems >> ScreenSteps: http://www.screensteps.com >> Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.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 devin_asay at byu.edu Wed Aug 18 20:42:50 2010 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 18 Aug 2010 18:42:50 -0600 Subject: Accessing custom props using array notation Message-ID: <1D39815A-D15E-4FA6-B301-A1AB6AB1FBAD@byu.edu> Anyone know if it's possible to access custom properties from an objects default custom property set using array notation? This is easy to do for custom property sets you create yourself. set the myPropSet["prop1"] of btn "myBtn" to "foo" -- works But I can't figure out if you can do the same thing with the default set: put the customKeys["prop1"] of img "myImg" into "bar" -- doesn't work If this could be done it would be nice for constructing custom property names dynamically when access custom props, as in a sequence of prop names like prop1, prop2, prop3, etc. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From ray at linkit.com Wed Aug 18 22:43:35 2010 From: ray at linkit.com (Ray Horsley) Date: Wed, 18 Aug 2010 22:43:35 -0400 Subject: Datagrid Basics Message-ID: Greetings, Anybody with some basics on how to provide users with the ability to double click in a cell and get an insertion point to edit text? This works fine in development but after saving a standalone the grid comes up unresponsive. Ideally there would be a simple way to specify individual columns to be editable or not. Thanks, Ray Horsley LinkIt! Software From sims at ezpzapps.com Thu Aug 19 00:05:44 2010 From: sims at ezpzapps.com (Jim Sims) Date: Thu, 19 Aug 2010 06:05:44 +0200 Subject: Code signing certificate In-Reply-To: References: <5BA5371B-EE7A-461F-9201-1030BFB71950@mac.com> <770B173E-C4BC-45D7-B635-67C797E90EEA@mangomultimedia.com> Message-ID: <094B987C-CDFF-4326-9FC2-3E7A165F9B48@ezpzapps.com> On Aug 17, 2010, at 8:20 PM, Bill Vlahos wrote: > Thanks very much. Once you get the certificate how do you attach it? > > Bill Vlahos Bill, I'd like to know more about this topic. How does it get attached (or whatever the term is)? sims From nealk3nc at gmail.com Thu Aug 19 00:17:08 2010 From: nealk3nc at gmail.com (Neal Campbell) Date: Thu, 19 Aug 2010 00:17:08 -0400 Subject: Code signing certificate In-Reply-To: <094B987C-CDFF-4326-9FC2-3E7A165F9B48@ezpzapps.com> References: <5BA5371B-EE7A-461F-9201-1030BFB71950@mac.com> <770B173E-C4BC-45D7-B635-67C797E90EEA@mangomultimedia.com> <094B987C-CDFF-4326-9FC2-3E7A165F9B48@ezpzapps.com> Message-ID: http://msdn.microsoft.com/en-us/library/8s9b9yaz.aspx Best wishes Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com (540) 645 5394 NEW PHONE NUMBER On Thu, Aug 19, 2010 at 12:05 AM, Jim Sims wrote: > > On Aug 17, 2010, at 8:20 PM, Bill Vlahos wrote: > > > Thanks very much. Once you get the certificate how do you attach it? > > > > Bill Vlahos > > Bill, > > I'd like to know more about this topic. > > How does it get attached (or whatever the term is)? > > sims > > > > > > _______________________________________________ > 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 Thu Aug 19 00:20:59 2010 From: sims at ezpzapps.com (Jim Sims) Date: Thu, 19 Aug 2010 06:20:59 +0200 Subject: Code signing certificate In-Reply-To: References: <5BA5371B-EE7A-461F-9201-1030BFB71950@mac.com> <770B173E-C4BC-45D7-B635-67C797E90EEA@mangomultimedia.com> <094B987C-CDFF-4326-9FC2-3E7A165F9B48@ezpzapps.com> Message-ID: <505CA4F3-4FA7-4743-A1C8-C3E41AD6C2D7@ezpzapps.com> On Aug 19, 2010, at 6:17 AM, Neal Campbell wrote: > http://msdn.microsoft.com/en-us/library/8s9b9yaz.aspx Please forgive my ignorance, but are you suggesting that I would need to use a .NET development thingy? sims > On Thu, Aug 19, 2010 at 12:05 AM, Jim Sims wrote: > >> >> On Aug 17, 2010, at 8:20 PM, Bill Vlahos wrote: >> >>> Thanks very much. Once you get the certificate how do you attach it? >>> >>> Bill Vlahos >> >> Bill, >> >> I'd like to know more about this topic. >> >> How does it get attached (or whatever the term is)? >> >> sims From chipp at chipp.com Thu Aug 19 00:57:42 2010 From: chipp at chipp.com (Chipp Walters) Date: Wed, 18 Aug 2010 23:57:42 -0500 Subject: What's the name for the function that.. Message-ID: wraps a number around given a certain limit set? For instance, if I have a lower and upper limit of number, say 1 to 4 and I put in msg (I know wrap is not the function name) put wrap(5,1,4) it would return 1 I can't seem to find it in the docs. Anyone? -- Chipp Walters CEO, Shafer Walters Group, Inc. From jacque at hyperactivesw.com Thu Aug 19 01:01:10 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 19 Aug 2010 00:01:10 -0500 Subject: What's the name for the function that.. In-Reply-To: References: Message-ID: <4C6CBA96.7020208@hyperactivesw.com> On 8/18/10 11:57 PM, Chipp Walters wrote: > wraps a number around given a certain limit set? > > For instance, if I have a lower and upper limit of number, say 1 to 4 > > and I put in msg (I know wrap is not the function name) > > put wrap(5,1,4) > it would return 1 > > I can't seem to find it in the docs. Anyone? > It's "wrap". :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Thu Aug 19 01:04:35 2010 From: chipp at chipp.com (Chipp Walters) Date: Thu, 19 Aug 2010 00:04:35 -0500 Subject: What's the name for the function that.. In-Reply-To: <4C6CBA96.7020208@hyperactivesw.com> References: <4C6CBA96.7020208@hyperactivesw.com> Message-ID: Ah..and it's not a function. That explains why I couldn't find it. heh. On Thu, Aug 19, 2010 at 12:01 AM, J. Landman Gay wrote: > On 8/18/10 11:57 PM, Chipp Walters wrote: > >> wraps a number around given a certain limit set? >> >> For instance, if I have a lower and upper limit of number, say 1 to 4 >> >> and I put in msg (I know wrap is not the function name) >> >> put wrap(5,1,4) >> it would return 1 >> >> I can't seem to find it in the docs. Anyone? >> >> > It's "wrap". :) > > -- > 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 > -- Chipp Walters CEO, Shafer Walters Group, Inc. From nealk3nc at gmail.com Thu Aug 19 01:32:37 2010 From: nealk3nc at gmail.com (Neal Campbell) Date: Thu, 19 Aug 2010 01:32:37 -0400 Subject: Code signing certificate In-Reply-To: <505CA4F3-4FA7-4743-A1C8-C3E41AD6C2D7@ezpzapps.com> References: <5BA5371B-EE7A-461F-9201-1030BFB71950@mac.com> <770B173E-C4BC-45D7-B635-67C797E90EEA@mangomultimedia.com> <094B987C-CDFF-4326-9FC2-3E7A165F9B48@ezpzapps.com> <505CA4F3-4FA7-4743-A1C8-C3E41AD6C2D7@ezpzapps.com> Message-ID: I am sorry thats probably true of that utility Go to microsoft.com and search on code signing and I am sure you will find many articles at all different levels and perspectives. Neal On Thu, Aug 19, 2010 at 12:20 AM, Jim Sims wrote: > > On Aug 19, 2010, at 6:17 AM, Neal Campbell wrote: > > > http://msdn.microsoft.com/en-us/library/8s9b9yaz.aspx > > Please forgive my ignorance, but are you suggesting that I would need to > use a .NET development thingy? > > sims > > > > On Thu, Aug 19, 2010 at 12:05 AM, Jim Sims wrote: > > > >> > >> On Aug 17, 2010, at 8:20 PM, Bill Vlahos wrote: > >> > >>> Thanks very much. Once you get the certificate how do you attach it? > >>> > >>> Bill Vlahos > >> > >> Bill, > >> > >> I'd like to know more about this topic. > >> > >> How does it get attached (or whatever the term is)? > >> > >> sims > _______________________________________________ > 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 Thu Aug 19 01:40:30 2010 From: sims at ezpzapps.com (Jim Sims) Date: Thu, 19 Aug 2010 07:40:30 +0200 Subject: Code signing certificate In-Reply-To: References: <5BA5371B-EE7A-461F-9201-1030BFB71950@mac.com> <770B173E-C4BC-45D7-B635-67C797E90EEA@mangomultimedia.com> <094B987C-CDFF-4326-9FC2-3E7A165F9B48@ezpzapps.com> <505CA4F3-4FA7-4743-A1C8-C3E41AD6C2D7@ezpzapps.com> Message-ID: On Aug 19, 2010, at 7:32 AM, Neal Campbell wrote: > I am sorry thats probably true of that utility Go to microsoft.com and > search on code signing and I am sure you will find many articles at all > different levels and perspectives. Ummm... Thanks Neal. ----- Does anyone on this List actually use a Code signing certificate with apps they build in Rev? If so, would you explain how you do it? IOW would you please describe the process for doing this for a Rev app? My guess is that nobody does. sims From nealk3nc at gmail.com Thu Aug 19 01:53:30 2010 From: nealk3nc at gmail.com (Neal Campbell) Date: Thu, 19 Aug 2010 01:53:30 -0400 Subject: Code signing certificate In-Reply-To: References: <5BA5371B-EE7A-461F-9201-1030BFB71950@mac.com> <770B173E-C4BC-45D7-B635-67C797E90EEA@mangomultimedia.com> <094B987C-CDFF-4326-9FC2-3E7A165F9B48@ezpzapps.com> <505CA4F3-4FA7-4743-A1C8-C3E41AD6C2D7@ezpzapps.com> Message-ID: I surely don't as I don't sell rev-based apps (sorry folks,the programs I sell are from the dot net world.) But, I probably use rev more than anything else because I am always setting up databases, fixing broken databases, etc and Rev is the easiest language to sit down and really do some immediate work. Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com (540) 645 5394 NEW PHONE NUMBER On Thu, Aug 19, 2010 at 1:40 AM, Jim Sims wrote: > > On Aug 19, 2010, at 7:32 AM, Neal Campbell wrote: > > > I am sorry thats probably true of that utility Go to microsoft.com and > > search on code signing and I am sure you will find many articles at all > > different levels and perspectives. > > Ummm... Thanks Neal. > ----- > > Does anyone on this List actually use a Code signing certificate with apps > they build in Rev? > > If so, would you explain how you do it? IOW would you please describe the > process for doing this for a Rev app? > > My guess is that nobody does. > > sims > > > > > > _______________________________________________ > 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.Bisseret at inria.fr Thu Aug 19 03:11:56 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Thu, 19 Aug 2010 09:11:56 +0200 Subject: Datagrid Basics In-Reply-To: References: Message-ID: <4029DEAA-6CDE-48C1-9CE1-9EF960191D03@inria.fr> Le 19 ao?t 10 ? 04:43, Ray Horsley a ?crit : > Greetings, > > Anybody with some basics on how to provide users with the ability to > double click in a cell and get an insertion point to edit text? > This works fine in development but after saving a standalone the > grid comes up unresponsive. > > Ideally there would be a simple way to specify individual columns to > be editable or not. > > Thanks, > > Ray Horsley > LinkIt! Software Bonjour, Assuming you have a Splash stack, did you create a substack of it, whose name beging with "Data Grid Templates" ? This is necessary in order the Standalone Builder includes the revDataGridLibrary See lesson 7.1 in the doc from Trevor : What Do I Need to Do To Deploy a Standalone With A Data Grid? http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7339-What-Do-I-Need-to-Do-To-Deploy-a-Standalone-With-A-Data-Grid- HTH Best regards from Grenoble Andr? From zryip.theslug at gmail.com Thu Aug 19 05:47:05 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Thu, 19 Aug 2010 11:47:05 +0200 Subject: (data grid) is there a good workaround for obtaining other column values in FillInData for a Data Grid Table? In-Reply-To: References: <9AAA4C70-8786-42D2-A901-F117D956C1D9@dvcreators.net> <9DECF9C9-F5CB-4371-B6FE-C2B97361F0B6@mangomultimedia.com> Message-ID: On Thu, Aug 19, 2010 at 1:48 AM, Josh Mellicker wrote: >>> If you set a custom behavior for the column you want the sum in, and >>> where it has the section for filling data, put >>> >>> ?put the dgDataOfIndex[ the dgIndex of me] of the dgControl of me >>> into theDataA >>> ?set the text of field 1 of me to (theDataA["Col 2"] + theDataA["Col 3"]) >>> >>> Should work fine. Not positive this is the best method, but seems to >>> work dandy fine with small datasets. ?Haven't tried it with big ugly >>> datasets. >> >> If you didn't want to fetch all of the data for the entire row you could use GetDataOfIndex. GetDataOfIndex only retrieves the value of a specific column. >> >> put the dgIndex of me into theIndex >> set the text of field 1 of me to (GetDataOfIndex(theIndex, "Col 2") + GetDataOfIndex(theIndex, "Col 3")) > > > And this code goes into FillInData in the table's behavior, right? You have two options: - change the script in the column behavior for the column you want to display a sum. - or define a default column behavior for the datagrid If you choose the first option, change your script with a code like this: on FillInData pData local tTheIndex put the dgIndex of me into tTheIndex put sumOfColumn(tTheIndex,"Col2","Col3") into pData set the text of the long id of me to pData end FillInData function sumOfColumn pTheIndex local tTheSum put 0 into tTheSum repeat with x = 2 to the paramcount add GetDataOfIndex(pTheIndex,param(x)) to tTheSum end repeat return tTheSum end sumOfColumn If you prefer the second solution, you're welcome to download and use the code of the sample stack I proposed in my first reply ;) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From zryip.theslug at gmail.com Thu Aug 19 05:53:53 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Thu, 19 Aug 2010 11:53:53 +0200 Subject: Datagrid Basics In-Reply-To: References: Message-ID: On Thu, Aug 19, 2010 at 4:43 AM, Ray Horsley wrote: > Greetings, > > Ideally there would be a simple way to specify individual columns to be > editable or not. Hi Ray, You can define if a column is editable or not by using the dgColumnIsEditable property of a datagrid Example for locking the content of a column named myColName set the dgColumnIsEditable ["myColName"] of group "myDataGrid" to false Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From chipp at chipp.com Thu Aug 19 06:43:07 2010 From: chipp at chipp.com (Chipp Walters) Date: Thu, 19 Aug 2010 05:43:07 -0500 Subject: Accessing custom props using array notation In-Reply-To: <1D39815A-D15E-4FA6-B301-A1AB6AB1FBAD@byu.edu> References: <1D39815A-D15E-4FA6-B301-A1AB6AB1FBAD@byu.edu> Message-ID: Devin, Put the custom prop into an array var, then you can access the contents. put the uMyArray of btn "test" into tArray put tArray["prop1"] into tVar On Wednesday, August 18, 2010, Devin Asay wrote: > Anyone know if it's possible to access custom properties from an objects default custom property set using array notation? This is easy to do for custom property sets you create yourself. > > set the myPropSet["prop1"] of btn "myBtn" to "foo" -- works > > But I can't figure out if you can do the same thing with the default set: > > put the customKeys["prop1"] of img "myImg" into "bar" -- doesn't work > > If this could be done it would be nice for constructing custom property names dynamically when access custom props, as in a sequence of prop names like prop1, prop2, prop3, etc. > > 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 rlreetz at gmail.com Tue Aug 17 14:30:27 2010 From: rlreetz at gmail.com (Randall Reetz) Date: Tue, 17 Aug 2010 11:30:27 -0700 Subject: Pattern recognition of basic shapes in Rev In-Reply-To: References: <20100815165520.LZZA14208.schemailmta01.cingularme.com@Inbox> <1282017485752-2327748.post@n4.nabble.com> Message-ID: <07F32A0D-D624-4338-B481-285DA3961C5B@randallreetz.com> I am working on two such filters. The first is a brute force recognizer looking for matches to standard shapes (point, line, angle, triangle, rectangle, polygon, oval, conic and cylindric sections) and how closely a user drawing matches platonic forms of these (exp. right and equilateral triangles, square, right rectangle, golden rectangle, parallelogram, circle) at any rotation. The second filter is one I have been working on for 15 years and is a universal pattern engine which does the same as above but without a set of arbitrarily pre-defined target shapes. From the self-evolving AI perspective from which I work, I consider the first filter set cheating and embarrassing (but hey, it is far easier to pull off). By the way, anyone can copy a code library or algorithm. I am always interested in the ways different people go about solving problems like this. The way I attack a problem is by collecting salient data. What can I know about these user created polygons (number of points (or line segments), vertice angles between segments, relative segment lengths, relative distance of each vertices from the object's center of area, open or closed, etc.)? Once this data is collected and stored for all user polygons, it can be compared with the same data collected from platonic shapes. How would you go about solving this problem? On Aug 17, 2010, at 1:38 AM, David Bovill wrote: > Thanks Mark - great paper! > > There does not seem to be a lot of code around - nearest I can find is > here. > I'd have thought it was something built into the touch screen OS's as it is > kind of essential for vector graphic drawing on touch screens? > > > On 17 August 2010 04:58, AcidJazz wrote: > >> >> Here's a link to a technical article that discusses the fuzzy logic >> involved >> in pattern recognition of shapes. It doesn't provide the exact algorithm, >> but should get you a little further down the road in your search. >> > _______________________________________________ > 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 ray at linkit.com Thu Aug 19 09:58:52 2010 From: ray at linkit.com (Ray Horsley) Date: Thu, 19 Aug 2010 09:58:52 -0400 Subject: Datagrid Basics In-Reply-To: <4029DEAA-6CDE-48C1-9CE1-9EF960191D03@inria.fr> References: <4029DEAA-6CDE-48C1-9CE1-9EF960191D03@inria.fr> Message-ID: <72BFE947-63DB-4B15-AE6A-DED8697FD4F8@LinkIt.Com> Andr?, Zryip, Very helpful. Thanks, especially to Trevor who has put together this wonderful instructional site. After combing through it I'm missing just one thing. Is there any way to 'lock' the first column when scrolling horizontally? In my case I'm using the first column to simply number the lines so if there's any way to show line numbers and leave them locked on screen when scrolling that would work too. Thanks, Ray On Aug 19, 2010, at 3:11 AM, Andre.Bisseret wrote: > > Le 19 ao?t 10 ? 04:43, Ray Horsley a ?crit : > >> Greetings, >> >> Anybody with some basics on how to provide users with the ability >> to double click in a cell and get an insertion point to edit text? >> This works fine in development but after saving a standalone the >> grid comes up unresponsive. >> >> Ideally there would be a simple way to specify individual columns >> to be editable or not. >> >> Thanks, >> >> Ray Horsley >> LinkIt! Software > > Bonjour, > > Assuming you have a Splash stack, did you create a substack of it, > whose name beging with "Data Grid Templates" ? > This is necessary in order the Standalone Builder includes the > revDataGridLibrary > > See lesson 7.1 in the doc from Trevor : What Do I Need to Do To > Deploy a Standalone With A Data Grid? > > http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7339-What-Do-I-Need-to-Do-To-Deploy-a-Standalone-With-A-Data-Grid- > > HTH > > Best regards from Grenoble > > Andr? > > _______________________________________________ > 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 bobs at twft.com Thu Aug 19 11:30:36 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 19 Aug 2010 08:30:36 -0700 Subject: What's the name for the function that.. In-Reply-To: References: Message-ID: <0CB11044-3BBD-4DF3-8CB7-96480FFC62F9@twft.com> I am probably showing my ignorance, but I cannot think conceptually of how 5 "wraps" around 1 and 4. What is the significance of this? Bob On Aug 18, 2010, at 9:57 PM, Chipp Walters wrote: > wraps a number around given a certain limit set? > > For instance, if I have a lower and upper limit of number, say 1 to 4 > > and I put in msg (I know wrap is not the function name) > > put wrap(5,1,4) > it would return 1 > > I can't seem to find it in the docs. Anyone? > > -- > Chipp Walters > CEO, Shafer Walters Group, Inc. > _______________________________________________ > 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 bobs at twft.com Thu Aug 19 11:32:43 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 19 Aug 2010 08:32:43 -0700 Subject: What's the name for the function that.. In-Reply-To: References: Message-ID: <6A42772A-A6F5-4081-A1F3-48EB34AA3E67@twft.com> Never min I looked it up. Got it now. 6 would return 2. Had I the second example I would have seen it. :-) Bob On Aug 18, 2010, at 9:57 PM, Chipp Walters wrote: > wraps a number around given a certain limit set? > > For instance, if I have a lower and upper limit of number, say 1 to 4 > > and I put in msg (I know wrap is not the function name) > > put wrap(5,1,4) > it would return 1 > > I can't seem to find it in the docs. Anyone? > > -- > Chipp Walters > CEO, Shafer Walters Group, Inc. > _______________________________________________ > 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 zryip.theslug at gmail.com Thu Aug 19 11:37:26 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Thu, 19 Aug 2010 17:37:26 +0200 Subject: Datagrid Basics In-Reply-To: <72BFE947-63DB-4B15-AE6A-DED8697FD4F8@LinkIt.Com> References: <4029DEAA-6CDE-48C1-9CE1-9EF960191D03@inria.fr> <72BFE947-63DB-4B15-AE6A-DED8697FD4F8@LinkIt.Com> Message-ID: On Thu, Aug 19, 2010 at 3:58 PM, Ray Horsley wrote: > Andr?, Zryip, > > Very helpful. ?Thanks, especially to Trevor who has put together this > wonderful instructional site. ?After combing through it I'm missing just one > thing. ?Is there any way to 'lock' the first column when scrolling > horizontally? ?In my case I'm using the first column to simply number the > lines so if there's any way to show line numbers and leave them locked on > screen when scrolling that would work too. As far as I know there is no way to lock a column in a data grid. The only trick I see is to use two datagrids. One for the fix column and the other one for the scrolling columns. By synchonizing the scrollbar of the both, you could obtain what you want. The dgHScroll property could be helpful in this task, by reading the value of the scrolling DG and apply this value to the locked DG. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From bobs at twft.com Thu Aug 19 11:44:33 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 19 Aug 2010 08:44:33 -0700 Subject: Pattern recognition of basic shapes in Rev In-Reply-To: <07F32A0D-D624-4338-B481-285DA3961C5B@randallreetz.com> References: <20100815165520.LZZA14208.schemailmta01.cingularme.com@Inbox> <1282017485752-2327748.post@n4.nabble.com> <07F32A0D-D624-4338-B481-285DA3961C5B@randallreetz.com> Message-ID: Given that computers are as dumb as a post and don't know anything about geometry to start with, I don't think the first example is so embarrassing after all. You have to tell the computer what each shape is before it gets smart enough to recognize it. The real difference lies in the purpose you are making the function for. If you are trying to give the user a way to hand draw standard shapes and then perfect them for him, the first method seems ideal. But if you are making a way for the user to draw complex objects with mixed curves and straight sides and what not, then the second method seems like the only way to go. Maybe the recognition method is not granular enough. Maybe you should be thinking more like Illustrator does, with lines, curves and connection points. A subtle curve may be a shaky hand or exactly what the user wanted to draw. The difference between a perfect circle and a subtle oval would be indiscernible to a computer. How does the computer know the difference? You would have to give the user a way to choose. Just my 2? Bob On Aug 17, 2010, at 11:30 AM, Randall Reetz wrote: > I am working on two such filters. The first is a brute force recognizer looking for matches to standard shapes (point, line, angle, triangle, rectangle, polygon, oval, conic and cylindric sections) and how closely a user drawing matches platonic forms of these (exp. right and equilateral triangles, square, right rectangle, golden rectangle, parallelogram, circle) at any rotation. The second filter is one I have been working on for 15 years and is a universal pattern engine which does the same as above but without a set of arbitrarily pre-defined target shapes. From the self-evolving AI perspective from which I work, I consider the first filter set cheating and embarrassing (but hey, it is far easier to pull off). > > By the way, anyone can copy a code library or algorithm. I am always interested in the ways different people go about solving problems like this. The way I attack a problem is by collecting salient data. What can I know about these user created polygons (number of points (or line segments), vertice angles between segments, relative segment lengths, relative distance of each vertices from the object's center of area, open or closed, etc.)? Once this data is collected and stored for all user polygons, it can be compared with the same data collected from platonic shapes. > > How would you go about solving this problem? > > > On Aug 17, 2010, at 1:38 AM, David Bovill wrote: > >> Thanks Mark - great paper! >> >> There does not seem to be a lot of code around - nearest I can find is >> here. >> I'd have thought it was something built into the touch screen OS's as it is >> kind of essential for vector graphic drawing on touch screens? >> >> >> On 17 August 2010 04:58, AcidJazz wrote: >> >>> >>> Here's a link to a technical article that discusses the fuzzy logic >>> involved >>> in pattern recognition of shapes. It doesn't provide the exact algorithm, >>> but should get you a little further down the road in your search. >>> >> _______________________________________________ >> 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 devin_asay at byu.edu Thu Aug 19 11:48:17 2010 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 19 Aug 2010 09:48:17 -0600 Subject: Accessing custom props using array notation In-Reply-To: References: <1D39815A-D15E-4FA6-B301-A1AB6AB1FBAD@byu.edu> Message-ID: <3942D3CA-AC4B-463A-AFAE-56B41783A1AA@byu.edu> On Aug 19, 2010, at 4:43 AM, Chipp Walters wrote: > Devin, > > Put the custom prop into an array var, then you can access the contents. > > put the uMyArray of btn "test" into tArray > put tArray["prop1"] into tVar Thanks Chipp. That works if the custom prop is an array to start with, but my question is whether it is possible to access all kinds of custom property data in the default custom property set using array notation. Here's the situation: I have an image object that has several different visual states. The state is represented by image data stored in custom properties of the image, labeled like this: state1 state2 state3 state4 When I want to change visual states I simply set the image text to one of the custom properties. It would be much easier to do if I could do something like this: set the text of img "myImg" to the customKeys["state" & currStateNum] of img "myImg" Instead, I have to construct clumsy "do" statements to make the changes. Unfortunately this doesn't work when using properties in the default set. It does work when you have created the properties in your own sets: set the text of img "myImg" to the myPropSet["state" & currStateNum] of img "myImg" (From memory, so I may be missing a detail of the syntax.) So the question is, can you access non-array data in custom props using array syntax when using just the default property set? Devin > > On Wednesday, August 18, 2010, Devin Asay wrote: >> Anyone know if it's possible to access custom properties from an objects default custom property set using array notation? This is easy to do for custom property sets you create yourself. >> >> set the myPropSet["prop1"] of btn "myBtn" to "foo" -- works >> >> But I can't figure out if you can do the same thing with the default set: >> >> put the customKeys["prop1"] of img "myImg" into "bar" -- doesn't work >> >> If this could be done it would be nice for constructing custom property names dynamically when access custom props, as in a sequence of prop names like prop1, prop2, prop3, etc. >> Devin Asay Humanities Technology and Research Support Center Brigham Young University From kevin at runrev.com Thu Aug 19 12:00:38 2010 From: kevin at runrev.com (Kevin Miller) Date: Thu, 19 Aug 2010 17:00:38 +0100 Subject: Accessing custom props using array notation In-Reply-To: <3942D3CA-AC4B-463A-AFAE-56B41783A1AA@byu.edu> Message-ID: On 19/08/2010 16:48, "Devin Asay" wrote: >> Put the custom prop into an array var, then you can access the contents. >> >> put the uMyArray of btn "test" into tArray >> put tArray["prop1"] into tVar > > Thanks Chipp. That works if the custom prop is an array to start with, but my > question is whether it is possible to access all kinds of custom property data > in the default custom property set using array notation. Here's the situation: > > I have an image object that has several different visual states. The state is > represented by image data stored in custom properties of the image, labeled > like this: > state1 > state2 > state3 > state4 > > When I want to change visual states I simply set the image text to one of the > custom properties. It would be much easier to do if I could do something like > this: > > set the text of img "myImg" to the customKeys["state" & currStateNum] of img > "myImg" > > Instead, I have to construct clumsy "do" statements to make the changes. > > Unfortunately this doesn't work when using properties in the default set. It > does work when you have created the properties in your own sets: > > set the text of img "myImg" to the myPropSet["state" & currStateNum] of img > "myImg" > > (From memory, so I may be missing a detail of the syntax.) > > So the question is, can you access non-array data in custom props using array > syntax when using just the default property set? Can't you do something like this: put "xyz" into tVar set the tVar of btn 1 to "a" You'll end up with a property called xyz that contains "a" in the default set. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ RunRev - Software construction for everyone From randall at randallreetz.com Thu Aug 19 12:05:12 2010 From: randall at randallreetz.com (Randall Reetz) Date: Thu, 19 Aug 2010 09:05:12 -0700 Subject: Pattern recognition of basic shapes in Rev Message-ID: <20100819160513.RVPY3542.schemailmta01.cingularme.com@Inbox> Yes, my code always presents a ghost shape (what the code thinks the user is after) sub-imposed below the user's sketch. A key stroke tells the code if the user has chosen the suggested shape. And, of course it is also reasonable to present platonic geometric shapes that have been roughed up a bit to look hand drawn (they hold their target platonic shape in custom property... screen rendering is skin-specific). -----Original Message----- From: Bob Sneidar Sent: Thursday, August 19, 2010 8:44 AM To: How to use Revolution Subject: Re: Pattern recognition of basic shapes in Rev Given that computers are as dumb as a post and don't know anything about geometry to start with, I don't think the first example is so embarrassing after all. You have to tell the computer what each shape is before it gets smart enough to recognize it. The real difference lies in the purpose you are making the function for. If you are trying to give the user a way to hand draw standard shapes and then perfect them for him, the first method seems ideal. But if you are making a way for the user to draw complex objects with mixed curves and straight sides and what not, then the second method seems like the only way to go. Maybe the recognition method is not granular enough. Maybe you should be thinking more like Illustrator does, with lines, curves and connection points. A subtle curve may be a shaky hand or exactly what the user wanted to draw. The difference between a perfect circle and a subtle oval would be indiscernible to a computer. How does the computer know the difference? You would have to give the user a way to choose. Just my 2? Bob On Aug 17, 2010, at 11:30 AM, Randall Reetz wrote: > I am working on two such filters. The first is a brute force recognizer looking for matches to standard shapes (point, line, angle, triangle, rectangle, polygon, oval, conic and cylindric sections) and how closely a user drawing matches platonic forms of these (exp. right and equilateral triangles, square, right rectangle, golden rectangle, parallelogram, circle) at any rotation. The second filter is one I have been working on for 15 years and is a universal pattern engine which does the same as above but without a set of arbitrarily pre-defined target shapes. From the self-evolving AI perspective from which I work, I consider the first filter set cheating and embarrassing (but hey, it is far easier to pull off). > > By the way, anyone can copy a code library or algorithm. I am always interested in the ways different people go about solving problems like this. The way I attack a problem is by collecting salient data. What can I know about these user created polygons (number of points (or line segments), vertice angles between segments, relative segment lengths, relative distance of each vertices from the object's center of area, open or closed, etc.)? Once this data is collected and stored for all user polygons, it can be compared with the same data collected from platonic shapes. > > How would you go about solving this problem? > > > On Aug 17, 2010, at 1:38 AM, David Bovill wrote: > >> Thanks Mark - great paper! >> >> There does not seem to be a lot of code around - nearest I can find is >> here. >> I'd have thought it was something built into the touch screen OS's as it is >> kind of essential for vector graphic drawing on touch screens? >> >> >> On 17 August 2010 04:58, AcidJazz wrote: >> >>> >>> Here's a link to a technical article that discusses the fuzzy logic >>> involved >>> in pattern recognition of shapes. It doesn't provide the exact algorithm, >>> but should get you a little further down the road in your search. >>> >> _______________________________________________ >> 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 devin_asay at byu.edu Thu Aug 19 12:16:31 2010 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 19 Aug 2010 10:16:31 -0600 Subject: Accessing custom props using array notation In-Reply-To: References: Message-ID: <054E3FA6-61CC-4344-B6CB-39A5F4C82CA7@byu.edu> On Aug 19, 2010, at 10:00 AM, Kevin Miller wrote: > > Can't you do something like this: > > put "xyz" into tVar > set the tVar of btn 1 to "a" > > You'll end up with a property called xyz that contains "a" in the default > set. True enough, but can you do the opposite? put "state" & 1 into tPropName put the tPropName of image "myImg" into foo Unless memory fails, you can't do that--I've tried it; i.e., you can't dynamically build property names to access existing custom props. I would be love to be proven wrong. ;-) Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From kevin at runrev.com Thu Aug 19 12:25:50 2010 From: kevin at runrev.com (Kevin Miller) Date: Thu, 19 Aug 2010 17:25:50 +0100 Subject: Accessing custom props using array notation In-Reply-To: <054E3FA6-61CC-4344-B6CB-39A5F4C82CA7@byu.edu> Message-ID: On 19/08/2010 17:16, "Devin Asay" wrote: > True enough, but can you do the opposite? > > put "state" & 1 into tPropName > put the tPropName of image "myImg" into foo > > Unless memory fails, you can't do that--I've tried it; i.e., you can't > dynamically build property names to access existing custom props. > > I would be love to be proven wrong. ;-) Well it should work and it does here. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ RunRev - Software construction for everyone From ray at linkit.com Thu Aug 19 12:32:48 2010 From: ray at linkit.com (Ray Horsley) Date: Thu, 19 Aug 2010 12:32:48 -0400 Subject: Datagrid Basics In-Reply-To: References: <4029DEAA-6CDE-48C1-9CE1-9EF960191D03@inria.fr> <72BFE947-63DB-4B15-AE6A-DED8697FD4F8@LinkIt.Com> Message-ID: Zryip, Thanks for the suggestion. I'll give it a try. Ray On Aug 19, 2010, at 11:37 AM, zryip theSlug wrote: > On Thu, Aug 19, 2010 at 3:58 PM, Ray Horsley wrote: >> Andr?, Zryip, >> >> Very helpful. Thanks, especially to Trevor who has put together this >> wonderful instructional site. After combing through it I'm missing >> just one >> thing. Is there any way to 'lock' the first column when scrolling >> horizontally? In my case I'm using the first column to simply >> number the >> lines so if there's any way to show line numbers and leave them >> locked on >> screen when scrolling that would work too. > > As far as I know there is no way to lock a column in a data grid. > The only trick I see is to use two datagrids. One for the fix column > and the other one for the scrolling columns. > By synchonizing the scrollbar of the both, you could obtain what you > want. > > The dgHScroll property could be helpful in this task, by reading the > value of the scrolling DG and apply this value to the locked DG. > > Regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > _______________________________________________ > 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 Thu Aug 19 12:38:42 2010 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 19 Aug 2010 10:38:42 -0600 Subject: Accessing custom props using array notation In-Reply-To: References: Message-ID: <853E7A47-D55B-4AAD-B982-C280F29C67F1@byu.edu> On Aug 19, 2010, at 10:25 AM, Kevin Miller wrote: > On 19/08/2010 17:16, "Devin Asay" wrote: > >> True enough, but can you do the opposite? >> >> put "state" & 1 into tPropName >> put the tPropName of image "myImg" into foo >> >> Unless memory fails, you can't do that--I've tried it; i.e., you can't >> dynamically build property names to access existing custom props. >> >> I would be love to be proven wrong. ;-) > > Well it should work and it does here. Well, shut my mouth! That'll teach me to rely on faulty memory! (I blame space aliens and nano-brain-implants.) This works perfectly: put "state" & tNum into tMyProp set the text of img "myImg" of me to the tmyProp of img "myImg" Jacque, could I get a copy of your time warp stack so I can not write my original post yesterday? Thanks, Kevin! Devin Asay Humanities Technology and Research Support Center Brigham Young University From david at vaudevillecourt.tv Thu Aug 19 12:45:36 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Thu, 19 Aug 2010 17:45:36 +0100 Subject: Pattern recognition of basic shapes in Rev In-Reply-To: <07F32A0D-D624-4338-B481-285DA3961C5B@randallreetz.com> References: <20100815165520.LZZA14208.schemailmta01.cingularme.com@Inbox> <1282017485752-2327748.post@n4.nabble.com> <07F32A0D-D624-4338-B481-285DA3961C5B@randallreetz.com> Message-ID: On 17 August 2010 19:30, Randall Reetz wrote: > I am working on two such filters. The first is a brute force recognizer > looking for matches to standard shapes (point, line, angle, triangle, > rectangle, polygon, oval, conic and cylindric sections) and how closely a > user drawing matches platonic forms of these (exp. right and equilateral > triangles, square, right rectangle, golden rectangle, parallelogram, circle) > at any rotation. The second filter is one I have been working on for 15 > years and is a universal pattern engine which does the same as above but > without a set of arbitrarily pre-defined target shapes. From the > self-evolving AI perspective from which I work, I consider the first filter > set cheating and embarrassing (but hey, it is far easier to pull off). > > By the way, anyone can copy a code library or algorithm. I am always > interested in the ways different people go about solving problems like this. > The way I attack a problem is by collecting salient data. What can I know > about these user created polygons (number of points (or line segments), > vertice angles between segments, relative segment lengths, relative distance > of each vertices from the object's center of area, open or closed, etc.)? > Once this data is collected and stored for all user polygons, it can be > compared with the same data collected from platonic shapes. > > How would you go about solving this problem? > I'd Google for a library :) But that's because it is not the problem I'm interested in, but a tool that would improve the user experience. It's also because I'm pretty sure it's a problem that soon will be addressed by the gesture recognition stuff in the OS, and developing my own hack would well just be another hack. If I were to do it now, my guess would be to avoid logical solutions based on knowledge of geometry, and to take one of the C++ based genetic algorithm libraries out there and train it on a set of user data. I did play with both neural networks and GA's in MetaCard, and used some of that work in music composition. Certainly very interesting areas - but right now I just want the user to be able to draw polygons with their finger :) From jacque at hyperactivesw.com Thu Aug 19 13:05:33 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 19 Aug 2010 12:05:33 -0500 Subject: Accessing custom props using array notation In-Reply-To: <853E7A47-D55B-4AAD-B982-C280F29C67F1@byu.edu> References: <853E7A47-D55B-4AAD-B982-C280F29C67F1@byu.edu> Message-ID: <4C6D645D.20602@hyperactivesw.com> On 8/19/10 11:38 AM, Devin Asay wrote: > > Well, shut my mouth! That'll teach me to rely on faulty memory! (I > blame space aliens and nano-brain-implants.) This works perfectly: > > put "state"& tNum into tMyProp > set the text of img "myImg" of me to the tmyProp of img "myImg" > > Jacque, could I get a copy of your time warp stack so I can not write > my original post yesterday? LOL! I'll send you a copy in a few years, no problem. I was going to say, before Kevin answered, that you aren't entirely crazy. It used to not work, but somewhere along the way it got fixed and now does. You can also reduce the above to one line, which works: set the text of img "MyImg" of me to the ("state"&tNum) of img "myImg" That's off the top of my head so if I'm wrong, it's because I'm thinking of how it was ten years from now. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From davidocoker at gmail.com Thu Aug 19 14:30:33 2010 From: davidocoker at gmail.com (David C.) Date: Thu, 19 Aug 2010 13:30:33 -0500 Subject: Accessing custom props using array notation In-Reply-To: <4C6D645D.20602@hyperactivesw.com> References: <853E7A47-D55B-4AAD-B982-C280F29C67F1@byu.edu> <4C6D645D.20602@hyperactivesw.com> Message-ID: > That's off the top of my head so if I'm wrong, it's because I'm thinking of > how it was ten years from now. LOL!!! ...you folks really crack me up... ...and thanks, I especially needed that today and probably will again seven years from yesterday of last month. :-) Best regards, David C. From pmbrig at gmail.com Thu Aug 19 14:39:11 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Thu, 19 Aug 2010 14:39:11 -0400 Subject: Accessing custom props using array notation In-Reply-To: <4C6D645D.20602@hyperactivesw.com> References: <853E7A47-D55B-4AAD-B982-C280F29C67F1@byu.edu> <4C6D645D.20602@hyperactivesw.com> Message-ID: On Aug 19, 2010, at 1:05 PM, J. Landman Gay wrote: > That's off the top of my head so if I'm wrong, it's because I'm > thinking of how it was ten years from now. Sigh. It was all so different before everything changed. Or will change. Nostalgia ain't what it used to be. Or is it "ain't what it will be"? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From zryip.theslug at gmail.com Thu Aug 19 15:37:29 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Thu, 19 Aug 2010 21:37:29 +0200 Subject: Datagrid Basics In-Reply-To: References: <4029DEAA-6CDE-48C1-9CE1-9EF960191D03@inria.fr> <72BFE947-63DB-4B15-AE6A-DED8697FD4F8@LinkIt.Com> Message-ID: On Thu, Aug 19, 2010 at 6:32 PM, Ray Horsley wrote: > Zryip, > > Thanks for the suggestion. ?I'll give it a try. Ray, I just upload a new stack in the Slug's lab implementing this trick. You can download it by following this link: http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&download=9:experiment-014-dg-with-a-locked-column&id=7:data-grid&Itemid=63 Click on the show script button to open the script. And I share here the handler added in the second data grid: on dgScrollbarDragV set the dgVScroll of grp "datagrid 1" to the dgVScroll of me pass dgScrollbarDragV end dgScrollbarDragV To correct myself I'm using: - the dgVScroll property more appropriated to the task - and the dgScrollbarDragV sent to the Data Grid engine when an user used the datagrid's vertical scrollbar. As far as I know the dgScrollbarDragV is not described in the data grid API but it exists in the engine. The dgScrollbarDragH as well. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From jacque at hyperactivesw.com Thu Aug 19 17:47:18 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 19 Aug 2010 16:47:18 -0500 Subject: [OT] Top Rev headlines from the time warp Message-ID: <4C6DA666.1070905@hyperactivesw.com> Since there appears to be some interest, I brought these back with me from my last trip. I apologize for the lack of dates, I don't know exactly when I was because there's a bug in the chronometer. Also, my socks have gone missing. 1. Google's competitor, Giggle, is rapidly gaining momentum as the top search engine of choice. Because it only returns hits on light-hearted, amusing content, it has proven immensely popular. Companies are gaming the system by filling metatags with jokes and "laugh" words. Rev has changed its marketing focus to "The IDE that fills you with joy" and is showing regularly in the top ten results. 2. A Rev customer has ignited a flame war in the Rev Virtual Meeting Rooms, berating the company for not fully complying with current holographic standards. While trying to walk around inside his datagrid he got entrapped by a nasty case of self-induced recursion in a poorly-calculated formula cell. He claims RR should have forseen the error and dumped him out. In actuality that is exactly what happened, but since he had programmed the exit clause as a modal escape hatch, he couldn't hit the default button. Room members are divided on whether he should be left in the cell until his anger subsides, or whether someone should try to access him remotely. 3. The now-leaking stormy internet cloud is being updated and replaced by the Universal Grid, which allows direct connections via embedded bio-ports. RR is reworking its IDE to allow access to this embeddable biosystem. They warn that there are still issues to work out, particularly whether or not the human navel is really a button. 4. Due to recent changes in international law, restrictions on the amount of realism allowed in holographic human projections have caused issues for many companies. RunRev has been forced to remove the native human feature set originally planned for its products. However, RR cannot, and does not intend to, prevent its users from assembling realistic human projections by use of carefully crafted skins. 5. RunRev re-issued a strongly-worded statement again today, warning that its libTeleport library is still in early alpha and should not, under any circumstances, be used for production work. Last week two customers disappeared for an undetermined length of time and were later found in the CEO's sock drawer wearing each other's clothing. The socks were inexplicably missing. One long-time user commented, "It's just uncanny. I've been with RR since the beginning, and the disappearing sock phenomenon was discussed many years ago, yet no one paid any attention. If you ask me, they deserve what they got." CEO Kevin Miller has vowed to return the customers to their homes immediately when the technology reaches beta. ...more when I get there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From userev at canelasoftware.com Thu Aug 19 17:52:35 2010 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 19 Aug 2010 14:52:35 -0700 Subject: revNavigator In-Reply-To: References: <20100812040139.AEBF32883B3@mail.runrev.com> <5F9FB8FA-F0DD-46EA-89E2-D598E613F64D@mollysrevenge.com> <93A449FA-CADE-467A-B3B8-4B2468DFDF29@gmail.com> <4C64400D.3070301@hyperactivesw.com> Message-ID: <7380EBA4-5C34-4BAE-830B-CACE6D661680@canelasoftware.com> Good lord! It is very important. There is no replacement that I can think of. My favorite feature is filter. You type in an object type or name into the search field and Navigator shows everything that matches. Just wonderful. Best regards, Mark Talluto http://www.canelasoftware.com On Aug 17, 2010, at 6:26 PM, Geoff Canyon Rev wrote: > I was referring to the fact that for most people revNavigator just > takes up space in their install (since they don't use it). > > But as Andre pointed out, there is a more recent version available, > which is significantly more capable than the original. > > A question to those who still use it: does it still have features that > make it worthwhile compared to other tools, or do you stay with it out > of familiarity/inertia? I haven't checked out the competition over the > last five or six years so I don't know if it has been superseded. > > gc > > On Tue, Aug 17, 2010 at 12:53 PM, stephen barncard > wrote: >> I thought it shipped in the plugins folder within every new install of Rev! >> >> sqb >> >> On 17 August 2010 10:27, Geoff Canyon Rev >> >>> wrote: >> >>> aw gee, thanks guys -- nice to know it lives on in some people's tool >>> boxes. >>> >>> gc >>> >>> On Mon, Aug 16, 2010 at 1:30 PM, Mark Talluto >>> wrote: >>>> Super tool! I have been using it for years and I did make my very >>> affordable payment back then. I too could not survive without it. >>>> >>>> Best regards, >>>> >>>> Mark Talluto >>>> http://www.canelasoftware.com >>>> >>>>> On Aug 13, 2010, at 10:32 PM, Geoff Canyon Rev wrote: >>>>> >>>>>> revNavigator hasn't been updated for several versions, so it's >>>>>> entirely possible that the dev environment has changed since I wrote >>>>>> it. Or I might just have done a bad job with it ;-) That said it still >>>>>> works -- I don't do much work with Rev anymore, but when I do I >>>>>> couldn't live without it. >>>>>> >>>>>> While I'm thinking about it, I hereby declare revNavigator to be free >>>>>> for anyone to use. >>>>>> >>>>>> gc >>>> _______________________________________________ >>>> 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 >>> >> >> >> >> -- >> >> >> >> Stephen Barncard >> San Francisco Ca. USA >> >> more about sqb >> _______________________________________________ >> 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 capellan2000 at gmail.com Thu Aug 19 17:53:53 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 19 Aug 2010 14:53:53 -0700 (PDT) Subject: Mark V. Shaney algorithm Message-ID: <1282254833937-2331932.post@n4.nabble.com> Hi all, Take a look at this webpage: http://www.yisongyue.com/shaney/ Have anyone created such code in revTalk? >From Wikipedia: "Mark V Shaney is a fake Usenet user whose postings were generated by using Markov chain techniques." "The name is a play on the words "Markov chain". Many readers were fooled into thinking that the quirky, sometimes uncannily topical posts were written by a real person." Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Mark-V-Shaney-algorithm-tp2331932p2331932.html Sent from the Revolution - User mailing list archive at Nabble.com. From chipp at chipp.com Thu Aug 19 18:39:34 2010 From: chipp at chipp.com (Chipp Walters) Date: Thu, 19 Aug 2010 17:39:34 -0500 Subject: [OT] Top Rev headlines from the time warp In-Reply-To: <4C6DA666.1070905@hyperactivesw.com> References: <4C6DA666.1070905@hyperactivesw.com> Message-ID: Good stuff! BTW, is this yours? It just appeared out of nowhere. [image: dirty sock.jpg] http://www.widgetgadget.com/stuff/dirty sock.jpg From zryip.theslug at gmail.com Thu Aug 19 19:35:16 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 20 Aug 2010 01:35:16 +0200 Subject: Datagrid Basics In-Reply-To: References: <4029DEAA-6CDE-48C1-9CE1-9EF960191D03@inria.fr> <72BFE947-63DB-4B15-AE6A-DED8697FD4F8@LinkIt.Com> Message-ID: On Thu, Aug 19, 2010 at 9:37 PM, zryip theSlug wrote: > On Thu, Aug 19, 2010 at 6:32 PM, Ray Horsley wrote: >> Zryip, >> >> Thanks for the suggestion. ?I'll give it a try. > > Ray, > > I just upload a new stack in the Slug's lab implementing this trick. > You can download it by following this link: > http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&download=9:experiment-014-dg-with-a-locked-column&id=7:data-grid&Itemid=63 > > Click on the show script button to open the script. > > And I share here the handler added in the second data grid: > > on dgScrollbarDragV > ? set the dgVScroll of grp "datagrid 1" to the dgVScroll of me > ? pass dgScrollbarDragV > end dgScrollbarDragV I have just pushed the experiment a little ahead by synchronizing the lines selected: on selectionChanged pHilitedIndex, pPrevHilitedIndex set the dgHilitedIndex of grp "datagrid 1" to pHilitedIndex end selectionChanged I updated the corresponding lab's stack. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From jacque at hyperactivesw.com Thu Aug 19 19:56:58 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 19 Aug 2010 18:56:58 -0500 Subject: [OT] Top Rev headlines from the time warp In-Reply-To: References: <4C6DA666.1070905@hyperactivesw.com> Message-ID: <4C6DC4CA.7070506@hyperactivesw.com> On 8/19/10 5:39 PM, Chipp Walters wrote: > Good stuff! > > BTW, is this yours? It just appeared out of nowhere. > > [image: dirty sock.jpg] Kevin's. He wants it back by airmail. But you could probably just put it in the dryer and it'll get to him. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From RevList at CreaTECHSol.com Thu Aug 19 20:58:38 2010 From: RevList at CreaTECHSol.com (RevList) Date: Thu, 19 Aug 2010 17:58:38 -0700 Subject: Datagrid Basics In-Reply-To: References: Message-ID: Trevor may have developed the Data Grid (and I am really glad he did), but Zyrip the Slug is going to make it ultimately more usable when he releases his Data Grid Helper. It is a phenomenal piece of work that will make creating and managing your data grids a snap. He has it out for beta testing now and I can't wait until it is released. I will not hesitate to purchase it. ****************************************** Stewart Lynch CreaTECH Solutions slynch at CreaTECHSol.com 604.484.8499 Skype:StewartLynch There are only 10 kinds of people. Those who understand binary and those who don't. ****************************************** zryip theSlug on August-19-10 at 4:35 PM -0700 wrote: >I have just pushed the experiment a little ahead by synchronizing the >lines selected: > >on selectionChanged pHilitedIndex, pPrevHilitedIndex > set the dgHilitedIndex of grp "datagrid 1" to pHilitedIndex >end selectionChanged > >I updated the corresponding lab's stack. > > >Regards, >-- >-Zryip TheSlug- wish you the best! 8) >http://www.aslugontheroad.co.cc -------------------------------------------------------------------------------------------------------------------- This message and any attachments are intended only for the use of the individual to whom they are addressed and it may contain information that is privileged or confidential. If you have received this communication by mistake, please notify us immediately. -------------------------------------------------------------------------------------------------------------------- From josh at dvcreators.net Thu Aug 19 21:40:32 2010 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 19 Aug 2010 18:40:32 -0700 Subject: (data grid) is there a good workaround for obtaining other column values in FillInData for a Data Grid Table? In-Reply-To: References: <9AAA4C70-8786-42D2-A901-F117D956C1D9@dvcreators.net> Message-ID: Wow, I just looked at this, fabulous!!! Thanks!!! On Aug 18, 2010, at 1:19 PM, zryip theSlug wrote: > On Wed, Aug 18, 2010 at 4:15 AM, Josh Mellicker wrote: >> Let's say you had a data grid table with three columns, and you wanted the first column to be the sum of the other two, like this: >> >> 10 7 3 >> 5 2 3 >> 7 4 3 >> >> How would you calculate the first column while the table is filling in? >> >> >> --- >> >> Originally, we looped through the data and did the calculations, then put the data into the data grid. Now the data set is getting so large that this is too slow, looping through once to calc, then again for the grid. So we're thinking doing the calculation in FillInData would be more efficient. If possible. >> >> It's easy to find any field value in a Data Grid form, since pData is an array with the row values, but we'd like to avoid switching to a form._______________________________________________ > > I have just upload an experiment stack in the Slug's website: > http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&download=8:experiment-013-doing-sum-in-a-column-of-a-data-grid&id=7:data-grid&Itemid=63 > > The experiment shows how doing a sum of three columns in a column of a > data grid: > - when the dg is filling in > - when you change a value in one of the three columns. > > The stack using a custom column behavior. You can access to the script > by clicking on the edit script button. > > HTH > > Regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > _______________________________________________ > 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 Fri Aug 20 00:26:05 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 19 Aug 2010 23:26:05 -0500 Subject: Mark V. Shaney algorithm In-Reply-To: <1282254833937-2331932.post@n4.nabble.com> References: <1282254833937-2331932.post@n4.nabble.com> Message-ID: <4C6E03DD.6060900@hyperactivesw.com> On 8/19/10 4:53 PM, Alejandro Tejada wrote: > > Hi all, > > Take a look at this webpage: > > http://www.yisongyue.com/shaney/ > > Have anyone created such code in revTalk? > >> From Wikipedia: > "Mark V Shaney is a fake Usenet user whose postings were > generated by using Markov chain techniques." > "The name is a play on the words "Markov chain". Many readers > were fooled into thinking that the quirky, sometimes uncannily > topical posts were written by a real person." I tried it but all it did was repeat what I entered. I didn't see any changes. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From niconiko at gmail.com Fri Aug 20 01:15:44 2010 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 20 Aug 2010 14:15:44 +0900 Subject: [revMobile] could not play sound Message-ID: Just got the latest build of the RevMobile plugin and am testing out (among other interesting things) the sound playback on iPhone and iPad of a revMobile-built app. In the IDE, the sound works, but in the real devices themselves and in the iPhone simulator, no sound! I've tried with wav, aiff, and mp3 soundfiles. And I've tried with these files located as URLs and in the application itself (using Rev's "File > Import sound"). The button scripts are: on mouseUp play "helloWorld.wav" -- the imported soundfile put the sound & cr & the result into field "result" end mouseUp on mouseUp put tTheURLPath & "helloWorld.wav" into tPath play tPath put the sound & cr & the result into field "result" end mouseUp And the result feedback from these shown on my iPhone and iPad: done could not play sound Tried using the system beep a too, like this: on mouseUp beep end mouseUp But, nothing heard that way either. Any ideas? Please note I realize RevMobile explanatory note's warn sound playback is "somewhat buggy" in the iPhone simulator. But, as I say, this sound playback problem happens both in real devices and in the simulator. Thank you. -- Nicolas Cueto From mwieder at ahsoftware.net Fri Aug 20 01:21:00 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 19 Aug 2010 22:21:00 -0700 Subject: Mark V. Shaney algorithm In-Reply-To: <4C6E03DD.6060900@hyperactivesw.com> References: <1282254833937-2331932.post@n4.nabble.com> <4C6E03DD.6060900@hyperactivesw.com> Message-ID: <162194545625.20100819222100@ahsoftware.net> Jacque- Thursday, August 19, 2010, 9:26:05 PM, you wrote: > I tried it but all it did was repeat what I entered. I didn't see any > changes. You have to give it a lot of text so it has some food for the database. I fed it the text of The Big Sleep and it came up with * I scuttled out after the rain is a young kid." I didn't go very near him. * It was a cigarette for me." I had a bad record--probably in high school. * "Why should I?" "No reason at all. * I was looking for somebody he thought it necessary to tell her who you are." Her very blue eyes gave me another cute glance and went back around the butt. * But if you think you can tell me so, but I can't make much money and blow for a spin once in a small button of a man who had gone away. * The fingers strained. * It was five days since I had a flounced cover. * Your husband disappeared and Eddie, knowing everybody knew there had to be in my pocket and started towards the ceiling by three brass chains. * He said very quietly: "You talk too damned much," Eddie Mars sighed. * I was making out a white frame house was there, light in the coffee cup. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Aug 20 01:31:19 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 19 Aug 2010 22:31:19 -0700 Subject: Mark V. Shaney algorithm In-Reply-To: <162194545625.20100819222100@ahsoftware.net> References: <1282254833937-2331932.post@n4.nabble.com> <4C6E03DD.6060900@hyperactivesw.com> <162194545625.20100819222100@ahsoftware.net> Message-ID: <53195163875.20100819223119@ahsoftware.net> (sigh) I broke it. I got carried away and fed it the text of Gravity's Rainbow and got a "Request Entity Too Large" error. -- -Mark Wieder mwieder at ahsoftware.net From gcanyon+rev at gmail.com Fri Aug 20 02:29:01 2010 From: gcanyon+rev at gmail.com (Geoff Canyon Rev) Date: Fri, 20 Aug 2010 01:29:01 -0500 Subject: revNavigator In-Reply-To: References: <20100812040139.AEBF32883B3@mail.runrev.com> <5F9FB8FA-F0DD-46EA-89E2-D598E613F64D@mollysrevenge.com> <93A449FA-CADE-467A-B3B8-4B2468DFDF29@gmail.com> <4C64400D.3070301@hyperactivesw.com> Message-ID: No idea -- I haven't been involved with rev much for many years. Thanks for the feedback. On Wed, Aug 18, 2010 at 8:06 AM, Andre Garzia wrote: > Geoff, > > I don't think there is competition for RevNavigator right now. There are the > altPlugins and they are wonderful, been using them since my first Rev > installation, but they are designed different. > > The application browser is like a Brazilian landlord, it uses an enormous > real state and does not develop it all. I seldon use the application > browser. > > tRev has a browser panel that is great but then, when you're back in the IDE > you have no access to it. > > What more there is in terms of RevNavigator competition? > > > On Tue, Aug 17, 2010 at 10:26 PM, Geoff Canyon Rev > >> wrote: > >> I was referring to the fact that for most people revNavigator just >> takes up space in their install (since they don't use it). >> >> But as Andre pointed out, there is a more recent version available, >> which is significantly more capable than the original. >> >> A question to those who still use it: does it still have features that >> make it worthwhile compared to other tools, or do you stay with it out >> of familiarity/inertia? I haven't checked out the competition over the >> last five or six years so I don't know if it has been superseded. >> >> gc >> >> On Tue, Aug 17, 2010 at 12:53 PM, stephen barncard >> wrote: >> > I thought it shipped in the plugins folder within every new install of >> Rev! >> > >> > sqb >> > >> > On 17 August 2010 10:27, Geoff Canyon Rev >> > >> > >> >> wrote: >> > >> >> aw gee, thanks guys -- nice to know it lives on in some people's tool >> >> boxes. >> >> >> >> gc >> >> >> >> On Mon, Aug 16, 2010 at 1:30 PM, Mark Talluto < >> userev at canelasoftware.com> >> >> wrote: >> >> > Super tool! ?I have been using it for years and I did make my very >> >> affordable payment back then. ?I too could not survive without it. >> >> > >> >> > Best regards, >> >> > >> >> > Mark Talluto >> >> > http://www.canelasoftware.com >> >> > >> >> >> On Aug 13, 2010, at 10:32 PM, Geoff Canyon Rev wrote: >> >> >> >> >> >>> revNavigator hasn't been updated for several versions, so it's >> >> >>> entirely possible that the dev environment has changed since I wrote >> >> >>> it. Or I might just have done a bad job with it ;-) That said it >> still >> >> >>> works -- I don't do much work with Rev anymore, but when I do I >> >> >>> couldn't live without it. >> >> >>> >> >> >>> While I'm thinking about it, I hereby declare revNavigator to be >> free >> >> >>> for anyone to use. >> >> >>> >> >> >>> gc >> >> > _______________________________________________ >> >> > 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 >> >> >> > >> > >> > >> > -- >> > >> > >> > >> > Stephen Barncard >> > San Francisco Ca. USA >> > >> > more about sqb ? >> > _______________________________________________ >> > 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 richmondmathewson at gmail.com Fri Aug 20 02:38:20 2010 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 20 Aug 2010 09:38:20 +0300 Subject: revNavigator In-Reply-To: References: <20100812040139.AEBF32883B3@mail.runrev.com> <5F9FB8FA-F0DD-46EA-89E2-D598E613F64D@mollysrevenge.com> <93A449FA-CADE-467A-B3B8-4B2468DFDF29@gmail.com> <4C64400D.3070301@hyperactivesw.com> Message-ID: <4C6E22DC.3090400@gmail.com> This might, however, be better than a Bulgarian landlord who builds on land that is not his and forgets that a sewage system is not a bad idea . . . :) > On Wed, Aug 18, 2010 at 8:06 AM, Andre Garzia wrote: > >> Geoff, >> >> I don't think there is competition for RevNavigator right now. There are the >> altPlugins and they are wonderful, been using them since my first Rev >> installation, but they are designed different. >> >> The application browser is like a Brazilian landlord, it uses an enormous >> real state and does not develop it all. I seldon use the application >> browser. >> >> From andre at andregarzia.com Fri Aug 20 08:37:44 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 20 Aug 2010 09:37:44 -0300 Subject: [OT] Top Rev headlines from the time warp In-Reply-To: <4C6DA666.1070905@hyperactivesw.com> References: <4C6DA666.1070905@hyperactivesw.com> Message-ID: > 5. RunRev re-issued a strongly-worded statement again today, warning that > its libTeleport library is still in early alpha and should not, under any > circumstances, be used for production work. Last week two customers > disappeared for an undetermined length of time and were later found in the > CEO's sock drawer wearing each other's clothing. The socks were inexplicably > missing. One long-time user commented, "It's just uncanny. I've been with RR > since the beginning, and the disappearing sock phenomenon was discussed many > years ago, yet no one paid any attention. If you ask me, they deserve what > they got." CEO Kevin Miller has vowed to return the customers to their homes > immediately when the technology reaches beta. > it was probably me, my mom said that since childhood I had a thing for being found where I did not belong. I was probably trying to get a free hide to Scotland to try again those nice floating pubs on the mile... > > > ...more when I get there. > > -- > 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 andre at andregarzia.com Fri Aug 20 08:40:27 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 20 Aug 2010 09:40:27 -0300 Subject: [revMobile] could not play sound In-Reply-To: References: Message-ID: Nicolas, I don't know if importing sounds work but try this: Using RevMobile bundling thing, bundle your waves. Then using the specialFolderPath thing, get the path to your bundled waves. Use the play command with them. I think that right now, sound playing only works with external bundled or downloaded files, not with imported sounds. I may be wrong but it is worth a try Andre On Fri, Aug 20, 2010 at 2:15 AM, Nicolas Cueto wrote: > Just got the latest build of the RevMobile plugin and am testing out > (among other interesting things) the sound playback on iPhone and iPad > of a revMobile-built app. In the IDE, the sound works, but in the real > devices themselves and in the iPhone simulator, no sound! > > I've tried with wav, aiff, and mp3 soundfiles. > > And I've tried with these files located as URLs and in the application > itself (using Rev's "File > Import sound"). > > The button scripts are: > > on mouseUp > play "helloWorld.wav" -- the imported soundfile > put the sound & cr & the result into field "result" > end mouseUp > > on mouseUp > put tTheURLPath & "helloWorld.wav" into tPath > play tPath > put the sound & cr & the result into field "result" > end mouseUp > > > And the result feedback from these shown on my iPhone and iPad: > > done > could not play sound > > > > Tried using the system beep a too, like this: > > on mouseUp > beep > end mouseUp > > But, nothing heard that way either. > > Any ideas? > > Please note I realize RevMobile explanatory note's warn sound playback > is "somewhat buggy" in the iPhone simulator. But, as I say, this sound > playback problem happens both in real devices and in the simulator. > > Thank you. > > -- > Nicolas Cueto > _______________________________________________ > 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 niconiko at gmail.com Fri Aug 20 09:35:24 2010 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 20 Aug 2010 22:35:24 +0900 Subject: [revMobile] could not play sound In-Reply-To: References: Message-ID: Andre, Thank you! You were right. Have to use the RevMobile plugin's "Add files". And the files played simply with "play", so no need for getting the specialFolderPath. However, this "Add files" solution is not ideal. What I'd prefer is what I do with my Windows/Mac versions -- namely, I use Rev's "load" command to pre-fetch a group of files from the internet, and then, when done, use "unload" to remove them from the cache. And this preferred way does work with image objects in iPhone/iPad apps built by Rev. For these, I can successfully set their filename to an url. Wish I could do the same with sound files! Perhaps for sound files what I am after are the "put url" and "libUrlDownloadToFile" commands described in the RevMobile PDF doc (the "Non-file URL access" section). But: (1) I am an unclear how to work with files in this way -- download the file, retrieve the path to that downloaded file, and then refer Rev objects to that downloaded file via the retrieved path? (2) I am worried about memory -- will the downloaded file remain even after the app is closed? Anyway. Glad I could at least get sounds to play. -- Nicolas Cueto From andre at andregarzia.com Fri Aug 20 09:43:30 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 20 Aug 2010 10:43:30 -0300 Subject: [revMobile] could not play sound In-Reply-To: References: Message-ID: Nicolas, On Fri, Aug 20, 2010 at 10:35 AM, Nicolas Cueto wrote: > Andre, > > Thank you! You were right. Have to use the RevMobile plugin's "Add > files". And the files played simply with "play", so no need for > getting the specialFolderPath. > > However, this "Add files" solution is not ideal. What I'd prefer is > what I do with my Windows/Mac versions -- namely, I use Rev's "load" > command to pre-fetch a group of files from the internet, and then, > when done, use "unload" to remove them from the cache. > > You can do that. Just fetch the files from the network. There's no problem in that. Check out the specialfolderpath docs for Rev Mobile. Your application is sandboxed, it has some folders that are persistent and others that are not. Write stuff that you'd like to keep to the persistent ones and stuff that is temporary to the transient one. You will be safe and the play command will work as expected. > > Anyway. Glad I could at least get sounds to play. > > -- > Nicolas Cueto > _______________________________________________ > 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 Aug 20 11:48:11 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 20 Aug 2010 08:48:11 -0700 Subject: Mark V. Shaney algorithm Message-ID: <4C6EA3BB.3040704@fourthworld.com> Mark Wieder wrote: > (sigh) I broke it. > > I got carried away and fed it the text of Gravity's Rainbow and got a > "Request Entity Too Large" error. With Gravity's Rainbow it may not have been the size of the text as much as the challenge of the latent semantic analysis involved: Pynchon was doing a lot of experimentation with LSD at the time he was writing that one, so the system may have been conceptually overloaded. :) -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From bobs at twft.com Fri Aug 20 12:05:08 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 20 Aug 2010 09:05:08 -0700 Subject: [OT] Top Rev headlines from the time warp In-Reply-To: <4C6DC4CA.7070506@hyperactivesw.com> References: <4C6DA666.1070905@hyperactivesw.com> <4C6DC4CA.7070506@hyperactivesw.com> Message-ID: <9DCF695D-809F-4DD0-A832-FA9AA8B792ED@twft.com> It might be my fault. I just bought a new dryer. It looked awfully futuristic for this day and age. I ended up with the right number of socks, but none of them were mine. Bob On Aug 19, 2010, at 4:56 PM, J. Landman Gay wrote: > On 8/19/10 5:39 PM, Chipp Walters wrote: >> Good stuff! >> >> BTW, is this yours? It just appeared out of nowhere. >> >> [image: dirty sock.jpg] > > Kevin's. He wants it back by airmail. But you could probably just put it in the dryer and it'll get to him. > > -- > 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 bobs at twft.com Fri Aug 20 12:14:34 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 20 Aug 2010 09:14:34 -0700 Subject: Mark V. Shaney algorithm In-Reply-To: <1282254833937-2331932.post@n4.nabble.com> References: <1282254833937-2331932.post@n4.nabble.com> Message-ID: <22296F57-8696-4113-B373-63160DBF0BF2@twft.com> I gave it the first few verses in Genesis. It couldn't do any better. Bob On Aug 19, 2010, at 2:53 PM, Alejandro Tejada wrote: > > Hi all, > > Take a look at this webpage: > > http://www.yisongyue.com/shaney/ > > Have anyone created such code in revTalk? > >> From Wikipedia: > "Mark V Shaney is a fake Usenet user whose postings were > generated by using Markov chain techniques." > "The name is a play on the words "Markov chain". Many readers > were fooled into thinking that the quirky, sometimes uncannily > topical posts were written by a real person." > > Thanks in advance! > > Al > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Mark-V-Shaney-algorithm-tp2331932p2331932.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 richmondmathewson at gmail.com Fri Aug 20 15:26:30 2010 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 20 Aug 2010 22:26:30 +0300 Subject: [OT] Dead Video and no keyboard Message-ID: <4C6ED6E6.100@gmail.com> Having replaced my video-card I am still getting a blank screen; keyboard not responding (no lights), nor mouse. Getting the initial 'bong' and fans starting up. How does one ZAP the PRAM with no keyboard? Help . . . . From mwieder at ahsoftware.net Fri Aug 20 15:39:39 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 20 Aug 2010 12:39:39 -0700 Subject: [OT] Dead Video and no keyboard In-Reply-To: <4C6ED6E6.100@gmail.com> References: <4C6ED6E6.100@gmail.com> Message-ID: <15246064359.20100820123939@ahsoftware.net> Richmond- Friday, August 20, 2010, 12:26:30 PM, you wrote: > Having replaced my video-card I am still getting a blank screen; keyboard > not responding (no lights), nor mouse. > Getting the initial 'bong' and fans starting up. > How does one ZAP the PRAM with no keyboard? If you've changed the hardware you may need to hit the CUDA switch. Where that is on the motherboard depends on what model you've got. Look for a red pushbutton somewhere on the motherboard. You may also be able to pull the plug, then remove the battery, give it a minute, and replace it. You'll lose your preferences, but that shouldn't be a big deal. -- -Mark Wieder mwieder at ahsoftware.net From lists at mangomultimedia.com Fri Aug 20 16:50:35 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 20 Aug 2010 16:50:35 -0400 Subject: Code signing certificate In-Reply-To: References: <5BA5371B-EE7A-461F-9201-1030BFB71950@mac.com> <770B173E-C4BC-45D7-B635-67C797E90EEA@mangomultimedia.com> <094B987C-CDFF-4326-9FC2-3E7A165F9B48@ezpzapps.com> <505CA4F3-4FA7-4743-A1C8-C3E41AD6C2D7@ezpzapps.com> Message-ID: <35B1CE7D-B740-4DCC-9448-95FBC8E451EC@mangomultimedia.com> On Aug 19, 2010, at 1:40 AM, Jim Sims wrote: > Does anyone on this List actually use a Code signing certificate > with apps they build in Rev? Yes. I sign all of my ScreenSteps related desktop applications and installers. > If so, would you explain how you do it? IOW would you please > describe the process for doing this for a Rev app? I took a lot of notes when I was going through the whole process of getting a certificate and figuring out how to sign. I've been meaning to post some tutorials on the lessons.runev.com site but I just haven't had time to go back and create a coherent tutorial yet. Once you have all of the proper files on your computer it is pretty straightforward to sign an executable each time you build it. It's just a matter of calling something like the following on the command line in Windows: "C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin \signtool.exe" sign /f C:\my_code_signing.pfx /t http://timestamp.comodoca.com/authenticode /p YOUR_PFX_PASSWORD "Z:\Path\To\My\Executable\ScreenSteps.exe" I'll see if I can get something posted by the end of next week the explains the process. > My guess is that nobody does. That would be incorrect :-) -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From bonnmike at gmail.com Fri Aug 20 17:25:01 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 20 Aug 2010 15:25:01 -0600 Subject: [OT] Dead Video and no keyboard In-Reply-To: <15246064359.20100820123939@ahsoftware.net> References: <4C6ED6E6.100@gmail.com> <15246064359.20100820123939@ahsoftware.net> Message-ID: While you're digging around in there, might re-seat the memory and any other cards that are in there as well as check to make sure no cables have been nudged loose. On Fri, Aug 20, 2010 at 1:39 PM, Mark Wieder wrote: > Richmond- > > Friday, August 20, 2010, 12:26:30 PM, you wrote: > >> Having replaced my video-card I am still getting a blank screen; keyboard >> not responding (no lights), nor mouse. > >> Getting the initial 'bong' and fans starting up. > >> How does one ZAP the PRAM with no keyboard? > > If you've changed the hardware you may need to hit the CUDA switch. > Where that is on the motherboard depends on what model you've got. > Look for a red pushbutton somewhere on the motherboard. You may also > be able to pull the plug, then remove the battery, give it a minute, > and replace it. You'll lose your preferences, but that shouldn't be a > big deal. > > -- > -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 sims at ezpzapps.com Fri Aug 20 23:01:25 2010 From: sims at ezpzapps.com (Jim Sims) Date: Sat, 21 Aug 2010 05:01:25 +0200 Subject: Code signing certificate In-Reply-To: <35B1CE7D-B740-4DCC-9448-95FBC8E451EC@mangomultimedia.com> References: <5BA5371B-EE7A-461F-9201-1030BFB71950@mac.com> <770B173E-C4BC-45D7-B635-67C797E90EEA@mangomultimedia.com> <094B987C-CDFF-4326-9FC2-3E7A165F9B48@ezpzapps.com> <505CA4F3-4FA7-4743-A1C8-C3E41AD6C2D7@ezpzapps.com> <35B1CE7D-B740-4DCC-9448-95FBC8E451EC@mangomultimedia.com> Message-ID: <82E727E4-AB1A-4F72-AC3F-974E46A629A9@ezpzapps.com> On Aug 20, 2010, at 10:50 PM, Trevor DeVore wrote: > On Aug 19, 2010, at 1:40 AM, Jim Sims wrote: > >> Does anyone on this List actually use a Code signing certificate with apps they build in Rev? > > Yes. I sign all of my ScreenSteps related desktop applications and installers. > >> If so, would you explain how you do it? IOW would you please describe the process for doing this for a Rev app? > I'll see if I can get something posted by the end of next week the explains the process. > >> My guess is that nobody does. > > That would be incorrect :-) That would be awesome, thanks! Might make a great article for Richard's revJournal and the Rev newsletter also ;-) sims From richmondmathewson at gmail.com Sat Aug 21 03:48:42 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 21 Aug 2010 10:48:42 +0300 Subject: [OT] Dead Video and no keyboard In-Reply-To: References: <4C6ED6E6.100@gmail.com> <15246064359.20100820123939@ahsoftware.net> Message-ID: <4C6F84DA.2090103@gmail.com> Dear Mike and Mark, Thank you both for your advice: having reset the PMU (which was not red) on my G4 MDD and reset all the RAM modules as well as the PCI and AGP cards I am still only getting the 'bong'; the keyboard is non-responsive, the light on the mouse does not light up (i.e. USB ports not functioning) and no video signal (mucked around with about 4 different monitors). Is this the point where I try to find a computer engineer????? From palcibiades-first at yahoo.co.uk Sat Aug 21 04:21:30 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 21 Aug 2010 01:21:30 -0700 (PDT) Subject: [OT] Dead Video and no keyboard In-Reply-To: <4C6F84DA.2090103@gmail.com> References: <4C6ED6E6.100@gmail.com> <15246064359.20100820123939@ahsoftware.net> <4C6F84DA.2090103@gmail.com> Message-ID: <1282378890111-2333324.post@n4.nabble.com> Richmond Mathewson-2 wrote: > > > > Is this the point where I try to find a computer engineer????? > > No, this is the point at which you make a Hackintosh! Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Dead-Video-and-no-keyboard-tp2332916p2333324.html Sent from the Revolution - User mailing list archive at Nabble.com. From gwolfgang at gaich.de Sat Aug 21 07:11:49 2010 From: gwolfgang at gaich.de (G. Wolfgang Gaich) Date: Sat, 21 Aug 2010 13:11:49 +0200 Subject: [OT] Dead Video and no keyboard In-Reply-To: <4C6ED6E6.100@gmail.com> References: <4C6ED6E6.100@gmail.com> Message-ID: <4C6FB475.5010807@gaich.de> Richmond, I had an similar effect (with a PC) some years ago. There was short circuit on the motherboard caused by a little screw I lost and then found it between the motherboard and the case. After removing the screw and restarting the PC all was ok. Wolfgang Am 20.08.2010 21:26, schrieb Richmond: > Having replaced my video-card I am still getting a blank screen; keyboard > not responding (no lights), nor mouse. > > Getting the initial 'bong' and fans starting up. > > How does one ZAP the PRAM with no keyboard? > > Help . . . . > _______________________________________________ > 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 richmondmathewson at gmail.com Sat Aug 21 07:37:57 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 21 Aug 2010 14:37:57 +0300 Subject: [OT] Dead Video and no keyboard In-Reply-To: <1282378890111-2333324.post@n4.nabble.com> References: <4C6ED6E6.100@gmail.com> <15246064359.20100820123939@ahsoftware.net> <4C6F84DA.2090103@gmail.com> <1282378890111-2333324.post@n4.nabble.com> Message-ID: <4C6FBA95.604@gmail.com> On 08/21/2010 11:21 AM, Peter Alcibiades wrote: > > Richmond Mathewson-2 wrote: > > Is this the point where I try to find a computer engineer????? > > > No, this is the point at which you make a Hackintosh! > > Peter > Actually I am at the stage where my sense of humour has worn very very thin indeed; I have to get tge bl**dy machine functioning again; and having had a day of "fun" at the Bulgarian customs being charged an extra $40 dollars to get my 'import' from the USA just to get my expensive video card I am very close to tears. From bonnmike at gmail.com Sat Aug 21 09:46:21 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 21 Aug 2010 07:46:21 -0600 Subject: [OT] Dead Video and no keyboard In-Reply-To: <4C6FBA95.604@gmail.com> References: <4C6ED6E6.100@gmail.com> <15246064359.20100820123939@ahsoftware.net> <4C6F84DA.2090103@gmail.com> <1282378890111-2333324.post@n4.nabble.com> <4C6FBA95.604@gmail.com> Message-ID: Of course do all of this while being careful of static. Out of curiosity, with the previous dead card in place, did you get bong, no video, but a lit up keyboard? assuming you have keyboard lights that flash when its found. Does the keyboard light up with the new card at all during the detection phase? Are you sure its not actually booting headless? If you have another machine, and the ill-mannered one is setup for remote admin, can you confirm that its not actually up? As I mentioned before I don't know much about older macs specificall, but.. Can the mac g4 run with a single memory chip installed? If so, you might try playing a game of musical memory. Try 1 chip at a time and see if you get video with a single. (don't know if it requires dual memory banks to be filled or not) Also, might want to remove any other pci cards that are in the machine leaving only video, as well as do the same test again with the old video card. Finally, if your keyboard has lights that cycle during detection, can you pull all video cards out of the machine and see if things cycle up sans video card? Are you sure the card you replaced with is compatible with the version of g4 you have? A silly thing to check, if your motherboard has additional socketed types of chips, you might nudge them also just to make sure they're still seated well enough, and strangely enough if they've managed to get oxidization on any contacts a nudge can help break things loose and get things reconnected. (LIke the old atari st, after years of service then tended to turn into paperweights. The solution was to take off the plastic housing and twist the inside clamshell case gently between your hands, causing the connection between the 2 halves to clear and clean themselves due to friction) I was just reading a little, is your monitor hooked powered through an ADC connector? If so, might check the little cable for that is connected. (again, running a little blind when it comes to the older macs) A computer engineer at this point would indeed be handy. Wish I could sell you my mac pro, but due to various things beyond my control alas its not really feasible. On Sat, Aug 21, 2010 at 5:37 AM, Richmond wrote: > On 08/21/2010 11:21 AM, Peter Alcibiades wrote: >> >> Richmond Mathewson-2 wrote: >> >> Is this the point where I try to find a computer engineer????? >> >> ? No, this is the point at which you make a Hackintosh! >> >> Peter >> > > Actually I am at the stage where my sense of humour has worn very very thin > indeed; I have to get tge bl**dy machine functioning again; and having had a > day > of "fun" at the Bulgarian customs being charged an extra $40 dollars to get > my > 'import' from the USA just to get my expensive video card I am very close to > tears. > _______________________________________________ > 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 bonnmike at gmail.com Sat Aug 21 09:49:17 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 21 Aug 2010 07:49:17 -0600 Subject: [OT] Dead Video and no keyboard In-Reply-To: References: <4C6ED6E6.100@gmail.com> <15246064359.20100820123939@ahsoftware.net> <4C6F84DA.2090103@gmail.com> <1282378890111-2333324.post@n4.nabble.com> <4C6FBA95.604@gmail.com> Message-ID: Wow, just read my own message. Glad I was writing in my native tongue, no clue how much more unreadable it would have been if I'd tried to alternate-language things. On Sat, Aug 21, 2010 at 7:46 AM, Mike Bonner wrote: > Of course do all of this while being careful of static. > > Out of curiosity, with the previous dead card in place, did you get > bong, no video, but a lit up keyboard? assuming you have keyboard > lights that flash when its found. ?Does the keyboard light up with the > new card at all during the detection phase? ?Are you sure its not > actually booting headless? If you have another machine, and the > ill-mannered one is setup for remote admin, can you confirm that its > not actually up? > > As I mentioned before I don't know much about older macs specificall, but.. > > Can the mac g4 run with a single memory chip installed? If so, you > might try playing a game of musical memory. ?Try 1 chip at a time and > see if you get video with a single. (don't know if it requires dual > memory banks to be filled or not) > > Also, might want to remove any other pci cards that are in the machine > leaving only video, as well as do the same test again with the old > video card. > > Finally, if your keyboard has lights that cycle during detection, can > you pull all video cards out of the machine and see if things cycle up > sans video card? > > Are you sure the card you replaced with is compatible with the version > of g4 you have? > > A silly thing to check, if your motherboard has additional socketed > types of chips, you might nudge them also just to make sure they're > still seated well enough, and strangely enough if they've managed to > get oxidization on any contacts a nudge can help break things loose > and get things reconnected. (LIke the old atari st, after years of > service then tended to turn into paperweights. The solution was to > take off the plastic housing and twist the inside clamshell case > gently between your hands, causing the connection between the 2 halves > to clear and clean themselves due to friction) > > I was just reading a little, is your monitor hooked powered through an > ADC connector? If so, might check the little cable for that is > connected. (again, running a little blind when it comes to the older > macs) > > A computer engineer at this point would indeed be handy. > > Wish I could sell you my mac pro, but due to various things beyond my > control alas its not really feasible. > > On Sat, Aug 21, 2010 at 5:37 AM, Richmond wrote: >> On 08/21/2010 11:21 AM, Peter Alcibiades wrote: >>> >>> Richmond Mathewson-2 wrote: >>> >>> Is this the point where I try to find a computer engineer????? >>> >>> ? No, this is the point at which you make a Hackintosh! >>> >>> Peter >>> >> >> Actually I am at the stage where my sense of humour has worn very very thin >> indeed; I have to get tge bl**dy machine functioning again; and having had a >> day >> of "fun" at the Bulgarian customs being charged an extra $40 dollars to get >> my >> 'import' from the USA just to get my expensive video card I am very close to >> tears. >> _______________________________________________ >> 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 bonnmike at gmail.com Sat Aug 21 10:25:05 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 21 Aug 2010 08:25:05 -0600 Subject: [OT] Dead Video and no keyboard In-Reply-To: References: <4C6ED6E6.100@gmail.com> <15246064359.20100820123939@ahsoftware.net> <4C6F84DA.2090103@gmail.com> <1282378890111-2333324.post@n4.nabble.com> <4C6FBA95.604@gmail.com> Message-ID: Just thought of one more thing, could be your power supply suddenly decided to get lazy and provide too little power. Enough to get you to the bong, but not enough to spin up the drives and initialize the rest of the hardware. I've seen machines where you turn them on, and the initial required surge was too much for a marginal power supply to handle, but if you waited long enough for the drives to reach speed then hit reset rather than power, boom it would boot. This is a "Bad Idea" (c) 2010 as continuing to run with marginal power will cause hardware problems in the long (or maybe short) run, but just thought I'd toss it out there. On Sat, Aug 21, 2010 at 7:49 AM, Mike Bonner wrote: > Wow, just read my own message. ?Glad I was writing in my native > tongue, no clue how much more unreadable it would have been if I'd > tried to alternate-language things. > > On Sat, Aug 21, 2010 at 7:46 AM, Mike Bonner wrote: >> Of course do all of this while being careful of static. >> >> Out of curiosity, with the previous dead card in place, did you get >> bong, no video, but a lit up keyboard? assuming you have keyboard >> lights that flash when its found. ?Does the keyboard light up with the >> new card at all during the detection phase? ?Are you sure its not >> actually booting headless? If you have another machine, and the >> ill-mannered one is setup for remote admin, can you confirm that its >> not actually up? >> >> As I mentioned before I don't know much about older macs specificall, but.. >> >> Can the mac g4 run with a single memory chip installed? If so, you >> might try playing a game of musical memory. ?Try 1 chip at a time and >> see if you get video with a single. (don't know if it requires dual >> memory banks to be filled or not) >> >> Also, might want to remove any other pci cards that are in the machine >> leaving only video, as well as do the same test again with the old >> video card. >> >> Finally, if your keyboard has lights that cycle during detection, can >> you pull all video cards out of the machine and see if things cycle up >> sans video card? >> >> Are you sure the card you replaced with is compatible with the version >> of g4 you have? >> >> A silly thing to check, if your motherboard has additional socketed >> types of chips, you might nudge them also just to make sure they're >> still seated well enough, and strangely enough if they've managed to >> get oxidization on any contacts a nudge can help break things loose >> and get things reconnected. (LIke the old atari st, after years of >> service then tended to turn into paperweights. The solution was to >> take off the plastic housing and twist the inside clamshell case >> gently between your hands, causing the connection between the 2 halves >> to clear and clean themselves due to friction) >> >> I was just reading a little, is your monitor hooked powered through an >> ADC connector? If so, might check the little cable for that is >> connected. (again, running a little blind when it comes to the older >> macs) >> >> A computer engineer at this point would indeed be handy. >> >> Wish I could sell you my mac pro, but due to various things beyond my >> control alas its not really feasible. >> >> On Sat, Aug 21, 2010 at 5:37 AM, Richmond wrote: >>> On 08/21/2010 11:21 AM, Peter Alcibiades wrote: >>>> >>>> Richmond Mathewson-2 wrote: >>>> >>>> Is this the point where I try to find a computer engineer????? >>>> >>>> ? No, this is the point at which you make a Hackintosh! >>>> >>>> Peter >>>> >>> >>> Actually I am at the stage where my sense of humour has worn very very thin >>> indeed; I have to get tge bl**dy machine functioning again; and having had a >>> day >>> of "fun" at the Bulgarian customs being charged an extra $40 dollars to get >>> my >>> 'import' from the USA just to get my expensive video card I am very close to >>> tears. >>> _______________________________________________ >>> 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 zryip.theslug at gmail.com Sat Aug 21 11:04:53 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sat, 21 Aug 2010 17:04:53 +0200 Subject: Datagrid Basics In-Reply-To: References: Message-ID: On Fri, Aug 20, 2010 at 2:58 AM, RevList wrote: > Trevor may have developed the Data Grid (and I am really glad he did), but > Zyrip the Slug is going to make it ultimately more usable when he releases > his Data Grid Helper. ?It is a phenomenal piece of work that will make > creating and managing your data grids a snap. > He has it out for beta testing now and I can't wait until it is released. > I will not hesitate to purchase it. Thanks Stewart, I'm actually working to correct and improve the features already available in the DGH, in the goal to have a first stable version. A first version will not signify the end of the development. I have tons of features in head, and I will propose regular updates after the first version. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From sales at dynamechdesign.com Sat Aug 21 12:32:09 2010 From: sales at dynamechdesign.com (sales at dynamechdesign.com) Date: Sat, 21 Aug 2010 12:32:09 -0400 Subject: windows standalone keyboard paste Message-ID: <1F6B97148A084AC1A569CC15843A8E75@bruce64> I am trying to get my standalone to accept a keyboard "paste" command to be accepted in an "Ask" dialog box. Standalone seems to put a CR in there but no text. It works fine when as a stack in Rev. Thanks, Bruce From mwieder at ahsoftware.net Sat Aug 21 12:33:54 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 21 Aug 2010 09:33:54 -0700 Subject: [OT] Dead Video and no keyboard In-Reply-To: <4C6FBA95.604@gmail.com> References: <4C6ED6E6.100@gmail.com> <15246064359.20100820123939@ahsoftware.net> <4C6F84DA.2090103@gmail.com> <1282378890111-2333324.post@n4.nabble.com> <4C6FBA95.604@gmail.com> Message-ID: <64321318812.20100821093354@ahsoftware.net> Richmond- Another off-the-wall thought: I've had problems with G4 machines before where the no-video problem was actually caused by a failing battery on the motherboard (the little one in a cradle socket). So you might see if you can find a replacement for that or at least be able to test the existing one. -- -Mark Wieder mwieder at ahsoftware.net From m.schonewille at economy-x-talk.com Sat Aug 21 12:37:59 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 21 Aug 2010 18:37:59 +0200 Subject: windows standalone keyboard paste In-Reply-To: <1F6B97148A084AC1A569CC15843A8E75@bruce64> References: <1F6B97148A084AC1A569CC15843A8E75@bruce64> Message-ID: Hi Bruce, Did you post a similar problem on the forum? How are you that sure that ONLY a return is pasted? It is very well possible that the user double-click a line and hence copied a text + return, pasted this into the ask dialog and consequently only sees a return. Press backspace and the user should see the actual text. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 21 aug 2010, at 18:32, wrote: > I am trying to get my standalone to accept a keyboard "paste" command to be accepted in an "Ask" dialog box. Standalone seems to put a CR in there but no text. It works fine when as a stack in Rev. > > Thanks, > Bruce From mwieder at ahsoftware.net Sat Aug 21 12:38:36 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 21 Aug 2010 09:38:36 -0700 Subject: windows standalone keyboard paste In-Reply-To: <1F6B97148A084AC1A569CC15843A8E75@bruce64> References: <1F6B97148A084AC1A569CC15843A8E75@bruce64> Message-ID: <106321601437.20100821093836@ahsoftware.net> Bruce- Saturday, August 21, 2010, 9:32:09 AM, you wrote: > I am trying to get my standalone to accept a keyboard "paste" > command to be accepted in an "Ask" dialog box. Standalone seems to > put a CR in there but no text. It works fine when as a stack in Rev. Are you sure that's what's going on? I've found that if the line height isn't set properly in a text box I can paste stuff into it and all I see is the trailing CR. But the text is actually there and if I click in there and use the arrow keys to go up it appears. Are you grabbing the text after the ask command and seeing what's in there? ask "blah" put it into someField -- -Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION2 at barncard.com Sat Aug 21 13:53:15 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 21 Aug 2010 10:53:15 -0700 Subject: Datagrid Basics In-Reply-To: References: Message-ID: When will this tool be available? Well done, mr Slug. sqb > > I'm actually working to correct and improve the features already > available in the DGH, in the goal to have a first stable version. > A first version will not signify the end of the development. I have > tons of features in head, and I will propose regular updates after the > first version. > > Regards, > -- > -Zryip TheSlug- wish you the best! 8) > Stephen Barncard San Francisco Ca. USA more about sqb From sales at dynamechdesign.com Sat Aug 21 15:10:10 2010 From: sales at dynamechdesign.com (sales at dynamechdesign.com) Date: Sat, 21 Aug 2010 15:10:10 -0400 Subject: windows standalone keyboard paste References: <1F6B97148A084AC1A569CC15843A8E75@bruce64> <106321601437.20100821093836@ahsoftware.net> Message-ID: <1DA24CE438004826B968FDC22A32F1EF@bruce64> Mark, Yes, I am the same one as on the message board. Seems as though you get around. And thanks for helping and being patient with me. Here is the btn script: on mouseUp ask "Can you paste into this field from the keyboard?" if it = "" then answer "Nothing was entered" else answer "You entered: "&it end mouseUp When I paste in the standalone, I still see line 1 of field. But I see the top of the I-beam in the window. I will redo with pasting into fixed field. I expect the same results though. Bruce ----- Original Message ----- From: "Mark Wieder" To: "How to use Revolution" Sent: Saturday, August 21, 2010 12:38 PM Subject: Re: windows standalone keyboard paste > Bruce- > > Saturday, August 21, 2010, 9:32:09 AM, you wrote: > >> I am trying to get my standalone to accept a keyboard "paste" >> command to be accepted in an "Ask" dialog box. Standalone seems to >> put a CR in there but no text. It works fine when as a stack in Rev. > > Are you sure that's what's going on? I've found that if the line > height isn't set properly in a text box I can paste stuff into it and > all I see is the trailing CR. But the text is actually there and if I > click in there and use the arrow keys to go up it appears. Are you > grabbing the text after the ask command and seeing what's in there? > > ask "blah" > put it into someField > > -- > -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 m.schonewille at economy-x-talk.com Sat Aug 21 15:16:29 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 21 Aug 2010 21:16:29 +0200 Subject: windows standalone keyboard paste In-Reply-To: <1DA24CE438004826B968FDC22A32F1EF@bruce64> References: <1F6B97148A084AC1A569CC15843A8E75@bruce64> <106321601437.20100821093836@ahsoftware.net> <1DA24CE438004826B968FDC22A32F1EF@bruce64> Message-ID: Hi Bruce, I replied on the forum: > > OK, I understand your problem. It won't work, not even on Mac. The people who say it works on Mac are using command-V instead of right-click. > > There is no script in the ask dialog window that handles a right click. If you want this to work, you have to make a new stack. The script I posted earlier will definitely help you. > > One more hint: a right-click in a field will trigger a mouseDown and a mouseUp message, but a normal click in a field won't. You can use this to display the popup menu. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 21 aug 2010, at 21:10, wrote: > Mark, > > Yes, I am the same one as on the message board. Seems as though you get > around. And thanks for helping and being patient with me. Here is the btn script: > > on mouseUp > > ask "Can you paste into this field from the keyboard?" > > if it = "" then answer "Nothing was entered" > > else answer "You entered: "&it > > end mouseUp > > > > When I paste in the standalone, I still see line 1 of field. But I see the > top of the I-beam in the window. I will redo with pasting into fixed field. > I expect the same results though. > > Bruce > From sales at dynamechdesign.com Sat Aug 21 15:23:25 2010 From: sales at dynamechdesign.com (sales at dynamechdesign.com) Date: Sat, 21 Aug 2010 15:23:25 -0400 Subject: windows standalone keyboard paste References: <1F6B97148A084AC1A569CC15843A8E75@bruce64> <106321601437.20100821093836@ahsoftware.net> Message-ID: Mark, Now it gets wierder. Created a text field. Rebuilt. Grabbed some text from the script editor, from the middle of a line so as not to get a CR. Pasted it into the Ask dialog box, and it pasted it into the filed just fine. Then I grabbed some text from an email window that was open, like I had done on previous tests, and nothing shows up. I can paste it into Notepad and it shows up fine. Copy it from there and it shows up fine. Some how what gets copied from the "Outlook Express" email window won't show up. Go figgure. Must have some wierd encoding or something. So now back to my right click pasting... Thanks, Bruce P.S. Tim, you were right. "Its something stupid." Turns out, its me. I think. ----- Original Message ----- From: "Mark Wieder" To: "How to use Revolution" Sent: Saturday, August 21, 2010 12:38 PM Subject: Re: windows standalone keyboard paste > Bruce- > > Saturday, August 21, 2010, 9:32:09 AM, you wrote: > >> I am trying to get my standalone to accept a keyboard "paste" >> command to be accepted in an "Ask" dialog box. Standalone seems to >> put a CR in there but no text. It works fine when as a stack in Rev. > > Are you sure that's what's going on? I've found that if the line > height isn't set properly in a text box I can paste stuff into it and > all I see is the trailing CR. But the text is actually there and if I > click in there and use the arrow keys to go up it appears. Are you > grabbing the text after the ask command and seeing what's in there? > > ask "blah" > put it into someField > > -- > -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 pete at mollysrevenge.com Sat Aug 21 21:25:33 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Sat, 21 Aug 2010 18:25:33 -0700 Subject: Mouse Gestures Message-ID: <19631A8E-6246-47B9-A5AB-256B5F20F0A6@mollysrevenge.com> I don;t see anything in the dictionary that looks like there are any built in features to handle mouse gestures. Wouldn;t be the first time I've missed something in Rev but are there any such features or has anyone written code to implement gestures? Thanks, Pete Haworth From rman at free.fr Sat Aug 21 21:45:11 2010 From: rman at free.fr (Robert Mann) Date: Sat, 21 Aug 2010 18:45:11 -0700 (PDT) Subject: [datagrid] how to search and show the result? In-Reply-To: <6B58C372-0C8C-44A9-8BBA-3CB42B3C3D2A@mangomultimedia.com> References: <6B58C372-0C8C-44A9-8BBA-3CB42B3C3D2A@mangomultimedia.com> Message-ID: <1282441511105-2333929.post@n4.nabble.com> Trevor DeVore wrote: > > dispatch "FindLine" to group "DataGrid" with "MyColumn", "String To > Find" > put the result into theLine > Coming back to it... ok this gives me the line, then I can scroll that line in view. but when there are several occurences of the searchedString, the result outputs only the first line. Is there a way to get all lines??? Thanks [trying to implement a dgFind function that works like the runrev find (showing with a rectangle the foundChunk and bouncing to next occurence... ) if anybody has it already.. share it on revOnline please!] -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-datagrid-how-to-search-and-show-the-result-tp1311658p2333929.html Sent from the Revolution - User mailing list archive at Nabble.com. From rman at free.fr Sat Aug 21 21:47:18 2010 From: rman at free.fr (Robert Mann) Date: Sat, 21 Aug 2010 18:47:18 -0700 (PDT) Subject: Mouse Gestures In-Reply-To: <19631A8E-6246-47B9-A5AB-256B5F20F0A6@mollysrevenge.com> References: <19631A8E-6246-47B9-A5AB-256B5F20F0A6@mollysrevenge.com> Message-ID: <1282441638244-2333930.post@n4.nabble.com> i've seen a stack on revOnline on the subject.. LibMouseGestures by Malte Brill -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Mouse-Gestures-tp2333923p2333930.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Sat Aug 21 22:10:47 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 21 Aug 2010 21:10:47 -0500 Subject: Mouse Gestures In-Reply-To: <19631A8E-6246-47B9-A5AB-256B5F20F0A6@mollysrevenge.com> References: <19631A8E-6246-47B9-A5AB-256B5F20F0A6@mollysrevenge.com> Message-ID: <4C708727.8030500@hyperactivesw.com> On 8/21/10 8:25 PM, Peter Haworth wrote: > I don;t see anything in the dictionary that looks like there are any > built in features to handle mouse gestures. Wouldn;t be the first time > I've missed something in Rev but are there any such features or has > anyone written code to implement gestures? They've been implemented as native messages and commands in RevMobile. I don't know what the plans are for the main engine, but it would be worth a feature request at the QCC. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Bsummerton at virginbroadband.com.au Sat Aug 21 22:47:23 2010 From: Bsummerton at virginbroadband.com.au (Brent Summerton) Date: Sun, 22 Aug 2010 12:17:23 +0930 Subject: Printing/ Email error in Standalone Application Message-ID: <19FC40FB-6C9F-4D17-8133-8D42FDDB4D20@virginbroadband.com.au> Thank you for your suggestions last week. Started building my application again from scratch. At the end of Module 1 (of four) I tested the Print function and it worked! Scenario. Ten Cards provide theory Training. Ten Cards provide multiple choice Questions. Last card has a field named "Results" = 23 Cards. As a User clicks on an answer each button sends a message line by line to the last cards field named "Results" on mouseUp-- Each Question of ten sends a message like this Play "WellDone!.aif" Put "Correct" into field "A" Get field "Results" of card "Module1Results" -- Gets Results so far and adds the next Answer to the bottom of the list. Put it into A Put "Yes to Clean Fridges - " into B Put "Well Done!" into C Put A & B & C &Return into field "Results" of card "Module1Results" Add 1 to field "Correct" of card "Module1Results" end mouseUp On the last Card Module1 Results with a field named "Results" I have a button that says "Print" revPrintField the long id of field "Results" At 23 cards in a single Main Stack and printing tested it works fine. However I proceeded to to do Module 2, 3 and 4 getting up to 118 Cards. Now printing wont work. Created on Mac 10.6.4 using Enterprise 4.5 - Exported for Windows. Questions of possible error scenarios I have are: - Is 118 Cards in a Rev Standalone (Main Stack) too much for Windows to cope with and is this why printing no longer works (28meg file)? - Should I have each other Module as a Sub Stack instead? - Could it be carriage returns/ or text formatting that are put into the field that the print command does not like? Kind regards, Brent. From bvg at mac.com Sun Aug 22 04:29:13 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 22 Aug 2010 10:29:13 +0200 Subject: [OT] Dead Video and no keyboard In-Reply-To: References: <4C6ED6E6.100@gmail.com> <15246064359.20100820123939@ahsoftware.net> <4C6F84DA.2090103@gmail.com> <1282378890111-2333324.post@n4.nabble.com> <4C6FBA95.604@gmail.com> Message-ID: Most likely the graphics card did not get recognised. On a BIOS based PC, the order is some kind like this: Power switch is pressed by user Send power to BIOS Send power to CPU Send power to RAM Send power to Graphics card *Beep* Enable minor subsystems like Hard disk, USB (keyboard!), serial, network, etc. Start OS Newer BIOS versions beep differently, depending on the error being based on power source, RAM or graphics card. But old ones just won't beep at all unless all the 6 included components (4 above + power suply + mainboard) all work flawlessly. So possibly the MAC BIOS-thingy (don't remember name) has the same no-beep behaviour. I suggest checking: is the card actually the one you ordered? is the card you ordered really compatible with your mac? is the card plugged in properly (try different slots)? is the card getting power (dunnow how to check that)? does the card work in another mac? if you're unlucky, it's not the card that's broken, but some other part, like the Mainboard or CPU. On 21 Aug 2010, at 16:25, Mike Bonner wrote: > Just thought of one more thing, could be your power supply suddenly > decided to get lazy and provide too little power. Enough to get you > to the bong, but not enough to spin up the drives and initialize the > rest of the hardware. > > I've seen machines where you turn them on, and the initial required > surge was too much for a marginal power supply to handle, but if you > waited long enough for the drives to reach speed then hit reset rather > than power, boom it would boot. This is a "Bad Idea" (c) 2010 as > continuing to run with marginal power will cause hardware problems in > the long (or maybe short) run, but just thought I'd toss it out there. > > On Sat, Aug 21, 2010 at 7:49 AM, Mike Bonner wrote: >> Wow, just read my own message. Glad I was writing in my native >> tongue, no clue how much more unreadable it would have been if I'd >> tried to alternate-language things. >> >> On Sat, Aug 21, 2010 at 7:46 AM, Mike Bonner wrote: >>> Of course do all of this while being careful of static. >>> >>> Out of curiosity, with the previous dead card in place, did you get >>> bong, no video, but a lit up keyboard? assuming you have keyboard >>> lights that flash when its found. Does the keyboard light up with the >>> new card at all during the detection phase? Are you sure its not >>> actually booting headless? If you have another machine, and the >>> ill-mannered one is setup for remote admin, can you confirm that its >>> not actually up? >>> >>> As I mentioned before I don't know much about older macs specificall, but.. >>> >>> Can the mac g4 run with a single memory chip installed? If so, you >>> might try playing a game of musical memory. Try 1 chip at a time and >>> see if you get video with a single. (don't know if it requires dual >>> memory banks to be filled or not) >>> >>> Also, might want to remove any other pci cards that are in the machine >>> leaving only video, as well as do the same test again with the old >>> video card. >>> >>> Finally, if your keyboard has lights that cycle during detection, can >>> you pull all video cards out of the machine and see if things cycle up >>> sans video card? >>> >>> Are you sure the card you replaced with is compatible with the version >>> of g4 you have? >>> >>> A silly thing to check, if your motherboard has additional socketed >>> types of chips, you might nudge them also just to make sure they're >>> still seated well enough, and strangely enough if they've managed to >>> get oxidization on any contacts a nudge can help break things loose >>> and get things reconnected. (LIke the old atari st, after years of >>> service then tended to turn into paperweights. The solution was to >>> take off the plastic housing and twist the inside clamshell case >>> gently between your hands, causing the connection between the 2 halves >>> to clear and clean themselves due to friction) >>> >>> I was just reading a little, is your monitor hooked powered through an >>> ADC connector? If so, might check the little cable for that is >>> connected. (again, running a little blind when it comes to the older >>> macs) >>> >>> A computer engineer at this point would indeed be handy. >>> >>> Wish I could sell you my mac pro, but due to various things beyond my >>> control alas its not really feasible. >>> >>> On Sat, Aug 21, 2010 at 5:37 AM, Richmond wrote: >>>> On 08/21/2010 11:21 AM, Peter Alcibiades wrote: >>>>> >>>>> Richmond Mathewson-2 wrote: >>>>> >>>>> Is this the point where I try to find a computer engineer????? >>>>> >>>>> No, this is the point at which you make a Hackintosh! >>>>> >>>>> Peter >>>>> >>>> >>>> Actually I am at the stage where my sense of humour has worn very very thin >>>> indeed; I have to get tge bl**dy machine functioning again; and having had a >>>> day >>>> of "fun" at the Bulgarian customs being charged an extra $40 dollars to get >>>> my >>>> 'import' from the USA just to get my expensive video card I am very close to >>>> tears. >>>> _______________________________________________ >>>> 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 bvg at mac.com Sun Aug 22 04:36:22 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 22 Aug 2010 10:36:22 +0200 Subject: Mark V. Shaney algorithm In-Reply-To: <22296F57-8696-4113-B373-63160DBF0BF2@twft.com> References: <1282254833937-2331932.post@n4.nabble.com> <22296F57-8696-4113-B373-63160DBF0BF2@twft.com> Message-ID: <98C49E11-18AD-47FE-9EDC-9C2F1B4DDB5D@mac.com> You guys are doing it wrong. This is not about creating meaningful sentences out of books. instead it creates human seeming sentences on technical forums. For example I gave it the reply to richmond from me (my last post which is rather long with all the re: re: ...). Out of that it created seemingly helpful text bytes, that could come from a bad english speaker trying to help resolve the graphic card problem (and some weird ones of course). Most of those sentences could be taken as a genuine human trying to help, especially if they're spread out over several mails, and buffered with other stuff. ? If so, might check the little cable for that is connected. ? No, this is the card you replaced with is compatible with the version of g4 you have? ? If so, might check the little cable for that is connected. ? Peter Actually I am very close to tears. ? On Sat, Aug 21, 2010 at 7:49 AM, Mike Bonner wrote: Wow, just read my own message. ? This is a "Bad Idea" (c) 2010 as continuing to run with marginal power supply to handle, but if you waited long enough for the drives and initialize the rest of the hardware. ? if you're unlucky, it's not the card you ordered really compatible with your mac? ? Does the keyboard light up with the old atari st, after years of service then tended to turn into paperweights. ? I've seen machines where you turn them on, and the ill-mannered one is setup for remote admin, can you confirm that its not actually up? ? I suggest checking: is the card that's broken, but some other part, like the Mainboard or CPU. On 20 Aug 2010, at 18:14, Bob Sneidar wrote: > I gave it the first few verses in Genesis. It couldn't do any better. > > Bob > > > On Aug 19, 2010, at 2:53 PM, Alejandro Tejada wrote: > >> >> Hi all, >> >> Take a look at this webpage: >> >> http://www.yisongyue.com/shaney/ >> >> Have anyone created such code in revTalk? >> >>> From Wikipedia: >> "Mark V Shaney is a fake Usenet user whose postings were >> generated by using Markov chain techniques." >> "The name is a play on the words "Markov chain". Many readers >> were fooled into thinking that the quirky, sometimes uncannily >> topical posts were written by a real person." >> >> Thanks in advance! >> >> Al From palcibiades-first at yahoo.co.uk Sun Aug 22 04:38:42 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sun, 22 Aug 2010 01:38:42 -0700 (PDT) Subject: [OT] Dead Video and no keyboard In-Reply-To: <4C6FBA95.604@gmail.com> References: <4C6ED6E6.100@gmail.com> <15246064359.20100820123939@ahsoftware.net> <4C6F84DA.2090103@gmail.com> <1282378890111-2333324.post@n4.nabble.com> <4C6FBA95.604@gmail.com> Message-ID: <1282466322181-2334038.post@n4.nabble.com> Richmond, sincere apologies if the slightly flip tone was upsetting in difficult circumstances. We are struggling with our own expensive hardware issues right now, so I know the feeling. All the same, later and at leisure, the serious point is that it may no longer be worth struggling with old hardware given how much things have moved on since PPC days. You can Hackintosh relatively cheap and lowish end modern hardware, including Atom, and if you really want or need to run OSX, and can't afford the current line of Mac boxes, if it were me, I'd do it in a flash. We recently had to get a server, and this was an eye opener. We were going to recycle an old desktop. But instead, we bought for a couple hundred euros a new server, roughly the size of a thick paperback. 15 watts consumption, 500G disk, and it comes with Debian server already installed. And our old desktops are of a later generation than the PPCs. There is a point in computers where old hardware makes no sense, in terms of stress and reliability. Unlike with old motorbikes! A friend rides a fabulous old Velocette, as shiny and polished as the day it left the showroom, and as marvelous engineering as ever. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Dead-Video-and-no-keyboard-tp2332916p2334038.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sun Aug 22 06:31:03 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 22 Aug 2010 13:31:03 +0300 Subject: [OT] Dead Video and no keyboard In-Reply-To: <64321318812.20100821093354@ahsoftware.net> References: <4C6ED6E6.100@gmail.com> <15246064359.20100820123939@ahsoftware.net> <4C6F84DA.2090103@gmail.com> <1282378890111-2333324.post@n4.nabble.com> <4C6FBA95.604@gmail.com> <64321318812.20100821093354@ahsoftware.net> Message-ID: <4C70FC67.2090806@gmail.com> On 08/21/2010 07:33 PM, Mark Wieder wrote: > Richmond- > > Another off-the-wall thought: I've had problems with G4 machines > before where the no-video problem was actually caused by a failing > battery on the motherboard (the little one in a cradle socket). So you > might see if you can find a replacement for that or at least be able > to test the existing one. > > Interesting; today being Sunday; tomorrow being the start of my Language school year everything re my G4 has ground to a halt. However I have a G3 iMac that has had a dead PRAM battery for 5 years and is still running without a hitch. From zryip.theslug at gmail.com Sun Aug 22 09:58:23 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sun, 22 Aug 2010 15:58:23 +0200 Subject: Datagrid Basics In-Reply-To: References: Message-ID: On Sat, Aug 21, 2010 at 7:53 PM, stephen barncard wrote: > When will this tool be available? Well done, mr Slug. > > sqb Stephen, I'm working to have a first open beta in september. Thanks. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From zryip.theslug at gmail.com Sun Aug 22 10:01:44 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sun, 22 Aug 2010 16:01:44 +0200 Subject: [datagrid] how to search and show the result? In-Reply-To: <1282441511105-2333929.post@n4.nabble.com> References: <6B58C372-0C8C-44A9-8BBA-3CB42B3C3D2A@mangomultimedia.com> <1282441511105-2333929.post@n4.nabble.com> Message-ID: On Sun, Aug 22, 2010 at 3:45 AM, Robert Mann wrote: > > > Trevor DeVore wrote: >> >> dispatch "FindLine" to group "DataGrid" with "MyColumn", "String To >> Find" >> put the result into theLine >> > > Coming back to it... ok this gives me the line, then I can scroll that line > in view. > > but when there are several occurences of the searchedString, the result > outputs only the first line. > > Is there a way to get all lines??? Thanks > > [trying to implement a dgFind function that works like the runrev find > (showing with a rectangle the foundChunk and bouncing to next occurence... ) > if anybody has it already.. share it on revOnline please!] Hi Robert, The FindLine command only returns the number of the first line found as result. To return all the lines found, you have to develop your own find command. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From zryip.theslug at gmail.com Sun Aug 22 11:58:40 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sun, 22 Aug 2010 17:58:40 +0200 Subject: [datagrid] how to search and show the result? In-Reply-To: <1282441511105-2333929.post@n4.nabble.com> References: <6B58C372-0C8C-44A9-8BBA-3CB42B3C3D2A@mangomultimedia.com> <1282441511105-2333929.post@n4.nabble.com> Message-ID: On Sun, Aug 22, 2010 at 3:45 AM, Robert Mann wrote: > > > Trevor DeVore wrote: >> >> dispatch "FindLine" to group "DataGrid" with "MyColumn", "String To >> Find" >> put the result into theLine >> > > Coming back to it... ok this gives me the line, then I can scroll that line > in view. > > but when there are several occurences of the searchedString, the result > outputs only the first line. > > Is there a way to get all lines??? Thanks > > [trying to implement a dgFind function that works like the runrev find > (showing with a rectangle the foundChunk and bouncing to next occurence... ) > if anybody has it already.. share it on revOnline please!] Robert, Have a look to this demo stack: http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&download=10:data-grid-helper-lib-demo&id=8:data-grid&Itemid=63 Select the "Search" topic, choose the dgh_FindLine menu and click to the "Show me a demo" link. Let me know if it is something like this you need. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From pete at mollysrevenge.com Sun Aug 22 13:19:37 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Sun, 22 Aug 2010 10:19:37 -0700 Subject: Datagrid Column Names Message-ID: <626A9F02-71CF-492A-A68E-6F9C8904C9E1@mollysrevenge.com> It appears that datagrid column names cannot be numeric? I have a datagrid that has alpha column names followed by some numeric ones. No matter what method I use for filling in the data, the columns with alpha names display correctly but the columns with numeric names are empty. If I change the column names to be alpha and put the numeric value in the column label field, all works fine. Pete Haworth From pete at mollysrevenge.com Sun Aug 22 13:33:09 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Sun, 22 Aug 2010 10:33:09 -0700 Subject: Mouse Gestures Message-ID: Thanks. I'll check out the library. I've entered enhancement request 8920 at the QCC related to this. I also entered enhancement request 8921 to cover the ability to add/ remove objects from groups with drag and drop in the Application Browser which I suggested a few days ago to the list. I like some of the tools that were suggested to do this but still think it should be incorporated into the IDE. Pete Haworth From rman at free.fr Sun Aug 22 15:49:25 2010 From: rman at free.fr (Robert Mann) Date: Sun, 22 Aug 2010 12:49:25 -0700 (PDT) Subject: [datagrid] how to search and show the result? In-Reply-To: References: <6B58C372-0C8C-44A9-8BBA-3CB42B3C3D2A@mangomultimedia.com> <1282441511105-2333929.post@n4.nabble.com> Message-ID: <1282506565616-2334365.post@n4.nabble.com> yes it is... dgh_FindLine is what I need to actually use Datagrids in real. Still this will not make up completely for the standard find function : getting the line is fine, but drawing a rectangular round the serached string is better, and the standard a user will expect for a search function. What has datagrid done to the world to be born without a find function?? It must be very strange for newcomers to find out that the find command works on all fields except datagrids... Please, let me know when you'r lib is out, I think I will pass... doing it myself.. a day saved re-inventing the wheel... and I file a bug and call for enhancement/update of the find function !! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-datagrid-how-to-search-and-show-the-result-tp1311658p2334365.html Sent from the Revolution - User mailing list archive at Nabble.com. From rman at free.fr Sun Aug 22 16:08:35 2010 From: rman at free.fr (Robert Mann) Date: Sun, 22 Aug 2010 13:08:35 -0700 (PDT) Subject: [datagrid] how to search and show the result? In-Reply-To: <1282506565616-2334365.post@n4.nabble.com> References: <6B58C372-0C8C-44A9-8BBA-3CB42B3C3D2A@mangomultimedia.com> <1282441511105-2333929.post@n4.nabble.com> <1282506565616-2334365.post@n4.nabble.com> Message-ID: <1282507715078-2334377.post@n4.nabble.com> http://quality.runrev.com/qacenter/show_bug.cgi?id=8922 added, please vote! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-datagrid-how-to-search-and-show-the-result-tp1311658p2334377.html Sent from the Revolution - User mailing list archive at Nabble.com. From zryip.theslug at gmail.com Sun Aug 22 16:42:11 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sun, 22 Aug 2010 22:42:11 +0200 Subject: [datagrid] how to search and show the result? In-Reply-To: <1282506565616-2334365.post@n4.nabble.com> References: <6B58C372-0C8C-44A9-8BBA-3CB42B3C3D2A@mangomultimedia.com> <1282441511105-2333929.post@n4.nabble.com> <1282506565616-2334365.post@n4.nabble.com> Message-ID: On Sun, Aug 22, 2010 at 9:49 PM, Robert Mann wrote: > > yes it is... dgh_FindLine is what I need to actually use Datagrids in real. > > Still this will not make up completely for the standard find function : > getting the line is fine, but drawing a rectangular round the serached > string is better, and the standard a user will expect for a search function. Hum Robert, I have just tried the find command with a datagrid and the corresponding strings are correctly "boxes" as expected each time I click on my button. For that I've added a button with a trivial script: find tTheString So I'm not sure to understand what you need. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From katir at hindu.org Sun Aug 22 16:57:49 2010 From: katir at hindu.org (Web Admin Himalayan Academy) Date: Sun, 22 Aug 2010 10:57:49 -1000 Subject: Code signing certificate In-Reply-To: References: <5BA5371B-EE7A-461F-9201-1030BFB71950@mac.com> Message-ID: <4C718F4D.5080309@hindu.org> On 8/16/10 3:43 PM, Neal Campbell wrote: > Hi Bill > > I got mine thru Godaddy.com for a decent price. hmmm we need this too... $199.00 for one year... "decent price" ? not for a non-profit deploying free apps...sheesh... costs way more than an SSL cert for a domain... Sivakatirswami > Neal Campbell > Abroham Neal Software > www.abrohamnealsoftware.com > (540) 645 5394 NEW PHONE NUMBER > > Amateur Radio: K3NC > Blog:http://www.abrohamnealsoftware.com/blog/ > DXBase bug reports: email tocases at dxbase.fogbugz.com > Abroham Neal forums:http:/www.abrohamnealsoftware.com/community/ From katir at hindu.org Sun Aug 22 17:13:49 2010 From: katir at hindu.org (Web Admin Himalayan Academy) Date: Sun, 22 Aug 2010 11:13:49 -1000 Subject: Code signing certificate In-Reply-To: References: <5BA5371B-EE7A-461F-9201-1030BFB71950@mac.com> Message-ID: <4C71930D.7040900@hindu.org> On 8/16/10 3:43 PM, Neal Campbell wrote: > Hi Bill > > I got mine thru Godaddy.com for a decent price. > Neal Campbell > Abroham Neal Software > www.abrohamnealsoftware.com > (540) 645 5394 NEW PHONE NUMBER > > Amateur Radio: K3NC > Blog:http://www.abrohamnealsoftware.com/blog/ > DXBase bug reports: email tocases at dxbase.fogbugz.com > Abroham Neal forums:http:/www.abrohamnealsoftware.com/community/ http://www.discountcodesigning.com/ $99.00 each... that a little more reasonable.... From rman at free.fr Sun Aug 22 17:16:15 2010 From: rman at free.fr (Robert Mann) Date: Sun, 22 Aug 2010 14:16:15 -0700 (PDT) Subject: [datagrid] how to search and show the result? In-Reply-To: References: <6B58C372-0C8C-44A9-8BBA-3CB42B3C3D2A@mangomultimedia.com> <1282441511105-2333929.post@n4.nabble.com> <1282506565616-2334365.post@n4.nabble.com> Message-ID: <1282511775241-2334409.post@n4.nabble.com> http://runtime-revolution.278305.n4.nabble.com/file/n2334409/testing_datagrid_search.rev testing_datagrid_search.rev An example is worth a thousand words... In all fields, the found chunk when not actualy visible, is brought into focus by the find comand, except for datagrid, although it works with datagrids for occurences which are visible. This is understandable given how dataGrid works only building fields for the visible part of the table. So as it stands, if there is a datagrid on a stack and if one wants to implement a search that searches everywhere, the standard find command must be doubled by a dataGrid related dgFind which is not trivial to do since the existing findline command reports only the first occurence. With your findline command that reports multiple occurences, it remains to implement the actual find in datagrid which will show the found chunk ; and finally combine both standard find and dgFInd into a single findAll command! So I filed a request for an update of the find command, that really should work on all GUI elements for simplicity and coherence. In practice I beleive we'll have to sort out some sort of workaround once more, blessing your coming dg helper library! Robert -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-datagrid-how-to-search-and-show-the-result-tp1311658p2334409.html Sent from the Revolution - User mailing list archive at Nabble.com. From katir at hindu.org Sun Aug 22 17:25:45 2010 From: katir at hindu.org (Web Admin Himalayan Academy) Date: Sun, 22 Aug 2010 11:25:45 -1000 Subject: Code signing certificate In-Reply-To: <770B173E-C4BC-45D7-B635-67C797E90EEA@mangomultimedia.com> References: <5BA5371B-EE7A-461F-9201-1030BFB71950@mac.com> <770B173E-C4BC-45D7-B635-67C797E90EEA@mangomultimedia.com> Message-ID: <4C7195D9.8010406@hindu.org> On 8/17/10 3:47 AM, Trevor DeVore wrote: > I used Tucows which in turn uses Comodo - $75/yr. You need to sign up > for an account at Tucows and then you can purchase the code signing > certificate. I believe the starting point is here: > > https://author.tucows.com/ Opps I did not see this.. that's very reasonable Thanks Trevor Sivakatirswami From niconiko at gmail.com Sun Aug 22 23:31:55 2010 From: niconiko at gmail.com (Nicolas Cueto) Date: Mon, 23 Aug 2010 12:31:55 +0900 Subject: [RevMobile] Rev workarounds for iPhone-specific interface differences Message-ID: Hello List, I am hoping this starts a thread on solutions to Rev/iPhone interface differences. The first difference I've found -- and for which I'm hoping someone has a solution -- is the option button. Instead of a drop-down menu, on iPhone there appears a button inset with a tiny squarish symbol. When clicked, the screen disappears, the option-button's list of choices appears as a vertical array of borderless buttons, which, when clicked, perform the script but do not return you to the original screen. In contrast, looking at iPhone's "Settings" panel, for example, all choices are visible but they continue off-screen below and are reached by "flicking" down. Choices are in groups, but each choice is singly framed, and each frame shows an icon, a label and a ">". When clicked, the choice's frame-background goes blue, the entire "Settings" screen moves to the left, and a new window (card?) appears. To get back to the "Settings" window, there is a button at the top of that new window. Now, how would I do all that in Rev ^o^! Or, will future versions of RevMobile handle this and other such differences? Cheers. -- Nicolas Cueto From sims at ezpzapps.com Mon Aug 23 00:50:35 2010 From: sims at ezpzapps.com (jim sims) Date: Mon, 23 Aug 2010 06:50:35 +0200 Subject: Asus Eee PC and Rev app Message-ID: <04B1C172-8E16-4491-A467-0AAA479BD651@ezpzapps.com> I have a commercial app that wouldn't work on the following machine. So, I made a simple "Hello World" test app with Rev 3.5, simple one button, one file app that saves no data for testing where the issue might be. it runs fine on my XP and also my Win 7 Ultimate - no problem. Doesn't work at all on the following machine. Anyone have any thoughts on how to fix this? Is there anyone that has a similar machine and wouldn't mind testing a more sophisticated Rev app? Asus Eee PC Intel atom ION CPU 330 1.60GHz 2Gb RAM running windows 7 home premium sims From Andre.Bisseret at inria.fr Mon Aug 23 03:04:27 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Mon, 23 Aug 2010 09:04:27 +0200 Subject: Datagrid Column Names In-Reply-To: <626A9F02-71CF-492A-A68E-6F9C8904C9E1@mollysrevenge.com> References: <626A9F02-71CF-492A-A68E-6F9C8904C9E1@mollysrevenge.com> Message-ID: Bonjour, Le 22 ao?t 10 ? 19:19, Peter Haworth a ?crit : > It appears that datagrid column names cannot be numeric? Right! datagrid does not like numeric column names But it is possible to have columns with alpha column names and numeric column labels. For example "Ten, Eleven, Twelve" as names and 2010, 2011, 2012 as labels Best regards from Grenoble Andr? > I have a datagrid that has alpha column names followed by some > numeric ones. No matter what method I use for filling in the data, > the columns with alpha names display correctly but the columns with > numeric names are empty. If I change the column names to be alpha > and put the numeric value in the column label field, all works fine. > > Pete Haworth > > > > > > > > > > _______________________________________________ > 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 Mon Aug 23 03:18:53 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Mon, 23 Aug 2010 00:18:53 -0700 Subject: Datagrid Column Names In-Reply-To: References: <626A9F02-71CF-492A-A68E-6F9C8904C9E1@mollysrevenge.com> Message-ID: <01D25AA5-DD8D-4DE8-A05C-65C86570E5B3@yahoo.com> Actually, it may be that using any reserved word as a column name would be tricky. You would need to be sure to a quoted string in all the right places, but even that might trip the script library routines that make data grids function. Just like variables in scripts. Column labels can be any ASCII string. Hmmm, but can labels be unicode? On Aug 23, 2010, at 12:04 AM, Andre.Bisseret wrote: > Bonjour, > > Le 22 ao?t 10 ? 19:19, Peter Haworth a ?crit : > >> It appears that datagrid column names cannot be numeric? > Right! datagrid does not like numeric column names > But it is possible to have columns with alpha column names and > numeric column labels. > > For example "Ten, Eleven, Twelve" as names > and 2010, 2011, 2012 as labels > > Andr? > >> I have a datagrid that has alpha column names followed by some >> numeric ones. No matter what method I use for filling in the data, >> the columns with alpha names display correctly but the columns with >> numeric names are empty. If I change the column names to be alpha >> and put the numeric value in the column label field, all works fine. >> >> Pete Haworth > Jim Ault Las Vegas From lists at mangomultimedia.com Mon Aug 23 09:53:24 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 23 Aug 2010 09:53:24 -0400 Subject: Datagrid Column Names In-Reply-To: <626A9F02-71CF-492A-A68E-6F9C8904C9E1@mollysrevenge.com> References: <626A9F02-71CF-492A-A68E-6F9C8904C9E1@mollysrevenge.com> Message-ID: <4EC797ED-AEE6-481B-8EDF-50047415B80F@mangomultimedia.com> On Aug 22, 2010, at 1:19 PM, Peter Haworth wrote: > It appears that datagrid column names cannot be numeric? I have a > datagrid that has alpha column names followed by some numeric ones. > No matter what method I use for filling in the data, the columns > with alpha names display correctly but the columns with numeric > names are empty. If I change the column names to be alpha and put > the numeric value in the column label field, all works fine. Numeric column names trip up the engine when referring to the internal data grid controls. Rather than targeting a control named "1" the engine targets control # 1. If I were to go back and rewrite the internal column naming scheme I would probably add a prefix to the internal column controls (e.g. "dgcol1" for a column the developer named "1"). I think this would get around the issue. For now stay away from numeric column names. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From ambassador at fourthworld.com Mon Aug 23 10:12:40 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 23 Aug 2010 07:12:40 -0700 Subject: Asus Eee PC and Rev app Message-ID: <4C7281D8.2050808@fourthworld.com> jim sims wrote: > I have a commercial app that wouldn't work on the following machine. > So, I made a simple "Hello World" test app with Rev 3.5, simple one > button, one file app that saves no data for testing where the issue > might be. > > it runs fine on my XP and also my Win 7 Ultimate - no problem. > > Doesn't work at all on the following machine. > > Anyone have any thoughts on how to fix this? > > Is there anyone that has a similar machine and wouldn't mind testing > a more sophisticated Rev app? > > Asus Eee PC > Intel atom ION CPU 330 1.60GHz > 2Gb RAM > running windows 7 home premium I have an Atom-powered EeePC myself, but it's a much earlier model (901) and is running Ubuntu Netbook Remix. So while my experience with Asus netbooks has so far been excellent, I don't have experience running Windows on it to provide any feedback on that software side of things. Have you tried temporarily writing to specialFolderPath("desktop") to see if it saves there? As a known user-writable folder I would expect that should work, in which case it may just be the permissions of the directory you're currently using to write to. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From sims at ezpzapps.com Mon Aug 23 10:20:20 2010 From: sims at ezpzapps.com (Jim Sims) Date: Mon, 23 Aug 2010 16:20:20 +0200 Subject: Asus Eee PC and Rev app [OFF-LIST] In-Reply-To: References: Message-ID: <620467CD-5C40-4AC0-B195-4625FD9F9556@ezpzapps.com> On Aug 23, 2010, at 3:38 PM, Roger.E.Eller at sealedair.com wrote: > I can test on my Eee PC 1000H running Win7 tonight. It is at home right > now, but I will give it a try if you like. Thanks Roger, I replied off-list to you with details. TIA sims From sims at ezpzapps.com Mon Aug 23 10:29:59 2010 From: sims at ezpzapps.com (Jim Sims) Date: Mon, 23 Aug 2010 16:29:59 +0200 Subject: Asus Eee PC and Rev app In-Reply-To: <4C7281D8.2050808@fourthworld.com> References: <4C7281D8.2050808@fourthworld.com> Message-ID: On Aug 23, 2010, at 4:12 PM, Richard Gaskin wrote: > I have an Atom-powered EeePC myself, but it's a much earlier model (901) and is running Ubuntu Netbook Remix. So while my experience with Asus netbooks has so far been excellent, I don't have experience running Windows on it to provide any feedback on that software side of things. > > Have you tried temporarily writing to specialFolderPath("desktop") to see if it saves there? As a known user-writable folder I would expect that should work, in which case it may just be the permissions of the directory you're currently using to write t Thanks for the reply Richard. Yes, tried running from the desktop. I use the Ken Ray chart for folder naming by means of special numbers and that works well on my Win 7. My Win 7 is the Ultimate version and he has the Home version, I hope that is not an issue. I have tried setting permissions. I also set the permissions of the installer prior to running the installer. Tried a simple "Hello World" one button app to rule out any issues that might be from my code. That does not run either. I am hoping that if the netbook runs Windows then it should run a simple rev app. sims From ambassador at fourthworld.com Mon Aug 23 10:56:58 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 23 Aug 2010 07:56:58 -0700 Subject: Asus Eee PC and Rev app Message-ID: <4C728C3A.3010209@fourthworld.com> Jim Sims wrote: > Yes, tried running from the desktop. Where the app is located shouldn't make a difference with regard to where you're writing the data file. That is, assuming you're not trying to save the compiled app itself, which won't work on any platform because OSes don't allow it. So with the assumption that it's not the executable you're writing, what did "the result" report when you tried writing to the desktop folder? FWIW, other than the expected performance difference between the Atom processor in my EeePC and the faster processors used on my desktop machine, I've seen no operational differences using the same software on the EeePC over any other machine running the same OS. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From sims at ezpzapps.com Mon Aug 23 11:04:40 2010 From: sims at ezpzapps.com (Jim Sims) Date: Mon, 23 Aug 2010 17:04:40 +0200 Subject: Asus Eee PC and Rev app In-Reply-To: <4C728C3A.3010209@fourthworld.com> References: <4C728C3A.3010209@fourthworld.com> Message-ID: <7AAA789A-7A6B-4AD7-8A92-834D9A2EBA14@ezpzapps.com> On Aug 23, 2010, at 4:56 PM, Richard Gaskin wrote: > Where the app is located shouldn't make a difference with regard to where you're writing the data file. > > That is, assuming you're not trying to save the compiled app itself, which won't work on any platform because OSes don't allow it. Right, one of the reasons I tried the one button "Hello World". About as simple as it gets. Doesn't run at all - no response when double-clicked. Doesn't open the app. Nothing happens. sims From andre at andregarzia.com Mon Aug 23 11:11:37 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 23 Aug 2010 12:11:37 -0300 Subject: Asus Eee PC and Rev app In-Reply-To: <7AAA789A-7A6B-4AD7-8A92-834D9A2EBA14@ezpzapps.com> References: <4C728C3A.3010209@fourthworld.com> <7AAA789A-7A6B-4AD7-8A92-834D9A2EBA14@ezpzapps.com> Message-ID: Sims, is the app quarentined by the anti virus software? Did you check that? Quarentined apps will not be allowed to run. Andre On Mon, Aug 23, 2010 at 12:04 PM, Jim Sims wrote: > > On Aug 23, 2010, at 4:56 PM, Richard Gaskin wrote: > > Where the app is located shouldn't make a difference with regard to where > you're writing the data file. > > > > That is, assuming you're not trying to save the compiled app itself, > which won't work on any platform because OSes don't allow it. > > Right, one of the reasons I tried the one button "Hello World". About as > simple as it gets. Doesn't run at all - no response when double-clicked. > > Doesn't open the app. Nothing happens. > > sims > > > > > > _______________________________________________ > 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 Mon Aug 23 11:13:56 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 23 Aug 2010 08:13:56 -0700 Subject: Asus Eee PC and Rev app Message-ID: <4C729034.1020705@fourthworld.com> Jim Sims wrote: > On Aug 23, 2010, at 4:56 PM, Richard Gaskin wrote: >> Where the app is located shouldn't make a difference with regard to where you're writing the data file. >> >> That is, assuming you're not trying to save the compiled app itself, which won't work on any platform because OSes don't allow it. > > Right, one of the reasons I tried the one button "Hello World". About as simple as it gets. Doesn't run at all - no response when double-clicked. > > Doesn't open the app. Nothing happens. How are you getting the app onto that machine? Is the file size the same as the original on another machine? -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From sims at ezpzapps.com Mon Aug 23 11:35:40 2010 From: sims at ezpzapps.com (Jim Sims) Date: Mon, 23 Aug 2010 17:35:40 +0200 Subject: Asus Eee PC and Rev app In-Reply-To: <4C729034.1020705@fourthworld.com> References: <4C729034.1020705@fourthworld.com> Message-ID: <28AC5830-C388-4D40-9D27-5877B3098885@ezpzapps.com> On Aug 23, 2010, at 5:13 PM, Richard Gaskin wrote: > > How are you getting the app onto that machine? Initially the complex app was downloaded via browser from our server. Then, after uninstalling it, tried from a small USB flash drive. Then tried the "Hello World" simple test app from a flash drive. > Is the file size the same as the original on another machine? Yup, checked that also ;-) I'm going to followup with Andre's Quarantine suggestion, am sending the user an email right now. I was thinking the issue was a permissions one, maybe it the anti-virus stuff saving the user from using it. sims From zryip.theslug at gmail.com Mon Aug 23 14:26:51 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Mon, 23 Aug 2010 20:26:51 +0200 Subject: [datagrid] how to search and show the result? In-Reply-To: <1282511775241-2334409.post@n4.nabble.com> References: <6B58C372-0C8C-44A9-8BBA-3CB42B3C3D2A@mangomultimedia.com> <1282441511105-2333929.post@n4.nabble.com> <1282506565616-2334365.post@n4.nabble.com> <1282511775241-2334409.post@n4.nabble.com> Message-ID: On Sun, Aug 22, 2010 at 11:16 PM, Robert Mann wrote: > > http://runtime-revolution.278305.n4.nabble.com/file/n2334409/testing_datagrid_search.rev > testing_datagrid_search.rev > > An example is worth a thousand words... Okay, now I see. > In all fields, the found chunk when not actualy visible, is brought into > focus by the find comand, except for datagrid, although it works with > datagrids for occurences which are visible. > > This is understandable given how dataGrid works only building fields for the > visible part of the table. It's a problem relatives to groups, not only to the datagrid object. Try to create three fields and group them. Set a vertical scrollbar to the group and change the rect of your group to have two lines visible and the last one only visible if you scroll. Type some text in each fields, then try to execute the find command. As a datagrid is in fact a group of controls and fields, the problem is the same than with a simple group of a few fields. > So as it stands, if there is a datagrid on a stack and if one wants to > implement a search that searches everywhere, the standard find command must > be doubled by a dataGrid related dgFind which is not trivial to do since the > existing findline command reports only the first occurence. Personally I never considered a datagrid as simple text container. For me a datagrid is a container for rows or for records and when I search in a datagrid, I'm waiting to have an entire record as result. I can't speak for Trevor, but I think he has built the datagrid object like that. > With your findline command that reports multiple occurences, it remains to > implement the actual find in datagrid which will show the found chunk ; and > finally combine both standard find and dgFInd into a single findAll command! It possible to jump to a line with two available commands in the datagrid engine (one for lines, the other for indexes) For now I'm not see how to scroll and "box" a string in a visible line from the outside of a datagrid. It probably possible in a custom behavior. As far I have time and most of all an idea, I will give this a try. > So I filed a request for an update of the find command, that really should > work on all GUI elements for simplicity and coherence. In practice I beleive > we'll have to sort out some sort of workaround once more, blessing your > coming dg helper library! I planned to come with the DGH library after the release of the DGH plugin. In which form, I don't know. In my mind I not integrated it as a plugin feature. I just uploaded the possible help stack of this not ready library, because I thought it was near of your need. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From rman at free.fr Mon Aug 23 18:17:52 2010 From: rman at free.fr (Robert Mann) Date: Mon, 23 Aug 2010 15:17:52 -0700 (PDT) Subject: [datagrid] how to search and show the result? In-Reply-To: References: <6B58C372-0C8C-44A9-8BBA-3CB42B3C3D2A@mangomultimedia.com> <1282441511105-2333929.post@n4.nabble.com> <1282506565616-2334365.post@n4.nabble.com> <1282511775241-2334409.post@n4.nabble.com> Message-ID: <1282601872974-2335902.post@n4.nabble.com> zryip theSlug wrote: > > Personally I never considered a datagrid as simple text container. > For me a datagrid is a container for rows or for records and when I > search in a datagrid, I'm waiting to have an entire record as result. > I used the datagrids in the "list form" e.i with the "row" behavior, to implement a scrolling text similar to an outliner, each line being treated as a paragraph, in order to be able to reorganize the text and to be able to associate medias and various actions to each paragraph lines. I thought that was an appealling use of datagrids allowing more fancy things as far as the appearance is concerned. Thanks for pointing out the field within group problem with the find command. Its' not so bad!! Explaination : I initially started without datagrids and used a group of fields that would scroll. I just tested the find function within groups. Things are not so bad : the found chunk is actually found in a field within a group, even if that field is not visible. By hand, scrolling the group, you can get to the found chunk in view. A handler can easily do that since we have the foundChunk information. So after having invested quite some time on datagrids.. hum I have to consider to roll back to my own, less complete but with a find command that can work, which for my use is something important!! This will teach me to plan for all functions BEFORE going ahead... frankly I did not anticipate that problem with the find... !!! hope this can help others. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-datagrid-how-to-search-and-show-the-result-tp1311658p2335902.html Sent from the Revolution - User mailing list archive at Nabble.com. From rman at free.fr Tue Aug 24 06:33:52 2010 From: rman at free.fr (Robert Mann) Date: Tue, 24 Aug 2010 03:33:52 -0700 (PDT) Subject: [datagrid] how to search and show the result? In-Reply-To: <1282511775241-2334409.post@n4.nabble.com> References: <6B58C372-0C8C-44A9-8BBA-3CB42B3C3D2A@mangomultimedia.com> <1282441511105-2333929.post@n4.nabble.com> <1282506565616-2334365.post@n4.nabble.com> <1282511775241-2334409.post@n4.nabble.com> Message-ID: <1282646032191-2336430.post@n4.nabble.com> Good news folks, there is a workaround ! Enabling the "cache controls" of the datagrid, forces all fields to be build in the datagrid group. Hence, the find command does finds its way to the foundCHunk. So we can eventually identify the foundChunk as being part of a datagrid and trigger a scroll of the datagrid..!! Now I just can't get to set the datagrid to focus on the actual foundchunk... -- the standard method implemented for fields in a group does not work in the case of datagrids. I cannot fond how to calculate the formattedTop of a datagrid group. The dgFormattedHeight does not seem to be quite the same; it stays fixed, where the formattedTop changes. Solution will be shared on revOnline, thanks for all. http://runtime-revolution.278305.n4.nabble.com/file/n2336430/testing_datagrid_search.rev testing_datagrid_search.rev -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-datagrid-how-to-search-and-show-the-result-tp1311658p2336430.html Sent from the Revolution - User mailing list archive at Nabble.com. From rman at free.fr Tue Aug 24 07:04:47 2010 From: rman at free.fr (Robert Mann) Date: Tue, 24 Aug 2010 04:04:47 -0700 (PDT) Subject: [datagrid] how to search and show the result? (half solved) In-Reply-To: <1282601872974-2335902.post@n4.nabble.com> References: <6B58C372-0C8C-44A9-8BBA-3CB42B3C3D2A@mangomultimedia.com> <1282441511105-2333929.post@n4.nabble.com> <1282506565616-2334365.post@n4.nabble.com> <1282511775241-2334409.post@n4.nabble.com> <1282601872974-2335902.post@n4.nabble.com> Message-ID: <1282647887267-2336459.post@n4.nabble.com> Good news folks, there is a workaround ! Enabling the "cache controls" of the datagrid, forces all fields to be build in the datagrid group. Hence, the find command does finds its way to the foundCHunk. So we can eventually identify the foundChunk as being part of a datagrid and trigger a scroll of the datagrid..!! Final solution will be shared on revOnline after testing by others and enhancement & suggestions... thanks for all! http://runtime-revolution.278305.n4.nabble.com/file/n2336459/testing_datagrid_search.rev testing_datagrid_search.rev -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-datagrid-how-to-search-and-show-the-result-tp1311658p2336459.html Sent from the Revolution - User mailing list archive at Nabble.com. From sales at dynamechdesign.com Fri Aug 20 20:35:28 2010 From: sales at dynamechdesign.com (sales at dynamechdesign.com) Date: Fri, 20 Aug 2010 20:35:28 -0400 Subject: windows, copy, past and right mouse button Message-ID: <22C36599E19A4FD294C22C7378E5A3D6@bruce64> Being a relative newbie, I've looked and searched through the files but am unable to figure out how to incorporate the right mouse button into my scripts. As I have been forced to use Windoze computers for quite a while, I have gotten used to using the right mouse button to do copy and pasting of text. I have written several stacks the latest of which I need to enter a UserName and Password. I have a program that stores my passwords and such and frequently use it to copy and paste from, but when I right click on the "Enter Username:" dialog box, nothing happens. I can however use the keyboard shortcut ctrl-v which works as long as I'm running Rev. If I build a standalone, even that doesn't work. I'm not sure if the problem exists because the answer command is a blocking command or not. Thanks in advance for your help. Sorry so wordy. Bruce From brentandgrace at VirginBroadband.com.au Sat Aug 21 22:46:27 2010 From: brentandgrace at VirginBroadband.com.au (Brent Summerton) Date: Sun, 22 Aug 2010 12:16:27 +0930 Subject: Printing/ Email error in Standalone Application Message-ID: <379E9FAC-9484-4D90-932A-A38AFB7AA550@VirginBroadband.com.au> Thank you for your suggestions last week. Started building my application again from scratch. At the end of Module 1 (of four) I tested the Print function and it worked! Scenario. Ten Cards provide theory Training. Ten Cards provide multiple choice Questions. Last card has a field named "Results" = 23 Cards. As a User clicks on an answer each button sends a message line by line to the last cards field named "Results" on mouseUp-- Each Question of ten sends a message like this Play "WellDone!.aif" Put "Correct" into field "A" Get field "Results" of card "Module1Results" -- Gets Results so far and adds the next Answer to the bottom of the list. Put it into A Put "Yes to Clean Fridges - " into B Put "Well Done!" into C Put A & B & C &Return into field "Results" of card "Module1Results" Add 1 to field "Correct" of card "Module1Results" end mouseUp On the last Card Module1 Results with a field named "Results" I have a button that says "Print" revPrintField the long id of field "Results" At 23 cards in a single Main Stack and printing tested it works fine. However I proceeded to to do Module 2, 3 and 4 getting up to 118 Cards. Now printing wont work. Created on Mac 10.6.4 using Enterprise 4.5 - Exported for Windows. Questions of possible error scenarios I have are: - Is 118 Cards in a Rev Standalone (Main Stack) too much for Windows to cope with and is this why printing no longer works (28meg file)? - Should I have each other Module as a Sub Stack instead? - Could it be carriage returns/ or text formatting that are put into the field that the print command does not like? Kind regards, Brent. From lists at mangomultimedia.com Tue Aug 24 09:43:02 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 24 Aug 2010 09:43:02 -0400 Subject: Datagrid Column Names In-Reply-To: <01D25AA5-DD8D-4DE8-A05C-65C86570E5B3@yahoo.com> References: <626A9F02-71CF-492A-A68E-6F9C8904C9E1@mollysrevenge.com> <01D25AA5-DD8D-4DE8-A05C-65C86570E5B3@yahoo.com> Message-ID: <7E972D20-7EBC-457F-A0CC-31C4E0AEB5CB@mangomultimedia.com> On Aug 23, 2010, at 3:18 AM, Jim Ault wrote: > Column labels can be any ASCII string. > Hmmm, but can labels be unicode? By default the text property is used when assigning a column label to the field used to display it. You can customize the behavior though so that the unicodeText is used (or htmlText for that matter). Just override the 'default header behavior' property. You can use the instructions for changing the default column behavior as a guide: http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7327-How-Do-I-Override-the-Default-Behavior-For-Rendering-Data-to-a-Cell- You can see the default script in the text editor by executing the following in the message box: edit the script of button "Default Header" of group "Behaviors" of stack "revDataGridLibrary" You would want to update the dgLabel setProp in order to handle unicode. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From lists at mangomultimedia.com Tue Aug 24 09:44:27 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 24 Aug 2010 09:44:27 -0400 Subject: [datagrid] how to search and show the result? In-Reply-To: References: <6B58C372-0C8C-44A9-8BBA-3CB42B3C3D2A@mangomultimedia.com> <1282441511105-2333929.post@n4.nabble.com> <1282506565616-2334365.post@n4.nabble.com> <1282511775241-2334409.post@n4.nabble.com> Message-ID: <6D03E288-FBA7-41CB-B743-C4730939DA6C@mangomultimedia.com> On Aug 23, 2010, at 2:26 PM, zryip theSlug wrote: > Personally I never considered a datagrid as simple text container. > For me a datagrid is a container for rows or for records and when I > search in a datagrid, I'm waiting to have an entire record as result. > > I can't speak for Trevor, but I think he has built the datagrid object > like that. That is correct zryip. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From jonathandlynch at gmail.com Tue Aug 24 10:37:46 2010 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Tue, 24 Aug 2010 10:37:46 -0400 Subject: windows, copy, past and right mouse button In-Reply-To: <22C36599E19A4FD294C22C7378E5A3D6@bruce64> References: <22C36599E19A4FD294C22C7378E5A3D6@bruce64> Message-ID: on mouseUp tButton if tButton = 3 then answer "The right mouse button is button number 3" end if end mouseUp does that help? On Fri, Aug 20, 2010 at 8:35 PM, wrote: > Being a relative newbie, I've looked and searched through the files but am > unable to figure out how to incorporate the right mouse button into my > scripts. As I have been forced to use Windoze computers for quite a while, I > have gotten used to using the right mouse button to do copy and pasting of > text. I have written several stacks the latest of which I need to enter a > UserName and Password. I have a program that stores my passwords and such > and frequently use it to copy and paste from, but when I right click on the > "Enter Username:" dialog box, nothing happens. I can however use the > keyboard shortcut ctrl-v which works as long as I'm running Rev. If I build > a standalone, even that doesn't work. I'm not sure if the problem exists > because the answer command is a blocking command or not. Thanks in advance > for your help. Sorry so wordy. > > Bruce > _______________________________________________ > 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 > -- Do all things with love From rman at free.fr Tue Aug 24 16:19:48 2010 From: rman at free.fr (Robert Mann) Date: Tue, 24 Aug 2010 13:19:48 -0700 (PDT) Subject: [datagrid] how to search and show the result? In-Reply-To: <6D03E288-FBA7-41CB-B743-C4730939DA6C@mangomultimedia.com> References: <6B58C372-0C8C-44A9-8BBA-3CB42B3C3D2A@mangomultimedia.com> <1282441511105-2333929.post@n4.nabble.com> <1282506565616-2334365.post@n4.nabble.com> <1282511775241-2334409.post@n4.nabble.com> <6D03E288-FBA7-41CB-B743-C4730939DA6C@mangomultimedia.com> Message-ID: <1282681188459-2337278.post@n4.nabble.com> Well, folks I think that an outline thingy is kind of both a text container AND a collection of rows with columns and various pieces of information attached to each paragraph.... But anyway.. problem half solved for the time being since the size of datagrids I use is rather small, it's ok to "cache controls". And thanks to Trevors API we can get our hands into it. On the ground of it, the issue I raised is one of coherence because when we start to have to implement as many "find commands" as we have GUI objects.. it will be less fun!! don't you think.. ?? and even so more for newbies attracted by the X10 productivity, as advertised! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-datagrid-how-to-search-and-show-the-result-tp1311658p2337278.html Sent from the Revolution - User mailing list archive at Nabble.com. From runrevron at gmail.com Tue Aug 24 21:25:51 2010 From: runrevron at gmail.com (ron barber) Date: Wed, 25 Aug 2010 10:25:51 +0900 Subject: Mac app to cprop Message-ID: Greetings, What is the procedure of getting a Rev standalone Mac app (bundle) into a custom property? I can get the component files within the bundle, I can copy files and folders but I can't seem to find the magic words for getting the bundle into a cprop. Thanks Ron From m.schonewille at economy-x-talk.com Tue Aug 24 21:35:39 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 25 Aug 2010 03:35:39 +0200 Subject: Mac app to cprop In-Reply-To: References: Message-ID: <8530A15E-9F80-4628-8DEF-C45413A71426@economy-x-talk.com> Ron, The easiest way is to zip the application bundle and store the zip file in a custom property. If you don't want that, you'll need to write a recursive script that finds all files in the bundle. You could store all files in an array variable and store the array in a custom property. You will need to store not only the file data, but also the relative location of each file inside the bundle. You might need to check for resource forks as well. I follow this procedure to allow the Installer Maker plug-in to store files and it works fine. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 25 aug 2010, at 03:25, ron barber wrote: > Greetings, > What is the procedure of getting a Rev standalone Mac app (bundle) > into a custom property? > > I can get the component files within the bundle, I can copy files and > folders but I can't seem to find the magic words for getting the > bundle into a cprop. > > Thanks > Ron From briany at qldlearning.com Tue Aug 24 21:54:26 2010 From: briany at qldlearning.com (Brian Yennie) Date: Tue, 24 Aug 2010 18:54:26 -0700 Subject: Mac app to cprop In-Reply-To: References: Message-ID: <6D6855CA-1C78-4FB3-A5B2-0DAFE83D1B88@qldlearning.com> One option would be to use shell() to tar + zip the file. Something like: get shell("tar -czf MyApplication.tgz MyApplication.app") put url ("binfile:MyApplication.tgz") into the tCustomProperty of this stack ... put the tCustomPropery of this stack into url ("binfile:MyApplication.tgz") get shell("tar -xzf MyApplication.tgz") > Greetings, > What is the procedure of getting a Rev standalone Mac app (bundle) > into a custom property? > > I can get the component files within the bundle, I can copy files and > folders but I can't seem to find the magic words for getting the > bundle into a cprop. > > Thanks > Ron > _______________________________________________ > 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 Tue Aug 24 22:57:34 2010 From: runrevron at gmail.com (ron barber) Date: Wed, 25 Aug 2010 11:57:34 +0900 Subject: Mac app to cprop Message-ID: Mark, Brian, Thanks for the quick and helpful replies. I searched my notes for these and could not find them so I appreciate the help. Ron On Aug 25, 2010, at 10:54 AM, Brian Yennie wrote: One option would be to use shell() to tar + zip the file. Something like: get shell("tar -czf MyApplication.tgz MyApplication.app") put url ("binfile:MyApplication.tgz") into the tCustomProperty of this stack ... put the tCustomPropery of this stack into url ("binfile:MyApplication.tgz") get shell("tar -xzf MyApplication.tgz") Greetings, What is the procedure of getting a Rev standalone Mac app (bundle) into a custom property? I can get the component files within the bundle, I can copy files and folders but I can't seem to find the magic words for getting the bundle into a cprop. Thanks Ron _______________________________________________ From tsj at unimelb.edu.au Tue Aug 24 23:44:48 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Wed, 25 Aug 2010 13:44:48 +1000 Subject: Datagrid: simple (non-3D) column header dividers? In-Reply-To: <6D6855CA-1C78-4FB3-A5B2-0DAFE83D1B88@qldlearning.com> Message-ID: I'd like to be able to have simple lines (i.e. no 3D effect) of a specified color between my datagrid column headers. Is this doable? Terry... -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From katir at hindu.org Wed Aug 25 01:40:53 2010 From: katir at hindu.org (Sivakatirswami) Date: Tue, 24 Aug 2010 19:40:53 -1000 Subject: The State of the Art of Auto Upgrading - How do You Do It? Message-ID: <4C74ACE5.9050602@hindu.org> I'm looking (again) into the various methods used by everyone to do auto upgrades where 1) You deliver the engine in a "player-splash" stack via the web. This engine itself may need to be upgraded from time to time. 2) the engine auto downloads the "mainstack.rev" that holds your application code. Now, every time I start thinking about this my head starts to spin because I see and have seen so many different options. GLX seems very complicated and though I expect there are lots of great reasons to use Trevor's work, I'm concerned about the level of complexity and the vulnerability that comes with it. I tend to always look for the simplest possible solution, but as David Allen said in today's GTD newsletter, sometimes choosing an overly simplified path, ends up landing you in a much more complicated mess in the end. I have Chipp Walters old method of using a my-cool-app-config.txt file on the web server with 8 lines 4 are dedicated to upgrading the engine; 4 are dedicated to upgrading the main stack. The engine reads this on boot and prompts the user for engine updates. the Mainstack reads this on boot and prompts for mainstack updates. It's simple enough ad seems solid, but weak if proxy support is needed. Chipp: are you still using and happy with this method? My own current system is a bit weak and simply takes the user back to a web page where they are prompted to download the latest whatever. I would much rather being doing some of this in place. It would be marvelous if someone were to host a page where all the various methods you are all using were posted. At any rate, at the risk of asking you all to detail your method, yet again, if anyone feels inspired to reply to this thread with a full description of "Here is How I Do It" I will certainly compile all the methods, do the necessary HTML mark up and host them on our site -- though it really should go on a more appropriate place in RunRev's site or Richard's site or Ken Rays Site or .... so many places... Fragmentation of RunRev resources is still a big challenge.... as I'm finding when trying to mentor some young people who don't even know programming, to get started...but that's another story. From williamdesmet at gmail.com Wed Aug 25 04:03:13 2010 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 25 Aug 2010 10:03:13 +0200 Subject: Create HTML file from rev app Message-ID: Hi there all, It's been a while since my last question but working hard on some apps. For my daily job I needed a quick app to create a HTML file. In the app I have some fields and in one of them I put a URL (just www.domainname.com). In some hidden fields I put the needed HTML and the all come together when I save the file. All works fine but when I look at the sourcecode in IE8 or Safari the HTML isn't completely correct. In a link it misses the quotes (") at the beginning or the end of the URL. What I do is this: put? "" & fld "link" &"" &? "<"&"br/"&">"? &? "<"&"br/"&">" after tData I also tried this but that doesn't works either: put "" & fld "titel" &"" after tData (the " isn't translated then into a quote) I start the HTML file with: Anyone knows why I don't get the qoute? And is there a way to get them? Greetings, William From m.schonewille at economy-x-talk.com Wed Aug 25 04:19:25 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 25 Aug 2010 10:19:25 +0200 Subject: Create HTML file from rev app In-Reply-To: References: Message-ID: <08939AC7-DE8E-4B2E-AB6C-E15691DDF6A3@economy-x-talk.com> Hi William, You got it almost right: "" & fld "link" &"

" after tData -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 25 aug 2010, at 10:03, William de Smet wrote: > Hi there all, > > It's been a while since my last question but working hard on some apps. > For my daily job I needed a quick app to create a HTML file. In the > app I have some fields and in one of them I put a URL (just > www.domainname.com). > In some hidden fields I put the needed HTML and the all come together > when I save the file. > All works fine but when I look at the sourcecode in IE8 or Safari the > HTML isn't completely correct. > In a link it misses the quotes (") at the beginning or the end of the URL. > > What I do is this: > put "" > & fld "link" &"" & "<"&"br/"&">" & "<"&"br/"&">" after tData > > I also tried this but that doesn't works either: > put " target="& """ & blank & """ &" >" & fld "titel" &"" > after tData > (the " isn't translated then into a quote) > > I start the HTML file with: > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > > > Anyone knows why I don't get the qoute? > And is there a way to get them? > > > Greetings, > > William From zryip.theslug at gmail.com Wed Aug 25 04:28:01 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 25 Aug 2010 10:28:01 +0200 Subject: Datagrid: simple (non-3D) column header dividers? In-Reply-To: References: <6D6855CA-1C78-4FB3-A5B2-0DAFE83D1B88@qldlearning.com> Message-ID: On Wed, Aug 25, 2010 at 5:44 AM, Terry Judd wrote: > I'd like to be able to have simple lines (i.e. no 3D effect) of a specified > color between my datagrid column headers. Is this doable? > > Terry... Hi Terry, Is the: set the dgProps["header divider color"] of tMyDatagrid to tMyNewColor do the trick? Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From sales at dynamechdesign.com Wed Aug 25 04:30:12 2010 From: sales at dynamechdesign.com (sales at dynamechdesign.com) Date: Wed, 25 Aug 2010 04:30:12 -0400 Subject: Create HTML file from rev app References: Message-ID: <16056484165B4433B34C0C793D6A92E2@bruce64> I'm reletivley new to Rev, but I tried putting answer "This is a quote symbol "" into the msg box and the result was ' This is a quote symbol quot ' whereas when I put answer "This is a quote symbol ""e into the msg box the result was ' This is a quote symbol " ' could be you just nee to add the 'e' at the end of the word quote Bruce ----- Original Message ----- From: "William de Smet" To: "How to use Revolution" Sent: Wednesday, August 25, 2010 4:03 AM Subject: Create HTML file from rev app Hi there all, It's been a while since my last question but working hard on some apps. For my daily job I needed a quick app to create a HTML file. In the app I have some fields and in one of them I put a URL (just www.domainname.com). In some hidden fields I put the needed HTML and the all come together when I save the file. All works fine but when I look at the sourcecode in IE8 or Safari the HTML isn't completely correct. In a link it misses the quotes (") at the beginning or the end of the URL. What I do is this: put "" & fld "link" &"" & "<"&"br/"&">" & "<"&"br/"&">" after tData I also tried this but that doesn't works either: put "" & fld "titel" &"" after tData (the " isn't translated then into a quote) I start the HTML file with: Anyone knows why I don't get the qoute? And is there a way to get them? Greetings, William _______________________________________________ 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 Wed Aug 25 04:37:35 2010 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 25 Aug 2010 10:37:35 +0200 Subject: Create HTML file from rev app In-Reply-To: <08939AC7-DE8E-4B2E-AB6C-E15691DDF6A3@economy-x-talk.com> References: <08939AC7-DE8E-4B2E-AB6C-E15691DDF6A3@economy-x-talk.com> Message-ID: Hi Mark, Now it works! You're helpful as always. @Bruce: in HTML you use "e; to get ". I thought I had to use this in Rev as well. groeten, William 2010/8/25 Mark Schonewille : > Hi William, > > You got it almost right: > > "" & fld "link" &"

" after tData > > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > From 15th August, we'll have time for new projects! Be the first in line and contact me now! > > Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce > > On 25 aug 2010, at 10:03, William de Smet wrote: > >> Hi there all, >> >> It's been a while since my last question but working hard on some apps. >> For my daily job I needed a quick app to create a HTML file. In the >> app I have some fields and in one of them I put a URL (just >> www.domainname.com). >> In some hidden fields I put the needed HTML and the all come together >> when I save the file. >> All works fine but when I look at the sourcecode in IE8 or Safari the >> HTML isn't completely correct. >> In a link it misses the quotes (") at the beginning or the end of the URL. >> >> What I do is this: >> put ?"" >> & fld "link" &"" & ?"<"&"br/"&">" ?& ?"<"&"br/"&">" after tData >> >> I also tried this but that doesn't works either: >> put ?"> target="& """ & blank & """ &" >" & fld "titel" &"" >> after tData >> (the " isn't translated then into a quote) >> >> I start the HTML file with: >> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> >> >> >> >> Anyone knows why I don't get the qoute? >> And is there a way to get them? >> >> >> Greetings, >> >> William > > _______________________________________________ > 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 sales at dynamechdesign.com Wed Aug 25 04:43:56 2010 From: sales at dynamechdesign.com (sales at dynamechdesign.com) Date: Wed, 25 Aug 2010 04:43:56 -0400 Subject: windows, copy, past and right mouse button References: <22C36599E19A4FD294C22C7378E5A3D6@bruce64> Message-ID: <6D93C2F9C6694E26AF4A90616988231C@bruce64> Johathan, Mark helped me quite a bit on the forum page. I did try to implement that script in my stack. I modified a copy of the Rev 'ask' stack but wasn't sure how to merge it into my stack to use in place of the default stack. What I did was a little against the rules and worked around using the 'ask' dialog with hiding and showing buttons and fields for the user to enter his username and password. If he 'right-clicks' on the empty field it automatically checks to see if text is in the clipboard and if true then pastes it in for him. I figured if someone is clicking in a blank field the only reason to do so would be to paste something in there. No need for a popup menu, which I got frustrated trying to implement. I will have to practice using that somewhere else. I was in a time crunch to get a functional program to a customer. Bruce ----- Original Message ----- From: "Jonathan Lynch" To: "How to use Revolution" Sent: Tuesday, August 24, 2010 10:37 AM Subject: Re: windows, copy, past and right mouse button > on mouseUp tButton > if tButton = 3 then > answer "The right mouse button is button number 3" > end if > end mouseUp > > does that help? > > On Fri, Aug 20, 2010 at 8:35 PM, wrote: > >> Being a relative newbie, I've looked and searched through the files but >> am >> unable to figure out how to incorporate the right mouse button into my >> scripts. As I have been forced to use Windoze computers for quite a >> while, I >> have gotten used to using the right mouse button to do copy and pasting >> of >> text. I have written several stacks the latest of which I need to enter a >> UserName and Password. I have a program that stores my passwords and such >> and frequently use it to copy and paste from, but when I right click on >> the >> "Enter Username:" dialog box, nothing happens. I can however use the >> keyboard shortcut ctrl-v which works as long as I'm running Rev. If I >> build >> a standalone, even that doesn't work. I'm not sure if the problem exists >> because the answer command is a blocking command or not. Thanks in >> advance >> for your help. Sorry so wordy. >> >> Bruce >> _______________________________________________ >> 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 >> > > > > -- > Do all things with love > _______________________________________________ > 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 Aug 25 04:44:51 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 25 Aug 2010 01:44:51 -0700 Subject: Create HTML file from rev app Message-ID: <4C74D803.70402@fourthworld.com> William de Smet wrote: > It's been a while since my last question but working hard on some apps. > For my daily job I needed a quick app to create a HTML file. In the > app I have some fields and in one of them I put a URL (just > www.domainname.com). > In some hidden fields I put the needed HTML and the all come together > when I save the file. > All works fine but when I look at the sourcecode in IE8 or Safari the > HTML isn't completely correct. > In a link it misses the quotes (") at the beginning or the end of the URL. > > What I do is this: > put "" > & fld "link" &"" & "<"&"br/"&">" & "<"&"br/"&">" after tData You've discovered why I hate concatenating HTML in xTalks. ;) I've found it far less tedious to just write the HMTL as I want it in the final output and use the merge function to assemble the dynamic parts. For example, you could have this in a field named "template": [[fld "link"]]

...and then just use this to get the assembled output: put merge(fld "template") into tData Check out the merge function in the RevTalk dictionary. It's a life-saver for tasks like this (and a good many others). -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From williamdesmet at gmail.com Wed Aug 25 04:58:48 2010 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 25 Aug 2010 10:58:48 +0200 Subject: Create HTML file from rev app In-Reply-To: <4C74D803.70402@fourthworld.com> References: <4C74D803.70402@fourthworld.com> Message-ID: Thanks Richard, That looks so much easier. I never used 'merge' before. I will definitely use this. Greetings, William 2010/8/25 Richard Gaskin : > William de Smet wrote: > >> It's been a while since my last question but working hard on some apps. >> For my daily job I needed a quick app to create a HTML file. In the >> app I have some fields and in one of them I put a URL (just >> www.domainname.com). >> In some hidden fields I put the needed HTML and the all come together >> when I save the file. >> All works fine but when I look at the sourcecode in IE8 or Safari the >> HTML isn't completely correct. >> In a link it misses the quotes (") at the beginning or the end of the URL. >> >> What I do is this: >> put ?"" >> & fld "link" &"" & ?"<"&"br/"&">" ?& ?"<"&"br/"&">" after tData > > You've discovered why I hate concatenating HTML in xTalks. ;) > > I've found it far less tedious to just write the HMTL as I want it in the > final output and use the merge function to assemble the dynamic parts. > > For example, you could have this in a field named "template": > > [[fld > "link"]]

> > ...and then just use this to get the assembled output: > > put merge(fld "template") into tData > > Check out the merge function in the RevTalk dictionary. ?It's a life-saver > for tasks like this (and a good many others). > > -- > ?Richard Gaskin > ?Fourth World > ?Rev training and consulting: http://www.fourthworld.com > ?Webzine for Rev developers: http://www.revjournal.com > ?revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > 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 sales at dynamechdesign.com Wed Aug 25 05:00:39 2010 From: sales at dynamechdesign.com (sales at dynamechdesign.com) Date: Wed, 25 Aug 2010 05:00:39 -0400 Subject: Create HTML file from rev app References: <08939AC7-DE8E-4B2E-AB6C-E15691DDF6A3@economy-x-talk.com> Message-ID: <5ACCF14301624943A98505072DD41FBC@bruce64> William, Thanks, I'll try to remember that. Boy I have a lot to learn. I think I need an extra terabyte HD in my head. Bruce ----- Original Message ----- From: "William de Smet" To: "How to use Revolution" Sent: Wednesday, August 25, 2010 4:37 AM Subject: Re: Create HTML file from rev app Hi Mark, Now it works! You're helpful as always. @Bruce: in HTML you use "e; to get ". I thought I had to use this in Rev as well. groeten, William 2010/8/25 Mark Schonewille : > Hi William, > > You got it almost right: > > "" & fld "link" &"

" after tData > > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > From 15th August, we'll have time for new projects! Be the first in line > and contact me now! > > Download the Installer Maker plugin for Runtime Revolution at > http://qurl.tk/ce > > On 25 aug 2010, at 10:03, William de Smet wrote: > >> Hi there all, >> >> It's been a while since my last question but working hard on some apps. >> For my daily job I needed a quick app to create a HTML file. In the >> app I have some fields and in one of them I put a URL (just >> www.domainname.com). >> In some hidden fields I put the needed HTML and the all come together >> when I save the file. >> All works fine but when I look at the sourcecode in IE8 or Safari the >> HTML isn't completely correct. >> In a link it misses the quotes (") at the beginning or the end of the >> URL. >> >> What I do is this: >> put "" >> & fld "link" &"" & "<"&"br/"&">" & "<"&"br/"&">" after tData >> >> I also tried this but that doesn't works either: >> put "> target="& """ & blank & """ &" >" & fld "titel" &"" >> after tData >> (the " isn't translated then into a quote) >> >> I start the HTML file with: >> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> >> >> >> >> Anyone knows why I don't get the qoute? >> And is there a way to get them? >> >> >> Greetings, >> >> William > > _______________________________________________ > 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 tsj at unimelb.edu.au Wed Aug 25 06:27:38 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Wed, 25 Aug 2010 20:27:38 +1000 Subject: Datagrid: simple (non-3D) column header dividers? In-Reply-To: Message-ID: Well it's a good start (how come it isn't in my datagrid user guide?) but you still get left with a light coloured one pixel wide line (leftHilite) to the left of each column header that 'spoils' the vanilla effect I'm looking for. If there was some way to target this graphic through the dgProps (either by setting its colour or hiding it) then I think we'd be there. Cheers, Terry... On 25/08/10 6:28 PM, "zryip theSlug" wrote: > On Wed, Aug 25, 2010 at 5:44 AM, Terry Judd wrote: >> I'd like to be able to have simple lines (i.e. no 3D effect) of a specified >> color between my datagrid column headers. Is this doable? >> >> Terry... > > Hi Terry, > > Is the: > set the dgProps["header divider color"] of tMyDatagrid to tMyNewColor > > do the trick? > > > Regards, -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From jonathandlynch at gmail.com Wed Aug 25 06:54:14 2010 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Wed, 25 Aug 2010 10:54:14 +0000 Subject: windows, copy, past and right mouse button In-Reply-To: <6D93C2F9C6694E26AF4A90616988231C@bruce64> References: <22C36599E19A4FD294C22C7378E5A3D6@bruce64><6D93C2F9C6694E26AF4A90616988231C@bruce64> Message-ID: <763706526-1282732563-cardhu_decombobulator_blackberry.rim.net-46653807-@bda2034.bisx.prod.on.blackberry> Interesting - for one of the apps I made at work, it pops up a copy/cut/paste menu when the user right clicks into certain fields So, fear not - for future apps that you make, it can be done. J Sent from my Verizon Wireless BlackBerry -----Original Message----- From: Sender: use-revolution-bounces at lists.runrev.com Date: Wed, 25 Aug 2010 04:43:56 To: How to use Revolution Reply-To: How to use Revolution Subject: Re: windows, copy, past and right mouse button Johathan, Mark helped me quite a bit on the forum page. I did try to implement that script in my stack. I modified a copy of the Rev 'ask' stack but wasn't sure how to merge it into my stack to use in place of the default stack. What I did was a little against the rules and worked around using the 'ask' dialog with hiding and showing buttons and fields for the user to enter his username and password. If he 'right-clicks' on the empty field it automatically checks to see if text is in the clipboard and if true then pastes it in for him. I figured if someone is clicking in a blank field the only reason to do so would be to paste something in there. No need for a popup menu, which I got frustrated trying to implement. I will have to practice using that somewhere else. I was in a time crunch to get a functional program to a customer. Bruce ----- Original Message ----- From: "Jonathan Lynch" To: "How to use Revolution" Sent: Tuesday, August 24, 2010 10:37 AM Subject: Re: windows, copy, past and right mouse button > on mouseUp tButton > if tButton = 3 then > answer "The right mouse button is button number 3" > end if > end mouseUp > > does that help? > > On Fri, Aug 20, 2010 at 8:35 PM, wrote: > >> Being a relative newbie, I've looked and searched through the files but >> am >> unable to figure out how to incorporate the right mouse button into my >> scripts. As I have been forced to use Windoze computers for quite a >> while, I >> have gotten used to using the right mouse button to do copy and pasting >> of >> text. I have written several stacks the latest of which I need to enter a >> UserName and Password. I have a program that stores my passwords and such >> and frequently use it to copy and paste from, but when I right click on >> the >> "Enter Username:" dialog box, nothing happens. I can however use the >> keyboard shortcut ctrl-v which works as long as I'm running Rev. If I >> build >> a standalone, even that doesn't work. I'm not sure if the problem exists >> because the answer command is a blocking command or not. Thanks in >> advance >> for your help. Sorry so wordy. >> >> Bruce >> _______________________________________________ >> 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 >> > > > > -- > Do all things with love > _______________________________________________ > 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 tsj at unimelb.edu.au Wed Aug 25 06:40:12 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Wed, 25 Aug 2010 20:40:12 +1000 Subject: Datagrid: simple (non-3D) column header dividers? In-Reply-To: Message-ID: Brute force method... on toggleDGHeaderLeftHilite pDGname, pVis put the long id of grp "dgHeaderComponents" of grp pDGname into tObj repeat with i = 1 to the number of controls of tObj if the short name of control i of tObj = "leftHilite" then set the visible of control i of tObj to pVis end if end repeat end toggleDGHeaderLeftHilite Terry... On 25/08/10 8:27 PM, "Terry Judd" wrote: > Well it's a good start (how come it isn't in my datagrid user guide?) but > you still get left with a light coloured one pixel wide line (leftHilite) to > the left of each column header that 'spoils' the vanilla effect I'm looking > for. If there was some way to target this graphic through the dgProps > (either by setting its colour or hiding it) then I think we'd be there. > > Cheers, > > Terry... > > > On 25/08/10 6:28 PM, "zryip theSlug" wrote: > >> On Wed, Aug 25, 2010 at 5:44 AM, Terry Judd wrote: >>> I'd like to be able to have simple lines (i.e. no 3D effect) of a specified >>> color between my datagrid column headers. Is this doable? >>> >>> Terry... >> >> Hi Terry, >> >> Is the: >> set the dgProps["header divider color"] of tMyDatagrid to tMyNewColor >> >> do the trick? >> >> >> Regards, > > -- > Dr Terry Judd | Senior Lecturer in Medical Education > Medical Education Unit > Melbourne Medical School > The University of Melbourne > > > _______________________________________________ > 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 -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From chipp at chipp.com Wed Aug 25 06:42:31 2010 From: chipp at chipp.com (Chipp Walters) Date: Wed, 25 Aug 2010 05:42:31 -0500 Subject: The State of the Art of Auto Upgrading - How do You Do It? In-Reply-To: <4C74ACE5.9050602@hindu.org> References: <4C74ACE5.9050602@hindu.org> Message-ID: Hi Sivakatirswami, Yes, I still use MagicCarpet for all my projects. It does have Proxy support for NTLM and Basic Authentication. Chris wrote the NTML.dll for Windows. It also has an updatable plugin architecture, along with support for updating externals, and virtually any file. It also can update certain files on Macs and other files on Windows. It generally takes me an hour or so to get everything setup at the beginning, including a standalone with icon and splash screen design and server setup. If you recall, the whole idea is the splash screen app ONLY checks for updates to itself and the Main stack-- and the Main stack checks for updates for all other files, including plugins, externals and any other files. I haven't really looked into other mechanisms. I do have a single button "check for updates" which is a subset of MagicCarpet and I copy/paste the button from altPlugin stack to altPlugin stack, and a single press checks and updates the stack. I also use it for many tools, not finished apps, which use a basic Launcher.exe which looks in the same folder for a rev stack and launches the first one it comes across. This way a single Launcher can be used over and over for utilities. The issue is this engine doesn't know how to update itself, only the stacks with the 'check for updates' button does. I can upload the single button code if anyone is interested. HTH, Chipp From jonathandlynch at gmail.com Wed Aug 25 07:04:42 2010 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Wed, 25 Aug 2010 11:04:42 +0000 Subject: Menu button with different fonts in label and menu? Message-ID: <793315312-1282733190-cardhu_decombobulator_blackberry.rim.net-1203585778-@bda2034.bisx.prod.on.blackberry> What is the best was to achieve the effect of having a menu button, that is part of a group used as a menu bar, that has or appears to have a label that uses a standard font and menu items that use wingding characters? Is there a field setting that would allow mouse clicks to pass through to the object below without graying out the text of the field? Thanks, Jonathan Sent from my Verizon Wireless BlackBerry From chipp at chipp.com Wed Aug 25 06:52:00 2010 From: chipp at chipp.com (Chipp Walters) Date: Wed, 25 Aug 2010 05:52:00 -0500 Subject: The State of the Art of Auto Upgrading - How do You Do It? In-Reply-To: References: <4C74ACE5.9050602@hindu.org> Message-ID: Here's a very old website which describes how MagicCarpet works: http://www.altuit.com/webs/altuit2/MagicCarpetAAA/default.htm The files are old-- I should update with newer files. But the theory is the same. Plus, I've added a new plugin to make configuration a bit easier. From zryip.theslug at gmail.com Wed Aug 25 07:47:59 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 25 Aug 2010 13:47:59 +0200 Subject: Datagrid: simple (non-3D) column header dividers? In-Reply-To: References: Message-ID: On Wed, Aug 25, 2010 at 12:27 PM, Terry Judd wrote: > Well it's a good start (how come it isn't in my datagrid user guide?) but > you still get left with a light coloured one pixel wide line (leftHilite) to > the left of each column header that 'spoils' the vanilla effect I'm looking > for. If there was some way to target this graphic through the dgProps > (either by setting its colour or hiding it) then I think we'd be there. > > Cheers, > > Terry... > You can manage this pixel line with: set the dgProps["header divider threeD color"] of grp "MyDataGrid" to tTheColor header divider color and header divider threeD color are undocumented. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From DunbarX at aol.com Wed Aug 25 08:43:09 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 25 Aug 2010 08:43:09 EDT Subject: Menu button with different fonts in label and menu? Message-ID: <74c8d.40b2a34a.39a669dd@aol.com> When you say graying out the text, have you set the blendLevel of the field to some number, like 50? If so, you can see the underlying object, but the text is grayed. Try setting the "transparent" of the field instead. Then the text remains sharp, and only the white space is removed. As for letting messages through, I think you will have to script this, sending a mouseUp to the object of interest explicitly. The lockText of the field should be set to "true". Craig Newman In a message dated 8/25/10 6:46:40 AM, jonathandlynch at gmail.com writes: > Is there a field setting that would allow mouse clicks to pass through to > the object below without graying out the text of the field? > From DunbarX at aol.com Wed Aug 25 08:47:35 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 25 Aug 2010 08:47:35 EDT Subject: Menu button with different fonts in label and menu? Message-ID: When you say graying out the text, have you set the blendLevel of the field to some number, like 50? If so, you can see the underlying object, but the text is grayed. Try setting the "transparent" of the field instead. Then the text remains sharp, and only the white space is removed. As for letting messages through, I think you will have to script this, sending a mouseUp to the object of interest explicitly. The lockText of the field should be set to "true". Craig Newman From tsj at unimelb.edu.au Wed Aug 25 08:52:59 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Wed, 25 Aug 2010 22:52:59 +1000 Subject: Datagrid: simple (non-3D) column header dividers? In-Reply-To: References: Message-ID: <2EECA32E-A01F-4B9A-9684-6EE7871727EF@unimelb.edu.au> Excellent - thanks! Terry... On 25/08/2010, at 9:48 PM, "zryip theSlug" wrote: > On Wed, Aug 25, 2010 at 12:27 PM, Terry Judd wrote: >> Well it's a good start (how come it isn't in my datagrid user guide?) but >> you still get left with a light coloured one pixel wide line (leftHilite) to >> the left of each column header that 'spoils' the vanilla effect I'm looking >> for. If there was some way to target this graphic through the dgProps >> (either by setting its colour or hiding it) then I think we'd be there. >> >> Cheers, >> >> Terry... >> > > You can manage this pixel line with: > set the dgProps["header divider threeD color"] of grp "MyDataGrid" to tTheColor > > header divider color and header divider threeD color are undocumented. > > > Regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > _______________________________________________ > 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 Wed Aug 25 09:16:45 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 25 Aug 2010 09:16:45 -0400 Subject: Datagrid: simple (non-3D) column header dividers? In-Reply-To: References: Message-ID: <3D9226CC-7D6F-4A76-AAA7-64D4093BC8C8@mangomultimedia.com> On Aug 25, 2010, at 6:27 AM, Terry Judd wrote: > Well it's a good start (how come it isn't in my datagrid user > guide?) but > you still get left with a light coloured one pixel wide line > (leftHilite) to > the left of each column header that 'spoils' the vanilla effect I'm > looking > for. If there was some way to target this graphic through the dgProps > (either by setting its colour or hiding it) then I think we'd be > there. I don't think it is available in the version of the data grid that came with rev 4.0 but in the next release you can set the 'header divider threeD color' property. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From ray at linkit.com Wed Aug 25 09:23:00 2010 From: ray at linkit.com (Ray Horsley) Date: Wed, 25 Aug 2010 09:23:00 -0400 Subject: RunRev Specs - Upgrading System Message-ID: Greetings, Anybody know if Revolution uses 64 bit processing? Also, does Revolution make use of multiple cores? In other words, would Revolution take advantage of features like an i7 3.33 gig processor? Please make any other suggestions regarding the optimal system for speed when working in Revolution and making lots of LibURL calls Thanks, Ray Horsley LinkIt! Software From m.schonewille at economy-x-talk.com Wed Aug 25 09:30:35 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 25 Aug 2010 15:30:35 +0200 Subject: RunRev Specs - Upgrading System In-Reply-To: References: Message-ID: Hi Ray, RunRev doesn't use multiple cores and is 32 bit. There are very many factors affecting network performance. What are the symptoms you're struggling with? Some time ago, I upgraded to Mac OS X 10.6 (Snow Leopard) which is entirely 64 bit. I can clearly notice the speed bump. I hope that a 64 but version of Revolution will be available soon. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 25 aug 2010, at 15:23, Ray Horsley wrote: > Greetings, > > Anybody know if Revolution uses 64 bit processing? Also, does Revolution make use of multiple cores? In other words, would Revolution take advantage of features like an i7 3.33 gig processor? Please make any other suggestions regarding the optimal system for speed when working in Revolution and making lots of LibURL calls > > Thanks, > > Ray Horsley > LinkIt! Software From andre at andregarzia.com Wed Aug 25 09:38:02 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 25 Aug 2010 10:38:02 -0300 Subject: RunRev Specs - Upgrading System In-Reply-To: References: Message-ID: Ray, I don't think Rev is optmized for 64 bits or multiple cores. If the host system does some optimizations then it will benefit but then again, everyone will benefit. I don't know if you're talking about windows, mac or linux on this post but double check if there is no issue with Windows 64 bits and Rev. Windows compatibility stuff for running 32 bits stuff under a 64 bits system is not as good as apples (so they say). I think the best thing you can have for development is a HUGE OBSCENE AMOUNT OF RAM. RAM is king! RAM trumps Gigaherts! RAM trumps CPU! This is subjective, but I'd rather have a core 2 duo with 8 GB of ram than a i5 with 2 GB of RAM. Unless you are doing heavy number crunching and video processing will be more delayed by your system abilities to use memory (paging stuff to disk, all those silly software allocating 2GB of RAM, yes firefox, I am looking at you) than by CPU being busy. It is my humble opinion that somewhere after pentium 3 or near, CPUs got so freaking fast that they usually wait for you or other subsystems instead of you waiting for them to process something. My machine is quite fast with its core 2 duo but with only 2GB of RAM, I loose too much time and performance when running virtualbox and browsers and IDEs at the same time. You can never have enough RAM. If you have the money, check out how much maximum RAM your computer support and top it. You will not be sorry and if things go all right then you won't even notice anything because things will run smooth. Also multiple cores are wonderful, use as many as you can. Rev engine is not optimized for multicore usage but the rest of your operating system is so there's a benefit. Here on my work, one of our servers is a Dual Hexacore beast, so you got 12 cores working, with HT then you got 24 threads available. That is quite fast with its 48GB of RAM. Of course this is a server and not a desktop machine but even though the cores are not too fast, having a lot of RAM and 24 threads beats CPU raw power and speed. On Wed, Aug 25, 2010 at 10:23 AM, Ray Horsley wrote: > Greetings, > > Anybody know if Revolution uses 64 bit processing? Also, does Revolution > make use of multiple cores? In other words, would Revolution take advantage > of features like an i7 3.33 gig processor? Please make any other > suggestions regarding the optimal system for speed when working in > Revolution and making lots of LibURL calls > > Thanks, > > Ray Horsley > LinkIt! Software > _______________________________________________ > 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 jonathandlynch at gmail.com Wed Aug 25 09:58:37 2010 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Wed, 25 Aug 2010 13:58:37 +0000 Subject: Menu button with different fonts in label and menu? Message-ID: <806749618-1282743625-cardhu_decombobulator_blackberry.rim.net-897515396-@bda2034.bisx.prod.on.blackberry> Sending mouseup to a pulldown menu does not make the menu appear. Using popup on a pulldown menu messes up the appearance of the button. This is on an older version or Rev that I use at work. If you disable a field, you can click through it - but the text in the disabled field will be grey. Thanks, though - do you have any other suggestions? I think I am going to have to resort to using a substack for the menuitems of that button. Peace, J ------Original Message------ From: DunbarX at aol.com Sender: use-revolution-bounces at lists.runrev.com To: use-revolution at lists.runrev.com ReplyTo: How to use Revolution Subject: Re: Menu button with different fonts in label and menu? Sent: Aug 25, 2010 8:47 AM When you say graying out the text, have you set the blendLevel of the field to some number, like 50? If so, you can see the underlying object, but the text is grayed. Try setting the "transparent" of the field instead. Then the text remains sharp, and only the white space is removed. As for letting messages through, I think you will have to script this, sending a mouseUp to the object of interest explicitly. The lockText of the field should be set to "true". Craig Newman _______________________________________________ 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 Sent from my Verizon Wireless BlackBerry From andre at andregarzia.com Wed Aug 25 09:41:44 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 25 Aug 2010 10:41:44 -0300 Subject: RunRev Specs - Upgrading System In-Reply-To: References: Message-ID: Mark, I don't think Rev would benefit from being 64 bits. We're not doing manual memory allocation and raw data structures and things like that. That is my opinion only, instead of 64 bits, I'd like some sort of thread support. Like running a handler with no side effects on a different thread. That would be enough to make me happy and would boost Rev performance much more than 64 bits engine. Andre On Wed, Aug 25, 2010 at 10:30 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Ray, > > RunRev doesn't use multiple cores and is 32 bit. > > There are very many factors affecting network performance. What are the > symptoms you're struggling with? > > Some time ago, I upgraded to Mac OS X 10.6 (Snow Leopard) which is entirely > 64 bit. I can clearly notice the speed bump. I hope that a 64 but version of > Revolution will be available soon. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > From 15th August, we'll have time for new projects! Be the first in line > and contact me now! > > Download the Installer Maker plugin for Runtime Revolution at > http://qurl.tk/ce > > On 25 aug 2010, at 15:23, Ray Horsley wrote: > > > Greetings, > > > > Anybody know if Revolution uses 64 bit processing? Also, does Revolution > make use of multiple cores? In other words, would Revolution take advantage > of features like an i7 3.33 gig processor? Please make any other > suggestions regarding the optimal system for speed when working in > Revolution and making lots of LibURL calls > > > > Thanks, > > > > Ray Horsley > > LinkIt! Software > > > _______________________________________________ > 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 Wed Aug 25 09:50:26 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 25 Aug 2010 10:50:26 -0300 Subject: Create HTML file from rev app In-Reply-To: References: <4C74D803.70402@fourthworld.com> Message-ID: William, Merge is king! Another cool command is "format" which is like C printf() function. It can be used like this: put format("my title

%s

", fld "link", fld "link") into tHTML keep notice that you can use " inside a quoted format string if you escape them like \" You can use %s place holders where you want to insert your data that is passed in order as arguments for the format function. In that example I use two %s placeholders which are replaced with field "link" and field "link" again. The place holders are cool because you can use them to format, for example, suppose I am passing the value 5 to the following placeholders: %s output 5 %d output 5 %.2f output 5.00 %.3f output 5.000 %3d output 005 %4d output 0005 (there is much more to it but this is enough to show the concept) :D On Wed, Aug 25, 2010 at 5:58 AM, William de Smet wrote: > Thanks Richard, > > That looks so much easier. I never used 'merge' before. > I will definitely use this. > > Greetings, > > William > > > > 2010/8/25 Richard Gaskin : > > William de Smet wrote: > > > >> It's been a while since my last question but working hard on some apps. > >> For my daily job I needed a quick app to create a HTML file. In the > >> app I have some fields and in one of them I put a URL (just > >> www.domainname.com). > >> In some hidden fields I put the needed HTML and the all come together > >> when I save the file. > >> All works fine but when I look at the sourcecode in IE8 or Safari the > >> HTML isn't completely correct. > >> In a link it misses the quotes (") at the beginning or the end of the > URL. > >> > >> What I do is this: > >> put "" > >> & fld "link" &"" & "<"&"br/"&">" & "<"&"br/"&">" after tData > > > > You've discovered why I hate concatenating HTML in xTalks. ;) > > > > I've found it far less tedious to just write the HMTL as I want it in the > > final output and use the merge function to assemble the dynamic parts. > > > > For example, you could have this in a field named "template": > > > > [[fld > > "link"]]

> > > > ...and then just use this to get the assembled output: > > > > put merge(fld "template") into tData > > > > Check out the merge function in the RevTalk dictionary. It's a > life-saver > > for tasks like this (and a good many others). > > > > -- > > Richard Gaskin > > Fourth World > > Rev training and consulting: http://www.fourthworld.com > > Webzine for Rev developers: http://www.revjournal.com > > revJournal blog: http://revjournal.com/blog.irv > > _______________________________________________ > > 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 bill at bluewatermaritime.com Wed Aug 25 10:43:32 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 25 Aug 2010 10:43:32 -0400 Subject: drawer stack Message-ID: I was just trying to open a drawer stack on my mac OS 10.6.4 system and noticed it did nothing at all (stack doesn't even open when using the drawer command) and then I read this in the dictionary: -------- Cross-platform note: On Mac OS, Unix, and Windows systems, drawers are not supported, so the drawer command opens the stack as a palette instead. The palette uses the current rectangle of the stack and does not resize or move it. -------- So I'm wondering... what system are the folks at RunRev talking about where drawers do work? Perhaps RunRev works on BeOs? From klaus at major.on-rev.com Wed Aug 25 10:52:56 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 25 Aug 2010 16:52:56 +0200 Subject: drawer stack In-Reply-To: References: Message-ID: <234970E8-009F-4EDA-A6AC-C53FD07289F3@major.on-rev.com> Hi William, > I was just trying to open a drawer stack on my mac OS 10.6.4 system > and noticed it did nothing at all (stack doesn't even open when using > the drawer command) and then I read this in the dictionary: > -------- > Cross-platform note: On Mac OS, Unix, and Windows systems, drawers > are not supported, so the drawer command opens the stack as a palette > instead. The palette uses the current rectangle of the stack and does > not resize or move it. > -------- > > So I'm wondering... what system are the folks at RunRev talking about > where drawers do work? Perhaps RunRev works on BeOs? :-) MacOS <> MacOS X! MacOS = everything <= OS 9! But drawers DO work on OS X! Just tested and worked fine. Could you post your script to open a drawer? Maybe a typo in the syntax or whatever... Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bill at bluewatermaritime.com Wed Aug 25 11:03:39 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 25 Aug 2010 11:03:39 -0400 Subject: drawer stack In-Reply-To: <234970E8-009F-4EDA-A6AC-C53FD07289F3@major.on-rev.com> References: <234970E8-009F-4EDA-A6AC-C53FD07289F3@major.on-rev.com> Message-ID: I did this: "drawer stack "consignees" at right of stack "Clients" aligned to top" but you can go stack "consignees" or open stack consignees and that works. Funny that RunRev has to still be compatible with Mac OS 9. I wonder how much of an advantage that is? On Wed, Aug 25, 2010 at 10:52 AM, Klaus on-rev wrote: > Hi William, > >> I was just trying to open a drawer stack on my mac OS 10.6.4 system >> and noticed it did nothing at all (stack doesn't even open when using >> the drawer command) and then I read this in the dictionary: >> -------- >> Cross-platform note: ?On Mac OS, Unix, and Windows systems, drawers >> are not supported, so the drawer command opens the stack as a palette >> instead. The palette uses the current rectangle of the stack and does >> not resize or move it. >> -------- >> >> So I'm wondering... what system are the folks at RunRev talking about >> where drawers do work? Perhaps RunRev works on BeOs? > > :-) > > MacOS <> MacOS X! > MacOS = everything <= OS 9! > > But drawers DO work on OS X! > Just tested and worked fine. > > Could you post your script to open a drawer? > Maybe a typo in the syntax or whatever... > > > Best > > Klaus > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.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.bluewatermaritime.com From stephenREVOLUTION2 at barncard.com Wed Aug 25 11:04:44 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 25 Aug 2010 08:04:44 -0700 Subject: The State of the Art of Auto Upgrading - How do You Do It? In-Reply-To: References: <4C74ACE5.9050602@hindu.org> Message-ID: Thanks, Chipp, btw, The download inks there are broken. sqb On 25 August 2010 03:52, Chipp Walters wrote: > Here's a very old website which describes how MagicCarpet works: > http://www.altuit.com/webs/altuit2/MagicCarpetAAA/default.htm > > The files are old-- I should update with newer files. But the theory is the > same. Plus, I've added a new plugin to make configuration a bit easier. > _______________________________________________ > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From m.schonewille at economy-x-talk.com Wed Aug 25 11:05:17 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 25 Aug 2010 17:05:17 +0200 Subject: drawer stack In-Reply-To: <234970E8-009F-4EDA-A6AC-C53FD07289F3@major.on-rev.com> References: <234970E8-009F-4EDA-A6AC-C53FD07289F3@major.on-rev.com> Message-ID: Hi Klaus, At first sight, drawers may seem to work fine, but they are very buggy. I'd avoid them. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 25 aug 2010, at 16:52, Klaus on-rev wrote: > > MacOS <> MacOS X! > MacOS = everything <= OS 9! > > But drawers DO work on OS X! > Just tested and worked fine. > > Could you post your script to open a drawer? > Maybe a typo in the syntax or whatever... From bill at bluewatermaritime.com Wed Aug 25 11:07:42 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 25 Aug 2010 11:07:42 -0400 Subject: drawer stack In-Reply-To: References: <234970E8-009F-4EDA-A6AC-C53FD07289F3@major.on-rev.com> Message-ID: I will avoid the drawer. Thanks for the advice. I was just fooling around. I do think that "ALL" the dictionary notes should be changed to say "MAC OS 9" or "MAC OS X" and not just MAC OS as that is very confusing. Maybe I'll take all the controls on my stack and make it a group or something so that I can make it look like a drawer. I'd like to not pre-clude cross platform behavior. From ray at linkit.com Wed Aug 25 11:08:51 2010 From: ray at linkit.com (Ray Horsley) Date: Wed, 25 Aug 2010 11:08:51 -0400 Subject: RunRev Specs - Upgrading System In-Reply-To: References: Message-ID: <1245058C-702E-4BD3-874F-81292AADC344@LinkIt.Com> Andr?, Mark, Thanks for these suggestions. I've worked on Macs for years but I'm thinking of switching to Windows 7. I understand it's been received more warmly than Vista and as I'm spending more time switching back and forth to make sure colors and fonts look reasonably the same in my standalone on Windows as they do on my Mac I'm considering the switch. For the last 4-5 years I'm on a Mac with 4 cores running at 2.66 with 2 GB of DDR2 RAM. I'm thinking of stepping up to an i7 with 6 cores running at 3.3 GHz with 12 GB of RAM. My work doesn't involve video rendering or anything special. It's simply a lot of processing data and moving it to and from a remote server. Recently I've noticed Revolution choking and ultimately freezing on very heavy tasks, sometimes to the point that I'm forced to log back in. This could be due to just 2 GB of DDR2 RAM or maybe it could be points on my aging processor burning out. Anyway, if you know of any issues with Revolution and Windows 7 on a 64 bit machine then please let me know. Thanks, Ray On Aug 25, 2010, at 9:38 AM, Andre Garzia wrote: > Ray, > > I don't think Rev is optmized for 64 bits or multiple cores. If the > host > system does some optimizations then it will benefit but then again, > everyone > will benefit. > > I don't know if you're talking about windows, mac or linux on this > post but > double check if there is no issue with Windows 64 bits and Rev. > Windows > compatibility stuff for running 32 bits stuff under a 64 bits system > is not > as good as apples (so they say). > > I think the best thing you can have for development is a HUGE > OBSCENE AMOUNT > OF RAM. > > RAM is king! RAM trumps Gigaherts! RAM trumps CPU! This is > subjective, but > I'd rather have a core 2 duo with 8 GB of ram than a i5 with 2 GB of > RAM. > > Unless you are doing heavy number crunching and video processing > will be > more delayed by your system abilities to use memory (paging stuff to > disk, > all those silly software allocating 2GB of RAM, yes firefox, I am > looking at > you) than by CPU being busy. It is my humble opinion that somewhere > after > pentium 3 or near, CPUs got so freaking fast that they usually wait > for you > or other subsystems instead of you waiting for them to process > something. My > machine is quite fast with its core 2 duo but with only 2GB of RAM, > I loose > too much time and performance when running virtualbox and browsers > and IDEs > at the same time. > > You can never have enough RAM. If you have the money, check out how > much > maximum RAM your computer support and top it. You will not be sorry > and if > things go all right then you won't even notice anything because > things will > run smooth. > > Also multiple cores are wonderful, use as many as you can. Rev > engine is not > optimized for multicore usage but the rest of your operating system > is so > there's a benefit. > > Here on my work, one of our servers is a Dual Hexacore beast, so you > got 12 > cores working, with HT then you got 24 threads available. That is > quite fast > with its 48GB of RAM. Of course this is a server and not a desktop > machine > but even though the cores are not too fast, having a lot of RAM and 24 > threads beats CPU raw power and speed. > > On Wed, Aug 25, 2010 at 10:23 AM, Ray Horsley wrote: > >> Greetings, >> >> Anybody know if Revolution uses 64 bit processing? Also, does >> Revolution >> make use of multiple cores? In other words, would Revolution take >> advantage >> of features like an i7 3.33 gig processor? Please make any other >> suggestions regarding the optimal system for speed when working in >> Revolution and making lots of LibURL calls >> >> Thanks, >> >> Ray Horsley >> LinkIt! Software >> _______________________________________________ >> 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 klaus at major.on-rev.com Wed Aug 25 11:25:26 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 25 Aug 2010 17:25:26 +0200 Subject: drawer stack In-Reply-To: References: <234970E8-009F-4EDA-A6AC-C53FD07289F3@major.on-rev.com> Message-ID: Hi William, > I did this: "drawer stack "consignees" at right of stack "Clients" > aligned to top" hmmm, correct, should work and works here??? > but you can go stack "consignees" or open stack consignees and that > works. Funny that RunRev has to still be compatible with Mac OS 9. I I think the last version compatible with MacOS 9 is 2.61(?), at least not a newer version. > wonder how much of an advantage that is? Imagine you had a machine with OS 9 or even 8 running! Maybe that will answer your question :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From klaus at major.on-rev.com Wed Aug 25 11:26:23 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 25 Aug 2010 17:26:23 +0200 Subject: drawer stack In-Reply-To: References: <234970E8-009F-4EDA-A6AC-C53FD07289F3@major.on-rev.com> Message-ID: <9951D134-61AE-4BC7-BC2C-939C57ABCA47@major.on-rev.com> Hi Mark, > Hi Klaus, > > At first sight, drawers may seem to work fine, but they are very buggy. I'd avoid them. buggy or not, that was not the question :-) At least the drawer should open, which does here! > -- > Best regards, > > Mark Schonewille Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From andre at andregarzia.com Wed Aug 25 11:35:43 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 25 Aug 2010 12:35:43 -0300 Subject: RunRev Specs - Upgrading System In-Reply-To: <1245058C-702E-4BD3-874F-81292AADC344@LinkIt.Com> References: <1245058C-702E-4BD3-874F-81292AADC344@LinkIt.Com> Message-ID: Ray, I am also experiencing chokes but not specific to Revolution. My machine has 2GB of RAM as well. I believe Mac OS X no longer thinks 2GB of RAM is enough. I suspect I need at least 4 GB for smooth work. Andre On Wed, Aug 25, 2010 at 12:08 PM, Ray Horsley wrote: > Andr?, Mark, > > Thanks for these suggestions. I've worked on Macs for years but I'm > thinking of switching to Windows 7. I understand it's been received more > warmly than Vista and as I'm spending more time switching back and forth to > make sure colors and fonts look reasonably the same in my standalone on > Windows as they do on my Mac I'm considering the switch. > > For the last 4-5 years I'm on a Mac with 4 cores running at 2.66 with 2 GB > of DDR2 RAM. I'm thinking of stepping up to an i7 with 6 cores running at > 3.3 GHz with 12 GB of RAM. My work doesn't involve video rendering or > anything special. It's simply a lot of processing data and moving it to and > from a remote server. Recently I've noticed Revolution choking and > ultimately freezing on very heavy tasks, sometimes to the point that I'm > forced to log back in. This could be due to just 2 GB of DDR2 RAM or maybe > it could be points on my aging processor burning out. > > Anyway, if you know of any issues with Revolution and Windows 7 on a 64 bit > machine then please let me know. > > Thanks, > > Ray > > > On Aug 25, 2010, at 9:38 AM, Andre Garzia wrote: > > Ray, >> >> I don't think Rev is optmized for 64 bits or multiple cores. If the host >> system does some optimizations then it will benefit but then again, >> everyone >> will benefit. >> >> I don't know if you're talking about windows, mac or linux on this post >> but >> double check if there is no issue with Windows 64 bits and Rev. Windows >> compatibility stuff for running 32 bits stuff under a 64 bits system is >> not >> as good as apples (so they say). >> >> I think the best thing you can have for development is a HUGE OBSCENE >> AMOUNT >> OF RAM. >> >> RAM is king! RAM trumps Gigaherts! RAM trumps CPU! This is subjective, but >> I'd rather have a core 2 duo with 8 GB of ram than a i5 with 2 GB of RAM. >> >> Unless you are doing heavy number crunching and video processing will be >> more delayed by your system abilities to use memory (paging stuff to disk, >> all those silly software allocating 2GB of RAM, yes firefox, I am looking >> at >> you) than by CPU being busy. It is my humble opinion that somewhere after >> pentium 3 or near, CPUs got so freaking fast that they usually wait for >> you >> or other subsystems instead of you waiting for them to process something. >> My >> machine is quite fast with its core 2 duo but with only 2GB of RAM, I >> loose >> too much time and performance when running virtualbox and browsers and >> IDEs >> at the same time. >> >> You can never have enough RAM. If you have the money, check out how much >> maximum RAM your computer support and top it. You will not be sorry and if >> things go all right then you won't even notice anything because things >> will >> run smooth. >> >> Also multiple cores are wonderful, use as many as you can. Rev engine is >> not >> optimized for multicore usage but the rest of your operating system is so >> there's a benefit. >> >> Here on my work, one of our servers is a Dual Hexacore beast, so you got >> 12 >> cores working, with HT then you got 24 threads available. That is quite >> fast >> with its 48GB of RAM. Of course this is a server and not a desktop machine >> but even though the cores are not too fast, having a lot of RAM and 24 >> threads beats CPU raw power and speed. >> >> On Wed, Aug 25, 2010 at 10:23 AM, Ray Horsley wrote: >> >> Greetings, >>> >>> Anybody know if Revolution uses 64 bit processing? Also, does Revolution >>> make use of multiple cores? In other words, would Revolution take >>> advantage >>> of features like an i7 3.33 gig processor? Please make any other >>> suggestions regarding the optimal system for speed when working in >>> Revolution and making lots of LibURL calls >>> >>> Thanks, >>> >>> Ray Horsley >>> LinkIt! Software >>> _______________________________________________ >>> 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 stephenREVOLUTION2 at barncard.com Wed Aug 25 11:53:09 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 25 Aug 2010 08:53:09 -0700 Subject: drawer stack In-Reply-To: References: <234970E8-009F-4EDA-A6AC-C53FD07289F3@major.on-rev.com> Message-ID: Hey - drawers are cool - I've got a stack where I use 3 of them (side and bottom) and they interoperate just fine. They sometimes need a little handholding on startup or closestack to get the open/close state correct, but they've worked great for making available info that isn't always needed and they have less visual disruption than an ordinary window or dialog. On 25 August 2010 08:05, Mark Schonewille wrote: > Hi Klaus, > > At first sight, drawers may seem to work fine, but they are very buggy. I'd > avoid them. > > > Mark Schonewille > Stephen Barncard San Francisco Ca. USA more about sqb From eric.miclo at wanadoo.fr Wed Aug 25 12:13:17 2010 From: eric.miclo at wanadoo.fr (=?iso-8859-1?Q?=C9ric_Miclo?=) Date: Wed, 25 Aug 2010 18:13:17 +0200 Subject: drawer stack In-Reply-To: References: <234970E8-009F-4EDA-A6AC-C53FD07289F3@major.on-rev.com> Message-ID: <6D6EF2A1-F438-4B17-A5BE-B7949C79C712@wanadoo.fr> Hello, It was filled as bug #6843 on 2008-07-26 for version 3.0 and is still unconfirmed 2 years after and the dictionary for version 4.0 has not been modified. The correct syntax is : drawer stack nameOfTheStack at bottom -- left or right If you add the parent's stack reference is does not open on the chosen side. It seems that correcting the dictionary is really to much work (if reported bugs are really looked at). Best regards, ?rIC Miclo Le 25 ao?t 2010 ? 17:53, stephen barncard a ?crit : > > Hey - drawers are cool - I've got a stack where I use 3 of them (side and > bottom) and they interoperate just fine. They sometimes need a little > handholding on startup or closestack to get the open/close state correct, > but they've worked great for making available info that isn't always needed > and they have less visual disruption than an ordinary window or dialog. > > On 25 August 2010 08:05, Mark Schonewille > wrote: > >> Hi Klaus, >> >> At first sight, drawers may seem to work fine, but they are very buggy. I'd >> avoid them. >> >> >> Mark Schonewille >> > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > 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 > -- My NeXT computer will Be a Mac too! -- From klaus at major.on-rev.com Wed Aug 25 12:17:45 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 25 Aug 2010 18:17:45 +0200 Subject: drawer stack In-Reply-To: <6D6EF2A1-F438-4B17-A5BE-B7949C79C712@wanadoo.fr> References: <234970E8-009F-4EDA-A6AC-C53FD07289F3@major.on-rev.com> <6D6EF2A1-F438-4B17-A5BE-B7949C79C712@wanadoo.fr> Message-ID: <6D80B46A-7ABD-49BC-86A9-A044270C2DE6@major.on-rev.com> Hi all, Am 25.08.2010 um 18:13 schrieb ?ric Miclo: > Hello, > > It was filled as bug #6843 on 2008-07-26 for version 3.0 and is still unconfirmed 2 years after and the dictionary for version 4.0 has not been modified. > The correct syntax is : > drawer stack nameOfTheStack at bottom -- left or right > > If you add the parent's stack reference is does not open on the chosen side. Ah, well, yes, I remember and also the workaround to make this work! You have to set the defaultstack first to the stack where you want to attach the drawer! So for William this should work: ... set the defaultstack to "Clients" drawer stack "consignees" at right aligned to top ... > It seems that correcting the dictionary is really to much work (if reported bugs are really looked at). > > Best regards, > > ?rIC Miclo Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bill at bluewatermaritime.com Wed Aug 25 13:16:07 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 25 Aug 2010 13:16:07 -0400 Subject: drawer stack In-Reply-To: <6D80B46A-7ABD-49BC-86A9-A044270C2DE6@major.on-rev.com> References: <234970E8-009F-4EDA-A6AC-C53FD07289F3@major.on-rev.com> <6D6EF2A1-F438-4B17-A5BE-B7949C79C712@wanadoo.fr> <6D80B46A-7ABD-49BC-86A9-A044270C2DE6@major.on-rev.com> Message-ID: Thanks. Setting the default stack solved the problem. Without doing that first it didn't do anything. I like the drawer stack effect a lot. I also think the dictionary is pretty important and should be updated and consideration should be made for the percentage of windows and Mac OS X users compared to the OS 9 and OS 8 users which it is nice that they are supported but I can't believe there are that many. On Wed, Aug 25, 2010 at 12:17 PM, Klaus on-rev wrote: > set the defaultstack to "Clients" > drawer stack "consignees" at right aligned to top -- http://www.bluewatermaritime.com From jhurley0305 at sbcglobal.net Wed Aug 25 14:37:14 2010 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Wed, 25 Aug 2010 11:37:14 -0700 Subject: Converting to title case In-Reply-To: <20100825124948.8233E288212@mail.runrev.com> References: <20100825124948.8233E288212@mail.runrev.com> Message-ID: <5E29BC34-FD1D-4888-A964-E1A38EEC53BF@sbcglobal.net> I do a lot of election database work for local candidates. The DB comes from the county and is quite large. All the data is upper case which I find ugly on a campaign mailer label. I have a stack (below) which converts a text field to Title Case which, for my purposes, is a capital letter after every appearance of a white space. I know there are some sneaky ascii codes out there that masquerade as white spaced. Are there some I should consider besides: ' space return enter tab (I handle proper names like MacDonald, O'Connors separately when constructing label data for campaign mailers. Within RunRev I construct a Google search put "http://www.google.com/search?q=" & tLastName into tName get url tName and then parse "it" for capitalization of the name in question. A little slow, but it works well enough. God, I love RunRev's versatility.) So any suggestions for sneaky white spaces to look out for? JIm on mouseUp put field 2 into tList put toLower(tList) into tList --Define white spaces put tab,return,cr,enter,space into tWhiteSpaces --Are these all I should look out for? repeat for each item tItem in tWhiteSpaces put true into aWhiteSpace[tItem] end repeat --Insert capital after white space put space into tPrevious repeat for each char tChar in tList switch case aWhiteSpace[tPrevious] put toUpper(tChar) after results break default put tChar after results end switch put tChar into tPrevious end repeat put results into field 3 end mouseUp From andre at andregarzia.com Wed Aug 25 14:44:01 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 25 Aug 2010 15:44:01 -0300 Subject: Converting to title case In-Reply-To: <5E29BC34-FD1D-4888-A964-E1A38EEC53BF@sbcglobal.net> References: <20100825124948.8233E288212@mail.runrev.com> <5E29BC34-FD1D-4888-A964-E1A38EEC53BF@sbcglobal.net> Message-ID: jim, why not this: put fld "list" into tContent repeat for each word tName in tContent replace tName with (toUpper(char 1 of tName) & toLower(char 2 to -1 of tName)) end repeat This will capitalize all your names right? -- http://www.andregarzia.com All We Do Is Code. From katir at hindu.org Wed Aug 25 15:26:44 2010 From: katir at hindu.org (Web Admin Himalayan Academy) Date: Wed, 25 Aug 2010 09:26:44 -1000 Subject: The State of the Art of Auto Upgrading - How do You Do It? In-Reply-To: References: <4C74ACE5.9050602@hindu.org> Message-ID: <4C756E74.7040606@hindu.org> Hmmm... you refer to MagicCarpet, but are you really talking about altSplash? Can we get the latest version you are using? I have your 2003 version and your stack script documentation was so thorough that anyone could use it. (thanks for that!) you talking about altSplas?On 8/25/10 12:42 AM, Chipp Walters wrote: > Hi Sivakatirswami, > > Yes, I still use MagicCarpet for all my projects. It does have Proxy support > for NTLM and Basic Authentication. Chris wrote the NTML.dll for Windows. > > It also has an updatable plugin architecture, along with support for > updating externals, and virtually any file. It also can update certain files > on Macs and other files on Windows. > > It generally takes me an hour or so to get everything setup at the > beginning, including a standalone with icon and splash screen design and > server setup. If you recall, the whole idea is the splash screen app ONLY > checks for updates to itself and the Main stack-- and the Main stack checks > for updates for all other files, including plugins, externals and any other > files. > > I haven't really looked into other mechanisms. I do have a single button > "check for updates" which is a subset of MagicCarpet and I copy/paste the > button from altPlugin stack to altPlugin stack, and a single press checks > and updates the stack. I also use it for many tools, not finished apps, > which use a basic Launcher.exe which looks in the same folder for a rev > stack and launches the first one it comes across. This way a single Launcher > can be used over and over for utilities. The issue is this engine doesn't > know how to update itself, only the stacks with the 'check for updates' > button does. > > I can upload the single button code if anyone is interested. > > HTH, > > 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 katir at hindu.org Wed Aug 25 15:32:19 2010 From: katir at hindu.org (Web Admin Himalayan Academy) Date: Wed, 25 Aug 2010 09:32:19 -1000 Subject: The State of the Art of Auto Upgrading - How do You Do It? In-Reply-To: References: <4C74ACE5.9050602@hindu.org> Message-ID: <4C756FC3.50604@hindu.org> Chipp, I see last mod dates of 8/25... did you update the pages/files? On 8/25/10 5:04 AM, stephen barncard wrote: > Thanks, Chipp, > > btw, > The download inks there are broken. > > sqb > > On 25 August 2010 03:52, Chipp Walters wrote: > >> Here's a very old website which describes how MagicCarpet works: >> http://www.altuit.com/webs/altuit2/MagicCarpetAAA/default.htm >> >> The files are old-- I should update with newer files. But the theory is the >> same. Plus, I've added a new plugin to make configuration a bit easier. >> _______________________________________________ >> 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 Wed Aug 25 16:32:52 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Wed, 25 Aug 2010 13:32:52 -0700 Subject: Create HTML file from rev app In-Reply-To: <4C74D803.70402@fourthworld.com> References: <4C74D803.70402@fourthworld.com> Message-ID: <804216B9-7B26-4DE3-96B6-330F80B938AC@yahoo.com> In HTML, these two chars work the same " ' dbl single if you start a string with a single quote, it continues until the next single quote if you start a string with a dbl quote, it continues until the next dbl quote so var = 'a phrase containing a " char is kept intact' without escaping or the " entity so use the double quote for Rev and the single quote for HTML code -A- Without using merge() function get empty get IT & " & fld link & "" get IT & "

" put IT after tData ---- the output is valid code and a clickable link google.com

-B- using the merge function put merge( \ "[[fld link]]

" \ ) after tData ---- the output is valid code and a clickable link
google.com

Jim Ault Las Vegas > On Aug 25, 2010, at 1:44 AM, Richard Gaskin wrote: > William de Smet wrote: > >> It's been a while since my last question but working hard on some >> apps. >> For my daily job I needed a quick app to create a HTML file. In the >> app I have some fields and in one of them I put a URL (just >> www.domainname.com). >> In some hidden fields I put the needed HTML and the all come together >> when I save the file. >> All works fine but when I look at the sourcecode in IE8 or Safari the >> HTML isn't completely correct. >> In a link it misses the quotes (") at the beginning or the end of >> the URL. >> >> What I do is this: >> put "> >" >> & fld "link" &"" & "<"&"br/"&">" & "<"&"br/"&">" after tData > > You've discovered why I hate concatenating HTML in xTalks. ;) > > I've found it far less tedious to just write the HMTL as I want it > in the final output and use the merge function to assemble the > dynamic parts. > > For example, you could have this in a field named "template": > > [[fld "link"]] a>

> > ...and then just use this to get the assembled output: > > put merge(fld "template") into tData > > Check out the merge function in the RevTalk dictionary. It's a life- > saver for tasks like this (and a good many others). > > -- From jonathandlynch at gmail.com Wed Aug 25 17:03:20 2010 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Wed, 25 Aug 2010 17:03:20 -0400 Subject: Menu button with different fonts in label and menu? In-Reply-To: <806749618-1282743625-cardhu_decombobulator_blackberry.rim.net-897515396-@bda2034.bisx.prod.on.blackberry> References: <806749618-1282743625-cardhu_decombobulator_blackberry.rim.net-897515396-@bda2034.bisx.prod.on.blackberry> Message-ID: In case anyone needs to do this, I figured out how. Create an image, with the desired label text and place it over the the pulldown menu button. Then set the disabled of the image to true. The image is not altered when it is disabled, so the button still appears to have a standard font - actually it is the image made to look like the button, but the user will not realize that. When you click on a disabled image, the click goes through to the object below. In this case, the object below is a button using wingdings font. Peace, J On Wed, Aug 25, 2010 at 9:58 AM, wrote: > Sending mouseup to a pulldown menu does not make the menu appear. Using > popup on a pulldown menu messes up the appearance of the button. This is on > an older version or Rev that I use at work. > > If you disable a field, you can click through it - but the text in the > disabled field will be grey. > > Thanks, though - do you have any other suggestions? I think I am going to > have to resort to using a substack for the menuitems of that button. > > Peace, > > J > ------Original Message------ > From: DunbarX at aol.com > Sender: use-revolution-bounces at lists.runrev.com > To: use-revolution at lists.runrev.com > ReplyTo: How to use Revolution > Subject: Re: Menu button with different fonts in label and menu? > Sent: Aug 25, 2010 8:47 AM > > When you say graying out the text, have you set the blendLevel of the field > to some number, like 50? If so, you can see the underlying object, but the > text is grayed. Try setting the "transparent" of the field instead. Then > the > text remains sharp, and only the white space is removed. > > As for letting messages through, I think you will have to script this, > sending a mouseUp to the object of interest explicitly. The lockText of the > field should be set to "true". > > Craig Newman > _______________________________________________ > 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 > > > Sent from my Verizon Wireless BlackBerry > -- Do all things with love From chipp at chipp.com Thu Aug 26 02:43:48 2010 From: chipp at chipp.com (Chipp Walters) Date: Thu, 26 Aug 2010 01:43:48 -0500 Subject: The State of the Art of Auto Upgrading - How do You Do It? In-Reply-To: <4C756FC3.50604@hindu.org> References: <4C74ACE5.9050602@hindu.org> <4C756FC3.50604@hindu.org> Message-ID: Sivakatirswami, Send me a private email and I can get you the latest. I'm really busy right now and don't have time to update the files or site. On Wednesday, August 25, 2010, Web Admin Himalayan Academy wrote: > ?Chipp, I see last mod dates of 8/25... did you update the pages/files? > > On 8/25/10 5:04 AM, stephen barncard wrote: > > Thanks, Chipp, > > btw, > The download inks there are broken. > > sqb > > On 25 August 2010 03:52, Chipp Walters ?wrote: > > > Here's a very old website which describes how MagicCarpet works: > http://www.altuit.com/webs/altuit2/MagicCarpetAAA/default.htm > > The files are old-- I should update with newer files. But the theory is the > same. Plus, I've added a new plugin to make configuration a bit easier. > _______________________________________________ > 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 eric.miclo at wanadoo.fr Thu Aug 26 05:04:00 2010 From: eric.miclo at wanadoo.fr (=?iso-8859-1?Q?=C9ric_Miclo?=) Date: Thu, 26 Aug 2010 11:04:00 +0200 Subject: Spider-web chart Message-ID: Hello, I've looked at the two Rev select chart libraries/tools, but I was looking for spider-web charts and neither ChartMaker or ChartsEngine provide something like that. Does anybody know a library that could provide such charts? Thanks, Best regards, ?rIC Miclo -- My NeXT computer will Be a Mac too! -- From sanke at hrz.uni-kassel.de Thu Aug 26 06:48:12 2010 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu, 26 Aug 2010 12:48:12 +0200 Subject: The power of despeckle-median filters: Image examples Message-ID: <4C76466C.2010601@hrz.uni-kassel.de> For those few on the list that are interested in image processing I have put together a web page demonstrating the effects of "pre-processing" images with despeckle-median filters before applying convolve-matrix filters: Using two images - "St. Remy: Van Gogh's Grove" and "Steve Jobs, the iPhone, and Medwedew"- I compare the application of three convolve-matrix filters to the pre-processed and un-preprocessed images. Seems that such combinations of filters can bring out details not to be seen in the original image - see the reflections on the iPhone surface - and also character traits of persons otherwise not immediately detectable. Regards, Wilhelm Sanke From mcgrath3 at mac.com Thu Aug 26 10:14:12 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 26 Aug 2010 10:14:12 -0400 Subject: The power of despeckle-median filters: Image examples In-Reply-To: <4C76466C.2010601@hrz.uni-kassel.de> References: <4C76466C.2010601@hrz.uni-kassel.de> Message-ID: <556E8E6F-876F-4398-8C52-FCB09DDFE3EB@mac.com> Wilhelm, Very interesting results. You say this was done via revTalk? Very nice. I like the lack of visual clutter that the preprocessing with Despeckle offers. Tom Tom McGrath III Lazy River Software http://lazyriver.on-rev.com 3mcgrath at comcast.net I Can Speak - Communication for the rest of us... http://mypad.lazyriver.on-rev.com I Can Speak on the iPad Store http://itunes.apple.com/us/app/i-can-speak/id364733279?mt=8 On Aug 26, 2010, at 6:48 AM, Wilhelm Sanke wrote: > For those few on the list that are interested in image processing I have put together a web page demonstrating the effects of "pre-processing" images with despeckle-median filters before applying convolve-matrix filters: > > > > Using two images - "St. Remy: Van Gogh's Grove" and "Steve Jobs, the iPhone, and Medwedew"- I compare the application of three convolve-matrix filters to the pre-processed and un-preprocessed images. > > Seems that such combinations of filters can bring out details not to be seen in the original image - see the reflections on the iPhone surface - and also character traits of persons otherwise not immediately detectable. > > 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 userev at canelasoftware.com Thu Aug 26 14:29:32 2010 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 26 Aug 2010 11:29:32 -0700 Subject: Asus Eee PC and Rev app In-Reply-To: <04B1C172-8E16-4491-A467-0AAA479BD651@ezpzapps.com> References: <04B1C172-8E16-4491-A467-0AAA479BD651@ezpzapps.com> Message-ID: On Aug 22, 2010, at 9:50 PM, jim sims wrote: > I have a commercial app that wouldn't work on the following machine. > So, I made a simple "Hello World" test app with Rev 3.5, simple one button, one file app that saves no data for testing where the issue might be. > > it runs fine on my XP and also my Win 7 Ultimate - no problem. > > Doesn't work at all on the following machine. > > Anyone have any thoughts on how to fix this? > > Is there anyone that has a similar machine and wouldn't mind testing a more sophisticated Rev app? > > Asus Eee PC > Intel atom ION CPU 330 1.60GHz > 2Gb RAM > running windows 7 home premium > > sims I am getting into this a little late, but I have Asus T91 systems over here. I can test your software if it would help. Best regards, Mark Talluto http://www.canelasoftware.com From userev at canelasoftware.com Thu Aug 26 14:32:36 2010 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 26 Aug 2010 11:32:36 -0700 Subject: The power of despeckle-median filters: Image examples In-Reply-To: <4C76466C.2010601@hrz.uni-kassel.de> References: <4C76466C.2010601@hrz.uni-kassel.de> Message-ID: <94EDB375-D389-4757-8EEF-BB60AB63EA2D@canelasoftware.com> On Aug 26, 2010, at 3:48 AM, Wilhelm Sanke wrote: > For those few on the list that are interested in image processing I have put together a web page demonstrating the effects of "pre-processing" images with despeckle-median filters before applying convolve-matrix filters: > > > > Using two images - "St. Remy: Van Gogh's Grove" and "Steve Jobs, the iPhone, and Medwedew"- I compare the application of three convolve-matrix filters to the pre-processed and un-preprocessed images. > > Seems that such combinations of filters can bring out details not to be seen in the original image - see the reflections on the iPhone surface - and also character traits of persons otherwise not immediately detectable. Pretty amazing stuff! Best regards, Mark Talluto http://www.canelasoftware.com From jonathandlynch at gmail.com Thu Aug 26 14:55:29 2010 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Thu, 26 Aug 2010 14:55:29 -0400 Subject: Menu button with different fonts in label and menu? In-Reply-To: References: <806749618-1282743625-cardhu_decombobulator_blackberry.rim.net-897515396-@bda2034.bisx.prod.on.blackberry> Message-ID: I am just putting this in, in case someone needs to do this in the future. This script creates a disabled image of the button, slightly cropped in, and places it in the spot on the button where it should go. This way, you can then go in and change the font of the button to a symbol or wingding font, and the button will still appear to have a label with a standard font. This is the script: on mousedown tButton if (tButton = 3) and (the environment = "development") and (the commandkey is down) then put the short name of me into tName if exists(image (tName & "-Button Image")) = true then delete image (tName & "-Button Image") end if put 3 into tCropAmount put the rect of me into tRect put item 1 of tRect into tLeft put item 2 of tRect into tTop put item 3 of tRect into tRight put item 4 of tRect into tBottom put tLeft + tCropAmount into tNewLeft put tTop + tCropAmount into tNewTop put the left of this stack into tStackLeft put the Top of this stack into tStackTop put (tCropAmount + tStackLeft + tLeft) into tLeft put (tCropAmount + tStackTop + tTop) into tTop put (tStackLeft + tRight - tCropAmount) into tRight put (tStackTop + tBottom - tCropAmount) into tBottom import snapshot from rect tLeft,tTop,tRight,tBottom put the id of the last image of this stack into tImageID put the owner of me into tOwner if word 1 of tOwner = "Group" then put the short name of the owner of me into tGroupName Copy image id tImageID to group tGroupName put the id of it into tNewID delete image id tImageID put tNewID into tImageID end if set the name of image id tImageID to tName & "-Button Image" set the topleft of image ID tImageID to tNewLeft,tNewTop set the disabled of image id tImageID to true else pass mousedown end if end mousedown Peace, J On Wed, Aug 25, 2010 at 5:03 PM, Jonathan Lynch wrote: > In case anyone needs to do this, I figured out how. > > Create an image, with the desired label text and place it over the the > pulldown menu button. Then set the disabled of the image to true. The image > is not altered when it is disabled, so the button still appears to have a > standard font - actually it is the image made to look like the button, but > the user will not realize that. When you click on a disabled image, the > click goes through to the object below. In this case, the object below is a > button using wingdings font. > > Peace, > > J > > On Wed, Aug 25, 2010 at 9:58 AM, wrote: > >> Sending mouseup to a pulldown menu does not make the menu appear. Using >> popup on a pulldown menu messes up the appearance of the button. This is on >> an older version or Rev that I use at work. >> >> If you disable a field, you can click through it - but the text in the >> disabled field will be grey. >> >> Thanks, though - do you have any other suggestions? I think I am going to >> have to resort to using a substack for the menuitems of that button. >> >> Peace, >> >> J >> ------Original Message------ >> From: DunbarX at aol.com >> Sender: use-revolution-bounces at lists.runrev.com >> To: use-revolution at lists.runrev.com >> ReplyTo: How to use Revolution >> Subject: Re: Menu button with different fonts in label and menu? >> Sent: Aug 25, 2010 8:47 AM >> >> When you say graying out the text, have you set the blendLevel of the >> field >> to some number, like 50? If so, you can see the underlying object, but the >> text is grayed. Try setting the "transparent" of the field instead. Then >> the >> text remains sharp, and only the white space is removed. >> >> As for letting messages through, I think you will have to script this, >> sending a mouseUp to the object of interest explicitly. The lockText of >> the >> field should be set to "true". >> >> Craig Newman >> _______________________________________________ >> 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 >> >> >> Sent from my Verizon Wireless BlackBerry >> > > > > -- > Do all things with love > -- Do all things with love From andrew at rjdfarm.com Thu Aug 26 15:10:57 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Thu, 26 Aug 2010 12:10:57 -0700 (PDT) Subject: DataGrid Error: Trying to Load a Grid on Program Start Message-ID: <1282849857055-2340227.post@n4.nabble.com> Hey all, I have two datagrids that save the data within them to the disk when it is changed and reloads from the file on program start. The files they save are tab delimited lines with the headers in line one. This the output of the grid's dgText. On load, if the files are empty except for headers it sets the dgData to of this grid to empty. The calls to load the files from disk appears in the Stack Script and the grids themselves are on a card called "LocalData". I get the following errors whether I set the data to empty or set it to the data that is on the disk. Type: Object: can't set object property Object: group "AddTickets" of card "LocalData" of stack "C:/FarmOffice/GrainCart/GrainCart.rev" Line: set the dgData of me to empty Line Num: 0 Hint: -8 AND 354,0,0,-8 90,4128,20 449,4128,5,-8 535,4128,1,-8 241,4128,1,_table.CreateDefaultHeaderGroup 353,0,0,button id 1005 of group id 1004 of card id 1002 of stack "C:/FarmOffice/GrainCart/Externals/revdatagridlibrary.rev" 573,4049,1 253,4048,1 253,4047,1 490,4045,1 241,4045,1,_table.CreateHeaders 353,0,0,button id 1005 of group id 1004 of card id 1002 of stack "C:/FarmOffice/GrainCart/Externals/revdatagridlibrary.rev" 573,3951,1 241,3951,1,_table.CreateColumns 353,0,0,button id 1005 of group id 1004 of card id 1002 of stack "C:/FarmOffice/GrainCart/Externals/revdatagridlibrary.rev" 573,151,1 253,150,1 253,113,1 241,113,1,_Initialize 353,0,0,button id 1005 of group id 1004 of card id 1002 of stack "C:/FarmOffice/GrainCart/Externals/revdatagridlibrary.rev" 573,4512,18 253,4512,1 241,4512,1,dgData 353,0,0,button id 1005 of group id 1004 of card id 1002 of stack "C:/FarmOffice/GrainCart/Externals/revdatagridlibrary.rev" 90,3205,36 449,3205,5 535,3205,1 241,3205,1,_table.SetText 353,0,0,button id 1005 of group id 1004 of card id 1002 of stack "C:/FarmOffice/GrainCart/Externals/revdatagridlibrary.rev" 573,4442,1 587,4440,1 I have tried two different methods for clearing the data to see if it was how I was doing it that was causing the errors instead of what I was doing: 1. I tried using set the dgData of group "AddTickets" of card "LocalData" to empty This failed. 2. I tried putting a command inside of the datagrid that has this code in it. on ClearData set the dgData of me to empty end ClearData The code I used to call the handler inside the grid was: send "ClearData" to group "AddTickets" of card "LocalData" I even tried sending the above command in 3 seconds to see if it was that I had not properly initialized something when it was executed. The bizarre thing is that I have a third datagrid that holds the last Live records in the database and setting it up in all of the above ways mentioned works perfectly. Whats the deal?? I have been pulling my hair out. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/DataGrid-Error-Trying-to-Load-a-Grid-on-Program-Start-tp2340227p2340227.html Sent from the Revolution - User mailing list archive at Nabble.com. From francois.chaplais at mines-paristech.fr Thu Aug 26 16:11:36 2010 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Thu, 26 Aug 2010 22:11:36 +0200 Subject: The power of despeckle-median filters: Image examples In-Reply-To: <4C76466C.2010601@hrz.uni-kassel.de> References: <4C76466C.2010601@hrz.uni-kassel.de> Message-ID: <22E002CA-75DF-408F-A2B2-3E1C8E40C0E3@mines-paristech.fr> Did you use integer or floating points for this? And I how did you implement convolution (FFT?)? I would like to implement a simple wavelet processing demo on the web using iRev. Very best Fran?ois Le 26 ao?t 2010 ? 12:48, Wilhelm Sanke a ?crit : > For those few on the list that are interested in image processing I have put together a web page demonstrating the effects of "pre-processing" images with despeckle-median filters before applying convolve-matrix filters: > > > > Using two images - "St. Remy: Van Gogh's Grove" and "Steve Jobs, the iPhone, and Medwedew"- I compare the application of three convolve-matrix filters to the pre-processed and un-preprocessed images. > > Seems that such combinations of filters can bring out details not to be seen in the original image - see the reflections on the iPhone surface - and also character traits of persons otherwise not immediately detectable. > > 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 andrew at rjdfarm.com Thu Aug 26 16:11:42 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Thu, 26 Aug 2010 13:11:42 -0700 (PDT) Subject: DataGrid Error: Trying to Load a Grid on Program Start In-Reply-To: <1282849857055-2340227.post@n4.nabble.com> References: <1282849857055-2340227.post@n4.nabble.com> Message-ID: <1282853502369-2340304.post@n4.nabble.com> Another set of attempts were all failures. This time I put the code to load the file into the DataGrid inside of the datagrid. I recieved the same errors when trying to call that handler from the stack or any other card script. So I made a set of buttons on card "LocalData" to send the data load message to the grids. This works fine. I tried to send a mouseup to these buttons from the stack and card scripts. This returns the same error. I don't get it. Why does this work in a button and not a stack or card script? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/DataGrid-Error-Trying-to-Load-a-Grid-on-Program-Start-tp2340227p2340304.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Thu Aug 26 16:15:48 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 26 Aug 2010 13:15:48 -0700 Subject: Mark V. Shaney algorithm In-Reply-To: <98C49E11-18AD-47FE-9EDC-9C2F1B4DDB5D@mac.com> References: <1282254833937-2331932.post@n4.nabble.com> <22296F57-8696-4113-B373-63160DBF0BF2@twft.com> <98C49E11-18AD-47FE-9EDC-9C2F1B4DDB5D@mac.com> Message-ID: <73738B77-E710-4B28-9721-1C80E8526B89@twft.com> Hah! My post was tongue in cheek. :-) BOB On Aug 22, 2010, at 1:36 AM, Bj?rnke von Gierke wrote: > You guys are doing it wrong. This is not about creating meaningful sentences out of books. instead it creates human seeming sentences on technical forums. For example I gave it the reply to richmond from me (my last post which is rather long with all the re: re: ...). Out of that it created seemingly helpful text bytes, that could come from a bad english speaker trying to help resolve the graphic card problem (and some weird ones of course). Most of those sentences could be taken as a genuine human trying to help, especially if they're spread out over several mails, and buffered with other stuff. > > > ? If so, might check the little cable for that is connected. > ? No, this is the card you replaced with is compatible with the version of g4 you have? > ? If so, might check the little cable for that is connected. > ? Peter Actually I am very close to tears. > ? On Sat, Aug 21, 2010 at 7:49 AM, Mike Bonner wrote: Wow, just read my own message. > ? This is a "Bad Idea" (c) 2010 as continuing to run with marginal power supply to handle, but if you waited long enough for the drives and initialize the rest of the hardware. > ? if you're unlucky, it's not the card you ordered really compatible with your mac? > ? Does the keyboard light up with the old atari st, after years of service then tended to turn into paperweights. > ? I've seen machines where you turn them on, and the ill-mannered one is setup for remote admin, can you confirm that its not actually up? > ? I suggest checking: is the card that's broken, but some other part, like the Mainboard or CPU. > > > > On 20 Aug 2010, at 18:14, Bob Sneidar wrote: > >> I gave it the first few verses in Genesis. It couldn't do any better. >> >> Bob >> >> >> On Aug 19, 2010, at 2:53 PM, Alejandro Tejada wrote: >> >>> >>> Hi all, >>> >>> Take a look at this webpage: >>> >>> http://www.yisongyue.com/shaney/ >>> >>> Have anyone created such code in revTalk? >>> >>>> From Wikipedia: >>> "Mark V Shaney is a fake Usenet user whose postings were >>> generated by using Markov chain techniques." >>> "The name is a play on the words "Markov chain". Many readers >>> were fooled into thinking that the quirky, sometimes uncannily >>> topical posts were written by a real person." >>> >>> Thanks in advance! >>> >>> Al > > _______________________________________________ > 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 bobs at twft.com Thu Aug 26 16:16:56 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 26 Aug 2010 13:16:56 -0700 Subject: [OT] Dead Video and no keyboard In-Reply-To: <4C6F84DA.2090103@gmail.com> References: <4C6ED6E6.100@gmail.com> <15246064359.20100820123939@ahsoftware.net> <4C6F84DA.2090103@gmail.com> Message-ID: <3C52664C-594A-4C7B-BA16-D7E67EA45E20@twft.com> I have a schematic of the first Fat Mac. Would that help? ;-) Bob On Aug 21, 2010, at 12:48 AM, Richmond wrote: > Dear Mike and Mark, > > Thank you both for your advice: having reset the PMU (which was not red) on my > G4 MDD and reset all the RAM modules as well as the PCI and AGP cards I am still > only getting the 'bong'; the keyboard is non-responsive, the light on the mouse does > not light up (i.e. USB ports not functioning) and no video signal (mucked around with > about 4 different monitors). > > Is this the point where I try to find a computer engineer????? > > > _______________________________________________ > 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 bobs at twft.com Thu Aug 26 16:18:34 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 26 Aug 2010 13:18:34 -0700 Subject: [OT] Dead Video and no keyboard In-Reply-To: References: <4C6ED6E6.100@gmail.com> <15246064359.20100820123939@ahsoftware.net> <4C6F84DA.2090103@gmail.com> <1282378890111-2333324.post@n4.nabble.com> <4C6FBA95.604@gmail.com> Message-ID: None of the solo processor G4's required this to my knowledge. Bob On Aug 21, 2010, at 6:46 AM, Mike Bonner wrote: > Can the mac g4 run with a single memory chip installed? If so, you > might try playing a game of musical memory. Try 1 chip at a time and > see if you get video with a single. (don't know if it requires dual > memory banks to be filled or not) From jhurley0305 at sbcglobal.net Thu Aug 26 16:18:41 2010 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Thu, 26 Aug 2010 13:18:41 -0700 Subject: Converting to title case In-Reply-To: <20100826170004.5D9FC2880B0@mail.runrev.com> References: <20100826170004.5D9FC2880B0@mail.runrev.com> Message-ID: > > Message: 3 > Date: Wed, 25 Aug 2010 15:44:01 -0300 > From: Andre Garzia > Subject: Re: Converting to title case > To: How to use Revolution > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > jim, > > why not this: > > put fld "list" into tContent > > repeat for each word tName in tContent > replace tName with (toUpper(char 1 of tName) & toLower(char 2 to -1 > of > tName)) > end repeat > > This will capitalize all your names right? > > -- > http://www.andregarzia.com All We Do Is Code. > Andrea, Thanks for your suggestion. An interesting alternative. But don't forget the "container" at the end of the "replace" command. If the container is tContent there will be considerable overlap. For example, if tName is say "Auburn," a city in our county, and there were 1,000 instances of that word (since this is an election DB there will be thousands of instances of each city in the county) you will be replacing 1000 instance of "auburn" with "Auburn" and doing so 1000 times. That is 1,000,000 replacements--most of them of course will be substituting "Auburn" for "Auburn." What one could do is build a dictionary of the DB and then replace each incidence of each word from the dictionary. The advantage of this would be that there would be no danger of overlooking a white space that i hadn't recognized. But the down side is that it is VERY slow. I waited an hour and it hadn't finished. On the other hand, running through each character, even through there are 26,631,931 of them, takes only about 40 seconds on my very slow Mac Mini. But I only have to do it once for each new release of the election DB, so I have no incentive to optimize the script. My only worry, as I said, was that I hadn't overlooked some white spaces besides tab, space, enter and return. Jim Hurley From bobs at twft.com Thu Aug 26 16:20:04 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 26 Aug 2010 13:20:04 -0700 Subject: [OT] Dead Video and no keyboard In-Reply-To: <64321318812.20100821093354@ahsoftware.net> References: <4C6ED6E6.100@gmail.com> <15246064359.20100820123939@ahsoftware.net> <4C6F84DA.2090103@gmail.com> <1282378890111-2333324.post@n4.nabble.com> <4C6FBA95.604@gmail.com> <64321318812.20100821093354@ahsoftware.net> Message-ID: <00270B36-A1C7-444D-BECB-3F385EE1D257@twft.com> Oh, bingo yeah I forgot about that. But usually no bong. The bong is a memory test. Bob On Aug 21, 2010, at 9:33 AM, Mark Wieder wrote: > Richmond- > > Another off-the-wall thought: I've had problems with G4 machines > before where the no-video problem was actually caused by a failing > battery on the motherboard (the little one in a cradle socket). So you > might see if you can find a replacement for that or at least be able > to test the existing one. > > -- > -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 andre at andregarzia.com Thu Aug 26 16:27:58 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 26 Aug 2010 17:27:58 -0300 Subject: Converting to title case In-Reply-To: References: <20100826170004.5D9FC2880B0@mail.runrev.com> Message-ID: Jim, With that solution I used, try iterating over lines and replacing on a line per line basis. It should minimize the overhead and speed up things. Andre On Thu, Aug 26, 2010 at 5:18 PM, James Hurley wrote: > >> Message: 3 >> Date: Wed, 25 Aug 2010 15:44:01 -0300 >> From: Andre Garzia >> Subject: Re: Converting to title case >> To: How to use Revolution >> Message-ID: >> >> Content-Type: text/plain; charset=ISO-8859-1 >> >> >> jim, >> >> why not this: >> >> put fld "list" into tContent >> >> repeat for each word tName in tContent >> replace tName with (toUpper(char 1 of tName) & toLower(char 2 to -1 of >> tName)) >> end repeat >> >> This will capitalize all your names right? >> >> -- >> http://www.andregarzia.com All We Do Is Code. >> >> > Andrea, > > Thanks for your suggestion. An interesting alternative. > > But don't forget the "container" at the end of the "replace" command. If > the container is tContent there will be considerable overlap. > > For example, if tName is say "Auburn," a city in our county, and there were > 1,000 instances of that word (since this is an election DB there will be > thousands of instances of each city in the county) you will be replacing > 1000 instance of "auburn" with "Auburn" and doing so 1000 times. That is > 1,000,000 replacements--most of them of course will be substituting "Auburn" > for "Auburn." > > What one could do is build a dictionary of the DB and then replace each > incidence of each word from the dictionary. The advantage of this would be > that there would be no danger of overlooking a white space that i hadn't > recognized. But the down side is that it is VERY slow. I waited an hour and > it hadn't finished. > > On the other hand, running through each character, even through there are > 26,631,931 of them, takes only about 40 seconds on my very slow Mac Mini. > But I only have to do it once for each new release of the election DB, so I > have no incentive to optimize the script. My only worry, as I said, was that > I hadn't overlooked some white spaces besides tab, space, enter and return. > > Jim Hurley > > _______________________________________________ > 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 francois.chaplais at mines-paristech.fr Thu Aug 26 16:38:07 2010 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Thu, 26 Aug 2010 22:38:07 +0200 Subject: [OT] Dead Video and no keyboard In-Reply-To: <4C6F84DA.2090103@gmail.com> References: <4C6ED6E6.100@gmail.com> <15246064359.20100820123939@ahsoftware.net> <4C6F84DA.2090103@gmail.com> Message-ID: <19A27F45-8593-4EF1-B052-D07341F431F2@mines-paristech.fr> I do not know if this will help you, but last year I had the following problem: my 2007 macBook pro refused to boot, no chime, nothing. I had had read in some mac blogs that my mac was in a series having a defective NVIDIA graphic card. I brought the MBP to my local Apple dealer for repair; the motherboard was replaced (twice) it is now OK. My guess is that in the boot process the computer looks for a graphics card to send display orders (even though there is no actual display), and the boot process may stop here if the GPU is dead or incompatible. So if you absolutely want to keep you G4, it may only need a suitable replacement GPU. My two cents: I unterstand you G4 is a tower like machine. Why not buy a mac mini? it is not very expensive, and you may keep your display, keyboard and mouse (maybe with a mini displayport video adapter). The cheapest is 800 euros on the french apple store. Snow leopard handles very nicely OS X PPC codes with the (downloadable) Rosetta. You will have to say bye bye to pre OS X programs, though. Best regards, Fran?ois Le 21 ao?t 2010 ? 09:48, Richmond a ?crit : > Dear Mike and Mark, > > Thank you both for your advice: having reset the PMU (which was not red) on my > G4 MDD and reset all the RAM modules as well as the PCI and AGP cards I am still > only getting the 'bong'; the keyboard is non-responsive, the light on the mouse does > not light up (i.e. USB ports not functioning) and no video signal (mucked around with > about 4 different monitors). > > Is this the point where I try to find a computer engineer????? > > > _______________________________________________ > 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 richmondmathewson at gmail.com Thu Aug 26 17:07:05 2010 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 27 Aug 2010 00:07:05 +0300 Subject: Inserting unicodeText into a unicode string? Message-ID: <4C76D779.3040408@gmail.com> [Working on my G4 MacMini at present] So here I am with a long unicodeText string in a field and I want to put some more unicodeText inside it (where I set my cursor) . . . Adding text at the end is easy: Set the unicodeText of fld "XYZ" to the unicodeText of fld "XYZ" & numToChar(50000) Adding text at the start is easy: Set the unicodeText of fld "XYZ" to numToChar(50000) & the unicodeText of fld "XYZ" HOWEVER: I want to put my cursor somewhere in the unicodeText in fld "XYZ" and add my numToChar(50000) there . . . . Love, Richmond. From zryip.theslug at gmail.com Thu Aug 26 17:53:06 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Thu, 26 Aug 2010 23:53:06 +0200 Subject: DataGrid Error: Trying to Load a Grid on Program Start In-Reply-To: <1282849857055-2340227.post@n4.nabble.com> References: <1282849857055-2340227.post@n4.nabble.com> Message-ID: On Thu, Aug 26, 2010 at 9:10 PM, Andrew Kluthe wrote: > > Hey all, > > I have two datagrids that save the data within them to the disk when it is > changed and reloads from the file on program start. > > The files they save are tab delimited lines with the headers in line one. > This the output of the grid's dgText. On load, if the files are empty except > for headers it sets the dgData to of this grid to empty. > > The calls to load the files from disk appears in the Stack Script and the > grids themselves are on a card called "LocalData". > > I get the following errors whether I set the data to empty or set it to the > data that is on the disk. > > Type: Object: can't set object property > Object: group "AddTickets" of card "LocalData" of stack > "C:/FarmOffice/GrainCart/GrainCart.rev" > Line: set the dgData of me to empty > Line Num: 0 > Hint: -8 > > > AND > > 354,0,0,-8 > 90,4128,20 > 449,4128,5,-8 > 535,4128,1,-8 > 241,4128,1,_table.CreateDefaultHeaderGroup > 353,0,0,button id 1005 of group id 1004 of card id 1002 of stack > "C:/FarmOffice/GrainCart/Externals/revdatagridlibrary.rev" > 573,4049,1 > 253,4048,1 > 253,4047,1 > 490,4045,1 > 241,4045,1,_table.CreateHeaders > 353,0,0,button id 1005 of group id 1004 of card id 1002 of stack > "C:/FarmOffice/GrainCart/Externals/revdatagridlibrary.rev" > 573,3951,1 > 241,3951,1,_table.CreateColumns > 353,0,0,button id 1005 of group id 1004 of card id 1002 of stack > "C:/FarmOffice/GrainCart/Externals/revdatagridlibrary.rev" > 573,151,1 > 253,150,1 > 253,113,1 > 241,113,1,_Initialize > 353,0,0,button id 1005 of group id 1004 of card id 1002 of stack > "C:/FarmOffice/GrainCart/Externals/revdatagridlibrary.rev" > 573,4512,18 > 253,4512,1 > 241,4512,1,dgData > 353,0,0,button id 1005 of group id 1004 of card id 1002 of stack > "C:/FarmOffice/GrainCart/Externals/revdatagridlibrary.rev" > 90,3205,36 > 449,3205,5 > 535,3205,1 > 241,3205,1,_table.SetText > 353,0,0,button id 1005 of group id 1004 of card id 1002 of stack > "C:/FarmOffice/GrainCart/Externals/revdatagridlibrary.rev" > 573,4442,1 > 587,4440,1 > > > I have tried two different methods for clearing the data to see if it was > how I was doing it that was causing the errors instead of what I was doing: > > 1. I tried using > > set the dgData of group "AddTickets" of card "LocalData" to empty > > This failed. > > 2. I tried putting a command inside of the datagrid that has this code in > it. > > on ClearData > set the dgData of me to empty > end ClearData > > The code I used to call the handler inside the grid was: > send "ClearData" to group "AddTickets" of card "LocalData" > > I even tried sending the above command in 3 seconds to see if it was that I > had not properly initialized something when it was executed. > > > The bizarre thing is that I have a third datagrid that holds the last Live > records in the database and setting it up in all of the above ways mentioned > works perfectly. > > Whats the deal?? I have been pulling my hair out. > > -- Hi Andrew, If I understand well you try to set the content of a datagrid to a value, and this datagrid is not in a card you load by going in it? A datagrid is loaded only if you go physically in its card. It's because the datagrid object is fully initialize when it can execute its preopencontrol event. The trick here is to go to the card "LocalData" at startup to preload the datagrid "AddTickets" then you can set it to empty or to the value you need. Example: on preOpenStack go to cd "LocalData" -- load the datagrid in this card go to first cd set the dgData of grp "AddTickets" to empty end preOpenStack Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From zryip.theslug at gmail.com Thu Aug 26 17:55:24 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Thu, 26 Aug 2010 23:55:24 +0200 Subject: DataGrid Error: Trying to Load a Grid on Program Start In-Reply-To: References: <1282849857055-2340227.post@n4.nabble.com> Message-ID: On Thu, Aug 26, 2010 at 11:53 PM, zryip theSlug wrote: > on preOpenStack > go to cd "LocalData" -- load the datagrid in this card > go to first cd > set the dgData of grp "AddTickets" to empty > end preOpenStack I correct myself: on preOpenStack go to cd "LocalData" -- load the datagrid in this card go to first cd set the dgData of grp "AddTickets" of cd "LocalData" to empty end preOpenStack -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From monte at sweattechnologies.com Thu Aug 26 18:50:14 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 27 Aug 2010 08:50:14 +1000 Subject: Determining LAN IP Message-ID: <4F6FFE22-38F6-43D2-879A-30287F658164@sweattechnologies.com> Hi Everyone To determine the domain name of the computer Rev is running on we use hostName() and to turn that into an IP we use hostNameToAddress(hostName()). If you are behind a router this will return your LAN IP however if your computer is using a modem it will return a public IP. I need a reliable LAN IP so I can ask the user to enter it into their iPhone to connect to my sync server. Should I just be parsing ifconfig and ipconfig and forget about hostName() or what? Cheers Monte From m.schonewille at economy-x-talk.com Thu Aug 26 18:54:48 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 27 Aug 2010 00:54:48 +0200 Subject: Determining LAN IP In-Reply-To: <4F6FFE22-38F6-43D2-879A-30287F658164@sweattechnologies.com> References: <4F6FFE22-38F6-43D2-879A-30287F658164@sweattechnologies.com> Message-ID: <4BE67A87-600A-4EFF-A4A8-7C4A2CA78220@economy-x-talk.com> Hi Monte, Does hostnametoaddress("localhost") work for you? -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 27 aug. 2010 om 00:50 heeft Monte Goulding het volgende geschreven: > Hi Everyone > > To determine the domain name of the computer Rev is running on we use hostName() and to turn that into an IP we use hostNameToAddress(hostName()). If you are behind a router this will return your LAN IP however if your computer is using a modem it will return a public IP. I need a reliable LAN IP so I can ask the user to enter it into their iPhone to connect to my sync server. Should I just be parsing ifconfig and ipconfig and forget about hostName() or what? > > Cheers > > Monte_______________________________________________ > 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 Aug 26 18:57:03 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Thu, 26 Aug 2010 15:57:03 -0700 Subject: Determining LAN IP In-Reply-To: <4F6FFE22-38F6-43D2-879A-30287F658164@sweattechnologies.com> References: <4F6FFE22-38F6-43D2-879A-30287F658164@sweattechnologies.com> Message-ID: You could just ping whatIsMyIp.com On Aug 26, 2010, at 3:50 PM, Monte Goulding wrote: > Hi Everyone > > To determine the domain name of the computer Rev is running on we > use hostName() and to turn that into an IP we use > hostNameToAddress(hostName()). If you are behind a router this will > return your LAN IP however if your computer is using a modem it will > return a public IP. I need a reliable LAN IP so I can ask the user > to enter it into their iPhone to connect to my sync server. Should I > just be parsing ifconfig and ipconfig and forget about hostName() or > what? Jim Ault Las Vegas From monte at sweattechnologies.com Thu Aug 26 19:20:59 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 27 Aug 2010 09:20:59 +1000 Subject: Determining LAN IP In-Reply-To: References: <4F6FFE22-38F6-43D2-879A-30287F658164@sweattechnologies.com> Message-ID: Unfortunately not because that will return a public IP. Nothing on the WAN should be able to determine the LAN IP. Cheers Monte On 27/08/2010, at 8:57 AM, Jim Ault wrote: > You could just ping whatIsMyIp.com > > On Aug 26, 2010, at 3:50 PM, Monte Goulding wrote: > >> Hi Everyone >> >> To determine the domain name of the computer Rev is running on we use hostName() and to turn that into an IP we use hostNameToAddress(hostName()). If you are behind a router this will return your LAN IP however if your computer is using a modem it will return a public IP. I need a reliable LAN IP so I can ask the user to enter it into their iPhone to connect to my sync server. Should I just be parsing ifconfig and ipconfig and forget about hostName() or what? > > 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 monte at sweattechnologies.com Thu Aug 26 19:26:03 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 27 Aug 2010 09:26:03 +1000 Subject: Determining LAN IP In-Reply-To: <4BE67A87-600A-4EFF-A4A8-7C4A2CA78220@economy-x-talk.com> References: <4F6FFE22-38F6-43D2-879A-30287F658164@sweattechnologies.com> <4BE67A87-600A-4EFF-A4A8-7C4A2CA78220@economy-x-talk.com> Message-ID: Hi Mark That will always return 127.0.0.1 which if entered into the iPhone would make the iPhone want to sync with itself. I need a local network IP. Cheers Monte On 27/08/2010, at 8:54 AM, Mark Schonewille wrote: > Hi Monte, > > Does > > hostnametoaddress("localhost") > > work for you? > > -- > Kind regards, > > Mark Schonewille > Economy-x-Talk > Http://economy-x-talk.com > > Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com > > > Op 27 aug. 2010 om 00:50 heeft Monte Goulding het volgende geschreven: > >> Hi Everyone >> >> To determine the domain name of the computer Rev is running on we use hostName() and to turn that into an IP we use hostNameToAddress(hostName()). If you are behind a router this will return your LAN IP however if your computer is using a modem it will return a public IP. I need a reliable LAN IP so I can ask the user to enter it into their iPhone to connect to my sync server. Should I just be parsing ifconfig and ipconfig and forget about hostName() or what? >> >> Cheers >> >> Monte_______________________________________________ >> 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 andre at andregarzia.com Thu Aug 26 19:26:27 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 26 Aug 2010 20:26:27 -0300 Subject: Determining LAN IP In-Reply-To: References: <4F6FFE22-38F6-43D2-879A-30287F658164@sweattechnologies.com> Message-ID: Monte, Go for the parsing of ifconfig, I think it is the easier one. :D On Thu, Aug 26, 2010 at 8:20 PM, Monte Goulding wrote: > Unfortunately not because that will return a public IP. Nothing on the WAN > should be able to determine the LAN IP. > > Cheers > > Monte > > On 27/08/2010, at 8:57 AM, Jim Ault wrote: > > > You could just ping whatIsMyIp.com > > > > On Aug 26, 2010, at 3:50 PM, Monte Goulding wrote: > > > >> Hi Everyone > >> > >> To determine the domain name of the computer Rev is running on we use > hostName() and to turn that into an IP we use hostNameToAddress(hostName()). > If you are behind a router this will return your LAN IP however if your > computer is using a modem it will return a public IP. I need a reliable LAN > IP so I can ask the user to enter it into their iPhone to connect to my sync > server. Should I just be parsing ifconfig and ipconfig and forget about > hostName() or what? > > > > 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 > > _______________________________________________ > 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 jimaultwins at yahoo.com Thu Aug 26 19:29:11 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Thu, 26 Aug 2010 16:29:11 -0700 Subject: Determining LAN IP In-Reply-To: <4BE67A87-600A-4EFF-A4A8-7C4A2CA78220@economy-x-talk.com> References: <4F6FFE22-38F6-43D2-879A-30287F658164@sweattechnologies.com> <4BE67A87-600A-4EFF-A4A8-7C4A2CA78220@economy-x-talk.com> Message-ID: <29335552-0FB8-44B2-9E82-E3BE288983EE@yahoo.com> On Aug 26, 2010, at 3:54 PM, Mark Schonewille wrote: > Hi Monte, > > Does > > hostnametoaddress("localhost") I get "127.0.0.1" which is my cpu, which is what I would expect. > > work for you? > > > Op 27 aug. 2010 om 00:50 heeft Monte Goulding > het volgende geschreven: > >> Hi Everyone >> >> To determine the domain name of the computer Rev is running on we >> use hostName() and to turn that into an IP we use >> hostNameToAddress(hostName()). If you are behind a router this will >> return your LAN IP however if your computer is using a modem it >> will return a public IP. I need a reliable LAN IP so I can ask the >> user to enter it into their iPhone to connect to my sync server. >> Should I just be parsing ifconfig and ipconfig and forget about >> hostName() or what? >> Jim Ault Las Vegas From monte at sweattechnologies.com Thu Aug 26 19:29:11 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 27 Aug 2010 09:29:11 +1000 Subject: Determining LAN IP In-Reply-To: References: <4F6FFE22-38F6-43D2-879A-30287F658164@sweattechnologies.com> Message-ID: <99E2969F-AB05-4DE0-B8F9-5B9870AE9464@sweattechnologies.com> Yeah, that was what I was thinking I would have to do... :-) Cheers Monte On 27/08/2010, at 9:26 AM, Andre Garzia wrote: > Monte, > > Go for the parsing of ifconfig, I think it is the easier one. > > :D From andre at andregarzia.com Thu Aug 26 19:30:01 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 26 Aug 2010 20:30:01 -0300 Subject: Determining LAN IP In-Reply-To: <29335552-0FB8-44B2-9E82-E3BE288983EE@yahoo.com> References: <4F6FFE22-38F6-43D2-879A-30287F658164@sweattechnologies.com> <4BE67A87-600A-4EFF-A4A8-7C4A2CA78220@economy-x-talk.com> <29335552-0FB8-44B2-9E82-E3BE288983EE@yahoo.com> Message-ID: On Thu, Aug 26, 2010 at 8:29 PM, Jim Ault wrote: > > On Aug 26, 2010, at 3:54 PM, Mark Schonewille wrote: > > Hi Monte, >> >> Does >> >> hostnametoaddress("localhost") >> > > I get "127.0.0.1" which is my cpu, which is what I would expect. > Jim, that is loopback it is useless for anything trying to connect to your machine... > > >> work for you? >> >> >> >> Op 27 aug. 2010 om 00:50 heeft Monte Goulding < >> monte at sweattechnologies.com> het volgende geschreven: >> >> Hi Everyone >>> >>> To determine the domain name of the computer Rev is running on we use >>> hostName() and to turn that into an IP we use hostNameToAddress(hostName()). >>> If you are behind a router this will return your LAN IP however if your >>> computer is using a modem it will return a public IP. I need a reliable LAN >>> IP so I can ask the user to enter it into their iPhone to connect to my sync >>> server. Should I just be parsing ifconfig and ipconfig and forget about >>> hostName() or what? >>> >>> > 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 > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Thu Aug 26 19:33:21 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 26 Aug 2010 20:33:21 -0300 Subject: Determining LAN IP In-Reply-To: <99E2969F-AB05-4DE0-B8F9-5B9870AE9464@sweattechnologies.com> References: <4F6FFE22-38F6-43D2-879A-30287F658164@sweattechnologies.com> <99E2969F-AB05-4DE0-B8F9-5B9870AE9464@sweattechnologies.com> Message-ID: Monte, If you're in control of both applications (the iPhone one and Rev one), you can code so that they find each other without user interaction. You can use ZeroConf for that or so some brute force attempts such as looping all the local ip address range looking for each other. For example, if my Rev built-in server listen at port 9876, I can make the iPhone app find it's own ip and then go for x.x.x.1 til x.x.x.254 trying to connect on port 9876, no manual ip thing needed but could be provided if automatic lookup failed. :D On Thu, Aug 26, 2010 at 8:29 PM, Monte Goulding wrote: > Yeah, that was what I was thinking I would have to do... :-) > > Cheers > > Monte > > On 27/08/2010, at 9:26 AM, Andre Garzia wrote: > > > Monte, > > > > Go for the parsing of ifconfig, I think it is the easier one. > > > > :D > > _______________________________________________ > 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 monte at sweattechnologies.com Thu Aug 26 20:42:28 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 27 Aug 2010 10:42:28 +1000 Subject: Determining LAN IP In-Reply-To: References: <4F6FFE22-38F6-43D2-879A-30287F658164@sweattechnologies.com> <99E2969F-AB05-4DE0-B8F9-5B9870AE9464@sweattechnologies.com> Message-ID: <94F29E23-E491-4030-BA7D-18E80B5C008C@sweattechnologies.com> > For example, if my Rev built-in server listen at port 9876, I can make the > iPhone app find it's own ip and then go for x.x.x.1 til x.x.x.254 trying to > connect on port 9876, no manual ip thing needed but could be provided if > automatic lookup failed. Hmm.... I never thought of that. What about using 255.255.255.255 to broadcast to find the server? Anyone done this before? One issue is it's possible that there could be more than one sync server on the LAN although we could respond with some details so the user could choose. Cheers Monte From m.schonewille at economy-x-talk.com Thu Aug 26 20:54:21 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 27 Aug 2010 02:54:21 +0200 Subject: Inserting unicodeText into a unicode string? In-Reply-To: <4C76D779.3040408@gmail.com> References: <4C76D779.3040408@gmail.com> Message-ID: <3E911209-D075-43DD-A80A-0C7945F3FC42@economy-x-talk.com> Hi Richmond, In the openField handler or the selectionChanged handler, you need to add a script, which checks whether the number of chars/bytes before the text insertion point is even. If it isn't, move the insertion point by 1 character/byte. -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 26 aug. 2010 om 23:07 heeft Richmond het volgende geschreven: > [Working on my G4 MacMini at present] > > So here I am with a long unicodeText string in a field and I want to put some more unicodeText inside it > (where I set my cursor) . . . > > Adding text at the end is easy: > > Set the unicodeText of fld "XYZ" to the unicodeText of fld "XYZ" & numToChar(50000) > > Adding text at the start is easy: > > Set the unicodeText of fld "XYZ" to numToChar(50000) & the unicodeText of fld "XYZ" > > HOWEVER: I want to put my cursor somewhere in the unicodeText in fld "XYZ" and > add my numToChar(50000) there . . . . > > Love, Richmond. > _______________________________________________ > 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 monte at sweattechnologies.com Thu Aug 26 22:42:50 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 27 Aug 2010 12:42:50 +1000 Subject: Determining LAN IP In-Reply-To: References: <4F6FFE22-38F6-43D2-879A-30287F658164@sweattechnologies.com> <99E2969F-AB05-4DE0-B8F9-5B9870AE9464@sweattechnologies.com> Message-ID: OK, a few mods to Ken Ray's great getMACAddress function and while we implement zeroconf users can just copy the result of the function to their phone: http://goulding.ws/consulting/open-source/ PS I know there was a zeroconf external a long time ago. Is it still being maintained? Although if we require Bonjour installed on Windows we can get way with shell calls to dns-sd. Cheers Monte From andre at andregarzia.com Thu Aug 26 22:50:12 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 26 Aug 2010 23:50:12 -0300 Subject: Determining LAN IP In-Reply-To: <94F29E23-E491-4030-BA7D-18E80B5C008C@sweattechnologies.com> References: <4F6FFE22-38F6-43D2-879A-30287F658164@sweattechnologies.com> <99E2969F-AB05-4DE0-B8F9-5B9870AE9464@sweattechnologies.com> <94F29E23-E491-4030-BA7D-18E80B5C008C@sweattechnologies.com> Message-ID: Monte, Never tried broadcasting TCP but broadcasting UDP should work. You could fire some UDP packets as a kind of "ping", your client would then gather the IP from that. :D On Thu, Aug 26, 2010 at 9:42 PM, Monte Goulding wrote: > > For example, if my Rev built-in server listen at port 9876, I can make > the > > iPhone app find it's own ip and then go for x.x.x.1 til x.x.x.254 trying > to > > connect on port 9876, no manual ip thing needed but could be provided if > > automatic lookup failed. > > Hmm.... I never thought of that. What about using 255.255.255.255 to > broadcast to find the server? Anyone done this before? One issue is it's > possible that there could be more than one sync server on the LAN although > we could respond with some details so the user could choose. > > Cheers > > Monte_______________________________________________ > 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 monte at sweattechnologies.com Thu Aug 26 23:27:02 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 27 Aug 2010 13:27:02 +1000 Subject: Determining LAN IP In-Reply-To: References: <4F6FFE22-38F6-43D2-879A-30287F658164@sweattechnologies.com> <99E2969F-AB05-4DE0-B8F9-5B9870AE9464@sweattechnologies.com> <94F29E23-E491-4030-BA7D-18E80B5C008C@sweattechnologies.com> Message-ID: <1074C506-012C-413A-99E0-F835B8CDB458@sweattechnologies.com> Hmm.. we are looking at zeroconf and either writing an external or using dns-sd in shell to register. Cheers Monte On 27/08/2010, at 12:50 PM, Andre Garzia wrote: > Monte, > > Never tried broadcasting TCP but broadcasting UDP should work. You could > fire some UDP packets as a kind of "ping", your client would then gather the > IP from that. > > :D > > On Thu, Aug 26, 2010 at 9:42 PM, Monte Goulding > wrote: > >>> For example, if my Rev built-in server listen at port 9876, I can make >> the >>> iPhone app find it's own ip and then go for x.x.x.1 til x.x.x.254 trying >> to >>> connect on port 9876, no manual ip thing needed but could be provided if >>> automatic lookup failed. >> >> Hmm.... I never thought of that. What about using 255.255.255.255 to >> broadcast to find the server? Anyone done this before? One issue is it's >> possible that there could be more than one sync server on the LAN although >> we could respond with some details so the user could choose. >> >> Cheers >> >> Monte_______________________________________________ >> 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 andrew at rjdfarm.com Fri Aug 27 00:49:03 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Thu, 26 Aug 2010 21:49:03 -0700 (PDT) Subject: DataGrid Error: Trying to Load a Grid on Program Start In-Reply-To: References: <1282849857055-2340227.post@n4.nabble.com> Message-ID: <1282884543325-2340624.post@n4.nabble.com> Zryip! You are a life saver! This makes perfect sense. It was working fine when I was watching the data come in and out by opening the card with the grids on it. Right before my meeting I hid that button because the end user doesn't need to see all of that. Then the program suddenly didn't work anymore about 15 minutes from my meeting! I will show my sincere gratitude by combing finely through your latest incarnation of DGH this weekend! I have been using it alot this week! thank you thank you thank you Andrew -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/DataGrid-Error-Trying-to-Load-a-Grid-on-Program-Start-tp2340227p2340624.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Fri Aug 27 03:17:03 2010 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 27 Aug 2010 09:17:03 +0200 Subject: Inserting unicodeText into a unicode string? In-Reply-To: <3E911209-D075-43DD-A80A-0C7945F3FC42@economy-x-talk.com> References: <4C76D779.3040408@gmail.com> <3E911209-D075-43DD-A80A-0C7945F3FC42@economy-x-talk.com> Message-ID: <4C77666F.5040903@gmail.com> On 8/27/10 2:54 AM, Mark Schonewille wrote: > Hi Richmond, > > In the openField handler or the selectionChanged handler, you need to add a script, which checks whether the number of chars/bytes before the text insertion point is even. If it isn't, move the insertion point by 1 character/byte. > > > [Working on my G4 MacMini at present] >> >> So here I am with a long unicodeText string in a field and I want to put some more unicodeText inside it >> (where I set my cursor) . . . >> >> Adding text at the end is easy: >> >> Set the unicodeText of fld "XYZ" to the unicodeText of fld "XYZ"& numToChar(50000) >> >> Adding text at the start is easy: >> >> Set the unicodeText of fld "XYZ" to numToChar(50000)& the unicodeText of fld "XYZ" >> >> HOWEVER: I want to put my cursor somewhere in the unicodeText in fld "XYZ" and >> add my numToChar(50000) there . . . . >> >> Love, Richmond. >> _______________________________________________ >> 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 sanke at hrz.uni-kassel.de Fri Aug 27 04:57:34 2010 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Fri, 27 Aug 2010 10:57:34 +0200 Subject: Why...?! Message-ID: <4C777DFE.7000008@hrz.uni-kassel.de> On Thu Aug 26, 2010, Mark Schonewille m.schonewille at economy-x-talk.com wrote: > Hi, > > What is the reason again, for triggering the mouseMove message > whenever a grouped button is clicked? Twice?! > > Create stack, create button, group button, set script of group to > following script: > > on mouseMove > beep > end mouseMove > > Each click generates two beeps, one on mouseDown, one on mouseUp. Why? > > -- > Best regards, > > Mark Schonewille Hi Mark, I wouldn't bother too much about this. I suppose this is simply another of the great number of group bugs that are presently outside the scope of interest for the Revolution team. IMHO I think - given the many group bugs that prevent or impede development seriously (at least in my case) - what we need is a complete overhaul of the group object and its many irritating features. Regards, Wilhelm Sanke From andre at andregarzia.com Fri Aug 27 09:27:18 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 27 Aug 2010 10:27:18 -0300 Subject: Determining LAN IP In-Reply-To: <1074C506-012C-413A-99E0-F835B8CDB458@sweattechnologies.com> References: <4F6FFE22-38F6-43D2-879A-30287F658164@sweattechnologies.com> <99E2969F-AB05-4DE0-B8F9-5B9870AE9464@sweattechnologies.com> <94F29E23-E491-4030-BA7D-18E80B5C008C@sweattechnologies.com> <1074C506-012C-413A-99E0-F835B8CDB458@sweattechnologies.com> Message-ID: Monte, There was an external called RevZeroConf, it is outdated but might work. I will look into my archives to see if I can dig it out (it was three machines ago but there's a chance it came thru in my Rev folder) On Fri, Aug 27, 2010 at 12:27 AM, Monte Goulding < monte at sweattechnologies.com> wrote: > Hmm.. we are looking at zeroconf and either writing an external or using > dns-sd in shell to register. > > Cheers > > Monte > On 27/08/2010, at 12:50 PM, Andre Garzia wrote: > > > Monte, > > > > Never tried broadcasting TCP but broadcasting UDP should work. You could > > fire some UDP packets as a kind of "ping", your client would then gather > the > > IP from that. > > > > :D > > > > On Thu, Aug 26, 2010 at 9:42 PM, Monte Goulding < > monte at sweattechnologies.com > >> wrote: > > > >>> For example, if my Rev built-in server listen at port 9876, I can make > >> the > >>> iPhone app find it's own ip and then go for x.x.x.1 til x.x.x.254 > trying > >> to > >>> connect on port 9876, no manual ip thing needed but could be provided > if > >>> automatic lookup failed. > >> > >> Hmm.... I never thought of that. What about using 255.255.255.255 to > >> broadcast to find the server? Anyone done this before? One issue is it's > >> possible that there could be more than one sync server on the LAN > although > >> we could respond with some details so the user could choose. > >> > >> Cheers > >> > >> Monte_______________________________________________ > >> 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 zryip.theslug at gmail.com Fri Aug 27 16:31:17 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 27 Aug 2010 22:31:17 +0200 Subject: DataGrid Error: Trying to Load a Grid on Program Start In-Reply-To: <1282884543325-2340624.post@n4.nabble.com> References: <1282849857055-2340227.post@n4.nabble.com> <1282884543325-2340624.post@n4.nabble.com> Message-ID: On Fri, Aug 27, 2010 at 6:49 AM, Andrew Kluthe wrote: > > Zryip! You are a life saver! This makes perfect sense. It was working fine > when I was watching the data come in and out by opening the card with the > grids on it. Right before my meeting I hid that button because the end user > doesn't need to see all of that. Then the program suddenly didn't work > anymore about 15 minutes from my meeting! Months ago, I fought hours with that before I understand what happens and how to fix it. In DGH, I'm using dictionaries grids in hidden cards or stacks. One for the properties list and one for the script builder. > I will show my sincere gratitude by combing finely through your latest > incarnation of DGH this weekend! I have been using it alot this week! Great! I'm glad you found a way to the DGH beta version in your current work. I'm actually working to a new version. I will send you a mail soon. Thanks. > thank you thank you thank you You're welcome * 3 ;) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From sanke at hrz.uni-kassel.de Fri Aug 27 19:30:37 2010 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sat, 28 Aug 2010 01:30:37 +0200 Subject: The power of despeckle-median filters: Image examples Message-ID: <4C784A9D.3030307@hrz.uni-kassel.de> From the logs of my website I see that there has been really a substantial interest in this subject. I will answer some of the questions I received on this list and also offlist in this post. The webpage containing the despeckle-median filters mage examples was originally intended only for internal communication with a participant in a joint project. It then came to my mind that especially the achieved effects on the "Steve Jobs + Medwedew" images could be of interest to the use-list, too. Actually, there is nothing new about these filter effects. They have been described in detail and with image examples already three years ago as you can see here . And all the necessary tools to achieve such effects are already available in my stack of 2006 and its update in 2007 which I have referred to a couple of times in various discussions on this list. I quote from "Read "What's new"" and option "Version Preview 3" of this stack "While the focus of the "imagedata toolkit 2" was on "hues", toolkit 3 concentrates both on median-despeckle filters and the distortion and deformation of images to achieve various kinds of "painting" effects. Both filter categories have to be used in conjunction to produce such effects. A recommended sequence to achieve painting-like effects is to first use a despeckle-median filter once or twice and then apply a matrix filter, especially one of the lithography or smear filters. Another sequence would be to first use one of the noise or distortion filters and then smooth the resulting image with despeckle-median filters before applying any matrix filter. There are 13 such median-despeckle filters, the most powerful of them is "despeckle extreme", which does not only remove noise, but also minor details, thus achieving larger color areas in an image. The two "simple" despeckle filters work with only four pixels, but they safely remove one-pixel noise, as do all other median filters. You can easily test this: 1. Choose a sample image; 2. Apply "add noise" from button "jitter and noise"; 3. Remove the one-pixel noise using one of the "simple" despeckle filters. The script button "cross-type median 5X5" contains a description of the structure and algorithms of this filter as a comment. This description, which I found in the net, was the basis and starting point for my experiments with median filters. I have discarded the "Kuwahara" filter of "Imagedata Toolkit 2". While it was a fine exercise to port this known filter to Revolution, it was really the slowest of my adapted scripted filters and much less powerful than my "despeckle extreme" filter, which is also 3 times faster." Now to some questions I was asked in this context: - "Have you posted a stack with this to RevOnline?" No, I didn't, mainly because the size of the stack is about 12 MB. But you can get it from my website - "Is your filter library available for sale?" No, it is not. But I have declared all unencrypted scripts of my stack to be open-source, which could be freely used in other Rev applications - a reference to the author would of course be welcome. The free scripts comprise all despeckle and also the convolve-matrix scripts. Of the about 300 filter scripts in my stack the half is freely accessible. - "And how did you implement convolution" I have explained that in the "Readme" fields of my above stack and you can see it in the Rev scripts and the source code of Derek Bump's Windows external DLL for 3x3 convolve matrices. My Rev convolve scripts are based on a prototype by Chipp Walters, and were developed and improved with about a 15 times-increased execution speed. Later Mark Waddingham contributed an idea for another speed boost, but this is only implemented in other of my various image-processing stacks and not yet in the "ImageData Toolkit 3" Despeckle filters are also widely used in my "Kaleidoscope Tools" stack, which has not yet been publicly released because of the number of workarounds I had to find for the multitude of groups bugs. I have never experienced so many crashes as with this Kaleidoscope stack. But the results of the Kaleidoscope Tool can be inspected in 4 galleries. From you can access the other 3 galleries. I have to mention a number fo deficiencies of the ImageData Toolkit: It is restricted to be used only with images of a size of 640x480. Imported images of a different size will be scaled to that format. In the meantime I have developed a suite of newer image-processing stacks which do not have such restrictions, but can be used with images of any size. However, we face a number of problems here, namely the speed problem with larger images - as manipulating imagedata in Revolution is really comparatively slow. What we need for faster image processing in Revolution would be a new conception maybe along the lines of the Lua language, which is for example used as an add-on of the GIMP application and in many other image-processing tools. See the text of my post to this list "Language comparisons: "Lua" - simpler and faster than RevTalk" of March 3, 2010.-- Another restriction of my "Imagedata Toolkit" stack has to be mentioned here as a warning to potential users. This stack had been singled out as a paradigm for bad layout and color use by a speaker during one of the last Rev Developer conferences (I think it was in Las Vegas). Although I cannot fully comply with his argumentation there was some truth in his deliberations, as with this "preview" stack I had concentrated more on contents and functionality than on surface design. Happily this speaker did not argue about the contents and later even asked me if he could use one of my filters in his own applications. Kind regards, Wilhelm Sanke From niggemann at uni-wh.de Sat Aug 28 05:21:36 2010 From: niggemann at uni-wh.de (BNig) Date: Sat, 28 Aug 2010 02:21:36 -0700 (PDT) Subject: The power of despeckle-median filters: Image examples In-Reply-To: <4C784A9D.3030307@hrz.uni-kassel.de> References: <4C76466C.2010601@hrz.uni-kassel.de> <4C784A9D.3030307@hrz.uni-kassel.de> Message-ID: <1282987296592-2362652.post@n4.nabble.com> Wilhelm, thank you for sharing your extensive work on image manipulation in RunRev. I liked your tools for years and I learned a lot from inspecting your scripts. kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/The-power-of-despeckle-median-filters-Image-examples-tp2339534p2362652.html Sent from the Revolution - User mailing list archive at Nabble.com. From bvg at mac.com Sat Aug 28 06:28:02 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 28 Aug 2010 12:28:02 +0200 Subject: Spider-web chart In-Reply-To: References: Message-ID: No, but i would imagine it's not super hard to do them, only somewhat hard. Basically it's cartesian with negative values, so you'd choose a zero point somewhere and then render the data onto that: --code example constant theScale = 2 constant theMidpoint = "200,200" on mouseUp put field 1 into theDataPoints repeat for each line thePoint in theDataPoints put item 1 of thePoint div theScale + item 1 of theMidpoint, item 2 of thePoint div theScale + item 2 of theMidpoint & return after theResult end repeat put line 1 of theResult after theResult --close poly put return & return & theMidpoint after theResult --show centerpoint set the points of graphic 1 to theResult end mouseUp --end example graphic 1 should be a (freehand) polygon with markercolor set to something more visible then light blue (which is the default), markerDraw set to true, and having sensible markerPoints. for markerPoints I like to use a small x shapes: 2,2 -2,-2 2,-2 -2,2 I hope this can get you started into the right direction. On 26 Aug 2010, at 11:04, ?ric Miclo wrote: > Hello, > > I've looked at the two Rev select chart libraries/tools, but I was looking for spider-web charts and neither ChartMaker or ChartsEngine provide something like that. > > Does anybody know a library that could provide such charts? -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From jean-pierre.soto at wanadoo.fr Sat Aug 28 13:25:47 2010 From: jean-pierre.soto at wanadoo.fr (Jean-Pierre Soto) Date: Sat, 28 Aug 2010 19:25:47 +0200 Subject: SelectedChunk problem Message-ID: Hello, I have some problem with the SelectedChunk function. It's work well but sometime it return empty. I can type character and I have the flashing insertion cursor in the field but the result is still empty. I must leave the field and re-enter it to have correct result. Does anyone know that problem ? Jean-Pierre From niggemann at uni-wh.de Sat Aug 28 17:05:43 2010 From: niggemann at uni-wh.de (BNig) Date: Sat, 28 Aug 2010 14:05:43 -0700 (PDT) Subject: Spider-web chart In-Reply-To: References: Message-ID: <1283029543200-2398718.post@n4.nabble.com> For what it's worth: a while ago I did a little stack to draw markers and get their coordinates. It is in RevOnline. The interface is not all that polished, oh well. You get two formats of the markers you drew: one to paste into a script (if you want to set/change markers by script) and one to paste into the property inspector. http://revonline2.runrev.com/stack/396/MakeMarker-Utility or from within Rev go to RevOnline look for MakeMarker-Utility regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Spider-web-chart-tp2339385p2398718.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Sun Aug 29 00:25:03 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 28 Aug 2010 21:25:03 -0700 Subject: Multi-Page Printing Strategy? Message-ID: I'm wondering if someone more versed in printing than I can offer a suggestion for printing multiple pages from a stack where the card content is dynamically created. The stack is essentially a bare bones PowerPoint-like app that creates custom charts and text-only "slides". Only one card is used for the display of all content -- groups are hidden and shown as needed when viewing a slideshow, and field/chart contents are populated on-the-fly. I can write a routine to to tell the app to automatically create each slide, but I don't know if I should try to print directly from the main display stack, or copy card elements out to an offscreen stack and print from there. The display stack can fit standard paper size, so there's no resizing/reformatting issue to deal with there. Could this be as straightforward as the following? open printing print this cd print this cd ...etc. close printing Also, what is the proper method for centering content on a printed page? I see Rev provides printRectangle and printPaperRectangle properties, but I can't tell from their descriptions what I would use to center stack content within the live area of a printed page. Thanks for any advice/suggestions. Best Regards, Scott Rossi Creative Director Tactile Media, UX Design From richmondmathewson at gmail.com Sun Aug 29 07:09:29 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 29 Aug 2010 14:09:29 +0300 Subject: Inserting unicodeText into a unicode string? #2 In-Reply-To: <3E911209-D075-43DD-A80A-0C7945F3FC42@economy-x-talk.com> References: <4C76D779.3040408@gmail.com> <3E911209-D075-43DD-A80A-0C7945F3FC42@economy-x-talk.com> Message-ID: <4C7A3FE9.40604@gmail.com> Imagine a field "fTX" that contains the text 'meaty chunks'; when I click between 'meaty' and 'chunks' I want to be able to insert something there via code rather than via keyboard. So, why does this not work; in the script of fld "fTX" ? on mouseUp select the text of me end mouseUp i.e. the text in fld "fTX" is not selected. Now: 1. How can I get to a situation where when I click in a textField containing text I get this: 1.1. the part of the string in the field before the place where I click (or move my cursor) is selected and put into another field (e.g. 'fBEFORE') and the part of the string after the place where I click (or move my cursor) is selcted and put into another field (e.g. 'fAFTER')? 1.2. allowing me to INSERT text programmtically between the 2 chunks of the string. Something tells me (I dunno what) that I am not being screamingly original and this must be: 2.1. Documented somewhere. 2.2. Have been done many, many times before. 2.3. I am just being 'plain stooopid'. Richmond. From bonnmike at gmail.com Sun Aug 29 08:49:29 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 29 Aug 2010 06:49:29 -0600 Subject: Inserting unicodeText into a unicode string? #2 In-Reply-To: <4C7A3FE9.40604@gmail.com> References: <4C76D779.3040408@gmail.com> <3E911209-D075-43DD-A80A-0C7945F3FC42@economy-x-talk.com> <4C7A3FE9.40604@gmail.com> Message-ID: I don't think this applies when using get and set for unicode, but if its a straight text field where you can use put, there are a couple options. YOu can do: put "What I want inserted" into the selectedtext This will insert at the insertion point if nothing is selected, or will replace whatever is selected in the field. Or, you can do put "What I want inserted" after char (word 4 of the selectedchunk) of field 1 But if I recall correctly, this solution is a little more complicated because you have check word 2 and word 4 of the selectedchunk to see whats selected then determine programatically in that range where the insertion should occur, or if the selection should be removed or... If the selection is just an insertion point, then the example above (word 4 of the selectedchunk) of field "yourfield" works fine. Another option, if the text of the field is locked, is to check the clickcharchunk which will return the number position of the clicked char (same format as clickchunk or selectedchunk except both word2 and word 4 will be the same) at which point you can decide to put something before or after that char, or split the field at that spot. To do the insertion directly with this method, your mouseup handler could contain: on mouseup put "your insertion string" before char (word 2 of the clickcharchunk) of me end mouseup On Sun, Aug 29, 2010 at 5:09 AM, Richmond wrote: > ?Imagine a field "fTX" that contains the text 'meaty chunks'; > when I click between 'meaty' and 'chunks' I want to be > able to insert something there via code rather than via keyboard. > > So, why does this not work; in the script of fld "fTX" ? > > on mouseUp > ?select the text of me > end mouseUp > > i.e. the text in fld "fTX" is not selected. > > Now: > > 1. How can I get to a situation where when I click in a textField containing > text I get this: > > 1.1. the part of the string in the field before the place where I click (or > move my cursor) is selected > ? ? ?and put into another field (e.g. 'fBEFORE') and the part of the string > after the place where I click > ? ? (or move my cursor) is selcted and put into another field (e.g. > 'fAFTER')? > > 1.2. allowing me to INSERT text programmtically between the 2 chunks of the > string. > > Something tells me (I dunno what) that I am not being screamingly original > and this must be: > > 2.1. Documented somewhere. > > 2.2. Have been done many, many times before. > > 2.3. I am just being 'plain stooopid'. > > Richmond. > _______________________________________________ > 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 bonnmike at gmail.com Sun Aug 29 08:57:49 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 29 Aug 2010 06:57:49 -0600 Subject: Inserting unicodeText into a unicode string? #2 In-Reply-To: References: <4C76D779.3040408@gmail.com> <3E911209-D075-43DD-A80A-0C7945F3FC42@economy-x-talk.com> <4C7A3FE9.40604@gmail.com> Message-ID: Addition: Since this thread does apply to unicode apparently. my guess the pseudocode for this would be something like.. On click get the clickcharchunk --get the unicodetext from the field determine if the clichcharchunk word 2 number returned is at the single or double byte position and adjust accordingly (again, haven't ever really dealt with unicode, but mark mentioned something about this) set a holding container to char 1 to your calculated split point. At this point you don't really need to put the 2nd half into a holding container, should be able to delete char 1 to your calculated split point in your container then set the unicodetext of the original field to the unicodetext of field "Your holding container" & the unicode you want inserted & the unicodetext of field "the original field" On Sun, Aug 29, 2010 at 6:49 AM, Mike Bonner wrote: > I don't think this applies when using get and set for unicode, but if > its a straight text field where you can use put, there are a couple > options. > > YOu can do: > > put "What I want inserted" into the selectedtext > > This will insert at the insertion point if nothing is selected, or > will replace whatever is selected in the field. > > Or, you can do > > put "What I want inserted" after char (word 4 of the selectedchunk) of field 1 > > But if I recall correctly, this solution is a little more complicated > because you have check word 2 and word 4 of the selectedchunk to see > whats selected then determine programatically in that range where the > insertion should occur, or if the selection should be removed or... > If the selection is just an insertion point, then the example above > (word 4 of the selectedchunk) of field "yourfield" works fine. > > Another option, if the text of the field is locked, is to check the > clickcharchunk which will return the number position of the clicked > char (same format as clickchunk or selectedchunk except both word2 and > word 4 will be the same) at which point you can decide to put > something before or after that char, or split the field at that spot. > To do the insertion directly with this method, your mouseup handler > could contain: > on mouseup > ? put "your insertion string" ?before char (word 2 of the clickcharchunk) of me > end mouseup > > On Sun, Aug 29, 2010 at 5:09 AM, Richmond wrote: >> ?Imagine a field "fTX" that contains the text 'meaty chunks'; >> when I click between 'meaty' and 'chunks' I want to be >> able to insert something there via code rather than via keyboard. >> >> So, why does this not work; in the script of fld "fTX" ? >> >> on mouseUp >> ?select the text of me >> end mouseUp >> >> i.e. the text in fld "fTX" is not selected. >> >> Now: >> >> 1. How can I get to a situation where when I click in a textField containing >> text I get this: >> >> 1.1. the part of the string in the field before the place where I click (or >> move my cursor) is selected >> ? ? ?and put into another field (e.g. 'fBEFORE') and the part of the string >> after the place where I click >> ? ? (or move my cursor) is selcted and put into another field (e.g. >> 'fAFTER')? >> >> 1.2. allowing me to INSERT text programmtically between the 2 chunks of the >> string. >> >> Something tells me (I dunno what) that I am not being screamingly original >> and this must be: >> >> 2.1. Documented somewhere. >> >> 2.2. Have been done many, many times before. >> >> 2.3. I am just being 'plain stooopid'. >> >> Richmond. >> _______________________________________________ >> 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 richmondmathewson at gmail.com Sun Aug 29 09:20:34 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 29 Aug 2010 16:20:34 +0300 Subject: Inserting unicodeText into a unicode string? #2 In-Reply-To: References: <4C76D779.3040408@gmail.com> <3E911209-D075-43DD-A80A-0C7945F3FC42@economy-x-talk.com> <4C7A3FE9.40604@gmail.com> Message-ID: <4C7A5EA2.5030208@gmail.com> On 8/29/10 3:49 PM, Mike Bonner wrote: > I don't think this applies when using get and set for unicode, but if > its a straight text field where you can use put, there are a couple > options. > > YOu can do: > > put "What I want inserted" into the selectedtext > Thanks so much! This works: on mouseUp set the useUnicode to true set the unicodeText of the selectedText to numToChar(50000) end mouseUp Yup, I was being "a bit s-l-o-w" even if not "plain stooopid" . . . :) Richmond. From bonnmike at gmail.com Sun Aug 29 09:22:03 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 29 Aug 2010 07:22:03 -0600 Subject: Inserting unicodeText into a unicode string? #2 In-Reply-To: <4C7A5EA2.5030208@gmail.com> References: <4C76D779.3040408@gmail.com> <3E911209-D075-43DD-A80A-0C7945F3FC42@economy-x-talk.com> <4C7A3FE9.40604@gmail.com> <4C7A5EA2.5030208@gmail.com> Message-ID: Hey cool, then ignore my second message as I was being overly complicated apparently. I love rev. On Sun, Aug 29, 2010 at 7:20 AM, Richmond wrote: > ?On 8/29/10 3:49 PM, Mike Bonner wrote: >> >> I don't think this applies when using get and set for unicode, but if >> its a straight text field where you can use put, there are a couple >> options. >> >> YOu can do: >> >> put "What I want inserted" into the selectedtext >> > > > Thanks so much! > > This works: > > on mouseUp > ? set the useUnicode to true > ? set the unicodeText of the selectedText to numToChar(50000) > end mouseUp > > Yup, I was being "a bit s-l-o-w" even if not "plain stooopid" . . . ?:) > > Richmond. > _______________________________________________ > 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 pmbrig at gmail.com Sun Aug 29 09:43:26 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Sun, 29 Aug 2010 09:43:26 -0400 Subject: Inserting unicodeText into a unicode string? #2 In-Reply-To: <4C7A3FE9.40604@gmail.com> References: <4C76D779.3040408@gmail.com> <3E911209-D075-43DD-A80A-0C7945F3FC42@economy-x-talk.com> <4C7A3FE9.40604@gmail.com> Message-ID: <7971F025-677A-4144-AF3D-7420B2B11178@gmail.com> Mouseup won't get sent if the field is unlocked. Use the selectionchanged message to trigger your handlers. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Aug 29, 2010, at 7:09 AM, Richmond wrote: > Imagine a field "fTX" that contains the text 'meaty chunks'; > when I click between 'meaty' and 'chunks' I want to be > able to insert something there via code rather than via keyboard. > > So, why does this not work; in the script of fld "fTX" ? > > on mouseUp > select the text of me > end mouseUp > > i.e. the text in fld "fTX" is not selected. > > Now: > > 1. How can I get to a situation where when I click in a textField > containing text I get this: > > 1.1. the part of the string in the field before the place where I > click (or move my cursor) is selected > and put into another field (e.g. 'fBEFORE') and the part of the > string after the place where I click > (or move my cursor) is selcted and put into another field (e.g. > 'fAFTER')? > > 1.2. allowing me to INSERT text programmtically between the 2 chunks > of the string. > > Something tells me (I dunno what) that I am not being screamingly > original and this must be: > > 2.1. Documented somewhere. > > 2.2. Have been done many, many times before. > > 2.3. I am just being 'plain stooopid'. > > Richmond. > _______________________________________________ > 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 richmondmathewson at gmail.com Sun Aug 29 10:15:46 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 29 Aug 2010 17:15:46 +0300 Subject: Inserting unicodeText into a unicode string? #3 Message-ID: <4C7A6B92.2080709@gmail.com> "Oh, Dear, Richmond's on a roll . . . ." So; the story so far: Richmond has worked out how to shove unicodeText inside other unicodeText: on mouseUp set the useUnicode to true set the unicodeText of the selectedText to numToChar(50000) end mouseUp But, now, being one of those types who always wants more, he wants to check what the unicode Char precedes the insertion point . . . Tried: on mouseUp set the useUnicode to true if the unicodeText of the selectedText -1 = numToChar(32) then set the unicodeText of the selectedText to numToChar(50000) else set the unicodeText of the selectedText to numToChar(60000) end if end mouseUp which, bye-the-bye, the script-editor said was acceptable . . . [ quite WHY I thought of '-1' is hard to explain ] but no good at all . . . :( From richmondmathewson at gmail.com Sun Aug 29 10:19:08 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 29 Aug 2010 17:19:08 +0300 Subject: Inserting unicodeText into a unicode string? #2 In-Reply-To: <7971F025-677A-4144-AF3D-7420B2B11178@gmail.com> References: <4C76D779.3040408@gmail.com> <3E911209-D075-43DD-A80A-0C7945F3FC42@economy-x-talk.com> <4C7A3FE9.40604@gmail.com> <7971F025-677A-4144-AF3D-7420B2B11178@gmail.com> Message-ID: <4C7A6C5C.7010308@gmail.com> On 8/29/10 4:43 PM, Peter Brigham MD wrote: > Mouseup won't get sent if the field is unlocked. Use the > selectionchanged message to trigger your handlers. > > -- Peter > 'Tis true; but I am inserting chars via a series of virtual buttons rather than attempting to type directly into the field; so my on mouseUp set the useUnicode to true set the unicodeText of the selectedText to numToChar(50000) end mouseUp will, ultimately, be part of a series of scripts underlying images-serving-as-buttons, rather than in the scroit of the textField itself. From bonnmike at gmail.com Sun Aug 29 10:57:02 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 29 Aug 2010 08:57:02 -0600 Subject: Inserting unicodeText into a unicode string? #3 In-Reply-To: <4C7A6B92.2080709@gmail.com> References: <4C7A6B92.2080709@gmail.com> Message-ID: In this case, the selectedtext is a property that contains no positional information. You can't do math on selectedtext unless it just so happens to contain a number. So, to do what you want you would need to use selectedchunk instead, check it to see a) if its only an insertion point (word 4 of the selectedchunk - word 2 of the selectedchunk will = -1 if this is the case) then if I recall correctly, word 2 of the selectedchunk is the cursor position so checking char (word 2 of the selectedchunk - 1) will give you the char reference that you're looking for. Again, i'm not a unicode guy so someone correct me if you have to do things different. On Sun, Aug 29, 2010 at 8:15 AM, Richmond wrote: > ?"Oh, Dear, Richmond's on a roll . . . ." > > So; the story so far: > > Richmond has worked out how to shove unicodeText inside other unicodeText: > > on mouseUp > ? ?set the useUnicode to true > ? ?set the unicodeText of the selectedText to numToChar(50000) > end mouseUp > > > But, now, being one of those types who always wants more, he wants to > check what the unicode Char precedes the insertion point . . . > > Tried: > > on mouseUp > ? set the useUnicode to true > ? if the unicodeText of the selectedText -1 = numToChar(32) then > ? ? ?set the unicodeText of the selectedText to numToChar(50000) > ? else > ? ? ?set the unicodeText of the selectedText to numToChar(60000) > ? ? ?end if > end mouseUp > > which, bye-the-bye, the script-editor said was acceptable . . . > > [ quite WHY I thought of '-1' is hard to explain ] > > but no good at all . . . ?:( > _______________________________________________ > 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 richmondmathewson at gmail.com Sun Aug 29 11:53:07 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 29 Aug 2010 18:53:07 +0300 Subject: Inserting unicodeText into a unicode string? #3 In-Reply-To: References: <4C7A6B92.2080709@gmail.com> Message-ID: <4C7A8263.80306@gmail.com> On 08/29/2010 05:57 PM, Mike Bonner wrote: > In this case, the selectedtext is a property that contains no > positional information. You can't do math on selectedtext unless it > just so happens to contain a number. > So, to do what you want you would need to use selectedchunk instead, > check it to see a) if its only an insertion point (word 4 of the > selectedchunk - word 2 of the selectedchunk will = -1 if this is the > case) then if I recall correctly, word 2 of the selectedchunk is the > cursor position so checking char (word 2 of the selectedchunk - 1) > will give you the char reference that you're looking for. > > I'd be very interested to know exactly where you recall 'word 4', 'word 2' and so on from as I cannot find anything like this in reference to selectedChunk. From bonnmike at gmail.com Sun Aug 29 12:02:48 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 29 Aug 2010 10:02:48 -0600 Subject: Inserting unicodeText into a unicode string? #3 In-Reply-To: <4C7A8263.80306@gmail.com> References: <4C7A6B92.2080709@gmail.com> <4C7A8263.80306@gmail.com> Message-ID: Set up a simple stack with a button and a field. Put some text into the field, and in the button put on mouseup put the selectedchunk end mouseup Make sure you have an active insertion point in the field and click the button. It should put something like "char 22 to 21 of field 1" into the message box. If you had a selection it would be char firstpositionnumber to char secondpositionnumber. Since its just an insertion point it will always be of the relation -- word 2 is 1 more than word 4. As well, the dictionary contains this: *Summary: Returns a chunk expression describing the location of the text selection or insertion point. Examples: the selectedChunk put the selectedChunk into storedChunk Use the selectedChunk function to determine which text is selected. Value: The selectedChunk function returns a chunk expression of the form char startChar to endChar of field fieldNumber * On Sun, Aug 29, 2010 at 9:53 AM, Richmond wrote: > On 08/29/2010 05:57 PM, Mike Bonner wrote: >> >> In this case, the selectedtext is a property that contains no >> positional information. You can't do math on selectedtext unless it >> just so happens to contain a number. >> So, to do what you want you would need to use selectedchunk instead, >> check it to see a) if its only an insertion point (word 4 of the >> selectedchunk - word 2 of the selectedchunk will = -1 if this is the >> case) then if I recall correctly, word 2 of the selectedchunk is the >> cursor position so checking char (word 2 of the selectedchunk - 1) >> will give you the char reference that you're looking for. >> >> > > I'd be very interested to know exactly where you recall 'word 4', > 'word 2' and so on from as I cannot find anything like this in reference > to selectedChunk. > _______________________________________________ > 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 richmondmathewson at gmail.com Sun Aug 29 12:15:11 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 29 Aug 2010 19:15:11 +0300 Subject: Inserting unicodeText into a unicode string? #3 In-Reply-To: References: <4C7A6B92.2080709@gmail.com> <4C7A8263.80306@gmail.com> Message-ID: <4C7A878F.6030809@gmail.com> On 08/29/2010 07:02 PM, Mike Bonner wrote: > Set up a simple stack with a button and a field. Put some text into the > field, and in the button put > > on mouseup > put the selectedchunk > end mouseup > > Make sure you have an active insertion point in the field and click the > button. > > It should put something like "char 22 to 21 of field 1" into the message > box. > > If you had a selection it would be char firstpositionnumber to char > secondpositionnumber. Since its just an insertion point it will always be > of the relation -- word 2 is 1 more than word 4. > > As well, the dictionary contains this: > > *Summary: > Returns a chunk expression describing the location of the text selection or > insertion point. > > Examples: > the selectedChunk > put the selectedChunk into storedChunk > > > Use the selectedChunk function to determine which text is selected. > > Value: > The selectedChunk function returns a chunk expression of the form > char startChar to endChar of field fieldNumber > * > > > On Sun, Aug 29, 2010 at 9:53 AM, Richmond > wrote: > >> On 08/29/2010 05:57 PM, Mike Bonner wrote: >> >>> In this case, the selectedtext is a property that contains no >>> positional information. You can't do math on selectedtext unless it >>> just so happens to contain a number. >>> So, to do what you want you would need to use selectedchunk instead, >>> check it to see a) if its only an insertion point (word 4 of the >>> selectedchunk - word 2 of the selectedchunk will = -1 if this is the >>> case) then if I recall correctly, word 2 of the selectedchunk is the >>> cursor position so checking char (word 2 of the selectedchunk - 1) >>> will give you the char reference that you're looking for. >>> >>> >>> >> I'd be very interested to know exactly where you recall 'word 4', >> 'word 2' and so on from as I cannot find anything like this in reference >> to selectedChunk. >> _______________________________________________ >> Still fairly unclear to baboons like me . . . :) Mainly because the documentation doesn't explicitly mention words 4 - 1. I set up 4 flds and 'pumped' word 4 - 1 into the flds and got something like this: 14 to 15 char which shows fairly clearly that that is an insertion rather than a selection as the difference between words 4 and 2 is only 1: mind you, words 4 - 1 is a bit counter-intuitive. It is really only "a step away" from that to this: put word 4 of the selectedChunk into W4 put char W4 of fld "fTX" into fld "fOUTPUT" giving one the char preceding the insertion point. Now, Ho - Ho - Ho; I shall have "a dark night of the soul" trying to do that lot for unicode . . . :) From bonnmike at gmail.com Sun Aug 29 12:19:54 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 29 Aug 2010 10:19:54 -0600 Subject: Inserting unicodeText into a unicode string? #3 In-Reply-To: <4C7A878F.6030809@gmail.com> References: <4C7A6B92.2080709@gmail.com> <4C7A8263.80306@gmail.com> <4C7A878F.6030809@gmail.com> Message-ID: Yep, same difference, using word 4 works. The main thing is to make sure you catch actual selections and change behavior accordingly. Should be a piece of cake now that you grok selectedchunk. On Sun, Aug 29, 2010 at 10:15 AM, Richmond wrote: > On 08/29/2010 07:02 PM, Mike Bonner wrote: > >> Set up a simple stack with a button and a field. Put some text into the >> field, and in the button put >> >> on mouseup >> put the selectedchunk >> end mouseup >> >> Make sure you have an active insertion point in the field and click the >> button. >> >> It should put something like "char 22 to 21 of field 1" into the message >> box. >> >> If you had a selection it would be char firstpositionnumber to char >> secondpositionnumber. Since its just an insertion point it will always be >> of the relation -- word 2 is 1 more than word 4. >> >> As well, the dictionary contains this: >> >> *Summary: >> Returns a chunk expression describing the location of the text selection >> or >> insertion point. >> >> Examples: >> the selectedChunk >> put the selectedChunk into storedChunk >> >> >> Use the selectedChunk function to determine which text is selected. >> >> Value: >> The selectedChunk function returns a chunk expression of the form >> char startChar to endChar of field fieldNumber >> * >> >> >> On Sun, Aug 29, 2010 at 9:53 AM, Richmond >> wrote: >> >> >>> On 08/29/2010 05:57 PM, Mike Bonner wrote: >>> >>> >>>> In this case, the selectedtext is a property that contains no >>>> positional information. You can't do math on selectedtext unless it >>>> just so happens to contain a number. >>>> So, to do what you want you would need to use selectedchunk instead, >>>> check it to see a) if its only an insertion point (word 4 of the >>>> selectedchunk - word 2 of the selectedchunk will = -1 if this is the >>>> case) then if I recall correctly, word 2 of the selectedchunk is the >>>> cursor position so checking char (word 2 of the selectedchunk - 1) >>>> will give you the char reference that you're looking for. >>>> >>>> >>>> >>>> >>> I'd be very interested to know exactly where you recall 'word 4', >>> 'word 2' and so on from as I cannot find anything like this in reference >>> to selectedChunk. >>> _______________________________________________ >>> >>> >> > Still fairly unclear to baboons like me . . . :) Mainly because the > documentation doesn't explicitly mention words > 4 - 1. > > I set up 4 flds and 'pumped' word 4 - 1 into the flds and got something > like this: > > 14 to 15 char > > which shows fairly clearly that that is an insertion rather than a > selection as the difference between > words 4 and 2 is only 1: mind you, words 4 - 1 is a bit counter-intuitive. > > It is really only "a step away" from that to this: > > put word 4 of the selectedChunk into W4 > put char W4 of fld "fTX" into fld "fOUTPUT" > > giving one the char preceding the insertion point. > > Now, Ho - Ho - Ho; I shall have "a dark night of the soul" trying to do > that lot for unicode . . . :) > _______________________________________________ > 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 richmondmathewson at gmail.com Sun Aug 29 13:27:41 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 29 Aug 2010 20:27:41 +0300 Subject: Inserting unicodeText into a unicode string? #3 In-Reply-To: References: <4C7A6B92.2080709@gmail.com> <4C7A8263.80306@gmail.com> <4C7A878F.6030809@gmail.com> Message-ID: <4C7A988D.6070707@gmail.com> On 08/29/2010 07:19 PM, Mike Bonner wrote: > Yep, same difference, using word 4 works. The main thing is to make sure > you catch actual selections and change behavior accordingly. Should be a > piece of cake now that you grok selectedchunk. > That presupposes one likes cake. > On Sun, Aug 29, 2010 at 10:15 AM, Richmondwrote: > > >> On 08/29/2010 07:02 PM, Mike Bonner wrote: >> >> >>> Set up a simple stack with a button and a field. Put some text into the >>> field, and in the button put >>> >>> on mouseup >>> put the selectedchunk >>> end mouseup >>> >>> Make sure you have an active insertion point in the field and click the >>> button. >>> >>> It should put something like "char 22 to 21 of field 1" into the message >>> box. >>> >>> If you had a selection it would be char firstpositionnumber to char >>> secondpositionnumber. Since its just an insertion point it will always be >>> of the relation -- word 2 is 1 more than word 4. >>> >>> As well, the dictionary contains this: >>> >>> *Summary: >>> Returns a chunk expression describing the location of the text selection >>> or >>> insertion point. >>> >>> Examples: >>> the selectedChunk >>> put the selectedChunk into storedChunk >>> >>> >>> Use the selectedChunk function to determine which text is selected. >>> >>> Value: >>> The selectedChunk function returns a chunk expression of the form >>> char startChar to endChar of field fieldNumber >>> * >>> >>> >>> On Sun, Aug 29, 2010 at 9:53 AM, Richmond >>> wrote: >>> >>> >>> >>>> On 08/29/2010 05:57 PM, Mike Bonner wrote: >>>> >>>> >>>> >>>>> In this case, the selectedtext is a property that contains no >>>>> positional information. You can't do math on selectedtext unless it >>>>> just so happens to contain a number. >>>>> So, to do what you want you would need to use selectedchunk instead, >>>>> check it to see a) if its only an insertion point (word 4 of the >>>>> selectedchunk - word 2 of the selectedchunk will = -1 if this is the >>>>> case) then if I recall correctly, word 2 of the selectedchunk is the >>>>> cursor position so checking char (word 2 of the selectedchunk - 1) >>>>> will give you the char reference that you're looking for. >>>>> >>>>> >>>>> >>>>> >>>>> >>>> I'd be very interested to know exactly where you recall 'word 4', >>>> 'word 2' and so on from as I cannot find anything like this in reference >>>> to selectedChunk. >>>> _______________________________________________ >>>> >>>> >>>> >>> >> Still fairly unclear to baboons like me . . . :) Mainly because the >> documentation doesn't explicitly mention words >> 4 - 1. >> >> I set up 4 flds and 'pumped' word 4 - 1 into the flds and got something >> like this: >> >> 14 to 15 char >> >> which shows fairly clearly that that is an insertion rather than a >> selection as the difference between >> words 4 and 2 is only 1: mind you, words 4 - 1 is a bit counter-intuitive. >> >> It is really only "a step away" from that to this: >> >> put word 4 of the selectedChunk into W4 >> put char W4 of fld "fTX" into fld "fOUTPUT" >> >> giving one the char preceding the insertion point. >> >> Now, Ho - Ho - Ho; I shall have "a dark night of the soul" trying to do >> that lot for unicode . . . :) >> _______________________________________________ >> 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 dfepstein at comcast.net Sun Aug 29 13:34:18 2010 From: dfepstein at comcast.net (David Epstein) Date: Sun, 29 Aug 2010 13:34:18 -0400 Subject: Import snapshot gets a dark gray tint In-Reply-To: <20100815170005.09B78288087@mail.runrev.com> References: <20100815170005.09B78288087@mail.runrev.com> Message-ID: <95AFF5C8-95DD-46AB-9382-EC2BF8D1B5F9@comcast.net> On Mac OSX 10.4, type "import snapshot" in the message box. As expected, the cursor becomes a cross-hairs to permit dragging out a screen rectangle to create an image. But on my computer the area I drag across gets tinted dark gray to show me where I'm dragging; and then the image created is also tinted dark gray. How can I get a snapshot of the dragged area as it actually appears, without the dark tint? Thank you. David Epstein From bonnmike at gmail.com Sun Aug 29 13:44:03 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 29 Aug 2010 11:44:03 -0600 Subject: Inserting unicodeText into a unicode string? #3 In-Reply-To: <4C7A988D.6070707@gmail.com> References: <4C7A6B92.2080709@gmail.com> <4C7A8263.80306@gmail.com> <4C7A878F.6030809@gmail.com> <4C7A988D.6070707@gmail.com> Message-ID: Everyone likes cake. Or pie. Pie is good too. Someone needs to combine the two, piecake would rock. On Sun, Aug 29, 2010 at 11:27 AM, Richmond wrote: > On 08/29/2010 07:19 PM, Mike Bonner wrote: > >> Yep, same difference, using word 4 works. The main thing is to make sure >> you catch actual selections and change behavior accordingly. Should be a >> piece of cake now that you grok selectedchunk. >> >> > > That presupposes one likes cake. > > On Sun, Aug 29, 2010 at 10:15 AM, Richmond> >wrote: >> >> >> >>> On 08/29/2010 07:02 PM, Mike Bonner wrote: >>> >>> >>> >>>> Set up a simple stack with a button and a field. Put some text into the >>>> field, and in the button put >>>> >>>> on mouseup >>>> put the selectedchunk >>>> end mouseup >>>> >>>> Make sure you have an active insertion point in the field and click the >>>> button. >>>> >>>> It should put something like "char 22 to 21 of field 1" into the message >>>> box. >>>> >>>> If you had a selection it would be char firstpositionnumber to char >>>> secondpositionnumber. Since its just an insertion point it will always >>>> be >>>> of the relation -- word 2 is 1 more than word 4. >>>> >>>> As well, the dictionary contains this: >>>> >>>> *Summary: >>>> Returns a chunk expression describing the location of the text selection >>>> or >>>> insertion point. >>>> >>>> Examples: >>>> the selectedChunk >>>> put the selectedChunk into storedChunk >>>> >>>> >>>> Use the selectedChunk function to determine which text is selected. >>>> >>>> Value: >>>> The selectedChunk function returns a chunk expression of the form >>>> char startChar to endChar of field fieldNumber >>>> * >>>> >>>> >>>> On Sun, Aug 29, 2010 at 9:53 AM, Richmond >>>> wrote: >>>> >>>> >>>> >>>> >>>>> On 08/29/2010 05:57 PM, Mike Bonner wrote: >>>>> >>>>> >>>>> >>>>> >>>>>> In this case, the selectedtext is a property that contains no >>>>>> positional information. You can't do math on selectedtext unless it >>>>>> just so happens to contain a number. >>>>>> So, to do what you want you would need to use selectedchunk instead, >>>>>> check it to see a) if its only an insertion point (word 4 of the >>>>>> selectedchunk - word 2 of the selectedchunk will = -1 if this is the >>>>>> case) then if I recall correctly, word 2 of the selectedchunk is the >>>>>> cursor position so checking char (word 2 of the selectedchunk - 1) >>>>>> will give you the char reference that you're looking for. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> I'd be very interested to know exactly where you recall 'word 4', >>>>> 'word 2' and so on from as I cannot find anything like this in >>>>> reference >>>>> to selectedChunk. >>>>> _______________________________________________ >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>> Still fairly unclear to baboons like me . . . :) Mainly because the >>> documentation doesn't explicitly mention words >>> 4 - 1. >>> >>> I set up 4 flds and 'pumped' word 4 - 1 into the flds and got something >>> like this: >>> >>> 14 to 15 char >>> >>> which shows fairly clearly that that is an insertion rather than a >>> selection as the difference between >>> words 4 and 2 is only 1: mind you, words 4 - 1 is a bit >>> counter-intuitive. >>> >>> It is really only "a step away" from that to this: >>> >>> put word 4 of the selectedChunk into W4 >>> put char W4 of fld "fTX" into fld "fOUTPUT" >>> >>> giving one the char preceding the insertion point. >>> >>> Now, Ho - Ho - Ho; I shall have "a dark night of the soul" trying to do >>> that lot for unicode . . . :) >>> _______________________________________________ >>> 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 m.schonewille at economy-x-talk.com Sun Aug 29 15:35:40 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 29 Aug 2010 21:35:40 +0200 Subject: Inserting unicodeText into a unicode string? #3 In-Reply-To: <4C7A988D.6070707@gmail.com> References: <4C7A6B92.2080709@gmail.com> <4C7A8263.80306@gmail.com> <4C7A878F.6030809@gmail.com> <4C7A988D.6070707@gmail.com> Message-ID: <5BA39F6E-2365-4BB6-891D-0C9DABD17039@economy-x-talk.com> Richmond, Unfortunately, it is slightly more complicated. Before you set the unicodeText of the selectedText, you need to make sure that the number of chars before the text insertion point is even. If it isn't, you need to move the text insertion point by one position. Once you've done that, you should be able to set the unicodeText relatively crash-less ;-) Be careful, as the selectedChunk can be confusing. If the selection itself is empty, you would see something like this: char 10 to 9 of field 2 The second number is the number of characters before the text insertion point. Here's an example that moves the text insertion point forward: on mouseUp if the selectedChunk is not empty then put the selectedChunk into myChunk add 1 to word 2 of myChunk add 1 to word 4 of myChunk select myChunk end if end mouseUp The script is not complete. It doesn't check whether it has run out of chunks. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 29 aug 2010, at 19:27, Richmond wrote: > On 08/29/2010 07:19 PM, Mike Bonner wrote: >> Yep, same difference, using word 4 works. The main thing is to make sure >> you catch actual selections and change behavior accordingly. Should be a >> piece of cake now that you grok selectedchunk. >> > > That presupposes one likes cake. > From jburtt at earthlink.net Sun Aug 29 22:39:19 2010 From: jburtt at earthlink.net (John Burtt) Date: Sun, 29 Aug 2010 19:39:19 -0700 Subject: Multi-Page Printing Strategy? In-Reply-To: <20100829170004.205FF2880BA@mail.runrev.com> References: <20100829170004.205FF2880BA@mail.runrev.com> Message-ID: <5E687875-9383-4B9E-A051-68E041A19097@earthlink.net> I had a similar situation and tried the routine you described. I couldn't get it to work reliably. The printing always seemed to hang after the first card printed. It could have been my limited experience with printing code, but I tried a slightly different approach. First, put all the card information into a multi-dimensional array. Clone as many cards as you need (the number of keys in the array - 1). In a repeat loop, fill in all the cards from the array. Then, use the print stack command. After the print routine, delete all the cards except card 1. Works great for me. John On Aug 29, 2010, at 10:00 AM, use-revolution-request at lists.runrev.com wrote: > > I'm wondering if someone more versed in printing than I can offer a > suggestion for printing multiple pages from a stack where the card > content > is dynamically created. > > The stack is essentially a bare bones PowerPoint-like app that creates > custom charts and text-only "slides". Only one card is used for the > display > of all content -- groups are hidden and shown as needed when viewing a > slideshow, and field/chart contents are populated on-the-fly. > > I can write a routine to to tell the app to automatically create > each slide, > but I don't know if I should try to print directly from the main > display > stack, or copy card elements out to an offscreen stack and print > from there. > The display stack can fit standard paper size, so there's no > resizing/reformatting issue to deal with there. > > Could this be as straightforward as the following? > > open printing > > print this cd > > print this cd > ...etc. > close printing > > Also, what is the proper method for centering content on a printed > page? I > see Rev provides printRectangle and printPaperRectangle properties, > but I > can't tell from their descriptions what I would use to center stack > content > within the live area of a printed page. > > Thanks for any advice/suggestions. > > Best Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > From jburtt at earthlink.net Sun Aug 29 22:53:45 2010 From: jburtt at earthlink.net (John Burtt) Date: Sun, 29 Aug 2010 19:53:45 -0700 Subject: Multi-Page Printing Strategy? In-Reply-To: <20100829170004.205FF2880BA@mail.runrev.com> References: <20100829170004.205FF2880BA@mail.runrev.com> Message-ID: <517AB95F-0728-47D3-A180-2FCAEB5189DA@earthlink.net> As far as the second part of your question goes... I set the card dimensions to 612 x 792 and use the following code: set the formatForPrinting of stack "thePrint" to true set printMargins to 0,0,0,0 open printing print stack "thePrint" into 0,0,612,792 close printing set the formatForPrinting of stack "thePrint" to false John On Aug 29, 2010, at 10:00 AM, use-revolution-request at lists.runrev.com wrote: > > > Also, what is the proper method for centering content on a printed > page? I > see Rev provides printRectangle and printPaperRectangle properties, > but I > can't tell from their descriptions what I would use to center stack > content > within the live area of a printed page. > > Thanks for any advice/suggestions. > > Best Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > From richmondmathewson at gmail.com Mon Aug 30 06:22:53 2010 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 30 Aug 2010 13:22:53 +0300 Subject: Inserting unicodeText into a unicode string? #3 In-Reply-To: <5BA39F6E-2365-4BB6-891D-0C9DABD17039@economy-x-talk.com> References: <4C7A6B92.2080709@gmail.com> <4C7A8263.80306@gmail.com> <4C7A878F.6030809@gmail.com> <4C7A988D.6070707@gmail.com> <5BA39F6E-2365-4BB6-891D-0C9DABD17039@economy-x-talk.com> Message-ID: <4C7B867D.3040408@gmail.com> On 8/29/10 10:35 PM, Mark Schonewille wrote: > Richmond, > > Unfortunately, it is slightly more complicated. Before you set the unicodeText of the selectedText, you need to make sure that the number of chars before the text insertion point is even. If it isn't, you need to move the text insertion point by one position. Once you've done that, you should be able to set the unicodeText relatively crash-less ;-) Be careful, as the selectedChunk can be confusing. If the selection itself is empty, you would see something like this: > > char 10 to 9 of field 2 > > The second number is the number of characters before the text insertion point. Here's an example that moves the text insertion point forward: > > on mouseUp > if the selectedChunk is not empty then > put the selectedChunk into myChunk > add 1 to word 2 of myChunk > add 1 to word 4 of myChunk > select myChunk > end if > end mouseUp > > The script is not complete. It doesn't check whether it has run out of chunks. > This is a very cogent point. HOWEVER; it seems that unicode numToChar(32) [ 'SPACE' ] is a single byte figure, so, for the sake of argument, examining what char precedes an insertion point means that, first, one has to find out whether it is a single or a double byte figure: somewhat tricky. From m.schonewille at economy-x-talk.com Mon Aug 30 06:25:29 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 30 Aug 2010 12:25:29 +0200 Subject: Inserting unicodeText into a unicode string? #3 In-Reply-To: <4C7B867D.3040408@gmail.com> References: <4C7A6B92.2080709@gmail.com> <4C7A8263.80306@gmail.com> <4C7A878F.6030809@gmail.com> <4C7A988D.6070707@gmail.com> <5BA39F6E-2365-4BB6-891D-0C9DABD17039@economy-x-talk.com> <4C7B867D.3040408@gmail.com> Message-ID: <2B6D756E-1C67-4906-8F1B-7EBE01537C7A@economy-x-talk.com> Hi Richmond, That's not true. put length(uniencode(space)) --> 2 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 30 aug 2010, at 12:22, Richmond wrote: > This is a very cogent point. > > HOWEVER; it seems that unicode numToChar(32) [ 'SPACE' ] is a single byte figure, so, > for the sake of argument, examining what char precedes an insertion point means that, first, one has > to find out whether it is a single or a double byte figure: somewhat tricky. > _______________________________________________ From richmondmathewson at gmail.com Mon Aug 30 06:31:39 2010 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 30 Aug 2010 13:31:39 +0300 Subject: Inserting unicodeText into a unicode string? #3 In-Reply-To: <2B6D756E-1C67-4906-8F1B-7EBE01537C7A@economy-x-talk.com> References: <4C7A6B92.2080709@gmail.com> <4C7A8263.80306@gmail.com> <4C7A878F.6030809@gmail.com> <4C7A988D.6070707@gmail.com> <5BA39F6E-2365-4BB6-891D-0C9DABD17039@economy-x-talk.com> <4C7B867D.3040408@gmail.com> <2B6D756E-1C67-4906-8F1B-7EBE01537C7A@economy-x-talk.com> Message-ID: <4C7B888B.9040504@gmail.com> On 8/30/10 1:25 PM, Mark Schonewille wrote: > Hi Richmond, > > That's not true. > put length(uniencode(space)) > --> 2 > Very glad to hear that I am wrong . . . :) > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > From 15th August, we'll have time for new projects! Be the first in line and contact me now! > > Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce > > On 30 aug 2010, at 12:22, Richmond wrote: >> This is a very cogent point. >> >> HOWEVER; it seems that unicode numToChar(32) [ 'SPACE' ] is a single byte figure, so, >> for the sake of argument, examining what char precedes an insertion point means that, first, one has >> to find out whether it is a single or a double byte figure: somewhat tricky. >> _______________________________________________ > > _______________________________________________ > 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 richmondmathewson at gmail.com Mon Aug 30 06:43:07 2010 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 30 Aug 2010 13:43:07 +0300 Subject: Inserting unicodeText into a unicode string? #3 In-Reply-To: <2B6D756E-1C67-4906-8F1B-7EBE01537C7A@economy-x-talk.com> References: <4C7A6B92.2080709@gmail.com> <4C7A8263.80306@gmail.com> <4C7A878F.6030809@gmail.com> <4C7A988D.6070707@gmail.com> <5BA39F6E-2365-4BB6-891D-0C9DABD17039@economy-x-talk.com> <4C7B867D.3040408@gmail.com> <2B6D756E-1C67-4906-8F1B-7EBE01537C7A@economy-x-talk.com> Message-ID: <4C7B8B3B.2000609@gmail.com> On 8/30/10 1:25 PM, Mark Schonewille wrote: > Hi Richmond, > > That's not true. > put length(uniencode(space)) > --> 2 > Right: having populated my textField like this: set the unicodeText of fld "fTX" to numToChar(57233) & numToChar(57333) & uniencode(space) & numToChar(57219) & numToChar(57207) & numToChar(57833) & numToChar(57153) & numToChar(57001) & numToChar(57010) & numToChar(57551) & numToChar(57123) & numToChar(57616) & numToChar(52119) & numToChar(57209) & numToChar(57200) & numToChar(57456) & numToChar(57789) & numToChar(57000) & numToChar(56789) & numToChar(57545) & numToChar(57171) & numToChar(57222) & numToChar(57111) & uniencode(space) & numToChar(57236) & numToChar(57234) & numToChar(57235) [ err . . . sorry about that "mouthful" ] I move the insertion point just after a space and run the following: set the useUnicode to true put the word 4 of the selectedChunk into W4 put (W4 - 1) into W5 get charToNum(char W5 to W4 of fld "fTX") put it into UNIK set the unicodeText of fld "fW4" to numToChar(UNIK) put the word 2 of the selectedChunk into W2 put (W2 + 1) into W1 get charToNum(char W2 to W1 of fld "fTX") put it into UNIQ set the unicodeText of fld "fW2" to numToChar(UNIQ) put uniEncode("The insertion point is between '") into P1 put uniEncode("' and '") into P2 put uniEncode("'") into P3 set the unicodeText of fld "fWH" to P1 & numToChar(UNIK) & P2 & numToChar(UNIQ) & P3 howwever the output (in fld "fWH") does not tell me my insertion point is between ' ' and 'X'; but gives me a "funny char" in the first position . . . > -- > Best regards, > > Mark Schonewille > From richmondmathewson at gmail.com Mon Aug 30 07:34:28 2010 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 30 Aug 2010 14:34:28 +0300 Subject: Inserting unicodeText into a unicode string? #3 Message-ID: <4C7B9744.8030402@gmail.com> On 8/30/10 1:25 PM, Mark Schonewille wrote: > Hi Richmond, > > That's not true. > put length(uniencode(space)) > --> 2 > Right: having populated my textField like this: set the unicodeText of fld "fTX" to numToChar(57233)& numToChar(57333) & uniencode(space)& numToChar(57219)& numToChar(57207)& numToChar(57833)& numToChar(57153)& numToChar(57001)& numToChar(57010)& numToChar(57551)& numToChar(57123)& numToChar(57616)& numToChar(52119)& numToChar(57209)& numToChar(57200)& numToChar(57456)& numToChar(57789)& numToChar(57000)& numToChar(56789)& numToChar(57545)& numToChar(57171)& numToChar(57222)& numToChar(57111)& uniencode(space)& numToChar(57236)& numToChar(57234)& numToChar(57235) [ err . . . sorry about that "mouthful" ] I move the insertion point just after a space and run the following: set the useUnicode to true put the word 4 of the selectedChunk into W4 put (W4 - 1) into W5 get charToNum(char W5 to W4 of fld "fTX") put it into UNIK set the unicodeText of fld "fW4" to numToChar(UNIK) put the word 2 of the selectedChunk into W2 put (W2 + 1) into W1 get charToNum(char W2 to W1 of fld "fTX") put it into UNIQ set the unicodeText of fld "fW2" to numToChar(UNIQ) put uniEncode("The insertion point is between '") into P1 put uniEncode("' and '") into P2 put uniEncode("'") into P3 set the unicodeText of fld "fWH" to P1& numToChar(UNIK)& P2& numToChar(UNIQ)& P3 however the output (in fld "fWH") does not tell me my insertion point is between ' ' and 'X'; but gives me a "funny char" in the first position . . . > -- > Best regards, > > Mark Schonewille > Interestingly enough that problem goes away if one uses a completely unicode compliant font such as 'Last Resort'. From richmondmathewson at gmail.com Mon Aug 30 09:00:38 2010 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 30 Aug 2010 16:00:38 +0300 Subject: Inserting unicodeText into a unicode string? #4 Message-ID: <4C7BAB76.1070301@gmail.com> For those of you who are interested, the results of my experimentation are here: http://andregarzia.on-rev.com/richmond/STUFF/Text_Insertion.zip send me some feedback . . . :) Love, Richmond. From capellan2000 at gmail.com Mon Aug 30 09:01:40 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 30 Aug 2010 06:01:40 -0700 (PDT) Subject: The power of despeckle-median filters: Image examples In-Reply-To: <1282987296592-2362652.post@n4.nabble.com> References: <4C76466C.2010601@hrz.uni-kassel.de> <4C784A9D.3030307@hrz.uni-kassel.de> <1282987296592-2362652.post@n4.nabble.com> Message-ID: <1283173300457-2400057.post@n4.nabble.com> Hi Wilhelm, BNig wrote: > > thank you for sharing your extensive work on image manipulation in RunRev. > I liked your tools for years and I learned a lot from inspecting your > scripts. > I completely agree with Bern. Hopefully your work in this area will receive more attention from editors of RevJournal and Rev newsletter. They should publish an extensive review of your scripts and how you port Lua scripts to Rev. Recently, i had to write some PHP scripts for first time and my experience with revTalk helped a lot to complete this task. I believe that revTalk english-like syntax is a real advantage that should be leveraged to teach programming to millions of computer users that could read english. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/The-power-of-despeckle-median-filters-Image-examples-tp2339534p2400057.html Sent from the Revolution - User mailing list archive at Nabble.com. From kevin at runrev.com Mon Aug 30 10:12:46 2010 From: kevin at runrev.com (Kevin Miller) Date: Mon, 30 Aug 2010 15:12:46 +0100 Subject: The power of despeckle-median filters: Image examples In-Reply-To: <1283173300457-2400057.post@n4.nabble.com> Message-ID: On 30/08/2010 14:01, "Alejandro Tejada" wrote: >> thank you for sharing your extensive work on image manipulation in RunRev. >> I liked your tools for years and I learned a lot from inspecting your >> scripts. >> > > I completely agree with Bern. > > Hopefully your work in this area will > receive more attention from editors > of RevJournal and Rev newsletter. I agree too - these are impressive scripts. Wilhelm, if you might be interested in doing a newsletter article then please drop me a line off list. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ RunRev - Software construction for everyone From userev at canelasoftware.com Mon Aug 30 11:33:43 2010 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 30 Aug 2010 08:33:43 -0700 Subject: Determining LAN IP In-Reply-To: <4F6FFE22-38F6-43D2-879A-30287F658164@sweattechnologies.com> References: <4F6FFE22-38F6-43D2-879A-30287F658164@sweattechnologies.com> Message-ID: On Aug 26, 2010, at 3:50 PM, Monte Goulding wrote: > Hi Everyone > > To determine the domain name of the computer Rev is running on we use hostName() and to turn that into an IP we use hostNameToAddress(hostName()). If you are behind a router this will return your LAN IP however if your computer is using a modem it will return a public IP. I need a reliable LAN IP so I can ask the user to enter it into their iPhone to connect to my sync server. Should I just be parsing ifconfig and ipconfig and forget about hostName() or what? > > Cheers Hi Monte, We parse out both ifConfig and ipConfig to get the IP of a system. We also wrote out a pairing routine to connect computers together (software remote control for our acuity systems). It can scan an entire range on the same subnet in about two seconds on most systems. If you would like the code send me a message. Below is the code we use for parsing. We made some modifications that support the subtleties of the various Win versions and wireless vs ethernet. --> MY IP function getMyIp switch (the platform) case "MacOS" put shell("/sbin/ifconfig en0") into tEthernetConfig put shell("/sbin/ifconfig en1") into tWirelessConfig if char 1 to 4 of tIpConfig = "zsh:" then return "0.0.0.0" else set the itemdel to "." --CHECK FOR ETHERNET CONNECTION get matchText(tEthernetConfig,"(?s)inet (.*?) ",retVal) -- These are spaces on either side of (.*?) if it is false then --CHECK FOR WIRELESS CONNECTION get matchText(tWirelessConfig,"(?s)inet (.*?) ",retVal) -- These are spaces on either side of (.*?) if it is false then return "0.0.0.0" end if end if end if return retVal break case "Win32" put (there is not a file (specialFolderPath("system") & "/IPCONFIG.EXE")) into tWindowsError put (there is not a file (specialFolderPath("system") & "/SYSTEM32/IPCONFIG.EXE")) into tSys32Error if tWindowsError and tSys32Error then return "0.0.0.0" else set the hideConsoleWindows to true put shell("ipconfig/all") into tIpConfigAll put tIpConfigAll into temp --ETHERNET XP & VISTA put offset("Ethernet adapter Local Area Connection:",temp) into tOffsetResult delete char 1 to (tOffsetResult-1) in temp get matchText(temp,"IP Address[\. ]*: ([A-Z0-9\.]*)",retVal) --WIRELESS XP & VISTA if retVal is empty then put tIpConfigAll into temp put offset("Ethernet adapter Wireless Network Connection:",temp) into tOffsetResult delete char 1 to (tOffsetResult-1) in temp get matchText(temp,"IP Address[\. ]*: ([A-Z0-9\.]*)",retVal) end if if retVal is empty then --ETHERNET WIN 7 put tIpConfigAll into temp get matchText(temp,"IPv4 Address[\. ]*: ([A-Z0-9\.]*)",retVal) end if if it is false then --NO NETWORK CONNECTION FOUND return "0.0.0.0" else return retVal end if end if break end switch return "0.0.0.0" end getMyIp Best regards, Mark Talluto http://www.canelasoftware.com From ewan at supremis.co.uk Mon Aug 30 12:19:24 2010 From: ewan at supremis.co.uk (Ewan Richardson) Date: Mon, 30 Aug 2010 17:19:24 +0100 Subject: Geographic Functions, any takers? Message-ID: <003201cb485f$1cd894c0$5689be40$@supremis.co.uk> Has anyone written any libraries for Geographic functions within rev? Im thinking of a library for dealing with latitude and longitude, for example determining distance between points, bearings radian calculations ect. Compute true course and distance between points. Compute lat/lon given radial and distance from a known point. With default ellipsoid to WGS84 and other types. This could be useful for creating some mapping functions within rev, but also for 3d users for real world visualisation. Might be handy for GPS logging also. Has anyone done anything similar, or is there any interest in such a library. Thanks Ewan From revolution at derbrill.de Mon Aug 30 13:47:04 2010 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Mon, 30 Aug 2010 19:47:04 +0200 Subject: Geographic Functions, any takers? In-Reply-To: <20100809170005.5C5F7288198@mail.runrev.com> References: <20100809170005.5C5F7288198@mail.runrev.com> Message-ID: <056CF535-3291-41E5-AF92-7AEEAD880BCA@derbrill.de> Hi Ewan, I for sure am interested, however I am totally packed until at least the end of september. :-) Cheers, Malte From ray at linkit.com Mon Aug 30 15:02:10 2010 From: ray at linkit.com (Ray Horsley) Date: Mon, 30 Aug 2010 15:02:10 -0400 Subject: Posting Data on Windows 7 Message-ID: Greetings, I'm using the LibURL post command setup the same way I always do but now on Windows 7 and it seems to add a return character (char #13) and a line feed (char # 10 I believe) at the end of the data for each file I write to our remote server. The result for sending a 2018 byte file is then "2020 bytes written". Any ideas? Ray Horsley LinkIt! Software From francois.chaplais at mines-paristech.fr Mon Aug 30 15:48:05 2010 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Mon, 30 Aug 2010 21:48:05 +0200 Subject: Mobile rev update Message-ID: Some time ago I complained about not receiving any update to the pre alpha release of rev mobile. Well, I got an update this month (hope there is no NDA on this). Best regards, Fran?ois From ewan at supremis.co.uk Mon Aug 30 16:08:51 2010 From: ewan at supremis.co.uk (Ewan Richardson) Date: Mon, 30 Aug 2010 21:08:51 +0100 Subject: Geographic Functions, any takers? In-Reply-To: <056CF535-3291-41E5-AF92-7AEEAD880BCA@derbrill.de> References: <20100809170005.5C5F7288198@mail.runrev.com> <056CF535-3291-41E5-AF92-7AEEAD880BCA@derbrill.de> Message-ID: <007e01cb487f$2a417350$7ec459f0$@supremis.co.uk> Thanks Malte Have made a start, will find a webserver somewhere to throw versions onto. Ewan -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Malte Pfaff-Brill Sent: 30 August 2010 18:47 To: use-revolution at lists.runrev.com Subject: Re: Geographic Functions, any takers? Hi Ewan, I for sure am interested, however I am totally packed until at least the end of september. :-) Cheers, Malte _______________________________________________ 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 rombauts.be Mon Aug 30 16:22:48 2010 From: andre at rombauts.be (Andre Rombauts) Date: Mon, 30 Aug 2010 22:22:48 +0200 Subject: Embedding revlets in Wordpress pages or articles Message-ID: <20100830202248.421374088@mail.rombauts.be> Hello there! I tried to embed a revlet in a Wordpress page. doesn't seem to work. It hangs the system... I just added the code just like O do for SWF files. Any idea? Andr? From mwieder at ahsoftware.net Mon Aug 30 16:29:47 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 30 Aug 2010 13:29:47 -0700 Subject: Embedding revlets in Wordpress pages or articles In-Reply-To: <20100830202248.421374088@mail.rombauts.be> References: <20100830202248.421374088@mail.rombauts.be> Message-ID: <1231113080765.20100830132947@ahsoftware.net> Andre- Monday, August 30, 2010, 1:22:48 PM, you wrote: > Hello there! > I tried to embed a revlet in a Wordpress page. doesn't seem to work. It > hangs the system... I just added the code just like O > do for SWF files. > Any idea? Looking for this? http://goulding.ws/2010/08/21/revweb-widget-for-wordpress/ -- -Mark Wieder mwieder at ahsoftware.net From andre at rombauts.be Mon Aug 30 16:40:24 2010 From: andre at rombauts.be (Andre Rombauts) Date: Mon, 30 Aug 2010 22:40:24 +0200 Subject: Embedding revlets in Wordpress pages or articles In-Reply-To: <1231113080765.20100830132947@ahsoftware.net> References: <20100830202248.421374088@mail.rombauts.be> <1231113080765.20100830132947@ahsoftware.net> Message-ID: <20100830204024.1485912661@mail.rombauts.be> >Andre- > >Monday, August 30, 2010, 1:22:48 PM, you wrote: > >> Hello there! > >> I tried to embed a revlet in a Wordpress page. doesn't seem to work. It >> hangs the system... I just added the code just like O >> do for SWF files. > >> Any idea? > >Looking for this? > >http://goulding.ws/2010/08/21/revweb-widget-for-wordpress/ Great! BUT this is for widget area... Embedding in a text widget was already working because the code is not parsed by wp. But in a page, the code is parsed by the theme... So pages and articles are working differently. I hope that Monte Goulding is reading here and can help... Andr? From ray at linkit.com Mon Aug 30 17:12:02 2010 From: ray at linkit.com (Ray Horsley) Date: Mon, 30 Aug 2010 17:12:02 -0400 Subject: Posting Data on Windows 7 Message-ID: <633C95ED-804D-4083-B9B3-EA1CAF227E1D@linkit.com> Greetings, I'm using the LibURL post command setup the same way I always do but now on Windows 7 and it seems to add a return character (char #13) and a line feed (char # 10 I believe) at the end of the data for each file I write to our remote server. The result for sending a 2018 byte file is then "2020 bytes written". Any ideas? Ray Horsley LinkIt! Software From effendi at wanadoo.fr Mon Aug 30 17:28:29 2010 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Mon, 30 Aug 2010 23:28:29 +0200 Subject: Geographic Functions, any takers? Message-ID: Hi from Beautiful Brittany. Ewan wrote : > Compute true course and distance between points. I don't know if I have something which may solve part of your problems. I travelled a lot, before retiring, and always kept a note of cities visited, and stopovers on the way. I decided, one day to feed all of my data into a TRAVEL stack, to see how far I had really travelled (finally, more than 2 million klicks). I picked uf a file on the internet with position co-ordinates of 10,000 cities in the world, and than converted these co-ordinates to Lat/Long in radians. Then with a Haversine formula, I can calculate the distance between any two cities in the world (in km.), with up to 6 stopovers. example : Paris-Lisbon-Rio-London-Paris. You can, of course, feed in co-ordinates of any point on the globe, of any small town not in the list of 10,000 ! If my calculations are of use, just shout !. Best Regards, -Francis "Nothing should ever be done for the first time !" From monte at sweattechnologies.com Mon Aug 30 17:47:08 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 31 Aug 2010 07:47:08 +1000 Subject: Geographic Functions, any takers? In-Reply-To: References: Message-ID: <280132CB-1914-46D9-A1E9-7C12CAFB64FB@sweattechnologies.com> > > > You can, of course, feed in co-ordinates of any > point on the globe, of any small town not in the > list of 10,000 ! > > If my calculations are of use, just shout !. These would be quite handy to put on file for me. I'd really appreciate a copy. Cheers Monte From monte at sweattechnologies.com Mon Aug 30 18:31:51 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 31 Aug 2010 08:31:51 +1000 Subject: Embedding revlets in Wordpress pages or articles In-Reply-To: <20100830204024.1485912661@mail.rombauts.be> References: <20100830202248.421374088@mail.rombauts.be> <1231113080765.20100830132947@ahsoftware.net> <20100830204024.1485912661@mail.rombauts.be> Message-ID: <58154C43-7FF9-4912-B29F-C81E11DC3802@sweattechnologies.com> >> Andre- >> >> Monday, August 30, 2010, 1:22:48 PM, you wrote: >> >>> Hello there! >> >>> I tried to embed a revlet in a Wordpress page. doesn't seem to work. It >>> hangs the system... I just added the code just like O >>> do for SWF files. >> >>> Any idea? >> >> Looking for this? >> >> http://goulding.ws/2010/08/21/revweb-widget-for-wordpress/ > > Great! BUT this is for widget area... > Embedding in a text widget was already working because the code is not > parsed by wp. But in a page, the code is parsed by the theme... So pages > and articles are working differently. > > I hope that Monte Goulding is reading here and can help... I replied on my blog to Andre but I thought I'd reply here too if anyone else is interested. To embed your revlet in a page or post you could use the Widgets on Pages plugin that gives you extra sidebars you can put widgets on and include with a shortcode. Down the track and depending on interest/need I will probably create a Revolution for WordPress plugin that includes shortcodes and widgets for revlets and revServer although for revServer people could just use an iframe widget or even the built in text widget with the iframe code in it. Cheers Monte From stephenREVOLUTION2 at barncard.com Mon Aug 30 18:50:48 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 30 Aug 2010 15:50:48 -0700 Subject: Embedding revlets in Wordpress pages or articles In-Reply-To: <58154C43-7FF9-4912-B29F-C81E11DC3802@sweattechnologies.com> References: <20100830202248.421374088@mail.rombauts.be> <1231113080765.20100830132947@ahsoftware.net> <20100830204024.1485912661@mail.rombauts.be> <58154C43-7FF9-4912-B29F-C81E11DC3802@sweattechnologies.com> Message-ID: iFrames work GREAT in wordpress, and most of the wysiwyg text editors don't eat the code. On 30 August 2010 15:31, Monte Goulding wrote: > >> Andre- > >> > >> Monday, August 30, 2010, 1:22:48 PM, you wrote: > >> > >>> Hello there! > >> > >>> I tried to embed a revlet in a Wordpress page. doesn't seem to work. It > >>> hangs the system... I just added the code just like O > >>> do for SWF files. > >> > >>> Any idea? > >> > >> Looking for this? > >> > >> http://goulding.ws/2010/08/21/revweb-widget-for-wordpress/ > > > > Great! BUT this is for widget area... > > Embedding in a text widget was already working because the code is not > > parsed by wp. But in a page, the code is parsed by the theme... So pages > > and articles are working differently. > > > > I hope that Monte Goulding is reading here and can help... > > I replied on my blog to Andre but I thought I'd reply here too if anyone > else is interested. To embed your revlet in a page or post you could use the > Widgets on Pages plugin that gives you extra sidebars you can put widgets on > and include with a shortcode. Down the track and depending on interest/need > I will probably create a Revolution for WordPress plugin that includes > shortcodes and widgets for revlets and revServer although for revServer > people could just use an iframe widget or even the built in text widget with > the iframe code in it. > > Cheers > > Monte_______________________________________________ > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From ewan at supremis.co.uk Mon Aug 30 19:21:20 2010 From: ewan at supremis.co.uk (Ewan Richardson) Date: Tue, 31 Aug 2010 00:21:20 +0100 Subject: Geographic Functions, any takers? In-Reply-To: References: Message-ID: <00b301cb489a$0e693350$2b3b99f0$@supremis.co.uk> Hi Francis. Thanks for your reply. Any resources would be greatly appreciated, I can see an SQL database of locations being very useful. Have already set up a database of UK lat - longs & towns, postcodes ect, so would be useful to extend this. If theres enough interest id be happy to allow access to the database, or a copy for anyone interested. Spooky that you mention the Haversine formula. Was just prototyping that as your email bounced in. function CalculateRiemannDistance thedata set the itemdelimiter to comma put item 1 of thedata into lat_from put item 2 of thedata into long_from put item 3 of thedata into lat_to put item 4 of thedata into long_to put item 5 of thedata into unit switch unit case "m" -- unit is miles put 3963 into unit break case "n" --unit is nautical miles put 3444 into unit break default -- kilometers put 6371 into unit break end switch /*** 1 degree = 0.017453292519943 radius ***/ put converttoRadians(lat_from) into lat_from put converttoRadians(long_from) into long_from put converttoRadians(lat_to) into lat_to put converttoRadians(long_to) into long_to /*** apply the Great Circle Distance Formula ***/ put sin($lat_from) * sin($lat_to) + cos($lat_from) * cos($lat_to) * cos($long_from - $long_to) into dist return dist end CalculateRiemannDistance The world is indeed getting smaller! Ewan -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Francis Nugent Dixon Sent: 30 August 2010 22:28 To: use-revolution at lists.runrev.com Subject: Geographic Functions, any takers? Hi from Beautiful Brittany. Ewan wrote : > Compute true course and distance between points. I don't know if I have something which may solve part of your problems. I travelled a lot, before retiring, and always kept a note of cities visited, and stopovers on the way. I decided, one day to feed all of my data into a TRAVEL stack, to see how far I had really travelled (finally, more than 2 million klicks). I picked uf a file on the internet with position co-ordinates of 10,000 cities in the world, and than converted these co-ordinates to Lat/Long in radians. Then with a Haversine formula, I can calculate the distance between any two cities in the world (in km.), with up to 6 stopovers. example : Paris-Lisbon-Rio-London-Paris. You can, of course, feed in co-ordinates of any point on the globe, of any small town not in the list of 10,000 ! If my calculations are of use, just shout !. Best Regards, -Francis "Nothing should ever be done for the first 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 sarah.reichelt at gmail.com Mon Aug 30 19:41:26 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 31 Aug 2010 09:41:26 +1000 Subject: Posting Data on Windows 7 In-Reply-To: References: Message-ID: Ray, what version of Rev are you using? In 4.5.0-dp-3 there were changes to libURL which caused massive problems of this type. Try using another version of Rev and seeing if that solves your issue. Cheers, Sarah On Tue, Aug 31, 2010 at 5:02 AM, Ray Horsley wrote: > Greetings, > > I'm using the LibURL post command setup the same way I always do but now on > Windows 7 and it seems to add a return character (char #13) and a line feed > (char # 10 I believe) at the end of the data for each file I write to our > remote server. ?The result for sending a 2018 byte file is then "2020 bytes > written". ?Any ideas? > > Ray Horsley > LinkIt! Software > _______________________________________________ > 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 > -- Cheers, Sarah Rodeo discussion: http://alltiera.com/discussion/ From jacque at hyperactivesw.com Mon Aug 30 21:15:08 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 30 Aug 2010 20:15:08 -0500 Subject: Multi-Page Printing Strategy? In-Reply-To: References: Message-ID: <4C7C579C.1080401@hyperactivesw.com> On 8/28/10 11:25 PM, Scott Rossi wrote: > I can write a routine to to tell the app to automatically create each slide, > but I don't know if I should try to print directly from the main display > stack, or copy card elements out to an offscreen stack and print from there. > The display stack can fit standard paper size, so there's no > resizing/reformatting issue to deal with there. > > Could this be as straightforward as the following? > > open printing > > print this cd > > print this cd > ...etc. > close printing If it fits on the printed page and you don't need to add or remove any elements from the printout, then I don't see why you'd need to duplicate everything to a printing stack. There wouldn't be any difference. I haven't had any technical issues when printing from the original cards. I do create printing templates when I need to use a layout that is different from the card layout, but if the two are the same there's no real reason to. It should be as easy as what you wrote above. > > Also, what is the proper method for centering content on a printed page? I > see Rev provides printRectangle and printPaperRectangle properties, but I > can't tell from their descriptions what I would use to center stack content > within the live area of a printed page. Unless you need something more elaborate like scaling, I'd think you would only need to calculate the correct printmargins. Get the width and height of the stack. For each dimension subtract the stack pixel count from the page pixel count, divide by two, and that's your margin. You can adjust those numbers if you want a bigger margin at the top or the left. Then you need to account for the printer's default margins. The printRectangle gives you the actual rectangle that the printer can print to. Most printers have default margins, past which they can't print (often, for example, a quarter inch on the sides where the printer just can't lay any ink.) You usually need to take this into consideration; if you want a half-inch total left margin then you need to account for the quarter inch where the printer can't reach, which leaves you another quarter inch for your stack's print margin. When you set the leftmargin property to a quarter inch, the stack will actually print with a half inch margin because the printer's margin is added to the stack's margin. Calculate that for all four sides. Each printer is a little different. The printPaperRect is the dimensions (in pixels) of the printer paper itself. If you are printing to a non-standard sized paper then sometimes you'll want to consider those dimensions too, but since you say the stack will fit on standard paper size I don't think you need to mess with that -- unless you want to check whether the printer is set up to print envelopes, for example, in which case your stack printout won't fit. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at harryscollar.com Tue Aug 31 01:37:41 2010 From: alex at harryscollar.com (Alex Shaw) Date: Tue, 31 Aug 2010 15:37:41 +1000 Subject: Copy field problem In-Reply-To: <4C7C579C.1080401@hyperactivesw.com> References: <4C7C579C.1080401@hyperactivesw.com> Message-ID: <4C7C9525.8040705@harryscollar.com> Hi Having a annoying problem with copying a field from a (specific) stack. See below for basic test stack with a single field with some content.. http://www.harryscollar.com/teststack.rev This unusual stack was initially created via code, stripped back of unneeded controls and saved. When I load this stack into the IDE, create a new stack and run the following command at the message box.. copy fld 1 of card 1 of stack "teststack" to card 1 of stack "Untitled 1" .. I get a blank field on the new stack! Yet when I copy and paste the field onto another new stack and try copying, it works and copies the contents too. It also works if I manually recreate a test stack with another test field. Very strange because any new field created on "teststack.rev" will now copy over to any other stacks with empty contents. I've checked relevant properties but nothing seems out of place. Argh! Starting to pull out my hair over this problem. regards alex From janschenkel at yahoo.com Tue Aug 31 04:30:28 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 31 Aug 2010 01:30:28 -0700 (PDT) Subject: Copy field problem In-Reply-To: <4C7C9525.8040705@harryscollar.com> Message-ID: <719383.69851.qm@web65408.mail.ac4.yahoo.com> --- On Mon, 8/30/10, Alex Shaw wrote: > Hi > > Having a annoying problem with copying a field from a > (specific) stack. > > See below for basic test stack with a single field with > some content.. > http://www.harryscollar.com/teststack.rev > > This unusual stack was initially created via code, stripped > back of unneeded controls and saved. > > When I load this stack into the IDE, create a new stack and > run the following command at the message box.. > copy fld 1 of card 1 of stack "teststack" to card 1 of > stack "Untitled 1" > > .. I get a blank field on the new stack! > > Yet when I copy and paste the field onto another new stack > and try copying, it works and copies the contents too. It > also works if I manually recreate a test stack with another > test field. > > Very strange because any new field created on > "teststack.rev" will now copy over to any other stacks with > empty contents. > > I've checked relevant properties but nothing seems out of > place. > > Argh! Starting to pull out my hair over this problem. > > regards > alex > It worked for me, once i set the 'sharedText' property of the field to true. My guess is that the copy command assumes that if this is false, you really didn't want the original text :-) HTH, Jan Schenkel. ===== Quartam Reports & PDF Library for Revolution www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From richmondmathewson at gmail.com Tue Aug 31 05:12:41 2010 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 31 Aug 2010 12:12:41 +0300 Subject: Revolution's "Bad Boy" opens his big fat mouth. Message-ID: <4C7CC789.20704@gmail.com> I know I shouldn't, but, Hey; I've been relatively tame recently, so here goes . . . Having got my paws on a late DP release of RunRev 4.5 I can say that FONTS work "exactly the same" [i.e. from the end-user's point of view] on Linux as on Windows and Ubuntu. Cheers, cheers, cheers . . . RunRev have pulled off a coup! Love, Richmond. From alex at harryscollar.com Tue Aug 31 05:37:57 2010 From: alex at harryscollar.com (Alex Shaw) Date: Tue, 31 Aug 2010 19:37:57 +1000 Subject: Copy field problem In-Reply-To: <719383.69851.qm@web65408.mail.ac4.yahoo.com> References: <719383.69851.qm@web65408.mail.ac4.yahoo.com> Message-ID: <4C7CCD75.2010306@harryscollar.com> Hi Jan Yes, that worked for me too. Fortunately, as a workaround, having 'sharedText' active for that particular field isn't going to cause any problems in this instance but I still think it's a bug of sorts with the 'copy' command. Using the copy field to stack command does not work for that strange stack (is it corrupted?) but if you just copy the field to the clipboard then paste to destination it does work as expected! ie. from the message box.. Instead of.. copy fld 1 of card 1 of stack "teststack" to card 1 of stack "Untitled 1" This works.. copy fld 1 of card 1 of stack "teststack" create stack "new" paste hmm.. strange regards alex On 31/08/10 6:30 PM, Jan Schenkel wrote: > --- On Mon, 8/30/10, Alex Shaw wrote: >> Hi >> >> Having a annoying problem with copying a field from a >> (specific) stack. >> >> See below for basic test stack with a single field with >> some content.. >> http://www.harryscollar.com/teststack.rev >> >> This unusual stack was initially created via code, stripped >> back of unneeded controls and saved. >> >> When I load this stack into the IDE, create a new stack and >> run the following command at the message box.. >> copy fld 1 of card 1 of stack "teststack" to card 1 of >> stack "Untitled 1" >> >> .. I get a blank field on the new stack! >> >> Yet when I copy and paste the field onto another new stack >> and try copying, it works and copies the contents too. It >> also works if I manually recreate a test stack with another >> test field. >> >> Very strange because any new field created on >> "teststack.rev" will now copy over to any other stacks with >> empty contents. >> >> I've checked relevant properties but nothing seems out of >> place. >> >> Argh! Starting to pull out my hair over this problem. >> >> regards >> alex >> > > It worked for me, once i set the 'sharedText' property of the field to true. My guess is that the copy command assumes that if this is false, you really didn't want the original text :-) > > HTH, > > Jan Schenkel. > ===== > Quartam Reports& PDF Library for Revolution > www.quartam.com > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) > > > > > > _______________________________________________ > 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 richmondmathewson at gmail.com Tue Aug 31 05:40:19 2010 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 31 Aug 2010 12:40:19 +0300 Subject: Copy field problem In-Reply-To: <4C7CCD75.2010306@harryscollar.com> References: <719383.69851.qm@web65408.mail.ac4.yahoo.com> <4C7CCD75.2010306@harryscollar.com> Message-ID: <4C7CCE03.7020604@gmail.com> On 08/31/2010 12:37 PM, Alex Shaw wrote: > Hi Jan > > Yes, that worked for me too. > > Fortunately, as a workaround, having 'sharedText' active for that > particular field isn't going to cause any problems in this instance > but I still think it's a bug of sorts with the 'copy' command. > > Using the copy field to stack command does not work for that strange > stack (is it corrupted?) but if you just copy the field to the > clipboard then paste to destination it does work as expected! > > ie. from the message box.. > > Instead of.. > copy fld 1 of card 1 of stack "teststack" to card 1 of stack "Untitled 1" Why do I have a queer feeling that it might not be a bad idea to name and save the target stack prior to any copying? > > This works.. > copy fld 1 of card 1 of stack "teststack" > create stack "new" > paste > > hmm.. strange > > regards > alex > From richmondmathewson at gmail.com Tue Aug 31 06:17:31 2010 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 31 Aug 2010 13:17:31 +0300 Subject: Copy field problem Message-ID: <4C7CD6BB.20202@gmail.com> On 08/31/2010 12:37 PM, Alex Shaw wrote: > Hi Jan > > Yes, that worked for me too. > > Fortunately, as a workaround, having 'sharedText' active for that > particular field isn't going to cause any problems in this instance > but I still think it's a bug of sorts with the 'copy' command. > > Using the copy field to stack command does not work for that strange > stack (is it corrupted?) but if you just copy the field to the > clipboard then paste to destination it does work as expected! > > ie. from the message box.. > > Instead of.. > copy fld 1 of card 1 of stack "teststack" to card 1 of stack "Untitled 1" Why do I have a queer feeling that it might not be a bad idea to name and save the target stack prior to any copying? Just set up [RunRev 4.0, Ubuntu-Linux] 2 stacks: "teststack" and "target"; saved both. Popped a field "fF" on "teststack" and a button with the following script: on mouseUp copy fld "fF" of card 1 of stack "teststack" to card 1 of stack "target" end mouseUp bingo! tried the same in the Messagebox: copy fld "fF" of card 1 of stack "teststack" to card 1 of stack "target" bingo! quod erat demonstrandum old chap . . . :) > > This works.. > copy fld 1 of card 1 of stack "teststack" > create stack "new" > paste > > hmm.. strange > > regards > alex > From klaus at major.on-rev.com Tue Aug 31 06:56:41 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 31 Aug 2010 12:56:41 +0200 Subject: Rev Forum error? Message-ID: <65DE1EAA-31EE-49E6-BDDB-333841EE6AE6@major.on-rev.com> Hi all, someone also gets this when accessing the Rev forum: ------------- General Error SQL ERROR [ mysql4 ] Too many connections [1040] An sql error occurred while fetching this page. Please contact an administrator if this problem persists. -------------- "Too many connections"??? C'mon this is not Google :-) This is the second time in two weeks for me. Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From richmondmathewson at gmail.com Tue Aug 31 07:20:34 2010 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 31 Aug 2010 14:20:34 +0300 Subject: Rev Forum error? In-Reply-To: <65DE1EAA-31EE-49E6-BDDB-333841EE6AE6@major.on-rev.com> References: <65DE1EAA-31EE-49E6-BDDB-333841EE6AE6@major.on-rev.com> Message-ID: <4C7CE582.4060400@gmail.com> On 08/31/2010 01:56 PM, Klaus on-rev wrote: > Hi all, > > > Best > > Klaus > > Hi Klaus, Very good to see that you are 'here' and 'with us' once more! sincerely, Richmond Mathewson. From alex at harryscollar.com Tue Aug 31 07:26:18 2010 From: alex at harryscollar.com (Alex Shaw) Date: Tue, 31 Aug 2010 21:26:18 +1000 Subject: Copy field problem In-Reply-To: <4C7CD6BB.20202@gmail.com> References: <4C7CD6BB.20202@gmail.com> Message-ID: <4C7CE6DA.2000305@harryscollar.com> Hi Richmond The problem is THAT particular saved stack ie http://www.harryscollar.com/teststack.rev .. is showing the problem. The stack I uploaded has not been binary edited in any way and was initially created by code from a project I'm working on. In the project the stack is a simple temporary, in-memory data stack, created whenever the application is started. When I noticed the problem I stripped all other elements from the stack so that only one of the problem fields was left and then saved it as a on-disk stack. Obviously this process of elimination still left me with a field that still wouldn't copy properly to another stack with the copy to stack command. btw it doesn't matter whether the destination stack is named or saved, I just wanted a quick test process for others to follow and replicate the problem. My concern is how/why the stack or field itself got corrupted so that it cannot be copied when the copy to stack command works fine in every other situation, regardless of the 'sharedText' property. Don't think I've tested the complete range of situations but enough to know something isn't right. regards alex On 31/08/10 8:17 PM, Richmond wrote: > On 08/31/2010 12:37 PM, Alex Shaw wrote: >> Hi Jan >> >> Yes, that worked for me too. >> >> Fortunately, as a workaround, having 'sharedText' active for that >> particular field isn't going to cause any problems in this instance >> but I still think it's a bug of sorts with the 'copy' command. >> >> Using the copy field to stack command does not work for that strange >> stack (is it corrupted?) but if you just copy the field to the >> clipboard then paste to destination it does work as expected! >> >> ie. from the message box.. >> >> Instead of.. >> copy fld 1 of card 1 of stack "teststack" to card 1 of stack "Untitled 1" > > Why do I have a queer feeling that it might not be a bad idea to name > and save the target stack prior to > any copying? > > Just set up [RunRev 4.0, Ubuntu-Linux] 2 stacks: "teststack" and > "target"; saved both. > > Popped a field "fF" on "teststack" and a button with the following script: > > on mouseUp > copy fld "fF" of card 1 of stack "teststack" to card 1 of stack "target" > end mouseUp > > bingo! > > tried the same in the Messagebox: > > copy fld "fF" of card 1 of stack "teststack" to card 1 of stack "target" > > bingo! > > quod erat demonstrandum old chap . . . :) > >> >> This works.. >> copy fld 1 of card 1 of stack "teststack" >> create stack "new" >> paste >> >> hmm.. strange >> >> regards >> alex >> > > > _______________________________________________ > 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 richmondmathewson at gmail.com Tue Aug 31 08:06:19 2010 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 31 Aug 2010 15:06:19 +0300 Subject: Copy field problem In-Reply-To: <4C7CE6DA.2000305@harryscollar.com> References: <4C7CD6BB.20202@gmail.com> <4C7CE6DA.2000305@harryscollar.com> Message-ID: <4C7CF03B.7050406@gmail.com> On 08/31/2010 02:26 PM, Alex Shaw wrote: > Hi Richmond > > The problem is THAT particular saved stack ie > http://www.harryscollar.com/teststack.rev > .. is showing the problem. > Right: I have just downloaded your stack to my desktop [Ubuntu 10.04, RunRev 4.0], set up an unsaved stack "Untitled 1" and run this in the Message Box: copy fld 1 of card 1 of stack "teststack" to card 1 of stack "Untitled 1" the field copied across, but its contents DIDN'T: very, very queer indeed . . . Unless . . . hang on a minute . . . Ugh, curse, fioch . . . no, that doesn't help . . . but let's try this . . . [Multiline Message Box] copy fld 1 of card 1 of stack "teststack" to card 1 of stack "Untitled 1" put fld 1 of card 1 of stack "teststack" into fld 1 of card 1 of stack "Untitled 1" Now, the field is copied across, followed by its contents . . . :) From jonathandlynch at gmail.com Tue Aug 31 08:30:36 2010 From: jonathandlynch at gmail.com (jonathandlynch at gmail.com) Date: Tue, 31 Aug 2010 12:30:36 +0000 Subject: Copy field problem In-Reply-To: <4C7CF03B.7050406@gmail.com> References: <4C7CD6BB.20202@gmail.com> <4C7CE6DA.2000305@harryscollar.com><4C7CF03B.7050406@gmail.com> Message-ID: <414488775-1283256732-cardhu_decombobulator_blackberry.rim.net-811635085-@bda2034.bisx.prod.on.blackberry> When I print from my faerie tale editing program, I create a print stack and copy groups to cards in the print stack. All fields that are copied must have their shared text set to true or they will copy over empty. I had thought that was standard behavior for Rev? Sent from my Verizon Wireless BlackBerry -----Original Message----- From: Richmond Sender: use-revolution-bounces at lists.runrev.com Date: Tue, 31 Aug 2010 15:06:19 To: How to use Revolution Reply-To: How to use Revolution Subject: Re: Copy field problem On 08/31/2010 02:26 PM, Alex Shaw wrote: > Hi Richmond > > The problem is THAT particular saved stack ie > http://www.harryscollar.com/teststack.rev > .. is showing the problem. > Right: I have just downloaded your stack to my desktop [Ubuntu 10.04, RunRev 4.0], set up an unsaved stack "Untitled 1" and run this in the Message Box: copy fld 1 of card 1 of stack "teststack" to card 1 of stack "Untitled 1" the field copied across, but its contents DIDN'T: very, very queer indeed . . . Unless . . . hang on a minute . . . Ugh, curse, fioch . . . no, that doesn't help . . . but let's try this . . . [Multiline Message Box] copy fld 1 of card 1 of stack "teststack" to card 1 of stack "Untitled 1" put fld 1 of card 1 of stack "teststack" into fld 1 of card 1 of stack "Untitled 1" Now, the field is copied across, followed by its contents . . . :) _______________________________________________ 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 Tue Aug 31 08:32:34 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 31 Aug 2010 05:32:34 -0700 Subject: Revolution's "Bad Boy" opens his big fat mouth. Message-ID: <4C7CF662.3090803@fourthworld.com> Richmond wrote: > Having got my paws on a late DP release of RunRev 4.5 I can say that > FONTS work > "exactly the same" [i.e. from the end-user's point of view] on Linux as > on Windows > and Ubuntu. > > Cheers, cheers, cheers . . . RunRev have pulled off a coup! Indeed they have. Many thanks to Mark Waddingham, Kevin, and the others on the team who have contributed to what's shaping up to be the best Linux build ever! -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From ambassador at fourthworld.com Tue Aug 31 08:44:44 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 31 Aug 2010 05:44:44 -0700 Subject: Copy field problem Message-ID: <4C7CF93C.6060000@fourthworld.com> jonathandlynch wrote: > When I print from my faerie tale editing program, I create a print > stack and copy groups to cards in the print stack. > > All fields that are copied must have their shared text set to true > or they will copy over empty. > > I had thought that was standard behavior for Rev? It is. If you want the text of a field to be shared across multiple cards, then turning on the sharedText property will be necessary. When turned off, the text of a field is bound to the record of the card on which the field is present, rather than to the field itself, in order to allow multiple cards using the field to each have their own text displayed in that object. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From larsbrehmer at mac.com Tue Aug 31 08:49:52 2010 From: larsbrehmer at mac.com (Lars Brehmer) Date: Tue, 31 Aug 2010 15:49:52 +0300 Subject: Is anyone working with Arabic? Message-ID: <8C90FE07-DBE1-49B0-87E9-6AD21041F7CB@mac.com> I am working with Arabic for the first time and have a problem. First of all, I do not speak, read or write Arabic, so I can't spot things that might be obvious. This project if for a friend who is learning Arabic. He will eventually enter his own content, and my Arabic content is just gibberish for testing purposes. So far, most things work as predicted - the Arabic font, right to left text, etc. (looks weird by the way - the insertion point stays at the right as new characters are added/deleted at the left) The only problem so far is this; The bilingual content is stored as a tab delimited list in a custom property. When I filter the custom property without empty, I lose all of the content of the custom property except the first line or 2. I finally noticed after much frustration that this seems to happen when there is more than one arabic word in an item, that is I lose all of the content starting with the first space in an Arabic item. The only thing I could think of is that the ASCII number of a space using the Arabic keyboard layout differs from the ASCII number of a European keyboard layout, but they are both 32. I found out a long time ago that when a " appears in such a tab delimited list custom property, it causes weird things to happen, but I can easily work around it, and it never caused content in the custom property to just disappear while filtering without empty. Is there something about Arabic text that I obviously don't know? For now, all I can do is NOT filter without empty, which I do routinely in scripts because an empty line in the custom property would be a big problem for this particulat stack. Anyone have an idea about this? Also, when Runrev "supports" Arabic, does that mean that sorting aplphabetically works correctly? I can see that the text lines are indeed sorted by the first letter, but I obviously can't tell whether it is alphabetical. Cheers, Lars From niggemann at uni-wh.de Tue Aug 31 09:30:17 2010 From: niggemann at uni-wh.de (BNig) Date: Tue, 31 Aug 2010 06:30:17 -0700 (PDT) Subject: Rev Forum error? In-Reply-To: <65DE1EAA-31EE-49E6-BDDB-333841EE6AE6@major.on-rev.com> References: <65DE1EAA-31EE-49E6-BDDB-333841EE6AE6@major.on-rev.com> Message-ID: <1283261417815-2401575.post@n4.nabble.com> Hi Klaus, I see it also, RevOnline the internet version (images and download) is also broken, can access it from Rev though. Klaus on-rev wrote: > > Hi all, > > someone also gets this when accessing the Rev forum: > ------------- > General Error > SQL ERROR [ mysql4 ] > > Too many connections [1040] > > An sql error occurred while fetching this page. Please contact an > administrator if this problem persists. > -------------- > > "Too many connections"??? C'mon this is not Google :-) > > This is the second time in two weeks for me. > > > Best > > Klaus > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Rev-Forum-error-tp2401363p2401575.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Tue Aug 31 09:39:58 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 31 Aug 2010 15:39:58 +0200 Subject: Is anyone working with Arabic? In-Reply-To: <8C90FE07-DBE1-49B0-87E9-6AD21041F7CB@mac.com> References: <8C90FE07-DBE1-49B0-87E9-6AD21041F7CB@mac.com> Message-ID: <38768F19-8C50-4ED4-B2FA-46EF2EDEE30F@economy-x-talk.com> Hi Lars, I did a lot of work with Arabic during several years. It has always been a bit of a struggle for me. Note that Arabic is unicode text, while the filter command uses ASCII. Unicode is binary and can contain return characters in places where you don't expect them (as well as quotes and tabs). Therefore, you can't filter unicode text directly. You can filter Arabic text after decoding the Arabic text and the filter into hexadecimal data. After decoding, replace the A0 with cr. After filtering, replace cr with A0 and encode to binary. Applying the sort command to binary data doesn't make sense. You will have to write your own sorting routine. Of course, you can decode the binary data and sort that, but the result will be dissatisfactory. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 31 aug 2010, at 14:49, Lars Brehmer wrote: > I am working with Arabic for the first time and have a problem. First of all, I do not speak, read or write Arabic, so I can't spot things that might be obvious. This project if for a friend who is learning Arabic. He will eventually enter his own content, and my Arabic content is just gibberish for testing purposes. > > So far, most things work as predicted - the Arabic font, right to left text, etc. (looks weird by the way - the insertion point stays at the right as new characters are added/deleted at the left) > > The only problem so far is this; > > The bilingual content is stored as a tab delimited list in a custom property. When I filter the custom property without empty, I lose all of the content of the custom property except the first line or 2. I finally noticed after much frustration that this seems to happen when there is more than one arabic word in an item, that is I lose all of the content starting with the first space in an Arabic item. > The only thing I could think of is that the ASCII number of a space using the Arabic keyboard layout differs from the ASCII number of a European keyboard layout, but they are both 32. > > I found out a long time ago that when a " appears in such a tab delimited list custom property, it causes weird things to happen, but I can easily work around it, and it never caused content in the custom property to just disappear while filtering without empty. Is there something about Arabic text that I obviously don't know? For now, all I can do is NOT filter without empty, which I do routinely in scripts because an empty line in the custom property would be a big problem for this particulat stack. > > Anyone have an idea about this? > > Also, when Runrev "supports" Arabic, does that mean that sorting aplphabetically works correctly? I can see that the text lines are indeed sorted by the first letter, but I obviously can't tell whether it is alphabetical. > > Cheers, > > > Lars From richmondmathewson at gmail.com Tue Aug 31 09:59:45 2010 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 31 Aug 2010 16:59:45 +0300 Subject: Is anyone working with Arabic? In-Reply-To: <38768F19-8C50-4ED4-B2FA-46EF2EDEE30F@economy-x-talk.com> References: <8C90FE07-DBE1-49B0-87E9-6AD21041F7CB@mac.com> <38768F19-8C50-4ED4-B2FA-46EF2EDEE30F@economy-x-talk.com> Message-ID: <4C7D0AD1.8020800@gmail.com> Sorry, Lars, Time to "grow up" (at least as far as I am concerned, having about 50 words of Arabic and not reading it at all, it is a "grown up" writing system) and move away from ASCII to Unicode. You WILL experience growing pains. However, once you get the hang of things, you will find that everything makes sense and is a whole lot more powerful than using ASCII. 1. I don't know what operating system you are using, but you will need to open a Unicode compliant Arabic font with a font-editing program . . . Try 'FontForge'; cross-platform, open-source and FREEEEE (it's got to be good) and make yourself up a little notebook with the characters (and remember that Arabic has 3 - 4 forms for each letter: initial, final, mid-word and isolated) and their Hexadecimal Unicode addresses. 2. Get your paws on a half-decent calculator program that will convert back-and-forth between Hexadecimal and Decimal (unless God has gifted you with 16 toes this is a blessing). Convert all the Hex Unicode addresses into Decimal numbers and jot them down in your notebook. 3. Get used to the fact that, while with ASCII you write this sort of script: put "My Big Fat Mouth" into field "Gob" with Unicode you have to do this sort of thing: set the useUnicode to true set the unicodeText of field "Gob" to numToChar(57000) & numToChar(45000) 4. Keep bothering ME, as I have already strayed far, far down the Unicode path with my Devawriter programs for Devanagari-Sanskrit text entry. sincerely, Richmond Mathewson. From klaus at major.on-rev.com Tue Aug 31 10:58:36 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 31 Aug 2010 16:58:36 +0200 Subject: Rev Forum error? In-Reply-To: <1283261417815-2401575.post@n4.nabble.com> References: <65DE1EAA-31EE-49E6-BDDB-333841EE6AE6@major.on-rev.com> <1283261417815-2401575.post@n4.nabble.com> Message-ID: <4076FB68-2CD9-4D0E-931D-70A88F1A8B23@major.on-rev.com> Hi all, Am 31.08.2010 um 15:30 schrieb BNig: > Hi Klaus, > > I see it also, RevOnline the internet version (images and download) is also > broken, can access it from Rev though. looks like the forum is online again. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From niggemann at uni-wh.de Tue Aug 31 11:01:22 2010 From: niggemann at uni-wh.de (BNig) Date: Tue, 31 Aug 2010 08:01:22 -0700 (PDT) Subject: Rev Forum error? In-Reply-To: <4076FB68-2CD9-4D0E-931D-70A88F1A8B23@major.on-rev.com> References: <65DE1EAA-31EE-49E6-BDDB-333841EE6AE6@major.on-rev.com> <1283261417815-2401575.post@n4.nabble.com> <4076FB68-2CD9-4D0E-931D-70A88F1A8B23@major.on-rev.com> Message-ID: <1283266882627-2401742.post@n4.nabble.com> RevOnline is fixed also. regards Bernd Klaus on-rev wrote: > > Hi all, > > Am 31.08.2010 um 15:30 schrieb BNig: > >> Hi Klaus, >> >> I see it also, RevOnline the internet version (images and download) is >> also >> broken, can access it from Rev though. > > looks like the forum is online again. > > > Best > > Klaus > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Rev-Forum-error-tp2401363p2401742.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Tue Aug 31 11:36:15 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 31 Aug 2010 08:36:15 -0700 Subject: Multi-Page Printing Strategy? In-Reply-To: <4C7C579C.1080401@hyperactivesw.com> References: <4C7C579C.1080401@hyperactivesw.com> Message-ID: <5991C421-6910-476C-8A4C-93DED2339C05@twft.com> Hey Jacque! How about a RevJournal article on printing? Bob On Aug 30, 2010, at 6:15 PM, J. Landman Gay wrote: > On 8/28/10 11:25 PM, Scott Rossi wrote: > >> I can write a routine to to tell the app to automatically create each slide, >> but I don't know if I should try to print directly from the main display >> stack, or copy card elements out to an offscreen stack and print from there. >> The display stack can fit standard paper size, so there's no >> resizing/reformatting issue to deal with there. >> >> Could this be as straightforward as the following? >> >> open printing >> >> print this cd >> >> print this cd >> ...etc. >> close printing > > If it fits on the printed page and you don't need to add or remove any elements from the printout, then I don't see why you'd need to duplicate everything to a printing stack. There wouldn't be any difference. I haven't had any technical issues when printing from the original cards. I do create printing templates when I need to use a layout that is different from the card layout, but if the two are the same there's no real reason to. It should be as easy as what you wrote above. > >> >> Also, what is the proper method for centering content on a printed page? I >> see Rev provides printRectangle and printPaperRectangle properties, but I >> can't tell from their descriptions what I would use to center stack content >> within the live area of a printed page. > > Unless you need something more elaborate like scaling, I'd think you would only need to calculate the correct printmargins. Get the width and height of the stack. For each dimension subtract the stack pixel count from the page pixel count, divide by two, and that's your margin. You can adjust those numbers if you want a bigger margin at the top or the left. > > Then you need to account for the printer's default margins. The printRectangle gives you the actual rectangle that the printer can print to. Most printers have default margins, past which they can't print (often, for example, a quarter inch on the sides where the printer just can't lay any ink.) You usually need to take this into consideration; if you want a half-inch total left margin then you need to account for the quarter inch where the printer can't reach, which leaves you another quarter inch for your stack's print margin. When you set the leftmargin property to a quarter inch, the stack will actually print with a half inch margin because the printer's margin is added to the stack's margin. Calculate that for all four sides. Each printer is a little different. > > The printPaperRect is the dimensions (in pixels) of the printer paper itself. If you are printing to a non-standard sized paper then sometimes you'll want to consider those dimensions too, but since you say the stack will fit on standard paper size I don't think you need to mess with that -- unless you want to check whether the printer is set up to print envelopes, for example, in which case your stack printout won't fit. > > -- > 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 palcibiades-first at yahoo.co.uk Tue Aug 31 11:42:47 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Tue, 31 Aug 2010 08:42:47 -0700 (PDT) Subject: Revolution's "Bad Boy" opens his big fat mouth. In-Reply-To: <4C7CF662.3090803@fourthworld.com> References: <4C7CC789.20704@gmail.com> <4C7CF662.3090803@fourthworld.com> Message-ID: <1283269367840-2401835.post@n4.nabble.com> Hey, this is really great news. Looking forward to getting my hands on this one! Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Revolution-s-Bad-Boy-opens-his-big-fat-mouth-tp2401254p2401835.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Tue Aug 31 11:43:45 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 31 Aug 2010 08:43:45 -0700 Subject: Copy field problem In-Reply-To: <4C7C9525.8040705@harryscollar.com> References: <4C7C579C.1080401@hyperactivesw.com> <4C7C9525.8040705@harryscollar.com> Message-ID: <717A15CC-4D94-4F29-A95C-34BDCB054229@twft.com> I think this is working exactly as intended. If you were working in an object oriented application, and you made an instance of a field object, you wouldn't want the contents of the field to ALSO be instanced. Data should by nature be separate from the form objects that display them. Hypercard confused us a bit because the card with all it's objects was both the record AND the form. A very odd thing if you think about it. But with Revolution, as I have said before, I think cards should really be used as forms, and the persistent data should be stored elsewhere. Try making your field a label field. I bet the content copies fine. Bob On Aug 30, 2010, at 10:37 PM, Alex Shaw wrote: > Hi > > Having a annoying problem with copying a field from a (specific) stack. > > See below for basic test stack with a single field with some content.. > http://www.harryscollar.com/teststack.rev > > This unusual stack was initially created via code, stripped back of unneeded controls and saved. > > When I load this stack into the IDE, create a new stack and run the following command at the message box.. > copy fld 1 of card 1 of stack "teststack" to card 1 of stack "Untitled 1" > > .. I get a blank field on the new stack! > > Yet when I copy and paste the field onto another new stack and try copying, it works and copies the contents too. It also works if I manually recreate a test stack with another test field. > > Very strange because any new field created on "teststack.rev" will now copy over to any other stacks with empty contents. > > I've checked relevant properties but nothing seems out of place. > > Argh! Starting to pull out my hair over this problem. > > regards > alex > > _______________________________________________ > 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 Tue Aug 31 12:09:26 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 31 Aug 2010 09:09:26 -0700 Subject: Revolution's "Bad Boy" opens his big fat mouth. In-Reply-To: <4C7CC789.20704@gmail.com> References: <4C7CC789.20704@gmail.com> Message-ID: <61183859718.20100831090926@ahsoftware.net> Richmond- Tuesday, August 31, 2010, 2:12:41 AM, you wrote: > Cheers, cheers, cheers . . . RunRev have pulled off a coup! w00t! Great news indeed! -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Tue Aug 31 13:25:57 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 31 Aug 2010 12:25:57 -0500 Subject: Revolution's "Bad Boy" opens his big fat mouth. In-Reply-To: <4C7CC789.20704@gmail.com> References: <4C7CC789.20704@gmail.com> Message-ID: <4C7D3B25.9080509@hyperactivesw.com> On 8/31/10 4:12 AM, Richmond wrote: > I know I shouldn't, but, Hey; I've been relatively tame recently, > so here goes . . . > > Having got my paws on a late DP release of RunRev 4.5 I can say that > FONTS work > "exactly the same" [i.e. from the end-user's point of view] on Linux as > on Windows > and Ubuntu. > > Cheers, cheers, cheers . . . RunRev have pulled off a coup! LOL! It isn't only the Linux guys who will be happy about this. The rest of us are delighted as well, as it will decrease the public gnashing of teeth on the list. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Tue Aug 31 13:40:44 2010 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 31 Aug 2010 20:40:44 +0300 Subject: Revolution's "Bad Boy" opens his big fat mouth. In-Reply-To: <4C7D3B25.9080509@hyperactivesw.com> References: <4C7CC789.20704@gmail.com> <4C7D3B25.9080509@hyperactivesw.com> Message-ID: <4C7D3E9C.3030103@gmail.com> On 08/31/2010 08:25 PM, J. Landman Gay wrote: > On 8/31/10 4:12 AM, Richmond wrote: >> I know I shouldn't, but, Hey; I've been relatively tame recently, >> so here goes . . . >> >> Having got my paws on a late DP release of RunRev 4.5 I can say that >> FONTS work >> "exactly the same" [i.e. from the end-user's point of view] on Linux as >> on Windows >> and Ubuntu. >> >> Cheers, cheers, cheers . . . RunRev have pulled off a coup! > > LOL! It isn't only the Linux guys who will be happy about this. The > rest of us are delighted as well, as it will decrease the public > gnashing of teeth on the list. :) > Really? And What About The Linux Version of The Rev-Plugin for Browsers? Gnash, Gnash!!! From mwieder at ahsoftware.net Tue Aug 31 13:44:07 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 31 Aug 2010 10:44:07 -0700 Subject: Rev Forum error? In-Reply-To: <1283261417815-2401575.post@n4.nabble.com> References: <65DE1EAA-31EE-49E6-BDDB-333841EE6AE6@major.on-rev.com> <1283261417815-2401575.post@n4.nabble.com> Message-ID: <1121189540046.20100831104407@ahsoftware.net> Bernd- Tuesday, August 31, 2010, 6:30:17 AM, you wrote: > I see it also, RevOnline the internet version (images and download) is also > broken, can access it from Rev though. ...but logging in from the IDE is still broken. -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Tue Aug 31 13:47:24 2010 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 31 Aug 2010 20:47:24 +0300 Subject: [TO] google software update Message-ID: <4C7D402C.3020704@gmail.com> Funny business, methinks. On my G4 MacMini I just happened to open the 'Activity Monitor' app (to see what 'Swap Cop' was playing at with my virtual memory) and I happened to notice an app called "Google software update"; I have no memory whatsoever of installing THAT. Found in the 'Accounts' Prefpane that it was set to start up on boot-up, and set to invisible. I seem unable to locate the app now that I have force-quitted it using 'Activity Monitor' (it was slurping quite a lot of memory). From jacque at hyperactivesw.com Tue Aug 31 13:57:14 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 31 Aug 2010 12:57:14 -0500 Subject: Multi-Page Printing Strategy? In-Reply-To: <5991C421-6910-476C-8A4C-93DED2339C05@twft.com> References: <4C7C579C.1080401@hyperactivesw.com> <5991C421-6910-476C-8A4C-93DED2339C05@twft.com> Message-ID: <4C7D427A.7050308@hyperactivesw.com> On 8/31/10 10:36 AM, Bob Sneidar wrote: > Hey Jacque! How about a RevJournal article on printing? You guys keep giving me things to do. :( I haven't even completely assimilated the idea of rewriting MCSetup yet. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Aug 31 14:01:18 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 31 Aug 2010 13:01:18 -0500 Subject: Revolution's "Bad Boy" opens his big fat mouth. In-Reply-To: <4C7D3E9C.3030103@gmail.com> References: <4C7CC789.20704@gmail.com> <4C7D3B25.9080509@hyperactivesw.com> <4C7D3E9C.3030103@gmail.com> Message-ID: <4C7D436E.1030705@hyperactivesw.com> On 8/31/10 12:40 PM, Richmond wrote: > > And What About The Linux Version of The Rev-Plugin for Browsers? Gnash, > Gnash!!! I did say "decrease", not "eliminate". :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Aug 31 14:03:29 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 31 Aug 2010 13:03:29 -0500 Subject: Rev Forum error? In-Reply-To: <1121189540046.20100831104407@ahsoftware.net> References: <65DE1EAA-31EE-49E6-BDDB-333841EE6AE6@major.on-rev.com> <1283261417815-2401575.post@n4.nabble.com> <1121189540046.20100831104407@ahsoftware.net> Message-ID: <4C7D43F1.6010702@hyperactivesw.com> On 8/31/10 12:44 PM, Mark Wieder wrote: > Bernd- > > Tuesday, August 31, 2010, 6:30:17 AM, you wrote: > >> I see it also, RevOnline the internet version (images and download) is also >> broken, can access it from Rev though. > > ...but logging in from the IDE is still broken. > There was some server maintenance yesterday, which shut things down for a brief time. It should be mostly fixed now, but there may still be some juggling going on. If the above is still broken by, say, tomorrow, it would be worth a note to support. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Tue Aug 31 14:11:41 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 31 Aug 2010 20:11:41 +0200 Subject: [TO] google software update In-Reply-To: <4C7D402C.3020704@gmail.com> References: <4C7D402C.3020704@gmail.com> Message-ID: <3E3F0E07-DA38-43F0-B740-F8752B8ADAD8@economy-x-talk.com> Richmond, This page tells you how to uninstall it http://qurl.tk/g6 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 31 aug 2010, at 19:47, Richmond wrote: > Funny business, methinks. > > On my G4 MacMini I just happened to open the > 'Activity Monitor' app (to see what 'Swap Cop' > was playing at with my virtual memory) and I happened > to notice an app called "Google software update"; > > I have no memory whatsoever of installing THAT. > > Found in the 'Accounts' Prefpane that it was set to start up > on boot-up, and set to invisible. > > I seem unable to locate the app now that I have force-quitted > it using 'Activity Monitor' (it was slurping quite a lot of memory). > From mwieder at ahsoftware.net Tue Aug 31 14:17:16 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 31 Aug 2010 11:17:16 -0700 Subject: Revolution's "Bad Boy" opens his big fat mouth. In-Reply-To: <4C7D436E.1030705@hyperactivesw.com> References: <4C7CC789.20704@gmail.com> <4C7D3B25.9080509@hyperactivesw.com> <4C7D3E9C.3030103@gmail.com> <4C7D436E.1030705@hyperactivesw.com> Message-ID: <931191528843.20100831111716@ahsoftware.net> Jacque- Tuesday, August 31, 2010, 11:01:18 AM, you wrote: > I did say "decrease", not "eliminate". :) Atsa fine. I'll take some. http://www.imdb.com/title/tt0023969/quotes?qt0361597 -- -Mark Wieder mwieder at ahsoftware.net From kevin at runrev.com Tue Aug 31 14:39:19 2010 From: kevin at runrev.com (Kevin Miller) Date: Tue, 31 Aug 2010 19:39:19 +0100 Subject: Revolution's "Bad Boy" opens his big fat mouth. In-Reply-To: <4C7D3E9C.3030103@gmail.com> Message-ID: On 31/08/2010 18:40, "Richmond" wrote: >> rest of us are delighted as well, as it will decrease the public >> gnashing of teeth on the list. :) >> > > Really? > > And What About The Linux Version of The Rev-Plugin for Browsers? Gnash, > Gnash!!! You might just be in for a little good news on that one, too. But this is not an announcement. Move along, nothing to see here. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ RunRev - Software construction for everyone From richmondmathewson at gmail.com Tue Aug 31 15:21:58 2010 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 31 Aug 2010 22:21:58 +0300 Subject: [TO] google software update In-Reply-To: <3E3F0E07-DA38-43F0-B740-F8752B8ADAD8@economy-x-talk.com> References: <4C7D402C.3020704@gmail.com> <3E3F0E07-DA38-43F0-B740-F8752B8ADAD8@economy-x-talk.com> Message-ID: <4C7D5656.6040808@gmail.com> On 08/31/2010 09:11 PM, Mark Schonewille wrote: > Richmond, > > This page tells you how to uninstall it http://qurl.tk/g6 > Thanks! However, I wonder about the ules about installing software on end-users' systems unknown to end-users? > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > From 15th August, we'll have time for new projects! Be the first in line and contact me now! > > Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce > > On 31 aug 2010, at 19:47, Richmond wrote: > > >> Funny business, methinks. >> >> On my G4 MacMini I just happened to open the >> 'Activity Monitor' app (to see what 'Swap Cop' >> was playing at with my virtual memory) and I happened >> to notice an app called "Google software update"; >> >> I have no memory whatsoever of installing THAT. >> >> Found in the 'Accounts' Prefpane that it was set to start up >> on boot-up, and set to invisible. >> >> I seem unable to locate the app now that I have force-quitted >> it using 'Activity Monitor' (it was slurping quite a lot of memory). >> >> > _______________________________________________ > 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 Tue Aug 31 15:38:00 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 31 Aug 2010 21:38:00 +0200 Subject: [TO] google software update In-Reply-To: <4C7D5656.6040808@gmail.com> References: <4C7D402C.3020704@gmail.com> <3E3F0E07-DA38-43F0-B740-F8752B8ADAD8@economy-x-talk.com> <4C7D5656.6040808@gmail.com> Message-ID: <11B39019-3211-4833-A039-BE63C204B588@economy-x-talk.com> Hi Richmond, No need to wonder about any ules (nice word ;-) ). Google clearly made a mistake http://qurl.tk/g7 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 31 aug 2010, at 21:21, Richmond wrote: > On 08/31/2010 09:11 PM, Mark Schonewille wrote: >> Richmond, >> >> This page tells you how to uninstall it http://qurl.tk/g6 >> > > Thanks! > > However, I wonder about the ules about installing software on end-users' systems > unknown to end-users? From richmondmathewson at gmail.com Tue Aug 31 16:11:20 2010 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 31 Aug 2010 23:11:20 +0300 Subject: [TO] google software update In-Reply-To: <11B39019-3211-4833-A039-BE63C204B588@economy-x-talk.com> References: <4C7D402C.3020704@gmail.com> <3E3F0E07-DA38-43F0-B740-F8752B8ADAD8@economy-x-talk.com> <4C7D5656.6040808@gmail.com> <11B39019-3211-4833-A039-BE63C204B588@economy-x-talk.com> Message-ID: <4C7D61E8.2060701@gmail.com> On 08/31/2010 10:38 PM, Mark Schonewille wrote: > Hi Richmond, > > No need to wonder about any ules (nice word ;-) ). Google clearly made a mistake http://qurl.tk/g7 > > -- > Best regards, > > Mark Schonewille > "ules" should be taken as indicative as to how wobbly my jowls were with righteous indignation at Google doing "the sneaky" on me. > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > From 15th August, we'll have time for new projects! Be the first in line and contact me now! > > Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce > > On 31 aug 2010, at 21:21, Richmond wrote: > > >> On 08/31/2010 09:11 PM, Mark Schonewille wrote: >> >>> Richmond, >>> >>> This page tells you how to uninstall it http://qurl.tk/g6 >>> >>> >> Thanks! >> >> However, I wonder about the ules about installing software on end-users' systems >> unknown to end-users? >> > _______________________________________________ > 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 Aug 31 19:50:34 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 31 Aug 2010 18:50:34 -0500 Subject: SelectedChunk problem In-Reply-To: References: Message-ID: <4C7D954A.9050104@hyperactivesw.com> On 8/28/10 12:25 PM, Jean-Pierre Soto wrote: > Hello, > > I have some problem with the SelectedChunk function. It's work well but > sometime it return empty. > > I can type character and I have the flashing insertion cursor in the > field but the result is still empty. > > I must leave the field and re-enter it to have correct result. > > Does anyone know that problem ? Can you post a your script? I'm not sure what you mean about the result. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Tue Aug 31 20:18:40 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 31 Aug 2010 17:18:40 -0700 Subject: [TO] google software update In-Reply-To: <11B39019-3211-4833-A039-BE63C204B588@economy-x-talk.com> References: <4C7D402C.3020704@gmail.com> <3E3F0E07-DA38-43F0-B740-F8752B8ADAD8@economy-x-talk.com> <4C7D5656.6040808@gmail.com> <11B39019-3211-4833-A039-BE63C204B588@economy-x-talk.com> Message-ID: <3261FE10-E174-4C8F-A97B-396D0EF3E13B@twft.com> I never trusted those sneaky bastages! How do they know where I live anyways??!? Bob On Aug 31, 2010, at 12:38 PM, Mark Schonewille wrote: > Hi Richmond, > > No need to wonder about any ules (nice word ;-) ). Google clearly made a mistake http://qurl.tk/g7 > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > From 15th August, we'll have time for new projects! Be the first in line and contact me now! > > Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce > > On 31 aug 2010, at 21:21, Richmond wrote: > >> On 08/31/2010 09:11 PM, Mark Schonewille wrote: >>> Richmond, >>> >>> This page tells you how to uninstall it http://qurl.tk/g6 >>> >> >> Thanks! >> >> However, I wonder about the ules about installing software on end-users' systems >> unknown to end-users? > _______________________________________________ > 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 randolph.valentine at gmail.com Sun Aug 29 12:51:19 2010 From: randolph.valentine at gmail.com (rand valentine) Date: Sun, 29 Aug 2010 11:51:19 -0500 Subject: updater seems to stall Message-ID: <000001cb479a$688abe90$39a03bb0$@gmail.com> Hi, all. I've checked the archives and don't see any answer to this problem. I'm running Rev 4.0 Enterprise in Windows 7 (under bootcamp on an iMac). When I choose Check for Updates under Help, the updater opens, but seems to stall at the beginning of the update process. Basically nothing happens, it just says Updating. and the progress bar makes no progress. What's going on? I checked to make sure my registration allowed me to update, and indeed it does (good till August 15, 2011). rand valentine From warrenkuhl at gmail.com Tue Aug 31 09:40:19 2010 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Tue, 31 Aug 2010 08:40:19 -0500 Subject: Password Protect Folder Message-ID: I am trying to password protect a folder...where it is visible (and accessible) only when activated by Revolution. Is this possible with Revolution? Thanks, Warren