Re: question about find and replace

2008-10-06 Thread Peter Alcibiades

Thanks to everyone for help.  A confession though.  I'd gone through the
replies one evening, and decided to get some sleep and start trying them out
in the AM.  Its a bit more complicated than the original question, because
the numbers are embedded in a huge pile of xml.  Anyway, I slept deeply and
dreamlessly, and woke with a start, and a lateral idea,  which is sort of
like what the replies suggest, but done very differently.  

First thing was to export to a tab delimited file, open in spreadsheet, copy
out the column with the numbers into a different file, save as csv.  The
reopen, and now set the delimiter to .  This puts the components of the
number into differerent colums.   Now you can use the pad function of the
formatter in the spreadsheet to pad them out.  Save, and then open them with
tab as the delimiter.  This, the trick of changing the delimiter to split
the column, was really what came from the suggestions, in a lateral way. 
Then you can copy the new edited column over the old one, in the original
spreadsheet, and then re-import back into the original app.  Took almost no
time, and more important, it was pretty foolproof because of only working on
the column to be changed, so no untoward effects.

But I would never have got it except for the suggestions, which now all go
into the scrapbook for a time when there is no plan B.  Thanks.
-- 
View this message in context: 
http://www.nabble.com/question-about-find-and-replace-tp19737669p19832624.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: more rev 3.0 woes - losing the will to live

2008-10-06 Thread Mark Schonewille

Hi Bernard,

I'm sorry to read that you have more problems. Apparently, you save  
the stacks one more time, somehow.


Make sure that your scripts don't save the stacks again, when quitting  
Rev 3.0, or set the Rev preferences to preserve the (legacy) format,  
or don't click Save when Rev asks you whether or not to save the  
stack.


I go back and forth between different versions all the time and never  
see this problem, although I admit I have to be really careful that I  
don't accidentally save a stack in the wrong format. Is there anything  
else that might be relevant to reproduce the problem?


I guess you could save a stack and copy it to a different place before  
quitting Rev 3.0, even though this wouldn't be a very elegant solution.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum/

Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html 
 for more info.


On 6 okt 2008, at 13:45, Bernard Devlin wrote:

Since I've now had to revert to using Rev 2.6.1 from 3 years ago, I  
need to
convert various stacks to 'legacy format'.  After doing this with  
some of
stacks, I then found that they were still in a post 2.7 format.  I  
thought
I'd made a mistake and went over it many times using Rev 3.0 and  
2.6.1, but
the stacks simply wouldn't convert.  I was reduced to examining the  
stacks
in a text editor to see that they did indeed say 2.4, but then as  
soon as I
quit Rev 3.0 they would not load in 2.6.1, and looking at them again  
in a
text editor, they were back in 2.7 formt.  But yesterday I was able  
to save
my performance test stack in legacy format (maybe it was written on  
2.6.1
though, I can't remember).  I just opened it in 3.0, and saved it in  
2.6.1

as legacy and it remained as legacy after rev 3.0 quit.

But here's what I'm seeing with some stacks:

[EMAIL PROTECTED] ~]$ ls *.rev
perf-test-leg.rev test-legacy.rev
[EMAIL PROTECTED] ~]$ more test-legacy.rev
#!/bin/sh
# MetaCard 2.4 stack
# The following is not ASCII text,
# so now would be a good time to q out of more^L
[EMAIL PROTECTED] ~]$ more test-legacy.rev
  REV 3.0 was quit just before this point
REVO2700�revNavigator 1 �R��global
gScriptBuddyIDarray,gScriptBuddyLineArray,gSB
UpdateSelection,gSBLeadSpaces

I had thought maybe it was because these stacks were in the plugins  
folder
of 2.6.1 that they were being reverted on exit from 3.0.  But then I  
saved
one of them to my home directory, and checked it was in 2.4 format.   
But as
soon as I quit Rev 3.0 it was back in 2.7 format (as you can see  
above).  At
no point did Rev 3.0 ask me if wanted to save the stacks when I  
chose to
quit, so I can see no reason why they are back in 2.7 format.   I  
tried it

on 2.9, and it too re-converted the stack on quitting.

Could someone else please confirm this apparently erratic  
behaviour.  I'm
starting to doubt my sanity.  The particular stacks were the  
stsmlxEditor

and Geoff Canyon's revNavigator.  Maybe it is only a Linux thing.

I just want to know that saving in legacy format is still working  
reliably.
I have a lot more of my own stacks to convert, and if this doesn't  
work,
I'm stuck with the insanely buggy 3.0 (I have no confidence in 2.9  
either -

it locked up my laptop yesterday requiring a hard reset).

Bernard



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: more rev 3.0 woes - losing the will to live

2008-10-06 Thread Eric Chatonet

Bonjour Bernard,

If you see in your text editor that a stack is not in the legacy  
format, it means that it has been saved on disk, by yourself OR by a  
code snippet in the stack itself.
I don't use Geoff plugin but I assume that you'll find a 'save this  
stack' somewhere in Geoff code when closing or quitting.
Checking last modified file date will probably confirm that the stack  
auto saves.


Le 6 oct. 08 à 13:45, Bernard Devlin a écrit :

Since I've now had to revert to using Rev 2.6.1 from 3 years ago, I  
need to
convert various stacks to 'legacy format'.  After doing this with  
some of
stacks, I then found that they were still in a post 2.7 format.  I  
thought
I'd made a mistake and went over it many times using Rev 3.0 and  
2.6.1, but
the stacks simply wouldn't convert.  I was reduced to examining the  
stacks
in a text editor to see that they did indeed say 2.4, but then as  
soon as I
quit Rev 3.0 they would not load in 2.6.1, and looking at them  
again in a
text editor, they were back in 2.7 formt.  But yesterday I was able  
to save
my performance test stack in legacy format (maybe it was written on  
2.6.1
though, I can't remember).  I just opened it in 3.0, and saved it  
in 2.6.1

as legacy and it remained as legacy after rev 3.0 quit.

But here's what I'm seeing with some stacks:

[EMAIL PROTECTED] ~]$ ls *.rev
perf-test-leg.rev test-legacy.rev
[EMAIL PROTECTED] ~]$ more test-legacy.rev
#!/bin/sh
# MetaCard 2.4 stack
# The following is not ASCII text,
# so now would be a good time to q out of more^L
[EMAIL PROTECTED] ~]$ more test-legacy.rev
   REV 3.0 was quit just before this point
