Re: Is it possible to change the revlet embed html?

2009-12-05 Thread Dom
J. Landman Gay  wrote:

> I've done that here: 
> 
> The UUID is the same for both, I didn't change that. What's important is
> the instanceID. That must be the same for all stacks that need to talk
> to each other on the same page.

Gosh! I think I should have remembered _the frog_ ;-)))

OK, I made a more thorough reading...
the interesting trick is that the revlet is a mainstack with a substack

I did ignore that a substack could so be revealed in a revlet!
so, the communication between the "two" revlets resorts to normal
communication between a substack and its mainstack ;-)

So, a step further, how to make two _independent_ revlets communicate?

-- 


___
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 OS X HD Partitioning, multiple OSs

2009-12-05 Thread Pierre Sahores

Hi Jim,

Have an eye to Sun VirtualBox 3 (free), as a possible alternative to  
WMware. I switched from Parallels and never went back to it nor  
WMware. Run faster and safer than Parallels and never crashes.


MBP Pro first gen (32 bits) -  OS X 10.5.8 - 2 Go RAM - 300 GB 5400 t/ 
mn HD


Win 2000 Pro (directly stored as a 10 Go file inside the standard  
journalised OS X file system)
Win XP Pro (directly stored as a 16 Go file inside the standard  
journalised OS X file system)
Ubuntu 8 (directly stored as a 10 Go file inside the standard  
journalised OS X file system)


No need to format separate partitions.

Best,

Pierre

Le 5 déc. 09 à 06:30, jim sims a écrit :


I might be getting a 13" 160 GB  MacBook Pro

I'm thinking of using VMware Fusion to add at least one version of  
Windows or maybe more. This will hopefully be my travel machine that  
I want to use for development while away, so I'd like to get all I  
might need in it.


I usually don't have tons of music, movies, and stuff on my machine  
so I think the 160 GB should do.


What have other people done with their machines?

What OS(s) have you loaded - XP, Vista,Windows 7?

If Linux, what flavor might be the best/most common to develop for?

How did you partition it? What sizes for each?

What would you do differently if they did it over again (likely the  
most informative question/answer!)?


TIA
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



--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.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: Code Samples/Comparisons

2009-12-05 Thread René Micout
Mark,
run(pNum) = empty
So I write empty to file (text file) !?
And RunRev crash... :—(
René

Le 5 déc. 2009 à 03:36, Mark Wieder a écrit :

> Jacque-
> 
> Friday, December 4, 2009, 6:08:20 PM, you wrote:
> 
>> There's this too:
> 
>>   put 255 into bits
>>   put 128 into bits
> 
>> I don't understand what the math does, but I think at least one of those
>> lines is redundant. ;)
> 
> Dang! Another typo. Should be
> 
>  put 255 into bits
>  put 128 into bit
> 
> ...and believe me, if I had written the original algorithm I wouldn't
> have chosen those variable names. Unfortunately, correcting that part
> of the code doesn't really affect the total timing. Still takes on the
> order of 25 minutes to run it here.
> 
> -- 
> -Mark Wieder
> mwie...@ahsoftware.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

___
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: Code Samples/Comparisons

2009-12-05 Thread Dave Cragg

On 4 Dec 2009, at 16:23, Kevin Miller wrote:
> We will continue to work on finding good ways to realistically and clearly
> make the case for revTalk. It is very good news that there is now a debate
> going on.

I can't argue with that. But I wonder if code comparisons will lead to any 
fruitful conclusions. They often seem removed from the practical tasks we are 
trying to perform. For example, the Rev code example used in the pdf:

get last item of line 2 of url 
"http://ichart.finance.yahoo.com/table.csv?s=RBS.L";

In what circumstances would you ever need to use this. The url returns over 
1700 lines of text, and so many questions are raised:

-- Why would you download so much data just to get a single item?
-- How do you know you want the second line? (OK, I realise it's the most 
recent data item, but it's a special case, and relies on the data always coming 
back in the right order.)

What if the task was to download the data and display it in a line graph, with 
a dropdown menu that allowed you to filter for different months/years/etc.? 
Would this be easier in Rev than other environments? That would be a good 
comparison and would show off more of Rev's capabilities.

Here's another comparison. In this case the task is just to put some text in a 
text field. RevTalk compared with Action Script.

put "Hello World" into field "myTextField"
myTextField.text = "Hello World"

We could argue all day about which is easier to write/read/understand. But for 
me, a bigger question is what is involved in getting the text field in the 
window in the first place. And how easy is it to set up and use. This is where 
Rev shines. Drag a field and a button off a palette, enter your script, and 
click the button. Easier than writing an email. Even a maths professor could do 
it.

I still remember the "build an application while holding your breath" 
performance from some years ago. I think it made the point much better than any 
amount of code comparison.


Cheers
Dave___
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: Code Samples/Comparisons

2009-12-05 Thread Richmond Mathewson

I haven't stuck my oar into this discussion until now as
I was interested which way it would go.

My view may be a bit different to most of the "real programmers"
who have offered views and code examples.

I am not a "real programmer" insofar as I do not depend on programming
for my bread and cheese, and have never had to. I have not touched any
programming language other than Metacard/RunRev since 2001.

I think that comparing:

length of code samples

is a bit silly: "It's not the size that matters, it's how you use it."

AND, surely, the first and foremost point to be made about RunRev
is that little boys and girls (8-11 years old) can produce something
that works and is not a Powerpoint clone in half-an-hour (I have
seen it happening right here in my school). Teachers and other
non-programmers can, very quickly, assemble "programs" / "applications"
/ "thingies" / "widgets" to do what they want to do without having to
either hire a computer specialist or spend donkey's ages on a
programming course.

Runtime Revolution is all about empowerment; it should not be
compared with C++ and so forth, because they are 2 different
creatures. C++ lives in an aquarium, nurtured by trained zookeepers:
RunRev is like my cat - much more cuddley and approachable, and
doesn't need lots of fancy care and food.

One of the things that the lecturers at Abertay University (where I did
an MSc, for my sins) kept rambling on about was that programmers had to
become sensitive to the needs of specialists in other areas they would
be working for. Forget the "sensitive" programmer; RunRev can
"sensitise" almost anyone to doing the job themselves.

The other day, having read some of the postings in this thread I cracked
open Richard Bannister's Mac port of the Horizon emulator of the BBC
and "did a bit of BASIC" - all great, sentimental fun, and all that, but
nothing quite beats the WYSIWYG of the RunRev IDE. You can keep
your command-line languages with funny syntax!

Those who want the command-line languages with funny syntax, and who
have ego problems that need to be buttressed up by their being "real
programmers" will always be like that. Let's just let them get on with
their thing: ultimately RunRev (or something very similar) will be used
by far more people to do far more creative things.
___
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: Code Samples/Comparisons

2009-12-05 Thread Bernard Devlin
I agree with Richmond.   But then I'm someone who doesn't understand
why RunRev has devoted resources to on-rev and the plugin when things
like unicode and quicktime integration are still broken.

I think that the true strength (and uniqueness) of Rev lies in
fat-client development.  Of course the tiny size of the engine makes
the plugin possible, and the fact that revTalk works without a GUI
makes the serverside code possible.  But those are both areas in which
Rev is facing long-established competitors.

But in this day of youtube and lynda.com, it seems a mistake to not
have videos on the runrev website demonstrating the point Richmond is
making.

In fact, in the code comparison pdf, the Rev line of code is so small
it is actually possible to fail to see it (I did) and to concentrate
on the other languages instead.  To someone who was not paying
attention, they might think that the code samples in Java etc. are
actually representative of programming in Rev.  We might recognize the
difference between revTalk and Java - a novice won't know.

