Re: Strange Datagrid Column Problem

2010-11-19 Thread David Bovill
Can you file this as a bug, and add the stack? I think it is related
to a reference resolution bug with behaviours that causes a few
problems when using send. I'm interested to track this bug down.

On Thursday, November 18, 2010, Peter Haworth p...@mollysrevenge.com wrote:
 That worked!

 Are you familiar with the banana slug, native to the Santa Cruz area of 
 California?

 Pete Haworth

 On Nov 18, 2010, at 2:54 PM, zryip theSlug wrote:


 Pete,

 Try:
 set the hilite of btn 1 of me to handleBoolean(pData)


 ___
 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: Stackrunner

2010-11-19 Thread David Bovill
On 17 November 2010 19:49, Devin Asay devin_a...@byu.edu wrote:


  start using stack myIconStack --or whatever it's called.


You don't need to use the stack - it just needs to be loaded into memory.
Using the stack is one way to do that,  so is making it a substack of the
main stack as then they are in the same file and both loaded at the same
time.
___
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: Strange Datagrid Column Problem

2010-11-19 Thread David Bovill
On 19 November 2010 11:47, zryip theSlug zryip.thes...@gmail.com wrote:

 On Fri, Nov 19, 2010 at 9:54 AM, David Bovill da...@vaudevillecourt.tv
 wrote:
  Can you file this as a bug, and add the stack? I think it is related
  to a reference resolution bug with behaviours that causes a few
  problems when using send. I'm interested to track this bug down.

 For columns, me should refer to a group named with the name of the
 column + the number of the lines (or the index, not remember exactly)

 btn 1 of me
 or
 btn 1 of the long id of me

 should refer to a button in a group name or in group id, not to a field.

 Maybe interesting to study that closer.


Yes - I've seen this when you refer to me using strange syntax like that.
That's not me personally - you're welcome to refer to me in whatever syntax
you like, but the behavior. Not my behavior... anyway. There does seem to be
some downside of an English like syntax.

The behavior I get problems with is that in certain circumstances the long
id of x does not convert a valid reference to the long id when called
from within a behavior, which is surely bad behavior, for which I apologise.
___
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: Twitter and Oauth

2010-11-19 Thread David Bovill
Me too - I've looked at oAuth, but fled in fear :) Keen to get on and crack
it. I've got a bit of work on Twitter clients as well I could throw in the
mix.

On 19 November 2010 14:06, Erik Schwartz er...@sisyph.us wrote:

 I'd be happy to help.

 I think this is an important area, especially as runrev gets more
 mobile focused, but also for on-rev and desktop apps.

___
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: matchChunk works?

2010-11-19 Thread David Bovill
Your destination is misquoted?

(tDestino) is not (  tDestino  )


On 19 November 2010 13:35, JosepM jmye...@mac.com wrote:


 Hi,

 Not for me, well, the sample code work but this not. Why?

 LOCAL startMatch, endMatch
 on mouseUp
   PUT fld f_friends into VAR1
  put fld f_look_for_friends into tDestino
   PUT EMPTY INTO startMatch
  PUT EMPTY INTO endMatch
   PUT matchChunk(VAR1,(tDestino),startMatch, endMatch) INTO VAR2
   put VAR2  startMatch  endMatch
 end mouseUp

 Ever I get startMatch and endMatch to empty...

 Salut,
 Josep

___
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: script interruption

2010-11-16 Thread David Bovill
Hi Yves, You could use

if the mouse is Down


inside the repeat loop - which works pretty well. Or if you need more
control, and the field is locked, you can trap a mouse event say mouseUp and
set a flag that the repeat loop checks?

On 16 November 2010 20:43, Yves COPPE yvesco...@skynet.be wrote:

 Hello list

 I have a script

 on doStuff
 end doStuff

 this script makes a fld appearing on the screen and writes different text
 in this fld in a repeat loop
 I'd like that a click in this fld stops the loop : exit repeat
 I don't find how to proceed

 can anyone explain me how ?
 thanks.

 Greetings.

 Yves COPPE
 yvesco...@skynet.be

 ___
 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: Newbie question re fields -- javascript

2010-11-09 Thread David Bovill
Dave - as with shell, do does a line - that is if you were to look at
the string you create with:

put alert ('   myScore  ');

it would span several lines. Imagine typing that into the script editor - it
would make no sense right? So you need to have the LiveCode as a single line
and not split over multiple lines like this. That is not to say the
Javascript / AppleScript etc has to be one line - so simply construct
multiline JavaScript that would work in an HTML file, get LiveCode to
produce this JavaScript and put it into a variable, then do the contents
of the variable in the browser.

On 8 November 2010 19:54, David Brooks dbro...@unlserve.unl.edu wrote:

 We are creating standalones and launching them in browsers. We have issues
 with taking in all of a field. Any help appreciated.

 Works:
 on mouseUp
   put 12131232 into myScore
   do alert ('   myScore  '); in browser
 end mouseUp



 Does NOT work:
 on mouseUp
   put fld ListOfFiles into myScore
   do alert ('   myScore  '); in browser
 end mouseUp


 Works:
 on mouseUp
   put line 1 of fld ListOfFiles into myScore
   do alert ('   myScore  '); in browser
 end mouseUp

 WE seem to be able to put in just one line.

 Thanks in advance 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

___
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] legality of DVD backup

2010-11-09 Thread David Bovill
On 8 November 2010 20:00, Richmond richmondmathew...@gmail.com wrote:


 I have been known to break the law in my time; but I draw the line at
 breaking the law singing
 a Communist song; or, put it another way; it's an awful pity they didn't
 shoot Che before the
 creation of the iconic head.


Yes, I think this was one of the reasons for the LiveCode rebranding.


 Sorry. List Mum; but I did not start it (this time).


Oh yes you did :)
___
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] legality of DVD backup

2010-11-08 Thread David Bovill
In most countries this is what you would call legally defensible under faire
use or the equivalent in your jurisdiction. There is no case I know of where
someone has been prosecuted for copyright infringement by making a backup
copy for personal use, given that they own a legal copy in another medium.
However there is nothing to stop a copyright holder taking you to court, in
which case it would be down to you to make a faire use or equivalent defence
- and you could then have the privilege of being (as far as I know), the
first person to loose such a case :)

In the real world, you are extremely unlikely to be taken to court over this
issue, as the industry has plenty to do taking clear cut cases of
downloading pirated DVD's to court, and the last thing they want is to loose
a faire use case and so set a precedent.

A related issue is the obtaining and use of the software to actually do the
decryption (which is why it can be hard to get a copy from a mainstream site
- as Macrovision does its best to take action against distributers). A good
account here is taken from the wikipedia
articlehttp://en.wikipedia.org/wiki/DVD_Decrypter
:

Under United States' Federal law, making a backup copy of a
DVD-Videohttp://en.wikipedia.org/wiki/DVD-Videoor an audio
 CD http://en.wikipedia.org/wiki/Red_Book_%28audio_CD_standard%29 by a
 consumer is legal under fair use 
 http://en.wikipedia.org/wiki/Fair_useprotection. However, this provision of 
 United States law conflicts with the Digital
 Millennium Copyright 
 Acthttp://en.wikipedia.org/wiki/Digital_Millennium_Copyright_Actprohibition 
 of so-called circumvention measures of copy
 protections http://en.wikipedia.org/wiki/Copy_protection.

 In the noted 321 case, Federal District Judge Susan Illston of the Northern
 District of 
 Californiahttp://en.wikipedia.org/wiki/United_States_District_Court_for_the_Northern_District_of_California
 ,[5] http://en.wikipedia.org/wiki/DVD_Decrypter#cite_note-4 ruled that
 the backup copies made with software such as DVD Decrypter are in fact legal
 but that distribution of the software used to make them is illegal. As of
 the date of this revision, neither the US Supreme 
 Courthttp://en.wikipedia.org/wiki/US_Supreme_Courtnor the US
 Congress http://en.wikipedia.org/wiki/US_Congress has taken definitive
 action on the matter.

As ever - non of the above is legal advice, and I am not a lawyer.

On 8 November 2010 18:40, stephen barncard
stephenrevoluti...@barncard.comwrote:

 What you described is 'fair use' in the US. It means 'backup copy for
 personal use'.

___
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] legality of DVD backup

2010-11-08 Thread David Bovill
Here is a good link for Faire Use - http://centerforsocialmedia.org/fair-use

Oh - and another probably more important point which has nothing to do with
the copying - is the issue of public broadcast, so while you can watch a
DVD with friends at home, in a school is another matter - which is why a lot
of schools will have licences explicitly taken out for this. For some reason
I've never quite understood copyright lawyers seem to have it in for
screenings in prisons for instance.

Again the faire use issue comes in - if it is entertainment then there is no
faire use defence, but if it is used for critical comment and analysis in an
education setting, then there is more of a case

Here is an example of the sort of generally accepted exemption within
schools and colleges in the USA: - taken from this
sitehttp://www.albion.edu/campusprograms/event-scheduling-and-program-policies/movie-viewing
:

*Face-to-face Exemption*
 Many of you may know that there is an exception to the public performance
 fees for college and universities. That exception is only in the case of
 face-to-face classroom instruction by a faculty member. The faculty member
 may show the film/movie outside the normal class period (at night for
 example), however, it is only for those students who are registered for the
 class. The movie must also be shown in spaces that are designated for
 instruction; therefore library screening rooms, residence hall or student
 union lounges, cafeterias do not qualify. A faculty member cannot show it
 for his/her class and then open it up to the rest of the campus. In order to
 invite others, the public viewing rights must be purchased. Acceptable
 attendance for films in which the copyright is not purchased only include
 students registered for the class, the instructor and guest lecturer(s).


And for EU - this page http://wapedia.mobi/en/DVD_consumer_rights is
useful.

On 8 November 2010 18:58, Marc Siskin msis...@andrew.cmu.edu wrote:

 Richmond,

 One legal factor you want to keep in mind is the number of concurrent
 playbacks per dvd.  The backup argument is only good as long as you have a
 DVD for each concurrent viewing of the movie.  E.g. 3 concurrent viewings =
 3 DVDs.

 And all of this is in the realm of non-tested law.  I would get your
 school's attorney's approval (they should be willing to defend you if you
 are asked to cease and desist).


On a related note - if you want to really break the law - all you need to do
is sing happy Birthday to you in school or any public space -
http://www.snopes.com/music/songs/birthday.asp
___
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] legality of DVD backup

2010-11-08 Thread David Bovill
Even funnier is that it is not legal to sing The Internationale in the
streets of France - so to utter the words:

Arise, ye workers from your slumber,
 Arise, ye prisoners of want.
 For reason in revolt now thunders,
 and at last ends the age of cant!
 Away with all your superstitions,
 Servile masses, arise, arise!
 We'll change henceforth the old tradition,
 And spurn the dust to win the prize!
   So comrades, come rally,
   And the last fight let us face.
   The Internationale,
   Unites the human race.
   So comrades, come rally,
   And the last fight let us face.
   The Internationale,
   Unites the human race.


in public, without some good critical debate afterwards could land you with
a 300,000 euro fine. As far as I know this has nothing to do with the
quality of your singing.
___
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: Invitation to some groovy LiveCode based co-learning!

2010-10-17 Thread David Bovill
Will do :) I'm aiming for 2 weeks time.

On 17 October 2010 16:09, Thomas McGrath III mcgra...@mac.com wrote:

 I'm in! Let me know when David,

___
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: Invitation to some groovy LiveCode based co-learning!

2010-10-16 Thread David Bovill
Anyone out there interested in learning how to build upon their Rev ?
LiveCode experience and learn how to integrate this with modern web
frameworks?

I'm taking the plunge, and have forked out silly amounts of money to buy a
bunch of books, and think that there may be some other people on the list
that would be interested in learning this stuff too? It will be a lot more
fun in a group of a few of us - and well that's a lot more Live coding
style isn't it :)

I'm proposing taking a subject that I know very little about, learning a few
steps and making some quick videos and LiveCode based example code,
available each week, and supporting this with the option to take part in a
Live Coding event via small live video conferencing. The live events will be
limited to no more than 20 people.

As a starting subject, I'm going to take a look at something which will be
both useful to the community as a tool, and a little geeky so that well to
be honest we don;t get too many people wanting to do it while we iron out
the kinks on how to do this properly.

*Groovy*
The topic is going to be integrating LiveCode with Ruby on Rails like
frameworks. To be even more geeky, I'm choosing the Java based version of
Rails - Grails http://en.wikipedia.org/wiki/Grails_%28framework%29, which
in turn is based on Groovy. We'll learn how to use LiveCode to script the
command line tools that come with these frameworks and mix and match
LiveCode front ends, and even server side code written in LiveCode. Anyone
interested in accompanying me on my journey to learn more about these modern
web frameworks and how they use object relational mapping, MVC, closures,
naming conventions, and all sorts of other goodies (like integrating
LiveCode with Java - Jan are you out there :) - feel free to join in.

*What we will make*
The practical part of the project is going to be to build an online database
of open source handlers using these modern tools. That is we will get up a
quick and dirty web site that is based on the LiveCode object model we are
all familiar with - stacks, cards, groups and so forth to create a
search-able repository of open source handlers. Grails, will allow us to
create simple web services, around this database, one in which we can ad all
sorts of cool things like folksonomy tagging, dependency graphing and the
like. We'll start simple, frankly we will have to because this is not my
field at all - but will I think end up with a useful community service and a
shed load of groovy learning.

*No teachers, no guarantees. We are all in this together!*
So this is not going to be a course in any traditional sense. The aim is we
learn from each other, in a bit more of a visual and fun way than we can do
on an email list. I'm going to experiment with a number of features
including live screen casting, that make this possible, but that won't be an
essential part of the gig. That is turning up for the live events - is going
to be an optional but fun part of the experience.

I'll send an invite out for the first one in a follow up email.
___
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


Shared backgrounds: properties that differ across cards?

