Split to Array on Repeat Skips Every Other Line??

2005-05-16 Thread Sivakatirswami
Incoming data stored in a global and then try to split this on a loop...
every other line on output is empty.
global gSomeData # which has six lines  of data
repeat for each line x in gSomeData
   split x with | and tab
   put x[Project]  tab   (x[hours] +round(x[hour-fraction],2)) 
 tab  x[Fund_Category]  cr after tLog
end repeat

put tLog
returns:
Online-Donations5.41Public Services
0   
Digital-Dharma-List 6.5 Public Services
0   
Publishers-Desk-Interface   6.75Funded Projects
0   
Every other line is skipped!
???
 I *can* re-do this using an itemdel algorithm and skip the split to 
array,
but using these little arrays is so much more efficient (if it worked 
of course)

Sivakatirswami

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Split to Array on Repeat Skips Every Other Line??

2005-05-16 Thread Sivakatirswami
OK, well I solved the problem by taking the split out of the loop to a 
function, now it works. But I still think this is a bug.

on mouseUp
   repeat for each line x in gLogData
  put returnLogEntry(x)  cr after tLog
   end repeat
  put tLog into fld logViewer
end mouseup
function returnLogEntry x
  split x with | and tab
  return (x[Project]  tab   (x[hours] 
+round(x[hour-fraction],2))  tab  x[Fund_Category])
end returnLogEntry

Now I get all six lines as expected:
Online-Donations5.41Public Services
Publishers-Desk-Interface   1.25Public Services
Digital-Dharma-List 6.5 Public Services
Web-Editor-Upgrade  2.17Public Services
Publishers-Desk-Interface   6.75Funded Projects
Online-Donations1.08Public Services
skts
On May 15, 2005, at 8:00 PM, Sivakatirswami wrote:
Incoming data stored in a global and then try to split this on a 
loop...
every other line on output is empty.

global gSomeData # which has six lines  of data
repeat for each line x in gSomeData
   split x with | and tab
   put x[Project]  tab   (x[hours] +round(x[hour-fraction],2)) 
 tab  x[Fund_Category]  cr after tLog
end repeat

put tLog
returns:
Online-Donations5.41Public Services
0   
Digital-Dharma-List 6.5 Public Services
0   
Publishers-Desk-Interface   6.75Funded Projects
0   
Every other line is skipped!
???
 I *can* re-do this using an itemdel algorithm and skip the split to 
array,
but using these little arrays is so much more efficient (if it worked 
of course)

Sivakatirswami

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Split to Array on Repeat Skips Every Other Line??

2005-05-16 Thread Brian Yennie
Just out of curiosity, what happens with the following:
global gSomeData # which has six lines  of data
repeat for each line x in gSomeData
   put x into y
   split y with | and tab
   put y[Project]  tab   (y[hours] +round(y[hour-fraction],2)) 
 tab  y[Fund_Category]  cr after tLog
end repeat

Wondering if Rev was having some trouble with the repeat for each 
variable being used as an array...

- Brian
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Be Cautious About MySQL Licensing (was Re: Database suggestions?)

2005-05-16 Thread Chipp Walters
Welcome to our list Ruslan :-)
I'm no database expert, though you can find plenty of them on the SQLite 
open source website: www.sqlite.org

I challenge you to post your benchmarks there if you're serious about 
getting a response. There you'll find more of the 'war' I believe you're 
searching for.

Though, I can point to some speed facts about the program:
From the SQLite.org home page:
A series of tests were run to measure the relative performance of 
SQLite 2.7.6, PostgreSQL 7.1.3, and MySQL 3.23.41. The following are 
general conclusions drawn from these experiments:

*SQLite 2.7.6 is significantly faster (sometimes as much as 10 or 
20 times faster) than the default PostgreSQL 7.1.3 installation on 
RedHat 7.2 for most common operations.
*SQLite 2.7.6 is often faster (sometimes more than twice as fast) 
than MySQL 3.23.41 for most common operations.
*SQLite does not execute CREATE INDEX or DROP TABLE as fast as the 
other databases. But this is not seen as a problem because those are 
infrequent operations.
*SQLite works best if you group multiple operations together into a 
single transaction.

I believe the absense of Valentina benchmarks only indicates they chose 
to compare against some of the more popular databases, and ones who's 
source code was 'open' for all to see.

Also, I notice you make mention of 'locking' records. If you use this 
trick for SQLite, you are adding needless cycles to the benchmark. The 
SQLite database is a 'single-user' database, and has no need for locking 
records in the Revolution environment. I would think you, as a 
proficient database expert (unlike I) would of course know this?

A last challenge: Why don't you create a great Demo for Valentina in 
Revolution? I believe if you do, you may find you can increase your 
sales and help out our community. If you're interested in viewing ours, 
please see:
http://www.altuit.com/webs/altuit2/altSQLiteCover/default.htm

Also, I noticed you're still selling Valentina for Revolution 1.1.1. 
We're now up to version 2.5.1. I know your users are eager for you to 
update!

And at $299 for both Mac and PC, that would make it 3X as expensive as 
altSQLite. And of course, altSQLite also includes Linux.

Have a nice day,
Chipp Walters
Altuit, Inc.
Ruslan Zasukhin wrote:
:-) I think this is little a myth that SQL Lite is fast.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Be Cautious About MySQL Licensing (was Re: Database suggestions?)

2005-05-16 Thread Ruslan Zasukhin
On 5/16/05 10:39 AM, Chipp Walters [EMAIL PROTECTED] wrote:

Hi Chipp, 

 Welcome to our list Ruslan :-)
 
 I'm no database expert, though you can find plenty of them on the SQLite
 open source website: www.sqlite.org
 
 I challenge you to post your benchmarks there if you're serious about
 getting a response. There you'll find more of the 'war' I believe you're
 searching for.

:-) no,  

SQL Lite is not direct competitor to Valentina.
mySQL and Postgre yes, in the same category
 
I give that info you DEVELOPERS and users of dbs.
Because I think you should be informed about possible limits you can stick.

 Though, I can point to some speed facts about the program:
 
  From the SQLite.org home page:

 A series of tests were run to measure the relative performance of
 SQLite 2.7.6, PostgreSQL 7.1.3, and MySQL 3.23.41. The following are
 general conclusions drawn from these experiments:

I have see their home page and read tech notes and made own tests.
 
By the way, note on their page the size of database they bench.
It seems about 1000 (one thousand) records.

They name this a serious bench?  :-)

Any DBMS show its behavior only if you bench on database that have size AT
LEAST 2-3 times bigger of RAM. So if you have RAM 512MB please do bench on
db 1.5GBthen you will see truth only.

 I believe the absense of Valentina benchmarks only indicates they chose
 to compare against some of the more popular databases, and ones who's
 source code was 'open' for all to see.

Well, Valentina is not so popular as mySQL. This is true.
We all perfectly understand, that if tomorrow mySQL will start charge at
least $300 then its popularity disappear.

-- 
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
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Be Cautious About MySQL Licensing (was Re: Database suggestions?)

2005-05-16 Thread Chipp Walters
Chipp Walters wrote:
Also, I noticed you're still selling Valentina for Revolution 1.1.1. 
We're now up to version 2.5.1. I know your users are eager for you to 
update!
Ruslan,
On your website it states:
Valentina for Revolution 1.11
which I incorrectly surmised it to mean:
Velentina for Revolution 1.1.1
though I after reading it again, I *believe* it really means:
Valentina 1.11 for Revolution 2.x
Probably a good idea to change that :-)
I do remember people talking about a Valentina update coming soon, 
though I see from your website the last press release about a new 
version is dated April, 21,2002. I did find there you have beta versions 
available for Director and RealBasic. Hopefully, Revolution is in the works.

Also, I *believe* Valentina also runs on older Mac OS's which makes it's 
currently the only embedded solution for Revolution for OS9.

best,
Chipp
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Be Cautious About MySQL Licensing (was Re: Database suggestions?)

2005-05-16 Thread Ruslan Zasukhin
On 5/16/05 10:39 AM, Chipp Walters [EMAIL PROTECTED] wrote:

Hi Chipp,

Oh, sorry, I have only now realise that you are from Altuit.

Please take my best wishes, and be sure, that we not going to make any war.
We just talk and discuss. Okay?  :-)

 Also, I notice you make mention of 'locking' records. If you use this
 trick for SQLite, you are adding needless cycles to the benchmark. The
 SQLite database is a 'single-user' database, and has no need for locking
 records in the Revolution environment. I would think you, as a
 proficient database expert (unlike I) would of course know this?

I have told:
IF YOU develop multi-thread application.
 
Look, even single user engine can be used in multi-thread application.
For example, may be developer want make in his app several windows which
show different records. For example, MS Entourage can show several browsers
for your letters.

So, if app have several threads, and threads do concur for records, then you
must have locks. SQL Lite do not have locks as I know, and probably never
will. It is pointed and developed as single-user. Developer can try
workaround this adding own column. But this means update/scan of the whole
table to set 0/1. SQL Lite is slow on such operation.

OF COURSE, I think 90% of developers do not need such complex applications
and can live without record locks. Just I have see once attempt to make
around SQL Lite multi-user solutions. That was simply stupid step. Just
impossible. 

 A last challenge: Why don't you create a great Demo for Valentina in
 Revolution? I believe if you do, you may find you can increase your
 sales and help out our community. If you're interested in viewing ours,
 please see:
 http://www.altuit.com/webs/altuit2/altSQLiteCover/default.htm

:-) We just only have to start develop Valentina 2.0 for Revolution.
 
 Also, I noticed you're still selling Valentina for Revolution 1.1.1.
 We're now up to version 2.5.1. I know your users are eager for you to
 update!

Valentina works with 2.5.1 with no problems. Do not worry.
 
 And at $299 for both Mac and PC, that would make it 3X as expensive as
 altSQLite. And of course, altSQLite also includes Linux.

I think when developer is going to sale own application, and make big money,
difference in $200 do not matter.

When 5-6 years Valentina have come to C++, Director, and other markets,
here did play db engines worse of Valentina and they did ask price $600-700.
Valentina have reduce this price level.

Also I think Application/Solution developer when choose db engine should
think in the first turn about future users of his application. How fast they
will get result? 

What will prefer your users? Get answers in 0.1 of seconds or 1 minute ?
Will affect this your sales? Of course.

---
For example, this is one of Valentina developers
http://www.sonnysoftware.com/

His application have 4-5 strong competitors on the market.
He was happy when told me, that HIS users say WOW!!!
Your Bookends is MANY times faster of competitor
(which have use 4D btw). Bookends can do practically live searches.
even on very big databases.

You can see his users feedback on right side.


About Linux. 

We going port Valentina to Linux. Soon. No doubt.
But I wonder and want ask developers on this list.
Does Linux bring you real sales ?


-- 
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
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Be Cautious About MySQL Licensing (was Re: Database suggestions?)

2005-05-16 Thread Chipp Walters
Ruslan Zasukhin wrote:
I give that info you DEVELOPERS and users of dbs.
Because I think you should be informed about possible limits you can stick.
Good point.
You might also wish to 'warn' the Apple Tiger Developers of your 
findings because FYI:
http://www.appleinsider.com/article.php?id=593

Another feature of Tiger is SQLite support, which incorporates the 
SQLite library into the system to provide an embeddable, 
zero-configuration SQL database engine for applications.

Developers who link their applications to this library can access SQL 
databases without running a separate relational database management 
system (RDBMS) process. The library can also be used to create local 
database files and manage the tables and records in that file.

-Chipp
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Be Cautious About MySQL Licensing (was Re: Database suggestions?)

2005-05-16 Thread Ruslan Zasukhin
On 5/16/05 11:03 AM, Chipp Walters [EMAIL PROTECTED] wrote:

 Chipp Walters wrote:
 
 Also, I noticed you're still selling Valentina for Revolution 1.1.1.
 We're now up to version 2.5.1. I know your users are eager for you to
 update!
 
 Ruslan,
 
 On your website it states:
 
 Valentina for Revolution 1.11
 which I incorrectly surmised it to mean:
 Velentina for Revolution 1.1.1
 though I after reading it again, I *believe* it really means:
 Valentina 1.11 for Revolution 2.x

It is Valentina 1.11

-- 
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
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Be Cautious About MySQL Licensing (was Re: Database suggestions?)

