Re: Oracle buyout of Sun and it's affects on mySQL

2010-01-05 Thread Bernard Devlin
I have to agree with Ruslan on this (but perhaps from a different
perspective).

Monty's call to arms just seems bizarre and under-handed.  MySQL was
never really free (unlike Postgres or Firebird or Sqlite).  He sold
MySQL to Sun and became very rich.  Now he wants to claim that Oracle
is a threat to free software, when MySQL was the least free of the
free databases.  There are several equally good or better alternatives
to MySQL.  There are several equally good or better commercial
alternatives to MySQL.  Microsoft got away with it's 90+% dominance of
desktop computers and office software for the best part of twenty
years, and it wasn't the Competition Commission that reduced
Microsoft's market share.

But we have a hard time predicting t the future.  Who knows what
Oracle will do.  That is one of the problems with having to pay
run-time licenses.  The developer is effectively a hostage to fortune.
 In some ways MySQL might be better off with Oracle.  After all, they
went to the trouble of buying the various storage engines for MySQL,
something which MySQL AB never bothered to do.  Paying MySQL customers
might be much happier to have all that technology owned and secured by
one company.

I certainly wouldn't consider developing a project now that was
dependent on future versions of MySQL being available with the current
(pseudo-)free licensing.  Even if you are happy distributing the
current version of MySQL with your app (and on the server), and paying
the licenses costs, there is no saying what those costs might be in
the future.  That is what was so underhand about the way in which
MySQL was marketed as free-in-some-circumstances.

I think on is better to consider Sqlite or Valentina client-side, and
Postgresql server-side  (I don't know enough about Valentina server to
offer an opinion about the suitability of that option.)  And if you
want to have the 'same db' on both the client and the server then use
a data-abstraction layer like SQL Yoga.  I believe that Sean Shao is
also working on some kind of abstraction layer.

Then you can swap out one database for another, and (hopefully) the
abstraction layer will take care of any differences.

As a fan of Firebird, I was advocating years ago that RunRev produce
drivers for that database.  That way one could run that same
completely free, fully-transactional, multi-version concurrency
control, fully-acid compliant db technology as both an embedded
database and a multi-user server database.

Bernard

On Mon, Jan 4, 2010 at 6:45 PM, Ruslan Zasukhin
ruslan_zasuk...@valentina-db.com wrote:
 Well, this is wave of cry raised by author of mySQL some weeks ago.
 You can find site with his letter on few languages.
 And you can read comments of people to him on this.

 Many people say that they support him,
 But exists IMO adequate comments which point something like this:

    Hey man, you have SOLD your baby for billion of cache to Sun.
    This means you have loose control over it.
    Do not try now return control back. This is not fair game.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Math ML

2010-01-05 Thread Ray Horsley
Does anybody have a way to render Math ML in a RunRev stack?  This is  
a type of HTML used in education to show math symbols.  It's usually  
embedded in HTML.  (Setting the htmlText of a field doesn't work.)   
I'll include a small example of Math ML below.


Thanks,

Ray Horsley
LinkIt! Software

__

html
body
pspanbThe following is a life cycle of what organism?br/ 
brbr/br/b/spandivspanbm:math xmlns:m=http://www.w3.org/1998/Math/MathML 
m:mrowm:mtextEgg/m:mtextm:mtextthinsp;/ 
m:mtextm:morarr;/m:mom:mtextthinsp;/m:mtextm:mtextLarva/ 
m:mtextm:mtextthinsp;/m:mtextm:morarr;/ 
m:mom:mtextthinsp;/m:mtextm:mtextPupa/ 
m:mtextm:mtextthinsp;/m:mtextm:morarr;/m:mom:mtextAdult/ 
m:mtextm:mtextthinsp;/m:mtext/m:mrow/m:math/b/span/ 
div/p

/body
/html

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


Re: Math ML

2010-01-05 Thread Mark Schonewille

Ray,

Render it in a browser object and export a screenshot of object, using  
the revBrowser external.


It is also possible to use a command line utility, such as webkit2png.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
M: m.schonewi...@economy-x-talk.com
P: +31 6 81 35 17 10
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

We make software, websites and webware. We are always looking for new  
projects. Feel free to contact us and ask for a quote without any  
further obligations

http://economy-x-talk.com/contact.html

Op 5 jan 2010, om 17:03 heeft Ray Horsley het volgende geschreven:

Does anybody have a way to render Math ML in a RunRev stack?  This  
is a type of HTML used in education to show math symbols.  It's  
usually embedded in HTML.  (Setting the htmlText of a field doesn't  
work.)  I'll include a small example of Math ML below.


Thanks,

Ray Horsley
LinkIt! Software

__

html
body
pspanbThe following is a life cycle of what organism?br/ 
brbr/br/b/spandivspanbm:math xmlns:m=http://www.w3.org/1998/Math/MathML 
m:mrowm:mtextEgg/m:mtextm:mtextthinsp;/ 
m:mtextm:morarr;/m:mom:mtextthinsp;/ 
m:mtextm:mtextLarva/m:mtextm:mtextthinsp;/ 
m:mtextm:morarr;/m:mom:mtextthinsp;/m:mtextm:mtextPupa/ 
m:mtextm:mtextthinsp;/m:mtextm:morarr;/ 
m:mom:mtextAdult/m:mtextm:mtextthinsp;/m:mtext/m:mrow/ 
m:math/b/span/div/p

/body
/html



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


Re: shell

2010-01-05 Thread Bernard Devlin
Hi Hershel,

Sorry I didn't see your post until now (it went into my spam folder -
thanks Google!)