2010-10-06 Thread David Bovill
Does anyone have a list of properties of an object that can be part of a
shared background (ie a group with bgbehavior = true), that can vary from
card to card that the background is placed on? From memory I can think of
just a couple:

   1. text in a field with sharedtext = false
   2. hilite of a button with sharedhilite = false
   3. other?
___
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


Some other properties are excluded ?

2010-10-05 Thread David Bovill
Anyone know what these mysterious other excluded properties are?

Not every property is included in the properties property. The following
 types of properties are excluded:
 * Read-only properties
 * The script property and custom properties
 * Synonyms: Only one synonym for each property is included.
 * Duplicates: Properties that are functionally duplicated by other
 properties are not included. For example, the rectangle property is
 included, but not the height, width, top, bottom, left, right, or location
 properties, because you can derive all of them from the object's rectangle.
 * Properties other than object properties: Global properties, local
 properties, properties of a character or chunk in a field, and adjectives
 such as short that are implemented internally as properties are all
 excluded.

 * Others: Some other properties are excluded.

___
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: RevMobile Discussions

2010-10-03 Thread David Bovill
On 3 October 2010 00:33, Colin Holgate co...@verizon.net wrote:


 I would still hope we can talk about things here, because much of it would
 be of general interest, mobile is becoming more important in general, and
 even though I'm interested in mobile, I'm not interested in yet another
 email list!


Yes - please not another email list, yahoo group, forum, paid for
improvements something. Can we not have a well thought out community
development strategy, that includes modern collaborative techniques? In the
mean time let's at least use one email list, as it works - in a sort of last
century way.
___
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: RevMobile Discussions

2010-10-03 Thread David Bovill
On 3 October 2010 17:40, Michael D Mays mich...@michaelsmanias.com wrote:


 Aside from talking about talking RevMobile here I would think that in
 general discussions about alpha software might need to be somewhat private
 about some things and have more active/visible participation by the
 developers of the software.


Definitely! We' all benefit from RunRev opening up the development dialogue
in a managed way. We'd get a heads up on what was coming and help shape and
fix bugs in the forthcoming product, and RunRev would get a happier
community and less bugs. It cant be done for everything, but it sure could
be done for a lot more things.

A classic example is the On-Rev client. Locking that thing up in a
standalone was completely pointless. Active members of the community could
have rolled their own versions of a client (ie based on an informal API),
that would have been orders of magnitude better than the current offering.

It would not have mattered if this API moved fast (it hasn't anyway), nor
would it matter if they withdrew the API / charged for it / locked things
down afterwards (as long as we knew this was a possibility up front).

We can only hope that this old-school business logic is replaced by a saner
cooperation with developers, a saner use of common technologies to integrate
the various lists, forums, and bug tracking, and an intelligent use of open
content licensing for some of the IDE components.
___
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


An easy way to pipe input into shell commands?

2010-10-02 Thread David Bovill
Is there a neat way to pipe input into shell commands from STDIN? The usual
way I do it is to recreate everything as temporary files and then pass the
file references - however it is both a hassle and can leave clutter around
although I assume files stored in the tempname directory get cleared out
properly on all platforms (anyone - I've not tested this cross-platform?).

For smaller inputs (one liners) - you can construct a shell command which
pipes an echo command - like this:

put echo 'Hello world!' | commandLineThatTakesSTDIN into someShell
 put shell (someShell)


But is you have a lot of text in a variable, that you want to pipe to a
shell command this is not going to work - hence the need to write out to a
temporary file. I'm just wandering if there is a way to do something like
set the contents of STDIN from LiveCode, then just enter the shell command,
or if this could be some form of feature request?
___
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


Getting line endings straight.

2010-10-01 Thread David Bovill
Most of the time we don;t need to worry about line endings - Rev handles
them for us transparently. However, sometimes when workign with external
sources you can get bitten. I thought I'd post this to make sure I've got
things straight, and hopefully clarify things for others. My understanding
is as follows:

   1. LiveCode uses the unix flavoured line ending character internally.
   That is LF or numtochar(10) in LiveCode
   2. LiveCode translates text for you in the background when you use file
   url's, and open driver, open file, or open processcommands in text mode.
   For example when you use the normal file url syntax - ie put someText
   into url 'file:some.txt'
   3. On OSX and Linux this is the same as LiveCode's internal line ending
   char = LF or numtochar(10)
   4. On Windows LiveCode would translate the line endings to CRLF =
   numtochar(13)  numtochar(10)
   5. On older Mac Classic systems the line ending character is CR =
   numtochar(13)

Some gotcha's:

   - A carriage return is numtochar(13) - however LiveCode internally thinks
   that CR = LF = numtochar(10)
   - On OSX LiveCode does not write out text using the systems native line
   endings - it uses the older Mac Classic line endings (presumably for easier
   compatability)!

The last one I did not know. Personally I think it is bad behavior, though
most OSX applications handle either form of text file absolutely fine - some
command line tools expect the native unix style line endings (LF). If you
want to use these tools - don't use file - for writing out text - use
binfile.

You can test this on your OSX system using the following in the message box:

put Hello  CR  World into someText
 put the tempname  .txt into someFile
 put someText into url (file:  someFile)
 put url (binfile:  someFile) contains numtochar(10)


Have I got something wrong here - or should we really be asking RunRev to
make it easy for us to read and write text files in native LF mode? Perhaps
there should be an IDE property which we could set base on the platform,
or perhaps they can tweek their background translation code to keep backward
compatibility, while giving us native line endings on OSX?
___
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


Database: INSERTS, speed and primary keys

2010-09-27 Thread David Bovill
I've spent the weekend refreshing on databases. I'm using LiveCode and also
Trevor's fabulous sqlYoga, and beginning to realise how little I know about
databases! The question I've got is about the database schema design and
optimising it for the speed of adding records.

* Exporting Handlers*
I think I may be missing some basic things, as it seems to me that the only
easy way to force an update to be unique is to use primary keys. You can use
triggers but this seems like this would be slower. However if I uses a
surrogate primary key (ie the usual auto-incremented numeric id field), for
each updated record I need to check first whether it is already in the
database before adding it - this is a lot of overhead in terms of finding
the ids based on other fields. However I ran in to problems using composite
primary keys, as the queries got a too complicated for me to track down the
bugs in them easily.

To elaborate on the example - in LiveCode each and every handler in the
LiveCode environment can be uniquely identified by the following fields:

   1. handler_name
   2. handler_type (ie one of c,f,g,s standing for command, function,
   getprop, setprop)
   3. location (the rugged id of the LiveCode control - ie control id 1387
   of card id 1002 of stack Test)
   4. hander_num (not usually useful - but there can be more than one
   identical handler in a script, only 1 is ever called)
   5. handler_scope (p for private for example)

From these elements you can define a unique reference to a given handler in
script with the following type of key

   - test_Command,c,stack Test,1,p

Which would refer to (the firsts instance of) a private command
test_Command in script of the the stack Test. I've been using this way
to refer to handlers for years and have a large library of code that
manipulates references to handlers, ie:

   - hkey_EditScript hKey
   - put hkey_GetHandler (hKey ) into somehandler
   - put hkey_ExtractHandlerCalls (hKey ) into hKey s

Therefore in database terminology hKey is a composite primary key, and you
can make this a composite primary key. This has the advantage of enforcing
that addition of keys to the database is normalized - that is adding an hKey
that already exists fails to add a duplicate entry.

The problem I am having is that while using a composite primary key is great
for making the updates fast and simple - it is giving me headaches with the
more complex joins and queries, I'm building in LiveCode / sqlYoga. However
I do need these updates to be as fast as possible - a few ticks for adding
several hundred records, as I want to automatically add them to the database
every time a script is compiled.

These are the options I can think of:

   1. Stick to composite primary keys for the handler table, and battle
   through all the bugs / issues with using complex joins based on composite
   keys.
   2. Use triggers - and unknown to me, not tested with regard to speed,
   and looks like it may be difficult to keep sqlite and online db in sync, as
   they may not share the same way of implementing triggers.
   3. Use a staging table of some sort - use composite primary keys on
   this temporary table, and then at a later date (perhaps when the stack is
   saved) process this temporary table, moving the data into the db proper.
   4. Asynchronously update the db - perhaps using a slave process, to
   maintain GUI responsiveness.
   5. Something else?

At the moment I am going for 3, as it seems to offer the best in terms of
keeping the db design as conventional as possible, and speed in terms of GUI
response.

Any advice from the db experts out there?
___
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: Database: INSERTS, speed and primary keys

2010-09-27 Thread David Bovill
HI Monte - hows down-under :)

On 27 September 2010 11:31, Monte Goulding mo...@sweattechnologies.comwrote:


 I haven't yet used SQLYoga but I'm sure Trevor has this all worked out.
 SQLite will handle the auto increment of integer primary keys when you
 INSERT without an ID field and then you query
 put revDataFromQuery(,,sDB,select last_insert_rowid()) into tID


The issue is not the automatic creation on surrogate keys - and retrieving
of the value (as above). The issue is preventing adding of duplicate
records. I want to prevent adding the same hKey, say:

test_Command | c | stack Test | 1

to the database. Using INSERT with the primary key set to the autoincrement
id field, you would get records like this:

*id |  name   | type |   location   | hnum*
 1 | test_Command|   c  | stack Test |  1
 2 | test_Command|   c  | stack Test |  1
 3 | another_Command |   c  | stack Test |  1
 4 | another_Command |   c  | stack Test |  1

Only by making the primary key = name,type,location,hnum instead of id
woudl you get a fast normalisation of the data inserted.
___
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: Database: INSERTS, speed and primary keys

2010-09-27 Thread David Bovill
OK - not getting very far with that - Google is not my friend :)

Can you give me an idea of what the CREATE statement would look like?

CREATE TABLE 'handler' (
 'name' VARCHAR(255) NOT NULL,

'type' VARCHAR(255) NOT NULL,
 'location' VARCHAR(255) NOT NULL,
 'handler_num' INTEGER NOT NULL,
 PRIMARY KEY ('name', 'type', 'location', 'handler_num')
 );


With a surrogate key:

CREATE TABLE 'handler' (
'id' INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
'name' VARCHAR(255) NOT NULL,
'type' VARCHAR(255) NOT NULL,
'location' VARCHAR(255) NOT NULL,
'handler_num' INTEGER NOT NULL,
);

So how do I create a secondary key from name,type,location,handler_num and
make sure that these combined columns are unique?

On 27 September 2010 12:50, Monte Goulding mo...@sweattechnologies.comwrote:

  HI Monte - hows down-under :)

 Getting better all the time ;-)
 
  Only by making the primary key = name,type,location,hnum instead of
 id
  woudl you get a fast normalisation of the data inserted.

 You can create an secondary key for those fields and still use your primary
 key auto-increment field for a foreign key in other tables.

___
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: Database: INSERTS, speed and primary keys

2010-09-27 Thread David Bovill
Thanks for that Monte,

On 27 September 2010 13:44, Monte Goulding mo...@sweattechnologies.comwrote:

   UNIQUE INDEX `mykey` (`name`, `type`, `location`, `handler_num`) );

 Or you can use a separate Create Unique Index statement.


OK - will have to read up more on Indexes - I thought they were just for
speeding up searches - looks like they have some relationship to constraints
as well.


 PS MYSQL Workbench is free, cross platform and make nice diagrams ;-)


Yes - started using it after your earlier post.  Also started using the Lua
scritping - there si a script for exporting the schema as sqlite create sql
that I am using. Trouble is it is easy to start making really big schema's
:)
___
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


sqlite: foreign keys

2010-09-25 Thread David Bovill
A quick geeky question: does anyone know if foreign key support has been
turned on for the recent sqlite driver -
http://www.hwaci.com/sw/sqlite/foreignkeys.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


Deployment issues: sqlite?

2010-09-24 Thread David Bovill
I'm interested in the experience of people deploying Rev / LiveCode based
app that use sqlite databases. What issues do you get when deploying to the
various platforms? Is Linux OK?

Also I'd like to provide an IDE plugin that creates and uses an sqlite
database - this complicates things as the different IDE versions will have
different driver versions, and pervious versions di have a number of bugs as
far as I could tell - Livecode 4.5 seems to have fixed a good number of
these. However, I'm not planning on doing anything fancy, so having an idea
of how well basic sqlite functionality worked out of the box in earlier
IDE's would give some encouragement. How has your experience been with Rev
and sqlite on your platform?
___
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


Cloning a folder?

2010-09-23 Thread David Bovill
It seems that revCopyFolder does not return a value for the new folder it
creates - this is important when the destination folder already exists -
because it still creates a folder but with a new folder name that at least
on the Mac adds an integer value to the end of the name ie ./folder 2

Is there an easy way to script cloning a folder within the same enclosing
folder but giving it a new name? I want this to work cross platform. Any
help with the following general purpose handler?

command rev_CopyAndRename originalFolder, newFolder
-- work in progress
set the itemdelimiter to /
put newFolder into enclosingFolder
delete item -1 of enclosingFolder
revCopyFolder originalFolder, enclosingFolder
-- put it / the result into copiedFolder
rename folder copiedFolder to newFolder
 end rev_CopyAndRename

___
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: Online Snippets library

2010-09-22 Thread David Bovill
Hi Andy great to hear, yes I think it is a great idea, and would love to
work with you on it. Andre is also interested in helping get this up and
running, last we spoke - unless impending marriage has derailed that
somewhat - congrats Andre!

I'm working on specific aspects of this, and it would be great to work on
the online apsects. I've one solution to this that I've had working based
around an open source code documentation wiki called Trac, but I think there
is enough interest now to build on a more LiveCode centric approach using
revIgnitor for the web framework?

I'm concentrating on making sure the search and indexing of the fragments is
done well, that they are in a repository and that both local and online
sharing of these fragments is possible in a rich range of ways.

What approach to the snippet library would you like to take?