REVO2700�revNavigator 1 �R��global
gScriptBuddyIDarray,gScriptBuddyLineArray,gSB
UpdateSelection,gSBLeadSpaces

I had thought maybe it was because these stacks were in the plugins  
folder
of 2.6.1 that they were being reverted on exit from 3.0.  But then  
I saved
one of them to my home directory, and checked it was in 2.4  
format.  But as
soon as I quit Rev 3.0 it was back in 2.7 format (as you can see  
above).  At
no point did Rev 3.0 ask me if wanted to save the stacks when I  
chose to
quit, so I can see no reason why they are back in 2.7 format.   I  
tried it

on 2.9, and it too re-converted the stack on quitting.

Could someone else please confirm this apparently erratic  
behaviour.  I'm
starting to doubt my sanity.  The particular stacks were the  
stsmlxEditor

and Geoff Canyon's revNavigator.  Maybe it is only a Linux thing.

I just want to know that saving in legacy format is still working  
reliably.
 I have a lot more of my own stacks to convert, and if this doesn't  
work,
I'm stuck with the insanely buggy 3.0 (I have no confidence in 2.9  
either -

it locked up my laptop yesterday requiring a hard reset).


Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


more rev 3.0 woes - losing the will to live

2008-10-06 Thread Bernard Devlin
Since I've now had to revert to using Rev 2.6.1 from 3 years ago, I need to
convert various stacks to 'legacy format'.  After doing this with some of
stacks, I then found that they were still in a post 2.7 format.  I thought
I'd made a mistake and went over it many times using Rev 3.0 and 2.6.1, but
the stacks simply wouldn't convert.  I was reduced to examining the stacks
in a text editor to see that they did indeed say 2.4, but then as soon as I
quit Rev 3.0 they would not load in 2.6.1, and looking at them again in a
text editor, they were back in 2.7 formt.  But yesterday I was able to save
my performance test stack in legacy format (maybe it was written on 2.6.1
though, I can't remember).  I just opened it in 3.0, and saved it in 2.6.1
as legacy and it remained as legacy after rev 3.0 quit.

But here's what I'm seeing with some stacks:

[EMAIL PROTECTED] ~]$ ls *.rev
perf-test-leg.rev test-legacy.rev
[EMAIL PROTECTED] ~]$ more test-legacy.rev
#!/bin/sh
# MetaCard 2.4 stack
# The following is not ASCII text,
# so now would be a good time to q out of more^L
[EMAIL PROTECTED] ~]$ more test-legacy.rev
   REV 3.0 was quit just before this point
REVO2700�revNavigator 1 �R��global
gScriptBuddyIDarray,gScriptBuddyLineArray,gSB
UpdateSelection,gSBLeadSpaces

I had thought maybe it was because these stacks were in the plugins folder
of 2.6.1 that they were being reverted on exit from 3.0.  But then I saved
one of them to my home directory, and checked it was in 2.4 format.  But as
soon as I quit Rev 3.0 it was back in 2.7 format (as you can see above).  At
no point did Rev 3.0 ask me if wanted to save the stacks when I chose to
quit, so I can see no reason why they are back in 2.7 format.   I tried it
on 2.9, and it too re-converted the stack on quitting.

Could someone else please confirm this apparently erratic behaviour.  I'm
starting to doubt my sanity.  The particular stacks were the stsmlxEditor
and Geoff Canyon's revNavigator.  Maybe it is only a Linux thing.

I just want to know that saving in legacy format is still working reliably.
 I have a lot more of my own stacks to convert, and if this doesn't work,
I'm stuck with the insanely buggy 3.0 (I have no confidence in 2.9 either -
it locked up my laptop yesterday requiring a hard reset).

Bernard
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Re: DCAM / IIDC command to control a firewire digital camera

2008-10-06 Thread paolo

Dear friends,
I would like to control a professional Digital Camera from Revolution.  
I have to use DCAM  protocol.

Browsing in Internet, I went through the software Coriander (Unix).
Have you any experience with that? Any idea?
Thanks a lot
Paolo Mazza

DCAM
DCAM stands for 1394-based Digital Camera Specification and defines  
the behavior of cameras that output uncompressed image data without  
audio. It is a standard, defined by the 1394 Trade Association. The  
IIDC (Instrumentation and Industrial Control Working Group) is in  
charge of it.


IIDC
IIDC is often used synonymously with DCAM.

CORIANDER
Coriander is a full-featured GUI for IEEE1394, IIDC-compliant (aka  
DCAM) digital cameras. It includes camera control, video display,  
saving, FTP and V4L export.

http://sourceforge.net/projects/coriander

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


DCAM / IIDC command to control a firewire digital camera

2008-10-06 Thread paolo
From Revolution, how can I send DCAM / IIDC commands through the  
Firewire in order to control a digital camera?

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Just pondering - Rev CGI iPhone

2008-10-06 Thread Richard Miller

Hi Andre,

Living in Vermont, I'm in the only state left that has no IPhone  
service (though that's supposed to change in 60 days or so), so I've  
not had the chance to play with one. But I could if there was an  
economic argument to be made for developing an app for it.


From what I hear you saying, while we can't develop a traditional  
app for it, we can use Rev to create some interesting browser/Rev cgi- 
based programs tailored to the IPhone's specific screen. This sounds  
intriguing. Again, not having used an IPhone, is there anything more  
you can say on this or am I summarizing the opportunity fairly clearly?


Thanks.
Richard


On Oct 1, 2008, at 11:11 AM, Andre Garzia wrote:


Ciao Sims,

I've built some pretty sophisticated cgis with revolution and I've
been doing little iPhone stuff. Be aware that you can't sell web apps
in the app store. The app store is for native applications. Ops, I
just re read your email, I understood it wrong. Yes you can do some
pretty nice stuff for iPhone web apps, check the iUI library.

Cheers
andre

On Wed, Oct 1, 2008 at 2:26 AM, Jim Sims [EMAIL PROTECTED] wrote:

After fiddling with some Rev CGI stuff here for a couple
of weeks, I'm wondering how far this might take someone
towards a sophisticated web app for the iPhone. Just think'in,
mind you.

They wouldn't be sold via the Apple App store, but that just might
have some upside, especially when considering the restrictions
Apple can throw at developers   ;-)