The thing that Runrev needs to remember is that the number of
non-programmers vastly outweighs the number of professional
programmers.  It is question of reaching those people and letting them
know what is possible.  That is why the opinions of people on slashdot
and the serverside are irrelevant.  If people were expecting on-rev to
be the new ruby on rails, they were setting themselves up for
disappointment.

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


Re: Code Samples/Comparisons

2009-12-05 Thread David Bovill
2009/12/5 Bernard Devlin 

>
> I think that the true strength (and uniqueness) of Rev lies in
> fat-client development.  Of course the tiny size of the engine makes
> the plugin possible, and the fact that revTalk works without a GUI
> makes the serverside code possible.  But those are both areas in which
> Rev is facing long-established competitors



> 
>


> The thing that Runrev needs to remember is that the number of
> non-programmers vastly outweighs the number of professional
> programmers.  It is question of reaching those people and letting them
> know what is possible.  That is why the opinions of people on slashdot
> and the serverside are irrelevant.  If people were expecting on-rev to
> be the new ruby on rails, they were setting themselves up for
> disappointment.
>

True - but not the right way round IMO. To get new people into the language
(at this point in internet history), you need to give them tools to do what
they want to do. The fact is very few people want to make desktop
applications or fat clients (ok relatively few). Most kids if they want to
make anything it is a web site, a plugin for Facebook, or a game. The target
audience you are talking about is pre-Web2.0 and pre-easy to author game
IDE's - people have (except for a niche market) moved their focus away for
desktop/fat clients and onto these other areas now.

What it makes sense for RunRev to target is people who want to do the above,
but are put off with the intelligibility of the programming languages they
need to learn to do that. The second thing they need to do is make these
same people feel that learning to do it the RunRev way will help them move
into "the real thing" - that is making popular commercial or non-profit
games, web sites.

RunRev is in a good position to meet the first demand with the server side
scripting language, and the plugin, but it is a bit harder to see how they
are effectively addressing the second.
___
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


request and post

2009-12-05 Thread Thomas McGrath III
I was playing around with TileStack again and noticed in these two  
separate stacks a "request" command and a "post" command. I was  
wondering what the equivalent would be for revLets?


on openTile
deleteAllStoryParts
put "tilestack" into query
put tile field "API Key" into appkey
set the itemDelimiter to " "
request "json" ("http://services.digg.com"; & (item 1 of the  
selectedText of tile button "Endpoints") & "?type=json&appkey=" &  
appkey) diggCallback

end openTile

on mouseUp
put tile field "Username" of tile "Settings" into username
put tile field "Password" of tile "Settings" into password
post "xml" ("http://twitter.com/statuses/update.xml?status="; &  
field "Tweet") username password tweetSentCallback

go to tile "Sending"
end mouseUp


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: Importing data into RevDB

2009-12-05 Thread Thomas McGrath III
I'm sure others have known about this but I feel like someone just  
turned on a giant light bulb in my head. This is the single best thing  
I have learned this year...


set the linedelimiter to comma
set the itemdelimiter to quote

I am just amazed...

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 Dec 4, 2009, at 5:02 PM, David Coker wrote:


normally, csv is a pain in the ass, but Rev tokens trump that ;)

you can set the linedelimiter to comma, and the itemdelimter to  
quote.

then you could do something similar to this (great for not having to
make special cases for the particular field being empty, lacking
quotes, etc.):

set the linedelimiter to comma
set the itemdelimiter to quote
repeat for each line theLine in theCSV
 put item 1 to -1 of line theLine into theData
 --do stuff with data here
end repeat



Hello Björnke,
That is an awesome idea, well worth pursuing...


normally, csv is a pain in the ass, but Rev tokens trump that ;)


I sure can't argue that point.

Most of what I do with Rev involves processing text of some sort and  
when considering the simplicity of Rev, I have yet to find anything  
that even comes close to it for parsing text. I've found that my own  
lack of knowledge and understanding are the weak links around here. ;)


Thank you so much for the help,

David C.
___
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: Do you remember Unicode?

2009-12-05 Thread Kenji Kojima
I should correct my words. 
We can use Unicode functions. 
http://www.runrev.com/developers/lessons-and-tutorials/tutorials/unicode-in-revolution/

However We cannot make "Unicode Application".
• Unicode Application must have unicode menus.
• Unicode Application must open a unicode name document.
• Unicode Application must save a unicode name document.

I really wish RunRev Ltd. will fix them before Version 5.

Thanks,
--
Kenji Kojima
http://www.kenjikojima.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 OS X HD Partitioning, multiple OSs

2009-12-05 Thread Bill Marriott
Your main choice is to Boot Camp or not to Boot Camp. Your second choice is 
which virtual machine product to use.


If you Boot Camp, you gain the advantage that you can reboot your Mac into 
Windows natively. This has performance and compatibility benefits, 
especially with games that use hardware acceleration.


However you do have to give up hard disk space to the Boot Camp 
installation, which can be tricky to resize if you don't have a utility that 
will preserve the partition contents when resizing them. So give it as much 
space as you can reasonably justify. (I gave mine 80GB out of 320GB.)


You also lose the ability to do "snapshots" of the Windows OS, which both 
leading virtual machine products support. (Snapshots let you muck around 
with the guest OS and then revert it to its previous state painlessly.)


If you have more than 2GB or RAM, and you decide to Boot Camp, you should 
absolutely use Windows 7 Professional 64-bit or you will not be able to 
utilize all your RAM. [You're unlikely to give Windows more than 2GB RAM 
under a virtual machine.] Otherwise you could get away with Windows XP 
Professional or 32-bit Windows 7 Professional. Get an "OEM" version to save 
money. You need Professional or better to satisfy Microsoft licensing for VM 
use, and to get a decent feature set. Don't waste your time with Vista.


Parallels is decidedly faster than VMware (verified personally and by a few 
in-depth reviews out there). It offers the Aero interface from within the 
Mac (pretty), and a new presentation option I like called Crystal. Both 
products are reportedly somewhat slower with Boot Camp partitions than with 
their own virtual ones. I've tried VirtualBox and it completely munged up 
one of my Linux partitions before ... only has to happen once.


The Parallels support for Linux is a bit nicer than VMware's, and it's 
easier to install their "virtual machine additions" as well. I have tried 
both. VMware has a nasty habit of breaking your sound card support or mouse 
wheel or worse when it updates itself. This can be maddening to resolve 
unless you know Linux inside and out. I own both but use only Parallels now.


You should probably go with Ubuntu, as it's recognized as the leading 
distro.


If you never will run a Windows game or develop 3D applications with Rev, 
and will use Windows only occasionally, then the decision is easy: don't 
Boot Camp. This will eliminate the need for partitioning, give you the 
maximum usage of hard disk space for the Mac, and run more than well enough 
for most purposes.


- Bill

"jim sims"  wrote in message 
news:34483903-4ce5-43e9-90cf-c9f90470d...@ezpzapps.com...

 I might be getting a 13" 160 GB  MacBook Pro

I'm thinking of using VMware Fusion to add at least one version of 
Windows or maybe more. This will hopefully be my travel machine that I 
want to use for development while away, so I'd like to get all I might 
need in it.


I usually don't have tons of music, movies, and stuff on my machine so  I 
think the 160 GB should do.


What have other people done with their machines?

What OS(s) have you loaded - XP, Vista,Windows 7?

If Linux, what flavor might be the best/most common to develop for?