2005-05-16 Thread Ruslan Zasukhin
On 5/16/05 11:03 AM, Chipp Walters [EMAIL PROTECTED] wrote:

 I do remember people talking about a Valentina update coming soon,
 though I see from your website the last press release about a new
 version is dated April, 21,2002. I did find there you have beta versions
 available for Director and RealBasic. Hopefully, Revolution is in the works.

Ak, we need add news. It lost somehow.
 
 Also, I *believe* Valentina also runs on older Mac OS's which makes it's
 currently the only embedded solution for Revolution for OS9.

Well, Valentina 2.0 will not. We drop support of Classic because we use IBM
ICU unicode library, which have Carbon and Macho versions, but not Classic.

Valentina 1.x yes works on Classic.


-- 
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
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Be Cautious About MySQL Licensing (was Re: Database suggestions?)

2005-05-16 Thread Chipp Walters
Ruslan Zasukhin wrote:
Oh, sorry, I have only now realise that you are from Altuit.
Please take my best wishes, and be sure, that we not going to make any war.
We just talk and discuss. Okay?  :-)
Yes, I am from Altuit, and a BIG supporter of Revolution! You can check 
out our RunRev website:
http://www.altuit.com/webs/altuit2/RunRev/default.htm

We also have a number of other externals for RunRev (Please don't tell 
me you have an embedded browser and it's faster:-)

best,
Chipp
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Be Cautious About MySQL Licensing (was Re: Database suggestions?)

2005-05-16 Thread Ruslan Zasukhin
On 5/16/05 11:27 AM, Chipp Walters [EMAIL PROTECTED] wrote:

 Ruslan Zasukhin wrote:
 
 Oh, sorry, I have only now realise that you are from Altuit.
 
 Please take my best wishes, and be sure, that we not going to make any war.
 We just talk and discuss. Okay?  :-)
 
 Yes, I am from Altuit, and a BIG supporter of Revolution! You can check
 out our RunRev website:
 http://www.altuit.com/webs/altuit2/RunRev/default.htm
 
 We also have a number of other externals for RunRev (Please don't tell
 me you have an embedded browser and it's faster:-)

No no.

You develop browser?
Like listbox ?
This is very useful!

I know that Revoliution (as REALbasic) do not have Active Listbox.
This cause big problems if we need display million records.

Do you have such browser?

If no, and if Revolution do not have such on,
This is excellent task to resolve.


-- 
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
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Be Cautious About MySQL Licensing (was Re: Databasesuggestions?)

2005-05-16 Thread jbv


Ruslan Zasukhin a *crit :

 
 About Linux.

 We going port Valentina to Linux. Soon. No doubt.
 But I wonder and want ask developers on this list.
 Does Linux bring you real sales ?


if you guys allow me to enter your conversation, and
if you allow me to share my own experience, I'd like
to say that I love to use Rev as a cgi engine, and try
to promote it in every commercial project I undertake.
I also always work with Linux servers.
A DB is almost always necessary, but so far I had to
stick to mySQL because :
- it's almost impossible to find anyone with postgreSQL
skills in my neighborhood
- Valentina isn't available for Linux yet...

I agree that the use of Rev as cgi engine isn't the most
widespread use of Rev, but nevertheless I was tempted
by the Valentina benchmarks...
Currently I'm working on a project whose main DB
contains 22000 records (5 Mb with indexes) which
should reach 5 to 7 records within the next
couple of years... So far with the 22000 records,
requests made via Rev cgi are really fast...

JB

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Database benchmarking in RunRev

2005-05-16 Thread Alejandro Tejada
on Mon, 16 May 2005 01:53:14 +0300
Ruslan Zasukhin wrote:

 Of course we plan soon produce
 A) bench pages
 B) bench project for different languages that
 Valentina support
 REALbasic, Director, Revolution,
 which anybody should be able to run and see times on
 his own computer.

Hi Ruslan,

Always is good to see every developer, backing up
their software! :-)

Now, i have a petition for you, about your
database bench project for Revolution:

Could you use, for this benchmark, 
the complete text of the mail archive 
of Runtime Revolution?

Compressed, this file is 176 MB, decompressed
is a lot more.

Using the full text of this mail list,
you could be sure that every developer in
this mail list will ACTUALLY USE (very important)
your  benchmark application, to look for threads,
individual messages, words, phrases and more.

In this way, you could be sure that Valentina,
will be tested in every machine that runs RunRev.

Thanks in advance.
Keep Up your good work!

al

Visit my site:
http://www.geocities.com/capellan2000/

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


hads in close proximity (was Rolling graphics)

2005-05-16 Thread David Glasgow
On 14 May 2005, at 2:19 am, Jim Hurley [EMAIL PROTECTED] wrote:
Speaking of Transcript inspiration, this work reminds me of the
opportunity I would have had, had I had Run Rev some years back.
(Does that sentence set a record for the number of hads in close
proximity?)
John, whereas James had had 'had', had had 'had had'.  'Had had' had 
had the teacher's approval.

11 in a row.  Sorry.  I just can't forget this, no matter how much I 
want to make room for other stuff.

Best Wishes,
David Glasgow
http://www.i-psych.co.uk
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Split to Array on Repeat Skips Every Other Line??

2005-05-16 Thread Alex Tweedly
Sivakatirswami wrote:
OK, well I solved the problem by taking the split out of the loop to a 
function, now it works. But I still think this is a bug.

No, I don't agree. The docs say very clearly
Important!  You cannot change the labelVariable in a statement inside 
the loop. Doing so will cause a script error. You can change the 
content of the container, but doing so will probably produce 
unexpected results.
since split does change x (into an array, and to a different value), 
you're breaking the rule, and can't expect this to work.

Passing x as a parameter to the function passes a *copy* of the data, 
and hence avoids breaking the rule.

I'm not sure what Rev intended by the phrase cause a script error - it 
certainly doesn't cause the script to stop with the error box, in any 
example I could think of - but it does produce unexpected results in 
some cases.

on mouseUp
   repeat for each line x in gLogData
  put returnLogEntry(x)  cr after tLog
   end repeat
  put tLog into fld logViewer
end mouseup
function returnLogEntry x
  split x with | and tab
  return (x[Project]  tab   (x[hours] 
+round(x[hour-fraction],2))  tab  x[Fund_Category])
end returnLogEntry

Now I get all six lines as expected:
Online-Donations5.41Public Services
Publishers-Desk-Interface1.25Public Services
Digital-Dharma-List6.5Public Services
Web-Editor-Upgrade2.17Public Services
Publishers-Desk-Interface6.75Funded Projects
Online-Donations1.08Public Services
skts
--
Alex Tweedly   http://www.tweedly.net

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.9 - Release Date: 12/05/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Database benchmarking in RunRev

2005-05-16 Thread Ruslan Zasukhin
On 5/16/05 1:19 PM, Alejandro Tejada [EMAIL PROTECTED] wrote:

Hi Alejandro, 

 Now, i have a petition for you, about your
 database bench project for Revolution:
 
 Could you use, for this benchmark,
 the complete text of the mail archive
 of Runtime Revolution?
 
 Compressed, this file is 176 MB, decompressed
 is a lot more.

Well, I think such test can do anybody else.

We will do step by step tests, from simple to more complex.
single table
2 table joins
3 t joins 
..
 
 Using the full text of this mail list,
 you could be sure that every developer in
 this mail list will ACTUALLY USE (very important)
 your  benchmark application, to look for threads,
 individual messages, words, phrases and more.

:-) but it needs support db somehow, right ?
Also where from you suggest import data ? From emailers?
 
 In this way, you could be sure that Valentina,
 will be tested in every machine that runs RunRev.
 
 Thanks in advance.
 Keep Up your good work!

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

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

[I feel the need: the need for speed]


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Split to Array on Repeat Skips Every Other Line??

2005-05-16 Thread Phil Jimmieson
Alex Tweedly wrote:
Sivakatirswami wrote:
OK, well I solved the problem by taking the split out of the loop 
to a function, now it works. But I still think this is a bug.

No, I don't agree. The docs say very clearly
Important!  You cannot change the labelVariable in a statement 
inside the loop. Doing so will cause a script error. You can change 
the content of the container, but doing so will probably produce 
unexpected results.
since split does change x (into an array, and to a different 
value), you're breaking the rule, and can't expect this to work.
Hi Alex,
thing is that this *used* to work in an earlier version of Rev. I 
can't remember which version broke it, but one day my scripts were 
working, and the next (after an update) they didn't... Took me a 
while to figure out what was going wrong (and I bugzilla'd it).

It would be really helpful if the documentation explicitly mentioned 
that split on a foreach variable will have this effect.

--
Phil Jimmieson  [EMAIL PROTECTED]  (UK) 0151 794 3689  (Mobile) 07976 983164
Computer Science Dept., Liverpool University, Chadwick Building, Peach Street
Liverpool L69 7ZF  http://www.csc.liv.ac.uk/~phil/
  I used to sit on a special medical board... ...but now I use this ointment.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


hint needed

2005-05-16 Thread Klaus Major
Hi frien
ds,
i have a little problem and might need some help/hints...
I have a TAB delimited list (200 lines) of values like:
1 TAB 0 TAB 1 TAB 1 TAB 0... (174 values each line)
And have the same amount of checkboxes and want to get all the lines
that have the same matrix as the currently checked boxes...
Know what i mean?
I can get a list of the checkboxes and their states and want to have  
all the lines that
match the checkbox matrix...

But since i will only query the true state i have no idea so far...
My checkbox list will look like:
1 TAB * TAB * TAB * TAB 1 TAB...
where * means false/empty and does NOT matter...
What might be the most effective/fastest way to do so?
Any hints are welcome :-)
BTW, on OS X it will slow down performance heavily when i have a  
visible field with these
200 lines a 175 values in it on my card...

Activating other objects results in a delay of at least 1 second  
before any reaction.

Anyway, thanks in advance.
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: hint needed

2005-05-16 Thread xbury . cs
Hi Klaus,

Hope i got this correctly...

Search for a matrix using the filter command

1tab*

Append a line number after each line eventually if you need to know which 
line if was.

From then it's just a little loop to see which lines really match...

IOW,

do a regex (or filter) on the largest defined
string, then reduce the occurences with real matching 

removing the tabs may help also make the search simpler and or faster...

Im just reading up on pattern recognition ;)

did I get that correctly?

hope that helps
Xavier

On 16.05.2005 12:50:47 use-revolution-bounces wrote:
Hi frien
ds,

i have a little problem and might need some help/hints...

I have a TAB delimited list (200 lines) of values like:
1 TAB 0 TAB 1 TAB 1 TAB 0... (174 values each line)

And have the same amount of checkboxes and want to get all the lines
that have the same matrix as the currently checked boxes...

Know what i mean?

I can get a list of the checkboxes and their states and want to have
all the lines that
match the checkbox matrix...

But since i will only query the true state i have no idea so far...

My checkbox list will look like:
1 TAB * TAB * TAB * TAB 1 TAB...

where * means false/empty and does NOT matter...


What might be the most effective/fastest way to do so?

Any hints are welcome :-)

BTW, on OS X it will slow down performance heavily when i have a
visible field with these
200 lines a 175 values in it on my card...

Activating other objects results in a delay of at least 1 second
before any reaction.


Anyway, thanks in advance.


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


-
Visit us at http://www.clearstream.com
IMPORTANT MESSAGEInternet communications are not secure and therefore
Clearstream International does not accept legal responsibility for the
contents of this message.The information contained in this e-mail is
confidential and may be legally privileged. It is intended solely for the
addressee. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically states
them to be the views of Clearstream International or of any of its
affiliates or subsidiaries.END OF DISCLAIMER
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: hint needed

2005-05-16 Thread Klaus Major
Bonjour Xavier,
Hi Klaus,
Hope i got this correctly...
Search for a matrix using the filter command
1tab*
Append a line number after each line eventually if you need to know  
which
line if was.
Ah, yes, i think filter is the right direction!
From then it's just a little loop to see which lines really match...
IOW,
do a regex (or filter) on the largest defined
string, then reduce the occurences with real matching
Still waiting for Ken's regex for dummies primer ;-)
removing the tabs may help also make the search simpler and or  
faster...
Will try that, too, thanks!
Im just reading up on pattern recognition ;)
did I get that correctly?
I think so :-)
hope that helps
Mais oui, mon ami, certainement!
Xavier
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Be Cautious About MySQL Licensing (was Re: Database suggestions?)

