su21

Results 11 comments of su21

@tylerlong 我想最理想是本地 APP 目录和第三方存储结合。 现在如 阿里云、七牛、Dropbox 都有 HTTP 接口,javascript 可以很容易调用。 我在想: 抽象出一套**图片存储后端接口**,图片的存储、加载、HTML 发布的 URL 都由这套接口的实现者提供。 用户使用的时候可以配置图片存储后端。 有了统一的接口,喜欢这个编辑器的开发人员也可以为第三方存储贡献图片存储插件。 粗看了一下,没有找到 markdown-plus 的插件 API 文档,不知道目前有没有?

@ashleygwilliams yes, it fixes my issue.

补充一下上面的描述: 有 A B 两类服务, B 依赖 A。在最后一个 A 下线时会出现这个问题。 因为 broadcast 时,服务 A 已经完全找不到了。 https://github.com/bilibili/discovery/blob/39a50573306aba7c5e1301da9605a8a5bd514eba/registry/registry.go#L245 此时这里尝试 Fetch A 的信息并广播会出错。 也许不是特别重要的问题。

http://golang.org/ref/spec#Comparison_operators > In any comparison, the first operand must be assignable to the type of the second operand, or vice versa. > > A value x of non-interface type X...

I believe that if Component A needs to fetch a value from Component B and include it in its own request parameters, this inherently introduces a form of dependency between...

> [__del__()](https://docs.python.org/3/reference/datamodel.html#object.__del__) can be executed during interpreter shutdown. As a consequence, the global variables it needs to access (including other modules) may already have been deleted or set to None....

@hanhainebula 我本地是这样重现的: 1)加载模型 2)把模型放到全局变量 3) 调用 encode query 3)进程退出 ```python from langchain_text_splitters import CharacterTextSplitter from FlagEmbedding import BGEM3FlagModel model = BGEM3FlagModel('BAAI/bge-m3', return_dense=True, return_sparse=True) def search(query:str) : query_vector = model.encode_queries([query], batch_size=8,...

今天再试了一下,比较奇怪,可能不是一个可以确定复现的问题。

@Erena-Kim Thank you for your response and for sharing the workaround! Yes, your workaround does mitigate the problem. That said, I still lean toward the view that the library’s use...