How did you partition it? What sizes for each?

What would you do differently if they did it over again (likely the  most 
informative question/answer!)?


TIA
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



___
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: Code Samples/Comparisons

2009-12-05 Thread Colin Holgate

On Dec 5, 2009, at 5:48 AM, Dave Cragg wrote:

> In what circumstances would you ever need to use this. The url returns over 
> 1700 lines of text, and so many questions are raised:
> 
> -- Why would you download so much data just to get a single item?

There isn't a choice about that, in any language. By giving the RBS code you've 
already reduced the list down from all companies to just one, but beyond that 
you would have to have another online script dedicated to extracting the most 
recent date to cut the returned text down the one line.


> -- How do you know you want the second line? (OK, I realise it's the most 
> recent data item, but it's a special case, and relies on the data always 
> coming back in the right order.)

The data always comes back in the right order.


___
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 OS X HD Partitioning, multiple OSs

2009-12-05 Thread Colin Holgate

On Dec 5, 2009, at 9:51 AM, Bill Marriott wrote:

> Parallels is decidedly faster than VMware (verified personally and by a few 
> in-depth reviews out there). It offers the Aero interface from within the Mac 
> (pretty), and a new presentation option I like called Crystal


I own both, and switched to Fusion a while ago because I had given up hope of 
Parallels ever being fast enough. But then I was using Vista under Parallels, 
so that's probably not the most ideal test, XP would probably work better. With 
Fusion I'm using 32 bit Windows 7.

Fusion does support Aero now, and also has the menu bar icon that gives the 
Crystal like features.

I am tempted though to buy the Parallels 5 upgrade, to see if they've gained 
some speed back with their Windows 7 support, but I'm not sure where my 
Parallels 4 serial number is! Also, there would be the whole conversion of the 
VMWare files back to Parallels to cope with, and you have to re-authenticate 
Windows 7 with Microsoft (the system thinks you've changed the processor in 
your machine, which is a bit like copying the system to another PC, and that's 
not allowed). If it could all be a bit easier, I would happily have both 
programs installed, and then use whichever one was best for a given task.

The main advantage of Fusion and Parallels over Boot Camp is that you can carry 
on running your Mac apps, and can be dragging data directly between Mac OS and 
Windows, or directly opening a Mac document in a Windows application, while 
running Mac OS.___
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 OS X HD Partitioning, multiple OSs

2009-12-05 Thread Colin Holgate
I went ahead and ordered the Parallels 5 upgrade. I ordered the boxed version, 
hopefully I can find my old serial number by the time the box arrives!


___
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 OS X HD Partitioning, multiple OSs

2009-12-05 Thread Richard Gaskin

jim sims wrote:


  I might be getting a 13" 160 GB  MacBook Pro

...

What have other people done with their machines?

What OS(s) have you loaded - XP, Vista,Windows 7?

If Linux, what flavor might be the best/most common to develop for?

How did you partition it? What sizes for each?

What would you do differently if they did it over again (likely the  
most informative question/answer!)?


Congrats on the new system.

FWIW, I use Parallels because I love being able to keep OS X running and 
share files, the Clipboard, etc. between them.  If you need native speed 
Bootcamp is hard to beat, but for VMs Parallels is pretty good.


I keep the most popular version of each OS family installed on my MBP:

- Win XP (still at 62%, with Vista at 17.5% and 7 at 6.5%


- Ubuntu - probably the leader for consumer Linux installs, so it can be 
a good choice if you're interested in deploying consumer apps for the 
Linux market.


I used the default settings in Parallels for each of these which do not 
require partitioning and grow over time.  Currently my XP install is 
6.2GB and Ubuntu is 3GB here.


I also carry a portable Firewire drive in my saddlebag as one of my 
three backup volumes (with another stored at the office and a third at 
home; redundant backups contribute to a good night's sleep ), and I 
have enough spare capacity on that drive to keep Parallels volumes for 
Vista and Win 7 on it for testing as needed.


I do regularly partition my drive whenever I get a new laptop, keeping 
the previous version of OS X installed on that smaller partition for 
testing and for the security of knowing I have something else to boot 
from if the SHTF.  I also keep Disk Warrior and other utils installed on 
both partitions so I can boot from the other to do deep cleaning when 
needed.


My secondary partition is small, about 20GB; just enough for the OS, 
swap, and utils.


With the last two OS X releases I must say I've never truly needed to 
boot from the secondary partition.  Perhaps that's related to my better 
adherence in recent years to the rule that one should keep at least 12 
GB free on OS X to avoid file system errors (I once had overlapping 
files when I let the free space get below 6GB -- don't do that, ever. 
Really.  It's a serious PITA, and easily avoidable with a little 
periodic housekeeping).


I'm tempted to say that on my next laptop I may not bother with the 
extra partition, but I'm old-fashioned and it is convenient to have the 
two latest OS X releases handy for testing.



With all those OSes on your MBP you're almost set -- just three more 
accessories to complete the portability package:






After all, who wants to be stuck in a car in Rome when there's so much 
to see?


:)

--
 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: Code Samples/Comparisons

2009-12-05 Thread Bernard Devlin
David, I'll have to confess then, I just don't get it.  If that's the
new focus of RunRev then I'm not sure that a new visitor to their
website would come away with that vision.

Most of the focus of the www.runrev.com seems to be on traditional
fat-client development.  The other day I was looking at a tutorial
somewhere on their site which did seem to fit more with the vision
you're describing (it was a tutorial on using Ajax to dynamically
update a list of names on a webpage using jsquery), I remember
thinking that it seemed like so much effort, and a long way from the
way in which we are used to working in Rev.  My thought on seeing that
tutorial was that I might as well be using something else rather than
Rev to do that.

To my mind it is a mistake to think that one can compete for mindshare
with free technologies like ruby and javascript, or with entrenched
for-pay products like flash/flex/air.  As if things like php and flash
don't have enough compelling reasons to use them as technologies for
web development (open source, free, widely available, well-known,
etc.), they also have masses of books and tutorials available, and
masses of libraries/products/samples that drive and subsist in their
respective ecosystems.

Have you seen this: http://280atlas.com/what.php ?  280 North's
cappucino had rave reviews when it went public (I guess Apple
die-hards like to see obj-c boosted).  Many people are very impressed
with Atlas.  But many also balk at paying $20 or so to support its
development.  And it's not like there aren't other (maybe less
elegant) tools that allow one to generate whole Ajaxy websites from an
IDE using just one language e.g. Morfik (www.morfik.com).  But I think
even Morfik is struggling to survive, and the whole company and
technology was created with the sole aim of simplifying web app
development to just one language.

At least both Morfik and Atlas have videos demonstrating how these
tools are used prominently displayed from their front pages.

Maybe you're right that financially it is better to get a smaller
piece of a much bigger pie.  Time will tell.  Good luck to them.  I'm
glad that Rev 4.0 has received more publicity than previous releases.

Regards, Bernard

On Sat, Dec 5, 2009 at 12:43 PM, David Bovill  wrote:
> True - but not the right way round IMO. To get new people into the language
> (at this point in internet history), you need to give them tools to do what
> they want to do. The fact is very few people want to make desktop
> applications or fat clients (ok relatively few). Most kids if they want to
> make anything it is a web site, a plugin for Facebook, or a game. The target
> audience you are talking about is pre-Web2.0 and pre-easy to author game
> IDE's - people have (except for a niche market) moved their focus away for
> desktop/fat clients and onto these other areas now.
>
> What it makes sense for RunRev to target is people who want to do the above,
> but are put off with the intelligibility of the programming languages they
> need to learn to do that. The second thing they need to do is make these
> same people feel that learning to do it the RunRev way will help them move
> into "the real thing" - that is making popular commercial or non-profit
> games, web sites.
>
> RunRev is in a good position to meet the first demand with the server side
> scripting language, and the plugin, but it is a bit harder to see how they
> are effectively addressing the second.
___
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 OS X HD Partitioning, multiple OSs