On 22 September 2010 11:26, AndyP smudge.a...@googlemail.com wrote:


 Is there an online code snippets library out there for Rev erm LiveCode?

 Not full tutorials, we have them and they are great but just small chunks
 of
 code that individuals have used and tested. I know there is a lot of code
 out there but it's fragmented so a central snippet store I think would be
 useful.

 If not I'm willing to get one up and running.

 I'm thinking of having a tree type drill down to the snippets.

 Anyone will be able to post thier snippets, suggest new categories etc. The
 inclusion would not be automatic as to stop bad (spam, porn) content each
 submission would have to be approved.

 -
 Andy Piddock


 My software never has bugs. It just develops random features.
 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/Online-Snippets-library-tp2550057p2550057.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: Online Snippets library

2010-09-22 Thread David Bovill
On 22 September 2010 13:12, AndyP smudge.a...@googlemail.com wrote:


 Apart from LiveCode I'm a PHP/MySql jockey and I was thinking of keeping it
 simple, something like below:

 http://runtime-revolution.278305.n4.nabble.com/file/n2550163/layout.jpg

 This could be:

 1. All PHP/MySql   or
 2. A LiveCode desktop offering connecting to the database or both.

 I prefer 1. as it's available from everywhere.


OK - simple is good. I'm currently working on an sqlite db for this, and
frankly I'm not by any means a db expert, so having someone to work with on
the schema and MySQL side would be great.

I'd prefer to do this on On-Rev and using PostreSQL, mainly so Pierre could
chip in every now and then :) - but MySql is fine.

I'm currently working with sqlYoga and sqlite, and adding folksonomy tagging
to the snippets db, it would be great to use the same schema, and then start
to define the controller code so that local snippets and online snippets
work well together?
___
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: general name for...

2010-09-22 Thread David Bovill
What is the the general name for handler for scripting languages - not
that anything is going to be perfect, but apparently handler refers to
Handler, an asynchronous
callbackhttp://en.wikipedia.org/wiki/Callback_%28computer_science%29subroutine
in computing, so what term could be used to refer to functions,
command, methods, and handlers across scripting languages - code chunks?
___
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: general name for...

2010-09-22 Thread David Bovill
Sounds good - then a function in Javascript would be a type of handler?

On 22 September 2010 17:31, Andre Garzia an...@andregarzia.com wrote:

 I tend to call everything handler... functions and commands I call handler
 even if in LiveCode jargon a handler is not a function but just a
 command...
 They are not methods or procedures...

___
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: general name for...

2010-09-22 Thread David Bovill
On 22 September 2010 18:01, wayne durden wdur...@gmail.com wrote:

 I don't think you would call a function in javascript a handler.  My
 feeling
 is that there isn't a universally accepted term that would apply across all
 the language types.  Code chunk or snippet is as generic as you would get
 without getting strange looks.


I think I'll go with handler as I want it to refer to something that is
given a name in the language by the programmer, not an arbitrary text file
worth of code - that's a different level of chunking. Anyway I'm only naming
the database fields for now :)
___
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: Web Deployment

2010-09-21 Thread David Bovill
Yes - should be interesting to see how that goes. $199 for being able to
create revWeb plugin deployment. If RunRev are right, then there will be
plenty of people willing to pay this - they know their customers. I'll stick
my neck out here and disagree, regardless of what the customer surveys
indicate, I'd bet revWeb sales do not meet expectations, and that not many
of the people that express interest in this deployment option will convert
to paying customers.

On 21 September 2010 04:52, Monte Goulding mo...@sweattechnologies.comwrote:

 revWeb

 On 21/09/2010, at 1:49 PM, jim sims wrote:

  One of the items in the My Products list is titled  Web Deployment.
 
  Can anyone explain what that item refers to?  What that product, Web
 Deployment is?
 
  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: Web Deployment

2010-09-21 Thread David Bovill
On 21 September 2010 12:28, -=JB=- sund...@pacifier.com wrote:

 I think it is the On-Rev package that has been offered
 for quite some time now and many have purchased
 it already so if they continue to develop it more will
 likely purchase it and with the right improvements
 it can exceed their sales expectations.


That would make sense - On-Rev has (commercial) potential, but I don't think
it is the case. If you look at the Standalone Settings (I am viewing it with
a trial license) - the Web settings that allow you to create a revWeb plugin
has the option to purchase a $199 upgrade - I assume this is in order to let
you make these plugins as this export option has nothing to do with using
On-Rev. It is not clear, if you can make them for non-commercial use, but it
looks like the standalone builder will stop making revWeb plugins after the
trial expires?

Personally I can (sort of) imagine people paying $30 for the ability to make
revWeb plugins - I really don't get this $199 pricing. The rest seems
logical to me, and I do very much like the branding LiveCode, but it seems
the current pricing strategy will have two clear outcomes:

   1. It will clobber Linux sales - I think the bundles would be better
   Mac+Linux and Windows+Linux.
   2. Deter future revWeb plugin development when it becomes clear how many
   people will pay for it as an isolated feature.
___
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: Mac OS X - how to darken screen?

2010-09-17 Thread David Bovill
Why not simply create a stack, set the bgcolor to black, set the rect to
whichever screenrect, and the blendlevel to a suitable level  (40?) -
probably make it a systemwindow?

On 17 September 2010 16:30, Ken Ray k...@sonsothunder.com wrote:

I want to darken my Mac screen (not just a stack window) the way a
 slide
  presentation would do it at its beginning, and then bring it up again to
  reveal
  what has been changed. Does anyone have an AppleScript or a shell()
 command
  for
  this that can be run from Rev?
 

 There are a couple of AppleScripts to do this, but both of these are
 messy:

 http://www.mactipper.com/2008/03/change-monitor-brightness-using.html


 http://macosx.com/forums/unix-x11/293662-screen-brightness-through-terminal.http://macosx.com/forums/unix-x11/293662-screen-brightness-through-terminal.%0Ahtml

___
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: Rev on two minimalist Linux distros

2010-09-16 Thread David Bovill
Thanks for the report Peter. It's really useful to get a feel of what is and
is not working on these minimalistic Linux distros.

On 16 September 2010 08:22, Peter Alcibiades
palcibiades-fi...@yahoo.co.ukwrote:

 I have finally fired up Rev Media 4.0 on two minimalist Linux distributions
 as a start on the effort to discover whether the problems are really due to
 not having all the necessary files installed, and whether they are due to
 the mulifarious nature of Linux.

 I began with Slitaz and Tiny Core, the latter of which gives new meaning to
 the expression 'minimalist'.  It is gui userland Linux system in 11 Mb.  If
 we still had floppies, it would just about be deliverable on a handful.  It
 uses almost none of the standard components.  All applications have to be
 installed from repository.  Both of these distros run in memory, so they
 are super fast.

 If you do this at home with Tiny Core, you should probably go with 3.1,
 just out.  I used 3.0.  It has 2.6 kernel, BusyBox, Tiny X, FLTK graphical
 user interface and flwm window manager.  Without getting too far into the
 recherche details, this is not your standard distro.  This is as minimalist
 as X windows can get.  Get it here:

 tinycore_3.1.iso

 The other distribution is Slitaz, less minimalist, this has a whole 30 Mb
 and runs OpenBox, so a standard GUI, though not one most folks here may be
 familiar with.  It comes with XOrg and LXDE bits and pieces.  Midori as web
 browser, leafpad editor.  It is a usable desktop out of the box, unlike
 Tiny Core.  Get it here:

 slitaz-3.0.iso

 I did not use these in VMs, but on a spare bare metal machine we now have
 available.  There is not going to be any difference if you run from CD in
 live mode, or if you install on hard drive, since in either case they both
 load directly to memory.  I don't use VMs for this stuff in the interests
 of eliminating as many variables as possible.

 I made no modification whatever to Slitaz, but on Tiny Core, using the
 terminal, was unable to cd to the USB drive on which I had placed Media.  I
 therefore installed PCManFM from the repository, which brought down a
 modest bunch of dependencies, including Gtk2, all of which went by in a
 flash.  I didn't make a note of the others but can find out what they were
 if anyone is interested.

 It would be nice to know what people think should be tested for to make
 this rigorous.  What I did was two things.  First, some minimal exercise of
 the IDE.  Created a new mainstack, dragged objects onto it, resized them.
 This worked fine.  The font (yes, singular is intended) could be resized
 fine.  The dictionary displayed and worked fine.  You can alternate between
 IDE and browse mode.  Buttons work.  Second thing was, when I had a stack,
 I then moved it to another virtual desktop, popped over to the virtual
 desktop and clicked it.  It instantly went back to the first one, where
 Media was open.  So virtual desktops do not work here.

 It does not look like the problems could be missing dependencies.  Rev
 seems to work exactly the same if its in one of these totally minimalist
 environments, including with Tiny Core which has out of the box almost
 nothing the big ones have except what you absolutely have to have to run
 the kernel and a command line, or if it is full fledged and bloated like
 Gnome or KDE.

 The environment I have found where Rev doesn't work at all is Ion2 window
 manager.  This is actually a very nice working environment, its becoming my
 favorite.  Its a tiling and tabbing WM.  You have tiles open, and your apps
 take up the entire tile, in a tab.  The tiles sit side by side on the
 desktop.  It handles pop-up windows in an unusual way, they all appear at
 the bottom of the tile you are in.  Rev does not like this, and it crashes.
 When you get used to Ion and know the keyboard shortcuts, its simply
 superb, fast, intuitive and very easy.  You start apps from the keyboard
 with auto fill to help.  Everything else seems to work with Ion, so this
 may be an indication that Rev is not standards compliant on the desktop
 issue.

 So, tell me what else people want to see exercised, and I will do it, this
 is just a start.  And next week I will hopefully have time to do a full
 scale slackware install and bash around with that.  I am not all that
 lively lately, and the latest is, have a proper phone system to install
 in addition to a server.  But we will get to it, we really will.

___
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] revtalk.net

2010-09-15 Thread David Bovill
Hee, hee - and I've got revtalk.org - was for a community owned project.
Lets see in RunRev get hold of any of the live domains - but I'd be up for
pooling these and taking forwards the community owned independent open
source project...


On 15 September 2010 11:42, Robert Mann r...@free.fr wrote:


 I got this domain name last year and will not make any use of it. So i
 wondered what could be done with it?? Any idea?

 ?? if runrev wants it.. i'll gladly transfer to them..
 ?? but could also be an opportunity to have a kind of common place, site..
 of a kind one does not know yet, sand box where various people could try
 out
 different approaches to better share experiences  knowledge.. !!??
 ?? could runrev provide a free common on-rev space, where a bunch of
 volunteers could put up some perhaps more innovative collaborative tools??
 Concentrate ressources (like the tentative to gather all plugins on a site,
 the revPlanets etc : each of these ressources would gain from being
 assembled, feeding a single rss feed) and provide a revServer kind of
 showroom ??

 well food for thoughts...


This has come up time and time again over the last 10 years, but RunRev have
yet to understand how to capitalise on this desire on behalf of the
community. They keep taking it in-house spending money on it and getting
very poor results - as can be seen by the user contributed notes, or the
various forums scattered around the place.
___
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: Real Basic Web edition - No Plugin Required!

2010-09-15 Thread David Bovill
On 15 September 2010 14:08, AndyP smudge.a...@googlemail.com wrote:


 I've noticed that Real Basic are about to launch a web edition.
 Went to their site expecting a web plugin requirement and found this:

 'REAL Studio Web Edition apps run as a FastCGI on Apache.' !

 http://www.realsoftware.com/web/ http://www.realsoftware.com/web/

 No plugin so works on most default Apache set ups. As it's a cgi it will
 work on Ipad, Iphone and most browsers.

 Now I'm not a Real Basic fan but have to say that having the web version to
 output FastCGI is pretty neat.

 Surely this is a better way for RunRev to go for the web and avoid plugins
 altogether. Wouldn't this open up the uses and market for RunRev?


Yes - I'd have to agree with you. Luckily we can get the same experience by
working with Revolution and Rodeo http://rodeoapps.com/. RunRev should
never have put development effort into a plugin, it was always more sensible
to develop integrated revServer / JavaScript solutions, but this is not a
solution that RunRev with it's focus on the engine fully appreciated - I've
never felt they got the web. Of course some people love the plugin, it makes
me smile too, and only the future will truly tell - in 2 years time will we
be looking at a rich range of web apps using JavaScript, HTML / HTML5 as
their front ends or will lots of us be using a web plugin?
___
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: Real Basic Web edition - No Plugin Required!

2010-09-15 Thread David Bovill
On 15 September 2010 14:52, Richard Gaskin ambassa...@fourthworld.comwrote:


 Jun 27, 2006:

So in brief, if ToolBook could do this almost a decade ago I see
no reason why Rev couldn't also:

1. Identify a subset of things that would be useful in a browser.

2. Make a Rev library with handlers to support those tasks.

3. Make a JavaScript library with corresponding handlers to get
   those behaviors in a browser.

4. Author in Rev, have a library generate the objects as DHTML
   snippets in a web page, reference the JavaScript lib,
   and upload.

5. Give the URL to your friends and enjoy. :)


Oh, and I forgot Step 0 (before 1):

0. Get some of the open source advocates here to do #1, 2, and 3.

 http://lists.runrev.com/pipermail/use-revolution/2006-June/083955.html


Exactly, which is part of what would make a good open source / open content
strategy for RunRev. But they get community development strategy even less
than they get the web :(
___
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: Real Basic Web edition - No Plugin Required!

2010-09-15 Thread David Bovill
On 15 September 2010 14:53, Andre Garzia an...@andregarzia.com wrote:,


 This is beautiful but deploying FastCGI is not that trivial. Recovery must
 play a big part on the backend since the FastCGI stays resident (it should)
 in memory.

 This could be replicated in Rev, pure RevTalk right now. It would not be
 100% safe since we have a blocking engine but we could always use a monitor
 process to detect lock up and kill it. I think it was 2006 or something,
 that I was talking with Mark Wieder about how one should go to implement
 that exact solution.

 It can be done, heck, I am not the best programmer out there and I've
 implemented FastCGI on Revolution 2.x and it actually worked. Now, you guys
 got me hooked, I will write a big followup now not to hijack this thread.


RevServer is plenty to build on, the missing work is the job of polishing
off this infrastructure with integrating the rev IDE and the main JavaScript
libraries - the sensible way of doing this at low cost, is as Richard
outlined to use community development strategies to support open script
library / widget development.
___
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] revtalk.net