I wonder what cool Rev CGI apps already exist out there?

sims


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription

preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution





--
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Notification of internet use in Rev standalone

2008-10-06 Thread Rick Harrison


On Oct 5, 2008, at 2:52 PM, Paul Gabel wrote:


Hi Rick:

I'm developing a rev app named ExamMaster where users take exams on  
a Mac (perhaps unsupervised), and I want to deter them from looking  
up answers on the internet. I certainly don't think of this as  
spyware.


Paul Gabel



Hi Paul,

I think you are trying to take your software too far.  You won't be  
able to guard
against the use of internet cell phones especially for exams which are  
unsupervised.

An unsupervised exam also allows students to communicate with each other
about the test so they can still get answers even without access to  
the internet.


That is why important exams are always monitored by a teacher.  Your  
software
will never be able to take over the important role of the Monitor in  
the room.


Sometimes, teachers make exams so long that the students will not have
enough time to answer all of the questions.  I once had an open book  
exam
where there were so many questions that you didn't have the time to  
open the
book at all. One just had to know all of the material to be able to  
answer the

questions.

Have you built a timer into your exam software so that when the time  
is up

the student can no longer work on it?

Good luck with your project!

Rick


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


OT: First steps with Valentina ...

2008-10-06 Thread Tiemo Hollmann TB
Hello,

I am just making my first steps with valentina, switching from SQLite. So
far everything works fine. I created my db, tables, filled the tables with
datas, and now I just stuck to get the data out of the DB, because I am not
a SQL expert. With SQLite I coded:

put revdb_querylist(,,gConID,tSqlSting) into tList

to get my selected datas as a sting. With Valentina I tried:

put VDataBase_SqlSelect(gDBRef, tSqlSting) into tList

and I get a cursor back. Now I am missing the command to get the data from
this cursor. Or am I on the wrong lane?

Thanks for any hint

Tiemo

 

 

 

 

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Just pondering - Rev CGI iPhone

2008-10-06 Thread Andre Garzia
Richard,

The iPhone is using a special version of Safari as it's browser. This
version has extensions that are specific to the iPhone and allow you
to manage screen rotation, gesturing and the like. So you can create
really nice web applications for iPhone. Revolution in this case
doesn't really help iPhone web applications any more than any other
web language out there, the real trick of doing iPhone web
applications is the html, css and javascript extensions that allow you
to create apps that fit the iPhone human interface guidelines (or at
least a pleasant experience)

The iPhone app store is making money, but I think it is hard to enter
now, I've applied on august and haven't been approved (or rejected)
yet. As for web applications, I don't know how to make money from them
on the iPhone, I believe if you make a nice service you can pull it
out. Something along the lines of evernote.com might do the trick.
Evernote has native clients for mac, windows, iphone and also a web
app, all sync'd it's very nice. I believe that an easy to use service
with an interface made for iPhone and a grown up interface for
desktops might be sucessful.

Now if we only could use the geolocation api from the web
applications, things would get really fun.

PS: remember that as apple added extensions for iPhone Safari, it also
removed features. For example, there's no input type file in Mobile
Safari which sucks since I wanted to do an uploader for the camera
pictures...

Andre

On Mon, Oct 6, 2008 at 9:56 AM, Richard Miller [EMAIL PROTECTED] wrote:
 Hi Andre,

 Living in Vermont, I'm in the only state left that has no IPhone service
 (though that's supposed to change in 60 days or so), so I've not had the
 chance to play with one. But I could if there was an economic argument to be
 made for developing an app for it.

 From what I hear you saying, while we can't develop a traditional app for
 it, we can use Rev to create some interesting browser/Rev cgi-based programs
 tailored to the IPhone's specific screen. This sounds intriguing. Again, not
 having used an IPhone, is there anything more you can say on this or am I
 summarizing the opportunity fairly clearly?

 Thanks.
 Richard


 On Oct 1, 2008, at 11:11 AM, Andre Garzia wrote:

 Ciao Sims,

 I've built some pretty sophisticated cgis with revolution and I've
 been doing little iPhone stuff. Be aware that you can't sell web apps
 in the app store. The app store is for native applications. Ops, I
 just re read your email, I understood it wrong. Yes you can do some
 pretty nice stuff for iPhone web apps, check the iUI library.

 Cheers
 andre

 On Wed, Oct 1, 2008 at 2:26 AM, Jim Sims [EMAIL PROTECTED] wrote:

 After fiddling with some Rev CGI stuff here for a couple
 of weeks, I'm wondering how far this might take someone
 towards a sophisticated web app for the iPhone. Just think'in,
 mind you.

 They wouldn't be sold via the Apple App store, but that just might
 have some upside, especially when considering the restrictions
 Apple can throw at developers   ;-)

 I wonder what cool Rev CGI apps already exist out there?

 sims


 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution




 --
 http://www.andregarzia.com All We Do Is Code.
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution




-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Notification of internet use in Rev standalone

2008-10-06 Thread Andre Garzia
Paul,

make it a kiosk application, there are externals for that. I've built
one and Ralf Bitter built another. They are both for Mac OS X and will
prevent switching from your app to something else.

Andre

On Sat, Oct 4, 2008 at 5:48 PM, Paul Gabel [EMAIL PROTECTED] wrote:
 Hi everybody:

 My stack structure is a mainstack splash screen and three substacks. Within
 a Rev standalone, is there any way to be notified if the user opens a web
 browser or attempts to write an email with a non-Rev application? Is there
 any way to prevent it?

 on resumeStack is not helpful in my case, as, if placed in the mainstack
 (which is hidden by now), it is not triggered when I come back from a web
 browser. I can't place on resumeStack in a substack, because I am
 constantly going back and forth between them, and, even in a standalone, it
 is triggered.

 I would greatly appreciate any suggestions (or even being told to forget the
 whole idea).

 Paul Gabel
 Mac OS X 10.5.5
 Rev 3.0
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution




-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Thrift library?

2008-10-06 Thread Trevor DeVore

HI,

Does anyone have a Thrift library http://incubator.apache.org/thrift/ 
 written in Revolution?


Regards,

--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Developer Resources: http://revolution.bluemangolearning.com

Email has been scanned for viruses by Altman Technologies' email management 
service - www.altman.co.uk/emailsystems
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: First steps with Valentina ...

2008-10-06 Thread Ruslan Zasukhin
On 10/6/08 5:02 PM, Tiemo Hollmann TB [EMAIL PROTECTED] wrote:

Hi Tiemo, 

 I am just making my first steps with valentina, switching from SQLite. So
 far everything works fine. I created my db, tables, filled the tables with
 datas, and now I just stuck to get the data out of the DB, because I am not
 a SQL expert. With SQLite I coded:
 
 put revdb_querylist(,,gConID,tSqlSting) into tList
 
 to get my selected datas as a sting. With Valentina I tried:
 
 put VDataBase_SqlSelect(gDBRef, tSqlSting) into tList
 
 and I get a cursor back. Now I am missing the command to get the data from
 this cursor. Or am I on the wrong lane?

In V4REV API Reference.pdf you can find description of class Vcursor.
It have many methods as

NextRecord(), Last, First... PrevRecord()

GetField()

It also have method as GetRecordsAsString(), so you will get back all
records of cursor as single string with the specified field and line
delimiters. 

And as I remember exists method similar to revdb_querylist() which return
string of records without cursor at all.


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


AW: OT: First steps with Valentina ...

2008-10-06 Thread Tiemo Hollmann TB
Hi Ruslan,
thanks for the insight, I'll get into it.
BTW, in the V4Rev_3_Reference.pdf is always a  See ValentinaSQL.pdf
for details, but I don't find a link to this pdf on your website, only a
wiki link. Could you point me to this pdf?
Tiemo

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:use-revolution-
 [EMAIL PROTECTED] Im Auftrag von Ruslan Zasukhin
 Gesendet: Montag, 6. Oktober 2008 16:45
 An: use-revolution
 Betreff: Re: OT: First steps with Valentina ...
 
 On 10/6/08 5:02 PM, Tiemo Hollmann TB [EMAIL PROTECTED] wrote:
 
 Hi Tiemo,
 
  I am just making my first steps with valentina, switching from SQLite.
 So
  far everything works fine. I created my db, tables, filled the tables
 with
  datas, and now I just stuck to get the data out of the DB, because I am
 not
  a SQL expert. With SQLite I coded:
 
  put revdb_querylist(,,gConID,tSqlSting) into tList
 
  to get my selected datas as a sting. With Valentina I tried:
 
  put VDataBase_SqlSelect(gDBRef, tSqlSting) into tList
 
  and I get a cursor back. Now I am missing the command to get the data
 from
  this cursor. Or am I on the wrong lane?
 
 In V4REV API Reference.pdf you can find description of class Vcursor.
 It have many methods as
 
 NextRecord(), Last, First... PrevRecord()
 
 GetField()
 
 It also have method as GetRecordsAsString(), so you will get back all
 records of cursor as single string with the specified field and line
 delimiters.
 
 And as I remember exists method similar to revdb_querylist() which return
 string of records without cursor at all.
 
 
 --
 Best regards,
 
 Ruslan Zasukhin
 VP Engineering and New Technology
 Paradigma Software, Inc
 
 Valentina - Joining Worlds of Information
 http://www.paradigmasoft.com
 
 [I feel the need: the need for speed]
 
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Thrift library?

2008-10-06 Thread Andre Garzia
Trevor,

that appears very nice. I'd like to have it too. I've though about
building a WSDL parser but this appears much cooler. We can use the
new 3.0 arrays for the data models.

Andre

On Mon, Oct 6, 2008 at 11:21 AM, Trevor DeVore
[EMAIL PROTECTED] wrote:
 HI,

 Does anyone have a Thrift library http://incubator.apache.org/thrift/
 written in Revolution?

 Regards,

 --
 Trevor DeVore
 Blue Mango Learning Systems
 ScreenSteps: http://www.screensteps.com
 Developer Resources: http://revolution.bluemangolearning.com

 Email has been scanned for viruses by Altman Technologies' email management
 service - www.altman.co.uk/emailsystems
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution




-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: AW: OT: First steps with Valentina ...

2008-10-06 Thread Ruslan Zasukhin
On 10/6/08 6:10 PM, Tiemo Hollmann TB [EMAIL PROTECTED] wrote:

Hi Tiemo,

 Hi Ruslan,
 thanks for the insight, I'll get into it.
 BTW, in the V4Rev_3_Reference.pdf is always a  See ValentinaSQL.pdf
 for details, but I don't find a link to this pdf on your website, only a
 wiki link. Could you point me to this pdf?

Yes, we have drop SQL.pdf about 2 years ago.
Wiki allows us to have most up to date info.

So yes you need check

http://www.valentina-db.com/dokuwiki/doku.php?id=paradigma:public:en:docume
ntation:vsql:reference:reference


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: more rev 3.0 woes - losing the will to live

2008-10-06 Thread Bernard Devlin
Eric and Mark, Thanks for your attempts to save my sanity (of course, it
could well be too late).

I re-started 3.0, loaded stsMLXEditor, found the first guilty-looking 'save
this stack', and commented it out... and then 3.0 crashed before I could
even save it!  Unbelievable.  I couldn't face going through every stack and
finding every handler that caused a stack to be saved.

What I didn't understand is that I have checked 'preserve stack file version
on stacks saved in legacy format' in Rev's preferences.  Yet it seemed to be
ignoring that in these stacks that have several of their own self-saving
events.  After searching bugzilla I found that it this is indeed broken:
http://quality.runrev.com/qacenter/show_bug.cgi?id=4695.  Ken Ray provides a
workaround for it: in the MB type: set the stackFileversion to 2.4;save
this stack.  After doing that and quitting Rev, the stack is finally in 2.4
and remaining in 2.4.