The way to work with remote shells is with rsh or ssh.  I'm assuming
that your client platform is os x or linux, and your server platform
is linux.

What is the problem with writing multiple arguments?  Do you mean
multiple successive shell commands, or multiple arguments to one
program?

Bernard

On Wed, Dec 30, 2009 at 5:28 PM, Hershel Fisch hersh...@syp2u4c.com wrote:
 Hi, I¹d like to write an admin gui for hylafax+, any advise on how to issue
 remote shell commands?
 As well how to write multiple arguments via shell?
 Thanks, Hershel
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Opening a doc in a cd or fld

2010-01-05 Thread Bernard Devlin
The only way I can think this might be possible is with a revBrowser
instance where IE or Safari has been configured to open the document
inside the browser.  On Linux I've seen Firefox open OOO docs inside
the browser window; on Windows I've seen Acrobat do the same thing
with PDFs opening in the browser window.  I rarely use Windows or OS X
these days, so I cannot say if Firefox works with OOO in a similar way
on Windows.

Of course, there is no revBrowser on Linux, so I can't test this.,

Bernard

On Wed, Dec 30, 2009 at 5:28 PM, Hershel Fisch hersh...@syp2u4c.com wrote:
 Hi, is there a way to open a document,doc, pages, pdf, xls and so on in a
 stack, card or fld?
 Thanks, Hershel
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


VideoGrabber on Windows

2010-01-05 Thread Klaus Major
Hi friends,

I am currently trying to make the videograbber work on Windows 7.

I have a brandnew Cheapnis PC with Windows 7 Premium Home
to test this. The only other newly installed software is Rev 4 and
QuickTime 7x, latest version for Windows.

What I found so far is extremely disappointing.

All tests were made with the Video Capture.rev test stack from Rev.

1. QuickTime:
When trying to:
...
revInitializeVideoGrabber the short name of this stack, QT,the rect of img 
video of cd 1
answer the result 
## = Cannot load video component
...

I already bugzillaed this:
http://quality.runrev.com/qacenter/show_bug.cgi?id=8465

2. Video for Windows:
This works in general, but I found that one cannot save the current settings, 
which works fine on a Mac:
...
local myVar
revVideoGrabSettings myVar
answer (myVar = empty)
## Gives me TRUE!!!
...

So this way I cannot save/load settings :-/

Anyone working with the videograbber successfully on Windows 7?
If yes, with QuickTime or VfW?
Any opinions, hints or comfort? ;-)

Believe it or not, its official:
The videograbber is also supposed to work in Revlets
Isn't this amazing? Anyone dared this yet? :-D


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

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


create a plist from script with iRev

2010-01-05 Thread Thomas McGrath III
Does anyone have a way or explanation on how to create a plist file on  
revOnline via script???


