menu item tagging

2009-10-02 Thread ron barber
The engine change log list Menu-item tagging as a new feature:
===

The menu item specification has been extended to allow a tag to be
specified. It is now of the form:
   [ '/' [  ] [ '|'  ] ]
Note that the  is optional as is the  however, if
you want an item with a tag but without the accelerator you need:
   '/' '|' 

The  must only be composed of characters from the ASCII character set.

If a menu item has a  then it is the tag string that is passed to
menuPick rather than the . This is useful for localization of
menu items as you don't need to change the menuPick handler for each
language supported.

The following tags should be used to label the standard edit menu
items to enable them to be controlled by the system dialogs on Mac OS
X (e.g. answer file, ask file etc.):
  undo, redo, cut, copy, paste, clear, select all, preferences

Note: You should not mix the use of tags and no tags in Unicode menus.
Doing so will cause empty values for all unicode items without tags.
=
I have a menu in SJIS stored in a fld that is converted to unicode -
Japanese when the group is selected. The menupick item is handled in a
parent script.
The field with the edit menu looks like this:
ÉJÉbÉg/X|Cut
ÉRÉsÅ[/C|Copy
É}ÉãÉ`ÉRÉsÅ[/E|Multi
ÉyÅ[ÉXÉg/V|Paste
-
ëSǃëIë/A|Select All
-
åüçıÇ∑ÇÈ/F|Find
éüÇåüçıÇ∑ÇÈ/G|Find Again
-
èâä˙ê›íË/;|Preferences

I would expect the tag to be returned in the itempicked of the
menupick itempicked handler but I'm getting the actual menuitem iin
unicoded Japanese. Can anyone give me hints as to what I'm doing
wrong? All the menus are set up and handled the same way.

Thanks so much,
Ron
___
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: "Helper Application"?

2009-10-02 Thread Bruce Robertson
> J. Landman Gay wrote:
> 
>> Richard Gaskin wrote:
>>> The RevTalk Dictionary entry for the "environment" function lists
>>> "helper application" as one of the possible values the function can return:
>>> 
>>>If the environment function returns "helper application",
>>>Revolution is running as a helper application, configured
>>>by a web browser to display web-based content.
>>> 
>>> That's not the same as the plugin, is it?  That entry is from the v3.0
>>> dictionary, long before the plugin was even in development.
>>> 
>>> What does it mean for a Rev standalone to be "configured by a web
>>> browser to display web-based content"?
>> 
>> Browsers let you specify what apps to open if they can't display web
>> content themselves. So if you click a .rev link on a web page, and you
>> have assigned the browser to use Rev to open .rev files, then the
>> browser will pass the link off to Revolution and launch it. It's the
>> same as assigning .doc files to Word. I didn't know the environment
>> would change when that happens though.
> 
> Me neither.
> 
> I've used Rev standalones as helper apps before, but IIRC the app just
> gets an odoc event when the browser hands it a stack, and the engine
> doesm't bother to notice whether it was handed the stack from a browser
> or the Finder.
> 
> I suspect this may be a holdover from the olden MC days when it was
> Unix-only.  Would be nice if there was a way a standalone could
> distinguish how it was launched, though.  There's a world of
> opportunities still unexploited with helper apps

Yup. Take this technique, and point the custom URL to your Rev app. I'm
doing it with FileMaker.





___
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: Practical limits on object counts

2009-10-02 Thread Paul Foraker
On Fri, Oct 2, 2009 at 5:44 PM, Richard Gaskin
 wrote:
> Have any of you worked on stacks with an insane number of objects on a card
> (>5,000)?
>
> What issues did you encounter?

I have a bead pattern generator that dynamically clones a small
graphic to produce 4,634 of them arranged according to dimensions and
patterns set by the user. There are also some fields and buttons,
bringing the total number of controls to 4,646. It takes about 2
seconds to render on an iMac with the screen locked. When you mouse
down on the inspection arrow in the Property Inspector, you get a
disabled item: "Too many controls to display [4646]". There aren't too
many fields or buttons to display, but it doesn't care. :)

-- Paul
___
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


Practical limits on object counts

2009-10-02 Thread Richard Gaskin
I may have the opportunity to build a UI which has an unusually high 
number of objects on the card.


So to see what can and can't be done, I made a couple tests stacks and 
threw some objects on them.  Lots of objects.  Thousands.


I found that 5,000 objects render, react to clicks, and save with 
admirable performance, but boosting that to 10,000 introduces a 
noticeable lag time on things like responding to clicks.


Have any of you worked on stacks with an insane number of objects on a 
card (>5,000)?


What issues did you encounter?

I have some strategies for reducing the object count if needed, but at 
the moment I'm more interested in learning what the practical limits of 
the engine are with regard to handling large numbers of objects.


TIA -

--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: Rio 2016

2009-10-02 Thread Jim Sims


On Oct 2, 2009, at 7:22 PM, Andre Garzia wrote:

Yay! I should open a hostel, we will have the Soccer World Cup here  
in 2014

and the Olympic Games on 2016, good time to invest in something


Yes! Creative Brasilan Thinking!
Maybe put that TV/Film school learning to us, start a new TV channel.
Andre's Olympic Village
Olympic Cooking with Andre
Andre's Olympic Roundup Sports Channel

The opportunities are endless.

You have a camera I bet.

sims

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


Re: OT: Rio 2016

2009-10-02 Thread Colin Holgate


On Oct 2, 2009, at 7:33 PM, Sarah Reichelt wrote:




The 2000 Olympics were in Sydney, Australia and they were held in
September, which is spring in the southern hemisphere while not being
too far from summer for the northern athletes. I imagine the Rio games
will be held at a similar time during the year.



It might not be though. Rio is over ten degrees closer to the Equator  
than Sydney is. It's closer than Miami is. I was in the middle east  
for a while, though I was slightly closer to the Equator than Rio is,  
still, the coldest it got in the year was still in the 70s.


As you can see here, the coldest months in Rio still average 70 degrees:

http://www.holiday-weather.com/rio_de_janeiro/averages/


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


Re: OT: Rio 2016

2009-10-02 Thread Sarah Reichelt
On Sat, Oct 3, 2009 at 3:15 AM, Joe Lewis Wilkins  wrote:
> Out of curiosity, won't that make the Summer games held in the Winter, since
> the southern hemisphere is the reverse of where they are normally held? Or
> was that taken into consideration as you would think it would have been?
> Otherwise, all those athletes in their shorts are going to freeze their
> butts off.

The 2000 Olympics were in Sydney, Australia and they were held in
September, which is spring in the southern hemisphere while not being
too far from summer for the northern athletes. I imagine the Rio games
will be held at a similar time during the year.

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: set the textStyle to not bold

2009-10-02 Thread Paul Foraker
This would be a way to follow Craig's suggestion:

   put the htmlText of fld 1 into temp
   replace "" with "" in temp
   replace "" with "" in temp
   set the htmlText of fld 1 to temp

-- Paul

On Fri, Oct 2, 2009 at 3:39 PM,   wrote:
> The proffered scripts all necessitate that the original text, likely from a
> field, be manHandled word by word.
>
> This is because text in a variable does not retain the textStyle of the
> source. But don't I remember that there is a way, or a gadget, that holds the
> style along with the raw text? The only reason it might matter is speed; a
> lot of getting and setting goes on in the solutions offered. It might be worth
> it to put massive amounts of text in a variable and process there,
> returning the new styled text to the field in one put.
>
> Seems like I saw this somewhere...
>
> Craig Newman
___
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: set the textStyle to not bold

2009-10-02 Thread DunbarX
The proffered scripts all necessitate that the original text, likely from a 
field, be manHandled word by word.

This is because text in a variable does not retain the textStyle of the 
source. But don't I remember that there is a way, or a gadget, that holds the 
style along with the raw text? The only reason it might matter is speed; a 
lot of getting and setting goes on in the solutions offered. It might be worth 
it to put massive amounts of text in a variable and process there, 
returning the new styled text to the field in one put.

Seems like I saw this somewhere...

Craig Newman
___
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: set the textStyle to not bold

2009-10-02 Thread Paul Foraker
Riffing on Devin's:

repeat with i = 1 to the number of words in fld "thefield"
 get the textStyle of word i of fld "thefield"
 if it contains "bold" then
   replace "bold" with "plain" in it
   set the textStyle of word i of fld "thefield" to it
 end if
end repeat

-- Paul


On Fri, Oct 2, 2009 at 11:46 AM, Devin Asay  wrote:

>
> On Oct 2, 2009, at 12:26 PM, Beat Cornaz wrote:
>
>  Hi all,
>>
>> I have a field with text with different textStyles. Now I just want
>> to remove the bold (or any other) textStyle from that field. So
>> leaving all the underline, italic. box etc textStyle parts in order.
>>
>> set the textStyle of fld "X" to not bold   is accepted by the editor
>> but throws an error at runtime. Probably because not bold equals
>> false and you can't set a textStyle to false
>>
>> I could write a handler which checks the textStyle of every char and
>> removes the bold, but I guess there is a more easy way.
>>
>
> Beat,
>
> Try this (not tested):
>
> repeat with i = 1 to the number of words in fld "thefield"
>  get the textStyle of word i of fld "thefield"
>  if it contains "bold" then
>replace "bold" with empty in it
>replace ",bold" with empty in it
>replace "bold," with empty in it
>set the textStyle of word i of fld "thefield" to it
>  end if
> end repeat
>
> Something like this should work.
>
> Regards,
>
> Devin
>
>
> Devin Asay
> Humanities Technology and Research Support Center
> Brigham Young University
>
>
> ___
> 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: Smoothing a curve: bezier curves, b-splines and Alejandro's PenTool Script

2009-10-02 Thread François Chaplais


Le 2 oct. 09 à 19:15, Hugh Senior a écrit :



I am also trying to plot a curved line through coordinate points, so a
Bezier curve is not an appropriate route as it intentionally misses  
the
coordinate point. Similarly, with potentially big distances between  
points,
how 'smooth' is 'smooth'? A sharp, angular curve at each point or a  
more
flattened, rounded curve? And this assumes that no curve is  
possible at all
for the first and last points because there is no way of knowing  
the shape

at all.

One math guru I spoke to said it's not doable with coordinate data  
anyway,

only statistical data. I hope he is incorrect.

IF the Bezier curve is a function y=f(x) of the horizontal pixel  
number N, the the best you can on screen (or printer fror that  
matter) do is draw a line (hopefully anti aliased) from each point  
(x,integer((f(x))) to point (x+1,integer(f(x+1))). f is a polynomial.


To manage the general case, you can search for the mathematical (i.e.  
maybe non integer) points at which the tangent of the curves is  
vertical.


Best regards,
François

___
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: set the textStyle to not bold

2009-10-02 Thread Devin Asay


On Oct 2, 2009, at 12:26 PM, Beat Cornaz wrote:


Hi all,

I have a field with text with different textStyles. Now I just want
to remove the bold (or any other) textStyle from that field. So
leaving all the underline, italic. box etc textStyle parts in order.

set the textStyle of fld "X" to not bold   is accepted by the editor
but throws an error at runtime. Probably because not bold equals
false and you can't set a textStyle to false

I could write a handler which checks the textStyle of every char and
removes the bold, but I guess there is a more easy way.


Beat,

Try this (not tested):

repeat with i = 1 to the number of words in fld "thefield"
  get the textStyle of word i of fld "thefield"
  if it contains "bold" then
replace "bold" with empty in it
replace ",bold" with empty in it
replace "bold," with empty in it
set the textStyle of word i of fld "thefield" to it
  end if
end repeat

Something like this should work.

Regards,

Devin


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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: Metal Texture in Snow Leopard

2009-10-02 Thread Mark Schonewille

Hi Joe,

First of all, this is a bug that should be fixed by RunRev Ltd. In my  
opinion, it is a shame that this problem still persists in Rev 4.0.


The following might help. It sets and resets the background colour of  
the current card of your stack.


on suspendStack x
 set the backColor of this cd to 207,207,207
end suspendStack

on resumeStack
 set the backColor of this cd to 150,150,150
end resumeStack

Unfortunately, I haven't created a way to change the colour when a  
palette is focused yet. Probably, this should be done with a front  
script. Perhaps a resumeStack handler or something like focusIn.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com

Submit your software at http://www.quickestpublisher.com

On 2 okt 2009, at 20:27, lunchnme...@aol.com wrote:


Hi Rev Addicts,

I just upgraded my system software from Tiger to Snow Leopard. The  
first
thing I noticed of course is the different way it renders "Metal  
Texture."
It's much to dark now. Is there a way to lighten it somewhat?  
Alternatively,
how do I set the background color of my stacks? Thanks for all your  
support in

the past and future.

Joe in Orlando
___
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: OT: Rio 2016

2009-10-02 Thread Mike Markkula
Super Great video!

Mike


On 10/2/09 10:22 AM, "Andre Garzia"  wrote:

> Our winter will not go below 20 celsius, it is never too cold in Rio.
> I am all about RunRev Coding Games I could organize that, there is a
> wonderful conference hotel near my place, 5 minutes from the beach of
> camboinhas, one of the best in my city.
> 
> for those wanting to see one of our bid videos, checkout the HD version of:
> 
> http://www.youtube.com/watch?v=Z00jjc-WtZI
> 
> the song is "cidade maravilhosa" (wonderful city) one of the famous songs
> about rio, the chorus part goes like wonderful city, with a thousand
> enchantments, wonderful city, the heart of my Brasil.
> 
> Yay! I should open a hostel, we will have the Soccer World Cup here in 2014
> and the Olympic Games on 2016, good time to invest in something
> ___
> 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


set the textStyle to not bold

2009-10-02 Thread Beat Cornaz

Hi all,

I have a field with text with different textStyles. Now I just want  
to remove the bold (or any other) textStyle from that field. So  
leaving all the underline, italic. box etc textStyle parts in order.


set the textStyle of fld "X" to not bold   is accepted by the editor  
but throws an error at runtime. Probably because not bold equals  
false and you can't set a textStyle to false


I could write a handler which checks the textStyle of every char and  
removes the bold, but I guess there is a more easy way.


Cheers, Beat

___
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


Metal Texture in Snow Leopard

2009-10-02 Thread LunchnMeets
Hi Rev Addicts,

I just upgraded my system software from Tiger to Snow Leopard. The first 
thing I noticed of course is the different way it renders "Metal Texture." 
It's much to dark now. Is there a way to lighten it somewhat? Alternatively, 
how do I set the background color of my stacks? Thanks for all your support in 
the past and future.

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


Re: OT: Rio 2016

2009-10-02 Thread Andre Garzia
hu handicaping the european athletes interesting thought... on
the other hand, Brazilian athletes are often handicaped on the cold
environments and that never stopped us, we even have a sled team and we have
no snow, so I think the world will be fine. I think they will held it during
a mild time, been sometime since I last felt 40+ temperature...


2009/10/2 Björnke von Gierke 

> Brasil is a tropical country. what we in europe call "summer" is their
> temperature in "winter" (20-30 degrees celsius or so). If they'd do it in
> their geographical summer (nov-feb), they'd handicap all the european
> athletes with the 40+ temperatures and 99% humidity...
>
> On 2 Oct 2009, at 19:15, Joe Lewis Wilkins wrote:
>
>  in the Winter... Otherwise, all those athletes in their shorts are going
>> to freeze their butts off.
>>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



-- 
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: Q: Can I use only a part of an Image File and do stuff with it ?

2009-10-02 Thread Jim Lambert

Phil, you actually understood better than I!
From corresponding off list with Rolf he did want to chop the image  
into smaller pieces, so your code is great for that.
And my example, although off the mark, is good for folks who want to  
address just certain parts of am image.


That's the beauty of a great list like this. Interesting questions,  
suggestions, & examples.


Jiml


Date: Thu, 01 Oct 2009 14:57:12 -0700
From: Phil Davis 
Subject: Re: Q: Can I use only a part of an Image File and do stuff
with it ?
To: How to use Revolution 
Message-ID: <4ac525b8.9030...@pdslabs.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Nice, Jim! I see I misunderstood the goal in my post. Oh well.

Phil Davis


Jim Lambert wrote:

And here's the code:

http://netrin.on-rev.com/animateimage/animateimage.html

Jim Lambert


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


Re: OT: Rio 2016

2009-10-02 Thread Jim Ault

Very cool news.. congratulations!
Maybe everyone will be learning Portuguese
It will be great to see the impact on your economy.

At least I will have a place to stay that is very cheap, eh?
Good news for me... I don't know anyone in Chicago, Madrid, or Tokyo.

Jim Ault
Las Vegas

What happens in Rio, gets broadcast to the world.

On Oct 2, 2009, at 9:58 AM, Andre Garzia wrote:


Hi Folks,
Just to announce that Rio won de bid for the 2016 Olympic Games. The  
first
ever Olympic Games to be held on south america will be help on my  
state.


So I think I will launch the bid for RioRevLive 2016, you can learn  
to code

and join the Olympic festivities :-P

Cheers and Live Your Passion (Rio Olympic Motto)
Andre


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


Re: OT: Rio 2016

2009-10-02 Thread Jim Ault
Winter nights can be chilly, with the temperature dropping to around  
15° C (around 70 F). Laugh if you live in a cold country, but the fact  
is that thermal comfort is completely relative. Wind and dampness  
could make you feel even colder, and the homes do not have a heating  
system.


In other words, near-tropical climate with a low of 70 degrees F and  
sunny days.


-- excerpt from a travel post --
 Re: Weather in Rio During May - August
Apr 05, 2006, 10:06 PM
I lived in Rio for many years and return every summer vacation (here)  
- winter there. Always go late July - early August. I can assure you  
that you will have beautiful beach weather and plenty of tanning  
opportunity during this period. Was there last summer with my daughter  
from August 1st through August 22nd and we went to the beach everyday  
- but one! Enjoy your trip.


-

Jim Ault
Las Vegas

On Oct 2, 2009, at 10:15 AM, Joe Lewis Wilkins wrote:

Out of curiosity, won't that make the Summer games held in the  
Winter, since the southern hemisphere is the reverse of where they  
are normally held? Or was that taken into consideration as you would  
think it would have been? Otherwise, all those athletes in their  
shorts are going to freeze their butts off.


Joe Wilkins

On Oct 2, 2009, at 9:58 AM, Andre Garzia wrote:


Hi Folks,
Just to announce that Rio won de bid for the 2016 Olympic Games.  
The first
ever Olympic Games to be held on south america will be help on my  
state.


So I think I will launch the bid for RioRevLive 2016, you can learn  
to code

and join the Olympic festivities :-P

Cheers and Live Your Passion (Rio Olympic Motto)
Andre

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

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


___
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


Jim Ault
jimaultw...@yahoo.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: OT: Rio 2016

2009-10-02 Thread Andre Garzia
Our winter will not go below 20 celsius, it is never too cold in Rio.
I am all about RunRev Coding Games I could organize that, there is a
wonderful conference hotel near my place, 5 minutes from the beach of
camboinhas, one of the best in my city.

for those wanting to see one of our bid videos, checkout the HD version of:

http://www.youtube.com/watch?v=Z00jjc-WtZI

the song is "cidade maravilhosa" (wonderful city) one of the famous songs
about rio, the chorus part goes like wonderful city, with a thousand
enchantments, wonderful city, the heart of my Brasil.

Yay! I should open a hostel, we will have the Soccer World Cup here in 2014
and the Olympic Games on 2016, good time to invest in something
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: Rio 2016

2009-10-02 Thread Björnke von Gierke
Brasil is a tropical country. what we in europe call "summer" is their  
temperature in "winter" (20-30 degrees celsius or so). If they'd do it  
in their geographical summer (nov-feb), they'd handicap all the  
european athletes with the 40+ temperatures and 99% humidity...


On 2 Oct 2009, at 19:15, Joe Lewis Wilkins wrote:

in the Winter... Otherwise, all those athletes in their shorts are  
going to freeze their butts off.

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


Re: OT: Rio 2016

2009-10-02 Thread Joe Lewis Wilkins
Out of curiosity, won't that make the Summer games held in the Winter,  
since the southern hemisphere is the reverse of where they are  
normally held? Or was that taken into consideration as you would think  
it would have been? Otherwise, all those athletes in their shorts are  
going to freeze their butts off.


Joe Wilkins

On Oct 2, 2009, at 9:58 AM, Andre Garzia wrote:


Hi Folks,
Just to announce that Rio won de bid for the 2016 Olympic Games. The  
first
ever Olympic Games to be held on south america will be help on my  
state.


So I think I will launch the bid for RioRevLive 2016, you can learn  
to code

and join the Olympic festivities :-P

Cheers and Live Your Passion (Rio Olympic Motto)
Andre

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

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


___
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: Smoothing a curve: bezier curves, b-splines and Alejandro's PenTool Script

2009-10-02 Thread Hugh Senior

I am also trying to plot a curved line through coordinate points, so a
Bezier curve is not an appropriate route as it intentionally misses the
coordinate point. Similarly, with potentially big distances between points,
how 'smooth' is 'smooth'? A sharp, angular curve at each point or a more
flattened, rounded curve? And this assumes that no curve is possible at all
for the first and last points because there is no way of knowing the shape
at all.

One math guru I spoke to said it's not doable with coordinate data anyway,
only statistical data. I hope he is incorrect.

/H

David Bovill wrote...
Maybe someone can suggest a hack :) I'm thinking something along the lines
of calculating the bezier curves for each pair of points along the curve:
this is the function I have courtesy Alejandro:

function graph_BezierLine listOfPoints, zdt
>put item 1 of  listOfPoints into x1
>put item 2 of  listOfPoints into y1
>put item 3 of  listOfPoints into xa
>put item 4 of  listOfPoints into ya
>put item 5 of  listOfPoints into xb
>put item 6 of  listOfPoints into yb
>put item 7 of  listOfPoints into x2
>put item 8 of  listOfPoints into y2
>put 0 into v1
>
>if zdt is empty then put 32 into zdt
>repeat with i = 1 TO zdt -- zdt is a integer number like 32
>   put i * 1/zdt into v1
>   put 1 - v1 into v2
>   put (x1 * (v2 * v2 * v2) + (3 * xa * v1 * v2 * v2) + (3 * xb * v1 *
> v1 * v2) + (x2 * (v1 ^ 3))) into x
>   put (y1 * (v2 * v2 * v2) + (3 * ya * v1 * v2 * v2) + (3 * yb * v1 *
> v1 * v2) + (y2 * (v1 ^ 3))) into y
>   if (x div 1 & "," & y div 1) <> last line of variablezxc then put (x
> div 1 & "," & y div 1) & CR after variablezxc
>end repeat
>
>--  if x1,y1 <> first line of variablezxc then put x1,y1 & return
before
> variablezxc
>if x2,y2 <> last line of variablezxc then put x2,y2 & CR after
> variablezxc
>put x1,y1 & CR before variablezxc
>-- put x2,y2 & CR after variablezxc
>return variablezxc
> end graph_BezierLine

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


Re: OT: Rio 2016

2009-10-02 Thread Richmond Mathewson

Andre Garzia wrote:

Hi Folks,
Just to announce that Rio won de bid for the 2016 Olympic Games. The first
ever Olympic Games to be held on south america will be help on my state.

So I think I will launch the bid for RioRevLive 2016, you can learn to code
and join the Olympic festivities :-P

Cheers and Live Your Passion (Rio Olympic Motto)
Andre

  

Congratulations!

However I do feel the Olympics have lost sight
of their original fiat and are now corrupted by
commercialism, drug-taking and other nastinesses
beyond redemption.

Let's redress  things by having a "RunRev Coding Games"
in Rio at the same time, where either individuals or
teams are each given a clean computer (i.e. containing
no RunRev code except for a copy of Studio) and a
theme for a limited time (say, 12-15 hours) in which to
create a program. We could even have a flame carried
all the way from Edinburgh fueled by Adobe Flash Cds!
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: Rio 2016

2009-10-02 Thread Phil Davis

Congratulations Andre!


Andre Garzia wrote:

Hi Folks,
Just to announce that Rio won de bid for the 2016 Olympic Games. The first
ever Olympic Games to be held on south america will be help on my state.

So I think I will launch the bid for RioRevLive 2016, you can learn to code
and join the Olympic festivities :-P

Cheers and Live Your Passion (Rio Olympic Motto)
Andre

  


--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net

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


OT: Rio 2016

2009-10-02 Thread Andre Garzia
Hi Folks,
Just to announce that Rio won de bid for the 2016 Olympic Games. The first
ever Olympic Games to be held on south america will be help on my state.

So I think I will launch the bid for RioRevLive 2016, you can learn to code
and join the Olympic festivities :-P

Cheers and Live Your Passion (Rio Olympic Motto)
Andre

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


Re: [OT] Rubber Chicken

2009-10-02 Thread Andre Garzia
lol! hail! hail!

2009/10/2 Björnke von Gierke 

> all hail the fail chicken!
>
> On 1 Oct 2009, at 22:25, Richmond Mathewson wrote:
>
>  Came across this by accident:
>>
>> http://newserver.runrev.com/home/error
>>
>
>
>
> --
>
> official ChatRev page:
> http://bjoernke.com?target=chatrev
>
> Chat with other RunRev developers:
> go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev";
>
>
> ___
> 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


[ANN] tRev Feature Friday will be next Friday

2009-10-02 Thread Jerry Daniels

Feature Friday addicts,

I have been optimizing tRev this week and will continue into next  
week. Next Friday I'll make a video showing the areas I've been working.


Thanks to our user base for their enthusiasm and support!

Best,

Jerry Daniels
Watch tRev - The Movie
http://reveditor.com/trev-the-movie
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] Rubber Chicken

2009-10-02 Thread Björnke von Gierke

all hail the fail chicken!

On 1 Oct 2009, at 22:25, Richmond Mathewson wrote:


Came across this by accident:

http://newserver.runrev.com/home/error




--

official ChatRev page:
http://bjoernke.com?target=chatrev

Chat with other RunRev developers:
go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev";

___
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: Smoothing a curve: bezier curves, b-splines and Alejandro's PenTool Script

2009-10-02 Thread David Bovill
2009/10/2 Alejandro Tejada 
>
> Alejandro Tejada wrote:
> David, i still hope that, later along the road,
> RunRev add directly to the engine, svg properties
> to vector graphics and create functions to
> transform them.

Sure it will come - just not this week :)

Still I am thinking it can't be that hard / there must be an easy to knock
up hack to:

interpolate points along a b-spline
guess a reasonable fit b-spine from a series of regular rev based control
points

I get returned from one data source b-splines that look like this:

where spline = (endp)? (startp)? point (triple)+
> and triple = point point point
> and endp = "e,%f,%f"
> and startp = "s,%f,%f"
> If a spline has points p1 p2 p3 ... pn, (n = 1 (mod 3)), the points
> correspond to the control points of a B-spline from p1 to pn. If startp is
> given, it touches one node of the edge, and the arrowhead goes from p1 to
> startp. If startp is not given, p1 touches a node. Similarly for pn and
> endp.
>

How would these triples relate to the work you've done?
___
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


Looking for a portable Linux version of revMedia 4

2009-10-02 Thread Alejandro Tejada
Hi all,

Recently i have been testing revWeb plugin and revMedia 4 in
Puppy Linux 4.3 and noticed that, at least in my setup, they
do not work at all. Maybe the video card have part of the
culprit or the video drivers used in this version of Puppy.

Does someone have created a portable version of revMedia 4
that i could copy in a Pendrive and test with different live
versions of Linux (running directly from the CD)?

Thanks in advance.

alejandro


  
___
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: Smoothing a curve: bezier curves, b-splines and Alejandro's PenTool Script

2009-10-02 Thread Alejandro Tejada
Alejandro Tejada wrote:
> Actually, i was not able to port the postscript code to revtalk,
> but surely you had the math skills do it. :-)

Last line should be:
you had the math skills to do it. :-)

David, i still hope that, later along the road,
RunRev add directly to the engine, svg properties
to vector graphics and create functions to
transform them.

Have a nice day!

alejandro


  
___
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