Thanks for your commiserations.  I know I must sound like my whining button
is stuck on 'loop', but these have been the worst 5 months I've had with Rev
in 7 years.

Bernard
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: more rev 3.0 woes - losing the will to live

2008-10-06 Thread J. Landman Gay

Bernard Devlin wrote:

Eric and Mark, Thanks for your attempts to save my sanity (of course, it
could well be too late).

I re-started 3.0, loaded stsMLXEditor, found the first guilty-looking 'save
this stack', and commented it out... and then 3.0 crashed before I could
even save it!  Unbelievable.  I couldn't face going through every stack and
finding every handler that caused a stack to be saved.


Write yourself a little script that saves the defaultstack, and avoid 
the save menu item in Rev. Assuming the stack is toplevel and 
frontmost, something like this:


lock messages
set the stackfileversion to 2.4
save the defaultstack

Rev's save menu item does something similar and sets the 
stackfileversion before saving, according to the rules you set in 
preferences. If Rev's save is broken you can just write your own.


If you have a lot of stacks to convert, put copies of them all in a 
single folder. Your script can answer folder, get the files, and run a 
repeat loop containing the above lines of script to save each stack in 
the list in one go.


Lock messages if you do this, just in case.

Jacque

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: more rev 3.0 woes - losing the will to live

2008-10-06 Thread Eric Chatonet

Bonsoir Bernard,

Le 6 oct. 08 à 18:54, Bernard Devlin a écrit :

Eric and Mark, Thanks for your attempts to save my sanity (of  
course, it

could well be too late).


I hope not :-)

I re-started 3.0, loaded stsMLXEditor, found the first guilty- 
looking 'save
this stack', and commented it out... and then 3.0 crashed before I  
could

even save it!  Unbelievable.


Obviously there is no link between the fact of commenting THIS line  
and a Rev crash but a problem when compiling/saving the script.



I couldn't face going through every stack and
finding every handler that caused a stack to be saved.

What I didn't understand is that I have checked 'preserve stack  
file version
on stacks saved in legacy format' in Rev's preferences.  Yet it  
seemed to be
ignoring that in these stacks that have several of their own self- 
saving
events.  After searching bugzilla I found that it this is indeed  
broken:
http://quality.runrev.com/qacenter/show_bug.cgi?id=4695.  Ken Ray  
provides a
workaround for it: in the MB type: set the stackFileversion to  
2.4;save
this stack.  After doing that and quitting Rev, the stack is  
finally in 2.4

and remaining in 2.4.


Yes, Ken's advice is always very valuable :-)
Always read all his posts: you can be sure there is something to  
learn...


Thanks for your commiserations.  I know I must sound like my  
whining button
is stuck on 'loop', but these have been the worst 5 months I've had  
with Rev

in 7 years.


I am not the right 'Dude' :-) to tell you about Linux and all its  
flavors:

I only work with Mac OS X, XP and Vista.
But...
I know that many guys here work with Linux and don't seem to have all  
the troubles you report:

Have you tried to reinstall Linux completely?
Any software is so closely tied to the system...

PS. Hope you'll find the solution before the 6th month ;-)

Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: more rev 3.0 woes - losing the will to live

2008-10-06 Thread Eric Chatonet

Bonsoir Jacque,

Le 6 oct. 08 à 19:05, J. Landman Gay a écrit :


If Rev's save is broken you can just write your own.


That's so true :-)
Of course, we should not have to do it.
But it's able to save so much time...
Just see all patches posted by Ken, Chipp or myself along these years  
to fix easily a problem or another.


Actually, Rev possesses an unique quality (I know that you know that  
but I don't reply only for you :-)

Its IDE is written in Rev.
This means at least two advantages:
1. You can study IDE scripts (even if they are not as clean as I  
would expect :-) to learn many things: tree views in 'Application  
Browser' for instance.
2. You can modify the IDE, add your own front and back scripts to  
override something, enhance another, etc.
Actually, I don't know another language, the IDE of which can be (so  
easily) modified.


Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: more rev 3.0 woes - losing the will to live

2008-10-06 Thread Joe Lewis Wilkins

Hi Bernard, and others

I have not followed this thread closely, so I may be way off base;  
however, I

believe that you are using Rev on a variety of Unix flavors - true?

Be that the case, since I think that few Rev developers/users are  
using Unix,
it would be a big help if you were to indicate that you ARE.  
Particularly when
you are having such difficulties. Otherwise, it is kind of scary to  
the rest of us.
I'm even thinking that it might not be a totally bad idea to have  
different lists
for the different platforms? I realize that a problem on one could  
also be one

on the others as well, but This might not be a bad option. Anyone?

I've been using 3.0 pretty much since it first came out - Mac OSX -  
and have
not had any appreciable problems. Also saving as Legacy. A couple of  
kinks
there, but probably associated with my not knowing the Legacy  
limitations well.


So, my request is that maybe we can all better identify our platforms,  
particularly
when airing complaints, so we may look at the things that most effect  
what we

are doing.

TIA

Joe Wilkins

On Oct 6, 2008, at 9:54 AM, Bernard Devlin wrote:

Eric and Mark, Thanks for your attempts to save my sanity (of  
course, it

could well be too late).

I re-started 3.0, loaded stsMLXEditor, found the first guilty- 
looking 'save
this stack', and commented it out... and then 3.0 crashed before I  
could
even save it!  Unbelievable.  I couldn't face going through every  
stack and

finding every handler that caused a stack to be saved.

What I didn't understand is that I have checked 'preserve stack file  
version
on stacks saved in legacy format' in Rev's preferences.  Yet it  
seemed to be
ignoring that in these stacks that have several of their own self- 
saving
events.  After searching bugzilla I found that it this is indeed  
broken:
http://quality.runrev.com/qacenter/show_bug.cgi?id=4695.  Ken Ray  
provides a
workaround for it: in the MB type: set the stackFileversion to  
2.4;save
this stack.  After doing that and quitting Rev, the stack is  
finally in 2.4