2009-12-05 Thread Richmond Mathewson

Of course the cheap-jack end of the market (i.e. Richmond) does this:

Pentium III with OEM Windows XP = $100   runs headless via Microsoft 
Remote Desktop Coonexion,


Pentium 4 with Ubuntu 8.04.3 LTS & 2nd-hand VDU & keyboard = $100

6 year old G4 Mac = $52 on eBay at the moment & VDU ($10)

Can look at the Mac desktop from the Ubuntu box,

Interact directly between Mac and Windows.

---

Compared this with:

Cheapest Mac going: MacMini $599 (no keyboard, no mouse, no VDU)

Parallels 5:  $80  and / or VMWare 3:  $80

XP disk: $100 (Bulgarian price)

--

Of course an Intel Mac laptop is:

Portable,
Sexier,
and consumes less electricity.

But as I cannot afford one anyway, I'm a happy little camper
with what I have:

http://andregarzia.on-rev.com/richmond/EcoComp.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: Code Samples/Comparisons

2009-12-05 Thread Peter Brigham MD

On Dec 5, 2009, at 6:08 AM, Richmond Mathewson wrote:


I haven't stuck my oar into this discussion until now as
I was interested which way it would go.

My view may be a bit different to most of the "real programmers"
who have offered views and code examples.

I am not a "real programmer" insofar as I do not depend on programming
for my bread and cheese, and have never had to. I have not touched any
programming language other than Metacard/RunRev since 2001.

I think that comparing:

length of code samples

is a bit silly: "It's not the size that matters, it's how you use it."

AND, surely, the first and foremost point to be made about RunRev
is that little boys and girls (8-11 years old) can produce something
that works and is not a Powerpoint clone in half-an-hour (I have
seen it happening right here in my school). Teachers and other
non-programmers can, very quickly, assemble "programs" /  
"applications"

/ "thingies" / "widgets" to do what they want to do without having to
either hire a computer specialist or spend donkey's ages on a
programming course.

Runtime Revolution is all about empowerment; it should not be
compared with C++ and so forth, because they are 2 different
creatures. C++ lives in an aquarium, nurtured by trained zookeepers:
RunRev is like my cat - much more cuddley and approachable, and
doesn't need lots of fancy care and food.

One of the things that the lecturers at Abertay University (where I  
did
an MSc, for my sins) kept rambling on about was that programmers had  
to

become sensitive to the needs of specialists in other areas they would
be working for. Forget the "sensitive" programmer; RunRev can
"sensitise" almost anyone to doing the job themselves.



I second this, as another "amateur" who has a full-time non- 
programming job. Here's an excerpt from the intro to the help text for  
the stack system I use to manage a psychopharmacology practice:



Most software is developed by IT people who are technically proficient  
in their own field but have no detailed understanding of the actual  
day-to-day needs of the end user, especially if those needs are  
specialized and context-sensitive. As a result, such software is  
generally non-intuitive and somewhat clumsy to use and has annoying  
gaps in its functionality. ("Dammit, I should be able to just click a  
button and") By contrast, Psychopharmica has been developed by a  
psychopharmacologist over the course of almost two decades of daily  
use in a very active psychopharm practice and has been refined and  
adjusted for maximum flexibility and functionality by someone who  
knows what is needed for streamlined comprehensive documentation and  
clinical management.


Created originally in Hypercard and further developed using Runtime  
Revolution, a cross-platform XTalk environment. RunRev allows  
switching from run mode to editing mode on the fly, which has enabled  
me to tweak, debug, and add useful features even as I continue to use  
the database daily in my practice. I developed Psychopharmica simply  
in order to make my own life easier -- basically, every time I wished  
I could just click a button to do something, I tried to find a way to  
build it in



Eventually I hope to release this in standalone form and see if I can  
market it -- for now I run the thing in the IDE and there is one other  
psychopharmacologist in the group using it as well, possibly more to  
come. Over the years it has grown in flexibility and sophistication,  
providing very context-sensitive options that depend heavily on text  
parsing -- right-click on a medication entry to print a prescription,  
right-click on a procedure code to change the procedure, right-click  
on an address to print an envelope or start a letter, right-click on a  
fax number to print a fax cover sheet, lots of forms that get filled  
in automatically from patient data at the click of a button, automatic  
tracking of medication history & prescriptions written, built-in self- 
updating medication database, alerts you if you try to prescribe  
something the patient is allergic to, reminders to get lab work done,  
etc., etc. Now over 26,000 lines of scripting, works fast as lightning  
-- and I can revise and debug it daily.


The strength of RunRev is that it is entirely feasible for an  
interested amateur to create (and refine and update) an extremely  
powerful customized tool for a niche use. Look at the NASA Landsat 7  
example in the Rev case studies. I suspect people like that NASA  
administrator and me are an important market, since there is nothing  
else comparable that is accessible to the moderately intelligent non- 
IT professional.


-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig


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

Re: Code Samples/Comparisons

2009-12-05 Thread Dave Cragg

On 5 Dec 2009, at 15:09, Colin Holgate wrote:

> 
> On Dec 5, 2009, at 5:48 AM, Dave Cragg wrote:
> 
>> In what circumstances would you ever need to use this. The url returns over 
>> 1700 lines of text, and so many questions are raised:
>> 
>> -- Why would you download so much data just to get a single item?
> 
> There isn't a choice about that, in any language. By giving the RBS code 
> you've already reduced the list down from all companies to just one, but 
> beyond that you would have to have another online script dedicated to 
> extracting the most recent date to cut the returned text down the one line.

But there's another API method for returning a single quote: 
(http://download.finance.yahoo.com/d/quotes.csv?s=RBS.L&f=l1) This wouldn't 
require any chunking expression at all. (get url 
"http://download.finance.yahoo.com/d/quotes.csv?s=RBS.L&f=l1";) But it also 
wouldn't require much of the code in the other languages.

My point was that the one liner used in the example didn't represent a real 
world task, and therefore is in danger of being ridiculed.  If we are to 
propose comparisons, it shouldn't be along the lines of this:

How would you do the following in Java/C/etc?

get last item of line 2 of url 
"http://ichart.finance.yahoo.com/table.csv?s=RBS.L";

but rather, 

How would you get and display the latest stock price for RBS.L from the 
internet in Rev/ Java/C/etc?

Dave___
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: Is it possible to change the revlet embed html?

2009-12-05 Thread Dom
Dom  wrote:

> OK, I made a more thorough reading...
> the interesting trick is that the revlet is a mainstack with a substack
> 
> I did ignore that a substack could so be revealed in a revlet!
> so, the communication between the "two" revlets resorts to normal
> communication between a substack and its mainstack ;-)
> 
> So, a step further, how to make two _independent_ revlets communicate?

I tried with two stacks -- the first trying to write some data to a text
file, and the second to read the text file

it was impossible to show two revlets on the same page ;-<
even with two different (or identical) instanceIDs

moreover, it seems that a revlet cannot write a text file onto the
server!
I tried first assuming that the standard was that the file is written by
default in the directory (as for .html files)
I tried next with the Rev default (to fix "the directory" to the folder
where the revlet resides): no luck

in the end I tried to replicate the example given by Jacque, with a
simple stack with a substack: I cannot see the two instances, i.e. I see
only the mainstack!
I ensured myself I did operate in exactly the same way: no luck!

I am scratching my head...




___
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: Code Samples/Comparisons

2009-12-05 Thread Colin Holgate

On Dec 5, 2009, at 12:30 PM, Dave Cragg wrote:

> How would you do the following in Java/C/etc?
> 
> get last item of line 2 of url 
> "http://ichart.finance.yahoo.com/table.csv?s=RBS.L";
> 
> but rather, 
> 
> How would you get and display the latest stock price for RBS.L from the 
> internet in Rev/ Java/C/etc?


The significant thing in Rev is that you can get the thing you want in one 
line. With other languages you have to dispatch a request for the URL, set up a 
listener for when it's come back, then handle the contents of the event. Doing 
it that way does make it more asynchronous, you're not halting everything else 
for the time it takes to get the text back, but it is several more steps to 
deal with.


___
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: Code Samples/Comparisons

2009-12-05 Thread Mark Wieder
Bernard-

Saturday, December 5, 2009, 8:34:31 AM, you wrote:

> Have you seen this: http://280atlas.com/what.php ?

Wow - a geometry manager that works. What a concept...

--
-Mark Wieder
 mwie...@ahsoftware.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


Re: Code Samples/Comparisons

2009-12-05 Thread Bruce Robertson

On Dec 5, 2009, at 10:12 AM, Colin Holgate wrote:

> 
> On Dec 5, 2009, at 12:30 PM, Dave Cragg wrote:
> 
>> How would you do the following in Java/C/etc?
>> 
>> get last item of line 2 of url 
>> "http://ichart.finance.yahoo.com/table.csv?s=RBS.L";
>> 
>> but rather, 
>> 
>> How would you get and display the latest stock price for RBS.L from the 
>> internet in Rev/ Java/C/etc?
> 

Applescript:

set AppleScript's text item delimiters to ","
item -1 of text items of paragraph 2 of (do shell script "curl 
http://ichart.finance.yahoo.com/table.csv?s=RBS.L";)___
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


problem with sending functions to other cards over riding message path

2009-12-05 Thread william humphrey
If you do this in the background script of one stack:

   *put* "anytext" into tDataHolder



   *get* value("PutMyData(tDataHolder)", card "consignee_card" of stack
"Consignees" of stack "clients")


and in the card "consignee_card" of another stack -- there is this:


*function* PutMyData pDataHolder

   *put* pDataHolder into fld test

*end* PutMyData

The result will  be "pDataHolder" in the fld "test" because something in the
"get value" is wrecking the "tDataHolder" variable.

Can anyone help. I need to do this because I'm using a DataGrid and I found
out that you can't

*set* the dgData of *group* "g_theConsigneeList" of card "consignee_card" of
 stack "Consignees" of stack "clients" to theDataArray

and that you can only set the dgData of a DataGrid if the script is in the
background of the same stack or in the card so I'm doing that but I need to
send parameters form another stack to that stack where the DataGrid is and
the message path is driving me crazy!

Thanks for your help.
___
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 OS X HD Partitioning, multiple OSs

2009-12-05 Thread Roger . E . Eller
On 12/05/2009 at 01:30 PM, Colin Holgate wrote:

> The main advantage of Fusion and Parallels over Boot Camp
> is that you can carry on running your Mac apps, and can
> be dragging data directly between Mac OS and Windows, or
> directly opening a Mac document in a Windows application,
> while running Mac OS.

You can still do all of this if your Windows is installed in the BootCamp
partition. Both Parallels and Fusion will boot from a BootCamp partition.
One thing you gain with this approach is if there is an occasion that you
need full hardware support for a Windows app, you can boot Windows
natively. The speed of running natively is a pretty dramatic difference.
Also, you won't have to keep converting your hd file between Parallels and
Fusion. They will both comfortably use the same BootCamp partition (not at
the same time of course).

Roger Eller 


___
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: Code Samples/Comparisons

2009-12-05 Thread Dave Cragg

On 5 Dec 2009, at 18:12, Colin Holgate wrote:

> 
> On Dec 5, 2009, at 12:30 PM, Dave Cragg wrote:
> 
>> How would you do the following in Java/C/etc?
>> 
>> get last item of line 2 of url 
>> "http://ichart.finance.yahoo.com/table.csv?s=RBS.L";
>> 
>> but rather, 
>> 
>> How would you get and display the latest stock price for RBS.L from the 
>> internet in Rev/ Java/C/etc?
> 
> 
> The significant thing in Rev is that you can get the thing you want in one 
> line. With other languages you have to dispatch a request for the URL, set up 
> a listener for when it's come back, then handle the contents of the event. 
> Doing it that way does make it more asynchronous, you're not halting 
> everything else for the time it takes to get the text back, but it is several 
> more steps to deal with.

Yes, but a litigious ActionScript scripter using Adobe's Flex might argue you 
can also do the above task with a single line of code, indeed a shorter one. 
(myHttpService.send() ) So long as the contest rules don't include XML 
descriptions of objects in the definition of code. (In Flex, you can use XML to 
define a programs's layout, and also bind text fields to the results of http 
calls, so no listener is necessary.) But it doesn't mean it's any easier to do 
in Flex overall. Just the opposite, I'm sure.

I just don't think that pure code comparisons provide accurate comparisons of 
what's involved. And can perhaps deflect attention from the benefits of using 
Rev. With the stock quote example, I can open Rev, write my script and see the 
result without saving a single file.  I'd even be willing to write a few more 
lines of code in Rev if it was required rather than sacrifice the overall 
simplicity of completing the task in hand.

Cheers
Dave___
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 OS X HD Partitioning, multiple OSs

2009-12-05 Thread Bill Marriott

Roger,


Also, you won't have to keep converting your hd file between Parallels and
Fusion. They will both comfortably use the same BootCamp partition (not at
the same time of course).


This led to great unhappiness last time I tried it, and constant 
re-activation of Windows, as well.


- Bill 



___
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: Importing data into RevDB

2009-12-05 Thread Kay C Lan
David,

Prior to exporting from Excel, do a Repace All 'tabs' with "" and
replace all line breaks with "lblblblb" (obviously you can use any number of
and combination of characters that you are confident will never appear in
the data). Then export it as tab delimited.

Every line of the resulting file will represent a row of data
Everything between tabs will be a column

Extremely easy to parse then with Rev, and just prior to sending the data to
it's final destination you reinsert the tabs and linefeeds.

HTH


On Fri, Dec 4, 2009 at 12:46 PM, David Coker  wrote:

> Hello folks,
> I'm in the planning stages of a possible new app which will include
> populating a Rev Database (SQLite) primarily from a standard Excel based CSV
> file. What I've run into while doing some research is that that format seems
> leaves a lot to be desired. It seems that the CSV data that I'll be working
> with has all kinds of spurious line breaks and such embedded, so converting
> to a tab delimited format doesn't work well.
>
> Does anyone have any suggestions as to how to make something like this
> reliable as far as maintaining record integrity during import?
>
> Best regards,
> David C.
> ___
> 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 OS X HD Partitioning, multiple OSs

2009-12-05 Thread Neal Campbell
There is indeed an alternative to just bootcamp or VMs, for Intel macs (not
G4/5s) called rEFIt.

Unlike Windows, Intel macs use a boot architecture called EFI. You can
overwrite that with an open source product called rEFIt that boots into a
screen that is similar to holding down the option key when you boot up. It
will let you select Windows, OSX, Linux drives to boot (or try to boot)
from.

I have been using it on my Mac Pro for 3+ years with not a single hiccup but
your mileage might vary.

Neal Campbell
Abroham Neal Software
www.abrohamnealsoftware.com
(540) 242 0911n Sat, Dec 5, 2009 at 2:39 PM, Bill Marriott wrote:

> Roger,
>
>
>  Also, you won't have to keep converting your hd file between Parallels and
>> Fusion. They will both comfortably use the same BootCamp partition (not at
>> the same time of course).
>>
>
> This led to great unhappiness last time I tried it, and constant
> re-activation of Windows, as well.
>
> - Bill
>
> ___
> 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: Code Samples/Comparisons

2009-12-05 Thread Kay C Lan
On Sat, Dec 5, 2009 at 11:31 AM, Dave Cragg wrote:

>
> I just don't think that pure code comparisons provide accurate comparisons
> of what's involved. And can perhaps deflect attention from the benefits of
> using Rev. With the stock quote example, I can open Rev, write my script and
> see the result without saving a single file.  I'd even be willing to write a
> few more lines of code in Rev if it was required rather than sacrifice the
> overall simplicity of completing the task in hand.
>
> Whilst this might be true, the problem is that anything beyond simple code
comparisons is so bloated it's virtually a Tutorial. The purpose of such
'gimmicks' is to tweak the interest enough to actually spend the time to do
a Tutorial, to create that first programme.

I tend towards focusing on the intelligent non-programmer, the cases
mentioned about NASA and psychopharm being perfect examples. These are the
people I'd point to specific code example from online tutorials for other
languages, and then to the equivalent in a Rev online tutorial - the pdf
version obviously being extracts but having a clear bibliography. I have
enough confidence that the cryptic nature of other languages would leave
most people scratching there heads, and whilst they may not understand any
better what the Rev equivalent code is doing, there is enough comfortable
English there that given the choice of which Tutorial to actually spend
their time with, they'll choose Rev. That's when they'll be pleasantly
surprised by all the other benefits of Rev.

Use examples that other languages are using, be confident to point people to
your competitors tutorials, have the same examples in your own tutorials,
then let them choose which tutorial they want to do.

Easy.
___
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: Code Samples/Comparisons

2009-12-05 Thread Alejandro Tejada

Hi Kay,


Kay C Lan wrote:
> 
> Use examples that other languages are using, be confident to point people
> to
> your competitors tutorials, have the same examples in your own tutorials,
> then let them choose which tutorial they want to do.
> Easy.
> 

Actually, i like this approach.
In this way, every person will be able to evaluate,
in first place, their area of interest.

But, I must beg your pardon if I look overly insistent
of the following topic:

Most of the computer users could produce and publish
content using RevMedia, but just a few will give the
additional steps to become full fledged programmers.
RevMedia needs interfaces (palettes, Dialogs, Wizards, etc.) 
for common authoring task.

We, as developers, do not find too difficult all these tasks,
but for others (non developers) it's a big NO-NO to type
scripts or commands to accomplish what they do using
a Graphical User Interface in other software programs.

Alejandro
-- 
View this message in context: 
http://n4.nabble.com/Rev-4-0-article-on-TheServerSide-tp933211p949396.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: request and post

2009-12-05 Thread J. Landman Gay

Thomas McGrath III wrote:
I was playing around with TileStack again and noticed in these two 
separate stacks a "request" command and a "post" command. I was 
wondering what the equivalent would be for revLets?


It should be the same as always, though I haven't tested it from a revlet:

(for requests):
get url "http://whatever.com/"&; fld "whatever"
put it

(for posts):
post "myData" to url "http://whatever.com/";
put it -- the server response

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


Re: Importing data into RevDB

2009-12-05 Thread Jim Ault

On Dec 5, 2009, at 5:24 AM, Thomas McGrath III wrote:

I'm sure others have known about this but I feel like someone just  
turned on a giant light bulb in my head. This is the single best  
thing I have learned this year...


set the linedelimiter to comma
set the itemdelimiter to quote



I am just amazed...



A note of caution when using this.
The chunking rules for Rev are that a line can contain items, but  
items cannot contain lines.

Lines can contain items, items contain words.
  wrong =  line 6 of item 4, no matter the delimiter

Not all functions obey a new setting.
Filter does not follow the linedelimiter, and always uses CR, as does  
Sort.


  wrong  = set the worddelimiter to comma
... since the Rev definition for a word delimiter is white space, not  
a single character.


I have found this useful on occasion when extracting data (such as CSV  
and html) to handle 'embedded returns' in order to keep logical groups  
of amorphous data together.  Another use is to demark field content as  
lines such as


write the contents of the fields of a card to a text file

set the lineDel to "^"
put field "Title" into outputBuffer
put field "Description" into line 2 of outputBuffer
put field "Inventory" into line 3 of outputBuffer
put field "Prices" into line 12 of outputBuffer
set the lineDel to cr
put outputBuffer into url ("file:" & aPath & aFilename)

Also as a utility function to make a run of characters.
put characterString("*", 25) into line 2 of field "studentNotes"
put characterString(space, 10) after line 6 of field "studentNotes"

function characterString charToUse, stringLength
   set the lineDel to charToUse
   put charToUse into line stringLength of tempp
   return tempp
end characterString
   -- now that we are leaving this function
   -- the lineDel setting evaporates
   -- it only applies to this function
   -- the same way itemDel behaves
The same thing can be done with itemDel

   set the itemDel to "^"
   put "^" into item 25 of tempp
   set the itemDel to comma

Hope this helps,

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


Re: Is it possible to change the revlet embed html?

2009-12-05 Thread J. Landman Gay

Dom wrote:

So, a step further, how to make two _independent_ revlets communicate?


I tried with two stacks -- the first trying to write some data to a text
file, and the second to read the text file

it was impossible to show two revlets on the same page ;-<
even with two different (or identical) instanceIDs


I can't test it right now, but did you also try changing the source 
parameter? They will be different if you are using two independent 
stacks. That might work. The instanceID must be the same for both.




moreover, it seems that a revlet cannot write a text file onto the
server!


They can, but you need to make sure the text file you are writing to has 
correct permissions on the server.



I tried first assuming that the standard was that the file is written by
default in the directory (as for .html files)
I tried next with the Rev default (to fix "the directory" to the folder
where the revlet resides): no luck


Revlet file paths are local to the user's hard drive and act like 
desktop standalones. Their default directory is not on the server, it is 
the folder where the plugin is installed on the user's drive. To write 
to a server, you need to use the same techniques that you'd use for a 
remote desktop application.




in the end I tried to replicate the example given by Jacque, with a
simple stack with a substack: I cannot see the two instances, i.e. I see
only the mainstack!
I ensured myself I did operate in exactly the same way: no luck!


Did you change the javascript in the html file? That's all it needs. 
Also make sure the source parameter is the name of your mainstack in 
both cases.



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


Re: Quicktime VR panorama movies in revlets

2009-12-05 Thread Alejandro Tejada

Hi Ben,


BNig wrote:
> 
> The QTVR is 148 KB (KiloByte) in size, it is hosted on on-rev.
> So it should not take long to load, and it doesn't here.
> It was taken from Jacque's submission to the QCC.
> There must be something else going on if loading takes a while.
> For me it is nearly instantaneous, only shortly showing the 'grid' thing.
> What is the Quicktime Alternative?
> 

Only 148 Kb? That is really small. I had to check what could be
the actual blocker.

About Quicktime Alternative
from this webpage:
http://www.free-codecs.com/download/QuickTime_Alternative_Lite.htm

QuickTime Alternative will allow you to play QuickTime files (.mov, .qt,
.3gp
and other extensions) without having to install the official QuickTime
Player.
It also supports QuickTime content that is embedded in webpages.

As a bonus, Internet Explorer will play all QuickTime movies that are
embedded
in a webpage. You do need a media player that is capable of playing
QuickTime
files. The included Media Player Classic supports it and works very well.
The QuickTime Browser plugin supports Internet Explorer, Opera, Netscape
and Mozilla. The QuickTime plugins include iPIX and QuickTimeVR.

Some advantages compared to QuickTime player :

- Quick and easy install
- It's easy to make an unattended installation
- No background processes
- Use a player of your own choice
- Low on resources
- Smaller size

Thanks again!

Alejandro

-- 
View this message in context: 
http://n4.nabble.com/Quicktime-VR-panorama-movies-in-revlets-tp948484p949410.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: problem with sending functions to other cards over riding message path

2009-12-05 Thread Alejandro Tejada

Hi William,

Are you using a) RevMedia or b) RevStudio/RevEnterprise?