2005-05-16 Thread Robert Brenstein
  Also, I *believe* Valentina also runs on older Mac OS's which makes it's
 currently the only embedded solution for Revolution for OS9.
Well, Valentina 2.0 will not. We drop support of Classic because we use IBM
ICU unicode library, which have Carbon and Macho versions, but not Classic.
Valentina 1.x yes works on Classic.
But if ICU has Carbon version why can't it work under OS9?
Robert
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Database benchmarking in RunRev

2005-05-16 Thread Alejandro Tejada
Hi Ruslan, :-)

Ruslan Zasukhin wrote in response
to alejandro tejada:

at Using the full text of this mail list,
at you could be sure that every developer in
at this mail list will ACTUALLY USE (very important)
at your  benchmark application, to look for threads,
at individual messages, words, phrases and more.

rz :-) but it needs support db somehow, right ?
rz Also where from you suggest import data ? 
rz From emailers?

Could it be possible to import this 176 mb file
(with all messages from this mail list)?

Download 176 mb of messages from this link:
http://lists.runrev.com/pipermail/use-revolution.mbox/use-revolution.mbox
or from this page:
http://lists.runrev.com/pipermail/use-revolution/

Thanks in advance.

al


Visit my site:
http://www.geocities.com/capellan2000/



__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Be Cautious About MySQL Licensing (was Re: Database suggestions?)

2005-05-16 Thread Ruslan Zasukhin
On 5/16/05 2:18 PM, Robert Brenstein [EMAIL PROTECTED] wrote:

 Also, I *believe* Valentina also runs on older Mac OS's which makes it's
  currently the only embedded solution for Revolution for OS9.
 
 Well, Valentina 2.0 will not. We drop support of Classic because we use IBM
 ICU unicode library, which have Carbon and Macho versions, but not Classic.
 
 Valentina 1.x yes works on Classic.
 
 But if ICU has Carbon version why can't it work under OS9?

Do now know. Nobody have made this

-- 
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
http://lists.runrev.com/mailman/listinfo/use-revolution


unzip question (OS X)

2005-05-16 Thread Christian Langers
Hello,
Does anybody know what option to set to the unzip shell command in  
order do get an incrementation  to the file to extract (stored in a  
stack) when there is a file with the same name ? (unzipping via the  
Finder gives me that automatically : e.g. XML exists -- unzipping :  
XML 1 -- unzipping : XML 2...)

In my script I verify if there is already a file with the same name  
then I have to possibilities :
- shell (if there is no such file)

put the cProg of this cd into url (binfile:tPath/tName)
 put cd tpathcrunzip tName into tShell
  get shell(tShell)
- Applescript (if there is such a file)
put the cProg of this cd into url (binfile:tPath/tName)
 put tell applicationquoteFinderquotecropen file q 
(tName)cr end tell into tAppScript
  do tAppScript as Applescript

With Applescript I'm getting the increments but I want this to happen  
quietly (and in the shell)...

Any ideas ?
Thanks in advance,

Christian
from Luxembourg
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


XML and Unicode?

2005-05-16 Thread Curtis Ford
I've been studying the XML demo kindly provided by Sarah Reichelt - a 
big thanks to Sarah, it's a great resource! A few newbie-ish questions:

Can Unicode be used with the XML commands? I've had success reading in 
my own XML external text files with the demo, but using UTF 16 encoding 
seems troublesome.

I've set the font of the field XMLText to Lucida Grande, and in the 
script for the Read from file button I tried replacing

put tChild after fld XMLtext
  with
set the UnicodeText of fld XMLtext to tChild
.. but what should have been Russian displayed as Chinese with no line 
breaks.

Is there something else I'd need to do when reading the data in, or am 
I missing something else? Thanks for any suggestions!

-Curt
Dr. Curtis Ford
Instructor of Russian and Linguistics
Dept. of Languages, Literatures, and Cultures
University of South Carolina
cford at sc.edu
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev fails to recognize Chinese

2005-05-16 Thread ron barber
Hubert
I think you will have to import the text from each field in your HC 
stack to the new Rev stack

set the unicodetext of fld revfld to uniencode(HCfld,Chinese)
This will have to be different for the simplified - (simplechinese) 
and traditional - (chinese)

HTH
Ron
On May 16, 2005, at 6:50 AM, Hubert Seiwert wrote:
I have imported (read in) my Hypercard files to Rev. Some field contain
mixed text (English and Chinese), some field just are set to Chinese
(simplified and traditional) textfont. What appears on the screen 
instead of
Chinese is just a rubbish of ASCII characters. If I select the 
(supposed to
be) Chinese text and set the textfont to Apple Lisung Light (or any 
other
Chinese font), the text is converted to Korean and rubbish. I know, 
similar
problems have been discussed early in 2004, but I am wondering if a 
solution
has been found in the meantime. I would be thankful for any help.

Hubert
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: XML and Unicode?

2005-05-16 Thread ron barber
Hi Curtis,
I don't use XML but what happens when you set the textfont to 
Russian,unicode rather than Lucida Grande?

Ron
On May 11, 2005, at 3:47 AM, Curtis Ford wrote:
I've been studying the XML demo kindly provided by Sarah Reichelt - a 
big thanks to Sarah, it's a great resource! A few newbie-ish 
questions:

Can Unicode be used with the XML commands? I've had success reading in 
my own XML external text files with the demo, but using UTF 16 
encoding seems troublesome.

I've set the font of the field XMLText to Lucida Grande, and in the 
script for the Read from file button I tried replacing

put tChild after fld XMLtext
  with
set the UnicodeText of fld XMLtext to tChild
.. but what should have been Russian displayed as Chinese with no line 
breaks.

Is there something else I'd need to do when reading the data in, or am 
I missing something else? Thanks for any suggestions!

-Curt
Dr. Curtis Ford
Instructor of Russian and Linguistics
Dept. of Languages, Literatures, and Cultures
University of South Carolina
cford at sc.edu
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


altSQLite versus Valentina for Rev

2005-05-16 Thread Joel Guillod
Russlan,
What a good opportunity to explain you some of the reasons why you 
probably miss so many users. My own experience of Valentina has been a 
failure because I have never been able to easily operate Valentina with 
Hypercard/Supercard and more recently with Revolution. Dont reply that 
I should not be an adequate programer, just search the Rev archives to 
understand that many  Revolutionados have made attempts to use 
Valentina with many difficulties and switched to another solution.

Also be aware that altSQLite has been released with the following 
advantages among others:
- many altPlugins are provided for free and has been proven very 
usefull and well polished;
- the altSQLite Demo stack is very well designed and just ready to use 
sample: you open it, it just works and you can see the sample scripts;
- affordable price;
- SQLite is widely recognized by many other developers: see PHP for a 
single instance, not to say the MacOSX Tiger integration.
- last but not least: speed development time. I spend many days failing 
to deal with Valentina user guides where I have been able to create a 
DB and to write error free scripts with altSQLite in just minutes.

