r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL3-OLD1]

Pekr
10-Sep-2009
[17322x3]
1) it was one of the first RIAs back in the time, where world did 
not even know, what the RIA is - typical Amiga syndrome - concept, 
which was not embraced back at that time 2) then it slept for way 
too long, allowing Runtime Revolution, Curl, Adobe Air, Silverlight 
to take the place.

So now is the time to add ourselves to the above family ...
Name me another tiny, streamlined browser plugin platform apart from 
Silverlight and Flash ... I have one for you - VID3.
Simply put -let ppl choose, where they want to go. Even today, request/question 
about browser plugin appeared on ML. Some ppl are interested, and 
that is important ....
Graham
10-Sep-2009
[17325]
I thought it was you who asked the question :)
Pekr
10-Sep-2009
[17326x2]
Remember - somewhere in April GUI development was postponed. One 
of the reasons being me asking Carl to listen to the majority, which 
here requested Core work being done first.
No, it was Tim Johnson, he incorrectly understood, what Extensions 
mean, even if they were renemed from plugins to extensions, to avoid 
exactly such kind of confusion :-)
Graham
10-Sep-2009
[17328x2]
I was quite keen on the plugin .. I wrote a chat client, and a fax 
editor to run under the plugin.
but it was just one more unfinished product.
Pekr
10-Sep-2009
[17330x2]
I think that in the end, browser-plugin will be opensourced. It is 
just small dll wrapper around NS plugin api (for all browsers except 
the MS ;-). I just remember, that we requested the ability to have 
multiple instances in one page, proper installation/update mechanism, 
and mainly - security. I still can't imagine, how it can be done 
in R3. BrianH surely keep an eye on security aspects, e.g. I doubt 
plugin will allow REBOL extensions, which might not be liked by ppl 
like Max :-)
Plug-in is our connection to the browser world. It makes ppl feel 
there is zero deployment needed, althought there is now certain propaganda 
going, which tries to dismiss even plugins ...
Graham
10-Sep-2009
[17332]
it should be the primary delivery mechanism
Pekr
10-Sep-2009
[17333]
Max - in R3 Chat you requested user types and set/get function accessors. 
I am not good in internals, but aren't such set/get functions the 
same as 'action types?
Henrik
10-Sep-2009
[17334]
Alright, new task: I have a linode server for various purposes. One 
more will now be to offer REBOL 3 in a webshell, similar to this 
one:

http://tryruby.sophrinix.com/


I'm going to need some help with that and I hope it won't collide 
with the Cheyenne already running there.
Pekr
10-Sep-2009
[17335]
Yes ... but we have some work to do here too. What about right mouse 
menu? Silverlight has there one item only - Silverligh. Flash has 
its own menu. Do we go similar route? E.g. JAVA install icon into 
Control Panel section. There has to be place, where you configure 
your plugin itself ...
Graham
10-Sep-2009
[17336]
tinkerbell?
PeterWood
10-Sep-2009
[17337]
I tried the date/time cgi on Apache under Windows - 500 internal 
server error.
Pekr
10-Sep-2009
[17338x2]
Peter - have you checked, that e.g. R2 works? I mean - that generally 
CGI is working for you? Just asking :-)
Henrik - what is your request specifically about?
PeterWood
10-Sep-2009
[17340]
Yes, I did Pekr. The same script runs using R2.5.6 under Apache on 
Windows
Graham
10-Sep-2009
[17341]
Henrik, have you purchased a Linode server for your stuff now?
Henrik
10-Sep-2009
[17342]
Graham, yes, have had one for a few months.
Graham
10-Sep-2009
[17343]
$20/month?
Henrik
10-Sep-2009
[17344x2]
Pekr, well, we have to figure out to extend the R3 console to javascript 
and basically do a console in a browser. It could be a big job.
Graham, yes.
Graham
10-Sep-2009
[17346]
I think Frank did a Rebol in Java which was accessible in a browser 
.. or something
Henrik
10-Sep-2009
[17347]
I think that defeats the purpose, by using Java.
Pekr
10-Sep-2009
[17348]
Haha, now I know where your request comes from. Carl joking around 
Ruby console :-) http://www.rebol.com/article/0427.html
PeterWood
10-Sep-2009
[17349]
Henrik, I think that Pekr is thinking of a browser alternative rather 
than a one to one replacement. 


Perhaps it would be difficult to use an extension to embed one of 
Mozilla's monkeys in R3.
Graham
10-Sep-2009
[17350]
Freebell .. that's what it was called.
Pekr
10-Sep-2009
[17351]
PeterWood - I am not thinking at all - I just throw wild ideas here 
and there :-)
Henrik
10-Sep-2009
[17352x2]
Some requirements:


1. It would have to be a real console, so we can't simply send CGI 
jobs and close REBOL again.
2. There would have to be a way to spawn and kill consoles.

3. REBOL 3 will have to live up to its ability to limit itself memory 
wise. CPU hogging, we can't do much about. My Linode only has 384 
MB RAM right now.

4. The Ruby console can respond to various input and display help 
text related to what you are typing. This can be used to create tutorials.

5. I have a Cheyenne on my Linode. It either has to use it or not 
collide with it, if we don't use it. Can Cheyenne use a special R3 
process?

6. Managing the console output will obviously need to be done with 
AJAX.

7. Syntax highlighting seems a little superfluous right now, so the 
target right now would be a basic console.
8. In case this is too much on my Linode, I'd like to remove the 
console again. Then perhaps it would be better at that point to invest 
in a dedicated Linode server. :-)
Graham
10-Sep-2009
[17354]
rebol doesn't need 384 mb to run
Henrik
10-Sep-2009
[17355]
not as one process, but 10-20 users simultaenously? 100 users?
Graham
10-Sep-2009
[17356]
call "rm *"
Henrik
10-Sep-2009
[17357]
Well, we don't want access to that. R3 will have to live up to that 
as well. Good one.
Pekr
10-Sep-2009
[17358]
Linux can swap, no? If I would be about to judge R3 console quality 
upon Windows, then well ... don't let user to use 'call, this is 
totally messy  ....
BrianH
10-Sep-2009
[17359]
It depends on the data.
Pekr
10-Sep-2009
[17360]
The question is, if it should create sandbox for each user, I mean 
letting user to download something, save something, call something, 
parse it, etc. Or do you want to limit console to prevent file operations 
for e.g.?
Graham
10-Sep-2009
[17361]
do join "call " "init 0"
Henrik
10-Sep-2009
[17362]
Optimally the sandbox would have to be handled entirely by R3 alone.
Pekr
10-Sep-2009
[17363]
Henrik - the only option you have in limiting system resources is 
some CPU cycles for R3 process. Carl refused to add e.g. time/memory 
usage variation ...
Henrik
10-Sep-2009
[17364]
Graham, I think this can be intercepted with LOAD. Perhaps you can 
redefine CALL to become harmless, or simply return a restriction 
error.
Maxim
10-Sep-2009
[17365x2]
the secure feature will have to be set so that everything is secured.
this will limit access to external stuff... doesn't call have its 
own secure option?
Pekr
10-Sep-2009
[17367]
'call has its own security setting IIRC ...
Henrik
10-Sep-2009
[17368]
Pekr, yes, that will be an issue. But I think Carl will eventually 
comply, once he sees that this is a problem.
Pekr
10-Sep-2009
[17369]
Max was faster :-)
Henrik
10-Sep-2009
[17370]
I wonder if there are generic javascript ajax consoles around we 
can grab...
Pekr
10-Sep-2009
[17371]
Henrik - sometimes you have to ask Carl more than few times in order 
for something to be noticed :-)