It turns out that Apple recommends using a pList over json or xml for  
transferring data via NSUrl.


There would be a lot of things I could do if I knew how to create them.

(on the desktop I can do them and upload manually but then I would  
still have to populate them online)


Tom McGrath III
Lazy River Software
3mcgr...@comcast.net

iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.html






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


Re: create a plist from script with iRev

2010-01-05 Thread Andre Garzia
aren't plists just funny xml files? Open one on your favorite text editor
(which should be tText or TextMate) and see if they carry anything that
can't be generated by revXML

On Tue, Jan 5, 2010 at 12:39 PM, Thomas McGrath III mcgra...@mac.comwrote:

 Does anyone have a way or explanation on how to create a plist file on
 revOnline via script???

 It turns out that Apple recommends using a pList over json or xml for
 transferring data via NSUrl.

 There would be a lot of things I could do if I knew how to create them.

 (on the desktop I can do them and upload manually but then I would still
 have to populate them online)

 Tom McGrath III
 Lazy River Software
 3mcgr...@comcast.net

 iTunes Library Suite - libITS
 Information and download can be found on this page:
 http://www.lazyriversoftware.com/RevOne.html






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




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


Re: Math ML

2010-01-05 Thread Ray Horsley

Mark, much thanks.  I should have thought of the revBrowser idea.

Ray Horsley
LinkIt! Software

On Jan 5, 2010, at 5:10 AM, Mark Schonewille wrote:


Ray,

Render it in a browser object and export a screenshot of object,  
using the revBrowser external.


It is also possible to use a command line utility, such as webkit2png.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
M: m.schonewi...@economy-x-talk.com
P: +31 6 81 35 17 10
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

We make software, websites and webware. We are always looking for  
new projects. Feel free to contact us and ask for a quote without  
any further obligations

http://economy-x-talk.com/contact.html

Op 5 jan 2010, om 17:03 heeft Ray Horsley het volgende geschreven:

Does anybody have a way to render Math ML in a RunRev stack?  This  
is a type of HTML used in education to show math symbols.  It's  
usually embedded in HTML.  (Setting the htmlText of a field doesn't  
work.)  I'll include a small example of Math ML below.


Thanks,

Ray Horsley
LinkIt! Software

__

html
body
pspanbThe following is a life cycle of what organism?br/ 
brbr/br/b/spandivspanbm:math xmlns:m=http://www.w3.org/1998/Math/MathML 
m:mrowm:mtextEgg/m:mtextm:mtextthinsp;/ 
m:mtextm:morarr;/m:mom:mtextthinsp;/ 
m:mtextm:mtextLarva/m:mtextm:mtextthinsp;/ 
m:mtextm:morarr;/m:mom:mtextthinsp;/ 
m:mtextm:mtextPupa/m:mtextm:mtextthinsp;/ 
m:mtextm:morarr;/m:mom:mtextAdult/ 
m:mtextm:mtextthinsp;/m:mtext/m:mrow/m:math/b/span/ 
div/p

/body
/html



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

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



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


Re: If Monks CD-ROM - test download please

2010-01-05 Thread Colin Holgate
Things are ok now. The folder needs to be copied to Applications, I may have 
run it straight from the DMG.


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


Re: create a plist from script with iRev

2010-01-05 Thread Jim Ault


On Jan 5, 2010, at 6:39 AM, Thomas McGrath III wrote:

Does anyone have a way or explanation on how to create a plist file  
on revOnline via script???


It turns out that Apple recommends using a pList over json or xml  
for transferring data via NSUrl.


There would be a lot of things I could do if I knew how to create  
them.


(on the desktop I can do them and upload manually but then I would  
still have to populate them online)



you can run a shell script in Rev that converts a file sitting on your  
hard drive from binary, then edit, then convert it back again


plutil -convert xml1 Project
open -a TextEdit Project

--edit the file, then File - Save
--then run
plutil -convert binary1 Project

or use BBEdit 9 that opens the plist binary in readable xml, then  
saves in the binary format automatically.


or as Andre said about 18 months ago

Folks,

This page here  http://tomeklof.googlepages.com/aapl  has a list of
useful command line tools unique for Mac OS X. For example did anyone
here knew about plutil to convert plists to plain xml and back?

Andre