Yet there is a problem with altSqlite under MacOSX 10.3.9 which crashes 
Revolution in some circonstances but I am confident that Chipp/Altuit 
will fix that soon. As Revolution developers we know that he is very 
active and reactive. You have proven the opposite. There was (is? I 
didn't check recently) no Revolution sample stack for Valentina. Also 
some arguments in favor of Valentina are not so important for most of 
our applications:
- speed is most often an issue when users have large databases which is 
not the case for most of us;
- price can be an issue: I am not sure that many of us are selling 
their applications to valuate Valentina more than the free Postgres or 
MySQL DBMS;
- Those DBMS are supported by many developers and we dont know what 
would happen to Valentina I you disappear tomorrow. SQLite source code 
is available and free. What a warranty for our data;
- multiusers capability require another process to execute Valentina 
and those DBMS. I dont see any advantages of one over the others if 
you'd like to release an easy installation to users.

My last comment is that competition is good! As developers we really 
thank Altuit to have written the SQLite plugin because this finally 
forces Paradigma Software Inc to seriously watch for the Revolution 
developers to give them the consideration and support they actually 
missed until today. BUT be aware that the time is very short not to 
loose the market today! Dont do war, build tools which prooves you make 
the developers' life easier!

Regards,
JG
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Be Cautious About MySQL Licensing (was Re: Databasesuggestions?)

2005-05-16 Thread Lynn Fredricks
 I'm no database expert, though you can find plenty of them on 
 the SQLite open source website: www.sqlite.org
 
 I challenge you to post your benchmarks there if you're 
 serious about getting a response. There you'll find more of 
 the 'war' I believe you're searching for.

We don't need to kick sand in their face on their own turf. That would be
rude.

But we've actually had significant time to compare with SQLite. Although
some companies like Apple are just discovering it, its been around long
enough in other incarnations (non Rev) that we've had time to look at it.

Best regards,

Lynn Fredricks
President
Paradigma Software, Inc

Joining Worlds of Information

Deploy True Client-Server Database Solutions
Royalty Free with Valentina Developer Network
http://www.paradigmasoft.com



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Be Cautious About MySQL Licensing (was Re: Databasesuggestions?)

2005-05-16 Thread Lynn Fredricks
 Good point.
 
 You might also wish to 'warn' the Apple Tiger Developers of 
 your findings because FYI:
 http://www.appleinsider.com/article.php?id=593

Chipp, just because Apple likes something or recommends something doesn't
make it a holy artifact or the object of their affection the best choice for
anyone but Apple. Apple made a decision to include a database engine as a
default. Why *didn't* it select FileMaker? I think if you ask yourself that,
you'll be closer to figuring out why they selected SQLite.

Best regards,

Lynn Fredricks
President
Paradigma Software, Inc

Joining Worlds of Information

Deploy True Client-Server Database Solutions
Royalty Free with Valentina Developer Network
http://www.paradigmasoft.com





___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Be Cautious About MySQL Licensing (was Re: Database suggestions?)

2005-05-16 Thread Trevor DeVore
On May 15, 2005, at 1:16 AM, Jan Schenkel wrote:
All in all, it's jsut a matter of picking the right
database for the job at hand: if you need a quick
embedded single-user database that does Mac + Win +
Linux, then altSQLite is your best pick.
If you like the object-relational features of
Valentina and only need Mac + Win, then grab it --
it's a great database and also comes in a server
version.
One other thing to take into account between the two is encryption.   
Valentina allows you to encrypt your data structure and/or your  
data.  You can roll your own encryption for data in SQLite (though I  
haven't tested speed) but I haven't come across anything that allows  
you to encrypt the structure.  This is important for some projects.

--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: altSQLite versus Valentina for Rev

2005-05-16 Thread Lynn Fredricks
Hi Joel,

 My last comment is that competition is good! As developers we 
 really thank Altuit to have written the SQLite plugin because 
 this finally forces Paradigma Software Inc to seriously watch 
 for the Revolution developers to give them the consideration 
 and support they actually missed until today. BUT be aware 
 that the time is very short not to loose the market today! 
 Dont do war, build tools which prooves you make the 
 developers' life easier!

As you know, we Americans go out of our way to find peaceful solutions to
cultural differences, so Ill respond to some of your concerns here ;-)

We appreciate how responsive and helpful Runtime has been and also, we've
received a lot of requests and feedback from Revolution users. For that
reason, the supporting product isnt being called VXCMD 2, but Valentina for
Revolution. Trying to cover several different IDEs works fine when those
products all agree to a modern standard, but that really isnt the case with
the 'Cards anymore. 

For the Valentina 2 products already released, we've produced some examples
and are working to improve support documentation.

Some of your points Ive already responded to, elsewhere, so I wont repeat
them here.

With your level of interest and concern, I hope you will be involved in the
Valentina 2 for Revolution beta.

Best regards,

Lynn Fredricks
President
Paradigma Software, Inc

Joining Worlds of Information

Deploy True Client-Server Database Solutions
Royalty Free with Valentina Developer Network
http://www.paradigmasoft.com





___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Revolution and Education... website proposed

2005-05-16 Thread Marielle Lange
Dear all,
A few months ago (back in Oct 2004), there was an interesting thread  
on educational use for revolution .

Several things emerged from this discussion:
1. A number of metacard or revolution stacks have been produced that  
cannot be found anywhere on the web or in the user.
2. There is a group of enthusiastic teachers on this list who see  
revolution as having the potential to benefit their teaching.
3. Most of them have difficulties sharing their enthusiasm with  
colleagues in their institution.

This was for instance, nicely expressed by Gregory [Gregory Lypny  
gregory.lypny at videotron.ca]

I have long stopped evangelizing courseware because the response I get
from colleagues is that they do not want to be involved with its
development.  The incentive to do the work is simply not there.  I  
make
my stuff freely available to my colleagues, but their enthusiasm
quickly peters when I explained that some work is required to get  
it to
do what they want it to do.  They'll only give it a spin if it's ready
to go right off the shelf.  [...]

I have similar difficulties. I work in a department (psychology)  
where most of the staff is, simply put, technologically inept.  
Whenever I try to advocate the use of Revolution I only cause fear  
and apprehension. As Judy had expressed in some of her emails, my  
skills and my tendency to aim for better than what is achieved by  
current practices leads to isolation rather than admiration. The more  
I try to persuade my HoD to use existing eLearning tools to remedy  
some *inefficient* teaching practices they currently have, the more I  
can feel myself being very negatively noticed (change is a cause of  
discomfort for some people). I can see me loosing courage, gradually,  
and I feel the need for a place where I can discuss some ideas with  
like-minded persons.

As Gregory mentioned:
I should leave this with a positive spin:  courseware = cool,
untapped potential.  We just need more impressive examples of it in
use.
However, if it is left to me alone, in between my teaching, research,  
admin duties, I do not have the time to develop an impressive example  
of Revolution's use for education. Not that I am not trying. To  
address the problem identified by Gregory, I have a project in  
gestation of a GUI editor for a large range of web-based exercises.  
The idea is to select exercises written in java, javascript, Flash,  
with a content that can be defined in a text file attached to the  
application (see usinaquiz for examples [in French] or formator demo  
[quizz section] for a working demo [enhanced for Safari and Firefox,  
not tested yet with Internet Explorer Windows] and http:// 
revolution.lexicall.org/eLearning/AccompanyingDocs-sm.pdf fro textual  
explanations). This will be developed over next summer. (See, John  
Mathewson for a similar project, for a public of school teachers, at  
http://members.maclaunch.com/richmond/default.html). I have another  
project of an revolution application to access an on-line database of  
learning objects. Another one of a database of images, for lecture  
illustration (I already have on my hard disk a well organized archive  
of 100MB of pictures), where lecturers could share and access their  
resources (see viperlib, http://viperlib.york.ac.uk/, for such a  
project, in the very restricted context of visual perception).

Still, alone, there is only so little I can do and it tends to take  
quite a long time to get anything done as I do not have much time to  
spend on this project. I have given a lot of thought to becoming a  
freelance instructional designer, but I really doubt I would be able  
to make a living from it. So, I will probably have to keep my  
revolution coding as a captivating hobby, to do outside of my  
(already long) working hours.

Recently, in the context of a course on teaching in digital  
environment I had been enrolled in, this time as a student, I got to  
write an assignment,  on using Wiki-web for collaborative learning.  
Obviously, my assignment partner and I decided to write this  
assignment collaboratively, on a wiki-web medium.   I really enjoyed  
the experience. There is so much more in 2 brains than in one...  
there is so much benefit of having another person's perspective on  
the issue. This got me thinking... why not try something similar with  
the nice people from the revolution community, this time on the use  
of revolution for student-centered learning?

It happens that I recently created a website, that I use in a  
research context. I could easily create a revolution subdomain to  
host a revolution-education resource center with : (1) an archive  
of stacks relevant to education ( I can provide up to 200MB), (2) a  
forum or even better, a wiki for the discussion of ideas and  
guidelines (I have recently set-up a wiki to support one of my course  
and it wouldn't be difficult to set-up another one for discussion on  
the them of 

Printing Field Borders

2005-05-16 Thread Timothy Due
Hi Everyone.

I'm new to Rev. I have been evaluating Rev for the last couple of weeks and 
have mostly found it a joy to use. It brings back happy memories of using 
Hypercard quite some years ago.

Anyway, one problem I have been having is getting field borders to print 
properly. I have read in these archives that when field borders are 
butted-up together that can cause problems, but I am even having problems in 
cases where the fields are not touching or near any other object. I have 
tried on 2 differrent systems (Win XP and 98) using 2 different printers, 
with inconsistent and unexpected results. Commonly, the left and top border 
does not print.

Is this a bug in Rev? If so, is there any plan to have it fixed? 
Alternatively, is there a viable workaround?

Many thanks,

Timothy Due
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Autostart a CD in MS Windows

2005-05-16 Thread Mathewson
Dear xTalk Afficionados,
  I am sure this one has been addressed before - but could
not find it via an autostart search of the archives.

If I make a stand-alone for MS Windows on a CD - how to I
set it to autostart when the user pops the CD into their
CD-drive?

Grateful for help!

Richmond Mathewson

__
See Mathewson's software at:

http://members.maclaunch.com/richmond/default.html
___
---
The Think Different Store
http://www.thinkdifferentstore.com/
For All Your Mac Gear
---
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: DVD Decoder

2005-05-16 Thread Kat
For what it's worth, it ought to be easier to do this for DVD than it
ever was for CDs, since the DVD specifications are less primitive in
terms of cross-platform compatibility right out of the box.  Heck, I
remember when you had to have a floppy boot disk to launch a
CD-ROM!! Thank goodness those days are gone.

Cheers,
Katherine
http://www.cd-info.com


On 5/2/05, Devin Asay [EMAIL PROTECTED] wrote:
 On May 1, 2005, at 11:48 AM, Derek Bump wrote:
 
  Is anyone aware of any add-ins for QuickTime (Windows) that will allow
  one to use QuickTime to show DVDs?
 
 I second this request. I would LOVE to be able to access DVDs through
 Rev/QT. Old-time Hypercarders, remember how simple and elegant it was
 to access laser disks using the Xcommands in HC? Or Audio CDs? The
 inability to do the same this with DVDs represents a giant step
 backward for those of us trying to integrate video with instructional
 applications.
 
 Devin
 
 
  I love the DVD player on Mac OS X and I can't stand the ones on
  Windows and I'd like to make a free custom DVD player using QuickTime
  and Revolution.
 
 The best I've been able to manage with DVDs is to use AppleScript to
 launch and control the DVD player.
 
  Thanks!
 
 
  Derek Bump
  Dreamscape Software
  http://www.dreamscapesoftware.com/
  ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  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@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Revolution and Education... website proposed

2005-05-16 Thread Ro Nagey
After laying dormant for a very long time, I am happy to announce the  
Education-Revolution list is back and better than ever.

You are enthusiastically invited to be part of this improved list!
To be a part of this list, go to http://lists.runrev.com/mailman/ 
listinfo/education-revolution and scroll down to the bottom of the  
page for subscribe instructions.

This list is specifically designed for teachers, students and those  
with a special interest in using Revolution in an educational  
environment. We are going to share problems, solutions and ideas.  
And, if you're a member of this list, you'll also be eligible for  
special offerings from Runtime Revolution!

In the coming year, we're going to be putting a lot of emphasis on  
education. Please help us and be part of this list!

Ro
On May 3, 2005, at 2:04 PM, Marielle Lange wrote:
Dear all,
(Many of you will take me for a newcommer... I have bought my  
license long ago
and lurked on the list... I hadn't much chance to participate  
simply because
the questions usually get answered before I get a chance to give my  
5 cents).

A few months ago (back in Oct 2004), there was an interesting  
thread on
educational use for revolution.

Several things emerged from this discussion:
1. A number of metacard or revolution stacks have been produced  
that cannot be
found anywhere on the web or in the user.
2. There is a group of enthusiastic teachers on this list who see  
revolution as
having the potential to benefit their teaching.
3. Most of them have difficulties sharing their enthusiasm with  
colleagues in
their institution.

This was for instance, nicely expressed by Gregory [Gregory Lypny  
gregory.lypny
at videotron.ca]


I have long stopped evangelizing courseware because the response I  
get
from colleagues is that they do not want to be involved with its
development.  The incentive to do the work is simply not there.  I  
make
my stuff freely available to my colleagues, but their enthusiasm
quickly peters when I explained that some work is required to get  
it to
do what they want it to do.  They'll only give it a spin if it's  
ready
to go right off the shelf.  [...]


I have similar difficulties. I work in a department (psychology) where
technnology causes fear and apprehension. As Judy had expressed in  
some of her
emails, my skills and my tendency to aim for better than what is  
achieved by
current practices leads to isolation rather than admiration. I can  
see me
loosing courage, gradually, and I feel the need for a place where I  
can discuss
some ideas with like-minded persons.

As Gregory mentioned:

I should leave this with a positive spin:  courseware = cool,
untapped potential.  We just need more impressive examples of it in
use.
However, if it is left to me alone, in between my teaching,  
research, admin
duties, I do not have the time to develop an impressive example of  
Revolution's
use for education. Not that I am not trying. To address the problem  
identified
by Gregory, I have a project in gestation of a GUI editor for a  
large range of
web-based exercises. The idea is to select exercises written in java,
javascript, Flash, with a content that can be defined in a text  
file attached
to the application (see usinaquiz for examples [in French] or  
formator demo
[quizz section] for a working demo [enhanced for Safari and  
Firefox, not tested
yet with Internet Explorer Windows] and
http://revolution.lexicall.org/eLearning/AccompanyingDocs-sm.pdf  
fro textual
explanations). This will be developed over next summer. (See, John  
Mathewson
for a similar project, for a public of school teachers, at
http://members.maclaunch.com/richmond/default.html). I have another  
project of
an revolution application to access an on-line database of learning  
objects.
Another one of a database of images, for lecture illustration (I  
already have
on my hard disk a well organized archive of 100MB of pictures),  
where lecturers
could share and access their resources (see viperlib,
http://viperlib.york.ac.uk/, for such a project, in the very  
restricted context
of visual perception).

Still, alone, there is only so little I can do and it tends to take  
quite a long
time to get anything done as I do not have much time to spend on  
this project. I
have given a lot of thought to becoming a freelance instructional  
designer, but
I really doubt I would be able to make a living from it. So, I will  
probably
have to keep my revolution coding as a captivating hobby, to do  
outside of my
(already long) working hours.

Recently, in the context of a course on teaching in digital  
environment I had
been enrolled in, this time as a student, I got to write an  
assignment,  on
using Wiki-web for collaborative learning (my own choosing).  
Obviously, my
assignment partner and I decided to write it collaboratively, on a  
wiki-web
medium. I really enjoyed the experience. There is so much more in 2  
brains than
in one... there is so much benefit of 

Re: Formatting Widgets for OS X

2005-05-16 Thread David Grogono
Ken Ray [EMAIL PROTECTED] wrote:

 Ah, I was thrown off because RB sets the default size for static and
 editable text at 12 pt (which is neither the system font, nor the small
 system font as the HIG states

Hi Ken -

The font size that REALbasic uses for controls at design time is adjustable
in the Preferences window (Window Editor pane).  I'd recommend changing this
to '0' instead of '12' because it will then use the appropriate size based
on both the font and the OS.  (On OS X this would be 13 for System font and
11 for SmallSytem) 

Best regards, David
--
David Grogono
[EMAIL PROTECTED]
www.realsoftware.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Autostart a CD in MS Windows

2005-05-16 Thread Klaus Major
Hi Richmond,
Dear xTalk Afficionados,
  I am sure this one has been addressed before - but could
not find it via an autostart search of the archives.
If I make a stand-alone for MS Windows on a CD - how to I
set it to autostart when the user pops the CD into their
CD-drive?
Grateful for help!
Put a simple text file named autostart.inf (NO quotes, of course)
in the root directory of the cd
Content (no empty lines!):
[autorun]
open=path_to_standalone.exe
But please remember that win users might have disabled this ANTI- 
feature!

Richmond Mathewson
Best
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Autostart a CD in MS Windows

2005-05-16 Thread Chris Sheffield
And just to add another small tidbit.  If your users will be running  
this on Win98, you might want to place your standalone exe in some  
folder on the CD rather than directly at the root level.  It's been  
my experience in the past with Win98 that if you place your  
standalone directly on the root of the CD it takes forever to launch  
(whether you're using autorun or not).  Seems to work fine, however,  
with Windows 2000 and above.

Anyway, just FYI.
On May 16, 2005, at 9:50 AM, Klaus Major wrote:
Hi Richmond,

Dear xTalk Afficionados,
  I am sure this one has been addressed before - but could
not find it via an autostart search of the archives.
If I make a stand-alone for MS Windows on a CD - how to I
set it to autostart when the user pops the CD into their
CD-drive?
Grateful for help!
Put a simple text file named autostart.inf (NO quotes, of course)
in the root directory of the cd
Content (no empty lines!):
[autorun]
open=path_to_standalone.exe
But please remember that win users might have disabled this ANTI- 
feature!


Richmond Mathewson
Best
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
Chris Sheffield
Read Naturally
The Fluency Company
www.readnaturally.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Animated Gif

2005-05-16 Thread Shawn Rampy
Hello All,

Is there a way to control the speed of an animated
gif?

Also, is there a way to have an animated gif loop
indefinitely?

Thanks,
Shawn




__ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: altSQLite versus Valentina for Rev

2005-05-16 Thread Ken Ray
On 5/16/05 8:51 AM, Joel Guillod [EMAIL PROTECTED] wrote:

 Russlan,

(BTW, that's one s in Ruslan)
 
 What a good opportunity to explain you some of the reasons why you
 probably miss so many users. My own experience of Valentina has been a
 failure because I have never been able to easily operate Valentina with
 Hypercard/Supercard and more recently with Revolution. Dont reply that
 I should not be an adequate programer, just search the Rev archives to
 understand that many  Revolutionados have made attempts to use
 Valentina with many difficulties and switched to another solution.

Some of that I think is that Rev has its own wrappers around the Valentina
VXCMD, with its own syntax. Obviously, Paradigmasoft isn't going to document
Rev's wrappers; only its own syntax, so there's also a 'translation' issue
between looking at Rev's documentation on how to execute a query, and
Valentina's. Also, many of the issues with using Valentina in Revolution
have been related to where to put the file on disk so that it will build in
properly when creating a standalone. This also is not any fault of
Paradigmasoft.

I learned a long time ago that the Rev wrappers were just too limiting and I
went the route of attaching to and calling on Valentina directly.  It is
just an external, so you can place it anywhere you like and set the
externals to that location. Once you've done that, you just start calling
it.

Now granted, the documentation for Valentina could certainly be better, and
a sample stack that was designed for Rev would help in the learning process,
but I just wanted to bring up that a lot of the frustration with attempting
to use Valentina in Revolution is not related to Paradigmasoft's support of
Rev.

 Yet there is a problem with altSqlite under MacOSX 10.3.9 which crashes
 Revolution in some circonstances but I am confident that Chipp/Altuit
 will fix that soon. As Revolution developers we know that he is very
 active and reactive. You have proven the opposite.

Sorry, I have to strongly disagree here... ever question I have ever had on
working with Valentina has been responded to by a representative of
Paradigmasoft (usually Ruslan) within hours, whether posted to the Valentina
list, or whether I've sent private email to Ruslan to get an answer to a
question. In fact, as you know, Valentina 2 is what they are currently
preparing for Revolution, and yet my client and I have spent the last three
days in multi-hour-long chats with Ruslan and crew to solve a couple of
performance issues I discovered in the 1.11 kernel.

 My last comment is that competition is good! As developers we really
 thank Altuit to have written the SQLite plugin because this finally
 forces Paradigma Software Inc to seriously watch for the Revolution
 developers to give them the consideration and support they actually
 missed until today. BUT be aware that the time is very short not to
 loose the market today! Dont do war, build tools which prooves you make
 the developers' life easier!

Since I'm the one that started the ball rolling on this thread looking for
database suggestions, and after reviewing the email posts, Ruslan doesn't
want to start a DB war, and in fact doesn't even put SQLLite in a directly
competitive light to Valentina, so don't worry about them losing the market
- the small one-user DB market is not the area they're focusing on;
clearly the view their competitors as mySQL and PostgreSQL.

Once again, it's the right tool for the job - I think the one thing that
Valentina does vs mySQL,SQLLite, and PostgreSQL is that it straddles the
fence between multi-user large DB implementations, and small, personal
single-user implementations. And although it covers a lot of ground, it is
unlikely that for a single-user implementation that you would pay for
Valentina when it is far cheaper to get altSQLLite... however, if you are
starting with a small implementation which will grow to multi-user, or you
have a product where the deployment is in many modes (single user
standalone, single user client/server, multi-user client/server), Valentina
is a good choice.  

Thanks for listening,

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Animated Gif

2005-05-16 Thread Scott Rossi
Recently, Shawn Rampy  wrote:

 Is there a way to control the speed of an animated
 gif?

One way is to set the repeatCount of the GIF to 0 and use your own timer to
update the GIF using the currentFrame.  Something like:

 local fCount
 on updateGIF
  if fCount = empty or fCount = the frameCount of img myGIF then \
put 0 into fCount
  add 1 to fCount
  set the currentFrame of img myGIF to fCount
  send updateGIF to me in 100 millisecs -- UPDATE GIF EVERY 1/10 SECOND
 end updateGIF


 Also, is there a way to have an animated gif loop
 indefinitely?

 set the repeatCount of img myGIF to -1



Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: altSQLite versus Valentina for Rev

2005-05-16 Thread Trevor DeVore
On May 16, 2005, at 6:51 AM, Joel Guillod wrote:
What a good opportunity to explain you some of the reasons why you 
probably miss so many users. My own experience of Valentina has been a 
failure because I have never been able to easily operate Valentina 
with Hypercard/Supercard and more recently with Revolution. Dont reply 
that I should not be an adequate programer, just search the Rev 
archives to understand that many  Revolutionados have made attempts to 
use Valentina with many difficulties and switched to another solution.
To be fair, the majority of the problems with Valentina had to do with 
using externals in the standalone and/or the combination of revdb and 
valentina.  Implementing externals in projects can sometimes be tricky 
and cause problems whether you are using Valentina or any other 
external.

Also be aware that altSQLite has been released with the following 
advantages among others:
- many altPlugins are provided for free and has been proven very 
usefull and well polished;
- the altSQLite Demo stack is very well designed and just ready to use 
sample: you open it, it just works and you can see the sample scripts;
- affordable price;
- SQLite is widely recognized by many other developers: see PHP for a 
single instance, not to say the MacOSX Tiger integration.
- last but not least: speed development time. I spend many days 
failing to deal with Valentina user guides where I have been able to 
create a DB and to write error free scripts with altSQLite in just 
minutes.

Yet there is a problem with altSqlite under MacOSX 10.3.9 which 
crashes Revolution in some circonstances but I am confident that 
Chipp/Altuit will fix that soon. As Revolution developers we know that 
he is very active and reactive. You have proven the opposite. There 
was (is? I didn't check recently) no Revolution sample stack for 
Valentina.
I'm not sure if you are on the Valentina mailing list or not but Ruslan 
is one of the most helpful developers I have ever come across.  True 
there is not example stack and Chipp has created an *excellent* example 
stack but to say that Ruslan has proven the opposite is a not a fair 
statement.

Also some arguments in favor of Valentina are not so important for 
most of our applications:
- speed is most often an issue when users have large databases which 
is not the case for most of us;
- price can be an issue: I am not sure that many of us are selling 
their applications to valuate Valentina more than the free Postgres or 
MySQL DBMS;
Revolution has many different types of users so it is hard to group 
us together.  My company sees speed as a very important consideration 
when choosing a database and $299 is a small fee to pay for for adding 
a tool to our toolbox that meats our needs.

- Those DBMS are supported by many developers and we dont know what 
would happen to Valentina I you disappear tomorrow. SQLite source code 
is available and free. What a warranty for our data;
Valentina supports SQL.  If it were to disappear tomorrow you could 
migrate your database to another vendor without much hassle.  In fact, 
right now I develop databases using MySQL and then deploy to the client 
using Valentina.  All of the database creation is coded so it is a 
one-click process.

- multiusers capability require another process to execute Valentina 
and those DBMS. I dont see any advantages of one over the others if 
you'd like to release an easy installation to users.
My last comment is that competition is good! As developers we really 
thank Altuit to have written the SQLite plugin because this finally 
forces Paradigma Software Inc to seriously watch for the Revolution 
developers to give them the consideration and support they actually 
missed until today. BUT be aware that the time is very short not to 
loose the market today! Dont do war, build tools which prooves you 
make the developers' life easier!
Competition is good.  It is great that Altuit has provided a SQLite 
external for us because it offers more choices.  Sometimes SQLite will 
be a great solution.  Sometimes a project requires features not 
available in SQLite.  I'm glad to have both options available to me.

--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Animated Gif

2005-05-16 Thread Klaus Major
Hi Shawn,
Hello All,
Is there a way to control the speed of an animated
gif?
Also, is there a way to have an animated gif loop
indefinitely?
there is a little stack of mine in Rev online, that deals with this  
topic...

username: klausimausi
Stack: The taming of the animated gif...
Enjoy, and drop a line, if something is not clear as i was hoping ;-)
Thanks,
Shawn
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: altSQLite versus Valentina for Rev

2005-05-16 Thread Trevor DeVore
On May 16, 2005, at 9:17 AM, Trevor DeVore wrote:
... to our toolbox that meats our needs.
Umm, meets, not meats :)
--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Do Rev CGI Suffer Performance HIts?

2005-05-16 Thread Dan Shafer
On another thread, jbv (JB) wrote about using Rev as a CGI engine on  
Linux as a matter of regular course.

I'm curious. I've been laying out a design for an INternet-based app  
and figuring I'd have to use Python (which is OK because I love it  
but in some ways it may be overkill for this project) because of my  
understanding that a Rev CGI can't handle even modest volumes of  
traffic. This is apparently because a separate instance of the CGI is  
launched for each HTTP request received.

True or myth? Anyone have any experience with moderately high  
transaction rates using Rev CGI?


~~
Dan Shafer, Co-Chair
RevConWest '05
June 17-18, 2005, Monterey, California
http://www.altuit.com/webs/altuit/RevConWest
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: altSQLite versus Valentina for Rev

2005-05-16 Thread Dan Shafer
Ken...
Well stated. It's something most programmers know but forget and of  
which we need to be reminded from time to time.

They're all just tools, not religious experiences.
On May 16, 2005, at 9:08 AM, Ken Ray wrote:
Once again, it's the right tool for the job

~~
Dan Shafer, Co-Chair
RevConWest '05
June 17-18, 2005, Monterey, California
http://www.altuit.com/webs/altuit/RevConWest
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: hint needed

2005-05-16 Thread Ken Ray
On 5/16/05 6:26 AM, Klaus Major [EMAIL PROTECTED] wrote:

 Still waiting for Ken's regex for dummies primer ;-)

So am I...

;-)


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


OT: Re: Formatting Widgets for OS X

2005-05-16 Thread Ken Ray
On 5/16/05 10:49 AM, David Grogono [EMAIL PROTECTED] wrote:

 Ken Ray [EMAIL PROTECTED] wrote:
 
 Ah, I was thrown off because RB sets the default size for static and
 editable text at 12 pt (which is neither the system font, nor the small
 system font as the HIG states
 
 The font size that REALbasic uses for controls at design time is adjustable
 in the Preferences window (Window Editor pane).  I'd recommend changing this
 to '0' instead of '12' because it will then use the appropriate size based
 on both the font and the OS.  (On OS X this would be 13 for System font and
 11 for SmallSytem)

Thanks, David... I'll do that. BTW: Shouldn't this be the default?


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: hint needed

2005-05-16 Thread Klaus Major
Hi Ken,
On 5/16/05 6:26 AM, Klaus Major [EMAIL PROTECTED] wrote:
Still waiting for Ken's regex for dummies primer ;-)
So am I...
OK, then we are already 2, but that's NOT the way it works!
You are supposed to actually write that thing and not wait for it :-D
;-)
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]
Best
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Do Rev CGI Suffer Performance HIts?

2005-05-16 Thread jbv


Dan,

 True or myth? Anyone have any experience with moderately high
 transaction rates using Rev CGI?

It depends on what you mean by moderately high transaction rate...

As for the few sites I've developped around Rev cgi, the one with
the highest transaction rate was an event in spring 2003 which
lasted 15 days, and got 45,000 visitors for 2,500,000 pages viewed.
Actually, the cgi engine was MC 2.4, but I guess the situation can
be considerd as similar to using Rev 2.5.

What I love about using Rev cgi is the fact that when specific client
apps are needed (to manage / update the content of the website for
instance), it is easily done with Rev, and furthermore both client app
 cgi scripts are written in the same language, and productivity /
maintenance-wise this is unvaluable...

In the above mentioned website, a couple of ppl were in the middle
of the desert with a client app (made with MC) running on a laptop
hooked to a cellular phone  satellite connection, and were updating
the content of several pages of the site several times a day...
Besides, GPS data were received by email every 15 min and a cgi
script was used to update complex HTML framesets with maps of
the desert and positions of cars... everything ran flawlessly (except
when the company in charge of receiving / transmitting GPS data
to our server was facing unexpected  unexplained gaps in data
streams)...
The same ppl with the same laptop  satellite connection were
also downloading GPS data from our server via another small
client app (also made with MC) that updated  displayed the same
maps  positions on the laptop than on the website.

But it looks like much higher transaction rates can be achieved :
Pierre Sahores has posted several explanations about what he's
done around Rev cgi. You should contact him or chack the archives...
JB

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Ken Burns Effect in Rev?

2005-05-16 Thread Trevor DeVore
On May 14, 2005, at 10:30 AM, Richard Gaskin wrote:
I wonder if Trevor's been reading this thread and has come up with an 
external to hook into QT transitions while executing 
computationally-expensive Transcript without impairing either
(I can dream, can't I?)
Perhaps during lunch ;-)  (actually it would take me about 300 lunches).
--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Do Rev CGI Suffer Performance HIts?

2005-05-16 Thread Dan Shafer
OK, having spent some time in the archives, I think I've answered my  
own question.

It *is* necessary for a Rev CGI script to load separately for each  
instance/call. That's not terribly efficient but it's like all other  
CGI methods except for mod_perl and probably some other even more  
obscure methods.

I ran across a couple of references to a comment perhaps made by  
Scott Raney that load time is pretty instantaneous and therefore  
shouldn't be a performance problem (though it might clearly become a  
*resource* problem on the server).

So I think I'll experiment with this a bit, using Python and Rev for  
a couple of simple but heavily used CGI and see what results I get.

~~
Dan Shafer, Co-Chair
RevConWest '05
June 17-18, 2005, Monterey, California
http://www.altuit.com/webs/altuit/RevConWest
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Do Rev CGI Suffer Performance HIts?

2005-05-16 Thread jbv


Dan,

Again you should check with Pierre Sahores who has developped
a different method based on stacks running  listening non stop
for requests, and therefore don't need to load for each instance / call
and seem to be able to process several hundreds (IIRC) of requests
per second...

JB



 It *is* necessary for a Rev CGI script to load separately for each
 instance/call. That's not terribly efficient but it's like all other
 CGI methods except for mod_perl and probably some other even more
 obscure methods.

 I ran across a couple of references to a comment perhaps made by
 Scott Raney that load time is pretty instantaneous and therefore
 shouldn't be a performance problem (though it might clearly become a
 *resource* problem on the server).

 So I think I'll experiment with this a bit, using Python and Rev for
 a couple of simple but heavily used CGI and see what results I get.

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Do Rev CGI Suffer Performance HIts?

2005-05-16 Thread Richard Gaskin
Dan Shafer wrote:
On another thread, jbv (JB) wrote about using Rev as a CGI engine on  
Linux as a matter of regular course.

I'm curious. I've been laying out a design for an INternet-based app  
and figuring I'd have to use Python (which is OK because I love it  but 
in some ways it may be overkill for this project) because of my  
understanding that a Rev CGI can't handle even modest volumes of  
traffic. This is apparently because a separate instance of the CGI is  
launched for each HTTP request received.