and remaining in 2.4.

Thanks for your commiserations.  I know I must sound like my whining  
button
is stuck on 'loop', but these have been the worst 5 months I've had  
with Rev

in 7 years.






___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: more rev 3.0 woes - losing the will to live

2008-10-06 Thread Bernard Devlin
Hi Joe.  I understand and sympathise.  However, for the first 4 months I was
using Rev 2.9 on Windows and having crashes every few days during those 4
months.  I've only been using Rev on Linux for 3 or 4 weeks.  I'm only
trying Rev on varieties of Linux because others keep telling me they don't
see any of the problems I'm facing.  Mostly when I install the version where
they say they can't see the problem, I can still see the problem on that
version.  Things like that make me doubt my sanity.

I've been very patient, and didn't complain much at all for the first few
months.  It's just that things have become intolerable.

I can understand that I may be in a minority of one.  But it doesn't make my
life any more bearable.  I'm sorry if my complaining causes distress for
others, but I've come close to just giving up on Rev in the past few weeks.


Bernard

On Mon, Oct 6, 2008 at 8:25 PM, Joe Lewis Wilkins [EMAIL PROTECTED] wrote:

 Hi Bernard, and others

 I have not followed this thread closely, so I may be way off base; however,
 I
 believe that you are using Rev on a variety of Unix flavors - true?

 Be that the case, since I think that few Rev developers/users are using
 Unix,
 it would be a big help if you were to indicate that you ARE. Particularly
 when
 you are having such difficulties. Otherwise, it is kind of scary to the
 rest of us.
 I'm even thinking that it might not be a totally bad idea to have different
 lists
 for the different platforms? I realize that a problem on one could also be
 one
 on the others as well, but This might not be a bad option. Anyone?

 I've been using 3.0 pretty much since it first came out - Mac OSX - and
 have
 not had any appreciable problems. Also saving as Legacy. A couple of kinks
 there, but probably associated with my not knowing the Legacy limitations
 well.

 So, my request is that maybe we can all better identify our platforms,
 particularly
 when airing complaints, so we may look at the things that most effect what
 we
 are doing.

 TIA

 Joe Wilkins


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Thrift library?

2008-10-06 Thread Trevor DeVore

On Oct 6, 2008, at 11:16 AM, Andre Garzia wrote:


that appears very nice. I'd like to have it too. I've though about
building a WSDL parser but this appears much cooler. We can use the
new 3.0 arrays for the data models.


Hey Andre,

Yes, it seems like a nice framework but I was hoping that I wouldn't  
have to write it from scratch :-)


Thrift looks interesting in that it generates all of the source code  
for a language based on the Thrift file. You can create a Thrift  
definition file and then Thrift generates the source code required for  
interacting with your web service for a number of languages.


The problem is that if your language isn't supported then it is kind  
of a pain. For example Evernote uses Thrift for their API so all of  
the required source code for interacting with their API is provided in  
C++, Ruby, Python, C#, PHP, etc. Since Revolution isn't included I  
have to find/write a Thrift library and then recreate the auto  
generated code (based on PHP or C for example) by hand.


If no libraries exist already I'm thinking of trying to throw together  
a Revolution version based off the PHP version. The other route would  
be an external wrapped around the C++ Thrift code. There is a PHP  
extension but if your server doesn't have it installed then the code  
falls back to a pure PHP version.


Regards,

--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Developer Resources: http://revolution.bluemangolearning.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Notification of internet use in Rev standalone

2008-10-06 Thread Paul Gabel

Hi Rick:

I think you have a good point about exams having to be monitored.  
Modern technology can sometimes become cheating technology. As for the  
length of the exam, that would be completely up to the exam writer.  
And, yes, the exams can be timed. If you'd like (assuming you have a  
Mac), take a look at it by typing ExamMaster into Macupdate's search  
box and downloading it.


Thanks for you suggestions.

Paul Gabel

--

On Oct 6, 2008, at 6:54 AM, Rick Harrison wrote:



On Oct 5, 2008, at 2:52 PM, Paul Gabel wrote:


Hi Rick:

I'm developing a rev app named ExamMaster where users take exams on  
a Mac (perhaps unsupervised), and I want to deter them from looking  
up answers on the internet. I certainly don't think of this as  
spyware.


Paul Gabel



Hi Paul,

I think you are trying to take your software too far.  You won't be  
able to guard
against the use of internet cell phones especially for exams which  
are unsupervised.
An unsupervised exam also allows students to communicate with each  
other
about the test so they can still get answers even without access to  
the internet.


That is why important exams are always monitored by a teacher.  Your  
software
will never be able to take over the important role of the Monitor in  
the room.


Sometimes, teachers make exams so long that the students will not have
enough time to answer all of the questions.  I once had an open book  
exam
where there were so many questions that you didn't have the time to  
open the
book at all. One just had to know all of the material to be able to  
answer the

questions.

Have you built a timer into your exam software so that when the time  
is up

the student can no longer work on it?

Good luck with your project!

Rick


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


[ANN] VisualHubbaHubba utility (Mac)

2008-10-06 Thread Michael
Hi:

VisualHub shut its doors a couple days ago, but the week before I had
written a helper tool for it with Revolution 2.9. I have placed the app at
http://www.kerflooey.com/VisualHubbaHubba/ in case anybody wants to use it
or critique it. 

VHH provides a drag and drop interface to create user-sortable playlists of
video files so that multiple DVD-video disc images can be created in batch
mode using the playlists, for example overnight.

VisualHub is Mac-only and so is my app, since it also writes an Applescript
as its final output.

Thanks,

m

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Notification of internet use in Rev standalone

2008-10-06 Thread Thomas McGrath III

Paul,

Hi, I've read all of the responses so far to your concept. Some are  
pretty good and you should consider them. That said, if this is for  
OSX only then why not just make the stack sized to the screenRect and  
then set the window type to systemWindow. That way the window while  
open will always 'float above everything' and not allow the user to  
even get to any other application.


You may have to monitor active windows and if changed set the center  
of this stack to the active window if people are using Spaces or  
multiple monitors.