2010-09-15 Thread David Bovill
And I have www.rev-co.de, which had full Trac, bugzilla integrated hosting,
Rev IDE integration, and email list integration. Then there have been scores
of other efforts - conclusion? Without a proper community / open source
strategy from RunRev - these efforts are unlikely to get off the ground let
alone succeed long term.

On 15 September 2010 14:55, Andre Garzia an...@andregarzia.com wrote:

 I have revwebhost.com  :-)

 (now that was me being psychic, I registered that before the announcement
 of
 RevWeb and On-Rev)

 As for revPlanets... I have wecode.org/planet that tracks Revolution
 keywords on twitter and also some interesting blog feeds

___
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: [FOSS] On the creation of Rev to Web tools

2010-09-15 Thread David Bovill
On 15 September 2010 16:10, Malte Pfaff-Brill revolut...@derbrill.dewrote:


 I would be interested in how many people would really think they would be
 willing to invest some effort into various open source projects. I know
 David is a huge advocate of all things OSS. However, as Richmond pointed out
 pretty well, over the last 8 years I´ve spend in this community I have
 rarely seen OSS projects that took up momentum. I have been wondering why
 that is for quite a while now. My main thought is that it is not exactly
 easy to collaborate on rev Projects.


It's mainly due to the economics of cooperating in Rev - too easy to develop
solo, and partly due to the history of the community - it's average age is
pre-open source / more share ware - so the culture is not there, and finally
the community is a little small. For these reasons you need to do a little
bit more than simply than place code up on server and declare it open under
some undetermined license for a project to take off.


 This is partly due to the binary nature of stacks which makes it hard to
 use a version control system on rev projects, partly due to the lack of a
 place where projects like this could be hosted.


The version control problem, is effectively solved now that we can create
objects with IDs. It's a red herring anyway, as the majority of useful code
can be shared under version control without problem.

Current state: Everyone that tries to release stuff to the community is
 cooking her own soup. Though most people are very generous with sharing code
 on the lists and forums, there is no central repository where people can go
 to and collaborate on projects. We do have many sites spread all over the
 world with too many gems to dig out.
 Additionally we have revOnline. revOnline is a good place for consumers /
 prosumers though, not suitable for starting a collaborative effort to work
 on code. Especially libraries. Most of the stuff on revOnline is there for
 the visual stuff the stack does, or in a state where the lib is basically
 finished.

So the only things an author that uploads to revOnline can gain is
 - giving examples what can be done
 - help someone solve a problem with a complex stuff (requires a lot of
 coordination and is usually easier done by mail)
 - show off what he has done.


RevOnline does not work - it is not a collaborative environment, which is
why it is easier for people to post urls to downloadable stacks than
indicate there is a stack on revOnline. It should be replaced.


 What an author usually can not hope for is to benefit from changes other
 coders have made once a stack is released into the wild. I have no idea how
 many people here would really willing to dedicate time into OSS projects (my
 last try was rather frustrating, though it has been a few years since I last
 tried.) I might be willing to test the waters again in a couple of weeks.
 More on that later.


Not many. They would when it works. The hard part is not the many, its the
first 5. Ever tried to herd cats? Well there aren't any cats in the Rev
community - they are wolves. They growl a lot and are fiercely independent,
but are deep down secret pack animals even though they wont admit it in
public :) The mothership has a lot to answer for.
___
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: [FOSS] On the creation of Rev to Web tools

2010-09-15 Thread David Bovill
On 15 September 2010 15:31, Andre Garzia an...@andregarzia.com wrote:

The trick is not to try to convert a
 common Rev stack, if you try to convert all kinds of Rev controls and
 stuff,
 you end up basically reimplementing the engine, this is kinda hard.


Agreed that would be hard short term, and probably doomed to fail long term.


 TWO ENVIRONMENT FRAMES
 ... Actions on the development environment do not work directly on
 the stuff we're developing but instead talk to the backend server that will
 follow the orders.

 WEB RUNNER CANVAS
 ... I have a Rev WebServer external ready for this
 project. Thats the second environment frame that I've mentioned above. It
 understands only Javascript.


I don't see any need for this approach? perhaps you need to explain a bit
more. What is wrong with getting the RevIDE to do all this client side? The
only reason to do this server side that I can see is to build a business
case around it. The RevIDe can do all this at lower cost - bandwidth etc,
and there are no real maintenance issues with distributed rev tools
nowadays. Don't get this.

WEB SAFE TOOLS PALETTE  INSPECTOR
 Replacing the tools palette with a Web tailored one with tools that we've
 scripted ourselves. They can mimic standard Revolution tools such as
 buttons
 and fields but they are not in fact creating Revolution buttons and fields
 but our own controls. We would also create our own inspector for setting
 properties of our own self made controls.


I think this is almost right, except that the logic of replicating Rev
controls is the wrong way round. Frankly the web controls are out of date,
and less sophisticated no than those you find in JavaScript libraries. Also
the audience and market is larger for people familiar with these existing
JavaScript interfaces than the tiny Rev market. What is needed is to emulate
the best and most robust JavaScript controls with Rev widgets - not the
other way round.

... When we drop a button on the web runner
 screen, a POST call is made to the web server that picks this and creates a
 button javascript object, this is transparent to the developer.


Again I can see absolutely no reason for the web server to do this - it's
more work, and what is the benefit? The dragging components onto the canvas,
can be done in the IDE. I demoed this at the last conference with widgets
that are under version control on the server.

This way Rev becomes a HTML5/JS/CSS development tool. We don't have the
 overhead of converting stacks to web because we're jumping that whole step
 working directly with HTML5 and friends. This solves control placement and
 interaction but does not solve script processing.


In MVC terms (as you say) - the controllers and models can be on the server.
This server side code could be on On-Rev, but equally there is no reason
when any good robust server code could be used in any language, we just need
to wrap so that the RevTalk based IDE handles it for us in the background.

As an aside, the code I've been working on is based around the idea that we
can have a more robust Rev based workflow (which speeds up native Rev
development), and has the side effect of producing server based controller
code - that can be ftp'd / transferred to the server and work there in
exactly the same way as it does locally. The aim is to enable the sharing of
this portable abstracted code, and build it into intuitive workflows so that
it is generated in a natural way as part of coding in Rev.

SCRIPT PROCESSING
 We would define a subset of RevTalk and create direct conversions from
 RevTalk to JS. As time went on we would implement more and more of RevTalk
 but some minimal subset should be enough for a start. Javascript is a
 wonderful language and converting scripts to it is the most safe option.


Yes - I think we are on the same page here. I see a sub-category of shared
code, which could be translated into JavaScript or other languages. People
would do this in order to allow their projects to work with existing online
frameworks, while allowing local prototyping in RevTalk. The workflow is
natural, and allows for gradual evolution of code bases based on incremental
incentives that benefit the end user. I think it could work, especially if
it were part of an explicit open source / open content strategy by RunRev,
in which they took and supportive but indirect role.


 The elegance of this approach is that we can begin with a fastCGI engine
 for
 the script processing by directly executing RevTalk script on the FastCGI
 process without translation


I still don't see any advantage to this - maybe I am missing something? And
FastCGI is AFAIK not the way to go now anyway?

We could build this and release under BSD license which would enable
 business to use it in the commercial offerings and thus making it
 attractive
 and incentive sponsorship.  This as it is defined needs no input
 whatsoever from the mothership, it can all be done in Rev.


It does not need 

Re: [FOSS] On the creation of Rev to Web tools

2010-09-15 Thread David Bovill
Aha - got you. Good plan for offline development - though secondary in terms
of priority I'd say to having remote server based solution? NB - is the
external based on one of the C based open source server projects?

On 15 September 2010 17:19, Andre Garzia an...@andregarzia.com wrote:

 David,

 I think I was misunderstood on the two environment part. When I say web
 server and Rev IDE I am not saying remote web server in the sense of a
 server far away but a little process running alongside the IDE on the same
 machine. Not unlike the mongrel/ruby coupling.

 You'll be working all on client side. No wasted bandwidth or extra CPU
 power
 required.

 You need, in my opinion, the server running to be able to develop in an
 environment that is equal to your deployment option so that you don't end
 up
 with cycles such as:

 1 - build stuff in Rev
 2 - convert it to web
 3 - run it and it does not work or does not layout right
 4 - back to Rev


 If you're constantly building and tweeking inside a HTML5 enabled window,
 you get the following benefits:

 1 - You avoid any conversion need since you are already on the deployed
 environment
 2 - WYSIWYG approach, what you see on the canvas is exactly what the client
 will see, no need to compile or translate anything

 This way we maintain one of the strongest features of Rev which is being
 able to develop incrementally avoiding the overhead of compile-debug-code
 loops.

 So in summary:
 1 - the server is there because we need something to output as
 real-as-possible data to a RevBrowser window inside Rev IDE where the
 development will be 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


Re: on-rev forum

2010-09-14 Thread David Bovill
On 14 September 2010 16:35, Mark Wieder mwie...@ahsoftware.net wrote:


  Wait -- I assumed you meant the regular RR forums. There's an on-rev
  forum? Did I miss something?

  Umm, yes. Have you really never seen it? Go to on-rev.com, then click
 Support  Forums.


 It's pretty dismal, but it exists. And I just logged in to make sure.
 Your login info for the forum is the same as your cpanel login info.


It's part of the integrated community support tools, that integrate
seamlessly with this list and the use contributed notes? They all have the
same password - at least if that is what you entered when you registered :)
___
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: Reducing flash with revVideoGrabber - any suggestions?

2010-09-13 Thread David Bovill
AFAIK - you've done the best that you can do with rev based hacks.

Maybe you could contact Kevin and ask for the source code? I think there are
a few other people that would really like this external improved and it
would make a great open source project - especially if you could put a small
ransom on it?

On 13 September 2010 12:32, Ben Rubinstein benr...@cogapp.com wrote:

 I'm working on a kiosk which will regularly record short clips of video.
  At a certain point in the sequence I open the video grabber and start
 previewing the video; subsequently I start recording, then switch back to
 preview, then close the VG altogether.  Rinse, repeat.

 Each time the VG is initialised, the VG rectangle goes white for
 approximately three quarters of a second.  Unfortunately in our design the
 screen is mostly very dark, so the white shows up really strongly.

 I've tried various things to reduce this - eg tying the video grabber to a
 featureless borderless sub-stack the size of the video rectangle, and hiding
 it, putting it offscreen, or putting it behind the mainstack while it
 initialises.  Most of these fail altogether.

 The best I've managed to do is with the substack hidden; initialise the VG,
 start previewing, and give it a full second before showing the substack
 (I've noticed when the video actually starts, it also sometimes (?) appears
 dark, and takes a few frames to come to a balance - presumably this is down
 to the camera). Doing it this way I still get a white flash, but it's
 extremely short.

 Although the substack is hidden, the flash appears where the substack is.
  So I can manipulate the position of the flash, by moving the hidden
 substack before I initialise the VG, and then moving the substack into the
 correct position immediately before making it visible, after the VG has had
 its second to 'warm up'.  If the hidden substack is moved entirely
 offscreen, then the whole thing fails; there's no flash, but when the
 substack is moved back into position and shown, there's no video either,
 just a white rectangle.  However, if the hidden substack is partially
 onscreen, partially off, then the white flash is limited to the
 area-that-would-be-visible-if-the-substack-wasn't-hidden, and when the
 substack moved to the correct position and shown, it all works correctly.

 Hence the best I've managed to do is move the the substack so far off the
 bottom right of the screen that there's just one pixel it of it onscreen;
 the white flash is then reduced to a single pixel.  Unfortunately because
 the overall design of the kiosk is very dark, this is still visible - but a
 lot less intrusive than what we started with.  Although having to warm up
 the VG a second before I want to use it is a bore I can easily fairly easily
 accomodate this within the control flow.

 So I do now have a reasonable workaround (confession: I hadn't got this far
 when I started writing this email).  But is this the best one can do?  Is
 there a better approach altogether that I've missed?

 (The obviously completely different approach is to initialise the VG once
 when the kiosk launches, and leave it running all day, hiding and showing
 the preview/record stack as necessary.  However this is going to be in a
 high-traffic and high-profile location, from launch, and there's not long
 before launch; so I'm nervous about doing this without more time for soak
 testing, given various anecdotes I've heard about drifting sync etc.  But if
 there's contrary experience that this can work reliably, I'd be interested
 to hear about that also.)

 Many thanks,

 Ben



 ___
 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: Pattern recognition of basic shapes in Rev