Jim Ault
Las Vegas


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


Array name from a variable

2010-01-05 Thread Alejandro Tejada

Hi all,

Yesterday, i was looking for a way to
create an array using a name stored
in a variable. But i was unable to found
a way to do this.

Look at this example:

   put word 2 to 4 of tInput into tNewArrayName
   replace space with _ in tNewArrayName
   -- Word 2 to 4 could be, for example: (First data container)
   -- These 4 words become 1 word, like this: (First_data_container)
   -- This is the name that i need to use as an array name
   -- but the following line fails and overwrite array name

   put data 0001 into tNewArrayName[uno]

   -- Now the variable tNewArrayName is an array but,
   -- i want to convert the content of tNewArrayName 
   -- in this example, (First_data_container), in an array name

 Thanks in advance.
Happy 2010 for each one! :-)

Alejandro
-- 
View this message in context: 
http://n4.nabble.com/Array-name-from-a-variable-tp999105p999105.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Math ML

2010-01-05 Thread Alejandro Tejada

Hi,

Looking Math ML examples from those two webpages:
http://www.w3.org/TR/2001/REC-MathML2-20010221/chapter2.html#fund_examples
http://www.mathmlcentral.com/Tools/FromMathML.jsp

Noticed that there are more than one way to render 
the same Math ML code.

Why Math ML accepts as valid different representation
of these formulas?

Alejandro
-- 
View this message in context: http://n4.nabble.com/Math-ML-tp998996p999110.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: create a plist from script with iRev

2010-01-05 Thread Andre Garzia
I said that??!

good thing, I forgot about those tools... sometimes I wish I had spotlight
search for my memory, I remember a lot of useless stuff by heart and forgot
a lot of things I need... lol...

On Tue, Jan 5, 2010 at 1:25 PM, Jim Ault jimaultw...@yahoo.com wrote:


 On Jan 5, 2010, at 6:39 AM, Thomas McGrath III wrote:

  Does anyone have a way or explanation on how to create a plist file on
 revOnline via script???

 It turns out that Apple recommends using a pList over json or xml for
 transferring data via NSUrl.

 There would be a lot of things I could do if I knew how to create them.

 (on the desktop I can do them and upload manually but then I would still
 have to populate them online)



 you can run a shell script in Rev that converts a file sitting on your hard
 drive from binary, then edit, then convert it back again

 plutil -convert xml1 Project
 open -a TextEdit Project

 --edit the file, then File - Save
 --then run
 plutil -convert binary1 Project

 or use BBEdit 9 that opens the plist binary in readable xml, then saves in
 the binary format automatically.

 or as Andre said about 18 months ago

 Folks,

 This page here  http://tomeklof.googlepages.com/aapl  has a list of
 useful command line tools unique for Mac OS X. For example did anyone
 here knew about plutil to convert plists to plain xml and back?

 Andre



 Jim Ault
 Las Vegas



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




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


Re: Array name from a variable

2010-01-05 Thread zryip theSlug
Hi Alejandro,

Happy new year to you too ;)


Try this:

do put  quote  data 0001  quote  into  tNewArrayName 
[ quote  uno  quote ]

Hope this helps.

-Zryip the Slug- wish you the best! 8)

2010/1/5 Alejandro Tejada capellan2...@gmail.com:

 Hi all,

 Yesterday, i was looking for a way to
 create an array using a name stored
 in a variable. But i was unable to found
 a way to do this.

 Look at this example:

   put word 2 to 4 of tInput into tNewArrayName
   replace space with _ in tNewArrayName
   -- Word 2 to 4 could be, for example: (First data container)
   -- These 4 words become 1 word, like this: (First_data_container)
   -- This is the name that i need to use as an array name
   -- but the following line fails and overwrite array name

   put data 0001 into tNewArrayName[uno]

   -- Now the variable tNewArrayName is an array but,
   -- i want to convert the content of tNewArrayName
   -- in this example, (First_data_container), in an array name

  Thanks in advance.
 Happy 2010 for each one! :-)

 Alejandro
 --
 View this message in context: 
 http://n4.nabble.com/Array-name-from-a-variable-tp999105p999105.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: Array name from a variable

2010-01-05 Thread Alejandro Tejada