True or myth? 
It's true on all non-Mac servers (Macs can use Apple events), but how is 
this different from Perl or Python?

I know that in recent years there's an option in Apache to keep Perl 
resident in memory, but behaviorally it still acts as a separate instance.

If there isn't commonly the same sort of option for Python, then my 
hunch is that the resource demand would be measured by a combination of 
engine size (load time) and engine efficiency, and may not differ 
dramatically from the Rev engine.  Jacque recalls Scott Raney once 
noting that when called as a CGI, the faceless engine does a lot less 
work at startup and loads almost instantaneously, even faster than a 
scriptless standalone.

Do I misunderstand something about CGI and/or Python?
Anyone have any hard comparison data about relative efficiencies between 
Rev and Python?

--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: altSQLite versus Valentina for Rev

2005-05-16 Thread Robert Brenstein
I'm not sure if you are on the Valentina mailing list or not but 
Ruslan is one of the most helpful developers I have ever come 
across.  True there is not example stack and Chipp has created an 
*excellent* example stack but to say that Ruslan has proven the 
opposite is a not a fair statement.
I am working on an extensive example/demo stack for Valentina. I 
believe Ruslan will be porting full set of Valentina examples, some 
50 of them, to Rev.

Robert
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Do Rev CGI Suffer Performance HIts?

