Martti Malmi 通信

回复:转发 bitcoin.sourceforge.net

中本聪 · 2009 年 10 月 27 日

SN-10078 附来源、原文与上下文。

阅读语言

Sourceforge 实在太慢了。不过我也不知道还有什么办法。它已经成了惯例,随便一个项目往往都有一个 projectname.sourceforge.net 网站。在 google 搜索里看到 whatever.sourceforge.net 时,我就会认为那是官方网站。

Sourceforge is just so darn slow. I don't know what else to do though. It's such a standard, more often than not any given project has a projectname.sourceforge.net site. When I see whatever.sourceforge.net in a google search, I assume that's the official site.

有没有办法让 Bitweaver 允许用户编辑(或许也能删除)自己在论坛里的消息?

Is there a way to make Bitweaver allow users to edit (and maybe delete) their own messages in the forum?

已经迫不及待想移植到 Linux 了吗?这不是一个能轻易作出的决定,因为一旦完成,我的测试和构建工作量就会翻倍。不过,我确实担心 Liberty 遇到的 Wine 崩溃问题。

Getting antsy to port to Linux? It's not a decision to be taken lightly because once it's done, it doubles my testing and building workload. Although I am worried about Liberty's Wine crashes.

我已经尽量保持可移植性,使用标准 C 的东西,而不是 Windows 调用。线程使用 _beginthread,它属于标准 C 库。wxWidgets 有 wxCriticalSection 之类的东西可供我们使用。套接字代码使用 send/recv,我想这与 unix 相同,因为 Microsoft 是从 BSD 移植套接字的。我们需要直接控制套接字,把它藏在抽象层后面不是好主意。寻找跨平台辅助函数时,wxWidgets 是个好地方。如果可以,我想避免代码中到处都是 #ifdef。任何使用超过一次的东西,大概都可以做成 util.cpp 中的函数,把 #ifdef 放在函数里。

I've tried to be as portable as possible and use standard C stuff instead of Windows calls. The threading is _beginthread which is part of the standard C library. wxWidgets has wxCriticalSection stuff we can use. The sockets code is send/recv stuff which I think is the same as unix because Microsoft ported sockets from BSD. We need direct control over sockets, it wouldn't be a good idea to get behind an abstraction layer. wxWidgets is a good place to look for cross-platform support functions. I want to avoid #ifdefing up the code if we can. Anything that's used more than once probably becomes a function in util.cpp that has the #ifdef in it.

顺便说一下,我目前有很多未提交的改动,因为其中包括一些关键的协议转换,在我彻底测试之前,不能把它们放到网络上。应该不用太久了。

BTW, I have a lot of uncommitted changes right now because it includes some crucial protocol transitions that can't be unleashed on the network until I've tested the heck out of it. It shouldn't be too much longer.

你能让安装程序卸载 Startup 文件夹中的图标吗?我想它应该在普通程序组里安装和卸载图标,而对 Startup 文件夹中的图标,只负责卸载。我猜它是同时安装和卸载 Startup 文件夹图标,还是仅仅卸载,区别也不大。

Can you make the setup uninstall the Startup folder icon? I figure it should install and uninstall an icon in a regular program group, and just uninstall the Startup folder one. I guess it doesn't matter that much whether it installs and uninstalls the Startup folder icon or just uninstalls it.

Martti 对网站与 Linux 移植的来信Martti Malmi来源 ↗

IS_LIVE 选项确实设为 false,但它只影响用户能否看到错误消息。我注意到网站有时很慢,有时加载要长达 30 秒。我认为这与 Sourceforge 的托管有关。Bitweaver 应该是最轻量的 PHP CMS 之一,但我可以检查它有没有什么问题。

IS_LIVE option was indeed set to false, but it only affects the visibility of error messages to user. I've noticed the site being slow at times, sometimes taking up to 30 seconds to load. I think it's related to the Sourceforge hosting. Bitweaver should be among the lightest PHP CMS'es, but I can check out if there are any issues to it.

换个话题,你觉得我们能用 Boost 的线程和套接字库,代替 Windows 专用的那些吗?代码里还用了其他只能在 Windows 上使用的函数吗?

Off the topic, do you think that we could use Boost's thread and socket libraries instead of the Windows-specific ones? Are there other windows-only-functions used in the code?

此前中本聪的询问中本聪来源 ↗

知道它出了什么事吗?我每次看的时候,它都是好的。

Any idea what's going on with it? Every time I look, it's fine.

Eugen 引用的中本聪旧信中本聪来源 ↗

bitcoin.sourceforge.net 现在看起来正常了。也许 sourceforge 当时在做

bitcoin.sourceforge.net looks fine now. Maybe sourceforge was doing

Eugen 的回复Eugen Leitl来源 ↗

现在打不开。

Doesn't work right now.

Eugen 引用的中本聪旧信(续)中本聪来源 ↗

维护。

some maintenance.

此前的故障报告New Liberty Standard来源 ↗

如果你还不知道,比特币网站打不开了。

In case you weren't aware, the Bitcoin website is down.



故障报告引用的网站提示Bitweaver来源 ↗

你正在以 TEST 模式运行 bitweaver

You are running bitweaver in TEST mode

  • 如果这看起来是应用程序的错误,请点击这里提交错误报告。
  • 如果你还没有安装,请到这里开始安装过程。
  • 要隐藏这条消息,请将 kernel/config_inc.php 文件中的 IS_LIVE 常量设为 TRUE。
  • Click here to log a bug, if this appears to be an error with the application.
  • Go here to begin the installation process, if you haven't done so already.
  • To hide this message, please set the IS_LIVE constant to TRUE in your kernel/config_inc.php file.
来源

阅读字号

选择适合你的字号,之后阅读会继续使用。