如何创建在线 rebol 控制台?

发布于 2024-10-01 15:33:12 字数 348 浏览 1 评论 0原文

我在哪里可以找到用于创建像这里这样的在线 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

眼藏柔 2024-10-08 15:33:12

在我看来,您应该瞄准更高的目标,比如已经开源的 尝试 Ruby。你输入表达式,它会指导你。他们的展示网站位于 tryruby.org,相当流畅。

我修改了 TryRuby 以与 Rebol 一起使用,结果如下所示:
alt text

但我不会在我的服务器上运行它,因为我不想费力进行必要的沙箱/ 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:
alt text

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

柠檬心 2024-10-08 15:33:12

我不确定你到底想要什么。您提到您想要一个远程 REBOL shell,而不是辅导设置,但这就是 Try REBOL 站点。它不是开源的有几个原因:

  • 它正在大力开发中。我目前正在定期更改代码。
  • 所以它还没有处于发布状态。与大多数项目一样,准备发布、记录和发布需要大量额外的工作。
  • 它是在我的 CMS 中编写的,该 CMS 也正在大力开发中。即使 Try REBOL 站点是开源的,它也无法运行。 CMS 不打算很快开源。
  • 它并不是作为一种通用的 REBOL 远程处理工具,而是作为一个一次性演示站点。如果该网站正在运行,那么再多的网站有什么用呢?

正如其他人所回答的那样,您可以使用许多通用的远程解决方案。此外,Try REBOL 站点的大部分内容都可以作为开源代码轻松获得:

  • Syllable Server,由我们制作和发布。
  • 夏安网络服务器。
  • 可以查看Web客户端的HTML源代码,包括我的简单的JavaScript命令服务总线。

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:

  • It's in heavy development. I'm currently changing the code regularly.
  • So it's not in a release state. Preparing it for release, documenting and publishing it would take a lot of extra work, as with most projects.
  • It's written in my CMS that's also in heavy development. Even if the Try REBOL site were open source, it wouldn't run. The CMS is not planned to be open sourced soon.
  • It's not meant as a generic REBOL remoting tool, but as a one-off demo site. If that site is running, what's the use of more of them?

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, produced and published by us.
  • The Cheyenne web server.
  • The HTML source of the web client can be viewed, including my simple JavaScript command service bus.

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.

恋你朝朝暮暮 2024-10-08 15:33:12

对于 R2 来说,真正的气密(我的意思是硅密封?)沙箱几乎是不可能的。

R3(仍处于 alpha 阶段)看起来更有前途。目前正在进行的深入技术讨论(请参阅 Cure codeAltME/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 :)

失而复得 2024-10-08 15:33:12

我是 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. :-)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文