2005-05-16 Thread Alex Tweedly
Dan Shafer wrote:
OK, having spent some time in the archives, I think I've answered my  
own question.

It *is* necessary for a Rev CGI script to load separately for each  
instance/call. That's not terribly efficient but it's like all other  
CGI methods except for mod_perl and probably some other even more  
obscure methods.

I ran across a couple of references to a comment perhaps made by  
Scott Raney that load time is pretty instantaneous and therefore  
shouldn't be a performance problem (though it might clearly become a  
*resource* problem on the server).

So I think I'll experiment with this a bit, using Python and Rev for  
a couple of simple but heavily used CGI and see what results I get.

as well as mod_perl, there is also mod_python - so if transaction rate 
is important to you, you may want to try that as well as python as CGI.

--
Alex Tweedly   http://www.tweedly.net

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.9 - Release Date: 12/05/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: Apple V Apple. Legal lunacy?

2005-05-16 Thread Jeffrey Reynolds
this has gone back and forth with apple corps beginning by suing apple 
computer for the name. that one ended up with an agreement apple 
computer wouldn't get into music. then it flared up again with apple 
doing some midi stuff a while back and was renegotiated some and i 
thought i remember something when itunes was starting that they were at 
it again some.

but with the success of itunes and garage band has probably gotten 
apple corps believing some more of the apple pie should be theirs again 
and as most large contracts written in legalese there is a lot of room 
for folks to try lawsuits.

every time i have put a contract through lawyer approval they always 
object to things being written in plain english that lay things out in 
black and white (even though it is completely legal and binding). They 
always seem to want the wiggle room for a lawsuit even when you the 
client want a nice clean straight forward document and the lawsuits 
could be against you!

jeff
On May 13, 2005, at 9:19 PM, [EMAIL PROTECTED] 
wrote:

Actually, isn't it the other way around?  It sounds like Apple Corps is
suing Apple Computer over distributing music.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: altSQLite versus Valentina for Rev

2005-05-16 Thread Joel Guillod
Le 16 mai 05, à 18:00, [EMAIL PROTECTED] a écrit :
I'm not sure if you are on the Valentina mailing list or not but Ruslan
is one of the most helpful developers I have ever come across.  True
there is not example stack and Chipp has created an *excellent* example
stack but to say that Ruslan has proven the opposite is a not a fair
statement.
After some corrections the words have gone further my thought. You are 
right sorry I was not willing to be negative against Ruslan as an 
individual and I recognise that he was very responsive to my questions 
in the ancient time (about 1999) when I studied Valentina for the first 
time. What I wanted to point out is that altSQLite was released a few 
months after Altuit started the development and that we got a 
wonderfull Demo Stack which helps starting efficiently with SQLite 
under Revolution but after years there is no such a stack from 
Paradigma Software Inc to help us starting  with Valentina for Rev. In 
short Altuit has proven its committment in Revolution, Paradigma has to 
do it.

JG
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Split to Array on Repeat Skips Every Other Line??

2005-05-16 Thread Sivakatirswami
Yes! Brian, that works... and yes, Alex, you are also right, splitting 
x is indeed breaking the guideline described in the docs.

thanks
skts
On May 15, 2005, at 8:36 PM, Brian Yennie wrote:
Just out of curiosity, what happens with the following:
global gSomeData # which has six lines  of data
repeat for each line x in gSomeData
   put x into y
   split y with | and tab
   put y[Project]  tab   (y[hours] +round(y[hour-fraction],2)) 
 tab  y[Fund_Category]  cr after tLog
end repeat

Wondering if Rev was having some trouble with the repeat for each 
variable being used as an array...

- Brian
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Do Rev CGI Suffer Performance HIts?

2005-05-16 Thread Alex Tweedly
Richard Gaskin wrote:
Dan Shafer wrote:
On another thread, jbv (JB) wrote about using Rev as a CGI engine on  
Linux as a matter of regular course.

I'm curious. I've been laying out a design for an INternet-based app  
and figuring I'd have to use Python (which is OK because I love it  
but in some ways it may be overkill for this project) because of my  
understanding that a Rev CGI can't handle even modest volumes of  
traffic. This is apparently because a separate instance of the CGI 
is  launched for each HTTP request received.

True or myth? 

It's true on all non-Mac servers (Macs can use Apple events), but how 
is this different from Perl or Python?

It's the same, for Perl as CGI and Python as CGI. But both mod_perl and 
mod_python exist, and are (reputedly, haven't seen any figures or 
benchmark numbers) much faster than starting a new interpreter each time.

I know that in recent years there's an option in Apache to keep Perl 
resident in memory, but behaviorally it still acts as a separate 
instance.

If there isn't commonly the same sort of option for Python, then my 
hunch is that the resource demand would be measured by a combination 
of engine size (load time) and engine efficiency, and may not differ 
dramatically from the Rev engine.  Jacque recalls Scott Raney once 
noting that when called as a CGI, the faceless engine does a lot 
less work at startup and loads almost instantaneously, even faster 
than a scriptless standalone.

Do I misunderstand something about CGI and/or Python?
Anyone have any hard comparison data about relative efficiencies 
between Rev and Python?
Yeah - they're both faster than the other for some things.  Tell me 
which area you're interested in and I'll concoct a benchmark to prove 
that one is faster than the other; you tell me which one you want to 
win, and I'll make it win :-)

There is always the other option, of running a Rev (or Python, or Perl, 
...) server, and serving requests directly from that. This can give 
significantly better response times and significantly higher transaction 
rates - but it means the server needs to satisfy all requests - even 
those that could have been left to basic html. And it means that you 
have a single instance - so in some cases the programming gets orders of 
magnitude harder, while in others it might get easier.

--
Alex Tweedly   http://www.tweedly.net

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.9 - Release Date: 12/05/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Duplicate image issue

2005-05-16 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have an image I am using as the icon for several buttons.  The image 
is listed twice in the Application Browser control list -- same layer, 
same ID.

Well, at least one button using the icon with that ID shows the correct 
image.  At least one other shows the chasing arrows from the standard 
Rev icon set.

I tried deleting one of them, but every time I do so Rev crashes.
Anyone have any idea how to fix this one?
Thank you.
- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$ 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCiOzk7aqtWrR9cZoRAqJnAJ42MTAY9xuhJtcJhs1Ncc0568BC8QCdFPTR
Rr1A9mxG7I7YsljzdHSYCiA=
=dWJZ
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Revolution and Education... website proposed

2005-05-16 Thread Douglas Westbrook
Marielle,
I am a newbie in a sense, Doug Westbrook's other half (who has an  
occasional post).  But I am looking for ways to use Revolution to  
empower teachers.  (I want to make a virtual room to showcase educators  
with links to their sites).

As Judy had expressed in some of her emails, my skills and my tendency  
to aim for better than what is achieved by current practices leads to  
isolation rather than admiration. The more I try to persuade my HoD to  
use existing eLearning tools to remedy some *inefficient* teaching  
practices they currently have, the more I can feel myself being very  
negatively noticed (change is a cause of discomfort for some people).
Fortunately, you are not alone!  The feeling of isolation is common for  
'people with a mission' in a crowd of learned helplessness.  Society in  
a sense, glamourizes getting to a point where you 'pay someone' to do  
everything while the person paying sits and eats a muffin.  I have  
found this in a little parent involvement initiative I'm involved in,  
educators are crying for involvement, while many parents (not all, as I  
can see the runtime list is full of learners and many must be parents  
too)   many parents are tired and worn out already and think every  
problem is with the teacher.

