Profile img

AmaseCocoa

@cocoa@hackers.pub · 16 following · 17 followers

I maybe use Engrish in this account

Pythonista/Author of apkit. An Modularized ActivityPub Toolkit.

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

For example, you can also modify extensions provided by Mastodon to be usable within an Actor (if you modify an Actor, its child inheritance won't be updated, so you'll need to modify those too... though Actors are designed to use the default value __apmodel_base__ via AS_URI, so they aren't included in the loader in the first place...).

0
  • The definition of type URI now uses a ClassVar called AS_URI. This reduces the effort required to automatically register models with load and eliminates the need to redefine type for each model.
0
5

I making next-version of apmodel, that uses pydantic for better validation and better loader.

Currently, this feature is either not implemented or not fully implemented:

  • export to json is not avaliable

Additionally, some models have not been migrated to pydantic, so they cannot be used properly.

If you interested this, can read this branch: https://github.com/fedi-libs/apmodel/tree/pydantic

I making next-version of apmodel, that uses pydantic for better validation and better loader.

Currently, this feature is either not implemented or not fully implemented:

  • export to json is not avaliable

Additionally, some models have not been migrated to pydantic, so they cannot be used properly.

If you interested this, can read this branch: https://github.com/fedi-libs/apmodel/tree/pydantic

3
0

ActivityPub関係のリクエストをに別のサーバーがプロキシになって取得するようにできないかなーなんて思ったけど、信頼性とか鮮度の観点から厳しそう

やるとしたら、署名周りの問題や鮮度をどうするかっていうのが重要なポイントになる

1
1

Migrate to Misskey from Iceshrimp

AmaseCocoa @cocoa@hackers.pub

This post outlines the process of migrating from Iceshrimp, a fork of Firefish (itself a fork of Misskey v12), to Misskey, starting from v13. The author details their reasons for migrating, including ongoing reimplementation efforts in .NET, issues with media rendering, and a general preference for Misskey. A comparison table highlights key differences between Iceshrimp and Misskey, such as translation API, note editing capabilities, MOTD, note length limits, search engine options, FTT, and social login. The guide provides a step-by-step walkthrough, including backing up and rolling back the database, running specific SQL commands to align the database schema with Misskey, and installing Misskey without initializing it to prevent data corruption. Troubleshooting tips are included for common issues like login failures and client loading problems. This migration guide offers valuable insights for those looking to transition from Iceshrimp to Misskey, ensuring a smoother process.

Read more →
2
0
4
1
4
0
0
1
3
0
1
1
1
0
0
1

Currently, apkit is experiencing a critical issue... It appears there are problems with interoperability with Mastodon... I'm investigating where exactly it is failing... (https://github.com/fedi-libs/apkit/issues/19)

However, I think I'll try to sleep today... If I keep researching, my day-night reversal will probably get worse...

0

Currently, apkit is experiencing a critical issue... It appears there are problems with interoperability with Mastodon... I'm investigating where exactly it is failing... (https://github.com/fedi-libs/apkit/issues/19)

However, I think I'll try to sleep today... If I keep researching, my day-night reversal will probably get worse...

1
1
0
2
0
0
3

I don't like FEP-044f...

I think the idea itself is good, but the problem is that it adopts an opt-in approach. First, it cannot be quoted in software that hasn't implemented it. Second, static file-based servers cannot support quoting (044f requires sending a QuoteAuthorization when approving a quote). I've never actually seen a static file-based ActivityPub server, so you probably don't need to worry too much about that...

Also, since the canQuote policy seems to only serve as advice, it appears we can't make it approval-free... :(

(Please let me know if there are any errors in this; it would be helpful.)

0

I don't like FEP-044f...

I think the idea itself is good, but the problem is that it adopts an opt-in approach. First, it cannot be quoted in software that hasn't implemented it. Second, static file-based servers cannot support quoting (044f requires sending a QuoteAuthorization when approving a quote). I've never actually seen a static file-based ActivityPub server, so you probably don't need to worry too much about that...

Also, since the canQuote policy seems to only serve as advice, it appears we can't make it approval-free... :(

(Please let me know if there are any errors in this; it would be helpful.)

1

I don't like FEP-044f...

I think the idea itself is good, but the problem is that it adopts an opt-in approach. First, it cannot be quoted in software that hasn't implemented it. Second, static file-based servers cannot support quoting (044f requires sending a QuoteAuthorization when approving a quote). I've never actually seen a static file-based ActivityPub server, so you probably don't need to worry too much about that...

Also, since the canQuote policy seems to only serve as advice, it appears we can't make it approval-free... :(

(Please let me know if there are any errors in this; it would be helpful.)

5
3
1
0
0
1
0