如何创建在线 rebol 控制台?
我在哪里可以找到用于创建像这里这样的在线 rebol 控制台的代码? http://tryrebol.esperconsultancy.nl/
更新:对于服务器上的沙箱系统,无法Rebol使用一些安全包装器及其安全选项来管理它本身?
至于控制台本身,我不了解 Ruby,所以我不想使用 TryRuby,为什么我需要它?我不能通过某种方式“远程处理”它来模仿 Rebol 控制台本身吗?为什么 RT 或 Esper Consultancy 不能制作开源版本?保持闭源没有任何价值。 Rebol 需要证明它比过去更加开放。
Where can I find the code for creating an online rebol console like the one here ?
http://tryrebol.esperconsultancy.nl/
Update: for the sandbox system on the server, can't Rebol manage it itself with some security wrapper and its security options ?
As for console itself, I don't know Ruby so I don't want to use TryRuby and why would I need it ? Can't I mimic Rebol console itself by "remoting" it somehow ? Why RT or Esper Consultancy can't make an opensource version ? There's no value in keeping it closed source. Rebol needs to prove it's more open than in the past.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
在我看来,您应该瞄准更高的目标,比如已经开源的 尝试 Ruby。你输入表达式,它会指导你。他们的展示网站位于 tryruby.org,相当流畅。
我修改了 TryRuby 以与 Rebol 一起使用,结果如下所示:
但我不会在我的服务器上运行它,因为我不想费力进行必要的沙箱/ ETC。或防止某人运行无限循环。如果你想要的话,我可以给你我目前所拥有的东西。
我在这里开始了一个教程脚本,似乎没有人有兴趣帮助我,所以我转向其他任务:
http://www.rebol.net/wiki/Interactive_tutorial_script
In my opinion, you should aim higher with something like the already open-sourced Try Ruby. You'd type in expressions and it would guide you. Their showcase site is at tryruby.org and is fairly slick.
I modified TryRuby to work with Rebol and it wound up looking like this:
But I'm not going to run it on my server because I didn't want to belabor the necessary sandboxing/etc. or protections against someone running an infinite loop. I can give you what I've got so far if you want it.
I started a tutorial script here that no one seemed interested in helping me with, so I wandered off to other tasks:
http://www.rebol.net/wiki/Interactive_tutorial_script
我不确定你到底想要什么。您提到您想要一个远程 REBOL shell,而不是辅导设置,但这就是 Try REBOL 站点。它不是开源的有几个原因:
正如其他人所回答的那样,您可以使用许多通用的远程解决方案。此外,Try REBOL 站点的大部分内容都可以作为开源代码轻松获得:
Syllable Server 是该站点的重要组成部分,因为沙箱不是使用 REBOL 设施(R3 后端中的一些额外限制除外)完成的,而是使用标准 Linux 设施完成的。
I'm not sure what exactly you want. You mention you want a remote REBOL shell instead of a tutoring setup, but that's what the Try REBOL site is. There are several reasons it's not open source:
As others have answered, there are many generic solutions for remoting that you could use. Also, most parts of the Try REBOL site are readily available as open source:
Syllable Server is an essential part of the site, as the sandboxing is not done with REBOL facilities (except some extra limits in the R3 backend), but with standard Linux facilities.
对于 R2 来说,真正的气密(我的意思是硅密封?)沙箱几乎是不可能的。
R3(仍处于 alpha 阶段)看起来更有前途。目前正在进行的深入技术讨论(请参阅 Cure code 和 AltME/REBOL3 关于展开和的提案保护,甚至偶尔提及沙箱应该会带来出色的沙箱功能。
现在,R3 的tryREBOL 的最大进步就是 R3 的安全 策略设置,这使得它成为可能(需要一些小心的包装器代码)来构建一个 alpha/演示沙箱。
要回答您的精确问题(“我在哪里可以找到代码...”,您可以尝试向 Kaj 询问他的:)
A truly air tight (do I mean silica tight?) sandbox is close to impossible with R2.
R3 (still in alpha) is looking a lot more promising. The deep technical discussions in flight right now (see Cure code and AltME/REBOL3 Proposals regarding unwinds and protect and even occasionally mentioning sandboxes should lead to an excellent sandbox capability.
Right now, the big advance R3 has that makes Kaj's tryREBOL possible is R3's secure policy settings which make it possible (with some careful wrapper code) to construct an alpha/demo sandbox.
To answer your precise question("where can I find code...", you could try asking Kaj for his :)
我是 StackOverflow 的新手。我不确定这是否会最终作为对您评论的回复,或者作为一个新答案。
任何项目都可以开源并由其他人贡献的普遍想法是一种天真的观点。就我的 Try REBOL 网站而言,这是没有意义的。这不仅是在大力开发;它是用 CMS 编写的,该 CMS 也正在大力开发中。此时基本上没有人可以为其做出贡献,因为我是唯一知道我的 CMS 的人。或者无论如何它的最新功能,我通过开发 Try REBOL 和其他示例网站来开发。因此,开发 Try REBOL 意味着同时开发 CMS,并且根据定义,我是唯一能够做到这一点的人。
更一般地说,我的项目是前沿的创新技术,具有强烈的愿景。这个愿景是我的,为了将其传授给其他人,我必须构建它以展示我想要它如何运作。所以有一个陷阱 22:为了让其他人能够做出贡献,我必须首先完成我的项目,因为人们通常不会理解它们,直到我向他们展示它们是如何工作的。
当然还有其他项目,大众贡献更有意义。尽管如此,只有顶级项目才能获得贡献者。我们通过艰难的方式发现了这一点。我们创建了 Syllable Desktop 和 Syllable Server 以及周围的基础设施以供贡献。这些都是相当经典、易于理解的操作系统,许多人可以并行工作。然而,尽管经过多年的乞讨,我们得到的捐款却寥寥无几。
因此,如果您迫切需要为我们的项目做出贡献,请选择 Syllable 中的众多任务之一来执行。 :-)
I'm new to StackOverflow. I'm not sure if this is going to end up as a reply to your comment, or as a new answer.
The somewhat common idea that any project can be open sourced and contributed to by others is a naive view. In the case of my Try REBOL site, it makes no sense. It's not just in heavy development; it's written in a CMS that's also in heavy development. Basically noone could contribute to it at this point, because I'm the only one who knows my CMS. Or in any case its newest features, which I develop by developing Try REBOL, and other example sites. So developing Try REBOL means developing the CMS at the same time, and by definition, I'm the only one who can do that.
More generally, my projects are bleeding edge, innovative technology with a strong vision. The vision is mine, and to teach it to others, I have to build it to show how I intended it to work. So there's a catch 22: to enable others to contribute, I have to finish my projects first, because people typically don't understand them until I show them how they work.
There certainly are other projects where mass contribution makes more sense. Still, only the top projects get the contributors. We found that out the hard way. We created Syllable Desktop and Syllable Server with surrounding infrastructure for contributions. These are fairly classic, well understood operating systems that many people could work on in parallel. However, despite years of begging, we get very few contributions.
So, if you feel a burning need to contribute to our projects, please pick one of the many tasks in Syllable to execute. :-)