I believe, (but i will like to prove wrong) that DataGrids
only work with RevStudio/RevEnterprise.
 

william humphrey-2 wrote:
> 
> and that you can only set the dgData of a DataGrid if the script is in the
> background of the same stack or in the card so I'm doing that but I need
> to
> send parameters form another stack to that stack where the DataGrid is and
> the message path is driving me crazy!
> 

-- 
View this message in context: 
http://n4.nabble.com/problem-with-sending-functions-to-other-cards-over-riding-message-path-tp949296p949418.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: problem with sending functions to other cards over riding message path

2009-12-05 Thread william humphrey
It is Enterprise. DataGrid works fine if the functions are all in the script
on the same stack or card. It is only that I am trying to fill a dataGrid
that is in another stack.

On Sat, Dec 5, 2009 at 6:08 PM, Alejandro Tejada wrote:

>
> Hi William,
>
> Are you using a) RevMedia or b) RevStudio/RevEnterprise?
>
> I believe, (but i will like to prove wrong) that DataGrids
> only work with RevStudio/RevEnterprise.
>
>
> william humphrey-2 wrote:
> >
> > and that you can only set the dgData of a DataGrid if the script is in
> the
> > background of the same stack or in the card so I'm doing that but I need
> > to
> > send parameters form another stack to that stack where the DataGrid is
> and
> > the message path is driving me crazy!
> >
>
> --
> View this message in context:
> http://n4.nabble.com/problem-with-sending-functions-to-other-cards-over-riding-message-path-tp949296p949418.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
>