2010-08-19 Thread David Bovill
On 17 August 2010 19:30, Randall Reetz rlre...@gmail.com wrote:

 I am working on two such filters.  The first is a brute force recognizer
 looking for matches to standard shapes (point, line, angle, triangle,
 rectangle, polygon, oval, conic and cylindric sections) and how closely a
 user drawing matches platonic forms of these (exp.  right and equilateral
 triangles, square, right rectangle, golden rectangle, parallelogram, circle)
 at any rotation.   The second filter is one I have been working on for 15
 years and is a universal pattern engine which does the same as above but
 without a set of arbitrarily pre-defined target shapes.  From the
 self-evolving AI perspective from which I work, I consider the first filter
 set cheating and embarrassing (but hey, it is far easier to pull off).

 By the way, anyone can copy a code library or algorithm.  I am always
 interested in the ways different people go about solving problems like this.
  The way I attack a problem is by collecting salient data.  What can I know
 about these user created polygons (number of points (or line segments),
 vertice angles between segments, relative segment lengths, relative distance
 of each vertices from the object's center of area, open or closed, etc.)?
  Once this data is collected and stored for all user polygons, it can be
 compared with the same data collected from platonic shapes.

 How would you go about solving this problem?


I'd Google for a library :)

But that's because it is not the problem I'm interested in, but a tool that
would improve the user experience. It's also because I'm pretty sure it's a
problem that soon will be addressed by the gesture recognition stuff in the
OS, and developing my own hack would well just be another hack.

If I were to do it now, my guess would be to avoid logical solutions based
on knowledge of geometry, and to take one of the C++ based genetic algorithm
libraries out there and train it on a set of user data. I did play with both
neural networks and GA's in MetaCard, and used some of that work in music
composition. Certainly very interesting areas - but right now I just want
the user to be able to draw polygons with their finger :)
___
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: Pattern recognition of basic shapes in Rev

2010-08-17 Thread David Bovill
Thanks Mark - great paper!

There does not seem to be a lot of code around - nearest I can find is
herehttp://www.codeproject.com/KB/GDI-plus/blobby.aspx.
I'd have thought it was something built into the touch screen OS's as it is
kind of essential for vector graphic drawing on touch screens?


On 17 August 2010 04:58, AcidJazz mpe...@gmail.com wrote:


 Here's a link to a technical article that discusses the fuzzy logic
 involved
 in pattern recognition of shapes.  It doesn't provide the exact algorithm,
 but should get you a little further down the road in your search.

___
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


Pattern recognition of basic shapes in Rev

2010-08-15 Thread David Bovill
I'd like to emulate the behavior of some software which allows you to draw
rough shapes by hand and recognises whether you want to draw a circle,
triangle, rectangle etc. The tools would allow you to use the freehand pen
polygon tool to sketch and then replace the sketch with an appropriately
placed polygon or button.

The missing algorithm is one which will take an arbitrary set of poygon
points and return the recognised shape and vertices / dimensions. Any ideas
where to start?
___
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: Rodeo, revServer etc.

2010-08-05 Thread David Bovill
On 5 August 2010 04:20, Andre Garzia an...@andregarzia.com wrote:


 People sometimes gets very passionated, now, if we could channel that
 passion into FREE OPEN SOURCE LIBRARY DEVELOPMENT and TESTING for Rev, it
 would be great and better than some threads that been here latelly.

 I won't say I will miss you guys because I know you are not leaving... :-)


I second that Sarah - in fact I'd go so far as to say you should consider
yourself banned from leaving :)

I'm going (to try) to stay out of debate on these issues, except to say I am
broadly sympathetic to the problems that you have expressed and feel that
both you and Jerry deserve a big thumbs up for your rational calm and
positive contributions on the subject in the face of distinctly defensive
replies, which you could easily have been tempted to reply to more
flamishly.

On the positive, I'd second Andre's comment above. I too feel that a
community run open source project and documentation resource, would not only
provide a productive avenue for many of these issues to be channelled, but
go a long way to addressing some of the technical issues raised. It would
also importantly help to address the sense of a void created by the issues
faced by RunRev currently, and compounded in my view by the approach to
marketing and community that is being followed presently.

Guys we can get better contributions from the community to help RunRev
through this patch!

Another positive note! The best things come from working through hard times
- I think RunRev can and will come out of this stronger. But not without the
community and people like Jerry and Sarah passionately on board. I think the
moves to open source the externals is a great sign, I am hopeful about the
longer term implications with regard to more open and co-development
strategies being pursued on the Linux and Android platforms (it just makes
sense), and I am sure that Kevin and RunRev are actively looking at ways to
improve these things.

So how about a regular monthly online conference - working on FREE OPEN
SOURCE LIBRARY DEVELOPMENT and TESTING for Rev, leading up to a
constructive community show at next years RunRev live event? Say the first
Tuesday of each month?
___
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] Translating your Rev stacks into web apps

2010-07-12 Thread David Bovill
How about a little something to say how Rodeo is different in terms of
features or aims and objectives from let's say
PhoneGaphttp://www.phonegap.com/or for that matter
TileStack http://tilestack.com/ ?

On 12 July 2010 16:53, Jerry Daniels jerry.dani...@me.com wrote:

 Hey, Jim!

 Rodeo development and deployment requires no plugin of any sort now or in
 the future.

 Rodeo Transfer at the moment translates Rev UI objects into HTML/CSS. Rodeo
 web apps are HTML/CSS/Javascript.

 Rodeo tables are not plain text fields. The look and behave very much like
 Rev datagrids. They are single elements, however, not a group of elements.
 They are HTML tables.

 A Rodeo table is also linked to a data source which can be an index to
 records. The industrial use of a Rodeo table is to show a record when you
 click on a line in the table. Data linking, etc, in Rodeo is very implicit
 for the developer. We've just begin the data-linking part of this process.

 Hope that helps. Lots of info on our site.

___
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] Translating your Rev stacks into web apps

2010-07-12 Thread David Bovill
OK - I was not thinking of anything detailed, but in principle I would think
that a good number of people on this list researching how to get into web
app development and leverage their Revolution experience would research
these two alternatives, both have been covered in discussions on this list.

In simple terms PhoneGap is an open source JavaScript framework which allows
you to create mobile phone app's using your basic (ish) knowledge of
standard web technologies. In particular you are able to create iPhone
applicationshttp://phonegap.pbworks.com/Getting-Started-with-PhoneGap-%28iPhone%29by
using standard html markup calling the PhoneGap JavaScript library and
compiling these suing Xcode. The resulting mobile apps are designed to run
on iPhone / Android / Palm / Blackberry / Windows Mobile and Symbian
platforms. As it is open source there is no charge for the code, but for
iPhone development you would need to pay your $99 blood money to Apple. I've
not used it myself, but am looking at interfacing it with Revolution, by
creating a set of open source libraries that would translate between
Revolution widgets and PhoneGap code / widgets. In many ways this is similar
to the aims of Rodeo. I think it would be particularly strong if Rodeo used
or interfaced with the open source PhoneGap framework, as this may make the
eventual aims of supporting an iPhone app store submission service easier to
implement?

In contrast TileStack http://tilestack.com/ is not so interesting I think
- it looks like a more or less complete clone of HyperCard written in
JavaScript - like Rodeo it is a hosted service, and like Rodeo i don't think
the JavaScript is an open source framework - it is not specifically designed
for mobile or webkit / HTML5 - so that is another difference.

If anyone has more detailed experience of either of these products I'd be
interested in their experience. I know that early versions of PhoneGap were
pretty limited - but it has been around for a while now.


On 12 July 2010 17:27, Jerry Daniels jerry.dani...@me.com wrote:

 David,

 I'm not really any kind of expert of the products you mention here. I've
 written and recorded plenty on our objectives and aims, though. It's all on
 our site.


I've decided to take the plunge and take up the early bird offer - looks
like a great way to leverage your Revolution knowledge and get into the
world of HTML5 and JavaScript - looking forwards to the next conference on
the 17th!
___
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: revBrowser + youtube.com = Crashing?

2010-06-22 Thread David Bovill
Not on OSX - last test were several months ago. Keep us posted with bug
report as I'm depending on this too.

On 22 June 2010 12:07, Scott Rossi sc...@tactilemedia.com wrote:

 Any Windows users experience crashing when accessing youtube.com with
 revBrowser?

 The sample browser stack and my own simple test stack both crash Revolution
 consistently on Vista when accessing youtube.com.  This happens here with
 both Rev 4 and 4.5dp3.  Before I submit an urgent, pleading bug report, has
 anybody else run into this problem?
___
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: Have you discuss here already that Apple changed SDK to allow cross-tools ?

2010-06-13 Thread David Bovill
There is no lock-in with Unity - or so it seems to me. As I understand it it
outputs source code to Xcode, which you can tweak and enhance as you wish.
If that is the case then Apple need not fear platform lock-in - and so they
could agree to license it - though no decision has been made yet as far as I
know. I'm not sure Unity outputs source code - I have only gathered this is
the case from other posts - but if it did then according to the lock-in
logic Apple would have nothing to fear.

This requires a different business logic to RunRev - for Unity the value
would then be in the IDE and the community and not the source code of the
engine.

On 13 June 2010 21:26, Robert Mann r...@free.fr wrote:


 And I really wonder how can UNITY game developpment platform go through...
 it
 seems that UNITY controls the apps... (I understood written in javascript)
 and that next revision will allow allow to adress all iphone native SDK
 libraries too. Good for them, but I do feel it is rather unfair for
 runrev!!

___
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


Rio and London

2010-06-11 Thread David Bovill
Seeking London based revolutionaries for fun and FaceTime :)

Also partly in response to Andre's sprint suggestion - I'd like to organise
a meet-up in London, where we can chat, talk, swap ideas and even code. I'd
propose meeting at the National Theatre - in the members area. It's got good
wifi, coffee and views of the Thames. Now Andre if you can organise views of
Rio...
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Shell Command with Sudo

2010-06-11 Thread David Bovill
Don't think expect is the right way to do this - best would be to use an ssh
key (seem to remember that is how I used to do this back when i was on Linux
with Metacard), or else to write a bash script as a text file and then get
rev to execute that.

On 11 June 2010 16:33, Andre Garzia an...@andregarzia.com wrote:

 Justin,

 I always though you could not pipe passwords into sudo. One way to do this
 kind of stuff is to use the expect tool.

 http://expect.sourceforge.net/

 With expect you can automate many command line 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: Stacks with transparent background

2010-06-09 Thread David Bovill
Interesting - thanks! Any reason you know of for not choosing composite
windows on OSX - I take it you can't port your external to OSX without that
:)

On 9 June 2010 15:03, Shao Sean shaos...@wehostmacs.com wrote:


 Under Windows I have an external that allows you to set a stack a colour
 and then make that colour transparent.. Under Mac OS X there are two ways
 to create a window - composite and non-composite. Rev creates windows
 (stacks) as non-composite and therefore cannot create a transparent window
 with opaque controls.

___
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


Stacks with transparent background

2010-06-08 Thread David Bovill
Before I dive in with masks, multiple stacks and the like - any advice on
how to achieve a stack with opaque controls and a transparent background. It
seems that due to the nature of the inheritance using the blendlevel to make
the stack window transparent means that all of its controls will be at least
as transparent - so you cant have an opaque control and a transparent card
background / window.

Maybe there is a nice trick here with inks? The only thing I can think of is
scripting something to create a mask or use multiple stacks.
___
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


export snapshot of another application?

2010-06-07 Thread David Bovill
What's the best way to use rev to take a snapshot of another application
window? I think the windowID is only of a stack and you can't use the ids of
other system windows? So the only way is to use AppleScript or the
equivalent to get the rect of a window?
___
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: GLX Application Framework: difference between a resource and a stack

2010-05-25 Thread David Bovill
On 25 May 2010 20:59, Trevor DeVore li...@mangomultimedia.com wrote:

 Standalone Resources are files that need to be included when building the
 app but which aren't explicitly loaded when you open the application in Rev.


 http://revolution.screenstepslive.com/spaces/revolution/manuals/glxapp/lessons/5558-How-Do-I-Include-Supporting-Files-Folders-When-I-Build-My-Application-


So why do you add the Datagrid library as a Resource in the other tutorial?
NB - how do I check that I have the latest version?
___
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] revIgniter v1.3.2b has been released

2010-05-25 Thread David Bovill
Thanks for that :)

On 25 May 2010 23:29, Ralf Bitter ra...@dimensionb.de wrote:


 revIgniter now follows a simple, easy to memorize,
 naming convention to reduce potential name conflicts
 to a minimum.
 While maintaining the deprecated set of handler names
 it will be phased out in a later version, so all users
 are asked to replace those names over time.
 Please read about Reserved Names in the User Guide.
 Furthermore this version includes bug fixes.

 Of course, there are new revIgniter / irev TextMate bundles
 respecting the new naming convention.

 Info and download at: http://revigniter.com/

 Ralf
 ___
 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: Dynamic screen during application execution ?

2010-05-24 Thread David Bovill
I've downloaded it - will digest and feed back :)


On 24 May 2010 21:43, Fabrice Muller fabricemul...@me.com wrote:

 Hi David,

 Thanks very much for your response. For sure I'm interested to see what you
 have done.

 My stack is available here :
 http://revonline2.runrev.com/stack/469/Mobile-Template-for-IPhone-IPad-Android

 My goal is to give a template to developers for the basic part of an
 application on mobile devices,
 more I could implement in the template, less the developers have to think
 about basic architecture and
 could focus on their business part.

 In the actual version, I have one sub-stack per device and I concentrate
 all code in the main stack,
 like that for sub-stack you just call command and function from main stack.
 This solution seems
 correct, but at the end you have to design your screen for each kind of
 device, with the risk of mistake.

 It's why I was thinking about 1 sub-stack only, and just design the screen
 on the fly when the program
 is executed, I though with this solution, you have less chance to do a
 mistake, and for the specific
 part I will just use Switch, Case. The only bad thing is that you don't
 have a real screen available
 for developing, you have to put objects on the right place during execution
 and so...

 It's also why I search someone who has already experimented this kind of
 feature, I received absolutely
 no feedback from others about my template, and I'm not sure if it could
 help someone or not ...

 Thanks,
 Cheers, Fabrice


 On May 21, 2010, at 12:54 PM, David Bovill wrote:

  Hi Fabrice, quick answer yes Revolution is plenty fast enough to do this
  sort of dynamic screen resizing based on the device. Here are a few tips:
 
- Dynamic scaling or toggle to different presets? With the latter you
 can
write script to simply take snapshots of their geometry and save them
 as a