This will not work on windows since Revolution does not treat the  
systemWindow the same on Windows. On Windows you can minimize the  
stack of a systemWindow to the start bar which would then allow the  
user to access an internet application. On OSX there is no minimize  
with a systemWindow.



HTHs

Tom McGrath


On Oct 4, 2008, at 4:48 PM, Paul Gabel wrote:


Hi everybody:

My stack structure is a mainstack splash screen and three substacks.  
Within a Rev standalone, is there any way to be notified if the user  
opens a web browser or attempts to write an email with a non-Rev  
application? Is there any way to prevent it?


on resumeStack is not helpful in my case, as, if placed in the  
mainstack (which is hidden by now), it is not triggered when I come  
back from a web browser. I can't place on resumeStack in a  
substack, because I am constantly going back and forth between them,  
and, even in a standalone, it is triggered.


I would greatly appreciate any suggestions (or even being told to  
forget the whole idea).


Paul Gabel
Mac OS X 10.5.5
Rev 3.0
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: more rev 3.0 woes - losing the will to live

2008-10-06 Thread Chipp Walters
Thanks Joe,

A most welcome point. I'm using Rev 3.0 on Vista and XP for some
mission critical applications, and have not found any significant
problems. I agree a title like this one can put others off.

Bernard,

I suspect your save issue has to do with some plugin doing an
auto-save. I've always disliked the 'auto-save' types of plugins as
you never know exactly what and when you're saving.
You're welcome to use my altArchive plugin, which saves and creates a
serialized backup. Also, I have a stackFormat plugin I wrote awhile
back which also saves in legacy format. Note, these have not been
tested on Linux that I'm aware of. Just enter into msg:

go URL http://www.gadgetplugins.com/altplugins/StackFormat.rev;

and

go URL http://www.altuit.com/hemtools/altPlugin/revAltArchive.rev;

HTH,
Chipp


On Mon, Oct 6, 2008 at 12:25 PM, Joe Lewis Wilkins [EMAIL PROTECTED] wrote:
 Hi Bernard, and others

 I have not followed this thread closely, so I may be way off base; however,
 I
 believe that you are using Rev on a variety of Unix flavors - true?

 Be that the case, since I think that few Rev developers/users are using
 Unix,
 it would be a big help if you were to indicate that you ARE. Particularly
 when
 you are having such difficulties. Otherwise, it is kind of scary to the rest
 of us.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Thrift library?

2008-10-06 Thread Andre Garzia
Trevor,

I am also using Evernote, I have it on all my computers and my iPhone.
I checked the Thrift Wiki and found no information on how to generate
your own language. It may be easier to parse the Thrifit IDL file from
Revolution and generate the code than add the necessary bits to the
Thrift own code base to generate Revolution code.

I wish we could create externals from other languages, like python or ruby.

Andre

On Mon, Oct 6, 2008 at 3:02 PM, Trevor DeVore [EMAIL PROTECTED] wrote:
 On Oct 6, 2008, at 11:16 AM, Andre Garzia wrote:

 that appears very nice. I'd like to have it too. I've though about
 building a WSDL parser but this appears much cooler. We can use the
 new 3.0 arrays for the data models.

 Hey Andre,

 Yes, it seems like a nice framework but I was hoping that I wouldn't have to
 write it from scratch :-)

 Thrift looks interesting in that it generates all of the source code for a
 language based on the Thrift file. You can create a Thrift definition file
 and then Thrift generates the source code required for interacting with your
 web service for a number of languages.

 The problem is that if your language isn't supported then it is kind of a
 pain. For example Evernote uses Thrift for their API so all of the required
 source code for interacting with their API is provided in C++, Ruby, Python,
 C#, PHP, etc. Since Revolution isn't included I have to find/write a Thrift
 library and then recreate the auto generated code (based on PHP or C for
 example) by hand.

 If no libraries exist already I'm thinking of trying to throw together a
 Revolution version based off the PHP version. The other route would be an
 external wrapped around the C++ Thrift code. There is a PHP extension but if
 your server doesn't have it installed then the code falls back to a pure PHP
 version.

 Regards,

 --
 Trevor DeVore
 Blue Mango Learning Systems
 ScreenSteps: http://www.screensteps.com
 Developer Resources: http://revolution.bluemangolearning.com
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution




-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 3.0 for Linux is 8% slower than 2.6.1 ? (Bernard Devlin)

2008-10-06 Thread Wilhelm Sanke, FB01
  On Sun Oct 5, 2008, Bernard Devlin bdrunrev at gmail.com wrote:

   If anyone else has any other benchmarks, I'd be grateful to see them.  Mine
s3.0 for Linux is 8% slower than 2.6.1 ?
eems pretty simple to me, and tests nothing more than a few functions,
looping and adding to lists.

It will only make any sense if you run the script on the same hardware,
using a version of Rev = 3 and a version of Rev  3.

Bernard

Another test stack - also attached to bug report 5113 of the Rev Quality Center
- has been around for some time:

http://www.sanke.org/Software/TestStackPaintcompression.zip 

Although partly focusing on questions of paintcompression, it provides the
possibility to compare engine and IDE speeds of different versions of Metacard
and Revolution.

One of the results measured by this test stack is that version 2.6.1 of the Rev
engine has been the fastest so far when measuring imagedata processing. Other
later versions have been shown to be up to 30 - 40 % slower than 2.6.1 in this
respect - see the result page of the test stack. The new 3.0 Rev engine
version has improved considerably over previous versions, but has not yet fully
reached the level present in 2.6.1.

Measuring speed differences with this stack is a very fast process, as scripts
with a duration between few milliseconds and about 50 seconds at the utmost can
be easily compared.

Regards,

Wilhelm Sanke
http://www.sanke.org/MetaMedia
-- 
Wilhelm Sanke
www.sanke.org/MetaMedia


This mail sent through http://www.uni-kassel.de/www-mail

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: more rev 3.0 woes - losing the will to live

2008-10-06 Thread Jim McNeely
I'm very new here and I thought it was pretty funny. Every tool has  
its drawbacks.


Jim McNeely