This Revolution Learning Community however, is its own kind of family.   
Most innovators felt alone and sought out like minded folks though  
writing letters (Galileo, etc.)..And the name even is perfect, it  
takes a 'revolution' to change comfortable, however educated minds.

The runtime folks make learning fun.  All the 'deeking and harping' and  
guys like Andre (who I hope his arm is totally healed by now)..are  
a great example of what a learning community SHOULD be.

I have an example of not so fun list, as I was the list mom/moderator  
for quality improvement initatives for the American Productivity and  
Quality Center (apqc) back in 1996, before our first son was born.   
Most of the posts where about contacting folks for benchmarking,  
looking for ways to cut costs, outsource or eliminate something, but  
you rarely got a chuckle from seeing personality and creativity, like  
the invigorating, enthusiastic up-all-night runtime guys.  I honestly  
don't mind all the messages even though I can't read them all.  I put  
them in a folder and read a little when I have a minute and want to be  
reminded that creativity is alive and well in the world.  Wish I could  
drop everything and go to Monterrey.

Sincerely,
Lisa Westbrook
Editor
Onebranch Interactive Library
www.onebranch.org
512 335-4180
mom of three
Teacher Quotes
There is no limit to intelligence, or ignorance.
An old Latin Proverb - When there is no wind, row.

 On May 2, 2005, at 6:47 PM, Marielle Lange wrote:

Dear all,
A few months ago (back in Oct 2004), there was an interesting thread  
on educational use for revolution .

Several things emerged from this discussion:
1. A number of metacard or revolution stacks have been produced that  
cannot be found anywhere on the web or in the user.
2. There is a group of enthusiastic teachers on this list who see  
revolution as having the potential to benefit their teaching.
3. Most of them have difficulties sharing their enthusiasm with  
colleagues in their institution.

This was for instance, nicely expressed by Gregory [Gregory Lypny  
gregory.lypny at videotron.ca]

I have long stopped evangelizing courseware because the response I get
from colleagues is that they do not want to be involved with its
development.  The incentive to do the work is simply not there.  I  
make
my stuff freely available to my colleagues, but their enthusiasm
quickly peters when I explained that some work is required to get it  
to
do what they want it to do.  They'll only give it a spin if it's ready
to go right off the shelf.  [...]

I have similar difficulties. I work in a department (psychology) where  
most of the staff is, simply put, technologically inept. Whenever I  
try to advocate the use of Revolution I only cause fear and  
apprehension. As Judy had expressed in some of her emails, my skills  
and my tendency to aim for better than what is achieved by current  
practices leads to isolation rather than admiration. The more I try to  
persuade my HoD to use existing eLearning tools to remedy some  
*inefficient* teaching practices they currently have, the more I can  
feel myself being very negatively noticed (change is a cause of  
discomfort for some people). I can see me loosing courage, gradually,  
and I feel the need for a place where I can discuss some ideas with  
like-minded persons.

As Gregory mentioned:
I should leave this with a positive spin:  courseware = cool,
untapped potential.  We just need more impressive examples of it in
use.
However, if it is left to me alone, in between my teaching, research,  
admin duties, I do not have the time to develop an impressive example  
of Revolution's use for education. Not 

Re: WAY OT: Apple V Apple. Legal lunacy?

2005-05-16 Thread Alan Golub
I hear you, Jeff. As a lawyer, publisher, and hobbyist software developer, I
hear you loud and clear.

I can't speak for the lawyers you've worked with, but only from my own
experiences in the legal profession after 12 years. Here are some things to
consider:

1. Most of the lawyers I have met and worked with are straight-shooters. To
try to make something complex out of what should be simple for the sole
purpose of creating legal problems down the road is a violation of the rules
of ethics and conduct that govern lawyers across the country. If you think
your lawyer is doing this, it's past time to find a new lawyer.

2. As in every profession, there are folks who are good at what they do, and
folks who are ... well, not so good. If your lawyer is doing something that
you feel is not your best interest, see if he/she can explain it to you in a
way that satisfies you completely. If he/she can't -- well, as long as it's
legal, you can instruct your lawyer to do it YOUR way. Alternatively, and
again, it may be time to find a new lawyer.

3. Contracts can be tough. I've negotiated my fair share, and I've litigated
MORE than my fair share of contracts that I DIDN'T negotiate. In drafting
contracts, lawyers call upon their expertise to try to anticipate problems
and pitfalls, and to make clear the parties' intent so that when something
bad happens, the contract spells out how things should be handled. The
problems come when the parties CAN'T agree -- then lawyers tend to massage
the language, perhaps making it ambiguous so that if a problem comes up, the
language at least ARGUABLY supports a view that favors the client. The idea
is that ambiguous language can at least serve as the basis for a good faith
argument that the contract should be interpreted a certain way -- in many
situations, this can be better than a contract that simply doesn't address
the issue at all. Mind you, the lawyer probably isn't intentionally trying
to make something ambiguous -- it just BECOMES ambiguous as he/she
negotiates one draft after another with the lawyer on the other side. The
end result is language that both sides can live with because neither side is
getting exactly what they want. When BOTH sides feel they have the upper
hand, it's usually the contract language that suffers, becoming ambiguous
enough to support both sides' interpretation.

And that, Jeff, is the stuff that law suits are made of. But a lawyer has
done his job when he's highlighted the potential problems/pitfalls for his
client, negotiated away from those problems as much as possible, and
explained the reason/rationale behind the whole process for the client to
make an educated decision about whether the deal still represents good and
fair value when negotiations are done.

Unfortunately, even then, there's no guaranty against litigation. When a
dispute arises, a litigator who truly represents his client's best interests
should recommend first and foremost that the parties try to work it out
without the filing of a law suit. Once you go down that road, it's usually
long and hard, and retreat gets tougher with every step towards the
courthouse.

Anyway, just my own thoughts in defense of lawyers who always, always,
always try to do right by their clients. Thanks for listening.

ALAN S. GOLUB, ESQ.
Dwyer Golub  Isabel, P.C.
16 Furler Street
P.O. Box 437
Totowa, NJ 07511-0437
(T)  973-785-4100 Ext. 103
(F)  973-785-4477
(E)  [EMAIL PROTECTED]
(W)  www.dgilaw.com




On 5/16/05 2:32 PM, Jeffrey Reynolds [EMAIL PROTECTED] wrote:

 this has gone back and forth with apple corps beginning by suing apple
 computer for the name. that one ended up with an agreement apple
 computer wouldn't get into music. then it flared up again with apple
 doing some midi stuff a while back and was renegotiated some and i
 thought i remember something when itunes was starting that they were at
 it again some.
 
 but with the success of itunes and garage band has probably gotten
 apple corps believing some more of the apple pie should be theirs again
 and as most large contracts written in legalese there is a lot of room
 for folks to try lawsuits.
 
 every time i have put a contract through lawyer approval they always
 object to things being written in plain english that lay things out in
 black and white (even though it is completely legal and binding). They
 always seem to want the wiggle room for a lawsuit even when you the
 client want a nice clean straight forward document and the lawsuits
 could be against you!
 
 jeff
 
 On May 13, 2005, at 9:19 PM, [EMAIL PROTECTED]
 wrote:
 
 Actually, isn't it the other way around?  It sounds like Apple Corps is
 suing Apple Computer over distributing music.
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com

Re: Printing Field Borders

2005-05-16 Thread J. Landman Gay
On 5/12/05 2:19 AM, Timothy Due wrote:
Anyway, one problem I have been having is getting field borders to print 
properly. I have read in these archives that when field borders are 
butted-up together that can cause problems, but I am even having problems in 
cases where the fields are not touching or near any other object. I have 
tried on 2 differrent systems (Win XP and 98) using 2 different printers, 
with inconsistent and unexpected results. Commonly, the left and top border 
does not print.

Is this a bug in Rev? If so, is there any plan to have it fixed? 
Alternatively, is there a viable workaround?
It sounds like the printmargins are set so that they are cutting off too 
much of the top and left sides of the page. If it is only the fields at 
the top left of the page that do this, then the margins are probably the 
problem. Try setting a smaller printmargin (or setting it to 0, as a 
test) or else move your fields slightly closer to toward the center of 
the card and see what happens.

If a field in the dead center of the card prints without part of its 
border, then there is something else wrong. Let us know if that happens 
and we'll brainstorm.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Duplicate image issue

2005-05-16 Thread MisterX
Frank,

Have you tried re-ID'ing all images?
To see if the problem persists?

Im right in the middle of this nightmare too...

Internal image browser to external multiple-control assignment (icon or
patterns). Or the Global theme that all stacks must use and be able to
switch this on the fly for all stacks. 

The GM problem is now gone but there's nothing i can do about image
conflicts or crashes. Just careful reassignment of ids...

The big problem was displaying external images from other stacks - without
sucking
them in and creating crashes or over-working the image id replacements if
anything changed from the displaying stack to the stack holding the
images... 

Same problem with my new Theme manager. There's a theme catalog, but how do
you assign the images to any stack out there already using preset icon ids
or patterns?