custom prop
- Is it really any faster than creating distinct static interfaces? How
generic are the components?
- You may find that it is better to organise the project as stacks with
views that can be resized using behaviors attached to groups. The main
project stack would have your screen and the components would then be
sub-stacks. Rev is fast enough to copy the components from one stack to
another and redraw them for development.
- When finished you can if needed remove the templates in the library
substacks and keep the behaviors.
 
  Be happy to show you how it works with a screen cast, and interested to
 see
  what components you want as I've a few in my library that might serve as
 a
  starting point?
 
  On 21 May 2010 10:48, Fabrice Muller fabricemul...@me.com wrote:
 
  Hello,
 
  I'm thinking about a possibility of generating the screen during the
  execution of a program, depending
  the device where the application is running. Just few explanations :
 
  My stack has a card01 which contain every objects like buttons, fields
 and
  so with business code inside,
  a second card which is free of objects will be customized during the
  execution with the right screen size
  and a copy of every objects from card01 is done in this card with right
  placement on screen.
 
  With this solution, no more need to prepare an output screen for each
 kind
  of device like Iphone, android and
  so, it will be just generated during the execution and in the same time
 it
  will be possible to have 1 application
  for many different devices.
 
  I hope I'm clear  My question !!! has someone already tried to
  implement this kind of solution ?
  Is it viable, is it quick enough and so ?
 
  Thanks very much for your feedback,
  Cheers, Fabriceo 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


 ***
 F.LA.M.A - Fabrice Muller
 Phone : +41 (21) 652.18.10 - Fax : +41 (21) 652.18.24
 fabrice.mul...@pobox.com - fabricemul...@me.com
 fmuller.fl...@gmail.com
 http://fmuller.posterous.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


GLX Application Framework: difference between a resource and a stack

2010-05-24 Thread David Bovill
Second go digging into this great open source framework: wandering the best
way to get a stack loaded as a library on startup. So do I use a stack, or
add it as a resource like the suggested route for datagrid the library -
wandering what the difference is. The version I have is not teh same as the
docs.. will have to check I have the lates... but in the mean time does
anyone using the framework know how to best add libraries?
___
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: revLet: dynamic resizing when browser window resizes

2010-05-23 Thread David Bovill
On 22 May 2010 19:04, Alejandro Tejada capellan2...@gmail.com wrote:


 I have been thinking about how to solve
 the desconfiguration of screen interfaces
 when users rezise stacks, or in this case
 resizes the webpage.

 This problem is especially notorious when
 stacks have multiple cards.

 Recreating and/or resizing all the elements
 of the card interface in a preopencard
 handler could position and resize correctly
 most controls.

 This solution requires to describe all widths,
 heights and location of controls as proportions
 of card dimensions using (like html) percents.

 Have you created such handlers to manage
 proportionally position and dimensions of
 controls in a card?


Yes - I totally obsessive about it. Pretty well all the prototyping I do is
with views that scale to the view port. I've always hated fixed width views
and web sites - for completely unreasonable reasons. So all my groups have
resize handlers and I can script the equivalent of put that group in that
rectangle of that card or group - with a resize handler on preopencard you
get what you are describing.
___
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: revLet: dynamic resizing when browser window resizes

2010-05-22 Thread David Bovill
Hi fellow coders, just figured out the way to fix this visual glitch.
Essentially you can't use the geometry manager at this stage - you need to
use a resizeStack handler and code it yourself.

Interestingly the following geometry seems to work:

the screenrect: 0,0,1440,900
 the rect of this card: 0,0,868,504
 the rect of this stack: 274,212,1142,716


all though setting the width of the card does not - which would have been a
lot of fun.

Here is the test revLet - http://www.revtalk.org/tests/Test/test.html which
seems to work well - though there are a few occasional flashes of grey on
FireFox OSX.


On 20 May 2010 22:50, David Bovill da...@architex.tv wrote:

 Created a stack with the geometry manager so that the field resizes.
 Uploaded it as a revLet and modified the HTML so that the width and height
 are 80% instead of fixed numbers:

 object classid=CLSID:B2EC94AF-4716-4300-824A-3314BF23664A width=80%
 height=80%
 param name=src value=Test.revlet/
 param name=stack value=Test/
 param name=requestedName value=/
 param name=instanceID value=/
 embed type=application/x-revolution
 src=Test.revlet
 width=80% height=80%
 stack=Test
 requestedName=
 instanceID=
 /embed
 /object


 It resizes nicely - but it does not load nicely. Any ideas how to fix the
 loading so it resizes to the appropriate size?

 You can see the revLet here:  http://www.revtalk.org/tests/Test/test.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: Dynamic screen during application execution ?

2010-05-21 Thread David Bovill
Hi Fabrice, quick answer yes Revolution is plenty fast enough to do this
sort of dynamic screen resizing based on the device. Here are a few tips:

   - Dynamic scaling or toggle to different presets? With the latter you can
   write script to simply take snapshots of their geometry and save them as a
   custom prop
   - Is it really any faster than creating distinct static interfaces? How
   generic are the components?
   - You may find that it is better to organise the project as stacks with
   views that can be resized using behaviors attached to groups. The main
   project stack would have your screen and the components would then be
   sub-stacks. Rev is fast enough to copy the components from one stack to
   another and redraw them for development.
   - When finished you can if needed remove the templates in the library
   substacks and keep the behaviors.

Be happy to show you how it works with a screen cast, and interested to see
what components you want as I've a few in my library that might serve as a
starting point?

On 21 May 2010 10:48, Fabrice Muller fabricemul...@me.com wrote:

 Hello,

 I'm thinking about a possibility of generating the screen during the
 execution of a program, depending
 the device where the application is running. Just few explanations :

 My stack has a card01 which contain every objects like buttons, fields and
 so with business code inside,
 a second card which is free of objects will be customized during the
 execution with the right screen size
 and a copy of every objects from card01 is done in this card with right
 placement on screen.

 With this solution, no more need to prepare an output screen for each kind
 of device like Iphone, android and
 so, it will be just generated during the execution and in the same time it
 will be possible to have 1 application
 for many different devices.

 I hope I'm clear  My question !!! has someone already tried to
 implement this kind of solution ?
 Is it viable, is it quick enough and so ?

 Thanks very much for your feedback,
 Cheers, Fabriceo 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


revLets and Libraries

2010-05-20 Thread David Bovill
I would like to be able to set up a testing scenario that enables a user to
preview a view widget in a browser as a fully functioning test / demo. I
have a library of these views with each view residing in its own stack. I
can set up standalone settings so that when you open a view stack you can
easily Save as standalone and the revLet is saved and appears in the
default browser.

The problem I have is with libraries - that is if a particular view needs a
library to function. I can add the library as a stack in the standalone
settings, but it is copied as a seperate rev stack with a revLet. As far as
i know you have to have the library as a substack if you want to use it in a
revlet? Any ideas how to automate this - i don't want to duplicate the
library and make it a substack of all the view widget stacks?
___
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


HyperCard for the iPad

2010-05-20 Thread David Bovill
This has been troubling me. Steve jobs is reputed to have said:

“Something like HyperCard on the iPad? Yes, but someone would have to create
it”

at the Apple’s shareholder
meetinghttp://www.macworld.com/article/146739/2010/02/2010appleshareholdermtg.htmlsome
time in early 2010. The closest source to this I can find is
herehttp://www.macworld.com/article/146739/2010/02/2010appleshareholdermtg.html(the
relevant section below is at the bottom of the article):

As usual, there were also a number of off-beat comments and questions,
 ranging from suggestions that Apple invest in Tesla Motors (Jobs: “We were
 thinking of a toga party, actually”) to a request for a flagship Apple Store
 in Cupertino (“I’ll pass that on to our retail team”), to a suggestion that
 Apple partner with Nintendo (strategic alliances are hard, but possible if
 it’s worth it), to a desire for a simple programming language on the iPad
 (“Something like HyperCard on the iPad? Yes, but someone would have to
 create it”). Jobs declined to comment on the possibility of a
 Verizon-network iPhone.


So it was a casual remark - not thought through maybe? I'd be tempted to be
generous on this one - and figure that he meant what he said. If so it would
be real interesting to ask on what legal and technical basis someone could
do that. I don't think his answer would be along Rodeo lines - that is you'd
have to create web app's.

So perhaps it is worth asking along which lines a real HyperCard app could
be made on the iPhone? How about a community drafted letter - one directed
specifically at this question and to clarify his thinking on this? What
would such a letter look like? Which is the best open platform out there to
draft such a letter together and collect signatures?

NB - I'd be tempted to think that one possible answer which would square the
circle (with regard to Apples concerns with a middle layer lock in) - is if
the HyperCard app on the iPhone was open source. Then there would be no
lock-in against Apples interest as if they or any Apple developers wanted to
improve and add platform specific features they would have the power to do
that? That is surely part of the logic behind why JavaScript is OK.
___
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


Rodeo: 2 questions

2010-05-20 Thread David Bovill
Hi Jerry, I'm still reading about Rodeo and trying to evaluate whether to
take the plunge. there are a couple of things I don't quite get:

   1. The web apps being served by On-Rev:  Rodeo server is a
   highly-scaleable, secure, n-tier architected cloud solution. So there is no
   way to author and then serve from our own servers, and that means a minimum
   $10 a month fee for hosting. What about bandwidth? What if someone creates a
   wildly popular webapp - can they serve some content from a CDN? Any ideas
   how you would charge for that?
   2. Is there any specific strategy offered by On-Rev in your server set-up
   that allows true scalability and load balancing across regions etc? Or are
   we realistically going to be stuck with a single shared or perhaps even
   private server without the ability to scale that? OK for a the vast majority
   of apps this won't be an issue - but having the option to scale in the event
   is still an issue.
___
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: Rodeo: 2 questions

2010-05-20 Thread David Bovill
On 20 May 2010 14:27, Jerry Daniels jerry.dani...@me.com wrote:

 Of course it's still early days, but we are very serious about having a
 scaleable backend service.

 Since one of us is in Australia, we also want geographic coverage. Every
 day this sector of our industry gets better.

 Massively shared servers? No. Deals for dedicated servers? Yes.

 We want this to be a premium service focused on performance. It will not be
 free. We are not taking on VC for this. There are no ads to support it. It
 will be fee supported.


Thanks for the info Jerry - very clear. Please keep us posted with details
on your plans for backend scaleability using On-Rev. I'll keep investigating
using cloud databases for this as i project I am working on needs it - and I
can;t see how I would use On-Rev to deliver easy and affordable scalability.
___
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: HyperCard for the iPad

2010-05-20 Thread David Bovill
On 20 May 2010 16:46, J. Landman Gay jac...@hyperactivesw.com wrote:

 Richard Gaskin wrote:

  I believe Apple would allow a HyperCard-like app for the iPhone/iPad only
 if they could have complete assurances it would be available EXCLUSIVELY for
 iPhone OS.


 Kevin offered to do exactly that, and was still refused. It's in his blog
 post.


Yes he did - and I don't agree it is about exclusivity - it is about not
being locked into the lower common denominator. It is about the apps being
better on the iPad than they are on anything else - and the danger is that
the opposite would happen over time - as it has before with Apple based
software.

This still leaves space for open environments though - as an open
environment would not be outside of Apples control in the same way. There
may be other ways?
___
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: HyperCard for the iPad

2010-05-20 Thread David Bovill
On 20 May 2010 16:57, Andre Garzia an...@andregarzia.com wrote:

 now, when RevMobile runs on the future android devices, we'll take over the
 world and jobs will fired from apple and found a company called NeXTAgaIN
 just to ship some products called NextPad Turbo NextPhoneCube and be bought
 by Apple when His Steveness will be again CEO, rinse, repeat


Can you put that in revTalk?
___
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: Rodeo: 2 questions

2010-05-20 Thread David Bovill
On 20 May 2010 16:55, Jerry Daniels jerry.dani...@me.com wrote:

 The cheapest, most scalable and fastest performing are all the same
 solution:

 1. Client: thin
 2. Web server: thin, but round-robin'd the IP addresses to 1 of the 13 app
 servers
 3. Web app server: hefty, almost fat
 4. Data: thin and agnostic (NO stored procedures)


Hi Jerry this is not the sort of scalability that is needed for some
interesting classes of apps. First it is very expensive in terms of set up,
and then admin. By very expensive I mean more than $1,000.

It is the transition between - give the idea a go and wow it's taken off
that I'm interested in addressing. If you can get the costs down on that you
can do some interesting things. At the progression from basic hosting to the
set up you describe is a big expensive jump. Also it does not scale
massively for bursts on unpredictable demand. One application I've been
asked to get my head around may have up to 1 million concurrent users or it
may flop - a pay as you go service like Amazon or Google App engine helps
you cope with that.

In the world of webApps, I think we can also consider other scenarios:


   1. AJAX embeds / Flash / revLet plugins for blogs, webApps on mobiles
   2. Client side processing and web service based data = no need for 2)
   3. Cloud based DB such as Google AppEngine or Amazon SimpleDB
   (effectively combines 3 and 4)

People buy the apps, come to a separate web site where they can create
customised embeds for their blogs or social networks. They can buy or
subscribe and this covers the cost of the Cloud DB as it scales
___
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: HyperCard for the iPad

2010-05-20 Thread David Bovill
I agree with Bob here Richard.

On 20 May 2010 19:00, Bob Sneidar b...@twft.com wrote:

 RunRev's recent proposed approach would have forced RevMobile to be
 iPhone/iPad only. That isn't the issue.


It is not exclusivity that is being asked for. It does not matter that Rev
was offered for one platform or many. It does not matter that the same game
are developed for iPhone and other platforms - exclusivity is not at all the
issue. The issue is control. Control to ensure that the lockin does not
migrate to any software platform that is offering pan-platform middleware -
whether that be Adobe or RunRev.