-- 
http://www.bluewatermaritime.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: Code Samples/Comparisons

2009-12-05 Thread Judy Perry
And of course, this is something everybody has been saying now since at 
least the 2nd Monterey conference.  It may not be enough to make available 
a free product that just dumps you straight into the world of scripting. 
Even Hypercard didn't do that!  It provided a very and gentle graceful 
path to the world of making your own stuff, and that is perhaps part of 
the reason for it becoming as successful as it did.


Judy

On Sat, 5 Dec 2009, Alejandro Tejada wrote:


But, I must beg your pardon if I look overly insistent
of the following topic:

Most of the computer users could produce and publish
content using RevMedia, but just a few will give the
additional steps to become full fledged programmers.
RevMedia needs interfaces (palettes, Dialogs, Wizards, etc.)
for common authoring task.

We, as developers, do not find too difficult all these tasks,
but for others (non developers) it's a big NO-NO to type
scripts or commands to accomplish what they do using
a Graphical User Interface in other software programs.

___
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] Data Tree 1.0

2009-12-05 Thread Steve Checkley
Hi all,

Further to my posts every now and then about beta versions, it's with great 
pleasure that I'm announcing the completion of my first commercial library for 
RunRev: Data Tree 1.0.

After being a bit frustrated with the lack of a native tree view control in 
Rev, I thought I'd throw my hat into the ring and write one. Given the 
potential complexities of such a control, my goal was to create something that 
was as easy to develop with as possible and delivers platform perfect results.

With Data Tree, you can:

• deploy a tree control that will completely adapt its appearance to match the 
host operating system (Mac and Windows currently supported)
• use a set of commands to create nodes, move them about, change their 
properties and much more
• work with huge numbers of nodes behind the scenes and display up to 1,200 
nodes instantly
• easily create trees with multiple parent/child levels, without requiring 
complicated XML
• apply icons and set other appearance and behaviour properties
• insert a tree control into the tabbing order of the card
• receive various mouse and keyboard events
• add your own properties to nodes, allowing you to store your own data within 
the node itself
• for more advanced developers, access the underlying array and build large 
trees in milliseconds

You can download a trial licence of Data Tree from the Downloads page of my 
website, http://www.theworcestersource.com . The trial licence is fully 
functional but will periodically display a nag window.

A nag-free licence that can be used in your own projects can be purchased for 
£30.

All downloads come with a supporting developer manual. More developer 
information, to be hosted on my site, is currently being worked on.

I sincerely hope that anybody who tries my library enjoys developing with it.

Best wishes,


Steve Checkley
http://www.theworcestersource.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: [ANN] Data Tree 1.0

2009-12-05 Thread Marty Knapp

Nice job Steve!

Marty Knapp

Hi all,

Further to my posts every now and then about beta versions, it's with great 
pleasure that I'm announcing the completion of my first commercial library for 
RunRev: Data Tree 1.0.


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


Re: Importing data into RevDB

2009-12-05 Thread David Coker

>A note of caution when using this.
>The chunking rules for Rev are that a line can contain items, but  
>items cannot contain lines.
>Lines can contain items, items contain words.
>   wrong =  line 6 of item 4, no matter the delimiter
>
>Not all functions obey a new setting.
>Filter does not follow the linedelimiter, and always uses CR, as does  
>Sort.
>
>   wrong  = set the worddelimiter to comma
>... since the Rev definition for a word delimiter is white space, not  
>a single character.
>
>I have found this useful on occasion when extracting data (such as CSV  
>and html) to handle 'embedded returns' in order to keep logical groups  
>of amorphous data together.  Another use is to demark field content as  
>lines such as
>
>write the contents of the fields of a card to a text file
>
>set the lineDel to "^"
>put field "Title" into outputBuffer
>put field "Description" into line 2 of outputBuffer
>put field "Inventory" into line 3 of outputBuffer
>put field "Prices" into line 12 of outputBuffer
>set the lineDel to cr
>put outputBuffer into url ("file:" & aPath & aFilename)
>
>Also as a utility function to make a run of characters.
>put characterString("*", 25) into line 2 of field "studentNotes"
>put characterString(space, 10) after line 6 of field "studentNotes"
>
>function characterString charToUse, stringLength
>set the lineDel to charToUse
>put charToUse into line stringLength of tempp
>return tempp
>end characterString
>-- now that we are leaving this function
>-- the lineDel setting evaporates
>-- it only applies to this function
>-- the same way itemDel behaves
>The same thing can be done with itemDel
>
>set the itemDel to "^"
>put "^" into item 25 of tempp
>set the itemDel to comma
>
>Hope this helps,
>
>Jim Ault
>Las Vegas

Jim, Kay, Tom... all who have replied so far.

I really appreciate all of the tips and suggestions and will probably enjoy 
taking some of them for a serious test run eventually. Unthinking, I started 
the update process on my previously mentioned database here on my primary 
development machine, which has been tied up for 34+ hours now. 

