Profile img

AmaseCocoa

@cocoa@hackers.pub · 11 following · 11 followers

日本語多め

Pythonista/Author of apkit. An Modularized ActivityPub Toolkit.

main (Iceshrimp)
@AmaseCocoa@i.amase.cc
YarukiNotFound
amase.cc
Zenn
@amasecocoa
1
1
1

feature-info?

まぁこれはnodeinfoのmeta使ってある程度決まったjsonを埋め込むようにすれば良さそうだけども。

こんな感じにするとか?

[
 "fep:8b32",
 "rfc:9421",
 "protocol:activitypub"
]

@cocoaAmaseCocoa @hongminhee洪 民憙 (Hong Minhee) sorry to reply in English, but yes, there's a few FEPs along these lines, but technically you don't need nodeinfo for AP, so you wouldn't passively discover this information, unlike detecting certain properties in json-ld objects over activitypub. Feature discovery can be hard too because what features you think they have (cached) might not be the features they actually have at present, or if you're upgrading from version 1 to version 2, and you have multiple backend servers with a load balancer, you might get unpredictable results from nodeinfo as the update rolls out (e.g., node 1 gives new feature, node 2 & 3 gives old feature, you'll only get new feature 1/3 of the time and your old nodes won't be able to immediately handle new feature until you roll out the update to all nodes, which would cause unpredictable behaviour)

1
1
0
1
1

feature-info?

まぁこれはnodeinfoのmeta使ってある程度決まったjsonを埋め込むようにすれば良さそうだけども。

こんな感じにするとか?

[
 "fep:8b32",
 "rfc:9421",
 "protocol:activitypub"
]
3
3
0
0
0
1
2
2
1
0
2
2
4
0
0
0
4
0
0
1
0
0

一瞬Fedifyが400返しつつ何もエラーも表示せず見た感じリクエストとしても処理しなくなったと思ったら再起動したらそのあとからConnectionResetErrorが発生するようになった

0

一瞬Fedifyが400返しつつ何もエラーも表示せず見た感じリクエストとしても処理しなくなったと思ったら再起動したらそのあとからConnectionResetErrorが発生するようになった

1
0
0
0
1
0
1

@hongminhee洪 民憙 (Hong Minhee) そのあたりは過去に検証したのか忘れたんですけど、単純にpyldがアクティブにメンテナンスされてなかったのと(現状は1年近くmasterにコミットがない、rdflibもJSON-LDは処理できるもののそちらは試していない)、エラーを吐き出して正常に処理できないみたいな理由だった気がします🤔 (後者に関しては実際そうだったかは覚えてないので後で試してみます)

パフォーマンスは多分関係ないと思いますけど、試しに組み込んでみて許容できないレベルまで低下するようなら今後も避けるかもしれないです

1
1
3
0

メールサーバーのホスト、1年分しか払ってないからもし来年払い損ねたらそれに紐づいているアカウント (hackers.pubとか)は全て失うことになる😇

ドメインは確か2027まであったのでサーバー借り直せば良いとはいえ

2
0
1

How to install Sharkey/Misskey (with fixes for FreeBSD) for Fedora 42

AmaseCocoa @cocoa@hackers.pub

When installing patched versions of Misskey and Sharkey on Fedora 42, compilation errors related to `uint8_t` and `state` may arise due to the default GCC version. This guide provides a workaround by compiling and using a newer version of GCC/G++. The process involves installing necessary dependencies, downloading and extracting the GCC source code, configuring the build with specific flags, and compiling GCC using the `make` command. After installation, the guide details how to modify the `pnpm install` command for Misskey and Sharkey to use the newly compiled GCC, ensuring a successful installation. By following these steps, users can resolve the compilation errors and properly install Misskey and Sharkey on Fedora 42.

Read more →
4