The fear is that cross platform development incentivises prioritising the
lowest common development, and the largest installed user base - which by
most accounts will soon be Android. Apple thinks it has an edge by competing
on the basis of design quality and constant innovation in the hardware and
OS - which it needs to trickle down to developers. If a tool maker does not
implement the latest features fast enough then the cutting edge products are
dragged down waiting for the tool makers to implement features, which they
are only motivated to do when the market is big enough.

So the fear, which is justified IMO, is in lock-in to proprietary middle
ware that Apple does not and cannot control. The question I am asking is are
there not other ways to square the circle - and would open source be one of
those ways? If it were then you might expect some of those iPhone platforms
that export modifiable / open source code to be accepted some time soon. Are
there other ways in which a HyperCard like app can be created which does not
involve lock-in out side of Apples control?
___
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


revLet: what url am I?

2010-05-20 Thread David Bovill
Playing with a revLet:

   put the revletParams of this stack into someArray
combine someArray with CR and tab
put $HTTP_HOST  CR  CR  someArray into someText
answer someText


But I am not getting anything for $HTTP_HOST it looks like that global
is not supported. This is what I get for the globals:

gRevAppIcon
 gRevSmallAppIcon
 $JAVA_JVM_VERSION
 $XRE_BINARY_PATH
 $XUL_APP_FILE
 $NO_EM_RESTART
 $XRE_IMPORT_PROFILES
 $XRE_START_OFFLINE
 $XRE_PROFILE_NAME
 $XRE_PROFILE_LOCAL_PATH
 $XRE_PROFILE_PATH
 $MOZ_LAUNCHED_CHILD
 $MOZ_CRASHREPORTER_STRINGS_OVERRIDE
 $MOZ_CRASHREPORTER_DATA_DIRECTORY
 $MOZ_CRASHREPORTER_RESTART_ARG_2
 $MOZ_CRASHREPORTER_RESTART_ARG_1
 $MOZ_CRASHREPORTER_RESTART_ARG_0
 $COMMAND_MODE
 $SECURITYSESSIONID
 $Apple_PubSub_Socket_Render
 $SSH_AUTH_SOCK
 $DISPLAY
 $LOGNAME
 $USER
 $HOME
 $SHELL
 $TMPDIR
 $PATH
 $#


Can't see anything that is going to give the url of the actual revLet -
$HOME and $PATH give the same thing - a realtive path on the server!
___
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


revLet: fetching a url

2010-05-20 Thread David Bovill
This really should work - what am I doing wrong?

on mouseUp
if the optionkey is Down then
   put Hello World! into fld 1
else
   put url http://www.google.com; into fld 1
end if
 end mouseUp


I create a simple stack with one button and the above script and one field.
It works fine on the desktop. The application settings for the revLet
include the internet library and the network access in security settings.
But no go???

The stack can be found here:

go to stack url http://www.revtalk.org/tests/Test/Test.rev;

 and the revLet here:

http://www.revtalk.org/tests/Test/test.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: revLet: what url am I?

2010-05-20 Thread David Bovill
Thanks Mark - I'm wandering if I should file access to the more usual Apache
environment globals as a feature request?

On 20 May 2010 21:23, Mark Schonewille m.schonewi...@economy-x-talk.comwrote:

 David,

 Have a look at this http://qurl.tk/av

___
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: revLet: what url am I?

2010-05-20 Thread David Bovill
So does HTML :)

On 20 May 2010 21:42, Mark Schonewille m.schonewi...@economy-x-talk.comwrote:

 Hi David,

 I don't think so, because a revlet runs locally, not on the server.


Anyway it is useful.
___
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


Cloud databases and scalability (was Rodeo: 2 questions)

2010-05-20 Thread David Bovill
On 20 May 2010 21:52, Mark Wieder mwie...@ahsoftware.net wrote:


 Twitter, Digg, Reddit, etc are indeed reaching the scalability limits
 of their databases, and are moving into the NOSQL world of Cassandra,
 Hadoop, CouchDB... but you need to up at the level of shoveling around
 petabytes of data before you need to start dealing with those issues.
 And dealing with NOSQL databases means you need to know your data
 formats and how you're going to be using them before you start,
 because once you slice and denormalize your data into various storage
 compartments you lose things like the ability to do adhoc searching.


Thanks for the input Mark - terabytes of data is not likely, and would also
be expensive. The biggest real world problem is lots of concurrent users.
For a live event - for instance something that would be promoted on TV, you
might get a lot of users in one go - then nothing. Amazon SimpleDB seems an
interesting way to cope with one off high capacity surges like this at very
low cost (as long as the data fields are small).

Can anyone advise on how you would do a stress test to replicate say 100,000
concurrent users - are their tool kits or a company perhaps that is set up
to do that sort of thing?
___
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: revLet: fetching a url

2010-05-20 Thread David Bovill
Yes - network permissions are on, and the Internet Library selected OSX
10.6.3

go to stack url http://www.revtalk.org/tests/Test/Test.rev;


and the revLet here:

http://www.revtalk.org/tests/Test/test.html



On 20 May 2010 22:14, Devin Asay devin_a...@byu.edu wrote:


 On May 20, 2010, at 2:35 PM, David Bovill wrote:

  This really should work - what am I doing wrong?
 
  on mouseUp
if the optionkey is Down then
   put Hello World! into fld 1
else
   put url http://www.google.com; into fld 1
end if
  end mouseUp
 
 
  I create a simple stack with one button and the above script and one
 field.
  It works fine on the desktop. The application settings for the revLet
  include the internet library and the network access in security settings.
  But no go???
 
  The stack can be found here:
 
  go to stack url http://www.revtalk.org/tests/Test/Test.rev;
 
  and the revLet here:
 
  http://www.revtalk.org/tests/Test/test.html

 David,

 In the standalone settings Web tab, did you check the Network box? I
 believe that in order to access urls outside of your own domain the user has
 to grant permission.

 HTH
 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: revLet: what url am I?

2010-05-20 Thread David Bovill
On 20 May 2010 22:14, Mark Schonewille m.schonewi...@economy-x-talk.comwrote:

HTML is indeed rendered locally, which is why you can't use server
 environment veriables in HTML.


Hi I was sort of joking - but really you have HTTP headers like HTTP
referrer - so that the browser can tell where the hell the HTML came from -
similarly revTalk will sometmes need to know the url the original stack came
from.
___
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


revLet: dynamic resizing when browser window resizes

2010-05-20 Thread David Bovill
Created a stack with the geometry manager so that the field resizes.
Uploaded it as a revLet and modified the HTML so that the width and height
are 80% instead of fixed numbers:

object classid=CLSID:B2EC94AF-4716-4300-824A-3314BF23664A width=80%
 height=80%
 param name=src value=Test.revlet/
 param name=stack value=Test/
 param name=requestedName value=/
 param name=instanceID value=/
 embed type=application/x-revolution
 src=Test.revlet
 width=80% height=80%
 stack=Test
 requestedName=
 instanceID=
 /embed
 /object


It resizes nicely - but it does not load nicely. Any ideas how to fix the
loading so it resizes to the appropriate size?

You can see the revLet here:  http://www.revtalk.org/tests/Test/test.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: Cloud computing: scalable DB

2010-05-19 Thread David Bovill
Thanks for the pointer Mark - seems comparable price wise. I think as I am
looking for the easiest migration strategy from small community cheap
start-up costs to global scalability - I'd prefer either the ability to use
MySQL, or the simplicity of SimpleDB (which is also free for a basic
instance)?

But it is early days in the research - so thanks again for the pointers!


On 18 May 2010 16:29, Mark Stuart mstu...@adaptcrm.com wrote:

 on Tue May 18 06:23:14 CDT 2010, David Bovill wrote:
 
 I'm looking into an application which needs a highly scalable back end
 database.
 

 David, have you checked out Microsoft's Azure cloud services?
 http://www.microsoft.com/windowsazure/sqlazure/

 Here's some info I copied from that page:

 SQL Azure Database Features
 ===
 Relational Database Management Services (RDBMS)
  - Creating, accessing and manipulating tables, views, indexes, roles,
 stored procedures, triggers, and functions
  - Execute complex queries and joins across multiple tables
  - Insert, Update, and Delete
  - Constraints
  - Transactions
  - Temp tables
  - Basic functions (aggregates, math, string, date/time)
  - A subset of the existing SQL Server built-in stored procedures and
 system views
  - Support for tracking billable metrics in real time and for historical
 analysis

 Programmability
  - Managed ADO.NET data access
  - Native ODBC ***
  - Support for PHP

 Tools
  - Deployment Support for running SQL configuration scripts via SQLCMD
  - Provision Logical Servers and Databases through the SQL Azure
 Database account portal

 There's a Get Started Now link near the left/top side of the page.
 ___
 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


revWeb: Splash Screen Icon

2010-05-19 Thread David Bovill
When you set a splash screen icon in the standalone builder fo a revWeb
exported stack - the icon must be copied somewhere to the revWeb plugin. Is
there a way to refer to it from within a script in the revWeb stack - or do
I have to copy it in twice so to speak?
___
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: How to create a self-contained custom control

2010-05-19 Thread David Bovill
The whole point of a behavior is that it works for multiple objects (in your
case a group) and acts a bit like a library for that group - so you can copy
and paste the group where you want and all the copies will point to and use
the same behavior script. If you want to put the script inside the group and
don't mind having multiple copies of the script for each groupd you copy -
then you can - basically don;t use a behavior and just put the behavior
script in the groups script. There is no way to have both.

On 19 May 2010 20:33, Jérôme Rosat jro...@mac.com wrote:

 Stephen,

 Thank you for the suggestion. I tried. But it doesn't work as I wish it.

 Jérôme

 Le 18 mai 2010 à 23:38, stephen barncard a écrit :

  Nested Groups?
 
  On 18 May 2010 13:36, Jérôme Rosat jro...@mac.com wrote:
 
  I created a custom control.  I set the behavior of the group (the custom
  control) to a button script (I want no script in the group).
 
  If I copy the custom control in a new stack, i need to copy the button
  script too, or the stack that contains the button script as a substack
 of a
  new stack.
 
  How to make a self-contained custom control that I can simply copy and
 past
  where I want ? I tried to put the button script inside the group, but it
  doesn't work. If I copy the custom control in a new card, the behavior
 of
  the group still point to the previous card.
 
  Any idea ? Thank you for your help.
 
  Jérôme
  Genève___
  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
 
 
 
 
  --
  -
  Stephen Barncard
  Back home in SF
  ___
  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

___
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


Cloud computing: scalable DB

2010-05-18 Thread David Bovill
I'm looking into an application which needs a highly scaleable back end
database. One with low up front costs and yet won;t fall over if it suddenly
takes off. I've noticed Jerry and others describing On-Rev in terms of
cloud storage - but AFAIK it is a simple shared host, and there are no
services on offer with regard to scaling or true cloud computing?

So - I am looking at using true cloud based database solutions. On-Rev would
provide that administrative functions but web plugins on users own web sites
would directly call the cloud computing backend. I'm looking to prototype
this in revWeb and then implement the plugins in a suitable AJAX framework.
It seems to be that this is now a reasonable approach to take given the
existing state of these services - but I'm only reading about them and would
love some feedback from others on the list.

In particular I am looking at using Amazon - either their
SimpleDBhttp://developer.amazonwebservices.com/connect/entry.jspa?externalID=2552categoryID=146,
or their Relational Database
Servicehttp://aws.amazon.com/rds/?ref_=pe_8050_15319810,
but maybe also Google equivalent services? Anyone tried these - I've only
used Amazon S3 for file storage to date?
___
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: Cloud computing: scalable DB

2010-05-18 Thread David Bovill
Thanks Andre:

On 18 May 2010 13:18, Andre Garzia an...@andregarzia.com wrote:


 * CouchDB http://couchdb.apache.org/
 * MongoDB http://www.mongodb.org/ (there's a mongo db hosting service at
 MongoHQ )
 * Cassandra http://cassandra.apache.org/
 * Riak http://riak.basho.com/


I think it is only really Amazon SimpleDB and Google App engine that offer
automatic cloud-based scaleability? Perhaps MongoDB - but I like the idea of
going with a big player on this.

At the moment it seems that SimpleDB is offered optimally in different
regions, and I am not quite sure yet how you would offer global access based
on a single data source offered in all regions (with SimpleDB the regional
instances are seperate stores) - maybe AppEngine??? For now I think unless
you want to write in Python code as well it is better to use SimpleDB from
Rev - that way you can access it from Desktop as well as webApps.

Also interesting though more expensive is the idea of using MySQL (sqlLite
locally) and being able to move over to Amazon
RDShttp://aws.amazon.com/running_databases/#rdsfor scalability - but
you only need that for complex DB's I think.

This is a really good read and recent review at
InfoWorldhttp://www.infoworld.com/d/data-management/slacker-databases-break-all-the-old-rules-599?page=0,7
.

I think most of the data we're trying to store these days is document based
 where we have something abstract which we call a document and this document
 have properties and fields where we store data or other documents such as
 an
 address book can have different entries and fields for different contacts.
 This kind of problem is easily solved with the above solutions and harder
 to code with plain old relational systems.


I particularly like the idea of not having to get into complex relational db
design, but using simple parallel tables and doing the joins in the
application layer ( ie revTalk) - seems the way to go to me - if you can
break the data into object-like chinks where your parallel queries retrieve
small quantities of data that you use revTalk to massage - sounds great. Not
for banks maybe - but for most of the rest of use cases.
___
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: revigniter - Model-View-Controller in Rev terms?

2010-05-16 Thread David Bovill
Hi Ralf - I'm going to take a second look at revIgnitor - and pretty much
agree with the entire approach and the mapping of MVC concepts to Rev. I am
looking forward to integrating my code into your framework :)

This is how I see the mapping:

*View*
Yes the visual appearance of the interface that lays out the data on screen
ready for interaction. But specifically it includes any presentation logic
such as code for resizing the view, or changing it's visual appearance.

Also in general I feel that views map to groups with behaviors - therefore
the Datagrid is a view. you should be able to drag and drop views onto cards
and ideally nest them within each other, and to do this in a way which is
completely independent of your particular applications logic and data.

These views usually have custom properties that allow you to get and set
their data in a standard way and also to change their appearance - a test of
their MVC'ness is the ability to move them around and use them as is without
editing their code in any way. I have found it very useful to test out views
precisely this way by keeping them in an external library and testing the
ability to drag and drop them into a variety of situations (manually or
under script control).

It would be possible to consider some cards or even stacks as views - so far
I don;t do that - but it is possible for instance to automatically create
stacks as dialogues which contain group views - so for instance I use the
standard video, image, xml, and tree views to display data in a window using
a command such as display_Image someUrl which creates a new stack, and
copies the image view to that stack. It's a side effect of creating a good
view that you also create some good dialogue stacks.

*Models*
I've not done that much on these and intend to use Trevors sqlYoga, and / or
the work that Ralf has done. The important bit for me is the ability to move
from arrays to databases - so I have an abstraction layer that uses arrays,
but can easily be switched to XML or a database.

*Controllers*
The glue. I agree with Ralf that the best place usually for this code is the
card script. And in simple terms it does everything else required to glue
the views to the data. It is where the code that really defines the logic of
your application is. I have a way of creating this code which automatically
creates a basic interface - so this is often where I start coding -dragging
a few basic views onto screen to display the data, and gradually defining
the model. At the end I create new custom views for the application -
perhaps by cloning one of the existing ones and if it is useful adding it to
the library.
___
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: player object and https URL

2010-05-16 Thread David Bovill
I've not tried this but if you can fetch the same url as data with:

   -  put url 
https://www.mysecuresite.com/movie/mymovie.movhttps://www.mysecuresite.com/movie/mymovie.mov
   

And you are not able to set the filename - then it must be a bug?

On 15 May 2010 20:02, Martin Koob mk...@rogers.com wrote:

 Martin Koob mk...@... writes:

 
  I tried to set the filename of a player object to  the url for a movie
 which
   is on an ssl protected server
  ie https://www.mysecuresite.com/movie/mymovie.mov
  The movie does not load
 

 One additional thing I noticed.  If I set the filename of the player by
 script to an https url it will return could not create movie reference

 Any ideas why this happens?

 Martin


 ___
 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


Nice OSX tip: creating an image with a desktop snapshot without scripting

2010-05-15 Thread David Bovill
Perhaps the coolest, most-secret hidden capture shortcut is
Control-Command-Shift-3 (or 4), which, instead of creating a file on your
desktop, copies the capture into your Clipboard memory, so you can paste it
where you want.

   1. Press Control-Command-Shift-3 (or 4) from any application
   2. Switch to Revolution and in the stack you want the image - just paste!

It's all about that control key :)
___
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


Tip 2: screen shot capture from iPhone

2010-05-15 Thread David Bovill
To take a screen shot, hold down the home button and then push the top
button. The screen will flash and the resulting image will be placed on your
camera roll.
___
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: Will revCGI be made available (not just revServer)?

2010-05-15 Thread David Bovill
Thanks for the pointer Bernard - any idea how that would compare with
DreamHosts private servers? I certainly like the fact that you have
datacentres in different continents with Linode!

On 15 May 2010 11:36, Bernard Devlin bdrun...@gmail.com wrote:

 Since the advent of services such as Slicehost or Linode, I'm
 surprised anyone bothers with shared hosting.  Linode costs $20 a
 month, and you get to choose from a variety of different linux
 distributions.  In my experience, the performance and support are
 amazing.

___
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: Thoughts on Kevin's announcement

2010-05-14 Thread David Bovill
Pretty much agree with everything you say here Robert - especially about
revWeb - community provided JavaScript integration libraries are what we
need.

On 13 May 2010 23:16, Robert Mann r...@free.fr wrote:


 The recent change in iphone policy and runrev plans have shaken my
 strategic
 tree over here in France.

 So i decided not to wait any longer for the ipad dream, and to launch my
 first app as mac and windows desktop !! I also decided to dig javascript as
 it has become so central nowadays; being at the heart of webBrowsers.
 Wanted
 to share views on that :

 I identified SproutCore framework and wondered if Jerry is working with
 that
 kind of framework!?

 It seems there is now 3 approaches to javascript-webapps :
 - thin client (all done on server side, eg that standard dynamic CMS
 sites
 on-rev excells at)
 - fat client (static HTML5 CSS with lots of Javascript all around that
 can
 directly interact with data servers, like SproutCore)
 - and.. a sportive approach.. which I thought off with on-rev, which is a
 dynamic CMS using .irev scripts the most and as little javascript as
 possible, and possibly jQuery scripts to keep cross-browser
 compatibility...

  .. and that is where RevIgniter, which I found so impressive seem to go! :

 This version includes a new library,
 which lets you write jQuery code for event handling,
 animation and Ajax interactions using revTalk.

 Now sproutCOre has a touch librairy and an IDE just out of the oven... and
 with phoneGap still being ok with apple new strategy.. it seems like an
 interesting doable route for mainstream information orientated iphone apps.
 [and we'll soon see what rodeo brings in that arena too!]

 I'll be testing those 2 frameworks shortly and let know.. and of course any
 views, maybe on a separate thread?


 --
 as far as the main subject of this thread was... Kevin's annoucement,

 to make it short : I'm ok not to have any money back from the mobile
 program
 (to be crude about it...) BUT I would like A) to get ANDROID mobile instead
 of iPhone (seems fair! eventhough i'll ditch my dream regarding iPad).

 If we get maemo, window mobile and android : we'll be kings! and thankfull
 to runrev!! Because if ever one wants to cover the whole lot of mobiles,
 javascript and HTML open up : iPhone, webOs, and Blackberry.. another good
 reason to consider javascript as language n°2 as a complement to xTalk!

 and B) Also just ONE MORE STEP for the on-rev : the possibility to have
 closed STACKS instead of opened .irev so that a market can develop there
 (this is a year long awaited request!)

 To my view the revWeb plugin is kind of useless road which I would not
 pursue at great expense, since javascript seems to provide the fuel for
 webapps now (demos at SproutCore). I must was enthousiastic at first but
 just cannot make it to rely on that one.

 I would prefer that a minimal audio/video library be made, like the
 datagrid
 enhancement of last year (simple fade in and out, cross fademix, minimal
 reverb, tone correction and normalization) and possibility to ouput a
 compressed quicktime format. It is important to be able to produce good
 quality audio/video by program too since runrev claims to be a media
 platform.


 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/Thoughts-on-Kevin-s-announcement-tp2172675p2215870.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: Will revCGI be made available (not just revServer)?

2010-05-14 Thread David Bovill
On 14 May 2010 02:05, Richard Gaskin ambassa...@fourthworld.com wrote:

 Lyn Teyla wrote:

  revServer runs as an Apache module, not as CGI.


 I don't believe it's an Apache module.  I'm not exactly sure what it is,
 but when I asked if it was a module per se I was told it was not. That's a
 good thing, IMO, since it would be next to impossible to install it on a
 shared host if it were.


I'd like to know as well - personally I fear ti will be worse than that and
the revServer that you can install will be a complete integrated server that
you will need you own dedicated server for - in which case it would be
impossible to install on a shared host, and worse still pretty unlikely that
existing hosting providers could be talked into installing it (which they
might if it were an Apache module with appropriate security audit /
certification).

I don't know this to be the case - but nothing said so far publicly
indicates anything other than the equivalent of a company could freely
install it to run their own server. Or does anyone know anything different?
___
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: Adobe's New Anti Apple Ads

2010-05-14 Thread David Bovill
Just for fun :)

   - Adobe starts Anti Apple Ad
campaignhttp://www.switched.com/2010/05/13/adobe-launches-all-out-war-on-apple/
   - Adobe's reply to Mr Jobs http://www.adobe.com/choice/flash.html
   - Adobe on openness http://www.adobe.com/choice/openmarkets.html
   - And Microsoft don't like Flash
either?http://digitaldaily.allthingsd.com/20100430/microsoft-on-flash-what-steve-said/
___
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: Thoughts on Kevin's announcement

2010-05-13 Thread David Bovill
Jerry - it would be good to outline a little more clearly how Rodeo works /
fits into the picture of how to develop apps on iPhone for Rev developers.
I'm not clear - so I guess perhaps others are not.

At present you have to make iPhone apps using either:

   1. Cocoa Touch http://en.wikipedia.org/wiki/Cocoa_Touch and
Objective Chttp://en.wikipedia.org/wiki/Objective-Cusing Xcode and
the the iPhone
   SDK http://en.wikipedia.org/wiki/IPhone_OS#iPhone_SDK
   2. Use open web standards and Xcode with or without open source
   frameworks such as
PhoneGaphttp://phonegap.pbworks.com/Getting-Started-with-PhoneGap-%28iPhone%29
   3. Other?

You could also just create iPhone tailored web sites (with or without
JavaScript frameworks to help out):

   - http://news.cnet.com/8301-13579_3-10295121-37.html
   -
   
http://www.mobiletopsoft.com/board/7600/google-voice-web-app-now-available-to-iphone-and-webos.html

I'm sort of assuming that Rodeo is an app written in Cocoa Touch/Objective
C/Xcode which reads and writes structured data to the web server. You
therefore have an authoring app and a web service. The web service is able
to customize an Xcode project, and therefore create an app from this data
for you, which you then aim to submit to the App store.

Questions:

   - Is this right?
   - Is this not simply using web services to do the same thing as any other
   framework that automatically generates Objective C for Xcode - and therfore
   could fall foul of the originally written clause on the new license?

I am trying to choose between the web app approach, the PhoneGap approach
and Rodeo - thanks
___
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: Check out Jerry's new videos -- REV to ObjC - iPhone

2010-05-10 Thread David Bovill
On 10 May 2010 07:37, Alejandro Tejada capellan2...@gmail.com wrote:


 Many years ago, someone mentioned in this list that him/her/them was
 working in a revTalk port of ALICE. I just keep wondering if that
 project was completed sucessfully...


Yes - I did that. I truly apologies to all on this list :( I forgot to code
the off button.
___
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] Connect the dots...

2010-05-10 Thread David Bovill
On 10 May 2010 17:25, Bob Sneidar b...@twft.com wrote:

 These journalists have to invent things to write about sometimes. What I
 got from the article is that the journalist was saying Apple is not a threat
 to Nintendo at all, because they are really producing two different
 non-competing products. And my take is that Apple is not producing anything
 in the way of end user software on the gaming front anyway. They are
 providing a way to get software to the end user that small developers could
 never have hoped for prior to the iPhone.


Have to disagree there Bob:

   1. Games are the number one surprise hit on the iPhone
   2. The third most significant addition in iOS4 is the Game
Centrehttp://developer.apple.com/technologies/iphone/whats-new.html#gamecenter-
   
http://www.tuaw.com/2010/04/08/iphone-os-4-0-apple-announces-game-center-a-social-gaming-netw/
___
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: Check out Jerry's new videos -- ALICE port

2010-05-10 Thread David Bovill
Yes I did - but this was a very very long time ago - back when i was using
MetaCard (some time last century - so I can't vouch for the code quality). I
was interested at the time in using it for customer service and game
applications... and in the end I figured it was better to simply run an
Alice server and call it as a web service than have to maintain an extra
code base.

On 10 May 2010 17:51, J. Landman Gay jac...@hyperactivesw.com wrote:

 David Bovill wrote:

 On 10 May 2010 07:37, Alejandro Tejada capellan2...@gmail.com wrote:

  Many years ago, someone mentioned in this list that him/her/them was
 working in a revTalk port of ALICE. I just keep wondering if that
 project was completed sucessfully...


 Yes - I did that. I truly apologies to all on this list :( I forgot to
 code
 the off button.


 Did you really, or was this an amusing comeback only? I would love to see a
 Rev port of ALICE. Did anyone actually do that?

___
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: News on revMobile

2010-05-10 Thread David Bovill
On 10 May 2010 19:11, Andre Garzia an...@andregarzia.com wrote:


 As soon as Rev works well on Linux, I will switch back to Linux making a
 comeback to the land of the free just like I did a switch from linux to
 macs
 in 2000.


Me too!

Actually, in the same way that it looks like the future of consumer oriented
operating systems at Apple is going to be the iPhone OS, it also looks like
the (consumer oriented) Linux of the future is going to be Android. For me,
this bodes well in the longer term for Revolution.

That is because at last RunRev will be forced to prioritize both Linux (ie
Android) and to create a robust open source  development strategy. I'm NOT
talking here about open sourcing all of the Revolution engine - but because
of the way I understand RunRev are proposing developing for Android, it does
seem that there will be a need to start to engage with a wider open  source
community. This is because the Rev engine will be called by Android front
end widgets - which in turn will be open source. In other words the front
end will be open source and the Rev back end closed. This in turn will mean
that belatedly RunRev will inevitably be led down the path of learning how
to use classic open source community building strategies. This in turn will
have spin off benefits for the server side integration with other open
source platforms.

I'd predict that in time, Apple will open up, and we'll get Rev on iOS, so
while I love the iPad and iPhone platforms as consumer oriented hardware
(and will have to shelve 2 iPad related projects) - I'm secretly really
pleased about the new focus on Android :)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Great post on Jerry Daniels Blog

2010-05-06 Thread David Bovill
Yeah - mine too. 95% of sales to consumers on iOS for iPhone/iPad style
portable devices - 5% to developers on desktop / old style laptops.

On 6 May 2010 17:18, Jerry Daniels jerry.dani...@me.com wrote:

 Bob,

 I suggest reading Mr. Jobs like you would Bill Clinton. OS X and Macs will
 not be locked down. However, If a mobile Apple OS moves to a device that
 looks somewhat like a laptop it won't be called a Mac and it won't run OS X.
 Lock down.

 That's my take, anyway.

 Best,

 Jerry Daniels

___
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


  1   2   3   4   5   6   7   8   9   10   >