In case 1 where external and internal images need separation, i use a group
of buttons (transparent, sized to the image's size) to display the image.
Dirty work but it should work (im not completely finished but it's working!)

For the themes, i use a current theme group where i copy the images into
existing images with preset ids... I haven't tested it extensively yet but
it seems to work internally. There's another problem though which is that
the images or patterns dont refresh automatically without a stack mode
change (toplevel to palette and viceversa seems the best)... 

Hope that gives you a hint of the simple situation you have ;) But try
reassigning the ids first. Then kill them all, compact and save, and
reimport them eventually...

For a multimedia environment, there's lots of problems with images... Even
if the images are displayed, sometimes they go grey with no explanation or
error... Cached or not. 

If anyone can clarify this one too?

Oh, before i forget, you can use ControlsN2O or other plugins to list the
resources in your stack. It's always good to have a second opinion - i
stopped using rev's tools completely now so im sure of what's going on and
still sometimes...

Cheers
Xavier
http://monsieurx.com

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Frank D. Engel, Jr.
 Sent: Monday, May 16, 2005 20:57
 To: How to use Revolution
 Subject: Duplicate image issue
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I have an image I am using as the icon for several buttons.  
 The image is listed twice in the Application Browser control 
 list -- same layer, same ID.
 
 Well, at least one button using the icon with that ID shows 
 the correct image.  At least one other shows the chasing 
 arrows from the standard Rev icon set.
 
 I tried deleting one of them, but every time I do so Rev crashes.
 
 Anyone have any idea how to fix this one?
 
 Thank you.
 
 
 - ---
 Frank D. Engel, Jr.  [EMAIL PROTECTED]
 
 $ ln -s /usr/share/kjvbible /usr/manual
 $ true | cat /usr/manual | grep John 3:16
 John 3:16 For God so loved the world, that he gave his only 
 begotten Son, that whosoever believeth in him should not 
 perish, but have everlasting life.
 $
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.4 (Darwin)
 
 iD8DBQFCiOzk7aqtWrR9cZoRAqJnAJ42MTAY9xuhJtcJhs1Ncc0568BC8QCdFPTR
 Rr1A9mxG7I7YsljzdHSYCiA=
 =dWJZ
 -END PGP SIGNATURE-
 
 
 
 ___
 $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 
 10 Personalized POP and Web E-mail Accounts, and much more.
 Signup at www.doteasy.com
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing Field Borders

2005-05-16 Thread Dennis Brown
On 5/12/05 2:19 AM, Timothy Due wrote:

Anyway, one problem I have been having is getting field borders to  
print properly. I have read in these archives that when field  
borders are butted-up together that can cause problems, but I am  
even having problems in cases where the fields are not touching or  
near any other object. I have tried on 2 differrent systems (Win XP  
and 98) using 2 different printers, with inconsistent and  
unexpected results. Commonly, the left and top border does not print.
Is this a bug in Rev? If so, is there any plan to have it fixed?  
Alternatively, is there a viable workaround?


I had something similar happen to me when I was trying to print just  
the stuff inside the rect of a graphic.
I had to increase the size of the print rect by 1 pixel on one side:

  get topleft of grc Plot Back
  subtract 1 from item 1 of it
  print card 1 from it to bottomRight of grc Plot Back into  
125,100,625,450

Dennis
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Duplicate image issue

2005-05-16 Thread FlexibleLearning
 
 
I have an image I am using as the icon for several buttons.  The  image 
is listed twice in the Application Browser control list -- same  layer, 
same ID.

Well, at least one button using the icon with  that ID shows the correct 
image.  At least one other shows the  chasing arrows from the standard 
Rev icon set.

I tried  deleting one of them, but every time I do so Rev crashes.

Anyone have  any idea how to fix this one?

Hmm. I can see your problem, Frank! Unlike  other controls, you can define 
the ID of an image. Identify the id of the  offending img (xyz below), then 
type 
this in the msg box (changing xxyyzz to an  unused id number)...
 
  set the id of image ID xyz to xxyyzz
 
You should then be able to delete the offending image.
 
Hope this works for you.


/H
 
 
Hugh  Senior
The Flexible Learning Company
Web: _www.FlexibleLearning.com_ (http://www.flexiblelearning.com/) 
E: [EMAIL PROTECTED] (mailto:[EMAIL PROTECTED]) 
T/F:  +44(0)1483.27 87 27







___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing Field Borders

2005-05-16 Thread Chipp Walters
Also,
I have found by setting the *field* margins (not the printmargin) to a 
*higher number* fixes most all text truncation issues. Please try it.

-Chipp
J. Landman Gay wrote:
On 5/12/05 2:19 AM, Timothy Due wrote:
Anyway, one problem I have been having is getting field borders to 
print properly. I have read in these archives that when field borders 
are butted-up together that can cause problems, but I am even having 
problems in cases where the fields are not touching or near any other 
object. I have tried on 2 differrent systems (Win XP and 98) using 2 
different printers, with inconsistent and unexpected results. 
Commonly, the left and top border does not print.

Is this a bug in Rev? If so, is there any plan to have it fixed? 
Alternatively, is there a viable workaround?

It sounds like the printmargins are set so that they are cutting off too 
much of the top and left sides of the page. If it is only the fields at 
the top left of the page that do this, then the margins are probably the 
problem. Try setting a smaller printmargin (or setting it to 0, as a 
test) or else move your fields slightly closer to toward the center of 
the card and see what happens.

If a field in the dead center of the card prints without part of its 
border, then there is something else wrong. Let us know if that happens 
and we'll brainstorm.

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


OT: Re: Formatting Widgets for OS X

2005-05-16 Thread David Grogono
Ken Ray [EMAIL PROTECTED] wrote

 On 5/16/05 10:49 AM, David Grogono [EMAIL PROTECTED] wrote:

 The font size that REALbasic uses for controls at design time is adjustable
 in the Preferences window (Window Editor pane).  I'd recommend changing this
 to '0' instead of '12' because it will then use the appropriate size based
 on both the font and the OS.  (On OS X this would be 13 for System font and
 11 for SmallSytem)
 
 Thanks, David... I'll do that. BTW: Shouldn't this be the default?

It is the default and has been for quite some time.  However if you had a
much older version the default would have been '12' and the newer versions
would have retrieved that value from your preferences file.  If you have
further questions I'd be happy to answer them off-list.

Best regards, David
--
David Grogono
[EMAIL PROTECTED]
www.realsoftware.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Setting 'it' in caller

2005-05-16 Thread Dar Scott
How do I put a value into the instance of 'it' in the calling function?
For example, suppose I want to create a custom command 
'getCurrentRobotName' that returns an error in the result and the 
current name in 'it'.  This is 'it' in the handler that invokes 
'getCurrentRobotName'.

Dar
--
**
DSC (Dar Scott Consulting  Dar's Lab)
http://www.swcp.com/dsc/
Programming and software
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Be Cautious About MySQL Licensing (was Re: Database suggestions?)

2005-05-16 Thread Sarah Reichelt
Another feature of Tiger is SQLite support, which incorporates the 
SQLite library into the system to provide an embeddable, 
zero-configuration SQL database engine for applications.

Developers who link their applications to this library can access SQL 
databases without running a separate relational database management 
system (RDBMS) process. The library can also be used to create local 
database files and manage the tables and records in that file.


Chipp,
Does this mean that we don't have to include the SQLite database engine 
in a standalone if it's built for Tiger? I wonder how we can tell Rev 
where the engine is?

Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


interesting Crash

2005-05-16 Thread Hershel Fisch
Hi all, I have an interesting crash I can't figure out.
I have a stack with flds, the fld script is
On closeField
go to stack abc
End closeField
Every time when I enter the fld it goes to stack abc but crashes right
away stack abc opens.
Thanks, Herhel

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: interesting Crash

2005-05-16 Thread Sarah Reichelt
Try locking messages before going to the stack. It may be a problem 
with the abc stack in a preOpen... or open... handler.
While using a closeField handler as a navigation trigger is unusual, it 
should still work.

Cheers,
Sarah
On 17 May 2005, at 10:53 AM, Hershel Fisch wrote:
Hi all, I have an interesting crash I can't figure out.
I have a stack with flds, the fld script is
On closeField
go to stack abc
End closeField
Every time when I enter the fld it goes to stack abc but crashes 
right
away stack abc opens.
Thanks, Herhel

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: interesting Crash

2005-05-16 Thread Hershel Fisch
On 5/16/05 9:04 PM, Sarah Reichelt [EMAIL PROTECTED] wrote:
I'm really sorry, its really openField (focusInField). My apology to u, I'm
so engaged in this problem I almost don't what's flying.
Ok, It didn't work.
Thanks, Hershel

 Try locking messages before going to the stack. It may be a problem
 with the abc stack in a preOpen... or open... handler.
 While using a closeField handler as a navigation trigger is unusual, it
 should still work.
 
 Cheers,
 Sarah
 
 On 17 May 2005, at 10:53 AM, Hershel Fisch wrote:
 
 Hi all, I have an interesting crash I can't figure out.
 I have a stack with flds, the fld script is
 On closeField
 go to stack abc
 End closeField
 Every time when I enter the fld it goes to stack abc but crashes
 right
 away stack abc opens.
 Thanks, Herhel
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 
 
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Launch PDF's into Acrobat

2005-05-16 Thread Sarah Reichelt
In this case, they may have simply no idea how pick the application 
that would be used as their default PDF viewer... I think you meant I 
really [hate] the programs that open an application if it isn't the 
one I would normally use.  Right, point well taken, I think we all 
find that behavior somehow abusive in a subtle way.
Yes, that's what I meant :-)
So, then, (he scratches his head, pulls his whiskers) if not Acrobat, 
but my PDF default what is the solution?
I think for Windows, you need to query the registry, but for Mac OS X, 
you need to look in the users Library - Preferences folder and check 
the file called:  com.apple.LaunchServices.plist

Searching for PDF, I find an entry that lists a bundle signature of 
prvw and using the AppleScript below, I can see that this refers to 
Preview.app

tell application Finder
return the name of application file id prvw
end tell
HTH,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Getting started with Rev Databases

2005-05-16 Thread Jeanne A. E. DeVoto
At 6:44 PM -0700 5/13/05, Richard Gaskin wrote:
Where's the overview introducing basic concepts of using databases with Rev?
About connecting to and using SQL databases. In the 2.5.1 main docs 
window, it's called SQL databases, using and connecting... no idea 
why... but anyway, it's the first topic listed under Database 
Operations.
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Tile Game

2005-05-16 Thread Thomas McGrath III
Hello my friends,
I have been very busy putting in about 16 to 18 hours a day working on 
a replacement for our Director project. I have surpassed what was done 
before and am throwing together a couple of games for inclusion in with 
it. I have created a Trivia game and today I finished a Memory game.
The next game i am looking at is a tile game. I was wondering if anyone 
has thrown one of those together? I will be doing a nine tile game and 
am wondering about the grid checking. You know, if the tile below this 
button is empty then move this tile down. I am not actually going to 
move the icon but rather just set the icon and clear this icon etc.

Let me know if you have figured this one out already. I am a little 
burnt right now and was just hoping for a jump start.

Thanks guys,
Tom
Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: interesting Crash

2005-05-16 Thread Dar Scott
On May 16, 2005, at 6:42 PM, Hershel Fisch wrote:
I have a stack with flds, the fld script is
On closeField
go to stack abc
End closeField
Every time when I enter the fld it goes to stack abc but crashes 
right
away stack abc opens.
I caught the correction to openField.
If you don't need to do anything more in your handler after that, try 
this as a workaround (but don't forget to submit the bug if this fixes 
it):

on openField
   send popUpAbc to me in 0 seconds
end openField
on popUpAbc
   go to stack abc
end popUpABc
If that still crashes, the problem is in stack abc.
If you want to get tricky, maybe some variation of this will work for 
the send, maybe:

   send go to stack abc in -1 seconds
Dar
--
**
DSC (Dar Scott Consulting  Dar's Lab)
http://www.swcp.com/dsc/
Programming and software
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Be Cautious About MySQL Licensing (was Re: Database suggestions?)

2005-05-16 Thread Chipp Walters
Sarah Reichelt wrote:
Does this mean that we don't have to include the SQLite database engine 
in a standalone if it's built for Tiger? I wonder how we can tell Rev 
where the engine is?
Hi Sarah,
altSQLite includes the engine and the revDB interface all in a single
external. So, you only need include the external when creating
standalones. It's unlike the MySQL and other database interfaces in that
respect. There is no need to ever install the database engine with your
standalone.
best,
Chipp
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tile Game

2005-05-16 Thread Thomas McGrath III
I figured it out. It was really a lot easier than I thought.
Thanks
Tom
On May 16, 2005, at 10:40 PM, Thomas McGrath III wrote:
Hello my friends,
I have been very busy putting in about 16 to 18 hours a day working on 
a replacement for our Director project. I have surpassed what was done 
before and am throwing together a couple of games for inclusion in 
with it. I have created a Trivia game and today I finished a Memory 
game.
The next game i am looking at is a tile game. I was wondering if 
anyone has thrown one of those together? I will be doing a nine tile 
game and am wondering about the grid checking. You know, if the tile 
below this button is empty then move this tile down. I am not actually 
going to move the icon but rather just set the icon and clear this 
icon etc.

Let me know if you have figured this one out already. I am a little 
burnt right now and was just hoping for a jump start.

Thanks guys,
Tom
Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Setting 'it' in caller

2005-05-16 Thread J. Landman Gay
On 5/16/05 6:33 PM, Dar Scott wrote:
How do I put a value into the instance of 'it' in the calling function?
For example, suppose I want to create a custom command 
'getCurrentRobotName' that returns an error in the result and the 
current name in 'it'.  This is 'it' in the handler that invokes 
'getCurrentRobotName'.
Most commonly, use a two-line (or two-item) result. Put the name in line 
1 and the error in line 2 (or vice versa.) Then parse the strings in the 
calling handler.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


FW: interesting Crash

2005-05-16 Thread Hershel Fisch

-- Forwarded Message
From: Hershel Fisch [EMAIL PROTECTED]
Date: Tue, 17 May 2005 00:33:24 -0400
To: Robert Brenstein [EMAIL PROTECTED]
Subject: Re: interesting Crash

On 5/16/05 10:38 PM, Robert Brenstein [EMAIL PROTECTED] wrote:

 I think this is quite an unusual way of navigating: to have an
 editable field and clicking in it causes a switch to another stack. I
 bet Rev gets confused with things somehow. You could try using
 message watcher to see what's going on. But may just try to send the
 go command in time to allow focus/openfield to finish before
 switching context.
 
 Robert
 Hi, ok, I'll try to make the short story long
Originally was made as follows .

On myHandler
  put fld list of stack external_dd  return  return  Edit\
  into btn dd
End myHandler

Which is triggered when necessary .
 
On openField
  set the uTarget of this stack to the short name of the target
  popUp btn abc
End openField

On menuPick pWhich
  if pWhich  edit then
   put pWhich into fld  the uTarget of stack main_stack
  Else
   Go to stack external_dd
End menuPick

Now, by entering the fld I get the  menu of the popUp btn abc based on the
external stack (in order to be able to save,sort and so on). When an item is
selected (via menuPick) that item is inserted into that fld which is ok, But
the problem rises when I pick edit then it goes to the external_stack,
opens up and crashes.
Then I tried go directly to a different stack on openField go to
stack.. with out the whole 9 yards to see if it will work but got the
same result. Crashhh...

  I just wanted wanted to make life simple and apply the answer to my
thing.
But so far got no where.
I really would appreciate all help.
Thanks, Hershel Fisch

-- End of Forwarded Message

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution