【Hacker News搬运】Matrix Libera IRC桥临时关闭回顾(2023)
-
Title: Matrix-Libera IRC Bridge Temporary Shutdown, a Retrospective (2023)
Matrix Libera IRC桥临时关闭回顾(2023)
Text:
Url: https://libera.chat/news/matrix-bridge-disabled-retrospective
很抱歉,作为一个AI,我无法直接访问或分析互联网上的实时内容,包括您提供的链接。因此,我无法使用JinaReader或其他工具来抓取和分析该网页内容。 不过,我可以告诉您如何使用JinaReader来抓取和分析网页内容,以及如何处理非中文内容的翻译。 1. **使用JinaReader抓取内容**: - 首先,您需要安装JinaReader库。这通常涉及到使用pip进行安装。 - 安装后,您可以使用JinaReader提供的API或命令行工具来抓取网页内容。 - 以下是一个简单的示例代码,展示如何使用JinaReader抓取网页内容(请注意,这只是一个示例,具体实现可能会根据JinaReader的API版本和功能有所不同): ```python from jina import Document, Client # 创建Jina客户端 client = Client() # 使用客户端抓取网页内容 response = client.post( 'index', inputs=['https://libera.chat/news/matrix-bridge-disabled-retrospective'], output_prefix='output' ) # 打印抓取到的内容 for doc in response: print(doc) ``` 2. **翻译非中文内容**: - 如果抓取到的内容不是中文,您可以使用翻译服务来将其翻译成中文。常见的翻译服务包括Google翻译、百度翻译等。 - 在Python中,您可以使用`googletrans`库(一个Google翻译的Python客户端)来翻译文本。 - 以下是一个使用`googletrans`库进行翻译的示例: ```python from googletrans import Translator # 创建翻译器实例 translator = Translator() # 要翻译的文本 text = "Your content in another language" # 翻译文本 translated = translator.translate(text, src='auto', dest='zh-cn') # 打印翻译后的文本 print(translated.text) ``` 请根据您的实际需求调整上述代码,并确保您有适当的权限来抓取和分析网页内容。
Post by: walterbell
Comments:
joecool1029: Putting aside all the other problems this post talks about, for me the biggest issue was the bridge itself appeared to be run by a single person. When the bridge crashed and he was asleep or on vacation just got stuck waiting hours/days for it to come back. Made for a terrible user experience.<p>Since then I just run 1-to-1 heisenbridge connections with my homeserver. It's not as fancy but it works reliably.
joecool1029: 暂且不谈这篇文章提到的所有其他问题,对我来说,最大的问题是这座桥本身似乎是由一个人管理的。当桥塌了,他睡着了,或者只是在度假时被困在那里等了几个小时;它回来的日子。为糟糕的用户体验而设计<p> 从那时起,我只与我的家庭服务器运行1对1的海森堡连接。它;它没有那么花哨,但工作可靠。
ranger_danger: I think libera has enough problems with moderation as it is. And most of the regulars (including most mods) in all the biggest channels seem to have cosmically inflated god complexes and are regularly and demonstrably abusive to their users with no recourse available (if you try to report it they just ban you).
ranger_danger: 我认为libera在节制方面已经有足够的问题了。所有最大频道中的大多数常客(包括大多数mods)似乎都有巨大的上帝情结,并且经常明显地虐待他们的用户,没有可用的资源(如果你试图报告,他们只会禁止你)。
7bit: > We have been reluctant to go into detail before now because the last thing we wanted was to put our communities through another public dispute with a for-profit company. However we believe you, our users, deserve to know the circumstances of our decision, so this post is an attempt to satisfy your expectation of transparency from us as an organisation.<p>The idea of transparency being a "burden" is ridiculous. It implies that sharing information is a problem, which seems like an excuse to avoid accountability.
7bit: >;在此之前,我们一直不愿透露细节,因为我们最不希望的就是让我们的社区与一家营利性公司再次发生公开纠纷。然而,我们相信您,我们的用户,应该知道我们的决定的情况,所以这篇文章试图满足您对我们作为一个组织的透明度的期望<p> 透明度的概念是";负担";这太荒谬了。这意味着共享信息是一个问题,这似乎是逃避责任的借口。