Hi Zryip,

Yes, you are correct.
Using Do actually creates
an array variable with the
name requested. :-D

But the example the i posted
using parentheses fails:
(First_data_container)
this works fine:
First_data_container

Now, How could i make a copy
of this new array?

Thanks a lot for your help!

Alejandro

-- 
View this message in context: 
http://n4.nabble.com/Array-name-from-a-variable-tp999105p999138.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Great new feature!

2010-01-05 Thread Bob Sneidar
Hi Jerry. Fantastic new feature, these tags. I like to pseudo code what I am 
going to do first, and then refine the code later. It helps me map out complex 
procedures that, despite Rev's easily readable code, are still difficult to 
grasp once I put a lot of code down. 

The tags give me a quick glance at what I am trying to do and where I am at. 
Also, I put an asterisk (-- *test tag) before the sections that still need 
work, so I can tell at a glance what still needs to be done and go right to it! 

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


Re: create a plist from script with iRev

2010-01-05 Thread Thomas McGrath III
Thanks for the plutil and other suggestions which are good for the  
desktop, but I was wondering about doing this via iRev scripts online.


I can create and populate a pList on my desktop with textWrangler and  
use xcode to convert back to binary for inclusion with my iPhone app.  
What I want is a way using iRev scripts to create one on on-rev and if  
not that then at least via iRev scripts to modify an existing one.



Tom McGrath III
Lazy River Software
3mcgr...@comcast.net

iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.html


On Jan 5, 2010, at 10:25 AM, Jim Ault wrote:



On Jan 5, 2010, at 6:39 AM, Thomas McGrath III wrote:

Does anyone have a way or explanation on how to create a plist file  
on revOnline via script???


It turns out that Apple recommends using a pList over json or xml  
for transferring data via NSUrl.


There would be a lot of things I could do if I knew how to create  
them.


(on the desktop I can do them and upload manually but then I would  
still have to populate them online)



you can run a shell script in Rev that converts a file sitting on  
your hard drive from binary, then edit, then convert it back again


plutil -convert xml1 Project
open -a TextEdit Project

--edit the file, then File - Save
--then run
plutil -convert binary1 Project

or use BBEdit 9 that opens the plist binary in readable xml, then  
saves in the binary format automatically.


or as Andre said about 18 months ago

Folks,

This page here  http://tomeklof.googlepages.com/aapl  has a list of
useful command line tools unique for Mac OS X. For example did anyone
here knew about plutil to convert plists to plain xml and back?

Andre



Jim Ault
Las Vegas


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

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


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


progress bar

2010-01-05 Thread Jacques Hausser
Hi,

I have a stack loading and rescaling big pictures (12 megapixels or more) by 
setting their filename and then their size. The user can choose their 
resizequality, and with best the process is rather slow, the final size being 
as big as possible. My question: how to link an honest  progress bar to this 
process ? It's only one line of code: set the rect of image X to..., and I do 
not see where to check the actual progress.

Thank you for every idea

Jacques

**
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel/fax:++ 41 22 366 19 40
mobile: ++ 41 79 757 05 24
E-Mail: jacques.haus...@unil.ch
***

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


Re: create a plist from script with iRev

2010-01-05 Thread Andre Garzia
Tom,

why a plist on on-rev? The system is linux...

On Tue, Jan 5, 2010 at 4:37 PM, Thomas McGrath III mcgra...@mac.com wrote:

 Thanks for the plutil and other suggestions which are good for the desktop,
 but I was wondering about doing this via iRev scripts online.

 I can create and populate a pList on my desktop with textWrangler and use
 xcode to convert back to binary for inclusion with my iPhone app. What I
 want is a way using iRev scripts to create one on on-rev and if not that
 then at least via iRev scripts to modify an existing one.



 Tom McGrath III
 Lazy River Software
 3mcgr...@comcast.net

 iTunes Library Suite - libITS
 Information and download can be found on this page:
 http://www.lazyriversoftware.com/RevOne.html


 On Jan 5, 2010, at 10:25 AM, Jim Ault wrote:


 On Jan 5, 2010, at 6:39 AM, Thomas McGrath III wrote:

  Does anyone have a way or explanation on how to create a plist file on
 revOnline via script???

 It turns out that Apple recommends using a pList over json or xml for
 transferring data via NSUrl.

 There would be a lot of things I could do if I knew how to create them.

 (on the desktop I can do them and upload manually but then I would still
 have to populate them online)



 you can run a shell script in Rev that converts a file sitting on your
 hard drive from binary, then edit, then convert it back again

 plutil -convert xml1 Project
 open -a TextEdit Project

 --edit the file, then File - Save
 --then run
 plutil -convert binary1 Project

 or use BBEdit 9 that opens the plist binary in readable xml, then saves in
 the binary format automatically.

 or as Andre said about 18 months ago

 Folks,

 This page here  http://tomeklof.googlepages.com/aapl  has a list of
 useful command line tools unique for Mac OS X. For example did anyone
 here knew about plutil to convert plists to plain xml and back?

 Andre



 Jim Ault
 Las Vegas


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


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




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


Re: progress bar

2010-01-05 Thread Andre Garzia
Jacques,

Revolution is single tread so you will not be able to move your progress bar
while the resizing is working for an individual file, only in the little
intervals between each file resize. One trick is setting the cursor to
watch, this will spin an hourglass which I think will keep spining during
the process, but to measure the resizing while it is happening, I don't
think this is possible.

Cheers
andre

On Tue, Jan 5, 2010 at 6:09 PM, Jacques Hausser jacques.haus...@unil.chwrote:

 Hi,

 I have a stack loading and rescaling big pictures (12 megapixels or more)
 by setting their filename and then their size. The user can choose their
 resizequality, and with best the process is rather slow, the final size
 being as big as possible. My question: how to link an honest  progress bar
 to this process ? It's only one line of code: set the rect of image X
 to..., and I do not see where to check the actual progress.

 Thank you for every idea

 Jacques

 **
 Prof. Jacques Hausser
 Department of Ecology and Evolution
 Biophore / Sorge
 University of Lausanne
 CH 1015 Lausanne
 please use my private address:
 6 route de Burtigny
 CH-1269 Bassins
 tel/fax:++ 41 22 366 19 40
 mobile: ++ 41 79 757 05 24
 E-Mail: jacques.haus...@unil.ch
 ***

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




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


Re: progress bar

2010-01-05 Thread stephen barncard
Graphic operations seem to be a blocker. Have you tried doing any 'send in
time' experiments to see if those will run during the operation? You could
at least create a spinning watch or some kind of indicator that something is
happening.  I know animated gifs won't run during any blocking operation.
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


2010/1/5 Jacques Hausser jacques.haus...@unil.ch

 Hi,

 I have a stack loading and rescaling big pictures (12 megapixels or more)
 by setting their filename and then their size. The user can choose their
 resizequality, and with best the process is rather slow, the final size
 being as big as possible. My question: how to link an honest  progress bar
 to this process ? It's only one line of code: set the rect of image X
 to..., and I do not see where to check the actual progress.

 Thank you for every idea

 Jacques

 **
 Prof. Jacques Hausser
 Department of Ecology and Evolution
 Biophore / Sorge
 University of Lausanne
 CH 1015 Lausanne
 please use my private address:
 6 route de Burtigny
 CH-1269 Bassins
 tel/fax:++ 41 22 366 19 40
 mobile: ++ 41 79 757 05 24
 E-Mail: jacques.haus...@unil.ch
 ***

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

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


Re: progress bar

2010-01-05 Thread Robert Brenstein

On 05.01.2010 at 21:09 Uhr +0100 Jacques Hausser apparently wrote:

Hi,

I have a stack loading and rescaling big pictures (12 megapixels or 
more) by setting their filename and then their size. The user can 
choose their resizequality, and with best the process is rather 
slow, the final size being as big as possible. My question: how to 
link an honest  progress bar to this process ? It's only one line 
of code: set the rect of image X to..., and I do not see where to 
check the actual progress.


Thank you for every idea

Jacques



You can't have the engine call your progress stack, so all you can do 
is to put up a small dialog window with something like 
Rescaling..., call set the rect of image X to..., then close the 
dialog window. Set a cursor to watch as well.


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


65535 limit?

2010-01-05 Thread Fred Moyer
The Stack Inspector states that the default maximum width of a stack  
is 65535. However, on my Mac I can't set the width of a stack to  
greater than 32767 pixels (half of 65534.) Similarly, on page 49 of  
the User's guide, the Maximum size of an object is given as  
Unlimited. But I can't set the width of an object to greater than  
32767.


What is bizarre is that I can make a control 65534 pixels wide by  
making the rect of the control (for example) -32767, 10, 32767,100.  
However, if I try to make the rect of the stack -32767, 10,  
32767,100 Revolution crashes or resizes to a seemingly random rect.


Are these stated limits actually incorrect or am I misunderstanding  
something? Does it work correctly in Windows (maybe this is a Mac  
problem)? Does anyone know a workaround to that 32767 limit? And out  
of curiosity, what is the significance of that number? Will it soon/ 
ever change?


I am designing a stack that consists of a single normal-sized card  
that contains a normal-sized group whose lockloc is set to true. The  
group contains many images placed side-by-side next to one another.  
One can scroll to any picture almost instantly by using the group's  
HScrollbar. This stack is great but sometimes there are so many  
images in the group that the formattedwidth of the group is greater  
than 32768 -- or would be, but I can't get to that point while  
setting up the stack. All kinds of strange things happen.  
Incidentally 65535 would be wide enough to accommodate my needs, so  
if Revolution simply worked as stated, it would be fine. Any ideas/ 
comments?


Thanks.

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


Re: Great new feature!

2010-01-05 Thread Jerry Daniels

Bob,

That's an excellent application of the tRev handler tag feature! I'm  
learning from how you guys are using this. Very exciting!


Best,

Jerry Daniels

The latest Rev Editor Video:
http://reveditor.com/feature-friday-leave-bookmarks-in-handler-lis

On Jan 5, 2010, at 12:11 PM, Bob Sneidar wrote:

Hi Jerry. Fantastic new feature, these tags. I like to pseudo code  
what I am going to do first, and then refine the code later. It  
helps me map out complex procedures that, despite Rev's easily  
readable code, are still difficult to grasp once I put a lot of code  
down.


The tags give me a quick glance at what I am trying to do and where  
I am at. Also, I put an asterisk (-- *test tag) before the sections  
that still need work, so I can tell at a glance what still needs to  
be done and go right to it!


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

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


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


Re: progress bar

2010-01-05 Thread Jacques Hausser
Thanks, Andre,Stephen and Robert for your answers.

It is more or less what I guessed, but you never know.
[ I'm not sure it's correct in english... I don't mean that you don't know ;) ]
Stephen, I tried send in time, but it is blocked too. 
I will probably turn to a mere Please wait or something like that.

Jacques

**
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel/fax:++ 41 22 366 19 40
mobile: ++ 41 79 757 05 24
E-Mail: jacques.haus...@unil.ch
***

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


Re: Array name from a variable

2010-01-05 Thread zryip theSlug
Sorry I've not take care that you used parentheses in the name of your array.

However check your manual page 151.I quoted it:
The names of variables must consist of a single word and may contain
any combination
of letters, digits, and underscores (_). The first character must be
either a letter or an
underscore. You cannot use any Revolution RevTalk language word as a name of a
variable.

() are operator, so you can't used it in a name of a variable.

To duplicate an array this is really trivial, put it into another
variable like this:
put First_data_container into myCopyOfFirst_data_container

2010/1/5 Alejandro Tejada capellan2...@gmail.com:

 Hi Zryip,

 Yes, you are correct.
 Using Do actually creates
 an array variable with the
 name requested. :-D

 But the example the i posted
 using parentheses fails:
 (First_data_container)
 this works fine:
 First_data_container

 Now, How could i make a copy
 of this new array?

-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: create a plist from script with iRev

2010-01-05 Thread Sarah Reichelt
On Wed, Jan 6, 2010 at 12:39 AM, Thomas McGrath III mcgra...@mac.com wrote:
 Does anyone have a way or explanation on how to create a plist file on
 revOnline via script???

 It turns out that Apple recommends using a pList over json or xml for
 transferring data via NSUrl.

 There would be a lot of things I could do if I knew how to create them.

 (on the desktop I can do them and upload manually but then I would still
 have to populate them online)


Tom, I have a stack that I use for editing plist files:
http://www.troz.net/rev/stacks/PlistEditor.rev

Perhaps you could start with an existing plist and use the scripts in
here to modify them.
When you say revOnline, do you mean On-Rev? revOnline doesn't allow
anything other than stack hosting does it?
As regards On-Rev, the servers are Linux machines, so the plutil
command will not be available, as it is OS X only.

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


Re: 65535 limit?

2010-01-05 Thread Jim Ault
Rather than worry about maximums and future changes that could hamper  
performance, why not make several smaller groups that 'overlap' in a  
collage of sorts, then move all the groups as one?

Maybe I am missing the point, so let me know.


Jim Ault
Las Vegas



On Jan 5, 2010, at 11:22 AM, Fred Moyer wrote:

The Stack Inspector states that the default maximum width of a stack  
is 65535. However, on my Mac I can't set the width of a stack to  
greater than 32767 pixels (half of 65534.) Similarly, on page 49 of  
the User's guide, the Maximum size of an object is given as  
Unlimited. But I can't set the width of an object to greater than  
32767.


What is bizarre is that I can make a control 65534 pixels wide by  
making the rect of the control (for example) -32767, 10, 32767,100.  
However, if I try to make the rect of the stack -32767, 10,  
32767,100 Revolution crashes or resizes to a seemingly random rect.


Are these stated limits actually incorrect or am I misunderstanding  
something? Does it work correctly in Windows (maybe this is a Mac  
problem)? Does anyone know a workaround to that 32767 limit? And out  
of curiosity, what is the significance of that number? Will it soon/ 
ever change?


I am designing a stack that consists of a single normal-sized card  
that contains a normal-sized group whose lockloc is set to true. The  
group contains many images placed side-by-side next to one another.  
One can scroll to any picture almost instantly by using the group's  
HScrollbar. This stack is great but sometimes there are so many  
images in the group that the formattedwidth of the group is greater  
than 32768 -- or would be, but I can't get to that point while  
setting up the stack. All kinds of strange things happen.  
Incidentally 65535 would be wide enough to accommodate my needs, so  
if Revolution simply worked as stated, it would be fine. Any ideas/ 
comments?


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


Re: 65535 limit?

2010-01-05 Thread Scott Morrow
Hello Fred,

I don't have a solution for you but I ran into something once that sounds 
similar... I dug around and found a comment in one of my scripts: 

 The vScroll of groups is limited at the engine level to 32780

I'm not sure where I got this information or if it is still (or ever) valid.

Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   http://elementarysoftware.com/
email sc...@elementarysoftware.com
--




On Jan 5, 2010, at 11:22 AM, Fred Moyer wrote:

 The Stack Inspector states that the default maximum width of a stack is 
 65535. However, on my Mac I can't set the width of a stack to greater than 
 32767 pixels (half of 65534.) Similarly, on page 49 of the User's guide, the 
 Maximum size of an object is given as Unlimited. But I can't set the 
 width of an object to greater than 32767.
 
 What is bizarre is that I can make a control 65534 pixels wide by making the 
 rect of the control (for example) -32767, 10, 32767,100. However, if I try to 
 make the rect of the stack -32767, 10, 32767,100 Revolution crashes or 
 resizes to a seemingly random rect.
 
 Are these stated limits actually incorrect or am I misunderstanding 
 something? Does it work correctly in Windows (maybe this is a Mac problem)? 
 Does anyone know a workaround to that 32767 limit? And out of curiosity, what 
 is the significance of that number? Will it soon/ever change?
 
 I am designing a stack that consists of a single normal-sized card that 
 contains a normal-sized group whose lockloc is set to true. The group 
 contains many images placed side-by-side next to one another. One can scroll 
 to any picture almost instantly by using the group's HScrollbar. This stack 
 is great but sometimes there are so many images in the group that the 
 formattedwidth of the group is greater than 32768 -- or would be, but I can't 
 get to that point while setting up the stack. All kinds of strange things 
 happen. Incidentally 65535 would be wide enough to accommodate my needs, so 
 if Revolution simply worked as stated, it would be fine. Any ideas/comments?
 
 Thanks.
 
 Fred
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

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