Performance has already degraded somewhat, so I've pretty much made this thing 
off limits until it has completed. (Assuming that it actually will at some 
point.)

Much appreciated good folks! Hope you all have a great weekend. :-)

David C.



___
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: Panorama software

2009-12-05 Thread Sivakatirswami
I keep dreaming that one day I will get beyond admin and have time to do 
some "creative" well it may be soon.


What are everyone recommendations as of 2010

for best tools for creating panoramas (including 360 degree horizontal 
over head ones) on Mac OSX?


I see a an open source package which runs on Macs:

Hugin -- Free

http://hugin.sourceforge.net/download/

Autopano gets great reviews but $$379.00 seems a bit outrageous?

Panoweaver only outputs Flash...

Lots of windows only options which I can't use.

??

Sivakatirswami





___
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


Text encoding problem

2009-12-05 Thread David Bovill
How do I convert the following text "Güstrow" to "G%C5%B8strow"? Kind of
stuck :(
___
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: Code Samples/Comparisons

2009-12-05 Thread Alejandro Tejada

Hi Judy,


Judy Perry wrote:
> 
> And of course, this is something everybody has been saying now since at 
> least the 2nd Monterey conference.  It may not be enough to make available 
> a free product that just dumps you straight into the world of scripting. 
> 

One palette with tools, commands and functions useful
for authoring created by all participants.
We should ask Chipp Walters for permission to use his
altPlugin Palette and plugins:
http://www.altuit.com/webs/altuit2/altPluginCover/about.htm

Long time ago, i created this palette for editing the templates
that i give to my fellow teachers:
http://www.talkgraphics.com/showpost.php?p=239130&postcount=6

It was supposed to be skinnable and customizable, but my fellow
teachers are not too savvy in visual graphics matters.
The original shape of this palette is a circle, that you could move
to any place in the screen. When you click the symbol, the identification
of the teacher appears (a name or photo).
Notice that both palettes are the same. You could display or retract
the menu and buttons in either direction: horizontal or vertical.

Teachers used a lot the "Image Frames" (drag and drop and image over
the Frame to import an image) and the Screenshot tool (used to import
an screenshot from the area of an object in the stack).

As a result some of them made an excessive use of images
in their stacks, converting text fields in transparent PNGs...
only to discover that they had to retype everything to change or fix
the text... :-\ (keeping all field properties inside a custom property
solved this). Later, i included a warning that tells how much size each
image add to the stack.

I receive many ideas about possible enhancements to this palette:
1) screen rulers in pixels, cm and inches at the edge,
2) template layout palette (with image frames and text fields)
3) save serial copies of stacks.
4) Easy application of Color (and textures) schemes.

Alejandro


-- 
View this message in context: 
http://n4.nabble.com/Rev-4-0-article-on-TheServerSide-tp933211p949505.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: Text encoding problem

2009-12-05 Thread Björnke von Gierke

wow, that's some devilishly encoded stuff!

this will create it:
put urlencode(unidecode(uniencode(isotomac("Güstrow")),"utf8"))

of which the inverse would be:

put mactoiso(unidecode(uniencode(urldecode("G%C5%B8strow"),"utf8")))

or you could combine them...

put mactoiso(unidecode(uniencode(urldecode(urlencode(unidecode 
(uniencode(isotomac("Güstrow")),"utf8"))),"utf8")))




On 6 Dec 2009, at 03:50, David Bovill wrote:

How do I convert the following text "Güstrow" to "G%C5%B8strow"?  
Kind of

stuck :(




--

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: [ANN] Data Tree 1.0

2009-12-05 Thread Jerry Daniels

Steve,

VERY nice.

Best,

Jerry Daniels

The latest Rev Editor Video:
http://reveditor.com/feature-friday-drag-n-drop-your-handlers

On Dec 5, 2009, at 7:35 PM, Steve Checkley wrote:


Hi all,

Further to my posts every now and then about beta versions, it's  
with great pleasure that I'm announcing the completion of my first  
commercial library for RunRev: Data Tree 1.0.


After being a bit frustrated with the lack of a native tree view  
control in Rev, I thought I'd throw my hat into the ring and write  
one. Given the potential complexities of such a control, my goal was  
to create something that was as easy to develop with as possible and  
delivers platform perfect results.


With Data Tree, you can:

• deploy a tree control that will completely adapt its appearance to  
match the host operating system (Mac and Windows currently supported)
• use a set of commands to create nodes, move them about, change  
their properties and much more
• work with huge numbers of nodes behind the scenes and display up  
to 1,200 nodes instantly
• easily create trees with multiple parent/child levels, without  
requiring complicated XML

• apply icons and set other appearance and behaviour properties
• insert a tree control into the tabbing order of the card
• receive various mouse and keyboard events
• add your own properties to nodes, allowing you to store your own  
data within the node itself
• for more advanced developers, access the underlying array and  
build large trees in milliseconds


You can download a trial licence of Data Tree from the Downloads  
page of my website, http://www.theworcestersource.com . The trial  
licence is fully functional but will periodically display a nag  
window.


A nag-free licence that can be used in your own projects can be  
purchased for £30.


All downloads come with a supporting developer manual. More  
developer information, to be hosted on my site, is currently being  
worked on.


I sincerely hope that anybody who tries my library enjoys developing  
with it.


Best wishes,


Steve Checkley
http://www.theworcestersource.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: Code Samples/Comparisons

2009-12-05 Thread Judy Perry

Hi Alejandro,

Interesting palette.  Probably what would also be really useful is 
something HC had, namely, pre-scripted actions via a button (going to a 
particular place, using visual effects etc.).  The problems then become 
(1) figuring out what those sample pre-scripted things should be and (2) 
the taxonomy for presenting them.


When I look at the current Rev toolbar, I don't see anything that really 
would be immediately comprehensible to the average normal human, nor do I 
see anything that suggests a starting point to get a project off the 
ground, much less items that would help complete one.


Any ideas?

Judy

On Sat, 5 Dec 2009, Alejandro Tejada wrote:


Long time ago, i created this palette for editing the templates
that i give to my fellow teachers:
http://www.talkgraphics.com/showpost.php?p=239130&postcount=6

It was supposed to be skinnable and customizable, but my fellow
teachers are not too savvy in visual graphics matters.
The original shape of this palette is a circle, that you could move
to any place in the screen. When you click the symbol, the identification
of the teacher appears (a name or photo).
Notice that both palettes are the same. You could display or retract
the menu and buttons in either direction: horizontal or vertical.

Teachers used a lot the "Image Frames" (drag and drop and image over
the Frame to import an image) and the Screenshot tool (used to import
an screenshot from the area of an object in the stack).

As a result some of them made an excessive use of images
in their stacks, converting text fields in transparent PNGs...
only to discover that they had to retype everything to change or fix
the text... :-\ (keeping all field properties inside a custom property
solved this). Later, i included a warning that tells how much size each
image add to the stack.

I receive many ideas about possible enhancements to this palette:
1) screen rulers in pixels, cm and inches at the edge,
2) template layout palette (with image frames and text fields)
3) save serial copies of stacks.
4) Easy application of Color (and textures) schemes.

___
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: Code Samples/Comparisons

2009-12-05 Thread Richard Gaskin

Alejandro Tejada wrote:

Long time ago, i created this palette for editing the templates
that i give to my fellow teachers:
http://www.talkgraphics.com/showpost.php?p=239130&postcount=6


I like it.  Looks a bit like where I spend my day:



GMTA :)

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