On Oct 6, 2008, at 12:23 PM, Chipp Walters wrote:


I agree a title like this one can put others off.


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: more rev 3.0 woes - losing the will to live

2008-10-06 Thread Thomas McGrath III

Jim,

I agree, I thought it was damn funny..

I feel this way every couple of months right before a big break  
through


Glad you're here...

Tom McGrath

On Oct 6, 2008, at 6:15 PM, Jim McNeely wrote:

I'm very new here and I thought it was pretty funny. Every tool has  
its drawbacks.


Jim McNeely

On Oct 6, 2008, at 12:23 PM, Chipp Walters wrote:


I agree a title like this one can put others off.


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] VisualHubbaHubba utility (Mac)

2008-10-06 Thread Howard Bornstein
On Mon, Oct 6, 2008 at 2:30 PM, Michael [EMAIL PROTECTED] wrote:

 Hi:

 VisualHub shut its doors a couple days ago,


Yes, I was very sad to hear this as they were a responsive small company
with great tech support who made an excellent product.

Sigh.


-- 
Regards,

Howard Bornstein
---
www.designeq.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Thrift library?

2008-10-06 Thread Trevor DeVore

On Oct 6, 2008, at 4:53 PM, Andre Garzia wrote:


I am also using Evernote, I have it on all my computers and my iPhone.
I checked the Thrift Wiki and found no information on how to generate
your own language. It may be easier to parse the Thrifit IDL file from
Revolution and generate the code than add the necessary bits to the
Thrift own code base to generate Revolution code.

I wish we could create externals from other languages, like python  
or ruby.


The main Thrift library is written in C++ and that could be wrapped up  
in an external if that would be easier then having a native Revolution  
library. I think creating an external may be the way to go since it  
would be easier to keep a Thrift external in sync with the current  
Thrift library (drop in latest C++ files, recompile).


Once we have a Revolution Thrift library (external or pure Revolution)  
then creating Revolution source code from IDL files shouldn't be too  
bad. The problem is that I don't think companies necessarily  
distribute their IDL files. I think they just distribute the source  
created from the IDL files; at least I didn't see any IDL files in the  
Evernote API distribution. Perhaps a Revolution program that could  
parse the C++ files generated by Thrift and automatically create an  
external project might be appropriate.


Regards,

--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Developer Resources: http://revolution.bluemangolearning.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 3.0 for Linux is 8% slower than 2.6.1 ?

2008-10-06 Thread Chipp Walters
Bernard,

Regarding your test stack. (Bottom of message is your test script)

I'm not sure what the 'send in time' helps test? I think it better to
just repeat your test as many times as you wish and not use 'send in
time'. It adds another variable to the process.

I can see where this test can be setup to run for a couple of hours
using 'send in time'. But, running this test for a long period of time
will not take into account any other background processes which may be
taking place--thus slowing down the test and providing inaccurate
results when compared to another test--even if on the same machine.

It appears the only thing you are testing is the random() function, or
perhaps I am missing something? Wilhelm's stack is a good benchmark
example as it states and tests a specific function. Unless you are
only trying to test the speed of the random() function, this test does
not provide an overall speed test for Rev. Also, as a note, I
typically try not to update the screen on benchmarks (writing to
fields or message box) during the time calculation-- as these can
represent yet another variable to the test criteria.

Also, you are using the round function to calculate your times:

put round ((the milliseconds - tStartMS)/1000) into tElapsed

This has the possibility of introducing significant error. For
instance, when I run your default setting of a 15 seed (on my basic
speed desktop), it takes 21.48 seconds to run, but you round that
number up or down (in this case it becomes 21) thus introducing a
greater than 2% error. If I run a seed of 11 or below, it registers as
taking 0 seconds, though it actually takes close to .4 seconds. This
is also a significant error percentage-wise (infinity?). If I were to
run this on a faster machine (like many of the Macs out there), the
potential error would be even greater.

Not to mention this error can be compounded by the number of tests you
run in your repeat measure field-- which the default is 5-- so on my
machine it is theoretically possible to have close to +- 10%
difference in actual times vs reported times based upon the default
settings. Not very reliable.

Your throw commands are a nice trick to exit a handler:

if fld repeat measure is not a number then throw repeat needs a number

And I suppose you already know this, but for others reading, you may
wish to provide the below errorDialog handler in your button script as
well. Of course, it will only display when script debug mode is turned
off.

on errorDialog pExecutionError
   answer pExecutionError
end errorDialog

I hope this helps you understand why you may be having some problems.
FYI, Richard Gaskin, a very experienced Rev user and benchmarking
guru, has some good benchmarking tools which you might ask about, or
search the archives here for. I'd suggest using a proven tool to help
you get a grasp on this situation.

---BERNARD's BENCHMARK CODE -

on mouseUp
   if fld repeat measure is not a number then throw repeat needs a number
   if fld send delay seconds is not a number then throw send delay
needs a number
   put round(fld send delay seconds) into tSendDelaySize
   repeat with tCounter = 1 to (round(fld repeat measure))
  put tSendDelaySize * tCounter into tNextSend
  send doTest to me in tNextSend seconds
   end repeat
end mouseUp

on doTest
   put the long time  the pendingMessages
   put the milliseconds into tStartMS
   if fld seed is not a number then throw need a number to kick things off
   put round(exp(fld seed)) into tLimit
   repeat with tCounter = 1 to tLimit
  put random(100)  comma  random(100)  comma  tLimit  return
after tItemList
   end repeat
   put line 1 to 5 of tItemList into tNewItemList
   put round ((the milliseconds - tStartMS)/1000) into tElapsed
   put tElapsed  return  tNewItemLIst  return  the long time into
fld result
   set the itemDel to .
   if item 1 of version()  3 then
  put old into tVersion
   else
  put new into tVersion
   end if
   set the itemDel to comma
   put tElapsed  comma after fld tVersion
   put fld tVersion into tRunningScore
   if char -1 of tRunningScore is comma then put empty into char -1 of
tRunningScore
   put (tVersion  avg) into tVersionAvg
   put avg(tRunningScore) into fld tVersionAvg
end doTest
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution